CN106656542A - User identifier determination method and device - Google Patents

User identifier determination method and device Download PDF

Info

Publication number
CN106656542A
CN106656542A CN201510742866.4A CN201510742866A CN106656542A CN 106656542 A CN106656542 A CN 106656542A CN 201510742866 A CN201510742866 A CN 201510742866A CN 106656542 A CN106656542 A CN 106656542A
Authority
CN
China
Prior art keywords
numbering
account
cookie
party cookie
party
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.)
Granted
Application number
CN201510742866.4A
Other languages
Chinese (zh)
Other versions
CN106656542B (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 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 CN201510742866.4A priority Critical patent/CN106656542B/en
Publication of CN106656542A publication Critical patent/CN106656542A/en
Application granted granted Critical
Publication of CN106656542B publication Critical patent/CN106656542B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/02Standardisation; Integration
    • H04L41/0246Exchanging or transporting network management information using the Internet; Embedding network management web servers in network elements; Web-services-based protocols
    • H04L41/0253Exchanging or transporting network management information using the Internet; Embedding network management web servers in network elements; Web-services-based protocols using browsers or web-pages for accessing management information
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/955Retrieval from the web using information identifiers, e.g. uniform resource locators [URL]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/02Standardisation; Integration
    • H04L41/0246Exchanging or transporting network management information using the Internet; Embedding network management web servers in network elements; Web-services-based protocols
    • H04L41/0266Exchanging or transporting network management information using the Internet; Embedding network management web servers in network elements; Web-services-based protocols using meta-data, objects or commands for formatting management information, e.g. using eXtensible markup language [XML]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/14Network analysis or design

Abstract

The invention discloses a user identifier determination method and device. The method comprises the steps that the access log of a target website is acquired; the cookie information and the account ID are extracted from each access record of the access log; and the user identifier of each access record is determined according to the cookie information and the account ID. With application of the user identifier determination method and device, the technical problem that the user identifier cannot be accurately determined by only using the first-party cookie or the third-party cookie in the prior art can be solved.

Description

The determination method and apparatus of ID
Technical field
The application is related to computer realm, in particular to a kind of determination method and apparatus of ID.
Background technology
When currently carrying out data analysis to website, user behavior is analyzed, user must be identified first, so just be known A series of behavior and which user-association, in prior art, at present the method for the main flow of mark user is exactly to pass through Cookie is identified to user, that is, using cookie as user unique mark.Cookie is divided into first party again Cookie and third party cookie, usual first party cookie is extensively supported and used, but is related to cross-domain mark When, first party cookie is not accomplished.At this moment third party cookie can only be sought help from.Due to by environment such as browsers Affect, the receptance of third party cookie marks will be less than first party cookie.
By the above, otherwise in prior art using lack first party cookie of cross-domain identification function as ID, or using can provide cross-domain identification function, but the low third party cookie of the accuracy rate that receives makees For ID.
For above-mentioned problem, effective solution is not yet proposed at present.
The content of the invention
The embodiment of the present application provides a kind of determination method and apparatus of ID, at least to solve in prior art only The technical problem of ID cannot be accurately determined using first party cookie or third party cookie.
According to the one side of the embodiment of the present application, there is provided a kind of determination method of ID, including:Obtain mesh The access log of mark website;Access per bar from the access log and extract in record cookie information and account ID;With And access the ID of record according to the cookie information and account ID determine per bar.
Further, the cookie information includes first party cookie and third party cookie, wherein:From the visit Asking access per bar extraction cookie information and account ID in record of daily record includes:Carry from per access record described in bar Take ID, the ID of third party cookie and account ID of first party cookie;Successively to per access note described in bar Record is numbered, and by each described numbering and ID, third party cookie with corresponding first party cookie of the numbering ID and account ID stored;According to the cookie information and account ID determination are per bar Accessing the ID of record includes:According to each ID, third party cookie for numbering corresponding first party cookie ID and account ID determine corresponding to the numbering the access record ID.
Further, according to the corresponding ID of first party cookie of each described numbering, the ID of third party cookie with And account ID determines that the ID of the access record corresponding to the numbering includes:Judge that the numbering is right Whether there is data in the ID of the third party cookie for answering, and judge to whether there is data in account ID; Do not exist in data, and account ID in the ID for judging the corresponding third party cookie of the numbering In the case of there are data, the ID for determining the access record corresponding to the numbering is account ID.
Further, according to the corresponding ID of first party cookie of each described numbering, the ID of third party cookie with And account ID determines that the ID of the access record corresponding to the numbering also includes;Described in judging There is the situation that there are data in data, and account ID in the ID for numbering the corresponding third party cookie Under, the ID for determining the access record corresponding to the numbering is account ID.
Further, according to the corresponding ID of first party cookie of each described numbering, the ID of third party cookie with And account ID determines that the ID of the access record corresponding to the numbering also includes:Described in judging There are data in the ID for numbering the corresponding third party cookie, and judge there is no number in account ID According in the case of, the ID for determining the access record corresponding to the numbering is the third party cookie ID。
Further, according to the corresponding ID of first party cookie of each described numbering, the ID of third party cookie with And account ID determines that the ID of the access record corresponding to the numbering also includes:Described in judging Exist in data, and the data content of account ID not in numbering the ID of the corresponding third party cookie not In the case of there are data, the ID for determining the access record corresponding to the numbering is the first party The ID of cookie.
Further, in the ID according to each described ID for numbering corresponding first party cookie, third party cookie And account ID determines that methods described is also wrapped after the ID of the access record corresponding to the numbering Include:Each numbering and the ID corresponding with the numbering are stored in database.
According to the another aspect of the embodiment of the present application, there is provided a kind of determining device of ID, including:
Further, acquiring unit, for obtaining the access log of targeted website;Extraction unit, for from the visit Ask that accessing per bar for daily record extract in record cookie information and account ID;And determining unit, for according to described Cookie information and account ID are determined per the ID that record is accessed described in bar.
Further, the cookie information includes first party cookie and third party cookie, wherein:The extraction Unit includes:Subelement is extracted, for from per ID, the third party that extraction first party cookie in record is accessed described in bar The ID of cookie and account ID;Process subelement, for successively to per described in bar access record be numbered, And by each described numbering and ID, the ID of third party cookie with corresponding first party cookie of the numbering and Account ID is stored;The determining unit includes:Determination subelement, for according to each numbering correspondence First party cookie ID, the ID of third party cookie and account ID determine corresponding to the numbering The ID for accessing record.
Further, the determination subelement includes:Judge module, for judging the numbering the corresponding described 3rd Whether there is data in the ID of square cookie, and judge to whether there is data in account ID;First determines mould For there are no data in the ID for judging the corresponding third party cookie of the numbering and described in block In the case of there are data in account ID, the ID for determining the access record corresponding to the numbering is described Account ID.
Further, the determination subelement also includes;Second determining module, for judging the numbering correspondence The third party cookie ID in exist and there are data in data, and account ID in the case of, it is determined that The ID of the access record corresponding to the numbering is account ID.
Further, the determination subelement also includes:3rd determining module, for judging the numbering correspondence The third party cookie ID in there are data, and judge the situation that there are no data in account ID Under, the ID for determining the record of the access corresponding to the numbering is the ID of the third party cookie.
Further, the determination subelement also includes:4th determining module, for judging the numbering correspondence The third party cookie ID in do not exist and do not exist in data, and the data content of the account ID data In the case of, the ID for determining the access record corresponding to the numbering is first party cookie ID。
Further, the determination subelement also includes:Storing sub-units, for according to each numbering correspondence First party cookie ID, the ID of third party cookie and account ID determine corresponding to the numbering After the ID for accessing record, each numbering and the ID corresponding with the numbering are deposited Storage is in database.
In the embodiment of the present application, using the access log for obtaining targeted website;Access per bar from the access log Cookie information and account ID are extracted in record;According to the cookie information and account ID determination are per bar Access record ID, reached the purpose for accurately determining ID, so as to solve prior art in The technical problem of ID only cannot be accurately determined using first party cookie or third party cookie, is realized Improve the technique effect of the accuracy for determining ID.
Description of the drawings
Accompanying drawing described herein is used for providing further understanding of the present application, constitutes the part of the application, this Shen Schematic description and description please does not constitute the improper restriction to the application for explaining the application.In accompanying drawing In:
Fig. 1 is a kind of flow chart of the determination method of the ID according to the embodiment of the present application;And
Fig. 2 is a kind of schematic diagram of the determining device of the ID according to the embodiment of the present application.
Specific embodiment
In order that those skilled in the art more fully understand application scheme, below in conjunction with the embodiment of the present application Accompanying drawing, is clearly and completely described to the technical scheme in the embodiment of the present application, it is clear that described embodiment The only embodiment of the application part, rather than the embodiment of whole.Based on the embodiment in the application, ability The every other embodiment that domain those of ordinary skill is obtained under the premise of creative work is not made, all should belong to The scope of the application protection.
It should be noted that the description and claims of this application and the term " first " in above-mentioned accompanying drawing, " Two " it is etc. the object for distinguishing similar, without for describing specific order or precedence.It should be appreciated that this The data that sample is used can be exchanged in the appropriate case, so as to embodiments herein described herein can with except Here the order beyond those for illustrating or describing is implemented.Additionally, term " comprising " and " having " and they Any deformation, it is intended that covering is non-exclusive to be included, and for example, contains process, the side of series of steps or unit Method, system, product or equipment are not necessarily limited to those steps clearly listed or unit, but may include unclear List or other steps intrinsic for these processes, method, product or equipment or unit.
According to the embodiment of the present application, there is provided the embodiment of the method for a kind of determination method of ID, explanation is needed It is can to hold in the such as computer system of one group of computer executable instructions the step of the flow process of accompanying drawing is illustrated OK, and, although show logical order in flow charts, but in some cases, can be with different from herein Order perform shown or described step.
Fig. 1 is a kind of flow chart of the determination method of the ID according to the embodiment of the present application, as shown in figure 1, should Method includes step S102 to step S106, specific as follows:
Step S102, obtains the access log of targeted website.
Specifically, the visit of targeted website can by way of in the Website page deployment script of targeted website, be got Ask daily record.
Wherein, targeted website is the website for needing to analyze user behavior, can be arbitrary consumption website or video website Deng such as Jingdone district, Taobao, only Suning, product meeting, youku.com etc..
Step S104, accesses per bar from access log and extract in record cookie information and account ID.
Specifically, can be comprising first party cookie and third party cookie in cookie information.
Wherein, account ID (being also called strong account), user can be identified by it with point-device, but and is not allowed Easily get.
Step S106, the ID that record is accessed per bar is determined according to cookie information and account ID.
In the embodiment of the present application, by according to the cookie information comprising first party cookie and third party cookie and Account ID is determined in ID, with prior art jointly, only according to first party cookie or third party cookie Determine that ID is compared, can more accurately determine ID, so as to solve prior art in only utilize First party cookie or third party cookie cannot accurately determine the technical problem of ID, realize raising Determine the technique effect of the accuracy of ID.
Alternatively, in the embodiment of the present application, cookie information includes first party cookie and third party cookie, its In:
Access per bar from access log and extract in record cookie information and account ID including step S1041 to step S1043, it is specific as follows:
Step S1041, from access per bar extract in record the ID of first party cookie, third party cookie ID with And account ID.
Step S1043, is numbered successively to accessing record per bar, and by each numbering and corresponding with the numbering the ID, the ID of third party cookie of one side cookie and account ID are stored.
It is assumed that access record comprising 3 in access log, then can be with according to above-mentioned steps S1041 to step S1043 Obtain the data shown in table 1 below.
Table 1
Numbering cookieID cookie3rdID UserID
1 xxxx xxxx xxxxx
2 xxxx xxxx xxxxx
3 xxxx xxxx xxxxx
Wherein, cookieID represents that the ID of first party cookie, cookie3rdID represent the ID of third party cookie, UserID represents account ID.It should be noted that above-mentioned letter can also be removed from acquisition in record is accessed per bar by script Other information outside breath, other information equally can storage (" ... " for for example, illustrating in table 1 corresponding with numbering Content).
Determine that the ID that record is accessed per bar includes according to cookie information and account ID:It is right according to each numbering ID, the ID of third party cookie of first party cookie answered and account ID determine the corresponding access note of numbering The ID of record.
With reference to table 1, for example, the ID of first party cookie according to corresponding to numbering 1, the ID of third party cookie And account ID determines the ID of the access record corresponding to numbering 1.
In embodiments herein, by the way that first party cookie, third party cookie and account ID are combined Mode determining ID, first party cookie and third party's cookie pros and cons can be taken into account, reached one Step improves the technique effect for determining the accuracy and support region of ID across mark user.
Alternatively, according to ID, the ID of third party cookie and account of each corresponding first party cookie of numbering ID determines that the ID of the corresponding access record of numbering includes:Judge the ID of the corresponding third party cookie of numbering In whether there is data, and judge in account ID whether there is data, in other words, that is, judge that the numbering is right Whether the data of the ID of the third party cookie for answering lack, and judge whether the data of account ID lack.
Although ID, the ID of third party cookie and the account of above-mentioned first party cookie can be obtained by deployment script Family ID, but due to the reason such as being limited by browser, can get the ID's of first party cookie under normal circumstances Data, the data and the data of account ID of true possibly the ID for getting third party cookie that cannot be real, namely There is the situation of shortage of data with regard to the ID and account ID of third party cookie, therefore the judgement with regard to above-mentioned judgement is tied Fruit has following several situations, specific as follows:
Situation one, does not exist in data, and account ID in the ID for judging to number corresponding third party cookie In the case of there are data, it is determined that the ID of the corresponding access record of numbering is account ID.
Specifically, above-mentioned judged result can also be represented by following formula, specially:
If cookie3rdID=", and userID!=", then uvID=UserID.
Wherein, " shortage of data is represented, cookieID represents that the ID of first party cookie, cookie3rdID are represented The ID of third party cookie, UserID represent account ID, and uvID represents ID.
In the embodiment of the present application, there is provided when the cookieID of same user is inconsistent, determine ID Mode.It should be noted that the inconsistent cookie that are likely due to of the cookieID of same user are regenerated Caused by reason.
Situation two, exists in the ID for judging to number corresponding third party cookie and is deposited in data, and account ID In the case of data, the ID for determining the access record corresponding to the numbering is account ID.
Likewise, above-mentioned judged result can also be represented by following formula, specially:
If userID!=", and cookie3rdID!=", then uvID=userID.
In the embodiment of the present application, there is provided during mark cross-domain to same user, determine the mode of ID. It should be noted that when a User logs in A website, B websites are logged in again, A websites are different with the domain name of B websites, The user is identified as cross-domain mark.
, there are data in situation three, and judge account in the ID for judging to number corresponding third party cookie In the case of there are no data in ID, it is determined that the ID of the corresponding access record of numbering is third party cookie ID.
Likewise, above-mentioned judged result can also be represented by following formula, specially:
If userID=", and cookie3rdID!=", then uvID=cookie3rID.
In the embodiment of the present application, there is provided when identifying to part cross-domain user, determine the mode of ID.
, there are no data in the ID for judging to number corresponding third party cookie in situation four, and account ID In the case of there are no data in data content, it is determined that the ID of the corresponding access record of numbering is first party The ID of cookie.
Likewise, above-mentioned judged result can also be represented by following formula, specially:
If userID=", and cookie3rdID=", then uvID=cookieID.
By content, the method that scheme provided herein incorporates multiple determination ID is learnt from other's strong points to offset one's weaknesses, Not only support the cross-domain accuracy rate determined ID, also improve the ID determined.It should be noted that It is cross-domain to determine the acquisition that ID need to rely on third party's cookie information.
Alternatively, in ID, the ID of third party cookie and account according to each corresponding first party cookie of numbering Family ID determines that method also includes after the ID of the corresponding access record of numbering:By each numbering and with numbering Corresponding ID is stored in database.
Specifically, based on table 1, the data shown in table 2 below can be obtained.
Table 2
Data number Uvid
1 xxxx
2 xxxx
3 xxxx
It should be noted that access the other information got in record simply schematically illustrates a row in table 2, Represent there can be multiple row content with " ... ".
According to the embodiment of the present application, a kind of determining device of ID, the determining device of the ID are additionally provided For performing the determination method of the ID that the embodiment of the present application the above is provided, below to the embodiment of the present application The determining device of the ID for being provided does concrete introduction:
Fig. 2 is a kind of schematic diagram of the determining device of the ID according to the embodiment of the present application, as shown in Fig. 2 should Determining device mainly includes acquiring unit 21, extraction unit 23 and determining unit 25, wherein:
Acquiring unit 21 is used to obtain the access log of targeted website.Specifically, can be by the website in targeted website The mode of page deployment script, gets the access log of targeted website.
Extraction unit 23 is used to from access log to be accessed per bar extract in record cookie information and account ID.
Specifically, can be comprising first party cookie and third party cookie in cookie information.
Determining unit 25 is used to determine according to cookie information and account ID the ID that record is accessed per bar.
In the embodiment of the present application, by according to the cookie information comprising first party cookie and third party cookie and Account ID is determined in ID, with prior art jointly, only according to first party cookie or third party cookie Determine that ID is compared, can more accurately determine ID, so as to solve prior art in only utilize First party cookie or third party cookie cannot accurately determine the technical problem of ID, realize raising Determine the technique effect of the accuracy of ID.
Alternatively, in the embodiment of the present application, cookie information includes first party cookie and third party cookie, its In:
Extraction unit includes:Extract subelement, for from per article access the ID that first party cookie is extracted in record, the The ID and account ID of tripartite cookie;Process subelement, for successively to per bar access record be numbered, and By each numbering and ID, the ID of third party cookie and account ID of first party cookie corresponding with the numbering Stored.
Determining unit includes:Determination subelement, for according to the ID of each corresponding first party cookie of numbering, the 3rd The ID of square cookie and account ID determine the ID of the corresponding access record of numbering.
In embodiments herein, by the way that first party cookie, third party cookie and account ID are combined Mode determining ID, first party cookie and third party's cookie pros and cons can be taken into account, reached one Step improves the technique effect for determining the accuracy and support region of ID across mark user.
Alternatively, in the embodiment of the present application, determination subelement includes:
Judge module, for whether there is data in the ID for judging the corresponding third party cookie of numbering, and judges Whether there is data in account ID, in other words, that is, judge the ID of the corresponding third party cookie of the numbering Whether data lack, and judge whether the data of account ID lack.
Although ID, the ID of third party cookie and the account of above-mentioned first party cookie can be obtained by deployment script Family ID, but due to the reason such as being limited by browser, can get the ID's of first party cookie under normal circumstances Data, the data and the data of account ID of true possibly the ID for getting third party cookie that cannot be real, namely There is the situation of shortage of data with regard to the ID and account ID of third party cookie, therefore with regard to the above-mentioned judgement of judge module Judged result have following several situations, it is specific as follows:
Situation one, determination subelement also includes the first determining module.Wherein, the first determining module is used to judge to compile Do not exist in the ID of number corresponding third party cookie in the case of there are data in data, and account ID, it is determined that The ID of the corresponding access record of numbering is account ID.
In the embodiment of the present application, there is provided when the cookieID of same user is inconsistent, determine ID Mode.It should be noted that the inconsistent cookie that are likely due to of the cookieID of same user are regenerated Caused by reason.
Situation two, determination subelement also includes the second determining module.Wherein, the second determining module is used to judge to compile Exist in the ID of number corresponding third party cookie in the case of there are data in data, and account ID, it is determined that compiling The ID of the access record corresponding to number is account ID.
In the embodiment of the present application, there is provided during mark cross-domain to same user, determine the mode of ID. It should be noted that when a User logs in A website, B websites are logged in again, A websites are different with the domain name of B websites, The user is identified as cross-domain mark.
Situation three, determination subelement also includes the 3rd determining module.Wherein, the 3rd determining module is used to judge to compile There are data in the ID of number corresponding third party cookie, and in the case of judging to there are no data in account ID, It is determined that ID of the ID of the corresponding access record of numbering for third party cookie.
In the embodiment of the present application, there is provided when identifying to part cross-domain user, determine the mode of ID.
Situation four, determination subelement also includes the 4th determining module.Wherein, the 4th determining module is used to judge to compile Do not exist in the ID of number corresponding third party cookie and do not exist in data, and the data content of account ID data In the case of, it is determined that ID of the ID of the corresponding access record of numbering for first party cookie.
By content, the method that scheme provided herein incorporates multiple determination ID is learnt from other's strong points to offset one's weaknesses, Not only support the cross-domain accuracy rate determined ID, also improve the ID determined.It should be noted that It is cross-domain to determine the acquisition that ID need to rely on third party's cookie information.
Alternatively, device also includes:Storing sub-units, for according to each corresponding first party cookie of numbering ID, the ID of third party cookie and account ID determine accessing after the ID for recording corresponding to numbering, will Each is numbered and is stored in database with the corresponding ID of numbering.
The determining device of the ID includes processor and memory, above-mentioned acquiring unit, extraction unit and determination Unit etc. is stored in memory as program unit, by computing device storage said procedure list in memory Unit.
Kernel is included in processor, is gone in memory to transfer corresponding program unit by kernel.Kernel can arrange one Or more, solved in prior art only using first party cookie or third party cookie by adjusting kernel parameter The technical problem of ID cannot be accurately determined, the technology effect for improving the accuracy for determining ID is realized Really.
Memory potentially includes the volatile memory in computer-readable medium, random access memory (RAM) and/ Or the form, such as read-only storage (ROM) or flash memory (flash RAM) such as Nonvolatile memory, memory includes at least one Individual storage chip.
Present invention also provides a kind of embodiment of computer program, when performing on data processing equipment, fits In the program code for performing initialization there are as below methods step:Obtain the access log of targeted website;From the access day Accessing per bar for will extract in record cookie information and account ID;And according to the cookie information and the account Family ID is determined per the ID that record is accessed described in bar.
Above-mentioned the embodiment of the present application sequence number is for illustration only, does not represent the quality of embodiment.
In above-described embodiment of the application, the description to each embodiment all emphasizes particularly on different fields, and does not have in certain embodiment The part of detailed description, may refer to the associated description of other embodiment.
In several embodiments provided herein, it should be understood that disclosed technology contents, other can be passed through Mode realize.Wherein, device embodiment described above is only schematic, such as division of described unit, Can be a kind of division of logic function, can there is other dividing mode, such as multiple units or component when actually realizing Can with reference to or be desirably integrated into another system, or some features can be ignored, or not perform.It is another, institute The coupling each other for showing or discussing or direct-coupling or communication connection can be by some interfaces, unit or mould The INDIRECT COUPLING of block or communication connection, can be electrical or other forms.
The unit as separating component explanation can be or may not be it is physically separate, it is aobvious as unit The part for showing can be or may not be physical location, you can with positioned at a place, or can also be distributed to On multiple units.Some or all of unit therein can be according to the actual needs selected to realize this embodiment scheme Purpose.
In addition, each functional unit in the application each embodiment can be integrated in a processing unit, it is also possible to It is that unit is individually physically present, it is also possible to which two or more units are integrated in a unit.It is above-mentioned integrated Unit both can be realized in the form of hardware, it would however also be possible to employ the form of SFU software functional unit is realized.
If the integrated unit is realized using in the form of SFU software functional unit and as independent production marketing or used When, during a computer read/write memory medium can be stored in.Based on such understanding, the technical scheme of the application The part for substantially contributing to prior art in other words or all or part of the technical scheme can be produced with software The form of product is embodied, and the computer software product is stored in a storage medium, including some instructions are to make Obtain a computer equipment (can be personal computer, server or network equipment etc.) and perform each enforcement of the application The all or part of step of example methods described.And aforesaid storage medium includes:USB flash disk, read-only storage (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), portable hard drive, Magnetic disc or CD etc. are various can be with the medium of store program codes.
The above is only the preferred embodiment of the application, it is noted that for the ordinary skill people of the art For member, on the premise of without departing from the application principle, some improvements and modifications can also be made, these improve and moisten Decorations also should be regarded as the protection domain of the application.

Claims (10)

1. a kind of determination method of ID, it is characterised in that include:
Obtain the access log of targeted website;
Access per bar from the access log and extract in record cookie information and account ID;And
The ID of record is accessed according to the cookie information and account ID determination are per bar.
2. method according to claim 1, it is characterised in that the cookie information include first party cookie and Third party cookie, wherein:
Extraction cookie information and account ID in record are accessed per bar from the access log includes:
ID, the ID of third party cookie and the institute of first party cookie are extracted from per access record described in bar State account ID;
Successively to per described in bar access record be numbered, and by each numbering and with the numbering corresponding first ID, the ID of third party cookie of square cookie and account ID are stored;
The ID of record is accessed according to the cookie information and account ID determination are per bar to be included:
According to ID, ID of third party cookie of each corresponding first party cookie of the numbering and described Account ID determines the ID of the access record corresponding to the numbering.
3. method according to claim 2, it is characterised in that according to corresponding first party cookie of each described numbering ID, the ID of third party cookie and account ID determine corresponding to the numbering the access record ID include:
Judge in the ID of the corresponding third party cookie of the numbering with the presence or absence of data, and judge institute State and whether there is in account ID data;
There are no data in the ID for judging the corresponding third party cookie of the numbering, and it is described In the case of there are data in account ID, the ID for determining the record of the access corresponding to the numbering is Account ID.
4. method according to claim 3, it is characterised in that according to corresponding first party cookie of each described numbering ID, the ID of third party cookie and account ID determine corresponding to the numbering the access record ID also include;
There is data, and the account in the ID for judging the corresponding third party cookie of the numbering In the case of there are data in the ID of family, the ID for determining the access record corresponding to the numbering is institute State account ID.
5. method according to claim 3, it is characterised in that according to corresponding first party cookie of each described numbering ID, the ID of third party cookie and account ID determine corresponding to the numbering the access record ID also include:
There are data in the ID for judging the corresponding third party cookie of the numbering, and judge In the case of there are no data in account ID, the user of the access record corresponding to the numbering is determined It is designated the ID of the third party cookie.
6. method according to claim 3, it is characterised in that according to corresponding first party cookie of each described numbering ID, the ID of third party cookie and account ID determine corresponding to the numbering the access record ID also include:
There are no data in the ID for judging the corresponding third party cookie of the numbering, and it is described In the case of there are no data in the data content of account ID, the access record corresponding to the numbering is determined ID be first party cookie ID.
7. method according to claim 2, it is characterised in that according to the corresponding first party of each described numbering ID, the ID of third party cookie of cookie and account ID determine the visit corresponding to the numbering After asking the ID of record, methods described also includes:
Each numbering and the ID corresponding with the numbering are stored in database.
8. a kind of determining device of ID, it is characterised in that include:
Acquiring unit, for obtaining the access log of targeted website;
Extraction unit, extract in record cookie information and account ID for accessing per bar from the access log; And
Determining unit, for accessing record according to the cookie information and account ID determine per bar ID.
9. device according to claim 8, it is characterised in that the cookie information include first party cookie and Third party cookie, wherein:
The extraction unit includes:
Subelement is extracted, for from per ID, the third party that extraction first party cookie in record is accessed described in bar The ID of cookie and account ID;
Process subelement, for successively to per described in bar access record be numbered, and by each numbering and with institute State and number ID, the ID of third party cookie and account ID of corresponding first party cookie and deposited Storage;
The determining unit includes:
Determination subelement, for according to each ID, third party cookie for numbering corresponding first party cookie ID and account ID determine corresponding to the numbering the access record ID.
10. device according to claim 9, it is characterised in that the determination subelement includes:
Judge module, for whether there is number in the ID for judging the corresponding third party cookie of the numbering According to, and judge to whether there is data in account ID;
First determining module, in the ID for judging the corresponding third party cookie of the numbering not Exist in the case of there are data in data, and account ID, determine the visit corresponding to the numbering The ID for asking record is account ID.
CN201510742866.4A 2015-11-04 2015-11-04 method and device for determining user identification Active CN106656542B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510742866.4A CN106656542B (en) 2015-11-04 2015-11-04 method and device for determining user identification

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510742866.4A CN106656542B (en) 2015-11-04 2015-11-04 method and device for determining user identification

Publications (2)

Publication Number Publication Date
CN106656542A true CN106656542A (en) 2017-05-10
CN106656542B CN106656542B (en) 2019-12-10

Family

ID=58850926

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510742866.4A Active CN106656542B (en) 2015-11-04 2015-11-04 method and device for determining user identification

Country Status (1)

Country Link
CN (1) CN106656542B (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110231240A1 (en) * 2010-02-08 2011-09-22 Kent Matthew Schoen Communicating Information in a Social Network System about Activities from Another Domain
CN103297405A (en) * 2012-03-02 2013-09-11 阿里巴巴集团控股有限公司 User identification and information delivery method and device
CN104281717A (en) * 2014-10-31 2015-01-14 晶赞广告(上海)有限公司 Method for establishing massive ID mapping relation

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110231240A1 (en) * 2010-02-08 2011-09-22 Kent Matthew Schoen Communicating Information in a Social Network System about Activities from Another Domain
CN103297405A (en) * 2012-03-02 2013-09-11 阿里巴巴集团控股有限公司 User identification and information delivery method and device
CN104281717A (en) * 2014-10-31 2015-01-14 晶赞广告(上海)有限公司 Method for establishing massive ID mapping relation

Also Published As

Publication number Publication date
CN106656542B (en) 2019-12-10

Similar Documents

Publication Publication Date Title
US11463476B2 (en) Character string classification method and system, and character string classification device
CN104050178B (en) A kind of anti-cheat method of Internet surveillance and device
CN106708841B (en) The polymerization and device of website visitation path
CN110099059B (en) Domain name identification method and device and storage medium
CN106844132A (en) The fault repairing method and device of cluster server
CN106874165B (en) Webpage detection method and device
CN106570013A (en) Method and device for processing page access data
CN108235122A (en) The monitoring method and device of video ads
CN106933935A (en) task storage method and device
CN107563204B (en) Privacy disclosure risk assessment method for anonymous data
CN106611348A (en) Anomaly traffic detection method and apparus
CN106610994A (en) Method and device for counting click paths
CN109495562A (en) Obtain the method and device of device identification
CN103577585B (en) The identification method and device of user in internet
CN104484357B (en) Data processing method and device and visitation frequency information processing method and device
CN106790258A (en) A kind of method and system of screening server network request
CN106656542A (en) User identifier determination method and device
CN106933903A (en) It is applied to the storage method and device of distributed storage
CN106874299A (en) Page detection method and device
CN104426980B (en) A kind of method of router storage network user name password
CN106933920A (en) The screening technique and device of session
CN106708878B (en) Terminal identification method and device
CN108073588B (en) Column information extraction method and device
CN108446287A (en) Web page crawl method and device
CN106874298A (en) Page detection method and device

Legal Events

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

Address after: 100083 No. 401, 4th Floor, Haitai Building, 229 North Fourth Ring Road, Haidian District, Beijing

Applicant after: Beijing Guoshuang Technology Co.,Ltd.

Address before: 100086 Cuigong Hotel, 76 Zhichun Road, Shuangyushu District, Haidian District, Beijing

Applicant before: Beijing Guoshuang Technology Co.,Ltd.

GR01 Patent grant
GR01 Patent grant