Embodiment
The embodiment of the invention provides a kind of content delivery method, system; And a kind of client and a kind of server; In order to the same content of guaranteeing content supplier can be not repeatedly, repeatedly same user is carried out insignificant propelling movement; Thereby the propelling movement cost, the raising that have not only reduced content push effect and user experience, can also improve utilization rate of network resource.
Described content comprises message notifying of advertisement, music, news, instant communication software or the like; The embodiment of the invention is example with the pushed advertisement; Prescribed server how to set up the user and the pushed information of the content that self need push between corresponding relation, and how content reasonably to be pushed to the user according to this corresponding relation.
Below in conjunction with accompanying drawing, the embodiment of the invention is described in detail.
Referring to Fig. 1, a kind of content supplying system that the embodiment of the invention provides comprises: client 11 and server 12;
Said client 11 is used for the indication according to the user, the request of sending accessed content to the server of network side.
Said server 12, be used to receive the request of the said accessed content that client 11 sends after, according to said user's ID, search the corresponding relation of ID and the pushed information of the content that needs to push; When the corresponding relation of the ID that finds said user and the pushed information of the content that need to push; Whether the content that pushes according to the pushed information judgement needs that find satisfies pushing condition, and the content that satisfies pushing condition is pushed to said client 11.
Preferably, said pushed information comprises: whether the content that needs push pushed to said user; Then said pushing condition comprises: the content that needs push did not push to said user.
Preferably, said pushed information comprises: the number of times that the content that needs push had pushed to said user; Then said pushing condition comprises: the number of times that the content that needs push had pushed to said user does not reach the propelling movement frequency threshold value.
Preferably, said pushed information also comprises: the keyword of the content that needs push; Then said pushing condition also comprises: the keyword of the content that needs push is contained in the request of the accessed content that said user sends.
In addition, pushed information and corresponding pushing condition can also be expanded more, like the concrete time that pushes content to the user, the time interval between twice propelling movement or the like.
Preferably, referring to Fig. 2, said client 11 comprises:
Send request unit 111, be used for indication, to the request of server 12 transmission accessed contents according to the user.
ID transmitting element 112 is used at said transmission request unit 111 when server 12 sends the request of accessed contents, obtaining the sign that is used for unique identification self, and this sign is sent to said server 12 as said user's ID.
Wherein, said user's ID can send to said server 12 through the request of the accessed content that sends to server 12, also can send to said server 12 separately.
Preferably, referring to Fig. 3, said server 12 comprises:
ID acquiring unit 121 is used to receive the request of the accessed content that the user sends, and obtains said user's ID.
Corresponding relation unit 122 is used for the ID according to said user, searches the corresponding relation of ID and the pushed information of the content that need to push.
Content push unit 123; Be used for when the corresponding relation of the pushed information of the content of the ID that finds said user and needs propelling movement; Whether the content that pushes according to the pushed information judgement needs that find satisfies pushing condition, and the content that satisfies pushing condition is pushed to said user.
Preferably, server 12 also comprises:
Adding device 124; When being used for the corresponding relation when the pushed information of the content of the ID that does not find said user and needs propelling movement; Set up the corresponding relation of said user's ID with the pushed information of the content that needs to push, and notify said content push unit 123 that content is pushed to said user.
In addition; Said ID also can customize according to user's needs with the corresponding relation of the pushed information of the content that needs to push in advance; When not finding the corresponding relation of said ID and the pushed information of the content that need to push, then do not push the content of its request to said user.Therefore, the content described in the embodiment of the invention can be an internet content, also can be the other guide of customization.
ID described in the embodiment of the invention can be the sign (PID) of the client logined of user, also can be that other for example are used to user account number of logining certain instant communication software or the like.Adopt client identification PID as ID in the embodiment of the invention.PID is the characteristic value of client, is used for client of unique identification.
The data of various ways can be as the PID of client; PID can be: the registration code of the medium access control of IP address, network interface card (MAC, Media Access Control) address, hard disk sequence number, operating system or the Hash ident value that the registration code of IP address, MAC Address of Network Card, hard disk sequence number and/or operating system is calculated through hash algorithm.For example, the IP address 193.168.1.101 of client; The perhaps hard disk sequence number 1451ead85qw of client, this sequence number has indicated the uniqueness of client hard disk, indicates this client so also can be used as unique value; Said hash algorithm, like md5-challenge (MD4, message-digest algorithm 4) or (MD5, message-digest algorithm 5), the pid value that calculates can not be replaced by third party software.In a word, if can unique identification the value of a client, can both be as PID, identify uniquely more, the accuracy that does not repeat pushed advertisement is high more.
When user capture contains the webpage of advertisement, such as, the advertisement of this webpage is interior civilian advertisement, then when user's mouse moved on the keyword of civilian advertisement in this, ad code will be obtained the PID of the employed client of this user.Other forms of advertisement, the video ads as webpage ejects automatically when opening this webpage so, just can obtain the PID of the employed client of this user.
Introduce below and how to obtain PID.
Client according to user indication when server sends the advertisement browse request (such as; User capture be interior civilian advertisement; In user's mouse moves to during the keyword of civilian advertisement; This user client will be sent the advertisement browse request to server), client is calculated or is read the PID of self, then it is reported server.For example, if the PID employing is the IP address of client, the IP address server of client can directly obtain PID so.If what PID adopted is the hard disk sequence number of client; So; When the interior civilian advertisement of user capture webpage; This webpage can load JS (JavaScript) code, in order to read the hard disk sequence number of client, then this sequence number is sent to the server that is used to push content as ID.Wherein, said JS code is a kind of computer script language, mainly is on the web of client browser, to explain to carry out.
After server has obtained ID, set up ID and the pushed information of the advertisement that need to push between corresponding relation.For example, certain user's ID is an ID 1, and server obtains this user's ID 1, sets up corresponding relation as shown in Figure 4, and the pushed information of the advertisement that does not push is used " 0 " sign.For interior civilian advertisement; Possibly comprise more than one advertisement keywords on the webpage; The pairing advertisement form of each keyword is also inequality, and the keyword that has only need be used through the written form pushed advertisement, and the keyword that has possibly need through form pushed advertisement such as picture, animation (flash), videos; That is to say a plurality of advertisements that the keyword of interior civilian advertisement itself is just corresponding.Therefore; When user's mouse moved to a certain keyword, server obtained this user's PID, and the keyword of the advertisement that need visit of this user; And set up PID and this keyword and this keyword and the pushed information of the advertisement that needs to push between corresponding relation, as shown in Figure 5.Promptly PID can set up at least one and the corresponding relation of the pushed information of the advertisement that needs to push.For the advertisement of non-keyword form,, can set up on ID and this webpage corresponding relation between the pushed information of the advertisement that needs to push equally such as the bullet window advertisement of certain webpage.
Set up the corresponding relation of ID and the pushed information of the advertisement that needs to push when server after; To said user respective advertisement is provided according to this corresponding relation; I.e. putting in order according to the pushed information of each advertisement in the said corresponding relation; Judge successively whether each advertisement pushed,, give corresponding user this advertisement pushing up to the advertisement of finding one not push.As shown in Figure 6; At first check the pushed information (push with one token in the present embodiment, do not push) of advertisement 1, find that the pushed information of advertisement 1 is labeled as 1 with " 0 " mark; Judge that then advertisement 1 pushed; Whether the pushed information of then judging next advertisement (being advertisement 2) was labeled as 0 o'clock up to the pushed information that has found advertisement 3 for not pushing, and judged that then this advertisement 3 did not also push to ID 1 pairing user; Then advertisement 3 is sent to client, to ID 1 pairing user advertisement 3 is provided through this client.
If all pushed with ID 1 corresponding all advertisements; Then can select to continue pushed advertisement for this ID 1 pairing user; Perhaps the pushed information mark with all advertisements changes " 0 " into by " 1 ", promptly begins the user's pushed advertisement to ID 1 correspondence from advertisement 1 again.
Preferably; Can also further in corresponding relation shown in Figure 6, store the number of times that each advertisement has been pushed; And the frequency threshold value that pushed of each advertisement, as shown in Figure 7, set the frequency threshold value that each advertisement can push after; For the advertisement of forms such as literal, picture, flash, video, can make the propelling movement better effects if of advertisement.As shown in Figure 7, when client had been sent the browse advertisements request, server at first obtained ID 1; And after finding the pushed information of this ID 1 corresponding advertisement, earlier judge whether advertisement 1 pushed, judge that this advertisement 1 has pushed after; Judge again whether the number of times that has pushed reaches preset threshold value (as twice), when judgement does not reach this threshold value, then selects advertisement 1 to push; And after noting propelling movement this time, the number of times of propelling movement of advertisement 1 is so that judge next time; If the propelling movement number of times of advertisement 1 has reached threshold value, then continue to judge whether advertisement 2 pushed, if do not push; Then pushed advertisement 2, if pushed then judge whether the number of times that pushes reaches threshold value, and the rest may be inferred; Up to finding one not reach the advertisement that pushes frequency threshold value; And, push certain advertisement at every turn after, all note the number of times that this advertisement has been pushed.
The embodiment of the invention can also have much more more expansions, for example, can also be set the propelling movement time of advertisement in the corresponding relation of ID and the pushed information of the advertisement that needs to push; Threshold value such as the propelling movement number of times that is provided with ID 1 corresponding advertisement 1 is twice, and the time period (as pushing for the first time is 7 o'clock to 9 o'clock in the morning, and pushing for the second time is 7 o'clock to 9 o'clock at night) of each propelling movement then can further be set; The time interval of twice propelling movement can also be set; As be set to 2 hours, note the time point that pushes certain advertisement for the first time to this user, in 2 hours; If this user proposes to visit the request of this advertisement once more; Then push this advertisement to this user once more, otherwise, do not push this advertisement to this user.
In addition; The visit capacity of considering each advertisement is very big; And the user of visit is very many; Preferably, the embodiment of the invention can also be provided with in the server time that the ID setting up and preserve and the corresponding relation of the pushed information of the advertisement that needs to push can be preserved in this server, i.e. the corresponding relation of regular update ID and the pushed information of the content that needs to push.For example, the corresponding relation of setting up to each user is kept under the temporary folder, and this document folder can carry out suitable reservation and deletion according to the computing and the storage capacity of server; Such as; Keep deletion automatically after a day, like this, the not recurrence probability of user's browse advertisements is one day; Perhaps can be provided with to keep after three days and delete, the probability that does not repeat pushed advertisement so is exactly three days.
Introduce the method that the embodiment of the invention provides below.
Referring to Fig. 8, a kind of content delivery method that the embodiment of the invention provides comprises step:
The request of the accessed content that S801, reception user send.
S802, according to said user's ID, search the corresponding relation of ID and the pushed information of the content that need to push.
S803, when the corresponding relation of the ID that finds said user and the pushed information of the content that need to push; Whether the content that pushes according to the pushed information judgement needs that find satisfies pushing condition, and the content that satisfies pushing condition is pushed to said user.
Preferably; When the corresponding relation of the ID that does not find said user and the pushed information of the content that need to push; Set up the corresponding relation of said user's ID with the pushed information of the content that needs to push, push content to said user according to this corresponding relation;
Perhaps, when the corresponding relation of the ID that does not find said user and the pushed information of the content that need to push, refusal provides the content of its request to said user.
For example, user U1 visit contains the page P1 of advertisement, and mouse moves on the keyword K of advertisement, and ad code gets access to the U1_PID that is designated of user U1; Server is set up the corresponding relation U1_PID-AD_list of U1_PID and the pushed information of the advertisement that need to push; The ad-request that keyword is K of browsing according to user U1 transmission; Judge whether the advertisement AD1 that ranked first the position in the pushed information formation of advertisement of the keyword K that U1_PID is corresponding can push (judging according to the pushed information of this advertisement, the conditions such as number of times, propelling movement time that push), if can, then load AD1 and offer user U1; If cannot; Then do not load AD1, then judge whether the advertisement AD2 that ranked second the position can push, and the rest may be inferred.
Certainly; According to the technical scheme that provides in the embodiment of the invention; Can expect that the ID described in the embodiment of the invention and the corresponding relation of the pushed information of the content that needs to push also can be by client foundation and preservations; When client received the content that server sends, whether client showed this content to the user according to self stored relation decision, thereby also can avoid same content to repeat repeatedly same user to be pushed nonsensically.
In sum; The technical scheme that the embodiment of the invention provides through obtaining user's sign, is set up the corresponding relation of ID and the pushed information of the content that need to push; And carry out the propelling movement of content according to this tabulation; Avoid in the prior art same content to repeat repeatedly same user to be pushed nonsensically, thereby not only reduced the content cost, also improved the propelling movement effect and the utilization rate of network resource of content; And improved user experience, avoid the propelling movement of same content too much to bother to what same user caused.
Obviously, those skilled in the art can carry out various changes and modification to the present invention and not break away from the spirit and scope of the present invention.Like this, belong within the scope of claim of the present invention and equivalent technologies thereof if of the present invention these are revised with modification, then the present invention also is intended to comprise these changes and modification interior.