CN105512904B - A kind of method of advertisement - Google Patents

A kind of method of advertisement Download PDF

Info

Publication number
CN105512904B
CN105512904B CN201510654804.8A CN201510654804A CN105512904B CN 105512904 B CN105512904 B CN 105512904B CN 201510654804 A CN201510654804 A CN 201510654804A CN 105512904 B CN105512904 B CN 105512904B
Authority
CN
China
Prior art keywords
advertisement
content
page
client
access
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201510654804.8A
Other languages
Chinese (zh)
Other versions
CN105512904A (en
Inventor
龙安
杨思
关淞元
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Zhongchuang Telecom Test Co Ltd
Original Assignee
Beijing Zhongchuang Telecom Test Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Zhongchuang Telecom Test Co Ltd filed Critical Beijing Zhongchuang Telecom Test Co Ltd
Priority to CN201510654804.8A priority Critical patent/CN105512904B/en
Publication of CN105512904A publication Critical patent/CN105512904A/en
Application granted granted Critical
Publication of CN105512904B publication Critical patent/CN105512904B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The present invention provides a kind of methods of advertisement.The present invention needs to parse HTTP header content only to obtain the link of the purpose of access, web displaying, first time request ad content, second of request web page contents are carried out by initiating Twice requests, and web displaying and advertisement are shown as independent display, are independent of each other.Since parsing HTTP header algorithm is simple, it can guarantee the efficiency of transmission in core network, and when advertisement pushing device is connected in parallel in core network, the influence to core network be there's almost no;Additionally due to indicating that purpose is linked by label, the display of advertisement was had no effect on variation occurs in the page, to solve the problems, such as coverage rate;In addition, advertisement pushing time interval is not less than showing advertisement duration in this method, therefore the problem of be not in multiple advertisement while showing.

Description

A kind of method of advertisement
Technical field
The present invention relates to computer field more particularly to a kind of methods of advertisement.
Background technique
Currently, there are two types of the well-known page rendering methods for advertisement pushing, real-time page insertion and the page Caching technology.
Real-time page insertion is when the advertisement pushing equipment being deployed in operator's core network detects http response stream When the page specific position be inserted into ad code, to achieve the purpose that advertisement pushing.However the shortcomings that this mode, is, Greatly influence the efficiency of transmission of core network.Real-time page embedded technology requires advertisement pushing equipment to be connected on Backbone network In, when guaranteeing advertisement pushing coverage rate, advertisement pushing equipment is needed to detect each in the http response stream of the overwhelming majority The content of data packet, to find out the specific location of suitable ad code insertion, very due to data packet number to be treated It is more, and HTTP stream, there is also needing the page to decompress, equipment is necessarily affected to the transfer capability of data packet, this Extreme influence can be caused to the efficiency of transmission of core network.
Page cache technology refers to need the page cache of advertisement on specified server, in advance at it The specified ad code of middle insertion presets needs when advertisement pushing equipment detects that the page of active client access belongs to When the page of advertisement, one HTTP page reorientation data packet of loopback substitutes purpose net with the page existing on server Page is shown to client.This technology solves efficiency, but is the introduction of coverage rate problem.Due to the webpage for needing to push It must be arranged in advance, it may not be possible to accomplishing all to carry out all webpages into insertion ad code and cache, therefore work as Access is not the pre-set page, or has completed from one the page of advertisement and entered another and do not preset It just is no longer presented out with regard to advertisement when the page of advertisement pushing.And in network instantly, the content of most Webpages It is all fairly frequently updating, correspondingly, it is desirable to which the page of caching can be timely updated, this becomes maintenance work Complex.
Summary of the invention
Technical problem to be solved by the present invention lies in a kind of method for inventing advertisement, the method had both been solved extensively Core network transmits the problem of data efficiency is lowered during accusing push, and improves advertisement coverage rate.
The invention is realized in this way a kind of method of advertisement, comprising the following steps:
S1, the HTTP request for obtaining client, and purpose link, the purpose are parsed from HTTP by advertisement pushing device It is linked as the link that client it is expected the page of access;
S2, advertisement pushing device generate http response, will be in purpose link dynamic insertion access in the http response Hold the corresponding position in display area, inserts advertise content into the corresponding position of advertising area;
S3, the encapsulation http response, generate protocol package, and the protocol package is sent to client;
It includes ad content in protocol package that S4, client, which show, and is initiated second according to purpose link HTTP request;
Second of HTTP request is forwarded directly to web page server by S5, advertisement pushing device, and web page server is to institute It states second of HTTP request and carries out webpage response;
S6, client obtain the webpage response, and by webpage response display in the access content display region.
Preferably, before S1, overall page design in client is carried out, overall page is divided into access content display area Domain and advertising area two parts.
Preferably, before S1, advertisement pushing time interval is set for advertisement pushing device, the push time interval is not small In showing advertisement duration.
Preferably, after S6, when the internal links operation of the page that access it is expected client has occurred, will not repeat exhibition Existing advertisement.
Preferably, it after S6, is returned again to after the internal links operation for it is expected client the page of access has occurred described Client it is expected access the page when, the ad content is normally shown.
Preferably, the purpose link is indicated with the src field of<iframe>label in HTML.
Preferably, the ad content is advertising logo.
Preferably, the ad content is shown in the advertising area, and the advertising area is suspended in the access content Display area.
Preferably, the ad content presentation time is hidden automatically after reaching showing advertisement duration.
Preferably, the ad content shows is realized by Html, CSS or/and JavaScript.
Preferably, in S3 the corresponding IP data packet of protocol package data volume size be not more than Ethernet MTU, the IP number The actual content of the protocol package transmitting is described for generating protocol package, the IP data packet according to packet.
Preferably, the client is mobile device, and the ad content can be dragged arbitrarily when showing.
The invention has the following beneficial effects:
The present invention provides a kind of method of advertisement, this method only needs to parse the head of HTTP request, and leads to Crossing advertisement pushing device and web page server realizes the push of advertisement.The present invention needs to parse HTTP header content only to obtain and visit The purpose link asked, and the case where compressing is not present in HTTP header, therefore compared to for HTTP Context resolution, easily completes; Therefore, when advertisement pushing equipment is connected in core network, the influence to core network efficiency of transmission is little, and works as advertisement When pushing equipment is connected in parallel in core network, the influence to core network be there's almost no;Furthermore using this method when appearance When returning again to parent page after internal links, although there is the display that variation has no effect on advertisement in the page, to solve The problem of coverage rate, when advertisement pushing, can almost cover any one accessed HTTP page;In addition, being pushed in this method Time interval is not less than showing advertisement duration, therefore the problem of be not in multiple advertisement while showing.
Detailed description of the invention
Fig. 1 is Pages Design figure;
Fig. 2 is the flow chart of a kind of method of advertisement.
Specific embodiment
To make the object, technical solutions and advantages of the present invention clearer, the present invention is made into one below in conjunction with attached drawing Step ground detailed description.
The embodiment of the invention provides a kind of methods of advertisement, need before advertisement pushing whole for mobile device The body page is designed, as shown in Figure 1, overall page 1 is divided into access content display region 2 and 3 two parts of advertising area;It is whole The body page 1 is filled up completely mobile device browser part for display, and it includes have access content display region 2 and advertisement area Domain 3;And before advertisement, need for advertisement pushing time interval, institute is arranged for the advertisement pushing device of advertisement Push time interval is stated not less than showing advertisement duration;
The method of advertisement includes the following steps, as shown in Figure 2:
S1, the HTTP request for obtaining mobile device, and purpose link, the mesh are parsed from HTTP by advertisement pushing device Be linked as client it is expected access the page link;
S2, advertisement pushing device generate http response, in the http response, the purpose are linked and is visited described in dynamic insertion It asks content display region corresponding position, inserts advertise content into the corresponding position of the advertising area, the advertising area pair The position answered directly is calculated by advertisement pushing device, does not need to carry out dynamic lookup, to improve response speed;The link bit Be set to<position of src field value in iframe src=>label, this position relative to page beginning deviant in the page It can be calculated when display;
S3, the encapsulation http response, generate protocol package, and the protocol package is sent to mobile device;
It includes ad content in protocol package that S4, mobile device, which show, and is initiated second according to purpose link HTTP request;
Second of HTTP request is forwarded directly to web page server by S5, advertisement pushing device, and web page server is to institute It states second of HTTP request and carries out webpage response;At this point, since advertisement pushing device sets one not less than showing advertisement duration Advertisement pushing time interval, therefore, at this time advertisement pushing device will not advertisement, but HTTP request is transferred into web service Device;
S6, mobile device obtain the webpage response, and by webpage response display in the access content display area Domain.
Since advertisement part is to present by duration, and advertisement pushing device also sets one and pushes away to mobile device The advertisement pushing time interval sent, size setting are not less than showing advertisement duration, therefore when internal links occur, in advertisement It pushing in time interval, advertisement pushing device does not handle internal links request, and the linking request is transferred into web page server, by Web page server is responsible for response, and mobile device receives webpage response and generates Web evolution, and the Web evolution does not influence to occur The display of advertisement before internal links, therefore the problem of be not in multiple showing advertisement;At the desired page of mobile device It being operated under<iframe>label, therefore even if executing to return again after internal links occur, parent page has occurred and that variation, But the displaying of the advertisement outside<iframe>is not interfered with.It is independent and mutual that this method web displaying and ad content, which are shown, It does not influence, it is 60 seconds in the present embodiment that the showing advertisement duration, which is greater than 0, and unit is the second.
Preferably, the advertisement pushing time interval of advertisement pushing device is adjusted according to showing advertisement duration.When advertisement pushing Between the setting that is spaced so that advertisement pushing device HTTP request quantity to be treated will greatly reduce, and to advertisement coverage rate Influence it is little.
Preferably, the ad content is a very succinct mark, will not influence mobile device user and carries out page Face content is read.
Preferably, the ad content is shown in the advertising area 3, and the advertising area 3 is suspended in the access Hold display area 2.
Preferably, the ad content is suspended in using some or all of technology in Html, CSS and JavaScript On the access content display region 2, and it also by these technologies on a web browser, opened up in showing advertisement duration Show, then will hide automatically.The ad content can be dragged arbitrarily when showing.
Preferably, in S3 the corresponding IP data packet of protocol package data volume size be not more than Ethernet MTU, the IP number The actual content of the protocol package transmitting is described for generating protocol package, the IP data packet according to packet.Protocol package pair in S3 The second layer of OSI7 layer model, the i.e. encapsulation of data link layer are answered, the format of data link layer protocol packet is as follows
Protocol header H The actual content C of protocol package transmitting Agreement tail T
The maximum length of the C field of this protocol package is MTU (Maximum Transmission Unit), that is, singly The maximum amount of data (unit Byte) that a protocol package can be transmitted.When needing the content transmitted to be more than MTU, need to generate multiple Protocol package is transmitted.
It is Ethernet II that two layers, which are defaulted the protocol package type standards that use, transliteration ethernet ii, the MTU be with Net very much MTU.The protocol package actual content C is from the third layer of OSI7 layer model, i.e. the IP data packet of network layer, therefore, When the amount of IP packet data described in the present embodiment is less than Ethernet MTU, it can be packaged into single protocol package, this can simplify extensively The process flow for accusing pusher, improves efficiency.
The above disclosure is only the preferred embodiments of the present invention, cannot limit the right model of the present invention with this certainly It encloses, therefore equivalent changes made in accordance with the claims of the present invention, is still within the scope of the present invention.

Claims (10)

1. a kind of method of advertisement, which comprises the following steps:
S1, the HTTP request for obtaining client, and purpose link is parsed from HTTP by advertisement pushing device, the purpose link The link of the page of access it is expected for client;
S2, advertisement pushing device generate http response, and in the http response, purpose link dynamic insertion access content is shown Show the corresponding position in region, inserts advertise content into the corresponding position of advertising area;
S3, the encapsulation http response, generate protocol package, and the protocol package is sent to client;
It includes ad content in protocol package that S4, client, which show, and is linked according to the purpose and to initiate second of HTTP and ask It asks;
Second of HTTP request is forwarded directly to web page server by S5, advertisement pushing device, and web page server is to described Secondary HTTP request carries out webpage response;
S6, client obtain the webpage response, and by webpage response display in the access content display region.
2. a kind of method of advertisement according to claim 1, which is characterized in that before S1, carry out in client Overall page is divided into access content display region and advertising area two parts by overall page design.
3. a kind of method of advertisement according to claim 1 or 2, which is characterized in that be advertisement pushing before S1 Advertisement pushing time interval is arranged in device, and the push time interval is not less than showing advertisement duration.
4. a kind of method of advertisement according to claim 3, which is characterized in that after S6, when having occurred to visitor When the internal links operation of the page of family expectation access, it will not repeat to show advertisement.
5. a kind of method of advertisement according to claim 3, which is characterized in that after S6, when having occurred to visitor When returning again to the page of client's expectation access after the internal links operation of the page of family expectation access, the ad content is just Often display.
6. a kind of method of advertisement according to claim 4 or 5, which is characterized in that the purpose link is with HTML In<iframe>label src field indicate.
7. a kind of method of advertisement according to claim 6, which is characterized in that the ad content is advertisements Know.
8. a kind of method of advertisement according to claim 7, which is characterized in that the ad content presentation time reaches It is hidden automatically after to showing advertisement duration, the ad content can be dragged arbitrarily when showing.
9. a kind of method of advertisement according to claim 8, which is characterized in that the corresponding IP data of protocol package in S3 The data volume size of packet is not more than the MTU of Ethernet, and for generating protocol package, the IP data packet describes the IP data packet The actual content of the protocol package transmitting.
10. a kind of method of advertisement according to claim 8 or claim 9, which is characterized in that the client is that movement is set It is standby.
CN201510654804.8A 2015-10-10 2015-10-10 A kind of method of advertisement Active CN105512904B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510654804.8A CN105512904B (en) 2015-10-10 2015-10-10 A kind of method of advertisement

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510654804.8A CN105512904B (en) 2015-10-10 2015-10-10 A kind of method of advertisement

Publications (2)

Publication Number Publication Date
CN105512904A CN105512904A (en) 2016-04-20
CN105512904B true CN105512904B (en) 2019-11-22

Family

ID=55720864

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510654804.8A Active CN105512904B (en) 2015-10-10 2015-10-10 A kind of method of advertisement

Country Status (1)

Country Link
CN (1) CN105512904B (en)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106302100A (en) * 2015-06-12 2017-01-04 中兴通讯股份有限公司 Information push method and device
CN105930512A (en) * 2016-05-12 2016-09-07 北京盛世光明软件股份有限公司 Advertisement insertion method, apparatus and system, server and client
CN106470245A (en) * 2016-10-24 2017-03-01 杭州迪普科技股份有限公司 Page push method and device
CN107274222B (en) * 2017-06-12 2020-08-28 迈普通信技术股份有限公司 Advertisement putting method and device
CN108040099B (en) * 2017-12-05 2021-02-26 北京安博通科技股份有限公司 Advertisement page pushing method, device, equipment, client and system
CN110109719A (en) * 2019-03-26 2019-08-09 努比亚技术有限公司 A kind of recommendation display control method, terminal and computer readable storage medium
CN111488096B (en) * 2020-04-02 2022-04-15 上海连尚网络科技有限公司 Method and equipment for displaying interactive presentation information in reading application

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101320369A (en) * 2007-06-06 2008-12-10 新部广告公司 Method and system for inserting targeted data in available spaces of a webpage
CN101539934A (en) * 2009-03-30 2009-09-23 北京跳网无限科技发展有限公司 Method for inserting advertisements in WAP web page
CN102510410A (en) * 2011-12-26 2012-06-20 北京亿赞普网络技术有限公司 On-line advertisement delivering method and system as well as advertisement control equipment
CN104699789A (en) * 2015-03-16 2015-06-10 北京盛世光明软件股份有限公司 Method and system for embedding webpage

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101320369A (en) * 2007-06-06 2008-12-10 新部广告公司 Method and system for inserting targeted data in available spaces of a webpage
CN101539934A (en) * 2009-03-30 2009-09-23 北京跳网无限科技发展有限公司 Method for inserting advertisements in WAP web page
CN102510410A (en) * 2011-12-26 2012-06-20 北京亿赞普网络技术有限公司 On-line advertisement delivering method and system as well as advertisement control equipment
CN104699789A (en) * 2015-03-16 2015-06-10 北京盛世光明软件股份有限公司 Method and system for embedding webpage

Also Published As

Publication number Publication date
CN105512904A (en) 2016-04-20

Similar Documents

Publication Publication Date Title
CN105512904B (en) A kind of method of advertisement
US10387521B2 (en) Creation and delivery of pre-rendered web pages for accelerated browsing
CN105072172B (en) A kind of focus statistics and method for pushing and system based on content distributing network
CN103392179B (en) Obtain method and device, browser and the mobile terminal of page resource
CN104798071B (en) Improve web site performance using Edge Server in mist computing architecture
EP1886470B1 (en) Method and system for object prediction
CN103259683B (en) Based on the Web network management system L2 cache method for pushing of HTML5
CN100562873C (en) Obtain the system and method for web page element in the webpage
CN103366019B (en) A kind of webpage hold-up interception method based on iOS device and equipment
CN102571997A (en) Method, system and device for data access
US20100088612A1 (en) Method and System for Displaying Web Page
CN104077310B (en) Load the method, apparatus and system of resource file
US9143378B2 (en) Rendering components within different browser environments
CN106534243A (en) Caching, requesting and responding method based on HTTP protocol and corresponding device
CN101178717A (en) Method for adaptation processing web page and web page adaptation device
CN102638580A (en) Webpage information processing method and webpage information processing device
CN106657426A (en) Processing method and device for domain name parsing request, and server
CN106776761A (en) A kind of mobile browser renders the method and device of webpage
CN102882974A (en) Method for saving website access resource by website identification version number
WO2012122932A1 (en) Method and system for web page rearrangement
CN106161623A (en) Caching server, renewal server and data-updating method
CN106790334A (en) A kind of page data transmission method and system
CN104615771A (en) Webpage data acquiring method and device
CN107070978A (en) A kind of inter-network acts on behalf of the method, system and proxy server of web map service
US9471552B1 (en) Optimization of scripting for web applications

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information

Address after: 100081 Beijing, Haidian District, Haidian District, Zhongguancun South Avenue, No. 18 Beijing International Building, C 12

Applicant after: Beijing Zhongchuang Xince Science & Technology Co., Ltd.

Address before: 100081 Beijing, Haidian District, Haidian District, Zhongguancun South Avenue, No. 18 Beijing International Building, C 12

Applicant before: Beijing Zhongchuang Xince Information Technology Co., Ltd.

CB02 Change of applicant information
CB03 Change of inventor or designer information

Inventor after: Long An

Inventor after: Yang Si

Inventor after: Guan Songyuan

Inventor before: Long An

Inventor before: Yang Si

CB03 Change of inventor or designer information
GR01 Patent grant
GR01 Patent grant