CN103560935A - Internet user information collecting method and device - Google Patents

Internet user information collecting method and device Download PDF

Info

Publication number
CN103560935A
CN103560935A CN201310565777.8A CN201310565777A CN103560935A CN 103560935 A CN103560935 A CN 103560935A CN 201310565777 A CN201310565777 A CN 201310565777A CN 103560935 A CN103560935 A CN 103560935A
Authority
CN
China
Prior art keywords
user
img
information
webpage
browser
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.)
Pending
Application number
CN201310565777.8A
Other languages
Chinese (zh)
Inventor
柳振宇
谢光辉
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Gridsum Technology Co Ltd
Original Assignee
Beijing Gridsum Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Gridsum Technology Co Ltd filed Critical Beijing Gridsum Technology Co Ltd
Priority to CN201310565777.8A priority Critical patent/CN103560935A/en
Publication of CN103560935A publication Critical patent/CN103560935A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Information Transfer Between Computers (AREA)

Abstract

The invention discloses an Internet user information collecting method and device. The Internet user information collecting method comprises the steps that JSP codes in a webpage are obtained, and user information of the accessed webpage is obtained through the JSP codes. According to the Internet user information collecting method and device, the effect that user access information is accurately collected can be achieved.

Description

Internet user's information collecting method and device
Technical field
The present invention relates to internet arena, in particular to a kind of Internet user's information collecting method and device.
Background technology
On the webpage of traditional analysis server, insert Javascript script image data, the Javascript code inserting moves in user terminal browser, for different calling parties generates the image links of carrying unique visit information, Web website access analysis platform is pointed in this chained address.User browser will be downloaded this image automatically, make analysis platform collect complete user behavior information.
Legacy network analytical system is on the webpage of analyzed server, to insert Javascript script image data, the Javascript code inserting moves in user terminal browser, for different calling parties generates the image links of carrying unique visit information, but when pointing to WAP website access analysis platform, this chained address can produce three large problems:
The first, Javascript script is difficult to collect the user profile such as user mobile phone number, and some dimensions and actual conditions in the middle of analytical system are had a long way to go.
The second, existing most of mobile phone browser can not improve supports original js script that Javascript brings to insert coding mode inefficacy.
The 3rd, traditional Javascript script is to carry out identification access person by cookie, but does not record cookie function in the middle of the browser that at present a lot of user uses.
For gathering the inaccurate problem of user access information in prior art, effective solution is not yet proposed at present.
Summary of the invention
Main purpose of the present invention is to provide a kind of Internet user's information collecting method and device, to solve, gathers the inaccurate problem of user access information in prior art.
To achieve these goals, according to an aspect of the present invention, provide a kind of Internet user's information collecting method.Internet user's information collecting method according to the present invention comprises: obtain the JSP code in webpage; And the user profile of utilizing JSP Code obtaining accessed web page.
Further, before utilizing the user profile of JSP Code obtaining accessed web page, acquisition method comprises: the signal that receives user's accessed web page; After receiving user's calling-on signal, JSP code generates the <img> label that carries user access information; By browser, all <img> labels of webpage are downloaded; The visit information carrying during recording user access <img> label; The information of record is returned to browser.
Further, by browser, all <img> labels of the page are downloaded and comprised: obtain url and parameter that the src in <img> label carries; And according to the url obtaining and parameter, all <img> labels of the page are downloaded.
Further, the information of record being returned to browser comprises: by the Information generation gif file of record; And gif file is returned to browser.
To achieve these goals, according to a further aspect in the invention, provide a kind of Internet user's information collecting device.Internet user's information collecting device according to the present invention comprises: the first acquiring unit, for obtaining the JSP code of webpage; And second acquisition unit, for utilizing the user profile of JSP Code obtaining accessed web page.
Further, second acquisition unit comprises: receiver module, for receiving the signal of user's accessed web page; Generation module, for after receiving user's calling-on signal, JSP code generates the <img> label that carries user access information; Download module, for downloading all <img> labels of webpage by browser; Logging modle, the visit information carrying during for recording user access <img> label; Return to module, for the information of record is returned to browser.
Further, download module comprises: obtain submodule, url and the parameter of for obtaining the src of <img> label, carrying; And download submodule, for all <img> labels of the page being downloaded according to url and the parameter obtained.
Further, return to module and comprise: generate submodule, for by the Information generation gif file of record; And return to submodule, for gif file is returned to browser.
By the present invention, adopt and obtain the JSP code in webpage; And the user profile of utilizing JSP Code obtaining accessed web page, solved and in prior art, gathered the inaccurate problem of user access information, and then reached the effect of accurate collection user access information.
Accompanying drawing explanation
The accompanying drawing that forms the application's a part is used to provide a further understanding of the present invention, and schematic description and description of the present invention is used for explaining the present invention, does not form inappropriate limitation of the present invention.In the accompanying drawings:
Fig. 1 is according to the flow chart of Internet user's information collecting method of first embodiment of the invention;
Fig. 2 is according to the flow chart of Internet user's information collecting method of second embodiment of the invention;
Fig. 3 is according to the flow chart of Internet user's information collecting method of first embodiment of the invention; And
Fig. 4 is according to the schematic diagram of Internet user's information collecting device of second embodiment of the invention.
Embodiment
It should be noted that, in the situation that not conflicting, embodiment and the feature in embodiment in the application can combine mutually.Describe below with reference to the accompanying drawings and in conjunction with the embodiments the present invention in detail.
In order to make those skilled in the art person understand better the present invention program, below in conjunction with the accompanying drawing in the embodiment of the present invention, technical scheme in the embodiment of the present invention is clearly and completely described, obviously, described embodiment is only the embodiment of a part of the present invention, rather than whole embodiment.Embodiment based in the present invention, those of ordinary skills, not making the every other embodiment obtaining under creative work prerequisite, should belong to the scope of protection of the invention.
The embodiment of the present invention provides user profile acquisition method in a kind of the Internet, and this acquisition method may operate on computer processor unit.
Fig. 1 is according to the flow chart of Internet user's information collecting method of first embodiment of the invention, and as shown in the figure, this Internet user's information collecting method comprises the steps:
Step S101, obtains the JSP code in webpage.In webpage, insert JSP code, JSP code can generate the image links of carrying user access information when user's accessed web page, and user browser is downloaded this image automatically, thereby server can gather user access information.
JSP(java server pages) be a kind of dynamic web page technique standard, JSP inserts java applet section and JSP mark in conventional web html file, thereby formation jsp file, with the Web application of JSP exploitation, be cross-platform, can under Linux, move, also can in other operating systems, move.
JSP script can also identify cellphone subscriber's information, when cellphone subscriber uses mobile phone browser accessed web page, unique identification information that can be using cellphone subscriber's cell-phone number as user identity, thus when user accesses this website again, utilize this user's cell-phone number to determine this user's identity.
Step S101, utilizes the user profile of JSP Code obtaining accessed web page.After webpage in user's access with JSP code, JSP code moves automatically to obtain the user profile of accessed web page.For cellphone subscriber, gather user's phone number, for pc user, can give pc user unique identify label, thereby determine user's visit information.
By said method, can make to insert the webpage cellphone subscriber's of JSP code the user profile such as cell-phone number, and higher to the relevance grade of mobile phone browser, thus the user profile of Obtaining Accurate accessed web page.
Fig. 2 is according to the flow chart of Internet user's information collecting method of second embodiment of the invention, and as shown in the figure, before utilizing the user profile of JSP Code obtaining accessed web page, this Internet user's information collecting method comprises the steps:
Step S201, the signal of reception user accessed web page.The webpage of user's access can be the webpage that inserts JSP script, can be also the webpage that inserts JS script, if user has accessed the webpage that is inserted with JSP script, can utilize first code sign cellphone subscriber and pc user in JSP script.
Step S202, after receiving user's calling-on signal, JSP code generates the <img> label that carries user access information.If the webpage of user's access detected with JSP script, move so JSP script, and generate the <img> label that carries user access information.The <img> label of this user access information can record access user user profile.
Step S203, downloads all <img> labels of webpage by browser.All <img> labels of the browser downloads page, this <img> label has carried user access information.
Step S204, the visit information carrying during recording user access <img> label.The visit information carrying during recording user access <img> label, when accessing this webpage again, user can determine that the user is old user according to the visit information of record, without again sending the <img> label that carries user access information.
Step S205, returns to browser by the information of record.The information of record is returned to browser, unique identify label of this user of mark.
Further, by browser, all <img> labels of the page are downloaded and are comprised:
By browser, all <img> labels of the page are downloaded and comprised the steps:
Step S2031, obtains url and parameter that the src in <img> label carries.<img> label has comprised access originator src, and the address url that src carries points to the server with storage and tally function, and server can be stored user's visit information, and can count access times.The url that user can carry according to src and parameter access Webpage.
Step S2032, downloads all <img> labels of the page according to the url obtaining and parameter.User browser is downloaded all <img> labels of the page according to url and the parameter obtained, thereby obtains User Identity.
Further, the information of record is returned to browser and comprise: the Information generation gif file by record, returns to browser by gif file.
As can be seen from the above description, the present invention, by insert JSP script in a webpage, gathers user profile when user utilizes mobile phone browser accessed web page.
The embodiment of the present invention also provides a kind of Internet user's information collecting device.
Internet user's information collecting device that Internet user's information collecting method of the embodiment of the present invention can provide by the embodiment of the present invention is carried out, Internet user's information collecting method that Internet user's information collecting device of the embodiment of the present invention also can provide for carrying out the embodiment of the present invention.
The embodiment of the present invention also provides user profile harvester in a kind of the Internet.
Fig. 3 is according to the flow chart of Internet user's information collecting method of first embodiment of the invention, and as shown in the figure, this Internet user's information collecting device comprises the first acquiring unit 10 and second acquisition unit 20.
The first acquiring unit 10 is for obtaining the JSP code of webpage.In webpage, insert JSP code, JSP code can generate the image links of carrying user access information when user's accessed web page, and user browser is downloaded this image automatically, thereby server can gather user access information.
JSP(java server pages) be a kind of dynamic web page technique standard, JSP inserts java applet section and JSP mark in conventional web html file, thereby formation jsp file, with the Web application of JSP exploitation, be cross-platform, can under Linux, move, also can in other operating systems, move.
JSP script can also identify cellphone subscriber's information, when cellphone subscriber uses mobile phone browser accessed web page, unique identification information that can be using cellphone subscriber's cell-phone number as user identity, thus when user accesses this website again, utilize this user's cell-phone number to determine this user's identity.
Second acquisition unit 20 is for utilizing the user profile of JSP Code obtaining accessed web page.After webpage in user's access with JSP code, JSP code moves automatically to obtain the user profile of accessed web page.For cellphone subscriber, gather user's phone number, for pc user, can give pc user unique identify label, thereby determine user's visit information.
By said apparatus, can make to insert the webpage cellphone subscriber's of JSP code the user profile such as cell-phone number, and higher to the relevance grade of mobile phone browser, thus the user profile of Obtaining Accurate accessed web page.
Fig. 4 is according to the schematic diagram of Internet user's information collecting device of second embodiment of the invention.As shown in the figure, this Internet user's information collecting device comprises the first acquiring unit 10 and second acquisition unit 20, and second acquisition unit 20 comprises receiver module 201, generation module 202, download module 203, logging modle 204 and returns to module 205.
The first acquiring unit 10 in this figure illustrated embodiment and second acquisition unit 20 are identical with the function of the first acquiring unit 10 embodiment illustrated in fig. 3 and second acquisition unit 20, and therefore not to repeat here.
Receiver module 201 is for receiving the signal of user's accessed web page.The webpage of user's access can be the webpage that inserts JSP script, can be also the webpage that inserts JS script, if user has accessed the webpage that is inserted with JSP script, can utilize first code sign cellphone subscriber and pc user in JSP script.
Generation module 202 is for after receiving user's calling-on signal, and JSP code generates the <img> label that carries user access information.If the webpage of user's access detected with JSP script, move so JSP script, and generate the <img> label that carries user access information.The <img> label of this user access information can record access user user profile.
Download module 203 is for downloading all <img> labels of webpage by browser.All <img> labels of the browser downloads page, this <img> label has carried user access information.
The visit information carrying when logging modle 204 is accessed <img> label for recording user.The visit information carrying during recording user access <img> label, when accessing this webpage again, user can determine that the user is old user according to the visit information of record, without again sending the <img> label that carries user access information.
Return to module 205 for the information of record is returned to browser.The information of record is returned to browser, unique identify label of this user of mark.
Further, download module 203 comprises:
Obtain submodule, url and the parameter of for obtaining the src of <img> label, carrying.<img> label has comprised access originator src, and the address url that src carries points to the server with storage and tally function, and server can be stored user's visit information, and can count access times.The url that user can carry according to src and parameter access Webpage.
Download submodule, for all <img> labels of the page being downloaded according to url and the parameter obtained.User browser is downloaded all <img> labels of the page according to url and the parameter obtained, thereby obtains User Identity.
Further, return to module 205 and comprise: generate submodule, for by the Information generation gif file of record, return to submodule, for gif file is returned to browser.
As can be seen from the above description, the present invention, by insert JSP script in a webpage, gathers user profile when user utilizes mobile phone browser accessed web page.
The embodiment of the present invention also provides a kind of computer-readable storage medium.This computer-readable storage medium can have program stored therein, and this program is for carrying out the part or all of step of above-mentioned Internet user's information collecting method.
It should be noted that, for aforesaid each embodiment of the method, for simple description, therefore it is all expressed as to a series of combination of actions, but those skilled in the art should know, the present invention is not subject to the restriction of described sequence of movement, because according to the present invention, some step can adopt other orders or carry out simultaneously.Secondly, those skilled in the art also should know, the embodiment described in specification all belongs to preferred embodiment, and related action and module might not be that the present invention is necessary.
In the above-described embodiments, the description of each embodiment is all emphasized particularly on different fields, in certain embodiment, there is no the part of detailed description, can be referring to the associated description of other embodiment.
In the several embodiment that provide in the application, should be understood that disclosed device can be realized by another way.For example, device embodiment described above is only schematic, the for example division of described unit, be only that a kind of logic function is divided, during actual realization, can there is other dividing mode, for example a plurality of unit or assembly can in conjunction with or can be integrated into another system, or some features can ignore, or do not carry out.Another point, shown or discussed coupling each other or direct-coupling or communication connection can be by some interfaces, indirect coupling or the communication connection of device or unit can be electrical or other form.
The described unit as separating component explanation can or can not be also physically to separate, and the parts that show as unit can be or can not be also physical locations, can be positioned at a place, or also can be distributed in a plurality of network element.Can select according to the actual needs some or all of unit wherein to realize the object of the present embodiment scheme.
In addition, each functional unit in each embodiment of the present invention can be integrated in a processing unit, can be also that the independent physics of unit exists, and also can be integrated in a unit two or more unit.Above-mentioned integrated unit both can adopt the form of hardware to realize, and also can adopt the form of SFU software functional unit to realize.
If the form of SFU software functional unit of usining described integrated unit realizes and during as production marketing independently or use, can be stored in a computer read/write memory medium.Understanding based on such, the all or part of of the part that technical scheme of the present invention contributes to prior art in essence in other words or this technical scheme can embody with the form of software product, this computer software product is stored in a storage medium, comprises that some instructions are with so that a computer equipment (can be personal computer, server or the network equipment etc.) is carried out all or part of step of method described in each embodiment of the present invention.And aforesaid storage medium comprises: various media that can be program code stored such as USB flash disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), portable hard drive, magnetic disc or CDs.
The foregoing is only the preferred embodiments of the present invention, be not limited to the present invention, for a person skilled in the art, the present invention can have various modifications and variations.Within the spirit and principles in the present invention all, any modification of doing, be equal to replacement, improvement etc., within all should being included in protection scope of the present invention.

Claims (8)

1. Internet user's information collecting method, is characterized in that, comprising:
Obtain the JSP code in webpage; And
Utilize described JSP Code obtaining to access the user profile of described webpage.
2. acquisition method according to claim 1, is characterized in that, utilizes before described JSP Code obtaining accesses the user profile of described webpage, and described acquisition method comprises:
Receive the signal that user accesses described webpage;
After receiving user's calling-on signal, described JSP code generates the <img> label that carries user access information;
By browser, all <img> labels of described webpage are downloaded;
Record the visit information carrying when described user accesses described <img> label;
The information of record is returned to described browser.
3. acquisition method according to claim 2, is characterized in that, by described browser, all <img> labels of the described page is downloaded and is comprised:
Obtain url and parameter that the src in described <img> label carries; And
According to the described url obtaining and parameter, all <img> labels of the described page are downloaded.
4. acquisition method according to claim 2, is characterized in that, the information of record is returned to described browser and comprise:
By the Information generation gif file of record; And
Described gif file is returned to described browser.
5. Internet user's information collecting device, is characterized in that, comprising:
The first acquiring unit, for obtaining the JSP code of webpage; And
Second acquisition unit, for utilizing described JSP Code obtaining to access the user profile of described webpage.
6. harvester according to claim 5, is characterized in that, described second acquisition unit comprises:
Receiver module, accesses the signal of described webpage for receiving user;
Generation module, for after receiving user's calling-on signal, described JSP code generates the <img> label that carries user access information;
Download module, for downloading all <img> labels of described webpage by browser;
Logging modle, for recording the visit information carrying when described user accesses described <img> label;
Return to module, for the information of record is returned to described browser.
7. harvester according to claim 6, is characterized in that, described download module comprises:
Obtain submodule, url and the parameter of for obtaining the src of described <img> label, carrying; And
Download submodule, for all <img> labels of the described page being downloaded according to described url and the parameter obtained.
8. harvester according to claim 6, is characterized in that, described in return to module and comprise:
Generate submodule, for by the Information generation gif file of record; And
Return to submodule, for described gif file is returned to described browser.
CN201310565777.8A 2013-11-13 2013-11-13 Internet user information collecting method and device Pending CN103560935A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310565777.8A CN103560935A (en) 2013-11-13 2013-11-13 Internet user information collecting method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310565777.8A CN103560935A (en) 2013-11-13 2013-11-13 Internet user information collecting method and device

Publications (1)

Publication Number Publication Date
CN103560935A true CN103560935A (en) 2014-02-05

Family

ID=50015089

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310565777.8A Pending CN103560935A (en) 2013-11-13 2013-11-13 Internet user information collecting method and device

Country Status (1)

Country Link
CN (1) CN103560935A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105471886A (en) * 2015-12-23 2016-04-06 东软集团股份有限公司 User identification method and device
CN107464114A (en) * 2017-07-12 2017-12-12 北京奇安信科技有限公司 The automation real name identification method and device of a kind of payment services
CN111338613A (en) * 2020-03-03 2020-06-26 中国工商银行股份有限公司 Front-end point burying method and device based on jsp

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7546576B2 (en) * 2001-06-15 2009-06-09 Lightsurf Technology, Inc. Software framework for web-based applications
CN101599116A (en) * 2008-06-02 2009-12-09 中兴通讯股份有限公司 A kind of method of controlling user to access pages
CN103577585A (en) * 2013-11-08 2014-02-12 北京国双科技有限公司 Method and device for identifying users in internet

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7546576B2 (en) * 2001-06-15 2009-06-09 Lightsurf Technology, Inc. Software framework for web-based applications
CN101599116A (en) * 2008-06-02 2009-12-09 中兴通讯股份有限公司 A kind of method of controlling user to access pages
CN103577585A (en) * 2013-11-08 2014-02-12 北京国双科技有限公司 Method and device for identifying users in internet

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105471886A (en) * 2015-12-23 2016-04-06 东软集团股份有限公司 User identification method and device
CN107464114A (en) * 2017-07-12 2017-12-12 北京奇安信科技有限公司 The automation real name identification method and device of a kind of payment services
CN111338613A (en) * 2020-03-03 2020-06-26 中国工商银行股份有限公司 Front-end point burying method and device based on jsp

Similar Documents

Publication Publication Date Title
CN107562620B (en) Automatic buried point setting method and device
CN102663135B (en) Method and device for implementing graphical bookmark for embedded browser, and terminal
CN101681496B (en) Method for generating access statistic data on individual visitor to web site
CN101561802A (en) Web page structural data extraction method and system
CN108334508B (en) Webpage information extraction method and device
CN103618696B (en) Method and server for processing cookie information
CN103297469A (en) Method and device of collecting website data
CN103885987A (en) Music recommendation method and system
CN104504096B (en) A kind of information transferring method and web page browsing device of inter-network page
CN106021418B (en) The clustering method and device of media event
CN104182506A (en) Log management method
CN103631957A (en) Statistical method and device for visitor behavior data
CN103617266A (en) Personalized extension search method, device and system
CN103714119A (en) Method and device for processing browser data
CN105426759A (en) URL legality determining method and apparatus
CN103944944A (en) Webpage link sharing method and system, and electronic device
CN104468790A (en) Method for processing cookie data and client side
CN102968451A (en) Method for loading website data in browser format page and browser client
CN102970348A (en) Method and system for network application propelling and network application server
CN104580310A (en) Log processing method and server
CN103560935A (en) Internet user information collecting method and device
CN109598526B (en) Method and device for analyzing media contribution
CN103577585A (en) Method and device for identifying users in internet
CN104317884A (en) Method and device for acquiring types of source pages of website
CN103389985A (en) Method and device for providing search result

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20140205