CN108234762B - Screen protection and privacy maintenance method based on Android - Google Patents
Screen protection and privacy maintenance method based on Android Download PDFInfo
- Publication number
- CN108234762B CN108234762B CN201711473899.9A CN201711473899A CN108234762B CN 108234762 B CN108234762 B CN 108234762B CN 201711473899 A CN201711473899 A CN 201711473899A CN 108234762 B CN108234762 B CN 108234762B
- Authority
- CN
- China
- Prior art keywords
- screen
- mobile terminal
- memo
- android
- password
- 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
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/72—Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
- H04M1/724—User interfaces specially adapted for cordless or mobile telephones
- H04M1/72448—User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
- H04M1/72463—User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions to restrict the functionality of the device
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F21/00—Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
- G06F21/60—Protecting data
- G06F21/606—Protecting data by securing the transmission between two devices or processes
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F21/00—Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
- G06F21/60—Protecting data
- G06F21/62—Protecting access to data via a platform, e.g. using keys or access control rules
- G06F21/6218—Protecting access to data via a platform, e.g. using keys or access control rules to a system of files or objects, e.g. local or distributed file system or database
- G06F21/6245—Protecting personal data, e.g. for financial or medical purposes
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/72—Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
- H04M1/724—User interfaces specially adapted for cordless or mobile telephones
- H04M1/72403—User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
- H04M1/7243—User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality with interactive means for internal management of messages
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/72—Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
- H04M1/724—User interfaces specially adapted for cordless or mobile telephones
- H04M1/72448—User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
- H04M1/72451—User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions according to schedules, e.g. using calendar applications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/72—Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
- H04M1/724—User interfaces specially adapted for cordless or mobile telephones
- H04M1/72448—User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
- H04M1/72454—User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions according to context-related or environment-related conditions
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M2250/00—Details of telephonic subscriber devices
- H04M2250/12—Details of telephonic subscriber devices including a sensor for measuring a physical value, e.g. temperature or motion
Landscapes
- Engineering & Computer Science (AREA)
- Human Computer Interaction (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Theoretical Computer Science (AREA)
- Health & Medical Sciences (AREA)
- Bioethics (AREA)
- General Health & Medical Sciences (AREA)
- Physics & Mathematics (AREA)
- Software Systems (AREA)
- Computer Security & Cryptography (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Computer Hardware Design (AREA)
- Environmental & Geological Engineering (AREA)
- Business, Economics & Management (AREA)
- General Business, Economics & Management (AREA)
- Medical Informatics (AREA)
- Databases & Information Systems (AREA)
- Telephone Function (AREA)
Abstract
The invention discloses a screen protection and privacy maintenance method based on Android, and relates to the technical field of Android terminal protection. The method utilizes event monitoring of an Android system to set logic for entering the screen saver, and after entering the screen saver, other program software is automatically closed or application of dangerous authorities related to other program software is refused through safety detection, so that safety protection of the mobile terminal entering the screen saver is realized; in addition, by setting the interface of the memo contact person associated with the screen unlocking lock, when the screen unlocking password is forgotten, the interface is called to send the screen unlocking password of the terminal to the set memo contact person, and the problem that the mobile terminal cannot be opened forever because the screen unlocking lock is forgotten is solved. Therefore, the mobile terminal can be protected simply, safely and intelligently by adopting the method provided by the embodiment of the invention.
Description
Technical Field
The invention relates to the technical field of Android terminal protection, in particular to a screen protection and privacy maintenance method based on Android.
Background
At present, a commonly used Android terminal screen protection method is a mode that a mobile terminal enters a screen protection mode by screen saving or screen locking by pressing a power key, and then a screen lock is started.
However, after entering the screen saver, the mobile terminal cannot detect the data flow in time, so that a feasible machine for destroying the security of the mobile terminal is created for some malicious programs.
In addition, the mobile terminal adopts the screen saver method, and the screen-opening password needs to be verified when the screen is awakened at the later stage, so that although the safety of the terminal is improved, the terminal is difficult to avoid using, and a user feels cumbersome, and even if the user forgets to open the screen lock, the mobile terminal can not be opened forever. Moreover, by adopting the method for protecting the screen and waking up the screen, when the mobile phone is lost, the defect that the position of the mobile phone cannot be positioned exists.
Disclosure of Invention
The invention aims to provide a screen protection and privacy maintenance method based on Android, so that the problems in the prior art are solved.
In order to achieve the purpose, the technical scheme adopted by the invention is as follows:
a screen protection and privacy maintenance method based on Android comprises the following steps:
s0, writing an external interface for setting a memo contact associated with a screen unlocking lock, setting a mobile phone number of the memo contact, binding a screen unlocking password to the mobile phone number of the memo contact, and binding GPS geographic position information of the mobile terminal to the mobile phone number of the memo contact;
s1, monitoring the click event of the screen of the mobile terminal, judging whether the click event exists in one period, if so, entering the next screen monitoring process, otherwise, executing S2;
s2, calling an external interface of the user-defined screen saver image to enter the screen saver;
s3, calling an external interface of the memo contact person with the associated screen lock, and sending the GPS geographical position information of the mobile terminal to the memo contact person at regular time; after entering a screen saver, starting safety detection, judging whether potential safety hazards exist in the permission application, if so, determining that the permission application is dangerous permission application, automatically closing the mobile terminal or refusing the dangerous permission application, and if not, entering the next round of safety detection;
s4, judging whether the screen saver quits, if so, allowing to input the screen-on password, and executing S5, otherwise, jumping to S3;
and S5, judging whether the screen opening password is correct or not, if so, ending the process, otherwise, judging whether the input times of the wrong password exceed a set value or not, if so, calling an external interface of the memo contact person with the associated screen opening lock, and sending the screen opening password to the memo contact person.
Preferably, S1 further includes the step of writing an external interface for calling the system gallery, and using the selected file as the playing picture of the screen saver to form the external interface of the customized screen saver image.
Preferably, in S5, the mobile terminal sends the screen-opening password to the memo contact through a short message.
Preferably, the mobile terminal sends the GPS geographical position information to the memo contact at regular time through a short message.
The invention has the beneficial effects that: according to the Android-based screen protection and privacy maintenance method provided by the embodiment of the invention, the logic of entering the screen saver is set by utilizing the event monitoring of the Android system, and after entering the screen saver, other program software is automatically closed or the application of dangerous authorities related to other program software is refused through safety detection, so that the safety protection of the mobile terminal entering the screen saver is realized; in addition, by setting the interface of the memo contact person associated with the screen unlocking lock, when the screen unlocking password is forgotten, the interface is called to send the screen unlocking password of the terminal to the set memo contact person, and the problem that the mobile terminal cannot be opened forever because the screen unlocking lock is forgotten is solved. Therefore, the mobile terminal can be protected simply, safely and intelligently by adopting the method provided by the embodiment of the invention.
Drawings
Fig. 1 is a schematic flowchart of a screen protection and privacy maintenance method based on Android according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the present invention is further described in detail below with reference to the accompanying drawings. It should be understood that the detailed description and specific examples, while indicating the invention, are intended for purposes of illustration only and are not intended to limit the scope of the invention.
As shown in fig. 1, an embodiment of the present invention provides a screen protection and privacy maintenance method based on Android, including the following steps:
s0, writing an external interface for setting a memo contact associated with a screen unlocking lock, setting a mobile phone number of the memo contact, binding a screen unlocking password to the mobile phone number of the memo contact, and binding GPS geographic position information of the mobile terminal to the mobile phone number of the memo contact;
s1, monitoring the click event of the screen of the mobile terminal, judging whether the click event exists in one period, if so, entering the next screen monitoring process, otherwise, executing S2;
s2, calling an external interface of the user-defined screen saver image to enter the screen saver;
s3, calling an external interface of the memo contact person with the associated screen lock, and sending the GPS geographical position information of the mobile terminal to the memo contact person at regular time; after entering a screen saver, starting safety detection, judging whether potential safety hazards exist in the permission application, if so, determining that the permission application is dangerous permission application, automatically closing the mobile terminal or refusing the dangerous permission application, and if not, entering the next round of safety detection;
s4, judging whether the screen saver quits, if so, allowing to input the screen-on password, and executing S5, otherwise, jumping to S3;
and S5, judging whether the screen opening password is correct or not, if so, ending the process, otherwise, judging whether the input times of the wrong password exceed a set value or not, if so, calling an external interface of the memo contact person with the associated screen opening lock, and sending the screen opening password to the memo contact person.
Firstly, combining a screen click event of a mobile terminal with a Service component of an Android system, and setting a unique and intelligent screen saver entering method; when entering a screen security, a safety monitoring module is automatically started, some dangerous authorities and authority combinations are enumerated by utilizing an authority detection mode of an Android system, dangerous software is refused or closed as long as dangerous authority application of a terminal is found, and a user is informed; by calling the interface of the memo contact person with the associated screen-opening lock arranged outside, the screen-opening password of the terminal can be sent to the set memo contact person when the screen-opening password is forgotten or the wrong screen-opening password is continuously input, so that the problem that the screen-opening password is forgotten is solved.
Therefore, by adopting the method provided by the embodiment of the invention, the logic of entering the screen saver is set by utilizing the event monitoring of the Android system, and after entering the screen saver, other program software is automatically closed or the application of the dangerous authority related to other program software is refused through safety detection, so that the safety protection of the mobile terminal entering the screen saver is realized; in addition, by setting the interface of the memo contact person associated with the screen unlocking lock, when the screen unlocking password is forgotten, the interface is called to send the screen unlocking password of the terminal to the set memo contact person, and the problem that the mobile terminal cannot be opened forever because the screen unlocking lock is forgotten is solved.
In this embodiment of the present invention, step S1 may further include writing an external interface for calling a system gallery, and forming an external interface for a custom screen saver image by using the selected file as a playing picture of the screen saver.
In the embodiment of the present invention, step S1 may further include writing an external interface for setting a memo contact associated with the screen unlocking lock, setting a mobile phone number of the memo contact, and binding the screen unlocking password to the mobile phone number of the memo contact.
In S5, the mobile terminal sends the screen opening password to the memo contact person through a short message.
In a preferred embodiment of the present invention, the GPS geographic location information of the mobile terminal is bound to the mobile phone number of the memo contact, and after S2, the method further includes the step of calling an external interface of the memo contact, which is set to be associated with the screen unlocking lock, and sending the GPS geographic location information of the mobile terminal to the memo contact at regular time.
By adopting the method, the positioning of the mobile terminal can be sent to the memo contact person at regular intervals by starting a GPS (global positioning system) timing task, so that the problem that the position of the mobile phone cannot be positioned under the condition that the mobile terminal is lost is solved, and the mobile terminal is further protected safely.
In the embodiment of the invention, the mobile terminal can send the GPS geographical position information to the memo contact at regular time through the short message.
In a specific implementation process, the method provided by the embodiment of the invention can be implemented according to the following steps:
step 1, customizing a global broadcast and a service by using components provided by an android system, compiling and calling an external interface of a system gallery, and taking a selected file as a playing picture of screen protection. I.e., to provide a method of setting a screen saver image.
And 2, reading the contact person mode by using the android system, setting a binding memo contact person, compiling a short message sending function, and sending a GPS (global positioning system) and a screen saver unlocking password of the mobile phone. Namely, a method for acquiring the position information of a mobile phone GPS (global positioning system) and a method for acquiring a screen lock password and calling the system to send a short message are provided.
And 3, compiling a background running program to realize the monitoring of the on and off of the mobile phone screen, and compiling a timing task to realize the function of automatically locking the screen and entering the screen saver without clicking events in the period. Namely, a method for turning off and lighting up a screen of a mobile phone is provided.
And 4, compiling a screen locking password lock, calling the method in the second step to add the phone number of the memo contact person in order to overcome the defects that the screen saver of the traditional mobile phone cannot remember the password and cannot be found back under the condition that the mobile phone is lost, binding the GPS and the screen saver password to the phone number, and triggering the method in the step 2 under the condition that the screen saver password is input wrongly. Namely, a method for solving the problems of password recovery due to password loss and positioning after mobile phone loss is provided.
And 5, compiling a dangerous authority monitoring function of the mobile phone, namely solving the defect that the traditional screen saver only simply protects a mobile phone screen but cannot protect the privacy of the mobile phone, and providing a method for detecting the privacy authority of the mobile phone.
And 6, combining the step 4 and the step 5 to realize the internal loop detection of the program, and putting the task thread in the background of the system, so that the logic function is kept in a state of waiting to be executed until the program is artificially and actively ended.
By adopting the technical scheme disclosed by the invention, the following beneficial effects are obtained: according to the Android-based screen protection and privacy maintenance method provided by the embodiment of the invention, the logic of entering the screen saver is set by utilizing the event monitoring of the Android system, and after entering the screen saver, other program software is automatically closed or the application of dangerous authorities related to other program software is refused through safety detection, so that the safety protection of the mobile terminal entering the screen saver is realized; in addition, by setting the interface of the memo contact person associated with the screen unlocking lock, when the screen unlocking password is forgotten, the interface is called to send the screen unlocking password of the terminal to the set memo contact person, and the problem that the mobile terminal cannot be opened forever because the screen unlocking lock is forgotten is solved. Therefore, the mobile terminal can be protected simply, safely and intelligently by adopting the method provided by the embodiment of the invention.
The foregoing is only a preferred embodiment of the present invention, and it should be noted that, for those skilled in the art, various modifications and improvements can be made without departing from the principle of the present invention, and such modifications and improvements should also be considered within the scope of the present invention.
Claims (4)
1. A screen protection and privacy maintenance method based on Android is characterized by comprising the following steps:
s0, writing an external interface for setting a memo contact associated with a screen unlocking lock, setting a mobile phone number of the memo contact, binding a screen unlocking password to the mobile phone number of the memo contact, and binding GPS geographic position information of the mobile terminal to the mobile phone number of the memo contact;
s1, monitoring the click event of the screen of the mobile terminal, judging whether the click event exists in one period, if so, entering the next screen monitoring process, otherwise, executing S2;
s2, calling an external interface of the user-defined screen saver image to enter the screen saver;
s3, calling an external interface of the memo contact person with the associated screen lock, and sending the GPS geographical position information of the mobile terminal to the memo contact person at regular time; after entering a screen saver, starting safety detection, judging whether potential safety hazards exist in the permission application, if so, determining that the permission application is dangerous permission application, automatically closing the mobile terminal or refusing the dangerous permission application, and if not, entering the next round of safety detection;
s4, judging whether the screen saver quits, if so, allowing to input the screen-on password, and executing S5, otherwise, jumping to S3;
and S5, judging whether the screen opening password is correct or not, if so, ending the process, otherwise, judging whether the input times of the wrong password exceed a set value or not, if so, calling an external interface of the memo contact person with the associated screen opening lock, and sending the screen opening password to the memo contact person.
2. The Android-based screen saver and privacy maintenance method of claim 1, wherein S1 is preceded by the step of writing an external interface for calling a system gallery, and taking the selected file as a playing picture of the screen saver to form an external interface for a custom screen saver image.
3. The Android-based screen protection and privacy maintaining method of claim 1, wherein in S5, the mobile terminal sends the screen opening password to the memo contact through a short message.
4. The Android-based screen protection and privacy maintenance method of claim 1, wherein the mobile terminal sends the GPS geographical location information to the memo contact at regular time through a short message.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711473899.9A CN108234762B (en) | 2017-12-29 | 2017-12-29 | Screen protection and privacy maintenance method based on Android |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711473899.9A CN108234762B (en) | 2017-12-29 | 2017-12-29 | Screen protection and privacy maintenance method based on Android |
Publications (2)
Publication Number | Publication Date |
---|---|
CN108234762A CN108234762A (en) | 2018-06-29 |
CN108234762B true CN108234762B (en) | 2021-01-05 |
Family
ID=62646876
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201711473899.9A Active CN108234762B (en) | 2017-12-29 | 2017-12-29 | Screen protection and privacy maintenance method based on Android |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108234762B (en) |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102075853A (en) * | 2010-11-18 | 2011-05-25 | 中兴通讯股份有限公司 | Method and system for locating mobile terminal |
CN103780755A (en) * | 2013-12-31 | 2014-05-07 | 闻泰通讯股份有限公司 | Mobile phone with short message positioning function and positioning method thereof |
CN104410953A (en) * | 2014-11-14 | 2015-03-11 | 翦宜军 | Method of carrying out location management on student and device |
Family Cites Families (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20100154061A1 (en) * | 2008-12-16 | 2010-06-17 | International Business Machines Corporation | System and method for identifying malicious activities through non-logged-in host usage |
CN102279912A (en) * | 2011-06-03 | 2011-12-14 | 奇智软件(北京)有限公司 | Client program monitoring method and device and client |
CN104349452B (en) * | 2013-07-24 | 2018-09-14 | 中国电信股份有限公司 | A kind of method and system of locating cellphone |
CN107480487A (en) * | 2017-08-18 | 2017-12-15 | 广东欧珀移动通信有限公司 | Unlocking screen processing method, device and intelligent terminal applied to intelligent terminal |
-
2017
- 2017-12-29 CN CN201711473899.9A patent/CN108234762B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102075853A (en) * | 2010-11-18 | 2011-05-25 | 中兴通讯股份有限公司 | Method and system for locating mobile terminal |
CN103780755A (en) * | 2013-12-31 | 2014-05-07 | 闻泰通讯股份有限公司 | Mobile phone with short message positioning function and positioning method thereof |
CN104410953A (en) * | 2014-11-14 | 2015-03-11 | 翦宜军 | Method of carrying out location management on student and device |
Also Published As
Publication number | Publication date |
---|---|
CN108234762A (en) | 2018-06-29 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US9916481B2 (en) | Systems and methods for mitigating the unauthorized use of a device | |
US11864051B2 (en) | Systems and methods for monitoring and managing use of mobile electronic devices | |
US10515203B2 (en) | Method and system for improving security of a mobile terminal | |
CN106534148B (en) | Access control method and device for application | |
US9560527B2 (en) | Version protection method and apparatus for mobile terminal | |
US20150156313A1 (en) | Screen unlocking method and device for mobile terminal | |
CN103023649A (en) | Method, device and equipment for protecting privacy information | |
CN107734176A (en) | Loss guard method, terminal and the computer-readable recording medium of mobile terminal | |
CN106446632A (en) | Hide display starting device and hide display starting method for application programs | |
CN107026935B (en) | Mobile device and permission control method and device of mobile device | |
CN105279460A (en) | Method and device for starting USB (Universal Serial Bus) debugging mode interface, and terminal | |
EP3166294B1 (en) | Systems and methods for monitoring and managing use of mobile electronic devices | |
CN106485170A (en) | A kind of data inputting method and device | |
EP2780900B1 (en) | Systems and methods for recovering low power devices | |
CN102932741A (en) | Mobile phone antitheft tracking method and antitheft tracking mobile phone | |
CN105389503B (en) | A kind of screen locking guard method, system and mobile terminal | |
CN108234762B (en) | Screen protection and privacy maintenance method based on Android | |
CN109977676B (en) | Application program control method, device and equipment | |
CN106778173B (en) | Method and device for setting application lock based on intelligent operating system | |
CN113542256A (en) | Method, device, equipment and storage medium for updating login credentials in client | |
JP6212864B2 (en) | Key management system, method and program | |
WO2018000658A1 (en) | Information processing method and apparatus | |
CN106453057A (en) | Method and terminal for preventing short message from being stolen | |
CN104298924A (en) | Method and device for ensuring system safety and terminal | |
US9449158B2 (en) | Expiration time authentication system, expiration time authentication device, and expiration time authentication method for applications |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |