CN105450698B - A kind of exposure Log Collect System and method - Google Patents

A kind of exposure Log Collect System and method Download PDF

Info

Publication number
CN105450698B
CN105450698B CN201410422891.XA CN201410422891A CN105450698B CN 105450698 B CN105450698 B CN 105450698B CN 201410422891 A CN201410422891 A CN 201410422891A CN 105450698 B CN105450698 B CN 105450698B
Authority
CN
China
Prior art keywords
exposure
sampling instrument
log
data sampling
acquisition
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201410422891.XA
Other languages
Chinese (zh)
Other versions
CN105450698A (en
Inventor
占河
张侦
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Suningcom Group Co Ltd
Original Assignee
Suningcom Group Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Suningcom Group Co Ltd filed Critical Suningcom Group Co Ltd
Priority to CN201410422891.XA priority Critical patent/CN105450698B/en
Publication of CN105450698A publication Critical patent/CN105450698A/en
Application granted granted Critical
Publication of CN105450698B publication Critical patent/CN105450698B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Information Transfer Between Computers (AREA)

Abstract

The present invention relates to a kind of exposure Log Collect Systems, the system comprises webpage front-end server, web page browsing client and exposure datas to collect server, it is characterized in that, the webpage front-end server is provided comprising the webpage with the exposure element uniquely indicated;The web page browsing client downloads exposure data sampling instrument, exposure data acquisition is carried out after exposing element and loading successfully, extracting exposure element from webpage and collecting server to exposure data and send includes unique mark of the exposure element and the exposure data of relevant information;The exposure data collects server and receives above-mentioned exposure data, and the write-in exposure log after handling the data.

Description

A kind of exposure Log Collect System and method
Technical field
The present invention relates to a kind of Webpage log acquisition system and methods, relate more specifically to a kind of Page Impression log Acquisition system and method.
Background technique
The exposure log of commodity is the important operation data of e-commerce website, it is commercial product recommending effect assessment, conversion The essential basic data of the work such as rate analysis.
In the prior art, have many data acquisition plans for being directed to commodity price, such as application No. is 200410062211.4, the China of entitled " using web crawler program in the method for carrying out price collection on the net " is specially Benefit application disclose it is a kind of using web crawler on the net carry out price collection method;Application No. is 201220055227.2, the Chinese patent application of entitled " a kind of open air price acquisition comparison device " discloses a kind of family Outer price acquisition comparison device, is mainly used for consumer and obtains merchandise news and compare with consumer database data.
But in the prior art, there are no systems or method that the data for commodity exposure are acquired.
Summary of the invention
For the needs being acquired in e-commerce website to exposure log, according to one aspect of the present invention, this hair Bright to provide a kind of exposure Log Collect System, the system comprises webpage front-end server, web page browsing client and exposures Log acquisition server, which is characterized in that
The webpage front-end server is provided comprising with the webpage for exposing element uniquely indicated and exposure data acquisition Tool;
Exposure data sampling instrument described in the web page browsing client downloads is exposed after exposing element and loading successfully Light data acquisition, the exposure data sampling instrument extract exposure element from webpage and send packet to exposure log acquisition server The exposure data of unique mark and relevant information containing the exposure element;
The exposure log acquisition server receives above-mentioned exposure data, and exposure is written after handling the data Log.
Preferably, in above-mentioned exposure Log Collect System, the exposure data sampling instrument is arranged on webpage Specific position starting, the specific position show that the exposure element has loaded success.
Preferably, in above-mentioned exposure Log Collect System, the exposure data sampling instrument has following work feelings Scape:
When exposing element synchronization load and specific information by successful presentation, the exposure data sampling instrument is exposed Light data acquisition;Or
When exposing element synchronization load and specific information does not have successful presentation, the exposure data sampling instrument is carried out Exposure data acquisition;Or
When exposing the asynchronous load of element and specific information by successful presentation, the exposure data sampling instrument is exposed Light data acquisition;Or
When exposing the asynchronous load of element and specific information does not have successful presentation, the exposure data sampling instrument is carried out Exposure data acquisition.
Preferably, in above-mentioned exposure Log Collect System, the exposure data sampling instrument to exposure log collection Comprising access data uniquely indicates, city indicates and one or more of cookieId in the relevant information that server is sent.
Preferably, in above-mentioned exposure Log Collect System, the system also includes mapping servers, when the exposure When log acquisition server receives cookieId, which is pushed to described reflect by the exposure log acquisition server It penetrates server and carries out cookieId mapping, be only then writing into exposure log.
Another aspect is exposed log collection using system described in claim 1 the present invention provides a kind of Method, which is characterized in that described method includes following steps:
The web page browsing client downloads exposure data sampling instrument and comprising having the exposure element that uniquely indicates Webpage;
After exposure element loads successfully, start the exposure data sampling instrument;
The exposure data sampling instrument extracts the unique mark and relevant information of exposure element from webpage, and is organized into Exposure data;
Above-mentioned exposure data is sent to the exposure log acquisition server by the exposure data sampling instrument;
The exposure log acquisition server receives the exposure data, and is written after handling the data Expose log.
Preferably, in above-mentioned exposure log collection method, specific position of the exposure data sampling instrument in the page Starting, the position shows that the exposure element has loaded success.
Preferably, in above-mentioned exposure log collection method, which is characterized in that
When exposing element synchronization load and specific information by successful presentation, the exposure data sampling instrument is exposed Light data acquisition;Or
When exposing element synchronization load and specific information does not have successful presentation, the exposure data sampling instrument is carried out Exposure data acquisition;Or
When exposing the asynchronous load of element and specific information by successful presentation, the exposure data sampling instrument is exposed Light data acquisition;Or
When exposing the asynchronous load of element and specific information does not have successful presentation, the exposure data sampling instrument is carried out Exposure data acquisition.
Preferably, in above-mentioned exposure log collection method, the exposure data sampling instrument takes to exposure log collection Comprising access data uniquely indicates, city indicates and one or more of cookieId in the relevant information that business device is sent.
Preferably, in above-mentioned exposure log collection method, the system also includes mapping servers, when the exposure day When will acquisition server receives cookieId, which is pushed to the mapping by the exposure log acquisition server Server carries out cookieId mapping, is only then writing into exposure log.
Above-mentioned exposure Log Collect System and method can should synchronize load, asynchronous load, show, do not show Various requirement completes the acquisition of exposure log, and can map that user's is hidden to protect by the cookieId of mapping server It is private.
Detailed description of the invention
Fig. 1 is the schematic diagram of exposure Log Collect System of the present invention;
Fig. 2 is the execution step of exposure log collection method of the present invention.
Specific embodiment
Below in conjunction with specific embodiment, the present invention is described in detail, it is to be appreciated that, these embodiments are only For illustrating the present invention, and do not constitute a limitation of the invention.With reference to Fig. 1, according to one embodiment of present invention, the exposure Light Log Collect System includes webpage front-end server 1, web page browsing client 2 and exposure log acquisition server 3.
Wherein, a series of merchandise display webpage and exposure data sampling instrument are provided on webpage front-end server 1.Its In, such as include the merchandise display webpage of some brand television, it include following exposure element in the webpage, that is, Include following label in webpage:
<a id="baoguang_100100123"></a>
Wherein baoguang_ is the particular prefix for exposing element, and 100100123 be unique mark of the exposure element.
Exposure data sampling instrument is one section of javascript code in the present embodiment, in order to load exposure data acquisition Tool includes following script label in the beginning section of the webpage:
<script type="text/javascript"src="baoguang.js"></script>
For loading exposure data sampling instrument when web page browsing client 2 opens above-mentioned commodity webpage.
It include exposure data acquisition method in above-mentioned javascript exposure data sampling instrument baoguang.js OnBaoguang()。
It is adopted to be exposed data after the exposure element that web page browsing client 2 loads above-mentioned merchandise display webpage Collection, developer can call the exposure data acquisition method in above-mentioned tool in a specific position of its webpage, the position energy Ensure to expose element load to complete:
<script type="text/javascript">onBaoguang ()</script>
This method OnBaoguang () can analyze the webpage of load, obtain a label in the webpage, and will meet The elemental recognition of specific format is that exposure element if id is started with baoguang_, is identified as in the present embodiment Expose element.
After identifying exposure element, above-mentioned exposure data sampling instrument extracts unique mark of the exposure element 100100123 and the relevant information of the commodity, as city indicates cityId, and the cookieId etc. to demarcate user It is configured to an exposure data, i.e., one complete character string is sent to exposure log acquisition server 3.
After the exposure log acquisition server 3 receives above-mentioned exposure data, it will do it corresponding processing, will believe accordingly Breath write-in exposure log.
In the above-described embodiments, exposure element is synchronous load with webpage, and only same in exposure element and webpage Data acquisition is just exposed when step load.
In another embodiment, exposure element and webpage are asynchronous loads, and this asynchronous load can pass through It the asynchronous behavior of javascript or is loaded back by webpage and transfers to realize.Also, under the asynchronous load condition, still into The acquisition of row exposure data.
In other embodiments, if be exposed data acquisition is whether to have loaded phase with specific web page contents Connection.
For example, in one embodiment, exposure data acquisition only just carries out after commodity picture is by successful presentation, that is, Whether commodity picture displaying is successfully judged in above-mentioned javascript exposure data sampling instrument, such as judges commodity figure The complete attribute of piece, and judge commodity picture whether in the display area of screen.If commodity picture successful presentation, It is exposed data acquisition.Certainly, above-mentioned judgement is not limited in commodity picture, is also possible to the other informations such as commodity price, Such as, only after commodity price successful presentation, just it is exposed data acquisition.
And in another embodiment, unlike above-mentioned rule, do not loaded in commodity picture or commodity price Exposure data acquisition is still carried out when success.
Whether synchronous load, asynchronous load and the specific information of above-mentioned exposure element show can be according to specifically answering Any combination is done with scene.I.e., it is possible to realize following four kinds of situations:
When exposing element synchronization load and specific information by successful presentation, the exposure data sampling instrument is exposed Light data acquisition;
When exposing element synchronization load and specific information does not have successful presentation, the exposure data sampling instrument is carried out Exposure data acquisition;
When exposing the asynchronous load of element and specific information by successful presentation, the exposure data sampling instrument is exposed Light data acquisition;
When exposing the asynchronous load of element and specific information does not have successful presentation, the exposure data sampling instrument is carried out Exposure data acquisition.
It is in one embodiment, described in order to protect the privacy of user since cookieId and specific user are mutually bound Exposure Log Collect System further includes a mapping server 4, which is used to map cookieId, for example, by using CookieId is mapped as a puppet id by certain hash algorithm, protects user hidden to cut off log recording and directly contacting for user It is private.
The concrete operating principle of the mapping server 4 is, after exposure log acquisition server 3 receives cookieId, The cookieId, which is sent to mapping server 4 after the mapping server 4 maps the cookieId, to be mapped As a result exposure log acquisition server 3 is returned to, log acquisition server 3 is exposed by the pseudo- id after mapping and is written to exposure log In.
Another aspect, as shown in Fig. 2, the present invention provides a kind of methods for exposing log collection, according to a reality Example is applied, described method includes following steps:
Step 2001: the downloading of the web page browsing client 2 exposure data sampling instrument, i.e. baoguang.js, and under It carries comprising the commodity webpage with the exposure element uniquely indicated;
Step 2002: after exposure element loads successfully, starting the exposure data sampling instrument;
Step 2003: the exposure data sampling instrument extracts the unique mark and correlation letter of exposure element from webpage Breath, and it is organized into exposure data;
Step 2004: above-mentioned exposure data is sent to the exposure log collection service by the exposure data sampling instrument Device 3;
Step 2005: the exposure log acquisition server receives the exposure data, and carries out to the data Write-in exposure log after processing.
It, can be to the load condition and particular webpage content of exposure element in step 2002 in other some embodiments Whether successful presentation is judged, to decide whether to be exposed data acquisition.That is, specifically there is following four kinds of embodiments:
When exposing element synchronization load and specific information by successful presentation, the exposure data sampling instrument is exposed Light data acquisition;
When exposing element synchronization load and specific information does not have successful presentation, the exposure data sampling instrument is carried out Exposure data acquisition;
When exposing the asynchronous load of element and specific information by successful presentation, the exposure data sampling instrument is exposed Light data acquisition;
When exposing the asynchronous load of element and specific information does not have successful presentation, the exposure data sampling instrument is carried out Exposure data acquisition.
Above-mentioned specific information can be the information such as commodity picture or commodity price.
Equally, in step 2005, since cookieId and specific user are mutually bound, in order to protect the privacy of user, It in one embodiment, further include the mapping step of cookieId in step 2005, that is, received in exposure log acquisition server 3 To after cookieId, the cookieId is sent to mapping server 4, the mapping server 4 carries out the cookieId After mapping, mapping result is returned into exposure log acquisition server 3, exposes log acquisition server 3 for the pseudo- id after mapping It is written in exposure log.
Above in conjunction with specific embodiment, invention has been described, it will be appreciated that above-described embodiment is not Restriction of the invention is constituted, protection scope of the present invention is determined by claim.Without departing from thought of the invention, above-mentioned reality The possibility combination of various technological means in example is applied, and is substituted and is generated with technological means known to those skilled in the art Technical solution all fall in protection scope of the present invention.

Claims (10)

1. a kind of exposure Log Collect System, the system comprises webpage front-end server, web page browsing client and exposure days Will acquisition server, which is characterized in that
The webpage front-end server is provided comprising webpage and exposure data sampling instrument with the exposure element uniquely indicated, The exposure element includes the element for meeting specific format in webpage;
Exposure data sampling instrument described in the web page browsing client downloads carries out impression after exposing element and loading successfully According to acquisition, the exposure data sampling instrument extracts exposure element from webpage and includes to exposure log acquisition server transmission Unique mark of the exposure element and the exposure data of relevant information;
The exposure log acquisition server receives above-mentioned exposure data, and the write-in exposure day after handling the data Will.
2. exposure Log Collect System according to claim 1, which is characterized in that the exposure data sampling instrument is set The specific position starting in webpage is set, the specific position shows that the exposure element has loaded success.
3. exposure Log Collect System according to claim 1, which is characterized in that the exposure data sampling instrument has Following working situation:
When exposing element synchronization load and specific information by successful presentation, the exposure data sampling instrument is exposed number According to acquisition;Or
When exposing element synchronization load and specific information does not have successful presentation, the exposure data sampling instrument is exposed Data acquisition;Or
When exposing the asynchronous load of element and specific information by successful presentation, the exposure data sampling instrument is exposed number According to acquisition;Or
When exposing the asynchronous load of element and specific information does not have successful presentation, the exposure data sampling instrument is exposed Data acquisition.
4. exposure Log Collect System according to claim 1, which is characterized in that the exposure data sampling instrument is to exposure Light log acquisition server send relevant information in comprising access data uniquely indicate, city indicate and cookieId in one It is a or multiple.
5. exposure Log Collect System according to claim 1, which is characterized in that the system also includes mapping services Device, when the exposure log acquisition server receives cookieId, the exposure log acquisition server should CookieId is pushed to the mapping server and carries out cookieId mapping, is only then writing into exposure log.
6. a kind of method for being exposed log collection using system described in claim 1, which is characterized in that the method packet Include following steps:
The web page browsing client downloads exposure data sampling instrument and the net comprising having the exposure element uniquely indicated Page, the exposure element includes the element for meeting specific format in webpage;
After exposure element loads successfully, start the exposure data sampling instrument;
The exposure data sampling instrument extracts the unique mark and relevant information of exposure element from webpage, and is organized into exposure Data;
Above-mentioned exposure data is sent to the exposure log acquisition server by the exposure data sampling instrument;
The exposure log acquisition server receives the exposure data, and exposure is written after handling the data Log.
7. exposure log collection method according to claim 6, which is characterized in that the exposure data sampling instrument is in page The specific position in face starts, and the position shows that the exposure element has loaded success.
8. exposure log collection method according to claim 6, which is characterized in that
When exposing element synchronization load and specific information by successful presentation, the exposure data sampling instrument is exposed number According to acquisition;Or
When exposing element synchronization load and specific information does not have successful presentation, the exposure data sampling instrument is exposed Data acquisition;Or
When exposing the asynchronous load of element and specific information by successful presentation, the exposure data sampling instrument is exposed number According to acquisition;Or
When exposing the asynchronous load of element and specific information does not have successful presentation, the exposure data sampling instrument is exposed Data acquisition.
9. exposure log collection method according to claim 6, which is characterized in that the exposure data sampling instrument is to exposure Light log acquisition server send relevant information in comprising access data uniquely indicate, city indicate and cookieId in one It is a or multiple.
10. exposure log collection method according to claim 6, which is characterized in that the system also includes mapping services Device, when the exposure log acquisition server receives cookieId, the exposure log acquisition server should CookieId is pushed to the mapping server and carries out cookieId mapping, is only then writing into exposure log.
CN201410422891.XA 2014-08-25 2014-08-25 A kind of exposure Log Collect System and method Active CN105450698B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410422891.XA CN105450698B (en) 2014-08-25 2014-08-25 A kind of exposure Log Collect System and method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410422891.XA CN105450698B (en) 2014-08-25 2014-08-25 A kind of exposure Log Collect System and method

Publications (2)

Publication Number Publication Date
CN105450698A CN105450698A (en) 2016-03-30
CN105450698B true CN105450698B (en) 2019-03-12

Family

ID=55560469

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410422891.XA Active CN105450698B (en) 2014-08-25 2014-08-25 A kind of exposure Log Collect System and method

Country Status (1)

Country Link
CN (1) CN105450698B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107895299B (en) * 2017-11-08 2020-12-01 浙江执御信息技术有限公司 Commodity exposure sequencing method and device
CN111475756B (en) * 2019-01-23 2023-04-14 苏宁易购集团股份有限公司 Information traceless exposure acquisition method and device
CN110262952B (en) * 2019-06-20 2023-11-03 上海上湖信息技术有限公司 Method and equipment for transmitting buried point exposure data

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102088465A (en) * 2011-03-16 2011-06-08 中国科学院软件研究所 Hyper text transport protocol (HTTP) Cookie protection method based on preposed gateway
CN102779137A (en) * 2011-05-13 2012-11-14 北京搜狗科技发展有限公司 Method and device for treating personalized feedback information of users about webpages
CN103237267A (en) * 2013-01-21 2013-08-07 杭州在信科技有限公司 Interaction method of intelligent bidirectional mobile terminal set-top box
CN103618639A (en) * 2013-11-15 2014-03-05 北京国双科技有限公司 Method, device and system for monitoring media data
CN103870973A (en) * 2012-12-13 2014-06-18 阿里巴巴集团控股有限公司 Information push and search method and apparatus based on electronic information keyword extraction

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102088465A (en) * 2011-03-16 2011-06-08 中国科学院软件研究所 Hyper text transport protocol (HTTP) Cookie protection method based on preposed gateway
CN102779137A (en) * 2011-05-13 2012-11-14 北京搜狗科技发展有限公司 Method and device for treating personalized feedback information of users about webpages
CN103870973A (en) * 2012-12-13 2014-06-18 阿里巴巴集团控股有限公司 Information push and search method and apparatus based on electronic information keyword extraction
CN103237267A (en) * 2013-01-21 2013-08-07 杭州在信科技有限公司 Interaction method of intelligent bidirectional mobile terminal set-top box
CN103618639A (en) * 2013-11-15 2014-03-05 北京国双科技有限公司 Method, device and system for monitoring media data

Also Published As

Publication number Publication date
CN105450698A (en) 2016-03-30

Similar Documents

Publication Publication Date Title
CN103618774B (en) A kind of resource recommendation method based on network behavior and device, system
US10290028B2 (en) Computer implemented system for managing advertisements and a method thereof
CN104243273A (en) Method and device for displaying information on instant messaging client and information display system
CN109240973B (en) Electronic book-based reading state information determination method and electronic equipment
CN109241780B (en) Method, device and equipment for detecting hidden information of image
CN110795697B (en) Method and device for acquiring logic expression, storage medium and electronic device
CN106611065B (en) Searching method and device
CN105450698B (en) A kind of exposure Log Collect System and method
CN112650714A (en) Document display method, device, equipment and computer readable medium
EP2587364A1 (en) Identifier assigning, parsing method and multimedia reading
CN111538645B (en) Data visualization method and related equipment
US10509823B2 (en) Information provision system, viewing terminal, information provision method, and information provision programme
CN104252447A (en) File behavior analysis method and device
CN110019906B (en) Method and apparatus for displaying information
CN111355628B (en) Model training method, service identification method, device and electronic device
CN109308338B (en) Method and equipment for searching and displaying information in application program
KR101481910B1 (en) Apparatus and method for monitoring suspicious information in web page
CN106815248B (en) Website analysis method and device
CN104361004B (en) The processing method and browser of browser collection folder data
CN110543457A (en) Track type document processing method and device, storage medium and electronic device
CN108062295B (en) Content processing method and device
CN110764994A (en) Page element packaging method and device, electronic equipment and storage medium
CN108228609B (en) Information filtering method and device
CN111352917A (en) Information input method and device, electronic equipment and storage medium
CN105224571A (en) Terminal uploaded data processing method and device and data uploading processing method and device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
TA01 Transfer of patent application right

Effective date of registration: 20190201

Address after: 210000 No. 1 Suning Avenue, Xuanwu District, Nanjing City, Jiangsu Province

Applicant after: Suning.com group Limited by Share Ltd

Address before: 210042 15, 1 Suning Road, Xuanwu District, Nanjing, Jiangsu.

Applicant before: Yun Shang Group Plc of Suning

TA01 Transfer of patent application right
GR01 Patent grant
GR01 Patent grant
CP02 Change in the address of a patent holder

Address after: 210000, 1-5 story, Jinshan building, 8 Shanxi Road, Nanjing, Jiangsu.

Patentee after: SUNING GROUP Co.,Ltd.

Address before: 210000, No. 1, Suning Road, Xuanwu District, Jiangsu, Nanjing

Patentee before: SUNING GROUP Co.,Ltd.

CP02 Change in the address of a patent holder