CN109495562A - Obtain the method and device of device identification - Google Patents
Obtain the method and device of device identification Download PDFInfo
- Publication number
- CN109495562A CN109495562A CN201811334106.XA CN201811334106A CN109495562A CN 109495562 A CN109495562 A CN 109495562A CN 201811334106 A CN201811334106 A CN 201811334106A CN 109495562 A CN109495562 A CN 109495562A
- Authority
- CN
- China
- Prior art keywords
- list
- device identification
- devices
- equipment
- matched
- 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
Links
- 238000000034 method Methods 0.000 title claims abstract description 43
- 238000012216 screening Methods 0.000 claims abstract description 25
- 235000014510 cooky Nutrition 0.000 claims description 8
- 238000012545 processing Methods 0.000 claims description 6
- 230000008569 process Effects 0.000 description 9
- 230000000694 effects Effects 0.000 description 5
- 238000010168 coupling process Methods 0.000 description 3
- 238000005859 coupling reaction Methods 0.000 description 3
- 230000006870 function Effects 0.000 description 3
- 238000004891 communication Methods 0.000 description 2
- 230000008878 coupling Effects 0.000 description 2
- 235000013399 edible fruits Nutrition 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 241000208340 Araliaceae Species 0.000 description 1
- 235000005035 Panax pseudoginseng ssp. pseudoginseng Nutrition 0.000 description 1
- 235000003140 Panax quinquefolius Nutrition 0.000 description 1
- 230000008859 change Effects 0.000 description 1
- 210000001072 colon Anatomy 0.000 description 1
- 238000001914 filtration Methods 0.000 description 1
- 235000008434 ginseng Nutrition 0.000 description 1
- 238000012544 monitoring process Methods 0.000 description 1
- 238000005192 partition Methods 0.000 description 1
- 238000000926 separation method Methods 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/50—Network services
- H04L67/54—Presence management, e.g. monitoring or registration for receipt of user log-on information, or the connection status of the users
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L61/00—Network arrangements, protocols or services for addressing or naming
- H04L61/30—Managing network names, e.g. use of aliases or nicknames
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Information Transfer Between Computers (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
This application discloses a kind of method and devices for obtaining device identification.Wherein, this method comprises: obtaining log information, wherein log information includes: the plurality of devices mark of equipment, and different objects are accessed operation using different equipment;Based at least one list of devices, Screening Treatment is carried out to the plurality of devices mark of equipment, determines whether every kind of device identification is correctly to identify.When present application addresses accessing internet due to user, media end does not carry out that multiple device ids used by a user caused by the replacement of real device id are the same successfully, the technical problem of the calculating inaccuracy of UV.
Description
Technical field
This application involves device identification filtration arts, in particular to a kind of method and device for obtaining device identification.
Background technique
Some customized device ids are often received in log, such as _ IDFA_, _ IMEI_, { IDFA }, %IMEI% etc.
The device id value of macrodefinition format.The device id for generating these macrodefinition formats has a lot of reasons, and main cause is visited in user
When asking internet, media end does not carry out the replacement of real device id successfully, causes multiple device ids used by a user the same;
There are also one kind the reason is that media or other SDK have returned the default value of some equipment, such as the default value 00000000- of IDFA
The default value 000000000000000 of 0000-0000-0000-000000000000, IMEI, also resulting in multiple users is made
Device id is the same, then the calculating of UV (Unique Visitor, abbreviation UV) will be inaccurate, UV, which refers to, passes through internet
Access, the natural person for browsing webpage.
For above-mentioned problem, currently no effective solution has been proposed.
Summary of the invention
The embodiment of the present application provides a kind of method and device for obtaining device identification, at least to solve to access due to user
When internet, it is the same that media end does not carry out multiple device ids used by a user caused by the replacement of real device id successfully,
The technical problem of the calculating inaccuracy of UV.
According to the one aspect of the embodiment of the present application, a kind of method for obtaining device identification is provided, comprising: obtain log
Information, wherein log information includes: the plurality of devices mark of equipment, and different objects are accessed operation using different equipment;
Based at least one list of devices, Screening Treatment is carried out to the plurality of devices mark of equipment, determine every kind of device identification whether be
Correct mark.
Optionally, list of devices is blacklist or white list, wherein list of devices includes at least one following: IDFA column
Table, OpenUdid list, IMEI list, AndroidID list, Mac list.
Optionally, in the case where each list of devices is blacklist, wherein at least one list of devices is based on, to setting
Standby plurality of devices mark carries out Screening Treatment, determines whether every kind of device identification is correctly to identify, comprising: will be with type equipment
Mark is successively matched with same type list of devices;Identification information is matched to from same type list of devices in device identification
In the case of, determine that the device identification for being successfully matched to identification information is invalid mark.
Optionally, in the case where device identification is not matched to corresponding identification information from same type list of devices,
Determine that the device identification for not being successfully matched to identification information is correctly to identify, and determine and carry out UV meter using the device identification
It calculates.
Optionally, during device identification successively carries out matched with same type list of devices, if first appeared
The case where with failure, determines that the device identification that it fails to match is correctly to identify, and determine and carry out UV meter using the device identification
It calculates, device identification is no longer matched with other equipment list.
Optionally, in the case where each list of devices is white list, wherein at least one list of devices is based on, to setting
Standby plurality of devices mark carries out Screening Treatment, determines whether every kind of device identification is correctly to identify, comprising: will be with type equipment
Mark is successively matched with same type list of devices;Corresponding mark is matched to from same type list of devices in device identification
In the case where information, determine that the device identification for being successfully matched to identification information is correctly to identify, and determine and use the equipment mark
Know and carries out UV calculating.
Optionally, in the case where device identification is not matched to corresponding identification information from same type list of devices,
Determine that the device identification for not being successfully matched to identification information is invalid mark.
Optionally, during device identification successively carries out matched with same type list of devices, if first appeared
With successful situation, determine that the device identification of successful match is correctly to identify, and determine and carry out UV meter using the device identification
It calculates, device identification is no longer matched with other equipment list.
Optionally, it is based at least one list of devices, Screening Treatment is carried out to the plurality of devices mark of equipment, determines every kind
Whether device identification is correctly to identify, comprising: matches the device identification of equipment with IDFA list;With IDFA list
In the case where with success, the device identification of equipment is continued to match with OpenUdid list;With OpenUdid list
In the case where with success, the device identification of equipment is continued to match with IMEI list;Successful with IMEI list match
In the case of, the device identification of equipment is continued to match with AndroidID list;Successful with AndroidID list match
In the case where, the device identification of equipment is continued to match with Mac list;With in the successful situation of Mac list match, make
UV calculating is carried out with COOKIE.
According to the another aspect of the embodiment of the present application, a kind of device for obtaining device identification is additionally provided, comprising: obtain mould
Block, for obtaining log information, wherein log information includes: the plurality of devices mark of equipment, and different objects are set using different
The standby operation that accesses;Processing module screens the plurality of devices mark of equipment for being based at least one list of devices
Processing, determines whether every kind of device identification is correctly to identify.
Optionally, list of devices is blacklist or white list, wherein list of devices includes at least one following: IDFA column
Table, OpenUdid list, IMEI list, AndroidID list, Mac list.
Optionally, in the case where each list of devices is blacklist, wherein at least one list of devices is based on, to setting
Standby plurality of devices mark carries out Screening Treatment, determines whether every kind of device identification is correctly to identify, comprising: the first matching mould
Block will successively be matched with same type list of devices with type device identification;First determining module, for device identification from
In the case where being matched to corresponding identification information in type list of devices, the device identification for being successfully matched to identification information is determined
For invalid mark.
Optionally, above-mentioned apparatus further include: the second determining module, for not having from same type list of devices in device identification
In the case where being matched to corresponding identification information, determine that the device identification for not being successfully matched to identification information is correctly to mark
Know, and determines and carry out UV calculating using the device identification.
Optionally, above-mentioned apparatus further include: third determining module, for device identification successively with same type list of devices
Carry out it is matched during, if first appearing the case where it fails to match, determine that the device identification that it fails to match is correct mark
Know, and determine and carry out UV calculating using the device identification, device identification is no longer matched with other equipment list.
Optionally, in the case where each list of devices is white list, wherein at least one list of devices is based on, to setting
Standby plurality of devices mark carries out Screening Treatment, determines whether every kind of device identification is correctly to identify, above-mentioned apparatus further include: the
Two matching modules, for successively matching same type device identification with same type list of devices;4th determining module, is used for
In the case where device identification is matched to corresponding identification information from same type list of devices, determines and be successfully matched to mark letter
The device identification of breath is correctly to identify, and determine and carry out UV calculating using the device identification.
Optionally, above-mentioned apparatus further include: the 5th determining module, for not having from same type list of devices in device identification
In the case where being matched to corresponding identification information, determine that the device identification for not being successfully matched to identification information is invalid mark
Know.
Optionally, above-mentioned apparatus further include: the 6th determining module, for device identification successively with same type list of devices
Carry out it is matched during, if the case where first appearing successful match, determine successful match device identification be correctly mark
Know, and determine and carry out UV calculating using the device identification, device identification is no longer matched with other equipment list.
Optionally, above-mentioned apparatus further include: third matching module, for the device identification of equipment and IDFA list to be carried out
Matching;With in the successful situation of IDFA list match, the device identification of equipment is continued to match with OpenUdid list;
With in the successful situation of OpenUdid list match, the device identification of equipment is continued to match with IMEI list;With
In the successful situation of IMEI list match, the device identification of equipment is continued to match with AndroidID list;With
In the successful situation of AndroidID list match, the device identification of equipment is continued to match with Mac list;Computing module,
For carrying out UV calculating using COOKIE in the successful situation of Mac list match.
According to the embodiment of the present application in another aspect, additionally providing a kind of storage medium, storage medium includes the journey of storage
Sequence, wherein the method that equipment when program is run where control storage medium executes above acquisition device identification.
According to the embodiment of the present application in another aspect, additionally providing a kind of processor, processor is used to run program,
In, program run when more than acquisition device identification method.
In the embodiment of the present application, using acquisition log information, wherein log information includes: the plurality of devices mark of equipment
Know, different objects are accessed operation using different equipment;Based at least one list of devices, to the plurality of devices mark of equipment
Know and carry out Screening Treatment, determine whether every kind of device identification is the mode correctly identified, is arranged by a preset equipment
Table screens the device identification of the mobile device of the access internet of acquisition, removes invalid device identification, makes these nothings
The device identification of effect is not involved in final UV and calculates, thus during realizing and calculating UV, makes being accurately calculated for UV
Technical effect, so solve due to user access internet when, the replacement that media end does not carry out real device id successfully is made
At multiple device ids used by a user it is the same, UV calculating inaccuracy technical problem.
Detailed description of the invention
The drawings described herein are used to provide a further understanding of the present application, constitutes part of this application, this Shen
Illustrative embodiments and their description please are not constituted an undue limitation on the present application for explaining the application.In the accompanying drawings:
Fig. 1 is the flow chart according to a kind of method of acquisition device identification of the embodiment of the present application;
Fig. 2 is the flow chart according to another method for obtaining device identification of the embodiment of the present application;
Fig. 3 is the structure chart according to a kind of device of acquisition device identification of the embodiment of the present application;
Fig. 4 is the structure chart according to another device for obtaining device identification of the embodiment of the present application;
Fig. 5 is the structure chart according to another device for obtaining device identification of the embodiment of the present application;
Fig. 6 is the structure chart according to another device for obtaining device identification of the embodiment of the present application.
Specific embodiment
In order to make those skilled in the art more fully understand application scheme, below in conjunction in the embodiment of the present application
Attached drawing, the technical scheme in the embodiment of the application is clearly and completely described, it is clear that described embodiment is only
The embodiment of the application a part, instead of all the embodiments.Based on the embodiment in the application, ordinary skill people
Member's every other embodiment obtained without making creative work, all should belong to the model of the application protection
It encloses.
It should be noted that the description and claims of this application and term " first " in above-mentioned attached drawing, "
Two " etc. be to be used to distinguish similar objects, without being used to describe a particular order or precedence order.It should be understood that using in this way
Data be interchangeable under appropriate circumstances, so as to embodiments herein described herein can in addition to illustrating herein or
Sequence other than those of description is implemented.In addition, term " includes " and " having " and their any deformation, it is intended that cover
Cover it is non-exclusive include, for example, the process, method, system, product or equipment for containing a series of steps or units are not necessarily limited to
Step or unit those of is clearly listed, but may include be not clearly listed or for these process, methods, product
Or other step or units that equipment is intrinsic.
According to the embodiment of the present application, a kind of embodiment of the method for obtaining device identification is provided, it should be noted that attached
The step of process of figure illustrates can execute in a computer system such as a set of computer executable instructions, though also,
So logical order is shown in flow charts, but in some cases, it can be to be different from shown by sequence execution herein
Or the step of description.
Fig. 1 is according to a kind of flow chart of the method for acquisition device identification of the embodiment of the present application, as shown in Figure 1, the party
Method includes the following steps:
Step S102 obtains log information, wherein log information includes: the plurality of devices mark of equipment, and different objects make
It is accessed operation with different equipment.
UV is the abbreviation of Unique Visitor, refers to through internet access, browses the natural person of this webpage, at this
In application, a mobile device ID is considered as a natural person.UV is the concept for being able to reflect actual use person, each
UV more accurately corresponds to an actual viewer relative to each IP.Use UV as statistic, it can be more accurately
Understand the actually excessively corresponding Webpage of how many Accessor Access in the unit time.
During actually calculating UV, often due to media end does not carry out successfully true when user accesses internet
The replacement of positive device id, causes multiple device ids used by a user the same, then the calculating of UV will be inaccurate, it can be than true
User's amount of access is reduced, it is therefore desirable to the invalid equipment of those device ids is masked, to make being accurately calculated for UV.
Step S104 is based at least one list of devices, carries out Screening Treatment to the plurality of devices mark of equipment, determines every
Whether kind device identification is correctly to identify.
In some optional embodiments of the application, when different user accesses internet by different mobile devices,
The device identification of different mobile devices will record in log, after obtaining the device identification in log, be arranged by an equipment
Table screens the device identification of acquisition, removes invalid device identification.Wherein, it is stored in list of devices a plurality of types of
Device identification.
Through the above steps, by a preset list of devices to the mobile device of the access internet of acquisition
Device identification is screened, and invalid device identification is removed, and the device identification for keeping these invalid is not involved in final UV and calculates, can
To realize during calculating UV, make the technical effect of UV being accurately calculated.
In some optional embodiments of the application, list of devices in step S104 is blacklist or white list,
In, list of devices includes at least one following: IDFA list, OpenUdid list, IMEI list, AndroidID list, Mac
List.
IDFA (Identifiter For Advertising, abbreviation IDFA), be one with equipment relevant unique identification
Symbol, the advertisement that can be used to get through between different app.Such as we searched in Taobao some commodity and then with browsing
When device removes browsing webpage, the advertisement of that webpage will show the advertisement of that corresponding commodity to us.IDFA is one
32 character strings of a 16 system, can be used for Ad Track.
UDID (Unique Device Identifier, abbreviation UDID), is the unique device identifier of equipment, mobile wide
It accuses quotient and gaming network operator generally requires to identify player user by UDID, and User Activity is tracked.
OpenUdid is an open source solution of UDID.
IMEI (International Mobile Equipment Identity, abbreviation IMEI), is international mobile device
The abbreviation of identification code is commonly called as " mobile phone string number ", for identifying each independent mobile phone in GSN mobile network, is equivalent to hand
The ID card No. of machine.
AndroidID is a 64bit (16BYTES) number generated when android system starts for the first time, if equipment
After being restored by wipe, which will be reset (i.e. AndroidID can change).
Mac list refers to MAC Address list, and MAC is the abbreviation of Media Access Control Address, and media are visited
Ask control address, also referred to as ethernet address, each mobile device possesses unique MAC Address.
In the embodiment of the present application, device identification includes but is not limited to above-mentioned IDFA value, OpenUdid value, IMEI value,
AndroidID value, MAC Address.
In some optional embodiments of the application, in the case where each list of devices is blacklist, wherein be based on
At least one list of devices carries out Screening Treatment to the plurality of devices of equipment mark, determine every kind of equipment device identification whether
Correctly to identify, comprising: will successively be matched with same type list of devices with type device identification;In device identification from of the same race
In the case where being matched to corresponding identification information in class list of devices, determine that the device identification for being successfully matched to identification information is nothing
The mark of effect.
In some optional embodiments of the application, it is not matched to from same type list of devices pair in device identification
In the case where the identification information answered, determine that the device identification for not being successfully matched to identification information is correctly to identify, and determine
UV calculating is carried out using the device identification.
It should be noted that the armamentarium mark of only mobile device is all present in blacklist list of devices, ability
Determine that the equipment is the invalid equipment of device identification, for example the IDFA mark of an equipment, OpenUdid mark, IMEI are identified,
AndroidID is identified in blacklist list of devices, illustrates the IDFA mark of the equipment, OpenUdid mark, and IMEI is identified,
AndroidID is identified as invalid device identification, but the MAC Address of the equipment identifies not in blacklist list of devices, according to
So UV calculating can be carried out with the MAC Address of the equipment, therefore, which is still used as the correct equipment processing of device identification.
In some optional embodiments of the application, successively carried out with same type list of devices in device identification matched
In the process, if first appearing the case where it fails to match, determine that the device identification that it fails to match is correctly to identify, and determination makes
UV calculating is carried out with the device identification, device identification is no longer matched with other equipment list.
It should be noted that when successively being matched with list of devices using the device identification of acquisition, when first appearing
The case where it fails to match illustrates that the device identification that it fails to match is correct device identification, can be used for carrying out UV calculating, be somebody's turn to do
The other equipment mark of equipment is no longer matched with other equipment list, can reduce in data handling procedure by the step
Calculation amount.
According to an optional embodiment of the application, in the case where each list of devices is white list, wherein be based on
At least one list of devices carries out Screening Treatment to the plurality of devices mark of equipment, determines whether every kind of device identification is correct
Mark, comprising: will successively be matched with same type list of devices with type device identification;In device identification from same type equipment
In the case where being matched to corresponding identification information in list, determine that the device identification for being successfully matched to identification information is correctly to mark
Know, and determines and carry out UV calculating using the device identification.
According to an optional embodiment of the application, it is not matched to from same type list of devices pair in device identification
In the case where the identification information answered, determine that the device identification for not being successfully matched to identification information is invalid mark.
It should be noted that any one device identification of mobile device is located in white list list of devices, just can determine that
The equipment be the correct equipment of device identification, as long as such as equipment IDFA mark, OpenUdid mark, IMEI mark,
AndroidID is identified, any one device identification is located in white list list of devices in MAC Address mark, so that it may which utilizing should
Device identification carries out UV calculating, and in other words, only the armamentarium of mobile device identifies all not in white list list of devices,
Just illustrate that the equipment is the invalid equipment of device identification.
According to an optional embodiment of the application, successively carried out with same type list of devices in device identification matched
In the process, if the case where first appearing successful match, determine that the device identification of successful match is correctly to identify, and determination makes
UV calculating is carried out with the device identification, device identification is no longer matched with other equipment list.
It should be noted that working as head when the device identification using acquisition is successively matched with same type list of devices
It is secondary the case where successful match occur, illustrate that the device identification of the successful match is correctly to identify, can be used for carrying out UV calculating,
The other equipment mark of the equipment is no longer matched with other equipment list, can reduce data handling procedure by the step
In calculation amount.
In some optional embodiments of the application, it is based at least one list of devices, to the plurality of devices mark of equipment
Know and carry out Screening Treatment, determines whether every kind of device identification is correctly to identify, comprising: by the device identification of equipment and IDFA list
It is matched;With in the successful situation of IDFA list match, the device identification of equipment is continued to carry out with OpenUdid list
Matching;With in the successful situation of OpenUdid list match, the device identification of equipment is continued to match with IMEI list;
With in the successful situation of IMEI list match, the device identification of equipment is continued to match with AndroidID list;With
In the successful situation of AndroidID list match, the device identification of equipment is continued to match with Mac list;It is arranged with Mac
In the case where table successful match, UV calculating is carried out using COOKIE.
Fig. 2 is according to the flow chart of another method for obtaining device identification of the embodiment of the present application, such as Fig. 2, the process
The following steps are included:
Step S1: start;
Step S2: blacklist is loaded;
Invalid device identification is added in list of devices by step S2, wherein invalid device identification (blacklist)
It mainly include following several types: the default value of system equipment ID;Default value removes colon, removes the variant of " _ ";The macro ginseng of monitoring code
Number default value;Variant of other companies to default value.In addition, invalid device identification further includes the excessively high implementor name of frequency of occurrence
It is single, the forgery list of commonly used equipment.Blacklist file format is as shown below:
Base=$ IMP_CB
Idfa=IDFA, 00000000-0000-0000-0000-000000000000,000000000000-0000-
0000-0000-00000000,
OpenUdid=UDID, OUID
Imei=IMEI, 000000000000000,111111111111111
AndroidID=ANDROIDID, 9774d56d682e549c
Mac=MAC, 02:00:00:00:00:00,02%3A00%3A00%3A00%3A00%3A00,
020000000000,2251CD3BA50F91633780758C5F9909E3
S3 reads the mobile device ID in log;
Different types of device identification in log is read, different types of device identification is selected successively to arrange with equipment in order
Device identification in table is matched.
S4 judges that device id length is eligible and not in IDFA blacklist list, specifically, if the IDFA of equipment
Length is eligible, and not in IDFA blacklist list, it is determined that the IDFA is identified as qualified IDFA mark, and executes step
Rapid S9, selects this ID to be further processed, that is, determines that IDFA mark can be calculated eventually for UV;If the IDFA long of equipment
Spend it is ineligible, or in IDFA blacklist list, it is determined that the IDFA is identified as invalid IDFA mark, executes step
S5。
S5 judges that device id length is eligible and not in OpenUdid blacklist list, specifically, if equipment
OpenUdid length is eligible, and not in OpenUdid blacklist list, it is determined that the OpenUdid is identified as qualified
OpenUdid mark, and step S9 is executed, it selects this ID to be further processed, that is, determines that OpenUdid mark can be used finally
It is calculated in UV;If the OpenUdid length violation of equipment closes condition, or in OpenUdid blacklist list, it is determined that should
OpenUdid is identified as invalid OpenUdid mark, executes step S6.
S6 judges that device id length is eligible and not in IMEI blacklist list, specifically, if the IMEI of equipment
Length is eligible, and not in IMEI blacklist list, it is determined that the IMEI is identified as qualified IMEI mark, and executes step
Rapid S9, selects this ID to be further processed, that is, determines that IMEI mark can be calculated eventually for UV;If the IMEI long of equipment
Spend it is ineligible, or in IMEI blacklist list, it is determined that the IMEI is identified as invalid IMEI mark, executes step
S7。
S7 judges that device id length is eligible and not in AndroidID blacklist list, specifically, if equipment
AndroidID length it is eligible, and not in AndroidID blacklist list, it is determined that the AndroidID is qualified
AndroidID, and step S9 is executed, it selects this ID to be further processed, that is, determines that the AndroidID can be counted eventually for UV
It calculates;If the AndroidID length violation of equipment closes condition, or in AndroidID blacklist list, it is determined that should
AndroidID is invalid AndroidID, executes step S8.
S8 judges that device id length is eligible and not in Mac blacklist list, specifically, if the Mac long of equipment
Spend it is eligible, and not in Mac blacklist list, it is determined that the Mac is identified as qualified Mac mark, and executes step S9,
It selects this ID to be further processed, that is, determines that Mac mark can be calculated eventually for UV;If the Mac length violation of equipment
Conjunction condition, or in Mac blacklist list, it is determined that the Mac is identified as invalid Mac mark, then is carried out using COOKIE
UV is calculated.COOKIE refers to the data being stored on user local terminal, and certain websites are in order to distinguish that user identity carries out
Session (session control) is tracked and is stored in the data on user local terminal, generally goes through encryption, and also referred to as browser is slow
It deposits.
S9: this ID is selected to be further processed;
S10 terminates.
Through the above steps, the device identification in the log of acquisition is screened by list of devices, it is invalid to remove
Device identification, the device identification for avoiding these invalid participate in UV and calculate, and cause UV calculated result inaccurate.
Fig. 3 is according to a kind of structure chart of the device of acquisition device identification of the embodiment of the present application, as shown in figure 3, the dress
It sets and includes:
Module 30 is obtained, for obtaining log information, wherein log information includes: the plurality of devices mark of equipment, different
Object is accessed operation using different equipment.
Processing module 32 carries out Screening Treatment to the plurality of devices mark of equipment for being based at least one list of devices,
Determine whether every kind of device identification is correctly to identify.
It should be noted that the correlation that the preferred embodiment of embodiment illustrated in fig. 3 may refer to embodiment illustrated in fig. 1 is retouched
It states, details are not described herein again.
In some optional embodiments of the application, above equipment list is blacklist or white list, wherein equipment column
Table includes at least one following: IDFA list, OpenUdid list, IMEI list, AndroidID list, Mac list.
Fig. 4 is according to the structure chart of another device for obtaining device identification of the embodiment of the present application, as shown in figure 4, should
Device further include:
First matching module 34, for will successively be matched with same type list of devices with type device identification.
First determining module 36, for being matched to corresponding identification information from same type list of devices in device identification
In the case of, determine that the device identification for being successfully matched to identification information is invalid mark.
Second determining module 38, for being not matched to corresponding mark letter from same type list of devices in device identification
In the case where breath, determine that the device identification for not being successfully matched to identification information is correctly to identify, and determine and use the equipment
Mark carries out UV calculating.
Third determining module 40 is used for during device identification successively carries out matched with same type list of devices, such as
Fruit first appears the case where it fails to match, determines that the device identification that it fails to match is correctly to identify, and determine and use the equipment
Mark carries out UV calculating, and device identification is no longer matched with other equipment list.
It should be noted that embodiment illustrated in fig. 4 is to be based at least one in the case where each list of devices is blacklist
A list of devices carries out Screening Treatment to the plurality of devices mark of equipment, determines whether every kind of device identification correctly identifies
Process.
Fig. 5 is according to the structure chart of another device for obtaining device identification of the embodiment of the present application, as shown in figure 5, should
Device further include:
Second matching module 42, for successively matching same type device identification with same type list of devices.
4th determining module 44, for being matched to corresponding identification information from same type list of devices in device identification
In the case of, determine that the device identification for being successfully matched to identification information is correctly to identify, and determine and carry out using the device identification
UV is calculated.
5th determining module 46, for being not matched to corresponding mark letter from same type list of devices in device identification
In the case where breath, determine that the device identification for not being successfully matched to identification information is invalid mark.
6th determining module 48 is used for during device identification successively carries out matched with same type list of devices, such as
Fruit first appears the case where successful match, and the equipment for determining successful match is that device identification is correctly to identify, and determine and use
The device identification carries out UV calculating, and device identification is no longer matched with other equipment list.
It should be noted that embodiment illustrated in fig. 5 is to be based at least one in the case where each list of devices is white list
A list of devices carries out Screening Treatment to the plurality of devices mark of equipment, determines whether every kind of device identification correctly identifies
Process.
Fig. 6 is according to the structure chart of another device for obtaining device identification of the embodiment of the present application, as shown in fig. 6, should
Device further include:
Third matching module 50, for matching the device identification of equipment with IDFA list;With IDFA list
In the case where with success, the device identification of equipment is continued to match with OpenUdid list;With OpenUdid list
In the case where with success, the device identification of equipment is continued to match with IMEI list;Successful with IMEI list match
In the case of, the device identification of equipment is continued to match with AndroidID list;Successful with AndroidID list match
In the case where, the device identification of equipment is continued to match with Mac list.
Computing module 52, for carrying out UV calculating using COOKIE in the successful situation of Mac list match.
It should be noted that embodiment illustrated in fig. 6 is to be based at least one in the case where each list of devices is blacklist
A list of devices carries out Screening Treatment to the plurality of devices mark of equipment, determines whether every kind of device identification correctly identifies
Process.
The embodiment of the present application also provides a kind of storage medium, storage medium includes the program of storage, wherein program operation
When control storage medium where the equipment method that executes above acquisition device identification.
Above-mentioned storage medium is used to store the program for executing following functions: obtaining log information, wherein log information packet
Include: the plurality of devices of equipment mark, different objects are accessed operation using different equipment;It is arranged based at least one equipment
Table carries out Screening Treatment to the plurality of devices mark of equipment, determines whether every kind of device identification is correctly to identify.
The embodiment of the present application also provides a kind of processor, processor is for running program, wherein program executes when running
The method of above acquisition device identification.
Above-mentioned processor is used to execute the program of following functions: obtaining log information, wherein log information includes: equipment
Plurality of devices mark, different objects are accessed operation using different equipment;Based at least one list of devices, to equipment
Plurality of devices mark carry out Screening Treatment, determine whether every kind of device identification is correctly to identify.
Above-mentioned the embodiment of the present application serial number is for illustration only, does not represent the advantages or disadvantages of the embodiments.
In above-described embodiment of the application, all emphasizes particularly on different fields to the description of each embodiment, do not have in some embodiment
The part of detailed description, reference can be made to the related descriptions of other embodiments.
In several embodiments provided herein, it should be understood that disclosed technology contents can pass through others
Mode is realized.Wherein, the apparatus embodiments described above are merely exemplary, such as the division of the unit, Ke Yiwei
A kind of logical function partition, there may be another division manner in actual implementation, for example, multiple units or components can combine or
Person is desirably integrated into another system, or some features can be ignored or not executed.Another point, shown or discussed is mutual
Between coupling, direct-coupling or communication connection can be through some interfaces, the INDIRECT COUPLING or communication link of unit or module
It connects, can be electrical or other forms.
The unit as illustrated by the separation member may or may not be physically separated, aobvious as unit
The component shown may or may not be physical unit, it can and it is in one place, or may be distributed over multiple
On unit.It can some or all of the units may be selected to achieve the purpose of the solution of this embodiment according to the actual needs.
It, can also be in addition, each functional unit in each embodiment of the application can integrate in one processing unit
It is that each unit physically exists alone, can also be integrated in one unit with two or more units.Above-mentioned integrated list
Member both can take the form of hardware realization, can also realize in the form of software functional units.
If the integrated unit is realized in the form of SFU software functional unit and sells or use as independent product
When, it can store in a computer readable storage medium.Based on this understanding, the technical solution of the application is substantially
The all or part of the part that contributes to existing technology or the technical solution can be in the form of software products in other words
It embodies, which is stored in a storage medium, including some instructions are used so that a computer
Equipment (can for personal computer, server or network equipment etc.) execute each embodiment the method for the application whole or
Part steps.And storage medium above-mentioned includes: that USB flash disk, read-only memory (ROM, Read-OnlyMemory), arbitrary access are deposited
Reservoir (RAM, Random Access Memory), mobile hard disk, magnetic or disk etc. be various to can store program code
Medium.
The above is only the preferred embodiment of the application, it is noted that for the ordinary skill people of the art
For member, under the premise of not departing from the application principle, several improvements and modifications can also be made, these improvements and modifications are also answered
It is considered as the protection scope of the application.
Claims (20)
1. a kind of method for obtaining device identification characterized by comprising
Obtain log information, wherein the log information includes: the plurality of devices mark of equipment, and different objects use different
Equipment accesses operation;
Based at least one list of devices, Screening Treatment is carried out to the plurality of devices mark of the equipment, determines every kind of equipment mark
Whether know is correctly to identify.
2. the method according to claim 1, wherein the list of devices is blacklist or white list, wherein institute
It includes at least one following for stating list of devices: IDFA list, OpenUdid list, IMEI list, AndroidID list, Mac column
Table.
3. method according to claim 1 or 2, which is characterized in that in the case where each list of devices is blacklist,
In, it is based at least one list of devices, Screening Treatment is carried out to the plurality of devices mark of the equipment, determines every kind of device identification
It whether is correctly to identify, comprising:
It will successively be matched with same type list of devices with type device identification;
In the case where the device identification is matched to corresponding identification information from same type list of devices, successful match is determined
Device identification to identification information is invalid mark.
4. according to the method described in claim 3, it is characterized in that, not having from same type list of devices in the device identification
In the case where being matched to corresponding identification information, determine that the device identification for not being successfully matched to identification information is correctly to mark
Know, and determines and carry out UV calculating using the device identification.
5. according to the method described in claim 4, it is characterized in that, the device identification successively with same type list of devices into
During row is matched, if first appearing the case where it fails to match, determine that the device identification that it fails to match is correctly to identify,
And determine and carry out UV calculating using the device identification, the device identification is no longer matched with other equipment list.
6. method according to claim 1 or 2, which is characterized in that in the case where each list of devices is white list,
In, it is based at least one list of devices, Screening Treatment is carried out to the plurality of devices mark of the equipment, determines every kind of device identification
It whether is correctly to identify, comprising:
It will successively be matched with same type list of devices with type device identification;
In the case where the device identification is matched to corresponding identification information from same type list of devices, successful match is determined
Device identification to identification information is correctly to identify, and determine and carry out UV calculating using the device identification.
7. according to the method described in claim 6, it is characterized in that, not having from same type list of devices in the device identification
In the case where being matched to corresponding identification information, determine that the device identification for not being successfully matched to identification information is invalid mark
Know.
8. the method according to the description of claim 7 is characterized in that the device identification successively with same type list of devices into
During row is matched, if the case where first appearing successful match, determine that the device identification of successful match is correctly to identify,
And determine and carry out UV calculating using the device identification, the device identification is no longer matched with other equipment list.
9. according to the method described in claim 2, it is characterized in that, at least one list of devices is based on, to the more of the equipment
Kind device identification carries out Screening Treatment, determines whether every kind of device identification is correctly to identify, comprising:
The device identification of equipment is matched with IDFA list;
With in the successful situation of IDFA list match, by the device identification of the equipment continue with OpenUdid list into
Row matching;
With in the successful situation of OpenUdid list match, by the device identification of the equipment continue with IMEI list into
Row matching;
With in the successful situation of IMEI list match, the device identification of the equipment is continued and AndroidID list
It is matched;
With in the successful situation of AndroidID list match, by the device identification of the equipment continue with Mac list into
Row matching;
With in the successful situation of Mac list match, UV calculating is carried out using COOKIE.
10. a kind of device for obtaining device identification characterized by comprising
Module is obtained, for obtaining log information, wherein the log information includes: the plurality of devices mark of equipment, different right
As using different equipment to access operation;
Processing module carries out Screening Treatment to the plurality of devices mark of the equipment, really for being based at least one list of devices
Whether fixed every kind of device identification is correctly to identify.
11. device according to claim 10, which is characterized in that the list of devices is blacklist or white list, wherein
The list of devices includes at least one following: IDFA list, OpenUdid list, IMEI list, AndroidID list, Mac
List.
12. device described in 0 or 11 according to claim 1, which is characterized in that the case where each list of devices is blacklist
Under, wherein it is based at least one list of devices, Screening Treatment is carried out to the plurality of devices mark of the equipment, determines that every kind sets
It is standby to identify whether correctly to identify, comprising:
First matching module will successively be matched with same type list of devices with type device identification;
First determining module, for being matched to the feelings of corresponding identification information from same type list of devices in the device identification
Under condition, determine that the device identification for being successfully matched to identification information is invalid mark.
13. device according to claim 12, which is characterized in that described device further include:
Second determining module, for being not matched to corresponding identification information from same type list of devices in the device identification
In the case where, determine that the device identification for not being successfully matched to identification information is correctly to identify, and determine and use the equipment mark
Know and carries out UV calculating.
14. device according to claim 13, which is characterized in that described device further include:
Third determining module is used for during the device identification successively carries out matched with same type list of devices, if
The case where it fails to match is first appeared, determines that the device identification that it fails to match is correctly to identify, and determine and use the equipment mark
Know and carry out UV calculating, the device identification is no longer matched with other equipment list.
15. device described in 0 or 11 according to claim 1, which is characterized in that the case where each list of devices is white list
Under, wherein it is based at least one list of devices, Screening Treatment is carried out to the plurality of devices mark of the equipment, determines that every kind sets
It is standby to identify whether correctly to identify, described device further include:
Second matching module, for successively matching same type device identification with same type list of devices;
4th determining module, for being matched to the feelings of corresponding identification information from same type list of devices in the device identification
Under condition, determine that the device identification for being successfully matched to identification information is correctly to identify, and determine and carry out UV using the device identification
It calculates.
16. device according to claim 15, which is characterized in that described device further include:
5th determining module, for being not matched to corresponding identification information from same type list of devices in the device identification
In the case where, determine that the device identification for not being successfully matched to identification information is invalid mark.
17. device according to claim 16, which is characterized in that described device further include: the 6th determining module is used for
The device identification successively with same type list of devices carry out it is matched during, if the case where first appearing successful match,
The device identification for determining successful match is correctly to identify, and determine and carry out UV calculating, the equipment mark using the device identification
Knowledge is no longer matched with other equipment list.
18. device according to claim 11, which is characterized in that described device includes:
Third matching module, for matching the device identification of equipment with IDFA list;With the IDFA list match
In successful situation, the device identification of the equipment is continued to match with OpenUdid list;With the OpenUdid
In the successful situation of list match, the device identification of the equipment is continued to match with IMEI list;With the IMEI
In the successful situation of list match, the device identification of the equipment is continued to match with AndroidID list;With it is described
In the successful situation of AndroidID list match, the device identification of the equipment is continued to match with Mac list;
Computing module, for carrying out UV calculating using COOKIE in the successful situation of Mac list match.
19. a kind of storage medium, which is characterized in that the storage medium includes the program of storage, wherein when described program is run
The method for controlling acquisition device identification described in any one of equipment perform claim requirement 1 to 9 where the storage medium.
20. a kind of processor, which is characterized in that the processor is for running program, wherein right of execution when described program is run
Benefit require any one of 1 to 9 described in obtain device identification method.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811334106.XA CN109495562B (en) | 2018-11-09 | 2018-11-09 | Method and device for acquiring equipment identifier |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811334106.XA CN109495562B (en) | 2018-11-09 | 2018-11-09 | Method and device for acquiring equipment identifier |
Publications (2)
Publication Number | Publication Date |
---|---|
CN109495562A true CN109495562A (en) | 2019-03-19 |
CN109495562B CN109495562B (en) | 2022-04-12 |
Family
ID=65694098
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811334106.XA Active CN109495562B (en) | 2018-11-09 | 2018-11-09 | Method and device for acquiring equipment identifier |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109495562B (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110333997A (en) * | 2019-07-15 | 2019-10-15 | 秒针信息技术有限公司 | The method and device of fusion device use information |
CN110943989A (en) * | 2019-11-29 | 2020-03-31 | 恩亿科(北京)数据科技有限公司 | Equipment identification method and device, electronic equipment and readable storage medium |
CN112685064A (en) * | 2020-12-30 | 2021-04-20 | 南京擎盾信息科技有限公司 | Device identification processing method and device, storage medium and electronic device |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP1936890A1 (en) * | 2006-12-21 | 2008-06-25 | International Business Machines Corporation | Method and system for network terminal identification |
CN104767756A (en) * | 2015-04-15 | 2015-07-08 | 北京京东尚科信息技术有限公司 | Equipment information processing method, client side device and server side device |
CN106488394A (en) * | 2016-10-19 | 2017-03-08 | 广东欧珀移动通信有限公司 | A kind of method and device of equipment connection |
CN107094088A (en) * | 2016-11-10 | 2017-08-25 | 腾讯科技(深圳)有限公司 | A kind of loiter network device identification method, device and system |
CN107343020A (en) * | 2016-04-08 | 2017-11-10 | 三星电子株式会社 | Electronic equipment and its external device control method |
CN108427619A (en) * | 2018-03-13 | 2018-08-21 | 腾讯科技(深圳)有限公司 | Blog management method, device, computing device and storage medium |
-
2018
- 2018-11-09 CN CN201811334106.XA patent/CN109495562B/en active Active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP1936890A1 (en) * | 2006-12-21 | 2008-06-25 | International Business Machines Corporation | Method and system for network terminal identification |
CN104767756A (en) * | 2015-04-15 | 2015-07-08 | 北京京东尚科信息技术有限公司 | Equipment information processing method, client side device and server side device |
CN107343020A (en) * | 2016-04-08 | 2017-11-10 | 三星电子株式会社 | Electronic equipment and its external device control method |
CN106488394A (en) * | 2016-10-19 | 2017-03-08 | 广东欧珀移动通信有限公司 | A kind of method and device of equipment connection |
CN107094088A (en) * | 2016-11-10 | 2017-08-25 | 腾讯科技(深圳)有限公司 | A kind of loiter network device identification method, device and system |
CN108427619A (en) * | 2018-03-13 | 2018-08-21 | 腾讯科技(深圳)有限公司 | Blog management method, device, computing device and storage medium |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110333997A (en) * | 2019-07-15 | 2019-10-15 | 秒针信息技术有限公司 | The method and device of fusion device use information |
CN110333997B (en) * | 2019-07-15 | 2023-11-10 | 秒针信息技术有限公司 | Method and device for fusing equipment use information |
CN110943989A (en) * | 2019-11-29 | 2020-03-31 | 恩亿科(北京)数据科技有限公司 | Equipment identification method and device, electronic equipment and readable storage medium |
CN110943989B (en) * | 2019-11-29 | 2022-10-25 | 恩亿科(北京)数据科技有限公司 | Equipment identification method and device, electronic equipment and readable storage medium |
CN112685064A (en) * | 2020-12-30 | 2021-04-20 | 南京擎盾信息科技有限公司 | Device identification processing method and device, storage medium and electronic device |
CN112685064B (en) * | 2020-12-30 | 2024-03-22 | 南京擎盾信息科技有限公司 | Processing method and device for equipment identification, storage medium and electronic device |
Also Published As
Publication number | Publication date |
---|---|
CN109495562B (en) | 2022-04-12 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109495562A (en) | Obtain the method and device of device identification | |
CN110661794B (en) | Flow identification method and device, electronic equipment and readable storage medium | |
CN108255847A (en) | Page generation method and device | |
CN110609937A (en) | Crawler identification method and device | |
CN108304426B (en) | Identification obtaining method and device | |
CN107404481B (en) | User information recognition methods and device | |
CN105187230B (en) | The switching method and device of server | |
CN112468461B (en) | Multi-dimensional abnormal flow identification method and device and computer equipment | |
CN113412607B (en) | Content pushing method and device, mobile terminal and storage medium | |
CN107968953A (en) | Anti- cheating user method and device | |
CN113572752A (en) | Abnormal flow detection method and device, electronic equipment and storage medium | |
CN110188276B (en) | Data transmission device, method, electronic device, and computer-readable storage medium | |
CN111612085B (en) | Method and device for detecting abnormal points in peer-to-peer group | |
CN108234454B (en) | Identity authentication method, server and client device | |
CN109978547A (en) | Risk behavior control method and system, equipment and storage medium | |
CN111723083A (en) | User identity identification method and device, electronic equipment and storage medium | |
CN105959306A (en) | IP address identification method and device | |
CN110852338B (en) | User portrait construction method and device | |
CN107483565A (en) | A kind of service background recognition methods, proxy server and computer-readable storage medium | |
CN107146098A (en) | Advertisement operation configuration method and equipment | |
CN110830314B (en) | Method and device for determining abnormal traffic | |
CN111985979B (en) | Method and device for processing invalid traffic information in advertisement service | |
CN108694171A (en) | The method and device of information push | |
CN109101532A (en) | Detect cheat method, device and equipment | |
CN106874299A (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 | ||
TA01 | Transfer of patent application right |
Effective date of registration: 20201217 Address after: Room 2020, 2 / F, building 27, No. 25, North Third Ring Road West, Haidian District, Beijing 100098 Applicant after: Beijing minglue Zhaohui Technology Co.,Ltd. Address before: Room 9014, 9 / F, building 3, yard 30, Shixing street, Shijingshan District, Beijing 100041 Applicant before: ADMASTER TECHNOLOGY (BEIJING) Co.,Ltd. |
|
TA01 | Transfer of patent application right | ||
GR01 | Patent grant | ||
GR01 | Patent grant |