Summary of the invention
Embodiment of the present invention technical problem to be solved is, a kind of advertisement sending method, CDN system and advertisement pushing system of content-based distributing network is provided.Can solve the deficiency that the carrier server based on CDN system in prior art cannot advertisement.
In order to solve the problems of the technologies described above, the embodiment of the present invention provides a kind of advertisement sending method of content-based distributing network, comprising:
The controller of carrier server receives the content requests that user terminal obtains target resource, and wherein, carrier server comprises controller and several node servers;
The controller of carrier server obtains according to described content requests the first advertisement that described target resource is corresponding and presents strategy, and wherein, this first advertisement presents strategy for the presentation mode of the advertisement of content provider server configuration;
According to described the first advertisement, present the second advertisement for the treatment of advertisement that strategy generates described carrier server configuration and present strategy, and and at least according to this second advertisement present strategy, described target resource routing information and described in treat advertisement routing information generate this target resource and described in treat the content distribution policy of advertisement;
According to the indication of described content distribution policy to described user terminal push described target resource and described in treat advertisement.
In the possible implementation of the first, describedly according to described the first advertisement, present the second advertisement for the treatment of advertisement that strategy generates described carrier server configuration and present tactful step and comprise:
Obtain the user preference information of preserving in described carrier server;
According to described user preference information and described the first advertisement, present the second advertisement for the treatment of advertisement that strategy generates this carrier server configuration and present strategy.
In the possible implementation of the first of first aspect, in the possible implementation of the second, the controller of described carrier server obtains according to described content requests the first advertisement that described target resource is corresponding and presents tactful step and comprise:
The first advertisement corresponding to described target resource reporting according to predefined interface reception content provider server presents strategy; Or
Adoption Network reptile obtains the first advertisement that target resource described in content provider server is corresponding and presents strategy.
In conjunction with the possible implementation of the second of first aspect, in the third possible implementation, the controller of described carrier server also comprises before receiving the step of content requests that user terminal obtains target resource:
The upload request for the treatment of advertisement is uploaded in reception, and this is treated to advertisement is stored in each node server of carrier server.
In conjunction with first aspect to any in the third possible implementation of first aspect, in the 4th kind of possible implementation, described according to the indication of described content distribution policy to described user terminal push described target resource and described in treat that the step of advertisement comprises:
Determine the position of described target resource in the node server of described carrier server;
According to the indication of described content distribution policy to described user terminal push this target resource and described in treat advertisement.
In conjunction with any in the 4th kind of possible implementation of first aspect, in the 5th kind of possible implementation, describedly determine that the step of the position of described target resource in the node server of described carrier server comprises:
According to described content requests, judge in the node server of described carrier server whether have described target resource, if yes, navigate to described target resource, if NO, to described content provider server request target resource described in this.
Second aspect present invention provides a kind of content distributing network CDN system, comprising:
Receiver module, obtains the content requests of target resource for receiving user terminal;
Acquisition module, presents strategy for obtain the first advertisement that described target resource is corresponding according to described content requests, and wherein, this first advertisement presents strategy for the presentation mode of the advertisement of content provider server configuration;
Generation module, the second advertisement for the treatment of advertisement that generates carrier server configuration for present strategy according to described the first advertisement presents strategy, and at least according to this second advertisement present strategy, described target resource routing information and described in treat advertisement routing information generate this target resource and described in treat the content distribution policy of advertisement;
Pushing module, for according to the indication of described content distribution policy to described user terminal push described target resource and described in treat advertisement.
In the possible implementation of the first, described generation module comprises:
Described generation module comprises:
Acquiring unit, the user preference information of preserving for obtaining described carrier server;
Generation unit, the second advertisement for the treatment of advertisement that generates this carrier server configuration for present strategy according to described user preference information and described the first advertisement presents strategy.
In conjunction with the possible implementation of the first of second aspect, in the possible implementation of the second, described acquisition module comprises:
Receiving element, presents strategy for the first advertisement corresponding to described target resource reporting according to predefined interface reception content provider server; Or
Crawl unit, for Adoption Network reptile, obtain the first advertisement that target resource described in content provider server is corresponding and present strategy.
In conjunction with the possible implementation of the second of second aspect, in the third possible implementation, also comprise:
Configuration module, uploads for receiving the upload request for the treatment of advertisement, and this is treated to advertisement is stored in each node server of carrier server.
In conjunction with second aspect, to any in the third possible implementation of second aspect, in the 4th kind of possible implementation, described pushing module comprises:
Positioning unit, for determining that described target resource is in the position of the node server of described carrier server;
Push unit, for according to the indication of described content distribution policy to described user terminal push this target resource and described in treat advertisement.
Third aspect present invention provides a kind of advertisement pushing system, comprises that content provider server, user terminal, Advertisement Server and second aspect are to any content distribution network system in the 4th kind of possible implementation of second aspect.
In the possible implementation of the first, the node server in described content distribution network system is deployed in core net CN and/or wireless access network WAN.
Implement the embodiment of the present invention, there is following beneficial effect:
Carrier server receives the content requests that user terminal obtains target resource, obtain the first advertisement that this target resource is corresponding and present strategy, and according to this first advertisement, present the second advertisement that strategy generates the preset advertisement of carrier server and present strategy, simultaneously according to the second advertisement, present the routing information of strategy, target resource and treat the routing information generating content distribution policy of advertisement, and according to the indication of content distribution policy to user terminal advertisement and target resource.By the present invention, the carrier server of content-based distributing network can be disposed the advertisement of oneself, also consider the strategy that content supplier disposes advertisement simultaneously, do not affect the access of user to content supplier's business, Neng Gei operator increases advertising income source simultaneously, saves the cost that content distributing network is disposed.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is clearly and completely described, obviously, described embodiment is only the present invention's part embodiment, rather than whole embodiment.Embodiment based in the present invention, those of ordinary skills, not making the every other embodiment obtaining under creative work prerequisite, belong to the scope of protection of the invention.
Referring to Fig. 1, be the schematic flow sheet of the advertisement sending method of a kind of content-based distributing network of the embodiment of the present invention, the method comprises:
The controller of step 101, carrier server receives the content requests that user terminal obtains target resource.
Concrete, in the present embodiment, carrier server is deployed with CND system, this CDN(Content Delivery Network, content distributing network, be called for short CDN) system is to superpose by place the Overlay(of the one deck on existing Internet basic that node server forms everywhere at network) network, CDN system can be in real time redirects to user's request on the node server close to user according to integrated informations such as connection, load state and the user's of network traffics and each node distance and response times.Controller in carrier server receives the content requests that user terminal obtains target resource, and the original document of target resource is stored in content provider server, is cached with the copy of this file destination in the node server of CDN system.For example, target resource is video file, and the controller of carrier server is for carrying out control and management to being deployed in each node server of CND system.Controller receives the content requests that user terminal obtains video file, and this content requests comprises the network address of this video file, and controller is resolved the network address that this request obtains video file.
The controller of step 102, carrier server obtains according to described content requests the first advertisement that described target resource is corresponding and presents strategy.
Concrete, the first advertisement presents advertisement that strategy configures for the content provider server presentation mode on user terminal, for example, the first advertisement presents strategy for the broadcast that represents advertisement constantly and the information such as the finish time and advertisement windows size, position and content, the first advertisement that carrier server configures according to content supplier when user terminal pushes the target resource of user's request present tactful indication by advertisement pushing to user terminal.Be understandable that, this first advertisement presents in the Advertisement Server that strategy can be kept at content supplier's appointment.
Step 103, according to described the first advertisement, present the second advertisement for the treatment of advertisement that strategy generates described carrier server configuration and present strategy, and and at least according to this second advertisement present strategy, described target resource routing information and described in treat advertisement routing information generate this target resource and described in treat the content distribution policy of advertisement.
Concrete, the second advertisement presents strategy and treats that for what carrier server configured advertisement is in the advertising display mode of user terminal, carrier server is the preset advertisement that needs in its each node server, controller presents strategy generation according to the first advertisement of target resource described in content provider server and treats that the second advertisement of advertisement presents strategy, this second advertisement presents strategy and comprises equally advertisement broadcast constantly, advertisement finish time, advertisement windows size, the information such as advertisement windows position and ad content, broadcast for fear of advertisement is little, the second advertisement presents information in strategy and is generally different from the first advertisement and presents strategy.
Step 104, according to the indication of described content distribution policy to described user terminal push described target resource and described target resource and described in treat advertisement.
Concrete, the node server of carrier server receives after the content distribution policy that controller issues, what according to this content distribution policy, to user terminal, push carrier server configuration treats advertisement and described target resource, this content distribution policy comprises the information such as broadcast time of described advertisement and target resource and display position, and the target resource that controller is stored in the node server close to from user is back to user terminal.
Implement the embodiment of the present invention, carrier server receives the content requests that user terminal obtains target resource, obtain the first advertisement that this target resource is corresponding and present strategy, and according to this first advertisement, present the second advertisement that strategy generates the preset advertisement of carrier server and present strategy, and at least according to this second advertisement, present strategy, the routing information of described target resource and described in treat advertisement routing information generate this target resource and described in treat the content distribution policy of advertisement, and according to the indication of content distribution policy to user terminal advertisement and target resource.By the present invention, the carrier server of content-based distributing network can be disposed the advertisement of oneself, also consider the strategy that content supplier disposes advertisement simultaneously, do not affect the access of user to content supplier's business, Neng Gei operator increases advertising income source simultaneously, saves the cost that content distributing network is disposed.
Referring to Fig. 2, be another schematic flow sheet of the advertisement sending method of a kind of content-based distributing network of the embodiment of the present invention, the method comprises:
Step 201, reception are uploaded the upload request for the treatment of advertisement, and this are treated to advertisement is stored in each node server of carrier server.
Concrete, in Advertisement Server, there is the preset all types of advertisement of advertising provider, the controller of carrier server receives Advertisement Server and uploads the upload request for the treatment of advertisement, this is treated to advertisement is stored in each node server of carrier server of content-based distributing network, and the advertisement for the treatment of of preserving in node server is the copy in Advertisement Server.
The controller of step 202, carrier server receives the content requests that user terminal obtains target resource.
Step 203, the first advertisement corresponding to described target resource reporting according to predetermined interface reception content provider server present strategy; Or Adoption Network reptile obtains the first advertisement that target resource described in content provider server is corresponding and presents strategy.
Step 204, obtain the user preference information of preserving in described carrier server.
Concrete, the controller of carrier server receives the content requests that user terminal obtains target resource, this content requests comprises user preference information, this user preference information is obtained the kind of target resource in the historical record that can access by user and is determined, the target resource that for example user asks within certain a period of time is ball match, determines that user preference information is physical culture; Also can in the materials for registration by user, obtain, for example in user's materials for registration, filling in interested industry is real estate, therefore determines user's preference information.The method that controller obtains user preference information can be also, receives after user's request, according to the identity information of user in this request, then for the server of preference information, obtains this user preference information to storage.
Step 205, according to described content requests, judge in described CDN system whether have described target resource.
Concrete, if be judged as YES, execution step 206, if be judged as NO, execution step 207.
Step 206, determine the position of described target resource in the node server of described carrier server.
Step 208, according to described the first advertisement, present the second advertisement for the treatment of advertisement that strategy generates described carrier server configuration and present strategy, and at least according to this second advertisement present strategy, described target resource routing information and described in treat advertisement routing information generate this target resource and described in treat the content distribution policy of advertisement.
Step 209, according to the indication of described content distribution policy to described user terminal push described target resource and described target resource and described in treat advertisement.
Implement the embodiment of the present invention, carrier server receives the content requests that user terminal obtains target resource, obtain the first advertisement that this target resource is corresponding and present strategy, and according to this first advertisement, present the second advertisement that strategy generates the preset advertisement of carrier server and present strategy, simultaneously at least according to the second advertisement present strategy, described target resource routing information and described in treat the routing information generating content distribution policy of advertisement, and according to the indication of content distribution policy to user terminal advertisement and target resource.By the present invention, the carrier server of content-based distributing network can be disposed the advertisement of oneself, also consider the strategy that content supplier disposes advertisement simultaneously, do not affect the access of user to content supplier's business, Neng Gei operator increases advertising income source simultaneously, saves the cost that content distributing network is disposed.
Referring to Fig. 3, be the structural representation of a kind of content distributing network CDN system of the present invention, this CDN system comprises;
Receiver module 11, obtains the content requests of target resource for receiving user terminal.
Concrete, CDN(Content Delivery Network, content distributing network, being called for short CDN) system is can only virtual network by place one deck on existing Internet basic that node server forms everywhere at network, CDN system can lead user's request on the nearest node server of user according to integrated informations such as connection, load state and the user's of network traffics and each node distance and response times in real time again.Receiver module 11 receives the content requests that user terminal obtains target resource, and the original document of target resource is stored in content provider server, is cached with the copy of this file destination in the node server of CDN system.For example, target resource is video file.Receiver module 11 receives the content requests that user terminal obtains video file, and this content requests comprises the network address of this video file, and receiver module 11 is resolved the network address of target resource in this content requests.
Acquisition module 12, presents strategy for obtain the first advertisement that described target resource is corresponding according to described content requests, and wherein, this first advertisement presents strategy for the presentation mode of the advertisement of content provider server configuration.
Concrete, content provider server based on CDN system can push to user terminal by ad content according to certain strategy when providing service to user, the first advertisement presents strategy for indicating the presentation mode of the advertisement of content supplier's deployment, broadcasts the information such as the moment and the finish time and advertisement windows size, position and content such as advertisement.Acquisition module 12 obtains to the content provider server of described target resource the first advertisement that described target resource is corresponding and presents strategy.
Generation module 13, the second advertisement for the treatment of advertisement that generates carrier server configuration for present strategy according to described the first advertisement presents strategy, and at least according to this second advertisement present strategy, described target resource routing information and described in treat advertisement routing information generate this target resource and described in treat the content distribution policy of advertisement.
Concrete, CDN system is the preset advertisement for the treatment of in its each node server, generation module 13 presents strategy generation according to the first advertisement of target resource described in the content provider server of content supplier and treats that the second advertisement of advertisement presents strategy, the information such as this second advertisement presents that strategy comprises that advertisement is broadcasted constantly equally, advertisement finish time, advertisement windows size, advertisement windows position and ad content, and present according to described the second advertisement the content distribution policy that strategy generates described target resource and treats advertisement.
Pushing module 14, for according to the indication of described content distribution policy to described user terminal push described target resource and described in treat advertisement.
Concrete, the target resource that pushing module 14 is stored in the node server nearest from user is back to user terminal, and at user terminal interface assigned address, pushes preset advertisement and the target resource treated according to the indication of content distribution policy.
Implement the embodiment of the present invention, carrier server receives the content requests that user terminal obtains target resource, obtain the first advertisement that this target resource is corresponding and present strategy, and according to this first advertisement, present the second advertisement that strategy generates the preset advertisement of carrier server and present strategy, simultaneously at least according to the second advertisement present strategy, described target resource routing information and described in treat the routing information generating content distribution policy of advertisement, and according to the indication of content distribution policy to user terminal advertisement and target resource.By the present invention, the carrier server of content-based distributing network can be disposed the advertisement of oneself, also consider the strategy that content supplier disposes advertisement simultaneously, do not affect the access of user to content supplier's business, Neng Gei operator increases advertising income source simultaneously, saves the cost that content distributing network is disposed.
Further, referring to Fig. 4-Fig. 7, be another structural representation of a kind of content distributing network CDN system of the embodiment of the present invention, this CDN system, except comprising above-mentioned receiver module 11, acquisition module 12, generation module 13 and pushing module 14, also comprises:
Configuration module 15, uploads for receiving the upload request for the treatment of advertisement, and this is treated to advertisement is stored in each node server of carrier server.
Concrete, in Advertisement Server, there is the preset all types of advertisement of advertising provider, configuration module 15 receives Advertisement Server and uploads the upload request for the treatment of advertisement, this is treated to advertisement is stored in each node server of carrier server of content-based distributing network, and the advertisement for the treatment of of preserving in node server is the copy in Advertisement Server.
Wherein, generation module 13 comprises:
Acquiring unit 131, the user preference information of preserving for obtaining described carrier server;
Generation unit 132, the second advertisement for the treatment of advertisement that generates this carrier server configuration for present strategy according to described user preference information and described the first advertisement presents strategy.
Acquisition module 12 comprises:
Receiving element 121, presents strategy for the first advertisement corresponding to described target resource reporting according to predefined interface reception content provider server; Or
Crawl unit 122, for Adoption Network reptile, obtain the first advertisement that target resource described in content provider server is corresponding and present strategy.
Pushing module 14 comprises:
Positioning unit 141, for determining that described target resource is in the position of the node server of described carrier server;
Push unit 142, for according to the indication of described content distribution policy to described user terminal push this target resource and described in treat advertisement.
Referring to Fig. 8, another structural representation for a kind of CDN system of the embodiment of the present invention, comprise processor 61, memory 62, input unit 63 and output device 64, the quantity of the processor 61 in flow rate limiting device 1 can be one or more, and it is example that Fig. 8 be take a processor.In some embodiments of the present invention, processor 61, memory 62, input unit 63 and output device 64 can be connected by bus or other modes, in Fig. 8, with bus, are connected to example.
Wherein, in memory 62, store batch processing code, and processor 61 is for calling the program code of memory 62 storages, for carrying out following operation:
The controller of carrier server receives the content requests that user terminal obtains target resource, and wherein, carrier server comprises controller and several node servers;
The controller of carrier server obtains according to described content requests the first advertisement that described target resource is corresponding and presents strategy, and wherein, this first advertisement presents strategy for the presentation mode of the advertisement of content provider server configuration;
According to described the first advertisement, present the second advertisement for the treatment of advertisement that strategy generates described carrier server configuration and present strategy, and at least according to this second advertisement present strategy, described target resource routing information and described in treat advertisement routing information generate this target resource and described in treat the content distribution policy of advertisement;
According to the indication of described content distribution policy to described user terminal push described target resource and described in treat advertisement.
In some embodiments of the invention, processor 61 is specifically for carrying out:
Obtain the user preference information of preserving in described carrier server;
According to described user preference information and described the first advertisement, present the second advertisement for the treatment of advertisement that strategy generates this carrier server configuration and present strategy.
Processor 61 is specifically for carrying out:
The first advertisement corresponding to described target resource reporting according to predefined interface reception content provider server presents strategy; Or
Adoption Network reptile obtains the first advertisement that target resource described in content provider server is corresponding and presents strategy.
In some embodiments of the invention, processor 61 is also for carrying out:
The upload request for the treatment of advertisement is uploaded in reception, and this is treated to advertisement is stored in each node server of carrier server.
Processor 61 is specifically for carrying out:
Determine the position of described target resource in the node server of described carrier server;
According to the indication of described content distribution policy to described user terminal push this target resource and described in treat advertisement.
Implement the embodiment of the present invention, carrier server receives the content requests that user terminal obtains target resource, obtain the first advertisement that this target resource is corresponding and present strategy, and according to this first advertisement, present the second advertisement that strategy generates the preset advertisement of carrier server and present strategy, simultaneously at least according to the second advertisement present strategy, described target resource and described in treat the routing information generating content distribution policy of advertisement, and according to the indication of content distribution policy to user terminal advertisement and target resource.By the present invention, the carrier server of content-based distributing network can be disposed the advertisement of oneself, also consider the strategy that content supplier disposes advertisement simultaneously, do not affect the access of user to content supplier's business, Neng Gei operator increases advertising income source simultaneously, saves the cost that content distributing network is disposed.
Referring to Fig. 9 and Figure 10, the structural representation for a kind of advertisement pushing system of the present invention, comprising:
CDN system 1, user terminal 2, Advertisement Server 3 and content provider server 4, the course of work is as follows:
The controller 11 of CDN system 1 receives Advertisement Server and uploads the upload request for the treatment of advertisement, and treat that by described advertisement is stored in each node server of content distributing network CDN system, each node server of CDN system can be deployed in core net CN12 and/or wireless access network WAN13.The controller 11 of CDN system 1 receives the content requests that user terminal 2 obtains target resource, and locate described target resource according to described content requests, to the content provider server 4 of described target resource, obtain the first advertisement that described target resource is corresponding and present strategy, according to described the first advertisement, present preset the second advertisement for the treatment of advertisement of strategy generation and present strategy, to described user terminal 2, return to described target resource, and at least according to the second advertisement, present strategy, described target resource and described in treat the routing information generating content distribution policy of advertisement, the controller of CDN system pushes target resource and the preset advertisement for the treatment of according to the indication of described content distribution policy to user terminal.Wherein, referring to Fig. 9, in content provider server, the copy of target resource also can be deployed in another third party CDN system 5 simultaneously, to realize the network interworking between heterogeneous networks operator, improves user's access speed.
Implement the embodiment of the present invention, carrier server receives the content requests that user terminal obtains target resource, obtain the first advertisement that this target resource is corresponding and present strategy, and according to this first advertisement, present the second advertisement that strategy generates the preset advertisement of carrier server and present strategy, simultaneously at least according to the second advertisement present strategy, described target resource and described in treat the routing information generating content distribution policy of advertisement, and according to the indication of content distribution policy to user terminal advertisement and target resource.By the present invention, the carrier server of content-based distributing network can be disposed the advertisement of oneself, also consider the strategy that content supplier disposes advertisement simultaneously, do not affect the access of user to content supplier's business, Neng Gei operator increases advertising income source simultaneously, saves the cost that content distributing network is disposed.
One of ordinary skill in the art will appreciate that all or part of flow process realizing in above-described embodiment method, to come the hardware that instruction is relevant to complete by computer program, described program can be stored in a computer read/write memory medium, this program, when carrying out, can comprise as the flow process of the embodiment of above-mentioned each side method.Wherein, described storage medium can be magnetic disc, CD, read-only store-memory body (Read-Only Memory, ROM) or random store-memory body (Random Access Memory, RAM) etc.
Above disclosed is only a kind of preferred embodiment of the present invention, certainly can not limit with this interest field of the present invention, one of ordinary skill in the art will appreciate that all or part of flow process that realizes above-described embodiment, and the equivalent variations of doing according to the claims in the present invention, still belong to the scope that invention is contained.