[go: up one dir, main page]

CN103248631B - Method, system and the browser of browser-cross identifying user identity - Google Patents

Method, system and the browser of browser-cross identifying user identity Download PDF

Info

Publication number
CN103248631B
CN103248631B CN201310202008.1A CN201310202008A CN103248631B CN 103248631 B CN103248631 B CN 103248631B CN 201310202008 A CN201310202008 A CN 201310202008A CN 103248631 B CN103248631 B CN 103248631B
Authority
CN
China
Prior art keywords
user
browser
permanent identification
permanent
server
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
CN201310202008.1A
Other languages
Chinese (zh)
Other versions
CN103248631A (en
Inventor
朱建庭
杨雄男
张国强
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Baidu Netcom Science and Technology Co Ltd
Original Assignee
Beijing Baidu Netcom Science and 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 Baidu Netcom Science and Technology Co Ltd filed Critical Beijing Baidu Netcom Science and Technology Co Ltd
Priority to CN201310202008.1A priority Critical patent/CN103248631B/en
Publication of CN103248631A publication Critical patent/CN103248631A/en
Application granted granted Critical
Publication of CN103248631B publication Critical patent/CN103248631B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Information Transfer Between Computers (AREA)

Abstract

The present invention proposes a kind of method, system, browser and server of browser-cross identifying user identity, and wherein the method comprises the following steps: browser sends a request message to server; The response message that browser reception server sends according to request bag, wherein, response message comprises enquiry module, for user's permanent identification of Query Browser and the relevant this locality storage of browser; And browser loads response message so that enquiry module obtains user's permanent identification and feeds back to server from the storage of this locality. According to embodiment of the present invention method, on the one hand, even if user has removed the User Identity in browser cookie, can also from the storage of this locality, obtain user's permanent identification, promote the stability of User Identity; On the other hand, realize browser-cross identifying user identity, the user who uses multiple browsers can be able to be designated to same user on same equipment.

Description

Method, system and the browser of browser-cross identifying user identity
Technical field
The present invention relates to Internet technical field, relate in particular to a kind of side of browser-cross identifying user identityMethod, system and browser.
Background technology
User group taking non-login user as main Web service (as, search engine, news, videoDeng portal website etc.) provider identify its user identity by certain method, to enter at server endWhen row user behavior analysis, can be by same user's history access record taking its User Identity as mainLine is together in series, thereby helps through behavioural analysis and feature extraction etc. for specific user, Jin ErfuHelp other system to provide more excellent service for user, as, for user's personalized search, recommendation, logicalKnow prompting and accurate advertisement etc.
At present, can adopt following methods to identify user identity: user for the first time access services providesWhen business's web services, be that active user generates a unique mark by web services end according to certain algorithmKnow string, and be set in the cookie of the current browser of user, user is by same browser pairThe subsequent access of this web services all will be carried this cookie content automatically, thereby help web services endIdentifying is same user's access.
But, there is following shortcoming: (1) cookie easily, by user's active or passive removing, causesThe life cycle of User Identity is shorter, and then cause producing before user removes cookieHistory access record all cannot be well utilize by user behavior analysis system of web services end etc.;(2) cookie technology is not browser-cross, in multiple browsers of same user on same equipmentCookie be not intercommunication, cause web services end can use the same user of multiple browsers to knowWei multiple different users.
Summary of the invention
The present invention is intended at least one of solve the problems of the technologies described above.
For this reason, first object of the present invention is to propose a kind of side of browser-cross identifying user identityMethod. The method on the one hand, even if user has removed the User Identity in browser cookie, is gone backCan from the storage of this locality, obtain user's permanent identification, promote the stability of User Identity;On the other hand, realize browser-cross identifying user identity, can will on same equipment, use multiple browsingThe user of device can be designated same user.
Second object of the present invention is to propose a kind of browser.
The 3rd object of the present invention is to propose a kind of system of browser-cross identifying user identity.
To achieve these goals, the browser-cross identifying user identity of first aspect present invention embodimentMethod, comprises the following steps: browser sends a request message to server; Described in described browser receivesThe response message that server sends according to described request bag, wherein, described response message comprises inquiry generationCode, for inquiring about user's permanent identification of this locality storage that described browser and described browser are relevant;Wherein, the user's permanent identification in this locality storage that the described browser of described inquiry and described browser are relevantComprise: described browser loads described response message, to obtain described user forever from described local storageIdentify label for a long time also feeds back to described server; Described browser obtains in described browser cookieDescribed user's permanent identification; The each described local storage of described browser traversal, and judge current instituteState in local storage and whether store described user's permanent identification; If deposited in described current local storageStore up described user's permanent identification, described browser further judges in described current local storageWhether described user's permanent identification is consistent with the described user's permanent identification in described cookie;If consistent, described browser is according to the described user's permanent identification in described current local storageUpgrade the described user's permanent identification in local storage described in all the other; If inconsistent, described clearThe device of looking at is again deciphered and encrypts the described user's permanent identification in described current local storage, and rootUpgrade the permanent body of described user in described cookie according to the described user's permanent identification after encryptingPart identifies and the described user's permanent identification in local storage described in all the other.
According to the method for the browser-cross identifying user identity of the embodiment of the present invention, the basis of supporting at browserIn ground storage, store user's permanent identification, server uses this user's permanent identification identifying userIdentity, even if on the one hand user has removed the User Identity in browser cookie, can also be fromIn local storage, obtain user's permanent identification, promoted the stability of User Identity, Yong HuqingExcept the user's Visitor Logs being recorded when access services device before cookie easily serviced device makeWith; Realize on the other hand browser-cross identifying user identity, can be multiple clear by using on same equipmentThe user of device of looking at can be designated same user.
To achieve these goals, the browser of second aspect present invention embodiment, comprising: sending module,For sending a request message to server; Receiver module, for receiving described server according to described requestThe response message that bag sends, wherein, described response message comprises inquiry code, described clear for inquiring aboutUser's permanent identification of looking in the storage of the relevant this locality of device and described browser; And loading enquiry module,Be used for loading described response message so that described enquiry module to obtain described user from this locality storage permanentIdentify label also feeds back to described server, and wherein, described loading enquiry module comprises: acquiring unit,For obtaining described user's permanent identification of described browser cookie; Traversal unit, forTravel through each described local storage; Whether the first judging unit, for judging current described local storageStore described user's permanent identification; The second judging unit, for judging at described the first judging unitWhile storing described user's permanent identification in described current local storage, further judge described currentDescribed user's permanent identification in ground storage and the described user's permanent identity mark in described cookieWhether unanimously know; The first updating block, when consistent for judging at described the second judging unit, according to instituteState described user's permanent identification in current local storage and upgrade the institute in local storage described in all the otherState user's permanent identification; The second updating block, for judging inconsistent at described the second judging unitTime, the described user's permanent identification in described current local storage is again deciphered and encrypted, and rootUpgrade the permanent body of described user in described cookie according to the described user's permanent identification after encryptingPart identifies and the described user's permanent identification in local storage described in all the other.
According to the browser of the embodiment of the present invention, from this locality storage of browser support, obtain user permanentIdentify label, server uses this user's permanent identification identifying user identity, even one side userRemoved the User Identity in browser cookie, browser can obtain use from the storage of this localityFamily permanent identification, has promoted the stability of User Identity, and user visits before removing cookieThe user's Visitor Logs being recorded while asking server easily serviced device uses; Realize on the other handBrowser-cross identifying user identity, the user who uses multiple browsers on same equipment can be able to be markedKnow for same user.
To achieve these goals, the browser-cross identifying user identity of third aspect present invention embodimentSystem, comprising: the browser and server described in second aspect present invention embodiment.
According to the system of the browser-cross identifying user identity of the embodiment of the present invention, the basis of supporting at browserIn ground storage, store user's permanent identification, server uses this user's permanent identification identifying userIdentity, even if on the one hand user has removed the User Identity in browser cookie, can also be fromIn local storage, obtain user's permanent identification, promoted the stability of User Identity, Yong HuqingExcept the user's Visitor Logs being recorded when access services device before cookie easily serviced device makeWith; Realize on the other hand browser-cross identifying user identity, can be multiple clear by using on same equipmentThe user of device of looking at can be designated same user.
The aspect that the present invention is additional and advantage in the following description part provide, and part is by from belowIn description, become obviously, or recognize by practice of the present invention.
Brief description of the drawings
Aspect and advantage description to embodiment below in conjunction with accompanying drawing that the present invention is above-mentioned and/or additionalMiddle becoming obviously and easily understood, wherein,
Fig. 1 is the flow process of the method for browser-cross identifying user identity according to an embodiment of the inventionFigure;
Fig. 2 is the method for the browser-cross identifying user identity of a specific embodiment according to the present inventionFlow chart;
Fig. 3 is according to the flow chart of the server process of the embodiment of the present invention;
Fig. 4 is the structural representation of browser according to an embodiment of the invention;
Fig. 5 is the structural representation of the browser of a specific embodiment according to the present invention;
Fig. 6 is the structural representation of server according to an embodiment of the invention.
Detailed description of the invention
Describe embodiments of the invention below in detail, the example of described embodiment is shown in the drawings, whereinSame or similar label represents same or similar element or has identical or similar functions from start to finishElement. Exemplary below by the embodiment being described with reference to the drawings, only for explaining the present invention,And can not be interpreted as limitation of the present invention. On the contrary, embodiments of the invention comprise and fall into additional rightAll changes, amendment and equivalent within the scope of spirit and the intension of claim.
In description of the invention, it will be appreciated that, term " first ", " second " etc. only forDescribe object, and can not be interpreted as instruction or hint relative importance. In description of the invention, needIllustrate, unless otherwise clearly defined and limited, term " is connected ", " connection " should be done extensivelyReason and good sense solution, for example, can be to be fixedly connected with, and can be also to removably connect, or connects integratedly; CanTo be mechanical connection, it can be also electrical connection; Can be to be directly connected, also can be by between intermediaryConnect connected. For the ordinary skill in the art, can concrete condition understand above-mentioned term at thisConcrete meaning in invention. In addition, in description of the invention, except as otherwise noted, " multiples' "Implication is two or more.
Any process of otherwise describing in flow chart or at this or method are described and can be understood to,Represent to comprise that one or more is for realizing the executable instruction of step of specific logical function or processModule, fragment or the part of code, and the scope of the preferred embodiment of the present invention comprises otherRealize, wherein can, not according to order shown or that discuss, comprise according to related function by substantially sameTime mode or by contrary order, carry out function, this should be led by technology under embodiments of the inventionThe technical staff in territory understands.
Below with reference to accompanying drawing describe according to the method for the browser-cross identifying user identity of the embodiment of the present invention,System, browser and server.
For the shortcoming of existing mark browser client identity method, can utilize the JavaScript of browserTechnology, makes full use of the various local storage that browser is supported, as the FlashObject of Adobe company,Local in the Html5 standard that the UserData of IE browser and most of main flow browser are supportedStorage etc., have realized browser-cross on same equipment and have identified same user identity.
For this reason, propose a kind of method of browser-cross identifying user identity, comprise the following steps: browserSend a request message to server; The response message that browser reception server sends according to request bag, itsIn, response message comprises enquiry module, for Query Browser and the relevant this locality storage of browserUser's permanent identification; And browser loads response message so that enquiry module obtains from the storage of this localityUser's permanent identification also feeds back to server.
Fig. 1 is the flow process of the method for browser-cross identifying user identity according to an embodiment of the inventionFigure.
As shown in Figure 1, the method for browser-cross identifying user identity comprises the following steps.
S101, browser sends a request message to server.
S102, the response message that browser reception server sends according to request bag, wherein, response messageComprise enquiry module, forever mark for the user of Query Browser and the storage of the relevant this locality of browserKnow.
In one embodiment of the invention, local storage can comprise the animate object storage of AdobeThe storage of subscriber data UserData of FlashObject, IE and this locality of Html5 storage LocalStorageDeng. It will be understood by those of skill in the art that local storage can also comprise other this locality storage orWill store other this locality in future, the support of main local storage browser.
In one embodiment of the invention, enquiry module can be Javascript code. Wherein, shouldJavascript code is loaded and carries out in browser, it will be understood by those of skill in the art that and looks intoAsking module can also be other Dynamic loading techniques realizations of similar Javascript.
S103, browser loads response message so that enquiry module obtains the permanent body of user from the storage of this localityPart identifies and feeds back to server.
According to the method for the browser-cross identifying user identity of the embodiment of the present invention, the basis of supporting at browserIn ground storage, store user's permanent identification, server uses this user's permanent identification identifying userIdentity, even if on the one hand user has removed the User Identity in browser cookie, can also be fromIn local storage, obtain user's permanent identification, promoted the stability of User Identity, Yong HuqingExcept the user's Visitor Logs being recorded when access services device before cookie easily serviced device makeWith; Realize on the other hand browser-cross identifying user identity, can be multiple clear by using on same equipmentThe user of device of looking at can be designated same user.
Fig. 2 is the method for the browser-cross identifying user identity of a specific embodiment according to the present inventionFlow chart. By enquiry module can Query Browser and the relevant this locality storage of browser in user permanentMark, as shown in Figure 2, the method for browser-cross identifying user identity comprises the following steps process particularly.
S201, browser sends a request message to server.
S202, the response message that browser reception server sends according to request bag, wherein, response messageComprise enquiry module, forever mark for the user of Query Browser and the storage of the relevant this locality of browserKnow.
Local storage can comprise that the animate object storage FlashObject of Adobe, the user data of IE depositThis locality storage LocalStorage of storage UserData and Html5 etc. Those skilled in the art shouldUnderstand, local storage can also comprise other this locality storage or following other this locality storage, mainThe support of local storage browser.
In one embodiment of the invention, enquiry module can be Javascript code. Wherein, shouldJavascript code is loaded and carries out in browser, it will be understood by those of skill in the art that and looks intoAsking module can also be other Dynamic loading techniques realizations of similar Javascript.
S203, browser loads response message, and obtains the user's permanent identity in browser cookieMark.
Particularly, user's permanent identification is encrypted, and browser reads user in cookie foreverThe dynamic encryption data of identify label for a long time, therefrom decrypt user's permanent identification.
S204, the each local storage of browser traversal.
S205, judges in current local storage whether store user's permanent identification.
S206, if store user's permanent identification in current local storage, browser is further sentencedUser's permanent identification in disconnected current local storage and the user's permanent identification in cookie areNo consistent.
Wherein, in local storage, user's permanent identification of storage is also encrypted, if currentIn ground storage, stored user's permanent identification, browser need to be decrypted to obtain the permanent body of userPart mark.
S207, if consistent, browser according to the user's permanent identification in current local storage moreUser's permanent identification in new all the other local storages.
S208, if inconsistent, browser is to the user's permanent identification weight in current local storageNewly decipher and encrypt, and upgrade the user in cookie according to the user's permanent identification after encryptingUser's permanent identification in permanent identification and all the other local storages.
S209, judges whether to travel through complete.
In one embodiment of the invention, further comprising the steps of:
S210, when after the each local storage of browser traversal and do not store user forever in each local systemWhen identify label for a long time, browser judges that whether the user's permanent identification in cookie is effective.
S211, if effectively, browser is stored to many by the user's permanent identification in cookieIn individual local storage.
S212, if invalid, browser obtains the customer temporary identity mark of server feedback, and rightCustomer temporary identity mark is encrypted to obtain user's permanent identification, and by user's permanent identity markKnow and be stored in cookie and in multiple local storage.
Wherein, customer temporary identity is designated the unique string that server generates according to preset algorithm, usesUse browser access server user's identity in mark.
In one embodiment of the invention, customer temporary identity mark is encrypted to obtain user foreverThe step of for a long time identify label is further comprising the steps of: first, browser obtain current system timestamp and withMachine character string, then, browser is to current system timestamp, random string and customer temporary identity markKnow and be encrypted to generate user's permanent identification. Should be appreciated that while encryption and can also comprise some itsHis necessary information.
According to the method for the browser-cross identifying user identity of the embodiment of the present invention, browser upgrades cookieAnd user's permanent identification in this locality storage of supporting, user's permanent identification has been carried out immediatelyUpgrade, even if user has removed the User Identity in browser cookie, can also deposit from this localityIn storage, obtain user's permanent identification, promoted the stability of User Identity, realized across browsingDevice identifying user identity, can be designated same by the user who uses multiple browsers on same equipmentUser.
Fig. 3 is according to the flow chart of the server process of the embodiment of the present invention. Browser is sent out request messageDeliver to after server, server carries out logical process to send response message, particularly, and as shown in Figure 3,Comprise the following steps.
S301, server receives request message.
S302, server judges in request message, whether to comprise customer temporary identity information.
S303, if comprise customer temporary identity information, server obtains user in cookie foreverIdentify label for a long time, and collect user's behavioural information according to user's permanent identification, and by respond packetBe sent to browser.
Particularly, the user's permanent identification in cookie has carried out dynamic encryption, and server obtains itAfter need to be decrypted.
S304, if do not comprise customer temporary identity information, server generates customer temporary identity information,And send arrange cookie instruction to browser so that browser is stored in customer temporary identity informationIn cookie, and respond packet is sent to browser.
Wherein, customer temporary identity information is unique. Server is informed browser by set-cookie instructionCustomer temporary identity mark is set in corresponding browser cookie.
In one embodiment of the invention, in the page source code of response message that returns to browser, takeBe with corresponding enquiry module, this enquiry module is Javascript code.
In order to realize above-described embodiment, the present invention also proposes a kind of browser.
A kind of browser, comprising: sending module, for sending a request message to server; Receiver module,The response message sending according to request bag for reception server, wherein, response message comprises inquiry mouldPiece, for user's permanent identification of Query Browser and the storage of the relevant this locality of browser; And loadEnquiry module, for loading response message so that enquiry module obtains user's permanent identity from this locality storageIdentify and feed back to server.
Fig. 4 is the structural representation of browser according to an embodiment of the invention.
As shown in Figure 4, browser comprises: sending module 110, receiver module 120 and loading inquiry mouldPiece 130.
Particularly, sending module 110 is for sending a request message to server.
The response message that receiver module 120 sends according to request bag for reception server, wherein, responseMessage comprises enquiry module, for the user of Query Browser and the storage of the relevant this locality of browser foreverMark for a long time.
Local storage can comprise that the animate object storage FlashObject of Adobe, the user data of IE depositThis locality storage LocalStorage of storage UserData and Html5 etc. Those skilled in the art shouldUnderstand, local storage can also comprise other this locality storage or following other this locality storage, mainThe support of local storage browser.
In one embodiment of the invention, enquiry module can be Javascript code. Wherein, shouldJavascript code is loaded and carries out in browser, it will be understood by those of skill in the art that and looks intoAsking module can also be other Dynamic loading techniques realizations of similar Javascript.
Load enquiry module 130 for loading response message so that enquiry module obtains from this locality storageUser's permanent identification also feeds back to server.
According to the browser of the embodiment of the present invention, from this locality storage of browser support, obtain user permanentIdentify label, server uses this user's permanent identification identifying user identity, even one side userRemoved the User Identity in browser cookie, browser can obtain use from the storage of this localityFamily permanent identification, has promoted the stability of User Identity, and user visits before removing cookieThe user's Visitor Logs being recorded while asking server easily serviced device uses; Realize on the other handBrowser-cross identifying user identity, the user who uses multiple browsers on same equipment can be able to be markedKnow for same user.
Fig. 5 is the structural representation of the browser of a specific embodiment according to the present invention.
As shown in Figure 5, browser comprises: sending module 110, receiver module 120, loading inquiry mouldPiece 130, acquiring unit 131, traversal unit 132, the first judging unit 133, the second judging unit134, the first updating block 135, the second updating block 136, the 3rd judging unit 137, memory cell138 and encrypt memory cell 139.
In one embodiment of the invention, load enquiry module 130 and comprise acquiring unit 131, traversalUnit 132, the first judging unit 133, the second judging unit 134, the first updating block 135 andTwo updating blocks 136.
In one embodiment of the invention, load enquiry module 130 also comprise the 3rd judging unit 137,Memory cell 138 and encryption memory cell 139.
Particularly, acquiring unit 131 is for obtaining user's permanent identification of browser cookie,Wherein, user's permanent identification is encrypted, and acquiring unit 131 reads the user in cookieThe dynamic encryption data of permanent identification, therefrom decrypt user's permanent identification.
Traversal unit 132 is for traveling through each local storage.
The first judging unit 133 is for judging whether current local storage stores user's permanent identity markKnow.
The second judging unit 134 is used for judge current local storage storage at the first judging unit 133When family permanent identification, further judge user's permanent identification in current local storage andWhether the user's permanent identification in cookie is consistent. Wherein, in local storage, the user of storage is permanentIdentify label is also encrypted, if stored user's permanent identification in current local storage, theTwo judging units 134 need to be decrypted to obtain user's permanent identification.
When the first updating block 135 is consistent for judging at the second judging unit 134, according to current this localityUser's permanent identification in storage upgrades the user's permanent identification in all the other local storages.
When the second updating block 136 is inconsistent for judging at the second judging unit 134, to current this localityUser's permanent identification in storage is again deciphered and encrypts, and according to the permanent body of user after encryptingUser in user's permanent identification in part identification renewal cookie and all the other local storages is permanentIdentify label.
The 3rd judging unit 137 is for when after the each local storage of browser traversal and each local systemIn while all not storing user's permanent identification, judge user's permanent identification in cookie is whetherEffectively.
When memory cell 138 is effective for judging at the 3rd judging unit 137, by the user in cookiePermanent identification is stored in multiple local storages.
When encryption memory cell 139 is invalid for judging at the 3rd judging unit 137, obtain server anti-The customer temporary identity mark of feedback, and customer temporary identity mark is encrypted to obtain the permanent body of userPart mark, and user's permanent identification is stored in cookie and in multiple local storage. ItsIn, customer temporary identity is designated the unique string that server generates according to preset algorithm, for markUse browser access server user's identity.
In one embodiment of the invention, encrypt memory cell 139 also for: while obtaining current systemBetween stamp and random string, and to current system timestamp, random string and customer temporary identity markKnow and be encrypted to generate user's permanent identification. Should be appreciated that while encryption and can also comprise some itsHis necessary information.
According to the browser of the embodiment of the present invention, in this locality storage of browser renewal cookie and supportUser's permanent identification, has carried out immediate updating to user's permanent identification, even if user has removedUser Identity in browser cookie can also obtain user's permanent identity from the storage of this localityIdentify, promoted the stability of User Identity, realized browser-cross identifying user identity, canThe user who uses multiple browsers on same equipment can be designated to same user.
In order to realize above-described embodiment, the present invention also proposes a kind of server.
A kind of server, is characterized in that, comprising: receiver module, and for receiving asking of browser transmissionAsk message; Judge module, for judging whether described request message comprises described customer temporary identity letterBreath; And first sending module, for comprising described customer temporary identity letter in described judge module judgementWhen breath, obtain described user's permanent identification, and described in collecting according to described user's permanent identificationUser's behavioural information, and described respond packet is sent to described browser.
Fig. 6 is the structural representation of server according to an embodiment of the invention.
As shown in Figure 6, server comprises: receiver module 210, judge module 220, the first transmission mouldPiece 230 and the second sending module 240.
Particularly, the request message that receiver module 210 sends for receiving browser.
Judge module 220 is for judging whether request message comprises customer temporary identity information. Wherein,Customer temporary identity is designated the unique string that server generates according to preset algorithm, for identifying useBrowser access server user's identity.
When the first sending module 230 comprises customer temporary identity information for judging at judge module 220,Obtain user's permanent identification, and collect user's behavioural information according to user's permanent identification, withAnd respond packet is sent to browser. Wherein, the user's permanent identification in cookie has carried out dynamicallyEncrypt, after the first sending module 230 obtains, need to be decrypted.
The second sending module 240 is for judging and do not comprise customer temporary identity information at judge module 220Time, generate customer temporary identity information, and send and cookie instruction is set browses making to browserDevice is stored in customer temporary identity information in cookie, and respond packet is sent to browser.
Wherein, customer temporary identity information is unique. The second sending module 240 is by set-cookie instructionInform that browser is set to customer temporary identity mark in corresponding browser cookie.
In one embodiment of the invention, in the page source code of response message that returns to browser, takeBe with corresponding enquiry module, this enquiry module is Javascript code.
According to the server of the embodiment of the present invention, according to user's permanent identification, even if user has removedUser Identity in browser cookie, server can also obtain user's permanent identification,Promoted the stability of User Identity, user is recorded while removing before cookie access services deviceCan be the easily serviced device of user's Visitor Logs use.
In order to realize above-described embodiment, what the present invention also proposed a kind of browser-cross identifying user identity isSystem, comprising: the browser and server described in above-mentioned any one embodiment.
According to the system of the browser-cross identifying user identity of the embodiment of the present invention, the basis of supporting at browserIn ground storage, store user's permanent identification, server uses this user's permanent identification identifying userIdentity, even if on the one hand user has removed the User Identity in browser cookie, can also be fromIn local storage, obtain user's permanent identification, promoted the stability of User Identity, Yong HuqingExcept the user's Visitor Logs being recorded when access services device before cookie easily serviced device makeWith; Realize on the other hand browser-cross identifying user identity, can be multiple clear by using on same equipmentThe user of device of looking at can be designated same user.
Should be appreciated that each several part of the present invention can use hardware, software, firmware or their combination realExisting. In the above-described embodiment, multiple steps or method can be with being stored in memory and by suitableSoftware or firmware that instruction execution system is carried out are realized. For example, if realized with hardware, and separatelyThe same in one embodiment, can come with any one in following technology well known in the art or their combinationRealize: there is the discrete logic for data-signal being realized to the logic gates of logic function, toolThere is the special IC of suitable combinational logic gate circuit, programmable gate array (PGA), scene canProgramming gate array (FPGA) etc.
In the description of this description, reference term " embodiment ", " some embodiment ",The description of " example ", " concrete example " or " some examples " etc. means in conjunction with this embodiment or showsExample describe specific features, structure, material or feature be contained at least one embodiment of the present invention orIn example. In this manual, the schematic statement of above-mentioned term is not necessarily referred to identical enforcementExample or example. And specific features, structure, material or the feature of description can be any oneOr in multiple embodiment or example with suitable mode combination.
Although illustrated and described embodiments of the invention, those of ordinary skill in the art can manageSeparate: in the situation that not departing from principle of the present invention and aim, can carry out multiple change to these embodimentChange, amendment, replacement and modification, scope of the present invention is limited by claim and equivalent thereof.

Claims (14)

1. a method for browser-cross identifying user identity, is characterized in that, comprises the following steps:
Browser sends a request message to server;
Described browser receives the response message that described server sends according to described request message, wherein,Described response message comprises inquiry code, for inquiring about described browser and the relevant basis of described browserUser's permanent identification in ground storage; Wherein, the described browser of described inquiry and described browser are correlated withUser's permanent identification in local storage comprises:
Described browser loads described response message, permanent to obtain described user from described local storageIdentify label also feeds back to described server;
Described browser obtains the described user's permanent identification in described browser cookie;
The each described local storage of described browser traversal, and judge in current described local storage whether depositStore up described user's permanent identification;
If store described user's permanent identification in described current local storage, described browser entersOne step judges in described user's permanent identification in described current local storage and described cookieWhether described user's permanent identification is consistent;
If consistent, described browser is according to the described user's permanent identity in described current local storageIdentification renewal is the described user's permanent identification in local storage described in all the other;
If inconsistent, described browser is to the described user's permanent identity in described current local storageMark is again deciphered and encrypts, and described in upgrading according to the described user's permanent identification after encryptingDescribed user's permanent identification in cookie and described in all the other the described user in local storage is foreverIdentify label for a long time.
2. method according to claim 1, is characterized in that, described local storage comprises AdobeAnimate object storage FlashObject, the storage of subscriber data UserData of IE and this locality of Html5Storage LocalStorage.
3. method according to claim 1, is characterized in that, also comprises:
When not depositing after the each described local storage of described browser traversal and in each described local storageWhile storing up described user's permanent identification, described browser judges that described user in described cookie foreverWhether identify label is for a long time effective;
If effectively,, described browser is deposited the described user's permanent identification in described cookieStorage is to multiple described local storages; And
If invalid, described browser obtains the customer temporary identity mark of described server feedback, andDescribed customer temporary identity mark is encrypted to obtain described user's permanent identification, and described in inciting somebody to actionUser's permanent identification is stored in described cookie and in multiple described local storage.
4. method according to claim 3, is characterized in that, to described customer temporary identity markKnow and be encrypted to obtain described user's permanent identification, further comprise:
Described browser obtains current system timestamp and random string; And
Described browser is to described current system timestamp, described random string and the interim body of described userPart mark is encrypted to generate described user's permanent identification.
5. according to the method described in claim 1-4 any one, it is characterized in that described inquiry codeFor Javascript code.
6. method according to claim 5, is characterized in that, also comprises:
Described server judges in described request message, whether to comprise described customer temporary identity information;
If comprise described customer temporary identity information, described server obtains in described cookieDescribed user's permanent identification, and collect described user's behavior according to described user's permanent identificationInformation, and described response message is sent to described browser; And
If do not comprise described customer temporary identity information, described server generates the interim body of described userPart information, and send arrange cookie instruction to described browser to make described browser by described useFamily temporary identity information is stored in described cookie, and described response message is sent to described clearLook at device.
7. a browser, is characterized in that, comprising:
Sending module, for sending a request message to server;
Receiver module, the response message sending according to described request message for receiving described server, itsIn, described response message comprises inquiry code, relevant for inquiring about described browser and described browserThis locality storage in user's permanent identification; And
Load enquiry module, for loading described response message to obtain described use from described local storageFamily permanent identification also feeds back to described server, and wherein, described loading enquiry module comprises: obtainUnit, for obtaining described user's permanent identification of described browser cookie; Traversal unit,Be used for traveling through each described local storage; The first judging unit, for judging current described local storageWhether store described user's permanent identification; The second judging unit, at described the first judging unitJudge that while storing described user's permanent identification in described current local storage, further judgement is described works asDescribed user's permanent identification in front local storage and the permanent body of described user in described cookieWhether part mark is consistent; The first updating block, when consistent for judging at described the second judging unit, rootUpgrade described in all the other in local storage according to the described user's permanent identification in described current local storageDescribed user's permanent identification; The second updating block, for judging not at described the second judging unitWhen consistent, the described user's permanent identification in described current local storage is again deciphered and is encrypted,And upgrade described user in described cookie forever according to the described user's permanent identification after encryptingFor a long time identify label and the described user's permanent identification in local storage described in all the other.
8. browser according to claim 7, is characterized in that, described local storage comprises AdobeAnimate object storage FlashObject, the storage of subscriber data UserData of IE and this locality of Html5Storage LocalStorage.
9. browser according to claim 7, is characterized in that, also comprises:
The 3rd judging unit, for after storing when the each described this locality of described browser traversal and described in eachWhile all not storing described user's permanent identification in local storage, judge in described cookie described inWhether user's permanent identification is effective;
Memory cell, when effective for judging at described the 3rd judging unit, by described cookieDescribed user's permanent identification is stored in multiple described local storages; And
Encrypt memory cell, when invalid for judging at described the 3rd judging unit, obtain described serverThe customer temporary identity mark of feedback, and described in described customer temporary identity mark is encrypted to obtainUser's permanent identification, and described user's permanent identification is stored in described cookie andIn multiple described local storages.
10. browser according to claim 9, is characterized in that, described encryption memory cell alsoBe used for: obtain current system timestamp and random string, and to described current system timestamp, instituteState random string and described customer temporary identity mark and be encrypted to generate described user's permanent identityMark.
11. according to the browser described in claim 7-10 any one, it is characterized in that described inquiryCode is Javascript code.
The system of 12. 1 kinds of browser-cross identifying user identity, is characterized in that, comprising: claimBrowser and server described in 7-11 any one.
13. systems according to claim 12, is characterized in that, described server comprises:
Receiver module, the request message sending for receiving browser;
Judge module, for judging whether described request message comprises customer temporary identity information; And
The first sending module, for comprising described customer temporary identity information in described judge module judgementTime, obtain described user's permanent identification, and collect described use according to described user's permanent identificationThe behavioural information at family, and response message is sent to described browser.
14. systems according to claim 13, is characterized in that, described server also comprises:
The second sending module, for not comprising described customer temporary identity information in described judge module judgementTime, generate described customer temporary identity information, and send arrange cookie instruction to described browser withDescribed browser is stored in described customer temporary identity information in described cookie, and by instituteState response message and be sent to described browser.
CN201310202008.1A 2013-05-27 2013-05-27 Method, system and the browser of browser-cross identifying user identity Active CN103248631B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310202008.1A CN103248631B (en) 2013-05-27 2013-05-27 Method, system and the browser of browser-cross identifying user identity

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310202008.1A CN103248631B (en) 2013-05-27 2013-05-27 Method, system and the browser of browser-cross identifying user identity

Publications (2)

Publication Number Publication Date
CN103248631A CN103248631A (en) 2013-08-14
CN103248631B true CN103248631B (en) 2016-05-25

Family

ID=48927853

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310202008.1A Active CN103248631B (en) 2013-05-27 2013-05-27 Method, system and the browser of browser-cross identifying user identity

Country Status (1)

Country Link
CN (1) CN103248631B (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104468642B (en) * 2013-09-12 2019-07-05 腾讯科技(深圳)有限公司 Browser rs cache resource prediction method and system, reverse proxy device and browser
CN103714119B (en) * 2013-11-29 2017-04-05 北京奇虎科技有限公司 A kind for the treatment of method and apparatus of browser data
CN106933922A (en) * 2015-12-31 2017-07-07 北京国双科技有限公司 The method and apparatus for storing ID
CN111181912B (en) * 2019-08-27 2021-10-15 腾讯科技(深圳)有限公司 Browser identifier processing method and device, electronic equipment and storage medium
CN114650272A (en) * 2020-12-17 2022-06-21 上海嗨普智能信息科技股份有限公司 User unique identifier processing method, device, storage medium and computer device

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101482882A (en) * 2009-02-17 2009-07-15 阿里巴巴集团控股有限公司 Method and system for cross-domain treatment of COOKIE
CN102498497A (en) * 2009-08-04 2012-06-13 维萨美国公司 Systems and methods for targeted advertisement delivery
CN102638581A (en) * 2012-03-31 2012-08-15 奇智软件(北京)有限公司 Cookie information storage method and cookie information storage system
CN102682005A (en) * 2011-03-10 2012-09-19 阿里巴巴集团控股有限公司 Method and device for determining preference categories
CN102761573A (en) * 2011-04-28 2012-10-31 北京随视传媒科技有限公司 Media information user browsing behavioral data monitoring method
CN102831114A (en) * 2011-06-14 2012-12-19 北京思博途信息技术有限公司 Method and device for realizing statistical analysis on user access condition of Internet
CN102970284A (en) * 2012-11-05 2013-03-13 北京奇虎科技有限公司 User information processing method and server

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101375546B (en) * 2005-04-29 2012-09-26 甲骨文国际公司 System and method for fraud monitoring, detection, and tiered user authentication
US20120317620A1 (en) * 2011-06-13 2012-12-13 Aleksey Fefelov Website visitor identification algorithm

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101482882A (en) * 2009-02-17 2009-07-15 阿里巴巴集团控股有限公司 Method and system for cross-domain treatment of COOKIE
CN102498497A (en) * 2009-08-04 2012-06-13 维萨美国公司 Systems and methods for targeted advertisement delivery
CN102682005A (en) * 2011-03-10 2012-09-19 阿里巴巴集团控股有限公司 Method and device for determining preference categories
CN102761573A (en) * 2011-04-28 2012-10-31 北京随视传媒科技有限公司 Media information user browsing behavioral data monitoring method
CN102831114A (en) * 2011-06-14 2012-12-19 北京思博途信息技术有限公司 Method and device for realizing statistical analysis on user access condition of Internet
CN102638581A (en) * 2012-03-31 2012-08-15 奇智软件(北京)有限公司 Cookie information storage method and cookie information storage system
CN102970284A (en) * 2012-11-05 2013-03-13 北京奇虎科技有限公司 User information processing method and server

Also Published As

Publication number Publication date
CN103248631A (en) 2013-08-14

Similar Documents

Publication Publication Date Title
US11569982B2 (en) Blockchain compression using summary and padding blocks
CN103248631B (en) Method, system and the browser of browser-cross identifying user identity
US9730060B2 (en) Method and system for transfering profiles of authentication module
CN111260396B (en) Advertisement preloading method and device, electronic equipment and storage medium
US9282084B2 (en) Method and apparatus for provisioning a temporary identity module using a key-sharing scheme
CN110476444B (en) Network entity and method for identifier allocation and/or identifier mapping for network services
EP3070968A1 (en) Vehicle information processing system, method, vehicle-mounted device and storage medium
CN103069413A (en) Customizing content displayed for a user based on user preferences of another user
US20120259975A1 (en) Automatic provisioning of new users of interest for capture on a communication network
TW201310941A (en) Predictive placement of content through network analysis
CN102201928A (en) Alarm level processing method and alarm server
CN103765858B (en) Method and server for monitoring a user during browsing by the user within a communication network
CN114625976B (en) Data recommendation method, device, equipment and medium based on federal learning
CN114629902B (en) Sharing data between different service providers at the edge level through a collaboration channel
CN107291744A (en) It is determined that and with the method and device of the relationship between application program
CN107169094A (en) information aggregation method and device
US20120164974A1 (en) Method and Apparatus for Pre-Caching in a Telecommunication System
US20130191493A1 (en) System for accessing a set of communication and transaction data associated with a user of interest sourced from multiple different network carriers and for enabling multiple analysts to independently and confidentially access the set of communication and transaction data
CN110109766B (en) Data interaction method and device based on cross-department and cross-platform data sharing exchange
CN102741836A (en) Method and system for managing social notifications for mobile devices
CN103119911A (en) System and method for synchronizing the profile of a user in social networks and the user's personal contact card (PCC)
CN104038917A (en) Method and device for terminal roaming authentication
EP1909433A4 (en) METHOD AND SYSTEM FOR REALIZING ACCESS MANAGEMENT TO NETWORK DEVICES
WO2023231782A1 (en) Data integrity verification system
CN103685411A (en) Data sharing method and device in heterogeneous network

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant