Embodiment
To combine the accompanying drawing in the embodiment of the invention below, the technical scheme in the embodiment of the invention is carried out clear, intactly description, obviously, described embodiment only is the present invention's part embodiment, rather than whole embodiment.Based on the embodiment among the present invention, those of ordinary skills are not making the every other embodiment that is obtained under the creative work prerequisite, all belong to the scope of the present invention's protection.
The embodiment of the invention provides a kind of ad data exchange method, and it is mutual that it is used between a server end and a user side, carrying out ad data.For example, it is mutual that this method equipment such as network television system that can be used for wired interactive TV, IPTV and video website and provide carry out ad data.This method is through the ad data of timing update service device end; And regularly the ad data that upgrades is turned back in the user side; Make the user at any time when user side sends triggering signal (as change platform, regulate volume), this user side corresponding advertisement sign of all can in time making a strategic decision out, and obtain the corresponding advertisement material from server end through this advertisement and identifier; Thereby reduce the data processing pressure of server end, and the user can watch the ad material of renewal at any time.
See also Fig. 1, the flow chart of the ad data exchange method 100 that it provides for one embodiment of the invention.This server end that uses in this method 100 is provided with database, stores the ad material and the corresponding advertisement data of user side in this database.In the present embodiment, when server end and user side were all in running order, at the last ad data that stores the current period when once operating, said user side also stored the handbill of current period to this server end.And when this server end when starting first, the buffer memory free of data of server end can be obtained the ad data of current period this moment immediately from database, and is stored in buffer area by the data format of reserving in advance, and is set to the current effective buffer memory.Equally, user side during the starting up, does not have the handbill of current period first yet, this moment can be immediately to the handbill of server end request current time.This method may further comprise the steps:
Step 101, server end generates the ad data of next period at least according to first timing signal, to upgrade the ad data of current period.
Step 103, user side sends the terminal request signal to server according to second timing signal, and this second timing signal is the signal of output in the current period, and is later than first timing signal for generating.
Step 105, server end generate and export handbill to the said user side of next period according to the ad data of this terminal request signal and this next period.
Step 107, user side be according to the 3rd timing signal, and the handbill of said next period is switched to the handbill of current period, and said the 3rd timing signal is later than second timing signal and produces.
Step 109; User side is according to the information such as time, channel and advertisement position of a user request signal, the advertisement and identifier (ID) of the corresponding time of from the handbill of this current period, making a strategic decision out, and said advertisement and identifier is the unique identification of corresponding advertisement material in server end; For example; Said advertisement and identifier can be the particular code of user side, or the use code made by oneself of user, or the like.
Step 111, user side is sent to said server end with said advertisement and identifier.
Step 113, server end is made a strategic decision out corresponding to the ad material of said advertisement and identifier according to this advertisement and identifier.
Step 115, server end are sent this ad material to user side and are shown.
See also Fig. 2 to Fig. 4, said server end is specifically carried out following steps:
Step 201: export this first timing signal.In this execution mode, said server end is equipped with first timer, this first timing signal of time point output that this first timer is set according to the user.In this execution mode, said first timing signal is the timing signal that present clock arrives integral point, the timing signal of exporting during for example for arrival 8:00:00.Be appreciated that in other embodiments the user can be provided with the moment of said first timing signal according to concrete needs, for example, can be set to arrive the timing signal of the least bit, perhaps the timing signal of other the non-integral points or the least bit.
Step 203 according to this first timing signal, obtains the ad data of next period at least from the database of server end.Said next period for example, supposes that the current period is 7:00:00 ~ 8:00:00 followed by the time point of this current period, and then next period then is 8:00:00 ~ 9:00:00.The waiting data of the said ad data ad material to be shown that to be server end extract from said database according to demand; For example, said waiting data be included in what advertisement position, what channel, what time period, what group shows what ad material etc.In this execution mode; For the ad data in the server that can upgrade in time; This server end equipment also comprises first buffer area, second buffer area; Said first buffer area is used for that (like the ad data of 6:00:00 ~ 7:00:00), said second buffer area is used for that (like the ad data of 7:00:00 ~ 8:00:00), said data structure is as shown in Figure 3 according to the predetermined current period of data structure storage according to the last period of certain data structure storage.
Step 205:, the ad data of said first buffer area is emptied according to said first timing signal.In this execution mode, when clock arrives 7:00:00, empty the ad data of the 6:00:00-7:00:00 of said first buffer area, and the ad data of the 7:00:00 ~ 8:00:00 of second buffer area is switched to the ad data of current period.
Step 207: according to this first timing signal; Obtain the ad data of next period (8:00:00-9:00:00); And with the advertisement data store of said next period in said first buffer area that has been cleared, thereby make server end can store the ad data of current period and next period again.For example; Carry out buffer memory when supposing to arrive 4:00:00 and switch, and the ad data of first buffer area storage 3:00:00 ~ 4:00:00 (last period), the ad data of second buffer area storage 4:00:00 ~ 5:00:00 (current period); When then arriving 4:00:00; Need remove the ad data of the 3:00:00 ~ 4:00:00 of first buffer area storage, and the ad data of 4:00:00-5:00:00 is switched to the ad data of current period, read the ad data of 5:00:00 ~ 6:00:00 and deposit in first buffer area that has been cleared from database then; Thus, can upgrade in time the ad data of server end.
Step 209: receive a terminal request signal that sends from user side.Said terminal request signal is used for to the server requests handbill, and said terminal request signal comprises Media Access Control address (MAC) address, IP address or the sequence number etc. of this user side.Said handbill is the affiliated group information according to user side, from the ad data of server, extracts data that belong to this grouping and the json that is assembled into (a certain data format) object.For example: server end can read 7:00:00-8:00:00 all ad datas of this hour, then the ad data of this hour by advertisement position-channel-hierarchical structure of group splits combination, thereby forms the handbill of this period.As shown in Figure 4, it is the data format of each advertisement position in the handbill, wherein, and h: representative hour, i.e. 4 points; G_100_1_8: represent channel (primitive network ID:100, MPTS ID:1, channel ID:8); L: represent the timetable under this channel; [0,30, [1]]: represent 4:00 to 4:30, corresponding advertisement material ID is 1; [57,60, [1,5]]: represent 4:57 to 5:00, ad material has two kinds can select at random, and corresponding at random ad material ID is in 1 or 5.
Step 211: according to the ad data of this terminal request signal and this next period; Generate and fail handbill to the said user side of next period; Make that user side can be according to the temporal information of user request signal, the advertisement and identifier of the corresponding time of from the handbill of this current period, making a strategic decision out.Said user request signal comprises information such as channel, advertisement position and time, and said user side is promptly according to information such as said channel, advertisement position and times, the advertisement and identifier of the corresponding time point of from the handbill of current period of getting access to, making a strategic decision out.In the present embodiment, the signal that said user request signal sends when user's remote controller button like, the signal when remote controller key triggers the EPG menu and shows, is perhaps adjusted the signal of volume.Be appreciated that the request signal that sends when this user request signal can also be user's manipulator top box (STB).Said user request signal comprises information such as channel, advertisement position, time.
Step 213: send the corresponding advertisement material according to said advertisement and identifier.Concrete, server end is said advertisement and identifier and pre-conditioned comparing, and when said terminal request signal and this are pre-conditioned when being complementary, and acquisition is to ad material that should advertisement and identifier.In this execution mode, said pre-conditioned parameter of preserving in advance for server end, this parameter for example, can be personal code works or the like corresponding to the parameter of this advertisement and identifier.Ad material in the said server end has the corresponding advertisement sign respectively; When said user side feeds back to said server end with said advertisement and identifier; Said server end matees the advertisement and identifier of advertisement and identifier that is fed back and ad material; If can corresponding mate, then server end is directly exported corresponding advertisement material to said user side; If do not match, then server end is not exported ad material to said user side.
See also Fig. 5, user side is carried out following steps:
Step 301: export said second timing signal.In this execution mode, said user side is provided with second timer, this second timing signal of time point output that this second timer is set according to the user.Be appreciated that when user side when using first, said second timing signal is the starting-up signal and the predefined time signal of user of user side.In this execution mode, said second timing signal is after present clock arrives the least bit, the signal in a certain moment before next integral point, the signal during for example for clock arrival 7:31:00.Be appreciated that in other embodiments said second timing signal can be any time point signal that can meet consumers' demand, for example, 7:50,7:46 or the like.
In the present embodiment; After second timing signal is set to clock and arrives the least bit in the present embodiment, the reason of the signal in a certain moment before next integral point is: on the one hand; Can provide the time of growing with the time point of dispersion user end to the server requests handbill; Prevent that a lot of users from sending a large amount of requests at the same time, thereby reduce the server data processing pressure to a certain extent.Therefore, be appreciated that said second timing signal can also be the clock signal in half an hour that is roughly before arriving next period, for example any moment before the 8:00:00 is concrete like 7:31:00,7:35:00, perhaps 7:45:00 or the like; On the other hand, make server have the sufficiently long time to obtain the ad data of next period, and generated the data cached of next period, guarantee the integrality of data by the data designated structure; For example: front end begins to generate 8 point data at 7; Reserving half an hour enough generates completions, if constantly can ask any one of 7, then possible 7 o'clock mistakes were just asked in 1 minute; This moment, front end possibly also the data that do not generated next hour, and it is not up-to-date imperfect causing data yet.
Step 303: according to this second timing signal; User side sends terminal request signal to said server end; So that server end according to this terminal request signal, generates and exports handbill to the said user side of next period, to upgrade the handbill of current period.In this execution mode, said terminal request signal comprises information such as IP address, Media Access Control address or sequence number.Said second timing signal is the output signal of a plurality of Preset Time points; When this second timing signal of output; The said user side comparison clock (internal clocking of user side for example; Figure does not show) with the time point of second timing signal, when clock arrives the time point (for example 7:31:00) of second timing signal, export this second timing signal; If during the time point of clock no show second timing signal, then continue the time point of comparison clock and second timing signal.In the present embodiment, second timing signal is 7:31:00, and the last period is 6:00:00 ~ 7:00:00, and the current period is 7:00:00 ~ 8:00:00, and next period is 8:00:00 ~ 9:00:00.In addition; For the ad data in the user side that can upgrade in time; User side comprises the 3rd buffer area and the 4th buffer area; Said the 3rd buffer area is used to store the handbill with respect to the said current period last period more early, and said the 4th buffer area is used to store the handbill of said current period.
Step 305: user side empties the handbill of the 3rd buffer area according to this second timing signal.In the present embodiment, when clock arrives 7:31:00, empty the handbill of 6:00:00 ~ 7:00:00.
Step 307:, store the handbill of next period into said the 3rd buffer area according to this second timing signal.That is to say that every new predetermined point of time (like 7:31:00) (like the handbill of 8:00:00 ~ 9:00:00), and is substituted in said the 3rd buffer area just user side can obtain next period.
Step 309: according to the 3rd timing signal, the handbill of said next period is switched to the handbill of current period, said the 3rd timing signal is later than second timing signal and produces.In this execution mode, when clock arrives 8:00:00, promptly during the 3rd timing signal for generating, the handbill replacement of 8:00:00 ~ 9:00:00 is switched to the handbill of current period.
Step 311: according to the temporal information of user request signal, the advertisement and identifier of the corresponding time of from the handbill of this current period, making a strategic decision out.In this execution mode, the signal that said user request signal sends when user's remote controller button like, the signal when remote controller key triggers the EPG menu and shows, is perhaps adjusted the signal of volume.Be appreciated that the request signal that sends when this user request signal can also be user's manipulator top box (STB).More specifically, said user request signal comprises information such as channel, advertisement position, time.When the time point of user request signal is that the current period is (in like the preceding half an hour of 7:00:00 ~ 8:00:00) when (like 7:02:00); Then user side is from the handbill (being stored in the 4th buffer area) of current period; According to the information that this user request signal carries, the advertisement and identifier of the ad material of the current period that is complementary of making a strategic decision out.In the time point of user request signal is back half an hour of current period when (like 7:33:00); The information of then still carrying according to this user request signal; From storing the current period the (advertisement and identifier of the current period of making a strategic decision out the 4th buffer area of the handbill of 7:00:00 ~ 8:00:00); But next period of this moment, (handbill of 8:00:00 ~ 9:00:00) was stored in the 3rd buffer area.When the time point of user request signal is the time point in next period; Like 8:05:00; Then (8:00:00 ~ handbill 9:00:00) has replaced with the handbill of current period owing to next period; And store in the 3rd buffer area that is cleared, so user side is made a strategic decision according to the handbill in the 3rd buffer area.
Step 313: said advertisement and identifier is sent to said server end equipment, so that said server end equipment is according to this advertisement and identifier decision-making and output corresponding advertisement material.
Step 315: receive and show said ad material.In this execution mode, said user side is electrically connected with television indicator, and when receiving said ad material, said user side can be converted into displayable data format and control said television indicator and show.
In order more clearly to describe said ad data exchange method, enumerate the idiographic flow that is applied in this method in wired interactive television system below.In this execution mode, this wired interactive television system comprises remote controller, terminal TV display and the STB (STB) and the webserver, and this method may further comprise the steps:
Step a: this webserver stores the said current period the (ad data of 7:00:00 ~ 8:00:00) for example in advance; And generate (the ad data of 8:00:00 ~ 9:00:00) for example, and this ad data stored according to different groups of next period at least according to this first timing signal.
When step b:STB starts shooting first; The handbill that has no the period in the internal memory, at this moment, according to this starting-up signal; Handbill to web server requests current hour (being the current period); For example, suppose that the available machine time is 7:10:20, then STB is to the handbill of web server requests 7:00:00 ~ 8:00:00;
Step c: entrained information (such as MAC Address or IP address) when the webserver is asked according to STB, inquire about the group's (being assumed to be G_A) under this STB;
Steps d: the webserver extracts the ad data of G_A group from all ad datas that it is stored, and generates the handbill of the request condition that meets this STB;
Step e:STB receives and resolves the handbill that returns, and by the different advertisement position, corresponding advertisement singly is stored in the different advertisement bit array then, is stored in these uniform datas in the one current cache module;
Step f: when the user presses remote controller key in the current period, the advertisement and identifier that STB goes out to satisfy condition according to information decisions such as current time, channel, advertisement positions;
Step g: STB, makes the webserver in time return the corresponding advertisement material and shows to the web server requests ad material according to this advertisement and identifier;
Step h: continue backward when the time, and arrive predefined point sometime, 7:31:00 for example, then STB is to next period of web server requests (handbill of 8:00:00 ~ 9:00:00);
Step I: the webserver is according to the request of STB, and according to the ad data of next period of its stored, the handbill that generates and export next period is to said STB;
Step j:STB resolves the handbill that returns, and is stored in the different advertisement bit array by the different advertisement position, is stored in these uniform datas in another cache module then;
Step k: when time point arrived 8:00:00, the webserver also can generate first timing signal, and generated next period (ad data of 9:00:00 ~ 10:00:00) according to this first timing signal.Meanwhile, it is the current cache module that STB switches buffer memory with another cache module, and the handbill of the current cache module before emptying (7:00:00 ~ 8:00:00) is to be used to deposit next hour (the handbill of 9:00:00 ~ 10:00:00).
Step l: when time point arrived 8:31:00, STB sent the terminal request signal, to the handbill of web server requests 9:00:00 ~ 10:00:00, and the handbill that returns was deposited in the current cache module that has emptied.
Repeat above-mentioned steps c ~ l, can regularly upgrade the handbill in the STB, thereby guarantee that the ad material data in real time shows; And advertisement and identifier because STB makes a strategic decision voluntarily; According to the ad material of advertisement and identifier decision-making needs demonstration, can reduce the decision-making pressure of server again, improve systematic function.
See also Fig. 6, the server end equipment 400 that it provides for the embodiment of the invention, it is used for carrying out data interaction with a ustomer premises access equipment 500.This server end equipment 400 comprises first cache module 41, first time block 42, data generation module 43, second cache module 44, the first replacement module 45, first receiver module 46, first decision-making module 47 and first sending module 48.
Said first cache module 41 is used to store an ad data with respect to last period of said current period definition.Be appreciated that said first cache module 41 is corresponding to the first above-mentioned buffer area.
Said first time block 42 is used to export at least one first timing signal.
Said data generation module 43 is used for according to this first timing signal, from the database of server end equipment 400, obtains the ad data of next period at least.
Said second cache module 44 is used to store the ad data of said current period.
The said first replacement module 45 is used for according to said first timing signal ad data of next period being replaced the ad data of the last period in first cache module 41, and the advertisement data store that is about to next period is in said first cache module 41.Concrete, the said first replacement module 45 at first empties first cache module according to this second timing signal, again with the advertisement data store of next period in said first cache module.There is complete and up-to-date ad data the buffer area that thus, can guarantee server apparatus 400.
Said first receiver module 46 is used to receive a terminal request signal that sends from ustomer premises access equipment 500, and this terminal request signal is used to ask the handbill of next period.
Said first decision-making module 47 is used for the ad data according to this terminal request signal and this next period; Generate and export handbill to the said ustomer premises access equipment 500 of next corresponding period; Make that ustomer premises access equipment 500 can be according to the temporal information of a user request signal, the advertisement and identifier of the corresponding time of from the handbill of this current period, making a strategic decision out.
Said first sending module 48 is used for sending the corresponding advertisement material according to said advertisement and identifier.
Be appreciated that in other embodiments said first cache module 41 and second cache module 44 can be arranged in the same memory.
See also Fig. 7; The ustomer premises access equipment 500 that it provides for the embodiment of the invention, this ustomer premises access equipment 500 comprise the 3rd cache module 51, second time block 52, request module 53, the 4th cache module 54, handover module 55, second replacement module 56, second decision-making module 57 and second sending module 58.
Said the 3rd cache module 51 is used to store the handbill of last period.
Said second time block 52 is used to export at least one second timing signal.
Described request module 53 is used for according to this second timing signal; Send a terminal request signal to said server end equipment 400, so that server end equipment 400 generates and export handbill to the said ustomer premises access equipment 500 of next period according to this terminal request signal.
Said the 4th cache module 54 is used to store the handbill of current period.
Said handover module 55 is used for according to one the 3rd timing signal, and the handbill of said next period is switched to the handbill of current period, and said the 3rd timing signal is later than second timing signal and produces.
The said second replacement module 56 is used for emptying the 3rd cache module 51 according to this second timing signal, and the handbill of next period is stored in the 4th cache module 54.
Said second decision-making module 57 is used for the temporal information according to a user request signal, the advertisement and identifier of the corresponding time of from the handbill of this current period, making a strategic decision out.
Said second sending module 58 is used for said advertisement and identifier is sent to said server end equipment 400, so that said server end equipment 400 is according to this advertisement and identifier corresponding advertisement material of making a strategic decision out.
Said second receiver module 59 is used for receiving and showing said ad material.
Be appreciated that in other embodiments said the 3rd cache module 51 and the 4th cache module 54 can be arranged in the same memory.
See also Fig. 8, the ad data interactive system 600 that it provides for the embodiment of the invention, this system 600 comprise above-mentioned server end equipment 400 and the ustomer premises access equipment 500 that at least one is above-mentioned.This system 600 can be used for the Web TV that wired interactive TV, IPTV and video website provide.
In ad data exchange method provided by the invention and the system thereof; Server end is at first according to the different terminals request signal; Make a strategic decision current period and next period handbill and be stored in user side; Make user side again according to user request signal through local handbill decision-making advertisement and identifier, the data of update service device end and user side regularly, thus guarantee that the ad material data in real time shows.And, through at server end decision-making handbill, and, can reduce the decision-making pressure of server in the classification decision-making mode of user side decision-making advertisement and identifier, improve systematic function.
Above disclosedly be merely a kind of preferred embodiment of the present invention, can not limit the present invention's interest field certainly with this, the equivalent variations of therefore doing according to claim of the present invention still belongs to the scope that the present invention is contained.