CN108255843B - Method, device and equipment for loading cookie mapping script - Google Patents
Method, device and equipment for loading cookie mapping script Download PDFInfo
- Publication number
- CN108255843B CN108255843B CN201611239351.3A CN201611239351A CN108255843B CN 108255843 B CN108255843 B CN 108255843B CN 201611239351 A CN201611239351 A CN 201611239351A CN 108255843 B CN108255843 B CN 108255843B
- Authority
- CN
- China
- Prior art keywords
- cookie mapping
- cookie
- client
- script
- mapping script
- 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
Links
- 235000014510 cooky Nutrition 0.000 title claims abstract description 715
- 238000013515 script Methods 0.000 title claims abstract description 642
- 238000013507 mapping Methods 0.000 title claims abstract description 626
- 238000011068 loading method Methods 0.000 title claims abstract description 227
- 238000000034 method Methods 0.000 title claims abstract description 68
- 230000004044 response Effects 0.000 claims description 21
- 238000012790 confirmation Methods 0.000 claims description 2
- 230000008569 process Effects 0.000 abstract description 23
- 230000009286 beneficial effect Effects 0.000 abstract description 2
- 238000010586 diagram Methods 0.000 description 14
- 235000019800 disodium phosphate Nutrition 0.000 description 7
- 238000005516 engineering process Methods 0.000 description 6
- 101100023121 Arabidopsis thaliana MFDX1 gene Proteins 0.000 description 5
- 101150115013 DSP1 gene Proteins 0.000 description 5
- 101150052726 DSP2 gene Proteins 0.000 description 5
- 101150031113 fdxB gene Proteins 0.000 description 5
- 101100023122 Arabidopsis thaliana MFDX2 gene Proteins 0.000 description 4
- 101100388212 Arabidopsis thaliana DSP3 gene Proteins 0.000 description 3
- 101150062184 DSP4 gene Proteins 0.000 description 3
- 230000008901 benefit Effects 0.000 description 3
- 238000004422 calculation algorithm Methods 0.000 description 3
- SDJLVPMBBFRBLL-UHFFFAOYSA-N dsp-4 Chemical compound ClCCN(CC)CC1=CC=CC=C1Br SDJLVPMBBFRBLL-UHFFFAOYSA-N 0.000 description 3
- 238000004458 analytical method Methods 0.000 description 2
- 230000006399 behavior Effects 0.000 description 2
- 238000004590 computer program Methods 0.000 description 2
- 230000009471 action Effects 0.000 description 1
- 230000008859 change Effects 0.000 description 1
- 238000004891 communication Methods 0.000 description 1
- 238000010276 construction Methods 0.000 description 1
- 238000013523 data management Methods 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 230000006870 function Effects 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 238000010899 nucleation Methods 0.000 description 1
- 230000002441 reversible effect Effects 0.000 description 1
- 238000012546 transfer Methods 0.000 description 1
- 238000012384 transportation and delivery Methods 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/90—Details of database functions independent of the retrieved data types
- G06F16/95—Retrieval from the web
- G06F16/957—Browsing optimisation, e.g. caching or content distillation
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q30/00—Commerce
- G06Q30/02—Marketing; Price estimation or determination; Fundraising
- G06Q30/0241—Advertisements
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q30/00—Commerce
- G06Q30/02—Marketing; Price estimation or determination; Fundraising
- G06Q30/0241—Advertisements
- G06Q30/0273—Determination of fees for advertising
- G06Q30/0275—Auctions
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/02—Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]
Landscapes
- Engineering & Computer Science (AREA)
- Business, Economics & Management (AREA)
- Strategic Management (AREA)
- Accounting & Taxation (AREA)
- Development Economics (AREA)
- Theoretical Computer Science (AREA)
- Finance (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Economics (AREA)
- Marketing (AREA)
- Game Theory and Decision Science (AREA)
- General Business, Economics & Management (AREA)
- Entrepreneurship & Innovation (AREA)
- Databases & Information Systems (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Data Mining & Analysis (AREA)
- General Engineering & Computer Science (AREA)
- Information Transfer Between Computers (AREA)
Abstract
The invention discloses a cookie mapping script loading method, and relates to the field of computers. The method comprises the following steps: receiving a cookie mapping script loading request sent by a client; the cookie mapping script loading request is sent after a client opens a webpage of a target website; and returning a cookie mapping script to the client according to the cookie mapping script loading request so that the client loads the cookie mapping script into the webpage. The method solves the technical problems that the existing cookie mapping script is loaded in a complicated and time-consuming manner, so that the speed is slow in the real-time bidding process, and the efficiency and the effectiveness of the real-time bidding are affected. The method has the beneficial effects of improving the loading speed of the cookie mapping script, and further improving the efficiency and effectiveness of the real-time bidding process.
Description
Technical Field
The invention relates to the technical field of computers, in particular to a method, a device and equipment for loading cookie mapping scripts.
Background
RTB (Real Time Bidding, real-time bidding) is a bidding technique that utilizes third-party technology to evaluate and bid on millions of websites for each user's presentation behavior. Unlike mass purchasing placement frequency, real-time bidding avoids invalid audience arrival and makes purchases for meaningful users. The core of the system is a DSP (Demand Site Platform, a demand side platform), and RTB can bring more advertising sales volume for media, realize automation of the sales process and reduce expenditure of various expenses. And with the rapid popularization of smart phones and the gradual maturity of mobile network environments, the mobile DSP market will be further explored, and programmed purchasing will become a major trend in the digital marketing era.
In DSP services, user cookie mapping (cookie mapping) codes need to be deployed on websites, and the cookie mapping codes of each website are not identical. Negotiating with a website and deploying code is a cumbersome and time consuming process, and frequent modification of cookie mapping code if it takes too much time can result in slowness in the real-time bidding process, affecting the efficiency and effectiveness of real-time bidding.
Disclosure of Invention
The present invention has been made in view of the above-mentioned problems, and provides a cookie mapping script loading method, a cookie mapping script loading apparatus and a corresponding cookie mapping script loading device, which overcome or at least partially solve the above-mentioned problems.
According to one aspect of the present invention, there is provided a cookie mapping script loading method, comprising:
receiving a cookie mapping script loading request sent by a client; the cookie mapping script loading request is sent after a client opens a webpage of a target website;
and returning a cookie mapping script to the client according to the cookie mapping script loading request so that the client loads the cookie mapping script into the webpage.
Optionally, returning a cookie mapping script to the client according to the cookie mapping script loading request, so that the client loads the cookie mapping script into the webpage, including:
determining a cookie mapping script which is not loaded by the client in a preset time;
and selecting at least one cookie mapping script from the unloaded cookie mapping scripts, and returning the cookie mapping scripts to the client so that the client loads the cookie mapping scripts into the webpage.
Optionally, the step of selecting at least one cookie mapping script from the unloaded cookie mapping scripts and returning the selected cookie mapping script to the client for the client to load the cookie mapping script into the webpage includes:
and returning the cookie mapping scripts with the highest priority level to the client side according to the preset priority level, so that the client side loads the cookie mapping scripts into the webpage.
Optionally, returning a cookie mapping script to the client according to the cookie mapping script loading request, so that the client loads the cookie mapping script into the webpage, including:
And selecting a cookie mapping script corresponding to the adx requirement to return to the client according to the adx requirement set by the target website, so that the client loads the cookie mapping script into the webpage.
Optionally, if the cookie mapping request includes a user attribute, returning a cookie mapping script to the client according to the cookie mapping script loading request, so that the client loads the cookie mapping script into the web page, including:
and selecting a cookie mapping script matched with the user attribute to return to the client side so that the client side loads the cookie mapping script into the webpage.
Optionally, after the step of returning the cookie mapping script to the client according to the cookie mapping script loading request to load the cookie mapping script into the web page by the client, the method further includes:
receiving a 302 redirection request sent by a client; the 302 redirect request is sent to the client by adx through a 302 redirect request response returned after receiving the original cookie request sent after the client executes the script; the 302 redirect request includes a first cookie identification for the client for the adx;
A second cookie identification local to the client is mapped with the first cookie identification.
According to another aspect of the present invention, there is provided a cookie mapping script loading method, comprising:
after a webpage of a target website is opened, a cookie mapping script loading request is sent to the DSP;
receiving a cookie mapping script returned by the DSP; the cookie mapping script is returned by the DSP according to the cookie mapping script loading request;
and loading the cookie mapping script into the webpage.
Optionally, the returning, by the DSP, of the cookie mapping script according to the cookie mapping script loading request includes:
and after the DSP determines that the cookie mapping scripts which are not loaded by the client in the preset time, selecting at least one cookie mapping script from the unloaded cookie mapping scripts and returning the cookie mapping scripts.
Optionally, after the DSP determines that the client side does not load the cookie mapping scripts within the preset time, selecting at least one cookie mapping script from the unloaded cookie mapping scripts for returning includes:
and after the DSP determines that the cookie mapping scripts which are not loaded by the client in the preset time, returning the cookie mapping scripts with the highest priority level from the unloaded user cookie mapping scripts according to the preset priority.
Optionally, the returning, by the DSP, of the cookie mapping script according to the cookie mapping script loading request includes:
and the DSP selects the cookie mapping script corresponding to the adx requirement to return according to the adx requirement set by the target website.
Optionally, the returning, by the DSP, of the cookie mapping script according to the cookie mapping script loading request includes:
the cookie mapping scripts are returned by the DSP selecting the cookie mapping scripts that match the user attributes.
Optionally, after the step of loading the cookie mapping script into the web page, the method further comprises:
enabling the cookie mapping script and sending an original cookie request to adx;
receiving a 302 redirect request returned by adx; the 302 redirect request includes a first cookie identification for the client for the adx;
the 302 redirect request is sent to a dsp for the dsp to map a second cookie identification local to the client with the first cookie identification.
According to another aspect of the present invention, there is provided a cookie mapping script loading apparatus, comprising:
the script loading request receiving module is used for receiving a cookie mapping script loading request sent by the client; the cookie mapping script loading request is sent after a client opens a webpage of a target website;
And the script returning module is used for returning the cookie mapping script to the client according to the cookie mapping script loading request so that the client loads the cookie mapping script into the webpage.
Optionally, the script returning module includes:
an unloaded script confirmation sub-module, configured to determine a cookie mapping script unloaded by the client in a preset time;
and the script returning sub-module is used for selecting at least one cookie mapping script from the unloaded cookie mapping scripts and returning the cookie mapping scripts to the client so that the client loads the cookie mapping scripts into the webpage.
Optionally, the script returning sub-module is further configured to select, from the unloaded user cookie mapping scripts, a cookie mapping script with a highest priority level according to a preset priority level, and return the selected cookie mapping script to the client, so that the client loads the cookie mapping script into the webpage.
Optionally, the script returning module is further configured to select, according to a adx requirement set by the target website, a cookie mapping script corresponding to the adx requirement to return to the client, so that the client loads the cookie mapping script into the webpage.
Optionally, if the cookie mapping request includes a user attribute, the script returning module is further configured to select a cookie mapping script matched with the user attribute to return to the client, so that the client loads the cookie mapping script into the webpage.
Optionally, after the script returning module, the method further includes:
a 302 redirect request receiving module, configured to receive a 302 redirect request sent by a client; the 302 redirect request is sent to the client by adx through a 302 redirect request response returned after receiving the original cookie request sent after the client executes the script; the 302 redirect request includes a first cookie identification for the client for the adx;
and the cookie identification mapping module is used for mapping a second cookie identification locally aiming at the client with the first cookie identification.
According to another aspect of the present invention, there is provided a cookie mapping script loading apparatus, comprising:
the script loading request sending module is used for sending a cookie mapping script loading request to the DSP after a webpage of a target website is opened;
the script receiving module is used for receiving a cookie mapping script returned by the DSP; the cookie mapping script is returned by the DSP according to the cookie mapping script loading request;
And the script loading module is used for loading the cookie mapping script into the webpage.
Optionally, after the DSP determines that the client side does not load the cookie mapping scripts within the preset time, at least one cookie mapping script is selected from the unloaded cookie mapping scripts to return.
Optionally, after the DSP determines that the client side does not load the cookie mapping scripts within the preset time, the DSP returns the cookie mapping scripts with the highest priority from the unloaded user cookie mapping scripts according to the preset priority.
Optionally, the cookie mapping script is returned by the DSP according to the adx requirement set by the target website, and the cookie mapping script corresponding to the adx requirement is selected.
Optionally, the cookie mapping script is returned by the DSP selecting a cookie mapping script that matches the user attribute.
Optionally, after the script loading module, the method further includes:
an original cookie request sending module, configured to enable the cookie mapping script, and send an original cookie request to adx;
a 302 redirect request receiving module, configured to receive a 302 redirect request returned by adx; the 302 redirect request includes a first cookie identification for the client for the adx;
A 302 redirect request sending module, configured to send the 302 redirect request to a dsp, for the dsp to map a second cookie identification for the client locally with the first cookie identification.
According to another aspect of the present invention, there is provided a cookie mapping script loading apparatus, comprising:
a memory loaded with a plurality of executable instructions;
a processor executing the plurality of executable instructions; the plurality of executable instructions includes a method of performing the steps of:
receiving a cookie mapping script loading request sent by a client; the cookie mapping script loading request is sent after a client opens a webpage of a target website;
and returning a cookie mapping script to the client according to the cookie mapping script loading request so that the client loads the cookie mapping script into the webpage.
According to another aspect of the present invention, there is provided a cookie mapping script loading apparatus, comprising:
a memory loaded with a plurality of executable instructions;
a processor executing the plurality of executable instructions; the plurality of executable instructions includes a method of performing the steps of:
after a webpage of a target website is opened, a cookie mapping script loading request is sent to the DSP;
Receiving a cookie mapping script returned by the DSP; the cookie mapping script is returned by the DSP according to the cookie mapping script loading request;
and loading the cookie mapping script into the webpage.
According to the cookie mapping script loading method, a cookie mapping script loading request sent by a client can be received; the cookie mapping script loading request is sent after a client opens a webpage of a target website; and returning a cookie mapping script to the client according to the cookie mapping script loading request so that the client loads the cookie mapping script into the webpage. Therefore, the technical problems that the existing cookie mapping script is loaded in a complicated and time-consuming manner, so that the speed is slow in the real-time bidding process, and the efficiency and the effectiveness of the real-time bidding are affected are solved. The method has the beneficial effects of improving the loading speed of the cookie mapping script, and further improving the efficiency and effectiveness of the real-time bidding process.
The foregoing description is only an overview of the present invention, and is intended to be implemented in accordance with the teachings of the present invention in order that the same may be more clearly understood and to make the same and other objects, features and advantages of the present invention more readily apparent.
Drawings
Various other advantages and benefits will become apparent to those of ordinary skill in the art upon reading the following detailed description of the preferred embodiments. The drawings are only for purposes of illustrating the preferred embodiments and are not to be construed as limiting the invention. Also, like reference numerals are used to designate like parts throughout the figures. In the drawings:
FIG. 1 illustrates a flowchart of the steps of a cookie mapping script loading method in accordance with one embodiment of the invention;
FIG. 1A shows a schematic diagram of an RTB process according to one embodiment of the present invention;
FIG. 2 illustrates a flowchart of the steps of a cookie mapping script loading method in accordance with one embodiment of the invention;
FIG. 3 illustrates a flowchart of the steps of a cookie mapping script loading method in accordance with one embodiment of the invention;
FIG. 4 illustrates a flowchart of the steps of a cookie mapping script loading method in accordance with one embodiment of the invention;
FIG. 5 shows a schematic diagram of a cookie mapping script loading apparatus in accordance with one embodiment of the invention;
FIG. 6 shows a schematic diagram of a cookie mapping script loading apparatus in accordance with one embodiment of the invention;
FIG. 7 is a schematic diagram of a cookie mapping script loading apparatus according to one embodiment of the invention;
FIG. 8 is a schematic diagram of a cookie mapping script loading apparatus according to one embodiment of the invention;
FIG. 9 is a schematic diagram of a cookie mapping script loading device in accordance with one embodiment of the invention; and
FIG. 10 illustrates a structural diagram of a cookie mapping script loading device in accordance with one embodiment of the invention.
Detailed Description
Exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. While exemplary embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure may be embodied in various forms and should not be limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the disclosure to those skilled in the art.
Example 1
The embodiment of the invention provides a cookie mapping script loading method.
Referring to FIG. 1, a flowchart illustrating steps of a cookie mapping script loading method in an embodiment of the invention is shown.
Step 110, receiving a cookie mapping script loading request sent by a client; and the cookie mapping script loading request is sent after the client opens the webpage of the target website.
RTB is a bidding technique that utilizes third party technology to evaluate and bid on millions of websites for each user's presentation behavior. As shown in fig. 1A, which is a schematic diagram of an RTB process, the RTB process involves an Ad Exchange (ADX) Platform, a DSP, and a vendor Platform (SSP). The core of the system is a DSP platform, and the DSP platform is like a command part for displaying advertisement bid delivery: the first step is to send a request with user presentation information through its data tracking capability; the second step, the DSP platform calculates the user display value according to the pre-estimation algorithm and returns the bid to the bid response engine; and thirdly, sending an instruction to an advertisement transaction system, loading advertisement codes to all large media, and finally transmitting the advertisement codes to the most accurate user.
Among other things, the DSP platform allows advertisers and advertising agencies to more conveniently access and more efficiently purchase advertising inventory because the platform aggregates inventory of various advertising exchange platforms. With this platform, there is no need to present another cumbersome purchase step-purchase request. SSPs can let publishers also intervene in advertisement transactions, making their inventory ad slots available. With this platform, publishers want their inventory ad slots to be able to get the highest effective display cost per thousand without having to sell at a low price. An open, online advertising marketplace (similar to a stock exchange) that can link publishers and advertisers together. The inventory of ad spots in the trading platform need not be premium inventory, but may be found therein as long as the publisher wants to offer.
The following illustrates the specific procedure of RTB:
step 1, a user accesses a media website, such as website a, using a browser. Website a presents the content of the website, such as news, to the user. At the same time, the media web site may also present advertisements to the user on some ad spots. Although the main job of the media web site is to present high quality content to users, money is also required to be earned through advertising so that the service of providing content can be continued. They can sell advertising inventory using their own sales team. However, RTB is an increasingly important channel for media websites to sell advertising inventory. Here we assume that website a decides to sell the upper right ad slot by RTB.
And 2, transmitting the information to an advertisement trading platform by the website A. The transferred information includes URL (Uniform Resource Locator ), advertisement location, user Cookie ID (Cookie Identity, cookie identification code), and the like.
And 3, organizing one bid by the advertisement trading platform, and sending flow bid responses to a plurality of DSPs. Suppose advertiser 1 is one of the DSPs.
And step 4, when the DSP server corresponding to the advertiser 1 receives the flow bidding response of the advertising trading platform, transmitting the data to a bidding engine.
And step 5, the bidding engine sends the user ID to the user and advertiser information database to see whether the user and the advertiser's requirements are matched.
And 6, the bidding engine receives the information of the user and the advertiser and decides whether to participate in bidding and bidding price.
In step 7, the bid engine generates a bid response and communicates it to the DSP server. The bid response includes bid price and other information such as from which ad server the ad creative was obtained.
And 8, the DSP server corresponding to the advertiser 1 sends a bid response to the advertisement trading platform.
And 9, the advertisement trading platform performs auction after receiving the responses of all the DSP servers or reaching the deadline. For example, the deadline of the ad exchange is 100ms, then it is meant that the time difference between sending the traffic bid response and receiving the DSP bid response by the ad exchange is within the deadline. Suppose advertiser 1 is the winner of the current advertising bid transaction.
Step 10, the advertising exchange notifies the user of the winner of the browser auction. The browser sends an advertisement exposure request to an advertisement server where the advertisement creative resides.
Step 11, the advertisement server sends the advertisement creative to the user's browser.
Step 12, the user sees the advertisement on the website. Then if the user is interested in the advertisement he clicks on the advertisement and enters the advertiser's landing page. The user browses the advertiser's web site and may take further action. For example, if the advertiser is a home electronics sub-commerce company, the user may conduct a purchase on an e-commerce web site.
Firstly, to define the importance of the cookie, the RTB allows the DSP to trade on the Ad Exchange platform, and on the traffic exposure accessing the Ad Exchange, the attribute of each user is analyzed and bid for each PV (page view, page view quantity), so that the traffic with the highest ROI (Return On Investment ) is purchased, so the RTB is core in "people" and in the analysis technology of the crowd.
A unique identifier must exist on the internet as an entity with respect to the netizen, the identifier must rely on cookies, and the generation of the identifier is colloquially known as a "cookie-seeding" technique. For example, accessing 360.Cn, a cookie with userid=abc123 may be issued at 360.Cn, the identity card of the netizen is ABC123, and the sub-domain name of the website, such as hao.360.Cn, may also share the cookie. Hereinafter USERID is mixed with user identification, representing the same concept.
The Ad Network (Advertising Network, online advertising Network) of the large website like 360 is huge, and together with the crowd analysis technology of the large website, a large amount of characteristic data about netizen users can be accumulated, that is, the large website is a DMP (Data Management Platform ) of the large website, the analyzed visitor characteristic data is very important for the DSP to determine whether to purchase traffic, and of course, the DSP can also utilize the technology of the large website or the data of a third party DMP platform to analyze the user flexibly. And it defines that the netizen entity is also by cookie. This identification itself belongs to important data of the respective company and is therefore never exposed to third parties.
In an important link of RTB, in bidding, bid request generally contains a visitor identifier provided by an Ad Exchange platform, and this identifier can be understood as a cookie similar to USERID, but never is an ID inside an Ad Exchange system, and generally uses a non-reversible encryption algorithm to perform a hash and give the hash to a DSP, and the encrypted USERID is called USERID'. The DSP generally needs to decide whether to purchase the exposure for various dimension data in the bid request, including PV information, user feature information, advertisement space information, etc., and the popular "re-marketing" technology today needs to rely on the user identifier, so this USERID ' is needed by the DSP, and the DSP needs to maintain a matching table of the USERID ', that is, a mapping between the USERID ' and the user identifier defined by itself.
However, in the RTB process, the Ad Exchange will transmit the cookie under the Ad Exchange domain to the DSP after hash encryption, and the DSP will look up the database mapped by the cookie according to the hash value, and find out the cookie information of the current user under the DSP domain, so that the DSP can judge the attribute and audience information of the user, and provide decision support for the auction and bidding.
Current websites and browsers etc. can only set their cookies under the corresponding domain, one cookie can be used to identify the user of the corresponding domain. This security mode of the browser restricts access to cookies between different domains, so cookie mapping between Ad Exchange and DSP is only required.
In the cookie mapping script loading method of the embodiment of the invention, a cookie mapping script loading request sent by a client can be received; and the cookie mapping script loading request is sent after the client opens the webpage of the target website. When a user opens a webpage of a target website at a client, for example, a webpage with an advertisement space exists, a flow request is sent to the DSP through the corresponding ADX, and bidding requests fed back by advertisers in the DSP are received. Then, when the user opens the web page of the target website at the client, the cookie mapping script needs to be invoked to perform cookie mapping, and the cookie mapping scripts for different DSPs may not be identical. In the embodiment of the invention, the cookie mapping scripts corresponding to different DSPs can be stored in the corresponding DSPs, and then when a user opens a webpage of a target website at a client, the client can send a cookie mapping script loading request to the DSP. Then the DSP may receive the cookie mapping script loading request sent by the client.
In particular, the client may send a cookie mapping script loading request using any available method or device. For example, the client may send the cookie mapping script loading request in a wireless manner, or may send the cookie mapping script loading request in a wired manner, which is not limited in this embodiment of the invention.
And step 120, returning a cookie mapping script to the client according to the cookie mapping script loading request so that the client loads the cookie mapping script into the webpage.
After receiving the cookie mapping script loading request, the corresponding cookie mapping script can be searched according to the received cookie mapping script loading request, and then the cookie mapping script is returned to the client side sending the cookie mapping script loading request. Specifically, any available mode may be used to return the cookie mapping script to the client, and the mode of returning the cookie mapping script may be the same as or different from the mode of sending the cookie mapping script loading request by the corresponding client, which is not limited to the embodiment of the present invention.
For example, the client sends the cookie mapping script loading request to the DSP wirelessly, the DSP may return the cookie mapping script to the client using the same wireless mode, or the DSP may return the cookie mapping script to the client using a wired mode, etc.
After receiving the cookie mapping script returned by the DSP, the client can load the cookie mapping script into the corresponding web page, and then complete the cookie mapping by using the cookie mapping script.
For example, assuming that the user 1 opens the web page a of the target website a at the client, the client may send a cookie mapping script loading request to DSPs corresponding to the web page a, such as DSP1 and DSP2, the DSP1 may return a cookie mapping script 1 corresponding to the received cookie mapping script loading request to the client, the DSP2 may return a cookie mapping script 2 corresponding to the received cookie mapping script loading request to the client, and the client may load the cookie mapping script 1 and the cookie mapping script 2 into the web page a, thereby respectively implementing the cookie mapping of the user 1 and the DSPs 1 and 2.
Optionally, in an embodiment of the present invention, the step 120 may further include: and selecting a cookie mapping script corresponding to the adx requirement to return to the client according to the adx requirement set by the target website, so that the client loads the cookie mapping script into the webpage.
In practical application, as described above, the target website serving as the provider platform sends the flow request to the DSP through the ADX, where the ADX and the DSP have a certain correspondence. For example, for the target website a, only the traffic information can be issued through ADX1 and ADX2, where ADX1 corresponds to DSP1 and DSP2, and ADX2 corresponds to DSP3 and DSP4, and then the client corresponding to the current target website can only send the traffic request to DSP1 and DSP2 through ADX1, and send the traffic request to DSP3 and DSP4 through ADX 2.
The target web site may set ADX requirements, such as which ADX to establish a connection to send a traffic request, or attribute requirements for ADX, etc., and wherein the attribute requirements for ADX may include DSP requirements for ADX, etc. Therefore, in the embodiment of the invention, according to the adx requirement set by the target website, the cookie mapping script corresponding to the adx requirement can be selected and returned to the client, so that the client can load the cookie mapping script into the webpage.
For example, when the user opens the web page a of the target website a at the client 1 and the ADX requirements set by the target website a are ADX1 and ADX2 described above, the user may select the cookie mapping script from the DSP1 and DSP2 corresponding to ADX1 to return to the client 1, and select the cookie mapping script from the DSP3 and DSP4 corresponding to ADX2 to return to the client 1.
Optionally, in an embodiment of the present invention, if the cookie mapping request includes a user attribute, the step 120 may further include: and selecting a cookie mapping script matched with the user attribute to return to the client side so that the client side loads the cookie mapping script into the webpage.
If the cookie mapping scripts in each corresponding DSP are returned to the client, the data size is larger, so that larger delay is easy to cause, and timeliness is affected. Thus, in an embodiment of the present invention, if the received cookie mapping request includes a user attribute, a cookie mapping script that matches the user attribute may be selected for return to the client for loading by the client into the web page. The user attribute may include user information such as user identifier, user ID (Identity), user gender, user age, user location, user Identity, user occupation, user interest dimension, user history browsing record, and the like, and may be one or more of the above, which is not limited to the embodiment of the present invention. Cookie mapping scripts for different user attributes may also be provided. So that a cookie mapping script matching the user attribute may be selected for return to the client.
For example, assuming that the current user attribute is the user location and the age of the user, the user 1 is Beijing, china, and the age is 18 years, if a cookie mapping script 1 corresponding to China and having a corresponding age range of 10-20 years exists in a DSP end corresponding to the client, the cookie mapping script 1 can be returned to the client; if the cookie mapping script that is completely matched with the user attribute of the user 1 cannot be found, in the embodiment of the invention, the cookie mapping script that is partially matched with the user attribute may be set to be found, for example, if the cookie mapping script that is completely matched with the user attribute of the user 1 does not exist, the cookie mapping script that is matched with the location of the user in the user attribute or the age of the user may be found, and the found cookie mapping script is returned to the client. In addition, in the embodiment of the present invention, if for the above-mentioned user 1, the cookie mapping script that matches the user attribute is not found, and the cookie mapping script 2 that matches the user's location and the cookie mapping script 3 that matches the user's age are found, then the cookie mapping script 2 and the cookie mapping script 3 may be returned to the client at the same time, or the priority of returning the cookie mapping scripts may be set, and only one of the cookie mapping script 2 and the cookie mapping script 3 may be returned, for example, if the priority of setting the user's location is higher than the user's age, the cookie mapping script 2 may be returned to the client, and if the priority of setting the user's age is higher than the user's location, the cookie mapping script 3 may be returned to the client. In the embodiment of the present invention, whether to set to perform partial matching, whether to set the priority of each user attribute, and whether to set the priority of each user attribute may be set before this step or before any step before this step according to the requirements, which is not limited to this embodiment of the present invention.
In the embodiment of the invention, a cookie mapping script loading request sent by a client is received; the cookie mapping script loading request is sent after a client opens a webpage of a target website; and returning a cookie mapping script to the client according to the cookie mapping script loading request so that the client loads the cookie mapping script into the webpage. Therefore, the loading speed of the cookie mapping script is improved, and the efficiency and the effectiveness of the real-time bidding process are improved.
In addition, in the embodiment of the invention, according to the adx requirement set by the target website, a cookie mapping script corresponding to the adx requirement can be selected to be returned to the client so that the client can load the cookie mapping script into the webpage; or selecting the cookie mapping scripts matched with the user attributes to return to the client so that the client can load the cookie mapping scripts into the webpage. Thereby further improving the speed and efficiency of loading the cookie mapping scripts.
Example two
The embodiment of the invention provides a cookie mapping script loading method.
Referring to FIG. 2, a flowchart of the steps of a cookie mapping script loading method in an embodiment of the invention is shown.
Step 210, receiving a cookie mapping script loading request sent by a client; and the cookie mapping script loading request is sent after the client opens the webpage of the target website.
Step 220, determining a cookie mapping script that is not loaded by the client in a preset time.
In practical application, in the embodiment of the invention, if a cookie mapping script is already loaded in a web page and cookie mapping is completed by using the cookie mapping script, the corresponding cookie will not change much in a certain time, so that in the embodiment of the invention, the cookie mapping script already loaded in a preset time can not be reloaded. Then it is necessary to determine the cookie mapping scripts that the client has not loaded within the preset time.
Specifically, when returning the cookie mapping scripts to the client, recording the returning time of each cookie mapping script, then judging whether the returning time of each cookie mapping script to the current time exceeds the preset time, and if not, confirming that the client does not load the cookie mapping script within the preset time; or acquiring the loading time of the client when loading each cookie mapping script, then judging whether the loading time of each cookie mapping script exceeds the preset time or not from the current time, and if not, confirming that the cookie mapping script is not loaded by the client in the preset time; of course, any other available method may be used to determine the cookie mapping script that is not loaded by the client in the preset time, which is not limited by the embodiment of the present invention. The preset time may be set according to the requirement before the step or before any step before the step, which is not limited in this embodiment of the present invention.
And 230, selecting at least one cookie mapping script from the unloaded cookie mapping scripts, and returning the cookie mapping scripts to the client side so that the client side loads the cookie mapping scripts into the webpage.
As described above, after determining that the client is the loaded cookie mapping script within the preset time, at least one cookie mapping script may be selected from the determined unloaded cookie mapping scripts and returned to the client, so that the client loads the cookie mapping script into the web page.
Moreover, specific rules for selecting a cookie mapping script to return to the client from unloaded cookie mapping scripts may be set, for example, selecting a first preset number of cookie mapping scripts from unloaded cookie mapping scripts to return to the client according to a preset priority, or selecting a second preset number of cookie mapping scripts from unloaded cookie mapping scripts to return to the client at random, and so on. The embodiments of the present invention are not limited thereto. The first preset number and the second preset number may be set before the step or before any step before the step according to the requirements, and the first preset number may be the same as the second number or different from the second number, which is not limited in this embodiment of the present invention.
Optionally, in an embodiment of the present invention, the step 230 may further include:
and step 231, selecting the cookie mapping script with the highest priority level from the unloaded user cookie mapping scripts according to the preset priority level, and returning the cookie mapping script to the client so that the client can load the cookie mapping script into the webpage.
In the embodiment of the invention, the cookie mapping script with the highest priority level can be selected from the unloaded user cookie mapping scripts according to the preset priority level and returned to the client so that the client can load the cookie mapping script into the webpage.
Specifically, a preset priority can be set according to the importance of each cookie mapping script, so that the higher the importance, the higher the cookie mapping script priority; or setting a preset priority according to the time length of each cookie mapping script from the last time to the current moment of the client, wherein the higher the cookie mapping script priority is, the longer the time length of the last time is from the current moment of the client; of course, the priority of each cookie mapping script for the client may be determined in any other available manner, and embodiments of the invention are not limited in this regard.
Step 240, receiving a 302 redirect request sent by a client; the 302 redirect request is sent to the client by adx through a 302 redirect request response returned after receiving the original cookie request sent after the client executes the script; the 302 redirect request includes a first cookie identification for the client for the adx.
Step 250, mapping a second cookie identification locally for the client with the first cookie identification.
During cookie mapping, ad Exchange Server generates cookie mapping url (Uniform Resource Locator ) and places url in an img tag in ad JS (JavaScript, scripting language) code that is returned to the browser.
The code in, for example, 360Ad Exchange is as follows:
<img src="http://cm.g.doubleclick.net/pixel360_nid=1234&360_cm"/>
at advertisement presentation, the url issues a request to cookie mapping server (cookie mapping server), i.e. cm.g. doubmleclick.
Cookie mapping server obtains cookie mapping url (assumed to be ad.network.com) and token (token, which is a character string in number or letter form for authentication at the time of communication) set in the system by the DSP through 360_nid, obtains a cookie in the put domain from HTTP (Hyper Text Transfer Protocol ) HEADER, such as 360ID, hashes 360ID and token to obtain 360_gid, and finally returns a 302 redirect request to the following address:
http://ad.network.com/pixel360_gid=dGhpcyBpcyBhbiBleGFtGxl&360_cver=1&extra1=xx&extra2=yy
The DSP system receives the 302 redirect request and records the 360_gid, maintaining its own mapping table.
Finally, the DSP server returns a blank 1×1 pixel picture and sorts the cookie of the DSP server, so that the cookie of the DSP server and the cookie of the DSP server are mapped together.
360_gid is a first cookie identifier in the embodiment of the invention, and 360_nid is a second cookie identifier in the embodiment of the invention. Then, the second cookie identification for the client is mapped with the first cookie identification locally, namely, the cookie mapping of the second cookie identification for the client is completed.
In the embodiment of the invention, a cookie mapping script loading request sent by a client is received; the cookie mapping script loading request is sent after a client opens a webpage of a target website; and returning a cookie mapping script to the client according to the cookie mapping script loading request so that the client loads the cookie mapping script into the webpage. Therefore, the loading speed of the cookie mapping script is improved, and the efficiency and the effectiveness of the real-time bidding process are improved.
In addition, in the embodiment of the invention, the cookie mapping scripts which are not loaded by the client in the preset time can be determined, and then at least one cookie mapping script is selected from the unloaded cookie mapping scripts and returned to the client so that the client can load the cookie mapping scripts into the webpage. And selecting the cookie mapping script with the highest priority from the unloaded user cookie mapping scripts according to the preset priority, and returning the cookie mapping script to the client so that the client loads the cookie mapping script into the webpage. Therefore, the loading speed of the cookie mapping script can be further improved, and the delay influence on RTB is reduced.
In addition, in the embodiment of the invention, after the client loads the cookie mapping script into the webpage, a 302 redirection request sent by the client can be received; the 302 redirect request is sent to the client by adx through a 302 redirect request response returned after receiving the original cookie request sent after the client executes the script; the 302 redirect request includes a first cookie identification for the client for the adx; a second cookie identification local to the client is mapped with the first cookie identification. So that cookie mapping can be completed quickly.
Example III
The embodiment of the invention provides a cookie mapping script loading method.
Referring to FIG. 3, a flowchart illustrating steps of a cookie mapping script loading method in an embodiment of the invention is shown.
Step 310, after opening the web page of the target website, a cookie mapping script loading request is sent to the DSP.
In the embodiment of the invention, a cookie mapping script loading method similar to that of the first embodiment to the second embodiment is introduced from the DSP end. Then, when the user opens the webpage of the target website at the client, a cookie mapping script loading request is sent to the DSP. Specifically, a cookie mapping script loading request may also be sent to each advertiser that cooperates with the DSP, which is not limited to this embodiment of the present invention.
Step 320, receiving a cookie mapping script returned by the DSP; and returning the cookie mapping script by the DSP according to the cookie mapping script loading request.
Optionally, in an embodiment of the present invention, the cookie mapping script is returned by the DSP selecting a cookie mapping script that matches the user attribute.
Optionally, in an embodiment of the present invention, the cookie mapping script is returned by the DSP selecting a cookie mapping script that matches the user attribute.
And 330, loading the cookie mapping script into the webpage.
The present invention is similar to the steps of the first to second embodiments, and will not be repeated here.
In the embodiment of the invention, a cookie mapping script loading request sent by a client is received; the cookie mapping script loading request is sent after a client opens a webpage of a target website; and returning a cookie mapping script to the client according to the cookie mapping script loading request so that the client loads the cookie mapping script into the webpage. Therefore, the loading speed of the cookie mapping script is improved, and the efficiency and the effectiveness of the real-time bidding process are improved.
In addition, in the embodiment of the invention, according to the adx requirement set by the target website, a cookie mapping script corresponding to the adx requirement can be selected to be returned to the client so that the client can load the cookie mapping script into the webpage; or selecting the cookie mapping scripts matched with the user attributes to return to the client so that the client can load the cookie mapping scripts into the webpage. Thereby further improving the speed and efficiency of loading the cookie mapping scripts.
Example IV
The embodiment of the invention provides a cookie mapping script loading method.
Referring to FIG. 4, a flowchart of steps of a cookie mapping script loading method in an embodiment of the invention is shown.
Step 410, after opening the web page of the target website, a cookie mapping script loading request is sent to the DSP.
Step 420, receiving a cookie mapping script returned by the DSP; and after the DSP determines that the cookie mapping scripts which are not loaded by the client in the preset time, selecting at least one cookie mapping script from the unloaded cookie mapping scripts and returning the cookie mapping scripts.
Optionally, in the embodiment of the present invention, after the DSP determines that the cookie mapping script that is not loaded by the client in the preset time, the cookie mapping script with the highest priority is selected from the unloaded user cookie mapping scripts according to the preset priority, and returns.
And step 430, loading the cookie mapping script into the web page.
Step 440, the cookie mapping script is enabled and the original cookie request is sent to adx.
Step 450, receiving a 302 redirect request returned by adx; the 302 redirect request includes a first cookie identification for the client for the adx.
Step 460, sending the 302 redirect request to a dsp for the dsp to map a second cookie identification for the client locally with the first cookie identification.
The present invention is similar to the steps of the first to third embodiments, and will not be repeated here.
In the embodiment of the invention, a cookie mapping script loading request sent by a client is received; the cookie mapping script loading request is sent after a client opens a webpage of a target website; and returning a cookie mapping script to the client according to the cookie mapping script loading request so that the client loads the cookie mapping script into the webpage. Therefore, the loading speed of the cookie mapping script is improved, and the efficiency and the effectiveness of the real-time bidding process are improved.
In addition, in the embodiment of the invention, the cookie mapping scripts which are not loaded by the client in the preset time can be determined, and then at least one cookie mapping script is selected from the unloaded cookie mapping scripts and returned to the client so that the client can load the cookie mapping scripts into the webpage. And selecting the cookie mapping script with the highest priority from the unloaded user cookie mapping scripts according to the preset priority, and returning the cookie mapping script to the client so that the client loads the cookie mapping script into the webpage. Therefore, the loading speed of the cookie mapping script can be further improved, and the delay influence on RTB is reduced.
In addition, in the embodiment of the invention, after the client loads the cookie mapping script into the webpage, a 302 redirection request sent by the client can be received; the 302 redirect request is sent to the client by adx through a 302 redirect request response returned after receiving the original cookie request sent after the client executes the script; the 302 redirect request includes a first cookie identification for the client for the adx; a second cookie identification local to the client is mapped with the first cookie identification. So that cookie mapping can be completed quickly.
For the purposes of simplicity of explanation, the methodologies are shown and described as a series of acts, it is to be understood and appreciated by one of ordinary skill in the art that the methodologies are not limited by the order of acts, as some acts may, in accordance with the methodologies, take place in other order or concurrently. Further, those skilled in the art will appreciate that the embodiments described in the specification are presently preferred embodiments, and that the acts are not necessarily required by the embodiments of the invention.
Example five
Detailed description of the invention the embodiment of the invention provides a cookie mapping script loading device.
Referring to fig. 5, a schematic structural diagram of a cookie mapping script loading apparatus in an embodiment of the invention is shown.
A script loading request receiving module 510, configured to receive a cookie mapping script loading request sent by a client; and the cookie mapping script loading request is sent after the client opens the webpage of the target website.
And the script returning module 520 is configured to return a cookie mapping script to the client according to the cookie mapping script loading request, so that the client loads the cookie mapping script into the webpage.
Optionally, in an embodiment of the present invention, the script returning module 520 is further configured to select, according to a adx requirement set by the target website, a cookie mapping script corresponding to the adx requirement to be returned to the client, so that the client loads the cookie mapping script into the web page.
Optionally, in an embodiment of the present invention, if the cookie mapping request includes a user attribute, the script returning module 520 is further configured to select a cookie mapping script that matches the user attribute to return to the client, so that the client loads the cookie mapping script into the web page.
In the embodiment of the invention, a cookie mapping script loading request sent by a client is received; the cookie mapping script loading request is sent after a client opens a webpage of a target website; and returning a cookie mapping script to the client according to the cookie mapping script loading request so that the client loads the cookie mapping script into the webpage. Therefore, the loading speed of the cookie mapping script is improved, and the efficiency and the effectiveness of the real-time bidding process are improved.
In addition, in the embodiment of the invention, according to the adx requirement set by the target website, a cookie mapping script corresponding to the adx requirement can be selected to be returned to the client so that the client can load the cookie mapping script into the webpage; or selecting the cookie mapping scripts matched with the user attributes to return to the client so that the client can load the cookie mapping scripts into the webpage. Thereby further improving the speed and efficiency of loading the cookie mapping scripts.
Example six
Detailed description of the invention the embodiment of the invention provides a cookie mapping script loading device.
Referring to fig. 6, a schematic structural diagram of a cookie mapping script loading apparatus in an embodiment of the invention is shown.
A script loading request receiving module 610, configured to receive a cookie mapping script loading request sent by a client; and the cookie mapping script loading request is sent after the client opens the webpage of the target website.
And a script returning module 620, configured to return a cookie mapping script to the client according to the cookie mapping script loading request, so that the client loads the cookie mapping script into the webpage.
Optionally, in an embodiment of the present invention, the script returning module 620 may further include:
the unloaded script confirming sub-module 621 is configured to determine a cookie mapping script that is unloaded by the client in a preset time.
A script returning sub-module 622, configured to select at least one cookie mapping script from the unloaded cookie mapping scripts, and return the selected cookie mapping script to the client, so that the client loads the cookie mapping script into the web page.
Optionally, in an embodiment of the present invention, the script returning sub-module 622 is further configured to select, according to a preset priority, a cookie mapping script with a highest priority level from the unloaded user cookie mapping scripts, to return the cookie mapping scripts to the client, so that the client loads the cookie mapping scripts into the web page.
A 302 redirect request receiving module 630, configured to receive a 302 redirect request sent by a client; the 302 redirect request is sent to the client by adx through a 302 redirect request response returned after receiving the original cookie request sent after the client executes the script; the 302 redirect request includes a first cookie identification for the client for the adx;
a cookie identification mapping module 640 for mapping a second cookie identification locally for the client with the first cookie identification.
In the embodiment of the invention, a cookie mapping script loading request sent by a client is received; the cookie mapping script loading request is sent after a client opens a webpage of a target website; and returning a cookie mapping script to the client according to the cookie mapping script loading request so that the client loads the cookie mapping script into the webpage. Therefore, the loading speed of the cookie mapping script is improved, and the efficiency and the effectiveness of the real-time bidding process are improved.
In addition, in the embodiment of the invention, the cookie mapping scripts which are not loaded by the client in the preset time can be determined, and then at least one cookie mapping script is selected from the unloaded cookie mapping scripts and returned to the client so that the client can load the cookie mapping scripts into the webpage. And selecting the cookie mapping script with the highest priority from the unloaded user cookie mapping scripts according to the preset priority, and returning the cookie mapping script to the client so that the client loads the cookie mapping script into the webpage. Therefore, the loading speed of the cookie mapping script can be further improved, and the delay influence on RTB is reduced.
In addition, in the embodiment of the invention, after the client loads the cookie mapping script into the webpage, a 302 redirection request sent by the client can be received; the 302 redirect request is sent to the client by adx through a 302 redirect request response returned after receiving the original cookie request sent after the client executes the script; the 302 redirect request includes a first cookie identification for the client for the adx; a second cookie identification local to the client is mapped with the first cookie identification. So that cookie mapping can be completed quickly.
Example seven
Detailed description of the invention the embodiment of the invention provides a cookie mapping script loading device.
Referring to fig. 7, a schematic structural diagram of a cookie mapping script loading apparatus in an embodiment of the invention is shown.
The script loading request sending module 710 is configured to send a cookie mapping script loading request to the DSP after opening the web page of the target website.
A script receiving module 720, configured to receive a cookie mapping script returned by the DSP; and returning the cookie mapping script by the DSP according to the cookie mapping script loading request.
Optionally, in an embodiment of the present invention, the DSP selects, according to adx requirements set by the target website, a cookie mapping script corresponding to the adx requirements to return.
Optionally, in an embodiment of the present invention, the cookie mapping script is returned by the DSP selecting a cookie mapping script that matches the user attribute.
Script loading module 730, configured to load the cookie mapping script into the web page.
In the embodiment of the invention, a cookie mapping script loading request sent by a client is received; the cookie mapping script loading request is sent after a client opens a webpage of a target website; and returning a cookie mapping script to the client according to the cookie mapping script loading request so that the client loads the cookie mapping script into the webpage. Therefore, the loading speed of the cookie mapping script is improved, and the efficiency and the effectiveness of the real-time bidding process are improved.
In addition, in the embodiment of the invention, according to the adx requirement set by the target website, a cookie mapping script corresponding to the adx requirement can be selected to be returned to the client so that the client can load the cookie mapping script into the webpage; or selecting the cookie mapping scripts matched with the user attributes to return to the client so that the client can load the cookie mapping scripts into the webpage. Thereby further improving the speed and efficiency of loading the cookie mapping scripts.
Example eight
Detailed description of the invention the embodiment of the invention provides a cookie mapping script loading device.
Referring to fig. 8, a schematic structural diagram of a cookie mapping script loading apparatus in an embodiment of the invention is shown.
The script loading request sending module 810 is configured to send a cookie mapping script loading request to the DSP after opening the web page of the target website.
A script receiving module 820, configured to receive a cookie mapping script returned by the DSP; and returning the cookie mapping script by the DSP according to the cookie mapping script loading request.
Optionally, in the embodiment of the present invention, after the DSP determines that the client side does not load the cookie mapping scripts within a preset time, at least one cookie mapping script is selected from the unloaded cookie mapping scripts to return.
Optionally, in the embodiment of the present invention, after the DSP determines that the cookie mapping script that is not loaded by the client in the preset time, the cookie mapping script with the highest priority is selected from the unloaded user cookie mapping scripts according to the preset priority, and returns.
Script loading module 830 is configured to load the cookie mapping script into the web page.
The original cookie request sending module 840 is configured to enable the cookie mapping script and send an original cookie request to adx.
A 302 redirect request receiving module 850 configured to receive a 302 redirect request returned by adx; the 302 redirect request includes a first cookie identification for the client for the adx.
A 302 redirect request sending module 860 configured to send the 302 redirect request to a dsp for the dsp to map a second cookie identification for the client locally with the first cookie identification.
In the embodiment of the invention, a cookie mapping script loading request sent by a client is received; the cookie mapping script loading request is sent after a client opens a webpage of a target website; and returning a cookie mapping script to the client according to the cookie mapping script loading request so that the client loads the cookie mapping script into the webpage. Therefore, the loading speed of the cookie mapping script is improved, and the efficiency and the effectiveness of the real-time bidding process are improved.
In addition, in the embodiment of the invention, the cookie mapping scripts which are not loaded by the client in the preset time can be determined, and then at least one cookie mapping script is selected from the unloaded cookie mapping scripts and returned to the client so that the client can load the cookie mapping scripts into the webpage. And selecting the cookie mapping script with the highest priority from the unloaded user cookie mapping scripts according to the preset priority, and returning the cookie mapping script to the client so that the client loads the cookie mapping script into the webpage. Therefore, the loading speed of the cookie mapping script can be further improved, and the delay influence on RTB is reduced.
In addition, in the embodiment of the invention, after the client loads the cookie mapping script into the webpage, a 302 redirection request sent by the client can be received; the 302 redirect request is sent to the client by adx through a 302 redirect request response returned after receiving the original cookie request sent after the client executes the script; the 302 redirect request includes a first cookie identification for the client for the adx; a second cookie identification local to the client is mapped with the first cookie identification. So that cookie mapping can be completed quickly.
Example nine
Detailed description of the invention the embodiment of the invention provides a cookie mapping script loading device.
Referring to FIG. 9, a schematic diagram of a cookie mapping script loading device 900 in an embodiment of the invention is shown.
Memory 910 is loaded with a plurality of executable instructions.
A processor 920 executing the plurality of executable instructions; the plurality of executable instructions includes a method of performing the steps of:
receiving a cookie mapping script loading request sent by a client; the cookie mapping script loading request is sent after a client opens a webpage of a target website;
And returning a cookie mapping script to the client according to the cookie mapping script loading request so that the client loads the cookie mapping script into the webpage.
In the embodiment of the invention, a cookie mapping script loading request sent by a client is received; the cookie mapping script loading request is sent after a client opens a webpage of a target website; and returning a cookie mapping script to the client according to the cookie mapping script loading request so that the client loads the cookie mapping script into the webpage. Therefore, the loading speed of the cookie mapping script is improved, and the efficiency and the effectiveness of the real-time bidding process are improved.
In addition, in the embodiment of the invention, according to the adx requirement set by the target website, a cookie mapping script corresponding to the adx requirement can be selected to be returned to the client so that the client can load the cookie mapping script into the webpage; or selecting the cookie mapping scripts matched with the user attributes to return to the client so that the client can load the cookie mapping scripts into the webpage. Thereby further improving the speed and efficiency of loading the cookie mapping scripts.
Examples ten
Detailed description of the invention the embodiment of the invention provides a cookie mapping script loading device.
Referring to FIG. 10, a schematic diagram of a cookie mapping script loading device 1000 in accordance with an embodiment of the invention is shown.
Memory 1010, loaded with a plurality of executable instructions.
A processor 1020 executing the plurality of executable instructions; the plurality of executable instructions includes a method of performing the steps of:
after a webpage of a target website is opened, a cookie mapping script loading request is sent to the DSP;
receiving a cookie mapping script returned by the DSP; the cookie mapping script is returned by the DSP according to the cookie mapping script loading request;
and loading the cookie mapping script into the webpage.
In the embodiment of the invention, a cookie mapping script loading request sent by a client is received; the cookie mapping script loading request is sent after a client opens a webpage of a target website; and returning a cookie mapping script to the client according to the cookie mapping script loading request so that the client loads the cookie mapping script into the webpage. Therefore, the loading speed of the cookie mapping script is improved, and the efficiency and the effectiveness of the real-time bidding process are improved.
In addition, in the embodiment of the invention, the cookie mapping scripts which are not loaded by the client in the preset time can be determined, and then at least one cookie mapping script is selected from the unloaded cookie mapping scripts and returned to the client so that the client can load the cookie mapping scripts into the webpage. And selecting the cookie mapping script with the highest priority from the unloaded user cookie mapping scripts according to the preset priority, and returning the cookie mapping script to the client so that the client loads the cookie mapping script into the webpage. Therefore, the loading speed of the cookie mapping script can be further improved, and the delay influence on RTB is reduced.
In addition, in the embodiment of the invention, after the client loads the cookie mapping script into the webpage, a 302 redirection request sent by the client can be received; the 302 redirect request is sent to the client by adx through a 302 redirect request response returned after receiving the original cookie request sent after the client executes the script; the 302 redirect request includes a first cookie identification for the client for the adx; a second cookie identification local to the client is mapped with the first cookie identification. So that cookie mapping can be completed quickly.
For the device embodiments, since they are substantially similar to the method embodiments, the description is relatively simple, and reference is made to the description of the method embodiments for relevant points.
The algorithms and displays presented herein are not inherently related to any particular computer, virtual system, or other apparatus. Various general-purpose systems may also be used with the teachings herein. The required structure for a construction of such a system is apparent from the description above. In addition, the present invention is not directed to any particular programming language. It will be appreciated that the teachings of the present invention described herein may be implemented in a variety of programming languages, and the above description of specific languages is provided for disclosure of enablement and best mode of the present invention.
In the description provided herein, numerous specific details are set forth. However, it is understood that embodiments of the invention may be practiced without these specific details. In some instances, well-known methods, structures and techniques have not been shown in detail in order not to obscure an understanding of this description.
Similarly, it should be appreciated that in the foregoing description of exemplary embodiments of the invention, various features of the invention are sometimes grouped together in a single embodiment, figure, or description thereof for the purpose of streamlining the disclosure and aiding in the understanding of one or more of the various inventive aspects. However, the disclosed method should not be construed as reflecting the intention that: i.e., the claimed invention requires more features than are expressly recited in each claim. Rather, as the following claims reflect, inventive aspects lie in less than all features of a single foregoing disclosed embodiment. Thus, the claims following the detailed description are hereby expressly incorporated into this detailed description, with each claim standing on its own as a separate embodiment of this invention.
Those skilled in the art will appreciate that the modules in the apparatus of the embodiments may be adaptively changed and disposed in one or more apparatuses different from the embodiments. The modules or units or components of the embodiments may be combined into one module or unit or component and, furthermore, they may be divided into a plurality of sub-modules or sub-units or sub-components. Any combination of all features disclosed in this specification (including any accompanying claims, abstract and drawings), and all of the processes or units of any method or apparatus so disclosed, may be used in combination, except insofar as at least some of such features and/or processes or units are mutually exclusive. Each feature disclosed in this specification (including any accompanying claims, abstract and drawings), may be replaced by alternative features serving the same, equivalent or similar purpose, unless expressly stated otherwise.
Furthermore, those skilled in the art will appreciate that while some embodiments described herein include some features but not others included in other embodiments, combinations of features of different embodiments are meant to be within the scope of the invention and form different embodiments. For example, in the following claims, any of the claimed embodiments can be used in any combination.
Various component embodiments of the invention may be implemented in hardware, or in software modules running on one or more processors, or in a combination thereof. Those skilled in the art will appreciate that a microprocessor or Digital Signal Processor (DSP) may be used in practice to implement embodiments in accordance with the present inventioncookie mapping script loading deviceSome or all of the functions of some or all of the components in (c). The present invention can also be implemented as an apparatus or device program (e.g., a computer program and a computer program product) for performing a portion or all of the methods described herein. Such a program embodying the present invention may be stored on a computer readable medium, or may have the form of one or more signals. Such signals may be downloaded from an internet website, provided on a carrier signal, or provided in any other form.
It should be noted that the above-mentioned embodiments illustrate rather than limit the invention, and that those skilled in the art will be able to design alternative embodiments without departing from the scope of the appended claims. In the claims, any reference signs placed between parentheses shall not be construed as limiting the claim. The word "comprising" does not exclude the presence of elements or steps not listed in a claim. The word "a" or "an" preceding an element does not exclude the presence of a plurality of such elements. The invention may be implemented by means of hardware comprising several distinct elements, and by means of a suitably programmed computer. In the unit claims enumerating several means, several of these means may be embodied by one and the same item of hardware. The use of the words first, second, third, etc. do not denote any order. These words may be interpreted as names.
Claims (26)
1. A method of cookie mapping script loading, the method acting on a DSP, comprising:
receiving a cookie mapping script loading request sent by a client; the cookie mapping script loading request is sent after a client opens a webpage of a target website;
and returning a cookie mapping script to the client according to the cookie mapping script loading request so that the client loads the cookie mapping script into the webpage.
2. The method of claim 1, wherein returning a cookie mapping script to the client for loading by the client the cookie mapping script into the web page in accordance with the cookie mapping script loading request, comprises:
determining a cookie mapping script which is not loaded by the client in a preset time;
and selecting at least one cookie mapping script from the unloaded cookie mapping scripts, and returning the cookie mapping scripts to the client so that the client loads the cookie mapping scripts into the webpage.
3. The method of claim 2, wherein selecting at least one cookie mapping script from the unloaded cookie mapping scripts for return to the client for the client to load the cookie mapping script into the web page comprises:
And returning the cookie mapping scripts with the highest priority level to the client side according to the preset priority level, so that the client side loads the cookie mapping scripts into the webpage.
4. The method of claim 1, wherein returning a cookie mapping script to the client for loading by the client the cookie mapping script into the web page in accordance with the cookie mapping script loading request, comprises:
and selecting a cookie mapping script corresponding to the adx requirement to return to the client according to the adx requirement set by the target website, so that the client loads the cookie mapping script into the webpage.
5. The method of claim 1, wherein the cookie mapping request includes user attributes, and the step of returning a cookie mapping script to the client for the client to load the cookie mapping script into the web page in accordance with the cookie mapping script loading request, comprises:
and selecting a cookie mapping script matched with the user attribute to return to the client side so that the client side loads the cookie mapping script into the webpage.
6. The method of claim 1, wherein the step of returning a cookie mapping script to the client for the client to load the cookie mapping script into the web page in accordance with the cookie mapping script loading request, further comprises:
receiving a 302 redirection request sent by a client; the 302 redirect request is sent to the client by adx through a 302 redirect request response returned after receiving the original cookie request sent after the client executes the script; the 302 redirect request includes a first cookie identification for the client for the adx;
a second cookie identification local to the client is mapped with the first cookie identification.
7. A cookie mapping script loading method, comprising:
after a webpage of a target website is opened, a cookie mapping script loading request is sent to the DSP;
receiving a cookie mapping script returned by the DSP; the cookie mapping script is returned by the DSP according to the cookie mapping script loading request;
and loading the cookie mapping script into the webpage.
8. The method of claim 7, wherein the cookie mapping scripts being returned by the DSP in accordance with the cookie mapping script loading request comprises:
And after the DSP determines that the client side does not load the cookie mapping scripts within the preset time, selecting at least one cookie mapping script from the unloaded cookie mapping scripts and returning the cookie mapping scripts.
9. The method of claim 8, wherein after the cookie mapping scripts are determined by the DSP that the client has not loaded cookie mapping scripts within a preset time, selecting at least one cookie mapping script return from the unloaded cookie mapping scripts comprises:
and after the DSP determines that the cookie mapping scripts which are not loaded by the client in the preset time, returning the cookie mapping scripts with the highest priority level from the unloaded user cookie mapping scripts according to the preset priority.
10. The method of claim 7, wherein the cookie mapping scripts being returned by the DSP in accordance with the cookie mapping script loading request comprises:
and the DSP selects the cookie mapping script corresponding to the adx requirement to return according to the adx requirement set by the target website.
11. The method of claim 7, wherein the cookie mapping scripts being returned by the DSP in accordance with the cookie mapping script loading request comprises:
The cookie mapping scripts are returned by the DSP selecting the cookie mapping scripts that match the user attributes.
12. The method of claim 7, further comprising, after the step of loading the cookie mapping script into the web page:
enabling the cookie mapping script and sending an original cookie request to adx;
receiving a 302 redirect request returned by adx; the 302 redirect request includes a first cookie identification for the client of the adx;
the 302 redirect request is sent to a dsp for the dsp to map a second cookie identification local to the client with the first cookie identification.
13. A cookie mapping script loading apparatus, the apparatus acting on a DSP, comprising:
the script loading request receiving module is used for receiving a cookie mapping script loading request sent by the client; the cookie mapping script loading request is sent after a client opens a webpage of a target website;
and the script returning module is used for returning the cookie mapping script to the client according to the cookie mapping script loading request so that the client loads the cookie mapping script into the webpage.
14. The apparatus of claim 13, wherein the script return module comprises:
An unloaded script confirmation sub-module, configured to determine a cookie mapping script unloaded by the client in a preset time;
and the script returning sub-module is used for selecting at least one cookie mapping script from the unloaded cookie mapping scripts and returning the cookie mapping scripts to the client so that the client loads the cookie mapping scripts into the webpage.
15. The apparatus of claim 14, wherein the script return sub-module is further configured to select a highest priority cookie mapping script from the unloaded user cookie mapping scripts according to a preset priority, and return the selected highest priority cookie mapping script to the client for the client to load the cookie mapping script into the web page.
16. The apparatus of claim 13, wherein the script return module is further configured to select a cookie mapping script corresponding to the adx requirement to return to the client for the client to load the cookie mapping script into the web page according to adx requirements set by a target web site.
17. The apparatus of claim 13, wherein the cookie mapping request includes a user attribute, the script return module is further configured to select a cookie mapping script that matches the user attribute to return to the client for the client to load the cookie mapping script into the web page.
18. The apparatus of claim 13, further comprising, after the script return module:
a 302 redirect request receiving module, configured to receive a 302 redirect request sent by a client; the 302 redirect request is sent to the client by adx through a 302 redirect request response returned after receiving the original cookie request sent after the client executes the script; the 302 redirect request includes a first cookie identification for the client for the adx;
and the cookie identification mapping module is used for mapping a second cookie identification locally aiming at the client with the first cookie identification.
19. A cookie mapping script loading apparatus, comprising:
the script loading request sending module is used for sending a cookie mapping script loading request to the DSP after a webpage of a target website is opened;
the script receiving module is used for receiving a cookie mapping script returned by the DSP; the cookie mapping script is returned by the DSP according to the cookie mapping script loading request;
and the script loading module is used for loading the cookie mapping script into the webpage.
20. The apparatus of claim 19, wherein the cookie mapping scripts are returned by the DSP after determining that a client has not loaded cookie mapping scripts within a preset time, selecting at least one cookie mapping script from the unloaded cookie mapping scripts.
21. The apparatus of claim 20, wherein the cookie mapping scripts are returned by the DSP after determining that the client has not loaded cookie mapping scripts within a predetermined time by selecting a highest priority cookie mapping script from the unloaded user cookie mapping scripts according to a predetermined priority.
22. The apparatus of claim 19, wherein the cookie mapping scripts are returned by the DSP in response to adx requirements set by the target website, selecting a cookie mapping script corresponding to the adx requirements.
23. The apparatus of claim 19, wherein the cookie mapping script is returned by the DSP selecting a cookie mapping script that matches the user attribute.
24. The apparatus of claim 19, further comprising, after the script loading module:
an original cookie request sending module, configured to enable the cookie mapping script, and send an original cookie request to adx;
a 302 redirect request receiving module, configured to receive a 302 redirect request returned by adx; the 302 redirect request includes a first cookie identification for the client of the adx;
a 302 redirect request sending module, configured to send the 302 redirect request to a dsp, for the dsp to map a second cookie identification for the client locally with the first cookie identification.
25. A cookie mapping script loading device, comprising:
a memory loaded with a plurality of executable instructions;
a processor executing the plurality of executable instructions; the plurality of executable instructions includes a method of performing the steps of:
receiving a cookie mapping script loading request sent by a client; the cookie mapping script loading request is sent after a client opens a webpage of a target website;
and returning a cookie mapping script to the client according to the cookie mapping script loading request so that the client loads the cookie mapping script into the webpage.
26. A cookie mapping script loading device, comprising:
a memory loaded with a plurality of executable instructions;
a processor executing the plurality of executable instructions; the plurality of executable instructions includes a method of performing the steps of:
after a webpage of a target website is opened, a cookie mapping script loading request is sent to the DSP;
receiving a cookie mapping script returned by the DSP; the cookie mapping script is returned by the DSP according to the cookie mapping script loading request;
and loading the cookie mapping script into the webpage.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201611239351.3A CN108255843B (en) | 2016-12-28 | 2016-12-28 | Method, device and equipment for loading cookie mapping script |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201611239351.3A CN108255843B (en) | 2016-12-28 | 2016-12-28 | Method, device and equipment for loading cookie mapping script |
Publications (2)
Publication Number | Publication Date |
---|---|
CN108255843A CN108255843A (en) | 2018-07-06 |
CN108255843B true CN108255843B (en) | 2024-01-30 |
Family
ID=62720361
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201611239351.3A Active CN108255843B (en) | 2016-12-28 | 2016-12-28 | Method, device and equipment for loading cookie mapping script |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108255843B (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109598549B (en) * | 2018-08-03 | 2021-02-26 | 武汉稀云科技有限公司 | Internet advertisement putting method and device |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102769625A (en) * | 2012-07-25 | 2012-11-07 | 亿赞普(北京)科技有限公司 | Client-side Cookie information acquisition method and device |
CN103152445A (en) * | 2013-04-03 | 2013-06-12 | 晶赞广告(上海)有限公司 | Asynchronous cross-domain identify mark mapping method for internet security |
CN103166976A (en) * | 2013-04-03 | 2013-06-19 | 晶赞广告(上海)有限公司 | Synchronization cross-domain identify label mapping method of internet security |
CN105279678A (en) * | 2015-11-11 | 2016-01-27 | 广东亿迅科技有限公司 | Advertisement putting method in real-time bidding system |
-
2016
- 2016-12-28 CN CN201611239351.3A patent/CN108255843B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102769625A (en) * | 2012-07-25 | 2012-11-07 | 亿赞普(北京)科技有限公司 | Client-side Cookie information acquisition method and device |
CN103152445A (en) * | 2013-04-03 | 2013-06-12 | 晶赞广告(上海)有限公司 | Asynchronous cross-domain identify mark mapping method for internet security |
CN103166976A (en) * | 2013-04-03 | 2013-06-19 | 晶赞广告(上海)有限公司 | Synchronization cross-domain identify label mapping method of internet security |
CN105279678A (en) * | 2015-11-11 | 2016-01-27 | 广东亿迅科技有限公司 | Advertisement putting method in real-time bidding system |
Non-Patent Citations (1)
Title |
---|
RTB竞价中的cookie mapping技术;bitcarmanlee;《https://blog.csdn.net/bitcarmanlee/article/details/52269808》;20160821;正文第1-2页 * |
Also Published As
Publication number | Publication date |
---|---|
CN108255843A (en) | 2018-07-06 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11810184B2 (en) | Matching content providers and interested content users | |
JP6002279B2 (en) | Advertisement customization method and system | |
US9159073B2 (en) | System and method for advertisement management | |
US8473338B2 (en) | Methods and systems to facilitate keyword bid arbitrage with multiple advertisement placement providers | |
WO2018133863A1 (en) | Advertisement exposure frequency control method and advertisement exchange platform | |
KR101312144B1 (en) | Point of presence distribution mechanism for digital content objects | |
TWI416423B (en) | Integration of open advertisements with e-commerce activities | |
US10248971B2 (en) | Methods, systems, and devices for dynamically generating a personalized advertisement on a website for manufacturing customizable products | |
US10311124B1 (en) | Dynamic redirection of requests for content | |
US20210312504A1 (en) | Systems and methods for online advertising using user preferences | |
US9881318B1 (en) | Attributing web-based user actions to multivariate test parameters associated with publisher content | |
CN112784184A (en) | ADX-based advertisement landing page dynamic generation method, computer equipment and storage medium | |
US12045852B2 (en) | Systems and methods for online traffic filtration by electronic content providers | |
US20220270139A1 (en) | System Architecture and Methods for Online Real-Time Auctions of Advertising Inventory | |
CN108256889B (en) | Advertisement data real-time preview method, device and system | |
CN108255843B (en) | Method, device and equipment for loading cookie mapping script | |
KR102517905B1 (en) | Artificial intelligence-based ad exchange platform process processing method, device and system for improving traffic processing speed performance | |
CN108022115B (en) | Information processing method, device and equipment | |
EP2232425A2 (en) | Scalable audit-based protocol for pay-per-action ads | |
CN108256883B (en) | Flow request distribution method, device and equipment | |
US20220067778A1 (en) | System of determining advertising incremental lift | |
US8818857B1 (en) | Advertising uniquely identifiable objects along with third party search results | |
KR20150107496A (en) | System and method for user pairing between applications, terminal performing the same and server performing the same | |
WO2019207645A1 (en) | Computer program |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
TA01 | Transfer of patent application right |
Effective date of registration: 20240104 Address after: Room 03, 2nd Floor, Building A, No. 20 Haitai Avenue, Huayuan Industrial Zone (Huanwai), Binhai New Area, Tianjin, 300450 Applicant after: 3600 Technology Group Co.,Ltd. Address before: Room 112, block D, No. 28, Xinjiekou outer street, Xicheng District, Beijing 100088 (Desheng Park) Applicant before: BEIJING QIHOO TECHNOLOGY Co.,Ltd. |
|
TA01 | Transfer of patent application right | ||
GR01 | Patent grant | ||
GR01 | Patent grant |