CN102946489B - Password recovery method and device for mobile phone - Google Patents

Password recovery method and device for mobile phone Download PDF

Info

Publication number
CN102946489B
CN102946489B CN201210484843.4A CN201210484843A CN102946489B CN 102946489 B CN102946489 B CN 102946489B CN 201210484843 A CN201210484843 A CN 201210484843A CN 102946489 B CN102946489 B CN 102946489B
Authority
CN
China
Prior art keywords
apk file
module
password
deciphering
mobile phone
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.)
Expired - Fee Related
Application number
CN201210484843.4A
Other languages
Chinese (zh)
Other versions
CN102946489A (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.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp 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 Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201210484843.4A priority Critical patent/CN102946489B/en
Publication of CN102946489A publication Critical patent/CN102946489A/en
Application granted granted Critical
Publication of CN102946489B publication Critical patent/CN102946489B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Mobile Radio Communication Systems (AREA)
  • Telephone Function (AREA)

Abstract

The invention discloses a password recovery method and a device for a mobile phone. The method includes installing an APK file for decryption on the mobile phone, wherein the APK file is a dynamically encrypted APK file (S20); automatically operating the APK file to send enciphered data to each encrypted program module in a broadcasting mode (S30); according to the received enciphered data, performing decryption on each encrypted program module based on a scheduled decryption algorithm (S40); determining whether a decryption result obtained by each encrypted program module is accurate (S50); clearing up the password settings of each module if the decryption result is accurate(S60), and prompting a wrong model or an illegal decryption tool if the decryption result is wrong(S80). According to the method and the device, the dynamically encrypted APK file is used for clearing up the set password without clearing self-data, and personal data loss of the user can be avoided, simultaneously, the APK file is provided only by a mobile phone manufacturer, so that the file security is improved.

Description

A kind of cell phone password restoration methods and device
Technical field
The utility model relates to the communication technology, is specifically related to the method and apparatus that a kind of cell phone password recovers, and relates in particular to the password recovery method and apparatus of the mobile phone that Android operating system is installed.
Background technology
From function, mobile phone can simply be divided into conventional mobile phone and smart mobile phone.From current development trend, mobile phone moves towards the intelligence epoch just step by step.From strength to strength, its personal data that comprise also will be more and more abundanter for the function of smart mobile phone, and cellie is these personal data safeties of protection, and cell phone password is frequently set.Therefore, once user forgets the password oneself arranging, and while needing to continue to use mobile phone or some personal data, conventional means are exactly to remove the setting of whole system by updating system version, this,, by causing the loss of a large amount of personal data, causes very large trouble and loss to user.
Summary of the invention
Main purpose of the present invention, the method that refreshes cell phone system version for current use recovers that mobile phone uses function and the defect that causes a large amount of personal data losings has proposed a kind of cell phone password restoration methods and device, said method comprising the steps of:
A., APK file for deciphering, the APK file that described APK file is a kind of dynamic encryption are installed on mobile phone;
B. automatically the described APK file of operation sends enciphered data in the mode of broadcast to each encrypted program module of mobile phone;
C. described each encrypted program module is decrypted by predetermined decipherment algorithm according to the enciphered data of receiving;
D. described each the encrypted program module of judgement show that whether decrypted result is correct;
E. the decrypted result of described each encrypted program module is correctly removed the password setting of module separately, and the decrypted result mistake of described each encrypted program module points out type incorrect or be illegal decoding tool.
Described in above-mentioned cell phone password restoration methods, steps A comprises: the step that downloads and installs the APK file for deciphering from mobile-phone manufacturers client.
In above-mentioned cell phone password restoration methods, be also included in described step e and carry out the step of restarting mobile phone after the step of removing password setting separately.
A kind of cell phone password recovery device comprises:
Installation module, for installing the APK file for deciphering, the APK file that described APK file is a kind of dynamic encryption on mobile phone;
Operation module, sends enciphered data in the mode of broadcast to each encrypted program module of mobile phone for the automatic described APK file of operation;
Computing module, for being decrypted by predetermined decipherment algorithm according to the enciphered data of receiving in described each encrypted program module;
Judge module, for judging that described each encrypted program module show that whether decrypted result is correct;
Executive Module, for as described in each encrypted program module decrypted result remove the password setting of module separately when correct; As described in point out during each encrypted program module decrypted result mistake type incorrect or be illegal decoding tool.
Above-mentioned cell phone password recovery device also comprises download module, for download and install the APK file for deciphering from mobile-phone manufacturers client.
Above-mentioned cell phone password recovery device also comprises restarts module, for remove the password of module separately in execution, after arranging, restarts mobile phone.
The beneficial effect of a kind of cell phone password restoration methods of the present invention and device is, by a kind of APK file of dynamic encryption, is removed the password of setting and can not removed its data, can not cause the loss of users personal data.Meanwhile, this APK file is only provided by mobile-phone manufacturers, has strengthened the fail safe of file.
Accompanying drawing explanation
Below in conjunction with drawings and Examples, a kind of cell phone password restoration methods of the present invention and device are described further, in accompanying drawing:
Fig. 1 is the system construction drawing of a kind of cell phone password restoration methods of the present invention and device;
Fig. 2 is the flow chart of a kind of cell phone password restoration methods of the present invention;
Fig. 3 is the schematic diagram of a kind of cell phone password recovery device of the present invention.
Embodiment
In order to make object of the present invention, technical scheme and advantage clearer, below in conjunction with drawings and Examples, the present invention is further elaborated.
Fig. 1 shows the system configuration of a kind of cell phone password restoration methods of the present invention and device, and system of the present invention comprises provides the mobile-phone manufacturers client 1 of the APK file of free download for deciphering, for connecting client 1 and mobile phone 3 and transmitting data wire 2, the mobile phone 3 of data.The cellphone subscriber who forgets Password, is connected mobile phone 3 respectively with mobile-phone manufacturers client 1 with the data-interface at data wire 2 two ends, download the free APK file for deciphering, and transfer on mobile phone 3 by data wire 2 from mobile-phone manufacturers client 1.
Fig. 2 shows the flow process of a kind of cell phone password restoration methods of the present invention.
In step S20, the cellphone subscriber who forgets Password downloads the free APK file for deciphering from mobile-phone manufacturers client 1, is transferred on the SD card of mobile phone 3 by data wire 2.The APK file that described APK file is a kind of dynamic encryption, is stored on SD card, by built-in APK erector, automatically carries out the installation of file.
In step S30, operation automatically after the installation of described APK file, in the mode of system broadcasts, outwards sending enciphered data is message, each the encrypted program module in the mobile phone 3 of the described system broadcasts of every registration can receive this broadcast.
In step S40, every encrypted program module that receives this broadcast starts to discharge the value in encipheror, described APK file receives after these numerical value according to the algorithm of reaching an agreement on encipheror and calculates, and the result of calculation obtaining is mated with decrypted result default in encrypted program module.For example, suppose that decipherment algorithm is f(x)=x*x/2, in encrypted program module, default decrypted result is 18, if the numerical value that described APK file receives is 6, the result of calculating by decipherment algorithm is 6*6/2=18, consistent with decrypted result default in encrypted program module, think the decryption instructions that correct deciphering APK file is sent out.
In step S50, according to the result of above-mentioned coupling, determine whether the decryption instructions that the correct APK file for deciphering sends.If the result of coupling is consistent, the known decryption instructions of being sent by the correct APK mobile phone for deciphering, discharges password after each encrypted module receives decryption instructions, and password is reset, and enters step S60; If the result of coupling is inconsistent, the decryption instructions of sending for wrong APK file, each encrypted module is not carried out any operation after receiving this decryption instructions, and cell phone system can point out type incorrect or illegal decoding tool simultaneously, enters step S80.
In step S70, restart after mobile phone 3, because password setting is removed, user can directly enter mobile phone without accessing to your password.
The password that described deciphering APK file has just been removed mobile phone 3 arranges data, and other data still can normally be used, and have reduced the risk of user data loss.
In another embodiment of the present invention, a kind of cell phone password restoration methods and device are also provided, as shown in Figure 3, comprise download module 10, installation module 20, operation module 30, computing module 40, judge module 50, Executive Module 60, restart module 70, between modules, can adopt the mode of software, hardware or software and hardware combining to realize.Wherein, download module 10, for downloading and installing the APK file for deciphering from mobile-phone manufacturers client; Installation module 20, for installing the APK file for deciphering, the APK file that described APK file is a kind of dynamic encryption on mobile phone; Operation module 30, sends enciphered data in the mode of broadcast to each encrypted program module of mobile phone for the automatic described APK file of operation; Computing module 40, for being decrypted by predetermined decipherment algorithm according to the enciphered data of receiving in described each encrypted program module; Judge module 50, for judging that described each encrypted program module show that whether decrypted result is correct; Executive Module 60, for as described in each encrypted program module decrypted result remove the password setting of module separately when correct; As described in point out during each encrypted program module decrypted result mistake type incorrect or be illegal decoding tool; Restart module 70, for remove the password of module separately in execution, after arranging, restart mobile phone.
These are only embodiments of the invention, not in order to limit the present invention, all any modifications of doing in the spirit and principles in the present invention, be equal to and replace or improvement etc., all should be included in protection scope of the present invention.

Claims (6)

1. a cell phone password restoration methods, is characterized in that, comprises the following steps:
A., APK file for deciphering, the APK file that described APK file is a kind of dynamic encryption are installed on mobile phone;
B. automatically the described APK file of operation sends enciphered data in the mode of broadcast to each encrypted program module of mobile phone;
C. each encrypted program module of receiving described enciphered data discharges the value in encipheror, described APK file receives after described value according to the algorithm of reaching an agreement on described encipheror and calculates, and the result of calculation obtaining is mated with decrypted result default in described encrypted program module;
D. according to the result of above-mentioned coupling, determine whether the decryption instructions that the correct APK file for deciphering sends;
E. above-mentioned matching result is consistent, is the decryption instructions that the correct APK file for deciphering sends, and removes the password setting of module separately; Above-mentioned matching result is inconsistent, for the incorrect decryption instructions of sending for the APK file of deciphering, points out type incorrect or be illegal decoding tool.
2. cell phone password restoration methods according to claim 1, is characterized in that, described steps A comprises: the step that downloads and installs the APK file for deciphering from mobile-phone manufacturers client.
3. cell phone password restoration methods according to claim 1, is characterized in that, is also included in and in described step e, carries out the step of restarting mobile phone after the step of removing password setting separately.
4. a cell phone password recovery device, is characterized in that, comprising:
Installation module, for installing the APK file for deciphering, the APK file that described APK file is a kind of dynamic encryption on mobile phone;
Operation module, sends enciphered data in the mode of broadcast to each encrypted program module of mobile phone for the automatic described APK file of operation;
Computing module, for receiving that each encrypted program module of enciphered data discharges the value of encipheror, described APK file receives after described value according to the algorithm of reaching an agreement on described encipheror and calculates, and the result of calculation obtaining is mated with decrypted result default in described encrypted program module;
Judge module, for the decryption instructions that determines whether that according to the result of above-mentioned coupling the correct APK file for deciphering sends;
Executive Module, above-mentioned matching result is consistent, the decryption instructions of sending for the correct APK file for deciphering, remove the password setting of module separately, above-mentioned matching result is inconsistent, for the incorrect decryption instructions of sending for the APK file of deciphering, point out type incorrect or be illegal decoding tool.
5. a kind of cell phone password recovery device according to claim 4, is characterized in that, comprises download module, for download and install the APK file for deciphering from mobile-phone manufacturers client.
6. a kind of cell phone password recovery device according to claim 4, is characterized in that, also comprises and restarts module, for remove the password of module separately in execution, after arranging, restarts mobile phone.
CN201210484843.4A 2012-11-23 2012-11-23 Password recovery method and device for mobile phone Expired - Fee Related CN102946489B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210484843.4A CN102946489B (en) 2012-11-23 2012-11-23 Password recovery method and device for mobile phone

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210484843.4A CN102946489B (en) 2012-11-23 2012-11-23 Password recovery method and device for mobile phone

Publications (2)

Publication Number Publication Date
CN102946489A CN102946489A (en) 2013-02-27
CN102946489B true CN102946489B (en) 2014-04-16

Family

ID=47729394

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210484843.4A Expired - Fee Related CN102946489B (en) 2012-11-23 2012-11-23 Password recovery method and device for mobile phone

Country Status (1)

Country Link
CN (1) CN102946489B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104461587A (en) * 2013-09-13 2015-03-25 卓望数码技术(深圳)有限公司 Method and device for installing application package in Android terminal

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1752937A1 (en) * 2005-07-29 2007-02-14 Research In Motion Limited System and method for encrypted smart card PIN entry
CN102087605A (en) * 2011-01-28 2011-06-08 宇龙计算机通信科技(深圳)有限公司 Android-based platform application installation control method and system
CN102236757A (en) * 2011-06-30 2011-11-09 北京邮电大学 Software protection method and system applicable to Android system

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7949355B2 (en) * 2007-09-04 2011-05-24 Research In Motion Limited System and method for processing attachments to messages sent to a mobile device

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1752937A1 (en) * 2005-07-29 2007-02-14 Research In Motion Limited System and method for encrypted smart card PIN entry
CN102087605A (en) * 2011-01-28 2011-06-08 宇龙计算机通信科技(深圳)有限公司 Android-based platform application installation control method and system
CN102236757A (en) * 2011-06-30 2011-11-09 北京邮电大学 Software protection method and system applicable to Android system

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
基于Android平台的软件保护技术研究;杨勇义等;《中国科技论文在线》;20120731;全文 *
杨勇义等.基于Android平台的软件保护技术研究.《中国科技论文在线》.2012,全文.

Also Published As

Publication number Publication date
CN102946489A (en) 2013-02-27

Similar Documents

Publication Publication Date Title
EP2549678B1 (en) Method and apparatus for protecting software of mobile terminal
KR101532530B1 (en) Methods and apparatus for subscription management in dual sim single standby devices
EP3324660A1 (en) Communication control method and apparatus, terminal, and network platform
WO2018045958A1 (en) Method and system for upgrading wireless fidelity (wi-fi) device
US20050022212A1 (en) Software driver code usage
CN104166577B (en) A kind of method and apparatus of mobile terminal system upgrading
CN107832065A (en) Firmware upgrade method, water purifier, upgrade-system and readable storage medium storing program for executing
US20110019826A1 (en) Method of installing a wireless network
CN104484592A (en) Starting method and system of mobile equipment factory pattern
CN104750515A (en) Firmware version upgrading method and system
CN102646043A (en) Method and device for upgrading mobile terminal software and mobile terminal
CN103605551A (en) Plugin updating method, system and relevant equipment based on IOS program
CN105183499A (en) ROM flashing method, mobile terminal and terminal system
US20170068585A1 (en) Method and Apparatus for Recovering System Software of Intelligent Terminal
CN104317564A (en) Method and device for updating feature phone software
US11832348B2 (en) Data downloading method, data management method, and terminal
CN102622254B (en) Television outage disposal route and system
CN102946489B (en) Password recovery method and device for mobile phone
CN103781053A (en) Method, device and correlated terminal for locking network and module of multi-module mobile terminal
KR20080070963A (en) Method and apparatus for updating firmware in mobile communication terminal
CN111726794A (en) LPWA terminal, eSIM proxy terminal and data processing method thereof
KR20130110901A (en) Device and method for setting interface in wireless terminal
CN108702705B (en) Information transmission method and equipment
KR101206639B1 (en) Server and Method for updating firmware in Mobile communication terminal
CN103634398A (en) MOST network-based software upgrading method

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CP01 Change in the name or title of a patent holder
CP01 Change in the name or title of a patent holder

Address after: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18

Patentee after: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd.

Address before: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18

Patentee before: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd.

CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20140416