CN103886271A - Password clearing method and system - Google Patents

Password clearing method and system Download PDF

Info

Publication number
CN103886271A
CN103886271A CN201410117861.8A CN201410117861A CN103886271A CN 103886271 A CN103886271 A CN 103886271A CN 201410117861 A CN201410117861 A CN 201410117861A CN 103886271 A CN103886271 A CN 103886271A
Authority
CN
China
Prior art keywords
password
module
clearing
storage card
desktop starter
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
CN201410117861.8A
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 ALONG ELECTRONIC CO Ltd
Original Assignee
SHANGHAI ALONG ELECTRONIC 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 ALONG ELECTRONIC CO Ltd filed Critical SHANGHAI ALONG ELECTRONIC CO Ltd
Priority to CN201410117861.8A priority Critical patent/CN103886271A/en
Publication of CN103886271A publication Critical patent/CN103886271A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/30Authentication, i.e. establishing the identity or authorisation of security principals
    • G06F21/45Structures or tools for the administration of authentication
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • G06F21/62Protecting access to data via a platform, e.g. using keys or access control rules
    • G06F21/6218Protecting 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
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/70Protecting specific internal or peripheral components, in which the protection of a component leads to protection of the entire computer
    • G06F21/71Protecting specific internal or peripheral components, in which the protection of a component leads to protection of the entire computer to assure secure computing or processing of information
    • G06F21/77Protecting specific internal or peripheral components, in which the protection of a component leads to protection of the entire computer to assure secure computing or processing of information in smart cards
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2221/00Indexing scheme relating to security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F2221/21Indexing scheme relating to G06F21/00 and subgroups addressing additional information or applications relating to security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F2221/2131Lost password, e.g. recovery of lost or forgotten passwords

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Physics & Mathematics (AREA)
  • Computer Security & Cryptography (AREA)
  • General Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • General Physics & Mathematics (AREA)
  • General Health & Medical Sciences (AREA)
  • Bioethics (AREA)
  • Health & Medical Sciences (AREA)
  • Databases & Information Systems (AREA)
  • Mathematical Physics (AREA)
  • Storage Device Security (AREA)

Abstract

The invention provides a password clearing method. The password clearing method comprises the following steps that A. whether a storage card is mounted or not is judged, if yes, the step B is executed, and if not, a tabletop starter is started normally; B. whether a password file exists in the storage card or not is judged, if yes, the step C is executed, and if not, the tabletop starter is started normally; C. whether the password of the password file is matched with a default password or not is judged, if yes, the step D is executed, and if not, the tabletop starter is started normally; D. system screen locking is eliminated. The password clearing method and system have the advantages of clearing the password conveniently, rapidly and safely, and bringing convenience to use by users.

Description

Method for clearing password and system
Technical field
The present invention relates to data processing field, relate in particular to method for clearing password and system.
Background technology
Along with scientific and technological progress, the development of society, the terminal device such as smart mobile phone or panel computer has been widely used in the middle of people's live and work, these terminal devices are bringing easily simultaneously, also there are some shortcomings, for example: user's android equipment has forgotten that release pattern code or password cause user cannot operate android equipment, meet that this situation general user can only brush machine again or with cracking, again the machine of brushing just faces personal data and empties comprehensively, as the embarrassment of picture video SMS communication record etc. in machine, this will bring very large loss to user.Crack and probably damage user's android equipment, invasion of privacy etc., security cannot be guaranteed.Some android equipment even two kinds of methods is all right obstructed, and probably equipment just cannot operate forever.
Summary of the invention
In order to solve the problems of the prior art, the invention provides a kind of method for clearing password.
The invention provides a kind of method for clearing password, comprise the steps:
A. the storage card that judged whether carry, if so, performs step so B, otherwise normally starts desktop starter;
B. judge in storage card whether have cryptogram, if so, perform step so C, otherwise normally start desktop starter;
Whether the password that C. judges cryptogram mates with password default, if so, performs step so D, otherwise normally starts desktop starter;
D. cancel system screen locking.
As a further improvement on the present invention, before described steps A, also comprise load step, in described load step: system boot loads desktop starter.
As a further improvement on the present invention, between described steps A and described load step, also comprise readjustment step, in described readjustment step: the onCreate () function of desktop starter is called back.
As a further improvement on the present invention, this method for clearing password also comprises:
E. inquire and judge user's password of whether resetting immediately, if so, performing step so F, otherwise inquiry session frame disappears;
F. switch to replacement cryptographic interface and carry out password replacement.
As a further improvement on the present invention, described storage card is SD card.
The present invention also provides a kind of clearing password system, comprising:
Storage card carry module, for the storage card that judged whether carry, if so, carries out so cryptogram judge module, otherwise normally starts desktop starter;
Cryptogram judge module, for judging whether storage card exists cryptogram, if so, carries out so password matching module, otherwise normally starts desktop starter;
Whether password matching module, mate with password default for the password that judges cryptogram, if so, carries out and separate lock module so, otherwise normally start desktop starter;
Separate lock module, for cancelling system screen locking.
As a further improvement on the present invention, before described storage card carry module, also comprise load-on module, in described load-on module: load desktop starter for system boot.
As a further improvement on the present invention, between described storage card carry module and described load-on module, also comprise callback module, in described callback module: the onCreate () function for desktop starter is called back.
As a further improvement on the present invention, this clearing password system also comprises:
Inquiry judge module, for inquire and judging user's password of whether resetting immediately, if so, carries out password replacement module so, otherwise the disappearance of inquiry session frame;
Password replacement module, carries out password replacement for switching to replacement cryptographic interface.
As a further improvement on the present invention, described storage card is SD card.
The invention has the beneficial effects as follows: method for clearing password of the present invention and system be convenient, fast, safety in the time removing password, brought facility to user's use.
Brief description of the drawings
Fig. 1 is method for clearing password process flow diagram of the present invention.
Embodiment
As shown in Figure 1, the invention discloses a kind of method for clearing password, comprise the steps:
In step S1, system boot loads desktop starter;
In step S2, the onCreate () function of desktop starter is called back;
In step S3, the storage card that judged whether carry, if so, performs step so S4, otherwise normally starts desktop starter;
In step S4, judge in storage card whether have cryptogram, if so, perform step so S5, otherwise normally start desktop starter;
In step S5, judge whether the password of cryptogram mates with password default, if so, performs step so S6, otherwise normally start desktop starter;
In step S6, cancel system screen locking;
In step S7, inquire and judge user's password of whether resetting immediately, if so, perform step so S8, otherwise inquiry session frame disappears;
In step S8, switch to replacement cryptographic interface and carry out password replacement.
The invention also discloses a kind of clearing password system, comprising:
Load-on module, loads desktop starter for system boot;
Callback module, is called back for the onCreate () function of desktop starter;
Storage card carry module, for the storage card that judged whether carry, if so, carries out so cryptogram judge module, otherwise normally starts desktop starter;
Cryptogram judge module, for judging whether storage card exists cryptogram, if so, carries out so password matching module, otherwise normally starts desktop starter;
Whether password matching module, mate with password default for the password that judges cryptogram, if so, carries out and separate lock module so, otherwise normally start desktop starter;
Separate lock module, for cancelling system screen locking;
Inquiry judge module, for inquire and judging user's password of whether resetting immediately, if so, carries out password replacement module so, otherwise the disappearance of inquiry session frame;
Password replacement module, carries out password replacement for switching to replacement cryptographic interface.
Storage card described in the present invention is SD card.
The English name of desktop starter is Launcher, and method and system of the present invention mainly apply to android equipment.
After Android system gets up, can load Launcher, and then adjust back its onCreate () function, the present invention adds password and cancels function in this function.
Password default of the present invention is the password default that machine arranges while dispatching from the factory.Method and system of the present invention do not need the support of network or root authority, and method and system of the present invention are directly carried out in Android internal system, do not need extra installation may damage subscriber equipment, invade cracking of privacy of user.Security and the convenience requirement of the android equipment to user while having ensured to remove password.Also do not need again to brush firmware, user's personal data can intact preserving simultaneously.
Method and system of the present invention are directly embedded in the onCreate () method of Launcher.java, Launcher inherits from Activity, and be responsible for starting up by Android system, after starting at once checkout equipment whether carry sd card, if any further judging whether sd card has cryptogram, having cancel device password and point out user cipher successfully to cancel.Then eject the dialog box inquiry user password of whether resetting immediately.And do not need to write in addition software monitoring system start broadcast, thus more save system resource, can not cause extra electric quantity consumption to system.
Method and system of the present invention do not need network support, early decided the plan of reply for the google that forgets Password, log in the password that the same client of google account removes android equipment, but this needs the support of network, for not supporting sim card and not having the flat board of wifi cannot pass through this approach release, the present invention directly reads SD card by code, only needs a SD card just can solve, very convenient.
Method and system of the present invention do not need root authority and the support of usb debugging mode, thereby there is now a lot of brush machine software getting after root authority and usb debugging mode and can reach the object of cancelling password by Force Deletion android key file, but much not open root authorities of the consideration of android equipment vendors in safety, and open this authority has very large potential safety hazard, and usb debugging mode is not understood especially for a lot of domestic consumers, this method of operating is only suitable for some technician.
Above content is in conjunction with concrete preferred implementation further description made for the present invention, can not assert that specific embodiment of the invention is confined to these explanations.For general technical staff of the technical field of the invention, without departing from the inventive concept of the premise, can also make some simple deduction or replace, all should be considered as belonging to protection scope of the present invention.

Claims (10)

1. a method for clearing password, is characterized in that, comprises the steps:
A. the storage card that judged whether carry, if so, performs step so B, otherwise normally starts desktop starter;
B. judge in storage card whether have cryptogram, if so, perform step so C, otherwise normally start desktop starter;
Whether the password that C. judges cryptogram mates with password default, if so, performs step so D, otherwise normally starts desktop starter;
D. cancel system screen locking.
2. method for clearing password according to claim 1, is characterized in that, also comprises load step before described steps A, in described load step: system boot loads desktop starter.
3. method for clearing password according to claim 2, is characterized in that, between described steps A and described load step, also comprises readjustment step, in described readjustment step: the onCreate () function of desktop starter is called back.
4. according to the method for clearing password described in claims 1 to 3 any one, it is characterized in that, this method for clearing password also comprises:
E. inquire and judge user's password of whether resetting immediately, if so, performing step so F, otherwise inquiry session frame disappears;
F. switch to replacement cryptographic interface and carry out password replacement.
5. method for clearing password according to claim 4, is characterized in that, described storage card is SD card.
6. a clearing password system, is characterized in that, comprising:
Storage card carry module, for the storage card that judged whether carry, if so, carries out so cryptogram judge module, otherwise normally starts desktop starter;
Cryptogram judge module, for judging whether storage card exists cryptogram, if so, carries out so password matching module, otherwise normally starts desktop starter;
Whether password matching module, mate with password default for the password that judges cryptogram, if so, carries out and separate lock module so, otherwise normally start desktop starter;
Separate lock module, for cancelling system screen locking.
7. clearing password system according to claim 6, is characterized in that, before described storage card carry module, also comprises load-on module, in described load-on module: load desktop starter for system boot.
8. clearing password system according to claim 7, it is characterized in that, between described storage card carry module and described load-on module, also comprise callback module, in described callback module: the onCreate () function for desktop starter is called back.
9. according to the clearing password system described in claim 6 to 8 any one, it is characterized in that, this clearing password system also comprises:
Inquiry judge module, for inquire and judging user's password of whether resetting immediately, if so, carries out password replacement module so, otherwise the disappearance of inquiry session frame;
Password replacement module, carries out password replacement for switching to replacement cryptographic interface.
10. clearing password system according to claim 9, is characterized in that, described storage card is SD card.
CN201410117861.8A 2014-03-26 2014-03-26 Password clearing method and system Pending CN103886271A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410117861.8A CN103886271A (en) 2014-03-26 2014-03-26 Password clearing method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410117861.8A CN103886271A (en) 2014-03-26 2014-03-26 Password clearing method and system

Publications (1)

Publication Number Publication Date
CN103886271A true CN103886271A (en) 2014-06-25

Family

ID=50955155

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410117861.8A Pending CN103886271A (en) 2014-03-26 2014-03-26 Password clearing method and system

Country Status (1)

Country Link
CN (1) CN103886271A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107995625A (en) * 2017-12-11 2018-05-04 Tcl移动通信科技(宁波)有限公司 Mobile terminal and method, storage medium and the credit SIM card for recalling contact person

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1596016A (en) * 2003-09-13 2005-03-16 刘燕南 A novel safety theftproof mobile telephone set
CN101320355A (en) * 2007-06-04 2008-12-10 群联电子股份有限公司 Memory device, storing card access apparatus and its read-write method
CN102708324A (en) * 2012-05-16 2012-10-03 惠州Tcl移动通信有限公司 Screen locker unlocking system and method
CN102999335A (en) * 2012-11-19 2013-03-27 东莞康特尔电子有限公司 Method for clearing Android system passwords
CN103034417A (en) * 2012-12-28 2013-04-10 希姆通信息技术(上海)有限公司 Unlocking method for touch screen and terminal equipment

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1596016A (en) * 2003-09-13 2005-03-16 刘燕南 A novel safety theftproof mobile telephone set
CN101320355A (en) * 2007-06-04 2008-12-10 群联电子股份有限公司 Memory device, storing card access apparatus and its read-write method
CN102708324A (en) * 2012-05-16 2012-10-03 惠州Tcl移动通信有限公司 Screen locker unlocking system and method
CN102999335A (en) * 2012-11-19 2013-03-27 东莞康特尔电子有限公司 Method for clearing Android system passwords
CN103034417A (en) * 2012-12-28 2013-04-10 希姆通信息技术(上海)有限公司 Unlocking method for touch screen and terminal equipment

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
ONLY_GUEST: "Android无视屏幕解锁保护界面", 《WOOYUN.ORG/BUGS/WOOYUN-2010-09978》 *

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107995625A (en) * 2017-12-11 2018-05-04 Tcl移动通信科技(宁波)有限公司 Mobile terminal and method, storage medium and the credit SIM card for recalling contact person

Similar Documents

Publication Publication Date Title
US10489568B2 (en) Apparatus and methods for improving terminal security
US10306052B1 (en) Methods and devices for secure authentication to a compute device
US9378344B2 (en) Method and apparatus for protecting information based on data card
EP3528160B1 (en) Method, system and terminal for encrypting/decrypting application program on communication terminal
CN103559455A (en) Android device personal information protection method based on user identification
WO2016101384A1 (en) Dual-system switch based data security processing method and apparatus
CN106446632A (en) Hide display starting device and hide display starting method for application programs
CN106797561A (en) A kind of identity identifying method and wearable device
CN101827148A (en) Fingerprint identification system applied to mobile phone and operating method thereof
CN104268451A (en) Mobile terminal and shortcut starting method and device thereof
CN102426639B (en) Information safety monitoring method and device
CN103778381A (en) Application screen locking method and device based on Android
CN110430280B (en) Account automatic login method and system, storage medium and cloud desktop server
CN104134024A (en) Mobile terminal privacy protection method and system
CN105227521A (en) Communication terminal and method for managing security, device
CN105721664B (en) A kind of SMS processing method and device
CN105516500A (en) Method and system for selecting device mode
CN107704337B (en) Factory setting restoring method, mobile terminal and device with storage function
CN104937602B (en) Privacy protection method and electronic equipment
CN106502495A (en) A kind of method and apparatus for accessing desktop under guest mode
CN103886271A (en) Password clearing method and system
CN105354461A (en) Authentication method and terminal
CN112100672B (en) Application program unloading method and device
KR101745390B1 (en) Data leakage prevention apparatus and method thereof
US10038778B1 (en) Locally securing sensitive data stored on a mobile phone

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20140625

RJ01 Rejection of invention patent application after publication