CN103686707A - Mobile phone root password differentiation implementation method based on IMEI/MEID number and applicable mobile phone - Google Patents

Mobile phone root password differentiation implementation method based on IMEI/MEID number and applicable mobile phone Download PDF

Info

Publication number
CN103686707A
CN103686707A CN201310599855.6A CN201310599855A CN103686707A CN 103686707 A CN103686707 A CN 103686707A CN 201310599855 A CN201310599855 A CN 201310599855A CN 103686707 A CN103686707 A CN 103686707A
Authority
CN
China
Prior art keywords
mobile phone
character string
root password
root
imei
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
Application number
CN201310599855.6A
Other languages
Chinese (zh)
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.)
Shanghai Feixun Data Communication Technology Co Ltd
Original Assignee
Shanghai Feixun Data Communication 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 Shanghai Feixun Data Communication Technology Co Ltd filed Critical Shanghai Feixun Data Communication Technology Co Ltd
Priority to CN201310599855.6A priority Critical patent/CN103686707A/en
Publication of CN103686707A publication Critical patent/CN103686707A/en
Pending legal-status Critical Current

Links

Abstract

The invention relates to a mobile phone root password differentiation implementation method based on IMEI/MEID number and an applicable mobile phone. A root password calculation program is built in a mobile phone system. During mobile phone version compiling, the root password is defined as a character string variable A, the character string Y of the unique IMEI or MEID number of the mobile phone is obtained by reading the NV area of the mobile phone, the character string Y is calculated into the character string X, and the character string X is given to the character string variable A to allow the character string X to be the root password of the mobile phone. Due to the uniqueness of the IMEI/MEID number, the root password differentiation of each mobile phone can be achieved, crack risk is lowered, and management and control of root authorities of mobile phone manufacturers are facilitated.

Description

A kind ofly based on No. IMEI/MEID, realize the method for mobile phone root password differentiation and applicable mobile phone
Technical field
The present invention relates to information security field, particularly a kind ofly based on No. IMEI/MEID, realize the method for same model mobile phone root password differentiation and applicable mobile phone.
Background technology
In Unix system (as AIX, BSD etc.) and class unix system (as the Linux of each distribution version such as Debian, Redhat, Ubuntu), the general called after root of power user of system.Root is power user unique in system, has authorities all in system, as starts or stops a process, deletes or increase user increase or forbidding hardware etc.Root is exactly the nerve center of mobile phone, it can access and revise the nearly all file of your mobile phone, these things may be that the company that makes mobile phone is unwilling that you revise and the thing of touching, because they likely have influence on the stable of mobile phone, also easily by some hacker attacks.Root is the highest administrator in Android system, obtains it and also just represents that you can arbitrarily control any one function in this system.It is all the user account of configuration that production firm generally dispatches from the factory, and root account can't be provided, thus for root account number, be all to have password protection, the root account authority that common people can not easy to doly obtain.
In general, in mobile phone R&D process, the root account's of mobile phone password is fixed, and in work, produces after the production of programming software batch, and the root password that causes same model is all the same password.
If cell phone manufacturer is to have management and control to the opening of root authority, the problem for same model mobile phone with same password has potential risk, once having people to leak password uploads on the net, for sold machine, cannot carry out management and control, can be compared to everyone handlebar lock, the key that still can drive these locks has been published on the net.If well-known mobile phone brand manufacturer is probably utilized this point to write rogue APK by unprincipled fellow cell phone system is destroyed.
Summary of the invention
Method of the present invention mainly solves after same model mobile phone is produced and occurs the problem that root password is identical, based on No. IMEI/MEID, by corresponding algorithm, calculated into root password, there is uniqueness due to No. IMEI/MEID, thereby realize every mobile phone root password differentiation.
In order to achieve the above object, a technical scheme of the present invention is to provide a kind of method based on realizing same model mobile phone root password differentiation for No. IMEI/MEID, and it comprises following steps:
A, the built-in root password calculation of cell phone system program;
When b, mobile phone compiled version, root password is appointed as to variables A;
The value of c, this variables A is determined by root password calculation program;
The NV region of d, root password calculation routine access mobile phone obtains the special exclusive IMEI number of this mobile phone or No. MEID;
E, root password calculation program are calculated into character string X by IMEI number or MEID sign character string Y;
F, by this character string X be imparted to before definition variables A;
G, final character string X become the root password of this mobile phone.
Another technical scheme of the present invention is to provide a kind of mobile phone of applicable said method;
In described mobile phone, be provided with root password calculation module, it further comprises:
Password definition module, it is string variable A by root password definition when mobile phone compiled version;
Read module, the NV region by it from mobile phone obtains the exclusive IMEI number of this mobile phone or is recorded as character string Y No. MEID;
Calculation module, it calculates and obtains character string X described character string Y;
Assignment module, it is imparted to variables A by described character string X, makes character string X become the root password of this mobile phone.
Of the present inventionly realize the method for same model mobile phone root password differentiation and the mobile phone of applicable the method based on No. IMEI/MEID, its advantage is:
A, based on IMEI/MEID, make every machine have a unique root password;
B, the method can be suitable for equally and after sale initiatively provide root password to client, only need client to provide No. imei or No. MEID;
C, every root password that mobile phone is different, greatly reduce the risk being cracked, thereby be conducive to the management and control of cell phone manufacturer to root authority.
Accompanying drawing explanation
Fig. 1 is the flow chart based on realizing the method for same model mobile phone root password differentiation for No. IMEI/MEID of the present invention.
Embodiment
Method based on realizing same model mobile phone root password differentiation for No. IMEI/MEID of the present invention, when composing software version, root password is not directly specified, by program control root password, program is obtained No. IMEI/MEID by NV region, through a set of encryption algorithm, by No. imei, calculates into root password.
As shown in Figure 1, a concrete application example of the method for the invention, comprises following steps:
A, the built-in root password calculation of cell phone system program;
When b, mobile phone compiled version, root password is not taked to the directly mode of definition, but root password is appointed as to variables A;
The value of c, this variables A is determined by root password calculation program;
The NV region of d, root password calculation routine access mobile phone obtains IMEI number or No. MEID; There is uniqueness No. IMEI/MEID;
E, root password calculation program calculate to IMEI number or MEID sign character string Y, are calculated into other character string X;
F, by this character string be imparted to before definition variables A;
G, final character string X become the root password of this mobile phone.
The present invention also provides a kind of mobile phone that can be suitable for said method, is built-in with root password calculation module in this cell phone system, and this module relates to root password calculation program and moves the related hardware equipment of this program.Described root password calculation module, further comprises: password definition module is string variable A by root password definition when mobile phone compiled version; Read module, the NV region by it from mobile phone obtains the exclusive IMEI number of this mobile phone or is recorded as character string Y No. MEID; Calculation module is character string X by encryption algorithm by described character string Y calculation; Assignment module, is imparted to variables A by described character string X, makes character string X become the root password of this mobile phone.
An encryption algorithm for example, is to extract one by one the character in character string Y in a circular treatment function, each character is subtracted to an operation and obtain new character string X.Above-mentioned encryption algorithm is only as example, the requirement to character string calculation when those skilled in the art can meet practical application with other suitable encryption algorithms.
In sum, even if the root password being obtained by method of the present invention is also all different to the mobile phone of same model, reduced the risk being cracked, safe.
Although content of the present invention has been done detailed introduction by above preferred embodiment, will be appreciated that above-mentioned description should not be considered to limitation of the present invention.Those skilled in the art, read after foregoing, for multiple modification of the present invention with to substitute will be all apparent.Therefore, protection scope of the present invention should be limited to the appended claims.

Claims (2)

1. the method based on realizing same model mobile phone root password differentiation for No. IMEI/MEID, is characterized in that, comprises following steps:
A, the built-in root password calculation of cell phone system program;
When b, mobile phone compiled version, root password is appointed as to variables A;
The value of c, this variables A is determined by root password calculation program;
The NV region of d, root password calculation routine access mobile phone obtains the special exclusive IMEI number of this mobile phone or No. MEID;
E, root password calculation program are calculated into character string X by IMEI number or MEID sign character string Y;
F, by this character string X be imparted to before definition variables A;
G, final character string X become the root password of this mobile phone.
2. a mobile phone for method described in applicable claim 1, is characterized in that,
In described mobile phone, be provided with root password calculation module, it further comprises:
Password definition module, it is string variable A by root password definition when mobile phone compiled version;
Read module, the NV region by it from mobile phone obtains the exclusive IMEI number of this mobile phone or is recorded as character string Y No. MEID;
Calculation module, it calculates and obtains character string X described character string Y;
Assignment module, it is imparted to variables A by described character string X, makes character string X become the root password of this mobile phone.
CN201310599855.6A 2013-11-25 2013-11-25 Mobile phone root password differentiation implementation method based on IMEI/MEID number and applicable mobile phone Pending CN103686707A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310599855.6A CN103686707A (en) 2013-11-25 2013-11-25 Mobile phone root password differentiation implementation method based on IMEI/MEID number and applicable mobile phone

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310599855.6A CN103686707A (en) 2013-11-25 2013-11-25 Mobile phone root password differentiation implementation method based on IMEI/MEID number and applicable mobile phone

Publications (1)

Publication Number Publication Date
CN103686707A true CN103686707A (en) 2014-03-26

Family

ID=50322719

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310599855.6A Pending CN103686707A (en) 2013-11-25 2013-11-25 Mobile phone root password differentiation implementation method based on IMEI/MEID number and applicable mobile phone

Country Status (1)

Country Link
CN (1) CN103686707A (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101146261A (en) * 2007-10-19 2008-03-19 吕利勇 A realization method for digital protection of electronic media
CN101369895A (en) * 2008-08-27 2009-02-18 宇龙计算机通信科技(深圳)有限公司 Method and mobile terminal for establishing connection with PC terminal
CN101489225A (en) * 2009-01-19 2009-07-22 深圳华为通信技术有限公司 Unlocking method, apparatus and system for user recognition module card
CN102143483A (en) * 2011-03-15 2011-08-03 中兴通讯股份有限公司 Method and terminal for acquiring unlock code
CN102158863A (en) * 2011-02-18 2011-08-17 惠州Tcl移动通信有限公司 System and method for authenticating JAVA-based mobile terminal, server and terminal
US20120189120A1 (en) * 2011-01-25 2012-07-26 Chi Mei Communication Systems, Inc. System and method for protecting data of mobile phone

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101146261A (en) * 2007-10-19 2008-03-19 吕利勇 A realization method for digital protection of electronic media
CN101369895A (en) * 2008-08-27 2009-02-18 宇龙计算机通信科技(深圳)有限公司 Method and mobile terminal for establishing connection with PC terminal
CN101489225A (en) * 2009-01-19 2009-07-22 深圳华为通信技术有限公司 Unlocking method, apparatus and system for user recognition module card
US20120189120A1 (en) * 2011-01-25 2012-07-26 Chi Mei Communication Systems, Inc. System and method for protecting data of mobile phone
CN102158863A (en) * 2011-02-18 2011-08-17 惠州Tcl移动通信有限公司 System and method for authenticating JAVA-based mobile terminal, server and terminal
CN102143483A (en) * 2011-03-15 2011-08-03 中兴通讯股份有限公司 Method and terminal for acquiring unlock code

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
韦广剑: "基于Android令牌的动态密码认证系统的研究与实现", 《中国优秀硕士学位论文全文数据库信息科技辑》 *

Similar Documents

Publication Publication Date Title
US10326795B2 (en) Techniques to provide network security through just-in-time provisioned accounts
EP3123692B1 (en) Techniques to operate a service with machine generated authentication tokens
CA2877490C (en) Key agreement for wireless communication
CN103189877B (en) software authentication
EP2879327A1 (en) Encryption and decryption processing method, apparatus and device
CN104281794A (en) Password storing and verifying method and password storing and verifying device
EP2680531A1 (en) Key agreement using a key derivation key
CN104168116A (en) Database identity authentication method and system
CN103701829A (en) Method of off-line analyzing DPAPI (Data Protection Application Programming Interface) enciphered data
KR20160110276A (en) Method and apparatus for generating Dynamic Secure Module
CN112637156B (en) Key distribution method, device, computer equipment and storage medium
CN104883341B (en) Application management device, terminal and application management method
CN104866783A (en) File storage method and device
CN102983969B (en) Security login system and security login method for operating system
CN109831300A (en) A kind of cipher key destruction method and device
CN107066868A (en) A kind of data guard method and device of identity-based certification
WO2019226510A1 (en) Methods and systems for multiple independent roots of trust
CN102426592B (en) Method for initializing database based on dynamic password
CN111090616B (en) File management method, corresponding device, equipment and storage medium
CN105022651B (en) A kind of method for preventing piracy in equipment production process and firmware programming device
CN104270754A (en) SIM authentication method and device
CN103686707A (en) Mobile phone root password differentiation implementation method based on IMEI/MEID number and applicable mobile phone
CN104318461A (en) Anti-counterfeiting code generation and verification method based on cipher machine and USBKey
CN104579644A (en) Key generation and recovery method
Yoon et al. Security enhancement for IoT device using physical unclonable functions

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20140326

WD01 Invention patent application deemed withdrawn after publication