CN109992954A - A kind of method and system identifying unique ios device in the application - Google Patents
A kind of method and system identifying unique ios device in the application Download PDFInfo
- Publication number
- CN109992954A CN109992954A CN201711487261.0A CN201711487261A CN109992954A CN 109992954 A CN109992954 A CN 109992954A CN 201711487261 A CN201711487261 A CN 201711487261A CN 109992954 A CN109992954 A CN 109992954A
- Authority
- CN
- China
- Prior art keywords
- application program
- keychain
- ios
- time
- application
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F21/00—Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
- G06F21/50—Monitoring users, programs or devices to maintain the integrity of platforms, e.g. of processors, firmware or operating systems
- G06F21/51—Monitoring users, programs or devices to maintain the integrity of platforms, e.g. of processors, firmware or operating systems at application loading time, e.g. accepting, rejecting, starting or inhibiting executable software based on integrity or source reliability
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F21/00—Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
- G06F21/60—Protecting data
- G06F21/62—Protecting access to data via a platform, e.g. using keys or access control rules
- G06F21/6218—Protecting access to data via a platform, e.g. using keys or access control rules to a system of files or objects, e.g. local or distributed file system or database
- G06F21/6245—Protecting personal data, e.g. for financial or medical purposes
Landscapes
- Engineering & Computer Science (AREA)
- Computer Security & Cryptography (AREA)
- Theoretical Computer Science (AREA)
- Software Systems (AREA)
- General Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- Computer Hardware Design (AREA)
- Health & Medical Sciences (AREA)
- Bioethics (AREA)
- General Health & Medical Sciences (AREA)
- Medical Informatics (AREA)
- Databases & Information Systems (AREA)
- Storage Device Security (AREA)
Abstract
The method and system for identifying unique ios device in the application the embodiment of the invention provides one kind determines whether the application program is to install for the first time according to KeyChain file present on the IOS system of the ios device;When determining the application program in the IOS system is not to install for the first time, the Universally Unique Identifier UUID generated when the application program saved in the KeyChain is run for the first time is distributed to the application program;Using the Universally Unique Identifier UUID as in the application program to the unique identification of the ios device.Server end be can satisfy to equipment unique identification demand, then the loss of equipment unique identification will not be caused because app is deleted.
Description
Technical field
The present invention relates to fields of communication technology, more particularly to a kind of method for identifying unique ios device in the application
And system.
Background technique
UIDevice provides the method for an acquisition equipment unique identifier after 2.0 version of iOS, by this method I
Available equipment sequence number, this is also that unique identifier uniquely can be confirmed so far.Many developer's handles
Unique device identifier UDID associates with the Real Name of user, password, address, other data;Network sniff person can be from
These data are collected in multiple applications, then search for many private datas for obtaining this people by following the clues.Major applications are certain simultaneously
In frequent transmission UDID and personal information.In order to avoid class action, apple finally determines to be used to this when 5 iOS
Example is abolished, and developer is guided to generate a unique identifier, can only detect application program, other information do not provide.It is existing
Unique device identifier UDID is attempted to obtain in application to be prohibited and do not allow restocking.The address Mac on the contrary can uniquely indicate
Equipment, but unfortunately apple is merciless again after iOS 7 closes down the address mac.
Presently known technology is that the address mac is stored by ancillary equipment, obtains mac by requesting with iOS device
Address.Doing so is that still limitation is bigger for the problem that can solve, and request of data is limited by network does not have network once,
Also the unique identification less than equipment is just obtained.And present iOS is without the method called for obtaining the address mac.
Summary of the invention
The embodiment provides the method and systems that one kind identifies unique ios device in the application, provide
Scheme is as follows:
According to KeyChain file present on the IOS system of the ios device, determine whether the application program is first
Secondary installation;
When determining the application program in the IOS system is not to install for the first time, the institute that will be saved in the KeyChain
The Universally Unique Identifier UUID generated when application program is run for the first time is stated to distribute to the application program;
Using the Universally Unique Identifier UUID as in the application program to the unique identification of the ios device.
According to the above method of the present invention, according to KeyChain file present on the IOS system of the ios device, really
Whether the fixed application program is to install for the first time;Include:
The KeyChain file in the IOS system is indexed, when detecting the KeyChain with the application matches
File, it is determined that the application program is not to install for the first time.
According to the above method of the present invention, according to KeyChain file present on the IOS system of the ios device, really
Whether the fixed application program is to install for the first time;Include:
When detection not with the KeyChain file of the application matches, it is determined that the application program is to pacify for the first time
Dress.
According to the above method of the present invention, comprising:
When determining the application program in IOS system is to install for the first time, the IOS system is generated according to the application program
Corresponding KeyChain file, generated when the application program is run for the first time Universally Unique Identifier UUID write-in described in
KeyChain is simultaneously saved.
According to another aspect of the present invention, a kind of system identifying unique ios device in the application, packet are also provided
It includes:
Determining module: it is used to determine institute according to KeyChain file present on the IOS system in the ios device
State whether application program is to install for the first time;
Distribution module: it is used for when determining the application program in the IOS system is not to install for the first time, will be described
The Universally Unique Identifier UUID that the application program saved in KeyChain generates when running for the first time is distributed to the application
Program;
Mark module: its be used for using the Universally Unique Identifier UUID as in the application program to the IOS
The unique identification of equipment.
According to another aspect of the present invention, the determining module is specifically used for:
The KeyChain file in the IOS system is indexed, when detecting the KeyChain with the application matches
File, it is determined that the application program is not to install for the first time.
According to another aspect of the present invention, the determining module is specifically used for:
When detection not with the KeyChain file of the application matches, it is determined that the application program is to pacify for the first time
Dress.
According to another aspect of the present invention, the determining module is specifically used for:
When determining the application program in IOS system is to install for the first time, the IOS system is generated according to the application program
Corresponding KeyChain file, generated when the application program is run for the first time Universally Unique Identifier UUID write-in described in
KeyChain is simultaneously saved.
According to another aspect of the present invention, a kind of ios device is also provided, comprising:
At least one processor, and
The memory that is connect at least one described processor communication, communication interface;
Wherein, the memory is stored with the instruction that can be executed by least one described processor, described at least one
The instruction that device is stored by executing the memory is managed, above-mentioned method is executed using the communication interface.
According to another aspect of the present invention, a kind of computer readable storage medium, the computer-readable storage are also provided
Media storage has computer instruction, when the computer instruction is run on computers, so that computer executes above-mentioned side
Method.
As can be seen from the technical scheme provided by the above-mentioned embodiment of the present invention, the embodiment of the present invention is set according to the IOS
KeyChain file present on standby IOS system determines whether the application program is to install for the first time;When determining the IOS
Application program in system is not production when running the application program saved in the KeyChain for the first time when installing for the first time
Raw Universally Unique Identifier UUID is distributed to the application program;It is answered using the Universally Unique Identifier UUID as described
With in program to the unique identification of the ios device.Server end be can satisfy to equipment unique identification demand.It again will not be because of
It deletes app and leads to the loss of equipment unique identification.
Detailed description of the invention
In order to illustrate the technical solution of the embodiments of the present invention more clearly, required use in being described below to embodiment
Attached drawing be briefly described, it should be apparent that, drawings in the following description are only some embodiments of the invention, for this
For the those of ordinary skill of field, without any creative labor, it can also be obtained according to these attached drawings other
Attached drawing.
Fig. 1 is the processing for the method that one kind that the embodiment of the present invention one provides identifies unique ios device in the application
Flow chart;
Fig. 2 is that the system that one kind that the embodiment of the present invention one provides identifies unique ios device in the application is
System module map.
Specific embodiment
In order to facilitate understanding of embodiments of the present invention, it is done by taking several specific embodiments as an example below in conjunction with attached drawing further
Explanation, and each embodiment does not constitute the restriction to the embodiment of the present invention.
Embodiment one
This embodiment offers process flow such as Fig. 1 institutes that one kind identifies the method for unique ios device in the application
Show, processing step is as follows:
Step 11, according to KeyChain file present on the IOS system of the ios device, determine the application program
It whether is to install for the first time;
In the present embodiment, KeyChain is equivalent to a Dictionary, and all data are all deposited in the form of key-value
Storage.
Add, update, get, this four operations of delete can be executed to KeyChain.
For the application program on each ios device, KeyChain is there are two access region, privately owned area and public
Area.Privately owned area is a sandbox, and any data of this program storage are all invisible to other programs.And to that will store
In be received within public area, need first to state the title of public area, official document is to this title " keychain access
The KeyChain service of group ", IOS provide a kind of side of safe preservation private information (password, sequence number, certificate etc.)
Formula, each IOS program have an independent keychain storage.Relative to NSUserDeafults, database purchase, file
The general fashions such as preservation, keychain preservation is safer, and the information saved in keychain will not be deleted because of App
And lose, so the data in keychain can also use after resetting App.
Universally Unique Identifier UUID (Universally Unique Identifier), is to generate on a machine
Number, it guarantees that aerial all machines when same be all unique.
Each APP on same mobile terminal device has different UUID, and each APP different time is opened,
UUID that can be different by code building above, but the UUID that can will first switch on APP generation be saved.
This UUID key is just at it with whole world uniqueness.
Specifically, when the application program on ios device is installed for the first time, the IOS system is produced according to the application program
Raw corresponding KeyChain file simultaneously saves, and the Universally Unique Identifier UUID generated when the application program is initially opened writes
Enter KeyChain preservation.
When being installed again after the application program on ios device is deleted, according to each of being saved in IOS system using journey
It is to install for the first time that sequence, which is installed generate corresponding KeyChain file to determine the application program not for the first time, specifically, described in index
The KeyChain file saved in IOS system, when detecting the KeyChain file with the application matches, it is determined that institute
Stating application program not is to install for the first time.
Specifically, according to KeyChain file present on the IOS system of the ios device, the application program is determined
It whether is to install for the first time;Include:
The KeyChain file in the IOS system is indexed, when detecting the KeyChain with the application matches
File, it is determined that the application program is not to install for the first time.
When detection not with the KeyChain file of the application matches, it is determined that the application program is to pacify for the first time
Dress.
Step 12, when determining the application program in the IOS system is not to install for the first time, will be protected in the KeyChain
The Universally Unique Identifier UUID that the application program deposited generates when running for the first time is distributed to the application program;
Step 13, using the Universally Unique Identifier UUID as in the application program to the ios device only
One mark.
In addition, the IOS system applies journey according to described when determining the application program in IOS system is to install for the first time
Sequence generates corresponding KeyChain file, the Universally Unique Identifier UUID write-in generated when the application program is run for the first time
The KeyChain is simultaneously saved.
Embodiment two
This embodiment offers the systems that one kind identifies unique ios device in the application, and specific implementation structure is such as
Shown in Fig. 2, following module can specifically include:
Determining module 21: it is used to be determined according to KeyChain file present on the IOS system in the ios device
Whether the application program is to install for the first time;
Distribution module 22: it is used for when determining the application program in the IOS system is not to install for the first time, will be described
The Universally Unique Identifier UUID that the application program saved in KeyChain generates when running for the first time is distributed to the application
Program;
Mark module 23: its be used for using the Universally Unique Identifier UUID as in the application program to described
The unique identification of ios device.
The determining module 21 is specifically used for:
The KeyChain file in the IOS system is indexed, when detecting the KeyChain with the application matches
File, it is determined that the application program is not to install for the first time.
The determining module 21 is specifically used for:
When detection not with the KeyChain file of the application matches, it is determined that the application program is to pacify for the first time
Dress.
The determining module 21 is specifically used for:
When determining the application program in IOS system is to install for the first time, the IOS system is generated according to the application program
Corresponding KeyChain file, generated when the application program is run for the first time Universally Unique Identifier UUID write-in described in
KeyChain is simultaneously saved.
Detailed process with the unique ios device of the system banner of the embodiment of the present invention is similar to the previous method embodiment, this
Place repeats no more.
In conclusion according to KeyChain file present on the IOS system of the ios device in the embodiment of the present invention,
Determine whether the application program is to install for the first time;It, will when determining the application program in the IOS system is not to install for the first time
The Universally Unique Identifier UUID that the application program saved in the KeyChain generates when running for the first time is distributed to described
Application program;Using the Universally Unique Identifier UUID as in the application program to the unique identification of the ios device.
Server end be can satisfy to equipment unique identification demand.It will not lead to the loss of equipment unique identification because app is deleted again.
Those of ordinary skill in the art will appreciate that: attached drawing is the schematic diagram of one embodiment, module in attached drawing or
Process is not necessarily implemented necessary to the present invention.
As seen through the above description of the embodiments, those skilled in the art can be understood that the present invention can
It realizes by means of software and necessary general hardware platform.Based on this understanding, technical solution of the present invention essence
On in other words the part that contributes to existing technology can be embodied in the form of software products, the computer software product
It can store in storage medium, such as ROM/RAM, magnetic disk, CD, including some instructions are used so that a computer equipment
(can be personal computer, server or the network equipment etc.) executes the certain of each embodiment or embodiment of the invention
Method described in part.
All the embodiments in this specification are described in a progressive manner, same and similar portion between each embodiment
Dividing may refer to each other, and each embodiment focuses on the differences from other embodiments.Especially for device or
For system embodiment, since it is substantially similar to the method embodiment, so describing fairly simple, related place is referring to method
The part of embodiment illustrates.Apparatus and system embodiment described above is only schematical, wherein the conduct
The unit of separate part description may or may not be physically separated, component shown as a unit can be or
Person may not be physical unit, it can and it is in one place, or may be distributed over multiple network units.It can root
According to actual need that some or all of the modules therein is selected to achieve the purpose of the solution of this embodiment.Ordinary skill
Personnel can understand and implement without creative efforts.
The foregoing is only a preferred embodiment of the present invention, but scope of protection of the present invention is not limited thereto,
In the technical scope disclosed by the present invention, any changes or substitutions that can be easily thought of by anyone skilled in the art,
It should be covered by the protection scope of the present invention.Therefore, protection scope of the present invention should be with scope of protection of the claims
Subject to.
Claims (10)
1. the method that one kind identifies unique ios device in the application characterized by comprising
According to KeyChain file present on the IOS system of the ios device, determine whether the application program is to pacify for the first time
Dress;
When determining the application program in the IOS system is not to install for the first time, will be saved in the KeyChain described in answer
The Universally Unique Identifier UUID generated when being run for the first time with program is distributed to the application program;
Using the Universally Unique Identifier UUID as in the application program to the unique identification of the ios device.
2. the method that one kind according to claim 1 identifies unique ios device in the application, which is characterized in that root
According to KeyChain file present on the IOS system of the ios device, determine whether the application program is to install for the first time;Packet
It includes:
The KeyChain file in the IOS system is indexed, when detecting the KeyChain file with the application matches,
Then determining the application program not is to install for the first time.
3. the method that one kind according to claim 1 identifies unique ios device in the application, which is characterized in that root
According to KeyChain file present on the IOS system of the ios device, determine whether the application program is to install for the first time;Packet
It includes:
When detection not with the KeyChain file of the application matches, it is determined that the application program is to install for the first time.
4. the method that one kind according to claim 3 identifies unique ios device in the application, which is characterized in that packet
It includes:
When determining the application program in IOS system is to install for the first time, the IOS system generates correspondence according to the application program
KeyChain file, generated when the application program is run for the first time Universally Unique Identifier UUID write-in described in
KeyChain is simultaneously saved.
5. the system that one kind identifies unique ios device in the application characterized by comprising
Determining module: it is used for KeyChain file present on IOS system of the basis in the ios device, answers described in determination
It whether is to install for the first time with program;
Distribution module: it is used for when determining the application program in the IOS system is not to install for the first time, by the KeyChain
The Universally Unique Identifier UUID that the application program of middle preservation generates when running for the first time is distributed to the application program;
Mark module: its be used for using the Universally Unique Identifier UUID as in the application program to the ios device
Unique identification.
6. the system that one kind according to claim 5 identifies unique ios device in the application, which is characterized in that institute
Determining module is stated to be specifically used for:
The KeyChain file in the IOS system is indexed, when detecting the KeyChain file with the application matches,
Then determining the application program not is to install for the first time.
7. the system that one kind according to claim 5 identifies unique ios device in the application, which is characterized in that institute
Determining module is stated to be specifically used for:
When detection not with the KeyChain file of the application matches, it is determined that the application program is to install for the first time.
8. the system that one kind according to claim 7 identifies unique ios device in the application, which is characterized in that institute
Determining module is stated to be specifically used for:
When determining the application program in IOS system is to install for the first time, the IOS system generates correspondence according to the application program
KeyChain file, generated when the application program is run for the first time Universally Unique Identifier UUID write-in described in
KeyChain is simultaneously saved.
9. a kind of ios device characterized by comprising
At least one processor, and
The memory that is connect at least one described processor communication, communication interface;
Wherein, the memory is stored with the instruction that can be executed by least one described processor, at least one described processor
By executing the instruction of the memory storage, side described in any one of 1-4 is required using the communication interface perform claim
Method.
10. a kind of computer readable storage medium, which is characterized in that the computer-readable recording medium storage has computer to refer to
It enables, when the computer instruction is run on computers, so that computer perform claim requires side described in any one of 1-4
Method.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711487261.0A CN109992954A (en) | 2017-12-29 | 2017-12-29 | A kind of method and system identifying unique ios device in the application |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711487261.0A CN109992954A (en) | 2017-12-29 | 2017-12-29 | A kind of method and system identifying unique ios device in the application |
Publications (1)
Publication Number | Publication Date |
---|---|
CN109992954A true CN109992954A (en) | 2019-07-09 |
Family
ID=67110981
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201711487261.0A Pending CN109992954A (en) | 2017-12-29 | 2017-12-29 | A kind of method and system identifying unique ios device in the application |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109992954A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107621945A (en) * | 2017-10-19 | 2018-01-23 | 浪潮通用软件有限公司 | A kind of method and device for the mark for determining ios device |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101802833A (en) * | 2007-09-27 | 2010-08-11 | 奥多比公司 | Providing local storage service to applications that run in an application execution environment |
CN104123199A (en) * | 2014-07-03 | 2014-10-29 | 可牛网络技术(北京)有限公司 | Method and device for recovering application program and mobile terminal |
CN105320578A (en) * | 2015-11-09 | 2016-02-10 | 青岛海信移动通信技术股份有限公司 | Method and apparatus for backing up and recovering APP |
CN106066808A (en) * | 2016-05-30 | 2016-11-02 | 浪潮软件股份有限公司 | A kind of ios application build server, cluster and method |
CN106096337A (en) * | 2016-06-21 | 2016-11-09 | 北京医视时代科技发展有限公司 | A kind of system and method for digital publishing copyright protection |
CN106126274A (en) * | 2016-06-16 | 2016-11-16 | 北京金山安全软件有限公司 | Control method and device for application program data in mobile terminal and mobile terminal |
CN107040568A (en) * | 2016-09-28 | 2017-08-11 | 平安科技(深圳)有限公司 | Identification information generation method and device |
-
2017
- 2017-12-29 CN CN201711487261.0A patent/CN109992954A/en active Pending
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101802833A (en) * | 2007-09-27 | 2010-08-11 | 奥多比公司 | Providing local storage service to applications that run in an application execution environment |
CN104123199A (en) * | 2014-07-03 | 2014-10-29 | 可牛网络技术(北京)有限公司 | Method and device for recovering application program and mobile terminal |
CN105320578A (en) * | 2015-11-09 | 2016-02-10 | 青岛海信移动通信技术股份有限公司 | Method and apparatus for backing up and recovering APP |
CN106066808A (en) * | 2016-05-30 | 2016-11-02 | 浪潮软件股份有限公司 | A kind of ios application build server, cluster and method |
CN106126274A (en) * | 2016-06-16 | 2016-11-16 | 北京金山安全软件有限公司 | Control method and device for application program data in mobile terminal and mobile terminal |
CN106096337A (en) * | 2016-06-21 | 2016-11-09 | 北京医视时代科技发展有限公司 | A kind of system and method for digital publishing copyright protection |
CN107040568A (en) * | 2016-09-28 | 2017-08-11 | 平安科技(深圳)有限公司 | Identification information generation method and device |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107621945A (en) * | 2017-10-19 | 2018-01-23 | 浪潮通用软件有限公司 | A kind of method and device for the mark for determining ios device |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108768943B (en) | Method and device for detecting abnormal account and server | |
US10785134B2 (en) | Identifying multiple devices belonging to a single user | |
KR101956486B1 (en) | Method and system for facilitating terminal identifiers | |
CN111031017B (en) | Abnormal business account identification method, device, server and storage medium | |
US20160246981A1 (en) | Data secrecy statistical processing system, server device for presenting statistical processing result, data input device, and program and method therefor | |
CN104346566A (en) | Method, device, terminal, server and system for detecting privacy authority risks | |
US10637805B2 (en) | Instant messaging method, server, and storage medium | |
JP6595625B2 (en) | Automatic recharge system, method and server | |
CN104268457B (en) | Information processing method, electronic equipment and server | |
CN110197075A (en) | Resource access method, calculates equipment and storage medium at device | |
CN109949069A (en) | Suspicious user screening technique, device, computer equipment and storage medium | |
CN103297267A (en) | Method and system for network behavior risk assessment | |
CN105337739B (en) | Safe login method, device, server and terminal | |
CN107517180B (en) | Login method and device | |
JPWO2016043120A1 (en) | Information processing apparatus and cooperative distributed storage system | |
CN111353136B (en) | Method and device for processing operation request | |
CN110619022B (en) | Node detection method, device, equipment and storage medium based on block chain network | |
CN112287326A (en) | Security authentication method and device, electronic equipment and storage medium | |
CN104700030B (en) | A kind of viral data search method, device and server | |
US10445213B2 (en) | Non-transitory computer-readable storage medium, evaluation method, and evaluation device | |
CN109992954A (en) | A kind of method and system identifying unique ios device in the application | |
CN109842482B (en) | Information synchronization method, system and terminal equipment | |
CN109214189B (en) | Method, device, storage medium and electronic equipment for identifying program bugs | |
CN108540471B (en) | Mobile application network traffic clustering method, computer readable storage medium and terminal | |
US9715544B2 (en) | Online location sharing through an internet service search engine |
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 | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20190709 |
|
RJ01 | Rejection of invention patent application after publication |