CN106375983B - A kind of identifier generation method and device - Google Patents

A kind of identifier generation method and device Download PDF

Info

Publication number
CN106375983B
CN106375983B CN201610943018.4A CN201610943018A CN106375983B CN 106375983 B CN106375983 B CN 106375983B CN 201610943018 A CN201610943018 A CN 201610943018A CN 106375983 B CN106375983 B CN 106375983B
Authority
CN
China
Prior art keywords
identifier
information
correct
mobile terminal
determining
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201610943018.4A
Other languages
Chinese (zh)
Other versions
CN106375983A (en
Inventor
周志刚
丁鹏
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Wuhan Douyu Network Technology Co Ltd
Original Assignee
Wuhan Douyu Network Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Wuhan Douyu Network Technology Co Ltd filed Critical Wuhan Douyu Network Technology Co Ltd
Priority to CN201610943018.4A priority Critical patent/CN106375983B/en
Publication of CN106375983A publication Critical patent/CN106375983A/en
Application granted granted Critical
Publication of CN106375983B publication Critical patent/CN106375983B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W8/00Network data management
    • H04W8/18Processing of user or subscriber data, e.g. subscribed services, user preferences or user profiles; Transfer of user or subscriber data
    • H04W8/183Processing at user equipment or user record carrier
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72403User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
    • H04M1/72406User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality by software upgrading or downloading
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W12/00Security arrangements; Authentication; Protecting privacy or anonymity
    • H04W12/02Protecting privacy or anonymity, e.g. protecting personally identifiable information [PII]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W12/00Security arrangements; Authentication; Protecting privacy or anonymity
    • H04W12/06Authentication

Abstract

The present invention provides a kind of identifier generation method and devices, this method comprises: obtaining the identifier information in the application identifier and mobile terminal of itself, the identifier information includes multiple identifiers;Determine the correct identifier in the identifier information in multiple identifiers;There are after at least one correct identifier in determining the identifier information, at least one described correct identifier is generated into object identifier;According to the object identifier and the application identifier, mobile terminal unique identifier is generated.Invention additionally discloses corresponding identifier generating means.

Description

A kind of identifier generation method and device
Technical field
The present invention relates to fields of communication technology, in particular to a kind of identifier generation method and device.
Background technique
Current operation has the calculating equipment of Android operation system varied, and different manufacturers is when customizing Android device Different identifiers can be added to guarantee the mobile phone uniqueness.But some identifiers may not meet specification, or not be only One mark, causes the Android application run in the equipment that can not get unique identification symbol, therefore can not just judge the mobile phone Legitimacy, go wrong so as to cause the function logic in above-mentioned application.
It is, therefore, desirable to provide one can make each equipment be owned by unique identifier to guarantee the unique of its mobile phone Property.
Summary of the invention
In view of this, the purpose of the present invention is to provide a kind of identifier generation method and device, to try hard to solve or At least alleviate above there are the problem of.
In a first aspect, the present invention provides a kind of identifier generation method, this method comprises:
The identifier information in the application identifier and mobile terminal of itself is obtained, the identifier information includes multiple marks Know symbol;
Determine the correct identifier in the identifier information in multiple identifiers;
There are after at least one correct identifier in determining the identifier information, at least one is correct by described in Identifier generates object identifier;
According to the object identifier and the application identifier, mobile terminal unique identifier is generated.
Optionally, in the method according to the invention, it determines correct in multiple identifiers in the identifier information Identifier, comprising:
Each identifier in the identifier information is traversed, whenever the repetition time for determining each character in current identifier When number is less than pre-determined number, determine that the current identifier is correct identifier, until all identifier judgements finish.
Optionally, in the method according to the invention, there are at least one in determining the identifier information correctly After identifier, at least one described correct identifier is generated into object identifier, comprising:
There are after at least one correct identifier in determining the identifier information, using the first rule will it is described extremely A few correct identifier generates object identifier.
Optionally, in the method according to the invention, it determines correct in multiple identifiers in the identifier information Identifier, further includes:
After determining that each identifier in the identifier information is all incorrect, then target mark is generated using Second Rule Know symbol.
Optionally, in the method according to the invention, it according to the object identifier and the application identifier, generates and moves Dynamic terminal unique identifier, comprising:
The object identifier and the application identifier are combined using the first Encryption Algorithm, obtain encryption identification Symbol;
The encrypted identifier is encrypted using the second Encryption Algorithm, obtains the mobile terminal unique identifier.
Second aspect, the present invention provide a kind of identifier generating means, which includes:
Information acquisition unit, the identifier information in application identifier and mobile terminal for obtaining itself, the mark Knowing symbol information includes multiple identifiers;
Information process unit, for determining the correct identifier in multiple identifiers in the identifier information;
First generation unit, for determining in the identifier information that there are at least one just in the information process unit After true identifier, at least one described correct identifier is generated into object identifier;
Second generation unit, for it is unique to generate mobile terminal according to the object identifier and the application identifier Identifier.
Optionally, in a device in accordance with the invention, the information process unit is also used to:
Each identifier in the identifier information is traversed, whenever the repetition time for determining each character in current identifier When number is less than pre-determined number, determine that the current identifier is correct identifier, until all identifier judgements finish.
Optionally, in a device in accordance with the invention, first generation unit is also used to:
There are after at least one correct identifier in determining the identifier information, using the first rule will it is described extremely A few correct identifier generates object identifier.
Optionally, in a device in accordance with the invention, first generation unit is also used to:
After the information process unit determines that each identifier in the identifier information is all incorrect, then the is utilized Two rules generate object identifier.
Optionally, in a device in accordance with the invention, second generation unit is also used to:
The object identifier and the application identifier are combined using the first Encryption Algorithm, obtain encryption identification Symbol;
The encrypted identifier is encrypted using the second Encryption Algorithm, obtains the mobile terminal unique identifier.
According to the technique and scheme of the present invention, by adding itself in the correct identifier in the mobile terminal of acquisition Application identifier and encryption obtain unique identifier, the uniqueness and accuracy of identifier in guarantee mobile terminal.
To enable the above objects, features and advantages of the present invention to be clearer and more comprehensible, preferred embodiment is cited below particularly, and cooperate Appended attached drawing, is described in detail below.
Detailed description of the invention
In order to illustrate the technical solution of the embodiments of the present invention more clearly, below will be to needed in the embodiment attached Figure is briefly described, it should be understood that the following drawings illustrates only certain embodiments of the present invention, therefore is not construed as pair The restriction of range for those of ordinary skill in the art without creative efforts, can also be according to this A little attached drawings obtain other relevant attached drawings.
Fig. 1 shows the structural block diagram of a mobile terminal 100;
Fig. 2 shows a kind of flow charts of identifier generation method provided by the embodiment of the present invention;
Fig. 3 shows the schematic diagram at identifier interface in a kind of mobile terminal provided by the embodiment of the present invention;
Fig. 4 shows a kind of structure chart of identifier generating means provided by the embodiment of the present invention.
Specific embodiment
In order to make the object, technical scheme and advantages of the embodiment of the invention clearer, below in conjunction with the embodiment of the present invention Middle attached drawing, technical scheme in the embodiment of the invention is clearly and completely described, it is clear that described embodiment is only It is a part of the embodiment of the present invention, instead of all the embodiments.The present invention being usually described and illustrated herein in the accompanying drawings is real The component for applying example can be arranged and be designed with a variety of different configurations.Therefore, of the invention to what is provided in the accompanying drawings below The detailed description of embodiment is not intended to limit the range of claimed invention, but is merely representative of selected reality of the invention Apply example.Based on the embodiment of the present invention, those skilled in the art institute obtained without making creative work There are other embodiments, shall fall within the protection scope of the present invention.
Fig. 1 is the structural block diagram of mobile terminal 100.Mobile terminal 100 with multiple point touching ability may include storage Device interface 102, one or more data processors, image processor and/or central processing unit 104 and peripheral interface 106。
Memory interface 102, one or more processors 104 and/or peripheral interface 106 either discrete component, It can integrate in one or more integrated circuits.In the mobile terminal 100, various elements can pass through one or more communication Bus or signal wire couple.Sensor, equipment and subsystem may be coupled to peripheral interface 106, a variety of to help to realize Function.For example, motion sensor 110, optical sensor 112 and range sensor 114 may be coupled to peripheral interface 106, with side Just the functions such as orientation, illumination and ranging.Other sensors 116 can equally be connected with peripheral interface 106, such as positioning system (such as GPS receiver), temperature sensor, biometric sensor or other sensor devices, it is possible thereby to help to implement correlation Function.
Camera sub-system 120 and optical sensor 122 can be used for the camera of convenient such as record photos and video clips The realization of function, wherein the camera sub-system and optical sensor for example can be charge-coupled device (CCD) or complementary gold Belong to oxide semiconductor (CMOS) optical sensor.
It can help to realize communication function by one or more radio communication subsystems 124, wherein wireless communication System may include radio-frequency transmitter and transmitter and/or light (such as infrared) Receiver And Transmitter.Radio communication subsystem 124 particular design and embodiment can depend on one or more communication networks that mobile terminal 100 is supported.For example, Mobile terminal 100 may include be designed to support GSM network, GPRS network, EDGE network, Wi-Fi or WiMax network and The radio communication subsystem of BlueboothTM network.
Audio subsystem 126 can be coupled with loudspeaker 128 and microphone 130, to help to implement to enable voice Function, such as speech recognition, speech reproduction, digital record and telephony feature.
I/O subsystem 140 may include touch screen controller 142 and/or other one or more input controllers 144.
Touch screen controller 142 may be coupled to touch screen 146.For example, the touch screen 146 and touch screen controller 142 can be used any one of a variety of touch-sensing technologies to detect the contact carried out therewith and movement or pause, Middle detection technology includes but is not limited to capacitive character, resistive, infrared and surface acoustic wave technique.
Other one or more input controllers 144 may be coupled to other input/control devicess 148, for example, one or The pointer device of multiple buttons, rocker switch, thumb wheel, infrared port, USB port, and/or stylus etc.One or Multiple buttons (not shown) may include the up/down button for controlling 130 volume of loudspeaker 128 and/or microphone.
Memory interface 102 can be coupled with memory 150.The memory 150 may include that high random access is deposited Reservoir and/or nonvolatile memory, such as one or more disk storage equipments, one or more optical storage apparatus, and/ Or flash memories (such as NAND, NOR).
Memory 150 can store an operating system 152, such as the behaviour of Android, IOS or Windows Phone etc Make system.The operating system 152 may include for handling basic system services and executing the finger of the task dependent on hardware It enables.Memory 150, which can also store, various applies 154.In mobile device operation, can load operation be from memory 150 System 152, and executed by processor 104.At runtime using 154, it can also be loaded from memory 150, and by processor 104 It executes.It is operated on operating system using 154, realizes various users using the interface that operating system and bottom hardware provide Desired function, such as instant messaging, web page browsing, pictures management.It, can also using can be independently of operating system offer To be that operating system is included.
In various applications 154, one such application is identifier generating means, the available mobile terminal of the device In multiple identifiers, in multiple identifiers determine available identifiers, and then for mobile terminal generate a unique identifier, User experience is improved, guarantees the uniqueness of mobile terminal, hereafter will do it detailed narration.
Fig. 2 shows provided a kind of flow charts of identifier generation method according to embodiments of the present invention.Such as Fig. 2 institute Show, this method executes in the terminal, and the above method starts from step S210.
In step S210, the identifier information in the application identifier and mobile terminal of itself, above-mentioned identifier are obtained Information includes multiple identifiers.Wherein, being mounted on the application of each of mobile terminal has identifier, above-mentioned application identifier For execute the identifier generation method application identifier, e.g., packageID.Identifier information in mobile terminal is to move Other application (not including the application for executing the identifier generation method) such as identifier of talk application or movement in dynamic terminal Network interface card sequence number etc. in terminal.Identifier is usually character string forms, specifically refers to Fig. 3.
Mobile terminal has many identifiers in mobile phone as running the identifier in the mobile phone for having Android operation system The uniqueness of mobile phone can be identified.Such as, mobile device International identification accords with (IMEI), communication identifier (Pseudo-Unique ID), wireless module identifier (The WLAN MAC Address), bluetooth module identifier (The BT MAC Address) etc. Deng.
IMEI can be by the TelephonyManager object in acquisition Android operation system, then passes through calling The getDeviceId interface of the TelephonyManager object then available IMEI information to Android device.It obtains The code of IMEI is as follows: TelephonyManagertm=(TelephonyManager) getSystemService (TELEPHONY_SERVICE);String szImei=tm.getDeviceId ().Wherein, getSystemService (TELEPHONY_SERVICE) it is used to get TelephonyManager object.
Communication identifier is an identifier of talk application in mobile terminal, if mobile terminal does not have call function, Or call function is problematic, then the identification code can not may just be got.The general component by Android operation system The hardware information androidBuildId for the cell phone apparatus that Build is got considers that each hardware information is long, so this hair Bright length for obtaining each hardware information remaining 10 value, i.e., the letter after the length value of each hardware information Yu 10 Breath is stitched together, and finally obtains one 12 numbers.
Wireless module identifier is that have just having for wireless module in mobile terminal, for certain customization classes or industrial class Equipment is not available the function just in order to be added without wireless module safely and gets identifier.Mobile terminal is connect by WiFi Mouthful getConnectionInfo obtains the information interface info of wireless module, e.g., WifiInfo info= Wifi.getConnectionInfo (), then pass through the available wireless module of getMacAddress interface of info interface MAC Address wifiMac, e.g., String wifiMac=info.getMacAddress ().
Equally, have Bluetooth function is just available to arrive the identifier for bluetooth module identifier.Such as, peace is obtained BluetoothAdapter example in tall and erect operating system, BluetoothAdapter badapter=BluetoothAdapt Er.getDefaultAdapter (), by calling the interface getAddress of BluetoothAdapter come with obtaining MAC Location, String m_szBTMAC=badapter.getAddress ().
It being understood, however, that the identifier that the present invention obtains is not limited to above-mentioned several, all available arrive, Neng Gouyong It is all within the scope of the present invention come the identifier of distinguishing mobile terminal.
In step S220, the correct identifier in identifier information in multiple identifiers is determined.
Since the identifier obtained in step S210 may malfunction, it is thus necessary to determine that the correct identifier of acquisition.In In a kind of embodiment, each identifier in identifier information is traversed, whenever the weight for determining each character in current identifier Again number be less than pre-determined number when, determine above-mentioned current identifier be correct identifier, until all identifiers judgement finish, Wherein, pre-determined number is the half of identifier length.When traversing identifier, character can be saved in storing data, for example, Storing data is mapping (map) object, and map is a container in template library (STL), and data are generally by key/value in the form of Storage.Character is stored in key in map object, the frequency of occurrence of character, e.g., the mark of acquisition are stored in the value of current key Knowing symbol is Abbbbbbbbbc, and discovery has identical key that the value of key is just added 1, after having traversed current identifier, finds key Value is 9 when for b character, and the length of character string is 11, which is greater than the general of string length, identifier house It abandons.
It, will be described there are after at least one correct identifier in determining the identifier information in step S230 At least one correct identifier generates object identifier.
According to a kind of embodiment, is utilized there are after at least one correct identifier in determining identifier information At least one correct identifier is generated object identifier by one rule.
It, will this current correct identifier conduct if determined in step S220 there are a correct identifier Object identifier.If determining correct there are more than one identifier such as 2 in step S220, at this point it is possible to correct by two Identifier carry out simple splicing and be used as object identifier, e.g., two identifiers are respectively asabcdfg and qwedfsso, mesh Marking identifier can be asabcdfgqwedfsso.Two identifiers can also be obscured, the character string after obscuring is made For object identifier, equally by taking above-mentioned two identifier as an example, object identifier is assoceddqwfgfsab at this time.
According to another embodiment, after determining that each identifier in identifier information is all incorrect, then the is utilized Two rules generate object identifier.For example, correct identifier is not determined in step S220, at this point it is possible to will be using at random The character string that generates at random of number generators as object identifier, the length of character string determines according to actual conditions, by generation Above-mentioned object identifier is stored in local by SharePreference.
It being understood, however, that all rules that object identifier can be generated are all within the scope of the present invention.It is all The file that can store object identifier is also all within the scope of the present invention.
In step S240, according to object identifier and application identifier, mobile terminal unique identifier is generated.
According to a kind of embodiment, object identifier and application identifier are combined using the first Encryption Algorithm, are obtained To encrypted identifier.Encrypted identifier is encrypted using the second Encryption Algorithm, obtains mobile terminal unique identifier.Such as, By the object identifier and the application identifier progress simple combination of itself in step S230, to the character string benefit after simple combination It is encrypted with such as MD5 algorithm or hash algorithm, obtains encrypted characters string, then (DES is calculated using such as Data Encryption Standard Method) above-mentioned encrypted characters string is encrypted again, obtain mobile terminal unique identifier.In one embodiment, in mobile phone Application be payment applications, the unique identifier that the application in mobile phone obtains mobile phone is simultaneously sent to server, and server can save Above-mentioned unique identifier, after the application in mobile phone is opened by user again, server only needs to verify whether current application pays Take, does not need to verify identifier again.
According to the technique and scheme of the present invention, by adding itself in the correct identifier in the mobile terminal of acquisition Application identifier and encryption obtain unique identifier, the uniqueness and accuracy of identifier in guarantee mobile terminal.
Fig. 4 shows a kind of flow chart of the identifier generating means provided according to embodiments of the present invention.As shown in figure 4, The device is resident in the terminal, comprising: information acquisition unit 410, information process unit 420,430 and of the first generation unit Second generation unit 440.
Information acquisition unit 410 obtains the identifier information in itself application identifier and mobile terminal, identifier letter Breath includes multiple identifiers.Specific identifier is described in detail above, does not do excessive explanation herein.
Information process unit 420 determines the correct identifier in the identifier information in multiple identifiers.Such as, information Processing unit 420 traverses each identifier in the identifier information, whenever the weight for determining each character in current identifier Again when number is less than pre-determined number, determine that the current identifier is correct identifier, until all identifiers determine It finishes.
First generation unit 430 determines that there are at least one correctly to mark in identifier information in information process unit 420 After knowing symbol, at least one described correct identifier is generated into object identifier.Such as, the first generation unit 430 is described in the determination There are after at least one correct identifier in identifier information, first rule at least one correct identifier by described in is utilized Generate object identifier.If after each identifier in the determining identifier information of information process unit 420 is all incorrect, the One generation unit 430 generates object identifier using Second Rule.
Second generation unit 440 generates mobile terminal unique identifier according to the object identifier and application identifier. Such as, the object identifier and the application identifier are combined by the second generation unit 440 using the first Encryption Algorithm, are obtained To encrypted identifier.The encrypted identifier is encrypted using the second Encryption Algorithm, the mobile terminal is obtained and uniquely marks Know symbol.
A kind of identifier generating means provided by the embodiment of the present invention can be the specific hardware or installation in equipment In software or firmware etc. in equipment.The technical effect of device provided by the embodiment of the present invention, realization principle and generation and Preceding method embodiment is identical, and to briefly describe, Installation practice part does not refer to place, can refer in preceding method embodiment Corresponding contents.It is apparent to those skilled in the art that for convenience and simplicity of description, foregoing description is The specific work process of system, device and unit, the corresponding process during reference can be made to the above method embodiment, it is no longer superfluous herein It states.
In embodiment provided by the present invention, it should be understood that disclosed device and method, it can be by others side Formula is realized.The apparatus embodiments described above are merely exemplary, for example, the division of the unit, only one kind are patrolled Function division is collected, there may be another division manner in actual implementation, in another example, multiple units or components can combine or can To be integrated into another system, or some features can be ignored or not executed.Another point, shown or discussed is mutual Coupling, direct-coupling or communication connection can be INDIRECT COUPLING or communication link by some communication interfaces, device or unit It connects, can be electrical property, mechanical 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 In network unit.It can select some or all of unit therein according to the actual needs to realize the mesh of this embodiment scheme 's.
In addition, each functional unit in embodiment provided by the invention can integrate in one processing unit, it can also To be that each unit physically exists alone, can also be integrated in one unit with two or more units.
It, can be with if the function is realized in the form of SFU software functional unit and when sold or used as an independent product It is stored in a computer readable storage medium.Based on this understanding, technical solution of the present invention is substantially in other words The part of the part that contributes to existing technology or the technical solution can be embodied in the form of software products, the meter Calculation machine software product is stored in a storage medium, including some instructions are used so that a computer equipment (can be a People's computer, server or network equipment etc.) it performs all or part of the steps of the method described in the various embodiments of the present invention. And storage medium above-mentioned includes: that USB flash disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), arbitrary access are deposited The various media that can store program code such as reservoir (RAM, Random Access Memory), magnetic or disk.
It should also be noted that similar label and letter indicate similar terms in following attached drawing, therefore, once a certain Xiang Yi It is defined in a attached drawing, does not then need that it is further defined and explained in subsequent attached drawing, in addition, term " the One ", " second ", " third " etc. are only used for distinguishing description, are not understood to indicate or imply relative importance.
Finally, it should be noted that embodiment described above, only a specific embodiment of the invention, to illustrate the present invention Technical solution, rather than its limitations, scope of protection of the present invention is not limited thereto, although with reference to the foregoing embodiments to this hair It is bright to be described in detail, those skilled in the art should understand that: anyone skilled in the art In the technical scope disclosed by the present invention, it can still modify to technical solution documented by previous embodiment or can be light It is readily conceivable that variation or equivalent replacement of some of the technical features;And these modifications, variation or replacement, do not make The essence of corresponding technical solution is detached from the spirit and scope of technical solution of the embodiment of the present invention.Should all it cover in protection of the invention Within the scope of.Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.

Claims (10)

1. a kind of identifier generation method, which is characterized in that this method comprises:
The identifier information in the application identifier and mobile terminal of itself is obtained, the identifier information includes multiple marks Symbol;
Determine the correct identifier in the identifier information in multiple identifiers;
There are after at least one correct identifier in determining the identifier information, at least one is correctly identified by described in Symbol generates object identifier;
According to the object identifier and the application identifier, mobile terminal unique identifier is generated.
2. the method as described in claim 1, which is characterized in that in multiple identifiers in the determination identifier information Correct identifier, comprising:
Each identifier in the identifier information is traversed, whenever the number of repetition for determining each character in current identifier is small When pre-determined number, determine that the current identifier is correct identifier, until all identifier judgements finish.
3. the method as described in claim 1, which is characterized in that described there are at least one in determining the identifier information After correct identifier, at least one described correct identifier is generated into object identifier, comprising:
There are after at least one correct identifier in determining the identifier information, described at least one is incited somebody to action using the first rule A correct identifier generates object identifier.
4. method according to claim 1 or 2, which is characterized in that multiple marks in the determination identifier information Correct identifier in symbol, further includes:
After determining that each identifier in the identifier information is all incorrect, then target identification is generated using Second Rule Symbol.
5. the method as described in claim 1, which is characterized in that described according to the object identifier and the application identities Symbol generates mobile terminal unique identifier, comprising:
The object identifier and the application identifier are combined using the first Encryption Algorithm, obtain encrypted identifier;
The encrypted identifier is encrypted using the second Encryption Algorithm, obtains the mobile terminal unique identifier.
6. a kind of identifier generating means, which is characterized in that the device includes:
Information acquisition unit, the identifier information in application identifier and mobile terminal for obtaining itself, the identifier Information includes multiple identifiers;
Information process unit, for determining the correct identifier in the identifier information in multiple identifiers;
First generation unit, for the information process unit determine in the identifier information there are at least one correctly After identifier, at least one described correct identifier is generated into object identifier;
Second generation unit, for generating mobile terminal unique identification according to the object identifier and the application identifier Symbol.
7. device as claimed in claim 6, which is characterized in that the information process unit is also used to:
Each identifier in the identifier information is traversed, whenever the number of repetition for determining each character in current identifier is small When pre-determined number, determine that the current identifier is correct identifier, until all identifier judgements finish.
8. device as claimed in claim 6, which is characterized in that first generation unit is also used to:
There are after at least one correct identifier in determining the identifier information, described at least one is incited somebody to action using the first rule A correct identifier generates object identifier.
9. device as claimed in claims 6 or 7, which is characterized in that first generation unit is also used to:
After the information process unit determines that each identifier in the identifier information is all incorrect, then the second rule are utilized Then generate object identifier.
10. device as claimed in claim 6, which is characterized in that second generation unit is also used to:
The object identifier and the application identifier are combined using the first Encryption Algorithm, obtain encrypted identifier;
The encrypted identifier is encrypted using the second Encryption Algorithm, obtains the mobile terminal unique identifier.
CN201610943018.4A 2016-11-01 2016-11-01 A kind of identifier generation method and device Active CN106375983B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610943018.4A CN106375983B (en) 2016-11-01 2016-11-01 A kind of identifier generation method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610943018.4A CN106375983B (en) 2016-11-01 2016-11-01 A kind of identifier generation method and device

Publications (2)

Publication Number Publication Date
CN106375983A CN106375983A (en) 2017-02-01
CN106375983B true CN106375983B (en) 2019-11-15

Family

ID=57892999

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610943018.4A Active CN106375983B (en) 2016-11-01 2016-11-01 A kind of identifier generation method and device

Country Status (1)

Country Link
CN (1) CN106375983B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107707686B (en) * 2017-10-09 2019-10-08 深圳市沃特沃德股份有限公司 Equipment identification method and device
CN114090522B (en) * 2022-01-17 2022-04-22 泰山信息科技有限公司 Electronic file identifier definition method, device and equipment

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7801642B2 (en) * 2004-08-18 2010-09-21 Walgreen Co. System and method for checking the accuracy of a prescription fill
CN103686821B (en) * 2012-08-27 2016-08-31 上海亿动信息技术有限公司 The control method carrying out application rs traffic statistics is uniquely identified according to mobile terminal
CN103401957B (en) * 2013-08-07 2016-09-28 五八同城信息技术有限公司 A kind of unique method identifying client machine under web environment
US9430556B2 (en) * 2013-12-19 2016-08-30 Sap Se System for self-distinguishable identifier and generation
CN104601436B (en) * 2013-12-31 2016-11-16 腾讯科技(深圳)有限公司 Generation method, terminal and the background server of a kind of account
CN105681039B (en) * 2016-04-15 2021-04-13 上海上讯信息技术股份有限公司 Method and device for generating a secret key and corresponding decryption

Also Published As

Publication number Publication date
CN106375983A (en) 2017-02-01

Similar Documents

Publication Publication Date Title
EP3312752B1 (en) Electronic device and method for acquiring fingerprint information
KR102171082B1 (en) Method for processing fingerprint and an electronic device thereof
KR101543143B1 (en) Motion-based device operations
EP2977926A1 (en) Method and device for verification using verification code
US10820295B2 (en) Method, terminal device and computer-readable storage medium for wireless connection
RU2661289C1 (en) Method and device for preventing random taping of terminal with touch screen
KR20140013548A (en) User terminal apparatus and control method thereof
US10642380B2 (en) Input device, method, and system for electronic device
CN104866750A (en) Method and device for starting application
EP3223119B1 (en) Method and device for adjusting object attribute information
CN106228054A (en) Auth method and device
CN105263126B (en) Short-message verification method, apparatus and system
CN104318186A (en) Code switching method, equipment and terminal
CN106528163B (en) A kind of page switching method and device
CN109117619A (en) Unlocked by fingerprint method and Related product
CN103916468A (en) System upgrading method, terminal, server and upgrading system
CN109325364A (en) A kind of authority configuring method and electronic equipment
CN106375983B (en) A kind of identifier generation method and device
CN111338971A (en) Application testing method and device, electronic equipment and storage medium
CN107688765B (en) Fingerprint acquisition method and device
CN110266942A (en) The synthetic method and Related product of picture
CN105389108A (en) Identification method and device of touch operation of mobile terminal
CN104951337A (en) File incremental updating method and device
CN106406587A (en) Terminal touch control identification method and device
CN105094891B (en) effect display method and device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant