WO2019000972A1 - 一种提示信息的输出方法及装置 - Google Patents

一种提示信息的输出方法及装置 Download PDF

Info

Publication number
WO2019000972A1
WO2019000972A1 PCT/CN2018/076421 CN2018076421W WO2019000972A1 WO 2019000972 A1 WO2019000972 A1 WO 2019000972A1 CN 2018076421 W CN2018076421 W CN 2018076421W WO 2019000972 A1 WO2019000972 A1 WO 2019000972A1
Authority
WO
WIPO (PCT)
Prior art keywords
lock
mobile terminal
application
system lock
unlocked
Prior art date
Application number
PCT/CN2018/076421
Other languages
English (en)
French (fr)
Inventor
方杰
Original Assignee
北京金山安全软件有限公司
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 北京金山安全软件有限公司 filed Critical 北京金山安全软件有限公司
Priority to US16/347,643 priority Critical patent/US10630831B2/en
Publication of WO2019000972A1 publication Critical patent/WO2019000972A1/zh

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/10Protecting distributed programs or content, e.g. vending or licensing of copyrighted material ; Digital rights management [DRM]
    • G06F21/12Protecting executable software
    • G06F21/121Restricting unauthorised execution of programs
    • 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/30Authentication, i.e. establishing the identity or authorisation of security principals
    • G06F21/31User 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/70Protecting specific internal or peripheral components, in which the protection of a component leads to protection of the entire computer
    • G06F21/82Protecting input, output or interconnection devices
    • G06F21/84Protecting input, output or interconnection devices output devices, e.g. displays or monitors
    • 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/88Detecting or preventing theft or loss
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/66Substation equipment, e.g. for use by subscribers with means for preventing unauthorised or fraudulent calling
    • H04M1/667Preventing unauthorised calls from a telephone set
    • H04M1/67Preventing unauthorised calls from a telephone set by electronic means
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
    • H04M1/72454User 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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
    • H04M1/72457User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions according to geographic location
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
    • H04M1/72463User 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
    • H04M1/724631User 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 by limiting the access to the user interface, e.g. locking a touch-screen or a keypad
    • 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/2113Multi-level security, e.g. mandatory access control
    • 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/2135Metering
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72403User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
    • H04M1/7243User 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
    • H04M1/72439User 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 for image or video messaging
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M2250/00Details of telephonic subscriber devices
    • H04M2250/52Details of telephonic subscriber devices including functional features of a camera

Definitions

  • the present application relates to the field of mobile communication technologies, and in particular, to a method and an apparatus for outputting prompt information.
  • the lock screen application When a mobile terminal (such as a mobile phone) only uses the application lock set by the lock screen application to lock the screen, the lock screen application records the number of times the application lock is unlocked, and when the application lock fails to be unlocked, the lock screen application determines the current If the number of times the unlocking fails reaches the threshold, if the lock screen application determines that the number of current unsuccessful failures reaches the threshold, the camera of the mobile terminal is called to take a picture, and the prompt information is output, and the prompt information is used to prompt the mobile terminal to lose the mobile phone.
  • the application provides a method and a device for outputting prompt information.
  • the lock screen application can still output prompt information.
  • an embodiment of the present application provides a method for outputting prompt information, where the method is applied to a mobile terminal, where the mobile terminal is provided with a system lock and an application lock set by a lock screen application, and the method includes:
  • the lock screen application monitors whether the system lock is successfully unlocked when the mobile terminal is in a lock screen state
  • the camera of the mobile terminal is called to take a photo
  • the prompt information is output based on the photo taken by the photograph.
  • the method further includes: obtaining a device manager permission of the mobile terminal;
  • the step of monitoring whether the system lock is unlocked successfully includes:
  • the step of obtaining the device manager permission of the mobile terminal includes:
  • the step of calling the camera of the mobile terminal to take a photo when the number of times the system lock fails to be unlocked reaches a preset threshold includes:
  • the camera of the mobile terminal is called to take a photo.
  • the method further includes:
  • the application lock is set to an unlocked state.
  • the method further includes:
  • the mobile terminal is in a lock screen state, and after receiving the unlocking information for the application lock, determining whether the unlocking information matches the preset unlocking information;
  • the prompt information is output based on the photo taken by the photograph.
  • the step of outputting the prompt information based on the photo obtained by taking a photo includes:
  • the camera of the mobile terminal is specifically: a front camera of the mobile terminal.
  • the embodiment of the present application further provides an output device for prompt information, where the device is applied to a mobile terminal, where the mobile terminal is provided with a system lock and an application lock set by a lock screen application, and the device includes :
  • a system lock monitoring module configured to monitor whether the system lock is successfully unlocked when the mobile terminal is in a lock screen state
  • a camera calling module configured to invoke a camera of the mobile terminal to take a photo when the number of consecutive unlocking failures of the system lock reaches a preset threshold
  • the information output module is configured to output the prompt information based on the photo obtained by taking a photo.
  • the device further includes:
  • a permission obtaining module configured to obtain a device manager permission of the mobile terminal before the system lock monitoring module monitors whether the system lock is successfully unlocked
  • the system lock monitoring module includes:
  • a message receiving subunit configured to receive an unlocking result message sent by a system program of the mobile terminal
  • the system lock determining subunit is configured to determine, according to the unlocking result message, whether the system lock is successfully unlocked.
  • the permission obtaining module includes:
  • the prompt window displays a sub-unit for displaying a prompt window
  • the operation receiving subunit is configured to receive a click operation of the user obtaining the permission button in the prompt window, and retrieve and display a device manager permission interface of the mobile terminal;
  • the permission obtaining subunit is configured to obtain the device manager permission of the mobile terminal according to an instruction input by the user in the device manager permission interface to allow the lock screen application to obtain the device manager authority.
  • the camera retrieving module is specifically configured to:
  • the camera of the mobile terminal is called to take a photo.
  • the device further includes:
  • an unlocking setting module configured to set the application lock to an unlocked state when it is detected that the system lock is successfully unlocked.
  • the device further includes:
  • the information judging module is configured to determine, after the system lock module monitors whether the system lock is unlocked successfully, and after receiving the unlocking information for the application lock, determining whether the unlocking information and the preset unlocking information are in the lock screen state. Matching, if it is matched, determining that the application lock is successfully unlocked, triggering the system lock monitoring module, if not, determining that the application lock unlocking fails, and triggering the number recording module;
  • the number of times recording module is configured to record the number of times the application lock is unlocked, and when the number of times recorded exceeds a preset threshold, the camera of the mobile terminal is called to take a picture, and the information output module is triggered.
  • the information output module is specifically configured to:
  • the camera of the mobile terminal is specifically: a front camera of the mobile terminal.
  • the embodiment of the present application further provides a mobile terminal, including a processor, a communication interface, a memory, and a communication bus, wherein the processor, the communication interface, and the memory complete communication with each other through the bus;
  • a memory for storing a processing program
  • the method for outputting the prompt information provided by the embodiment of the present application is implemented when the processor is configured to execute the program stored in the memory.
  • the embodiment of the present application further provides a storage medium, where the processing program is stored in the storage medium, and when the processing program is executed by the processor, the method for outputting the prompt information provided by the embodiment of the present application is implemented.
  • the embodiment of the present application further provides an application, where the application is used to execute the output method of the prompt information provided by the embodiment of the present application at runtime.
  • the lock screen application can monitor whether the system lock is successfully unlocked, and the system lock fails to be unlocked.
  • the camera of the mobile terminal is called to take a photo, and then the prompt information is output to prompt the user that the mobile terminal is lost, and the user is convenient to find the mobile terminal through the photo.
  • FIG. 1 is a first flowchart of a method for outputting prompt information according to an embodiment of the present application
  • FIG. 2 is a second flowchart of a method for outputting prompt information according to an embodiment of the present application
  • FIG. 3 is a schematic diagram of a first structure of an output device for prompt information according to an embodiment of the present application
  • FIG. 4 is a schematic diagram of a second structure of an output device for prompt information according to an embodiment of the present application.
  • FIG. 5 is a schematic structural diagram of a mobile terminal according to an embodiment of the present application.
  • the embodiment of the present application provides a method and a device for outputting the prompt information, which are applied to The mobile terminal, wherein the mobile terminal is installed with a lock screen application, and the mobile terminal is provided with a system lock and an application lock set by the lock screen application.
  • the mobile terminal may be a mobile phone, a tablet computer, a notebook, or the like.
  • a method for outputting prompt information provided by an embodiment of the present application is described in detail below.
  • FIG. 1 is a first flowchart of a method for outputting prompt information according to an embodiment of the present application.
  • the method is applied to a mobile terminal, where the mobile terminal is provided with a system lock and an application lock set by a lock screen application.
  • the system lock refers to: a lock screen set in a system setting interface of the mobile terminal, that is, the system lock is a lock screen set for the system of the mobile terminal;
  • the application lock refers to a lock screen installed by the mobile terminal;
  • S110 The mobile terminal is in a lock screen state, and the lock screen application monitors whether the system lock is successfully unlocked.
  • the lock screen application monitors whether the system lock is successfully unlocked when the mobile terminal is in the lock screen state. When the lock screen application detects that the system lock has failed to be continuously unlocked, the next steps are performed.
  • system lock fails to be unlocked continuously, which means that when the user unlocks the system lock of the mobile terminal more than once, the two adjacent unlocks fail.
  • the camera of the called mobile terminal is specifically: a front camera of the mobile terminal.
  • the lock screen application will call the front camera of the mobile terminal to take a photo, and perform the subsequent step S130. If the system lock fails to unlock for the first time, the second unlock fails, but the third unlock is successful, the lock screen application does not perform the step of calling the camera of the mobile terminal to take a photo.
  • the number of consecutive unlock failures can be set as a preset.
  • the number of consecutive unlock failures in the duration that is, when the number of consecutive unlock failures of the system lock within the preset duration reaches a preset threshold, the camera of the mobile terminal is called to take a photo.
  • the preset duration user can set it according to his own needs.
  • the preset duration can be 1 hour, 1 day, 1 year, and the like.
  • the lock screen application will call the camera of the mobile terminal to take a photo. For example, in one day, other users unlock the system lock at 8 o'clock, and the system lock fails to unlock. At 10 o'clock, the system lock is unlocked again, and the system lock fails to be unlocked, and the system lock is unlocked again at 12 o'clock. If the system lock fails to be unlocked, the lock screen application will call the camera of the mobile terminal to take a picture. And based on the photos obtained by taking pictures, the prompt information is output.
  • S130 output prompt information based on the photo obtained by photographing.
  • the prompt information is output based on the photo obtained by the photographing.
  • the prompt information is used to prompt the user that the mobile terminal is lost, and other users are trying to unlock the system lock of the mobile terminal.
  • the prompt information may include a photo obtained by photographing a camera of the mobile terminal, so that the user finds the mobile terminal through the photo.
  • the location information of the mobile terminal can also be obtained, and the obtained location information and the photo obtained by the photographing are output to a preset mailbox or an instant messaging account, thereby The user is facilitated to quickly find the mobile terminal according to the photo taken by the photograph and the location information of the mobile terminal.
  • the pre-set mailbox can be set according to the user's frequency of use.
  • the preset mailbox can be the user's common mailbox or the user's friend's common mailbox;
  • the preset instant messaging account can be the user's logged-in QQ. , WeChat, mobile phone number, etc., this application does not specifically limit the pre-set mailbox or instant messaging account.
  • the lock screen application can monitor whether the system lock is successfully unlocked, and when the system lock is unlocked, the lock is successful.
  • the screen application can call the camera of the mobile terminal to take a photo, and then output a prompt message to prompt the user to lose the mobile terminal, and facilitate the user to find the mobile terminal through the photo.
  • the method may further include:
  • the lock screen application detects that the system lock is successfully unlocked, it indicates that the current user is more likely to use the mobile terminal. Therefore, in order to facilitate the user to use the mobile terminal, after the lock screen application detects that the system lock is successfully unlocked, The application lock is set to the unlock state, so that the user can use the mobile terminal after unlocking the system lock without unlocking the system lock first, and then unlocking the application lock, thereby facilitating the user to use the mobile terminal.
  • the output method of the prompt information may further include the following steps:
  • the prompt information is output based on the photo taken by the photograph.
  • the mobile terminal is in a lock screen state, and before the lock screen application performs the step of monitoring whether the system lock is successfully unlocked, after receiving the unlock information for the application lock, determining the received unlock information and the preset unlock information. If the received unlocking information matches the preset unlocking information, the application lock of the mobile terminal is successfully unlocked. At this time, the mobile terminal performs S110, that is, the step of monitoring whether the system lock is successfully unlocked; If the received unlocking information does not match the preset unlocking information, the application lock unlocking fails, the mobile terminal records the number of times the application lock is unlocked, and the mobile terminal is called when the number of times the recorded application lock unlocking fails exceeds a preset threshold.
  • the camera performs photographing, and executes S130, that is, performs a step of outputting the prompt information based on the photograph obtained by photographing.
  • the system lock when the system lock is a password lock, the system lock can be a character lock or a pattern lock.
  • the preset unlock information is a combination of numbers, a combination of letters, and a combination of alphanumeric characters.
  • the preset unlock information is a pattern.
  • the application lock set by the lock screen application has a higher priority than the system lock, and other users can successfully unlock the application lock. Unlock the system lock. That is to say, when the mobile terminal is in the lock screen state, when the received unlocking information for the application lock matches the preset unlocking information, the lock screen application program will again monitor whether the system lock is successfully unlocked, and execute S120-S130. A step of.
  • the lock screen application determines that the application lock is unlocked. If the number of times the application lock unlocking fails exceeds the preset threshold, the camera of the mobile terminal is called to take a photo, and then S130 is executed, that is, the photo obtained based on the photograph is executed, and the prompt information is output. A step of.
  • the mobile terminal when other users use the mobile terminal, the mobile terminal can be used only when other users unlock the application lock successfully and unlock the system lock, and whether the application lock or the system lock, the number of unlock failures reaches the preset.
  • the threshold value is used to call the camera of the mobile terminal to take a picture, and based on the photo obtained by the photographing, the prompt information is output to the user, so that the user can find the mobile terminal to be lost in time.
  • the method before performing S110, monitoring whether the system lock is successfully unlocked, the method further includes: obtaining device manager authority of the mobile terminal.
  • the lock screen application After the lock screen application obtains the device manager permission of the mobile terminal, the lock screen application cannot be managed and accessed by the lock screen application due to system limitation, that is, the lock screen application cannot be prevented from monitoring the system lock. Whether the unlocking is successful, for example, when the system lock set by the mobile terminal is a password lock, the lock screen application cannot detect the password that the user inputs when unlocking the system lock.
  • the step of monitoring whether the system lock is successfully unlocked may be: after obtaining the device manager permission of the mobile terminal, receiving the system program of the mobile terminal to send The unlocking result message; determining, according to the unlocking result message, whether the system lock is successfully unlocked.
  • the lock screen application receives the unlock result information sent by the system program of the mobile terminal, and if the unlock result information indicates that the system lock is successfully unlocked, the lock screen application determines the mobile terminal. The system lock is unlocked successfully; otherwise, the lock screen application determines that the system lock of the mobile terminal has failed to be unlocked.
  • the process of obtaining device manager rights of the mobile terminal includes the following steps:
  • the device manager permission of the mobile terminal is obtained according to an instruction input by the user in the device manager permission interface to allow the lock screen application to obtain the device manager authority.
  • FIG. 2 is a second flowchart of a method for outputting prompt information according to an embodiment of the present application.
  • the method is applied to a mobile terminal, where the mobile terminal is provided with a system lock and an application lock set by a lock screen application.
  • the method includes the following steps:
  • a prompt window prompting the user to obtain the device manager authority may be displayed.
  • a text prompt to get the device manager permission can be displayed on the prompt window, and the get permission button and the cancel button are displayed below the text prompt.
  • S2002 is executed to receive the click operation of the user obtaining the permission button in the prompt window, and the device manager permission interface of the mobile terminal is retrieved and displayed.
  • the cancel button the device manager is terminated. The steps for permissions.
  • S2002 Receive a click operation of the user obtaining a permission button in the prompt window, and retrieve and display a device manager permission interface of the mobile terminal.
  • the lock screen application receives the click operation of the user to obtain the permission button, and retrieves and displays the device manager permission interface of the mobile terminal, so that the user can pass the device manager permission. Interface, set the lock screen application to get device manager permissions.
  • the device management authority interface may display an identifier of the lock screen application, and an entry for receiving an instruction that allows the lock screen application to obtain the device manager authority.
  • the entry may be an allow button, when the user clicks the allow button. That is, when the user sets the lock screen application to have the device manager permission, the lock screen application obtains the device manager permission of the mobile terminal.
  • S2101 Receive an unlock result message sent by a system program of the mobile terminal.
  • the lock screen application After the lock screen application obtains the device manager permission of the mobile terminal, it can monitor whether the system lock of the mobile terminal is successfully unlocked. When the system lock is unlocked, the system program of the mobile terminal can receive the unlock result message broadcasted by the system after the system unlocks, and according to the unlock result message, determine whether the system lock is successfully unlocked.
  • S2102 Determine, according to the unlocking result message, whether the system lock is successfully unlocked.
  • the unlocking result message includes: an unlocking success and an unlocking failure.
  • the unlocking result message is that the unlocking is successful, it is determined that the system lock is successfully unlocked, and when the unlocking result is that the unlocking fails, it is determined that the system lock unlocking fails.
  • S230 Output prompt information based on the photo obtained by taking a picture.
  • S220-S230 in this embodiment is the same as S120-S130, and details are not described herein again.
  • the lock screen application program can obtain the device manager permission of the mobile terminal.
  • the lock screen application program can lock the system.
  • the unlocking is successfully monitored, and when the system lock is unlocked, the lock screen application can call the camera of the mobile terminal to take a photo when the number of unlocking failures of the system lock reaches a preset threshold, and then output a prompt message to prompt the user that the mobile terminal is lost. And it is convenient for users to find mobile terminals through photos.
  • FIG. 3 is a device for outputting prompt information according to an embodiment of the present application.
  • a schematic structural diagram of the device is applied to a mobile terminal, and the mobile terminal is provided with a system lock and an application lock set by a lock screen application.
  • the device includes:
  • the system lock monitoring module 310 is configured to monitor whether the system lock is successfully unlocked when the mobile terminal is in a lock screen state.
  • the camera invoking module 320 is configured to invoke a camera of the mobile terminal to take a photo when the number of consecutive unlocking failures of the system lock reaches a preset threshold.
  • the information output module 330 is configured to output prompt information based on the photo obtained by taking a photo.
  • the device may further include:
  • the permission obtaining module (not shown in FIG. 3) is configured to obtain the device manager authority of the mobile terminal before the system lock monitoring module 310 monitors whether the system lock is successfully unlocked.
  • system lock monitoring module 310 includes:
  • a message receiving subunit (not shown in FIG. 3) is configured to receive an unlocking result message sent by a system program of the mobile terminal.
  • the system lock judging subunit (not shown in FIG. 3) is configured to determine whether the system lock is successfully unlocked according to the unlocking result message.
  • the permission acquisition module includes:
  • the prompt window displays a subunit (not shown in FIG. 3) for displaying the prompt window.
  • the operation receiving subunit (not shown in FIG. 3) is configured to receive a click operation of the user obtaining the permission button in the prompt window, and retrieve and display the device manager permission interface of the mobile terminal.
  • a permission obtaining subunit (not shown in FIG. 3) for obtaining an instruction of the mobile terminal according to an instruction input by the user in the device manager authority interface that allows the lock screen application to obtain device manager authority Device Manager permissions.
  • the camera retrieval module 320 is specifically configured to:
  • the camera of the mobile terminal is called to take a photo.
  • the device may further include:
  • An unlock setting module (not shown in FIG. 3) is configured to set the application lock to an unlocked state when the lock screen application detects that the system lock is unlocked successfully.
  • the device may further include:
  • the information judging module (not shown in FIG. 3) is configured to receive the unlocking of the application lock before the system lock module 310 monitors whether the system lock is unlocked successfully when the mobile terminal is in the lock screen state. After the information is determined, it is determined whether the unlocking information matches the preset unlocking information. If the matching is successful, the application lock is successfully unlocked, and the system lock monitoring module 310 is triggered. If the matching is not performed, the application lock unlocking is determined to be unsuccessful. , the number of triggers recording module (not shown in FIG. 3);
  • the number of times recording module (not shown in FIG. 3) is configured to record the number of times the application lock is unlocked, and when the number of times recorded exceeds a preset threshold, the camera of the mobile terminal is called to take a picture, and the information is triggered.
  • Output module 330 is configured to record the number of times the application lock is unlocked, and when the number of times recorded exceeds a preset threshold, the camera of the mobile terminal is called to take a picture, and the information is triggered.
  • the information output module 330 is specifically configured to:
  • the camera of the mobile terminal is specifically: a front camera of the mobile terminal.
  • the lock screen application program can successfully monitor whether the system lock is unlocked successfully, and when the system lock unlock fails, the lock screen application program can When the number of unlocking failures of the system lock reaches a preset threshold, the camera of the mobile terminal is called to take a photo, and then output to the user to prompt the user that the mobile terminal is lost, and the user is convenient to find the mobile terminal through the photo.
  • FIG. 4 is a device for outputting prompt information according to an embodiment of the present application.
  • a schematic diagram of two structures, the device is applied to a mobile terminal, and the mobile terminal is provided with a system lock and an application lock set by a lock screen application.
  • the device includes:
  • the permission obtaining module 400 is configured to obtain device manager authority of the mobile terminal.
  • the rights obtaining module 400 includes:
  • the prompt window displays a sub-unit 4001 for displaying a prompt window.
  • the operation receiving subunit 4002 is configured to receive a click operation of the user to the obtained permission button in the prompt window, and retrieve and display a device manager permission interface of the mobile terminal.
  • the permission obtaining subunit 4003 is configured to obtain the device manager authority of the mobile terminal according to an instruction input by the user in the device manager permission interface to allow the lock screen application to obtain the device manager authority.
  • the system lock monitoring module 410 is configured to monitor whether the system lock is successfully unlocked in the lock screen state.
  • the system lock monitoring module 410 includes:
  • the message receiving subunit 4101 is configured to receive an unlocking result message sent by a system program of the mobile terminal.
  • the system lock determining subunit 4102 is configured to determine, according to the unlocking result message, whether the system lock is successfully unlocked.
  • the camera invoking module 420 is configured to invoke a camera of the mobile terminal to take a photo when the number of consecutive unlocking failures of the system lock reaches a preset threshold.
  • the information output module 430 is configured to output prompt information based on the photos obtained by the photographing.
  • the lock screen application program can successfully monitor whether the system lock is unlocked successfully, and when the system lock unlock fails, the lock screen application program can When the number of unlocking failures of the system lock reaches a preset threshold, the camera of the mobile terminal is called to take a photo, and then output to the user to prompt the user that the mobile terminal is lost, and the user is convenient to find the mobile terminal through the photo.
  • the embodiment of the present application further provides a mobile terminal, as shown in FIG. 5, including a processor 501, a communication interface 502, a memory 503, and a communication bus 504, wherein the processor 501, the communication interface 502
  • the memory 503 completes communication with each other through the communication bus 504;
  • a memory 503, configured to store a processing program
  • the processor 501 is configured to implement the step of outputting the prompt information provided by the foregoing method embodiment when the program stored in the memory 503 is executed.
  • the communication bus mentioned by the above mobile terminal may be a Peripheral Pomponent Interconnect (PCI) bus or an Extended Industry Standard Architecture (EISA) bus.
  • PCI Peripheral Pomponent Interconnect
  • EISA Extended Industry Standard Architecture
  • the communication bus can be divided into an address bus, a data bus, a control bus, and the like. For ease of representation, only one thick line is shown in the figure, but it does not mean that there is only one bus or one type of bus.
  • the communication interface is used for communication between the above mobile terminal and other devices.
  • the memory may include a random access memory (RAM), and may also include a non-volatile memory, such as at least one disk storage.
  • the memory may also be at least one storage device located away from the aforementioned processor.
  • the processor may be a general-purpose processor, including a central processing unit (CPU), a network processor (Ne twork processor, NP for short), or a digital signal processor (DSP). ), Application Specific Integrated Circuit (ASIC), Field-Programmable Gate Array (FPGA) or other programmable logic device, discrete gate or transistor logic device, discrete hardware component.
  • CPU central processing unit
  • Ne twork processor Network processor
  • DSP digital signal processor
  • ASIC Application Specific Integrated Circuit
  • FPGA Field-Programmable Gate Array
  • the embodiment of the present application further provides a storage medium, where the processing program is stored in the storage medium, and the processing program is executed by the processor to implement the step of outputting the prompt information provided by the foregoing method embodiment.
  • the embodiment of the present application further provides an application program for performing the step of implementing the output method of the prompt information provided by the foregoing method embodiment at runtime.

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Computer Hardware Design (AREA)
  • Software Systems (AREA)
  • General Physics & Mathematics (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Signal Processing (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Environmental & Geological Engineering (AREA)
  • Multimedia (AREA)
  • Technology Law (AREA)
  • Telephone Function (AREA)

Abstract

一种提示信息的输出方法及装置,应用于移动终端,所述移动终端设置有系统锁和由锁屏应用程序设置的应用锁,方法包括:在所述移动终端处于锁屏状态下,所述锁屏应用程序监测所述系统锁是否解锁成功;当所述系统锁连续解锁失败的次数达到预设阈值时,调用所述移动终端的摄像头进行拍照;基于拍照所获得的照片,输出提示信息。应用本申请实施例所提供的方案,当移动终端中同时设置有系统锁和由锁屏应用程序设置的应用锁时,锁屏应用程序可以对系统锁是否解锁成功进行监测,并且,在系统锁解锁失败时,锁屏应用程序能够在系统锁的解锁失败次数达到预设阈值时,调用移动终端的摄像头进行拍照,然后输出提示信息,以提示用户移动终端丢失。

Description

一种提示信息的输出方法及装置
本申请要求于2017年06月27日提交中国专利局、申请号为201710501985.X、发明名称为“一种提示信息的输出方法及装置”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
技术领域
本申请涉及移动通信技术领域,特别是涉及一种提示信息的输出方法及装置。
背景技术
当移动终端(例如手机)只使用锁屏应用程序设置的应用锁进行锁屏时,锁屏应用程序会记录应用锁解锁失败的次数,并且当应用锁解锁失败时,锁屏应用程序会判断当前解锁失败的次数是否达到阈值,如果锁屏应用程序判断出当前解锁失败的次数达到阈值,则调用移动终端的摄像头拍照,并输出提示信息,该提示信息用于提示移动终端手机丢失。
但是,现有技术中,当移动终端中同时设置有系统锁和由锁屏应用程序设置的应用锁时,如果系统锁解锁失败,不论系统锁是指纹锁还是密码锁,锁屏应用程序都无法输出提示信息,从而导致用户不能及时得知其移动终端丢失。
发明内容
本申请提供了一种提示信息的输出方法及装置,当移动终端设置有系统锁和由锁屏应用程序设置的应用锁,锁屏应用程序仍能够输出提示信息。具体技术方案如下:
第一方面,本申请实施例提供了一种提示信息的输出方法,所述方法应用于移动终端,所述移动终端设置有系统锁和由锁屏应用程序设置的应用锁,所述方法包括:
在所述移动终端处于锁屏状态下,所述锁屏应用程序监测所述系统锁是否解锁成功;
当所述系统锁连续解锁失败的次数达到预设阈值时,调用所述移动终端 的摄像头进行拍照;
基于拍照所获得的照片,输出提示信息。
可选地,在所述锁屏应用程序监测所述系统锁是否解锁成功的步骤之前,所述方法还包括:获得所述移动终端的设备管理器权限;
所述监测系统锁是否解锁成功的步骤,包括:
接收所述移动终端的系统程序发送的解锁结果消息;
根据所述解锁结果消息,判断所述系统锁是否解锁成功。
可选地,所述获得所述移动终端的设备管理器权限的步骤,包括:
显示提示窗;
接收用户对所述提示窗中的获得权限按钮的点击操作,调取并显示所述移动终端的设备管理器权限界面;
根据用户在所述设备管理器权限界面中输入的、允许所述锁屏应用程序获得设备管理器权限的指令,获得所述移动终端的设备管理器权限。
可选地,所述当所述系统锁连续解锁失败的次数达到预设阈值时,调用所述移动终端的摄像头进行拍照的步骤,包括:
当所述系统锁在预设时长内连续解锁失败的次数达到预设阈值时,调用所述移动终端的摄像头进行拍照。
可选地,如果监测到所述系统锁解锁成功,所述方法还包括:
将所述应用锁设置为解锁状态。
可选地,在所述监测所述系统锁是否解锁成功的步骤之前,所述方法还包括:
所述移动终端处于锁屏状态下,当接收到针对应用锁的解锁信息后,判断所述解锁信息与预设解锁信息是否相匹配;
如果匹配,则确定所述应用锁解锁成功,执行所述监测所述系统锁是否解锁成功的步骤;
如果不匹配,则确定所述应用锁解锁失败,记录所述应用锁解锁失败的次数,并当所记录的次数超过预设阈值时,调用所述移动终端的摄像头进行拍照;
基于拍照所获得的照片,输出提示信息。
可选地,所述基于拍照所获得的照片,输出提示信息的步骤,包括:
获取所述移动终端的位置信息,将所述位置信息和拍照所获得的照片,输出到预先设置的邮箱或即时通信账户。
可选地,所述移动终端的摄像头具体为:所述移动终端的前置摄像头。
第二方面,本申请实施例还提供了一种提示信息的输出装置,所述装置应用于移动终端,所述移动终端设置有系统锁和由锁屏应用程序设置的应用锁,所述装置包括:
系统锁监测模块,用于在所述移动终端处于锁屏状态下时,所述锁屏应用程序监测所述系统锁是否解锁成功;
摄像头调用模块,用于当所述系统锁连续解锁失败的次数达到预设阈值时,调用所述移动终端的摄像头进行拍照;
信息输出模块,用于基于拍照所获得的照片,输出提示信息。
可选地,所述装置还包括:
权限获得模块,用于在所述系统锁监测模块监测所述系统锁是否解锁成功之前,获得所述移动终端的设备管理器权限;
所述系统锁监测模块,包括:
消息接收子单元,用于接收所述移动终端的系统程序发送的解锁结果消息;
系统锁判断子单元,用于根据所述解锁结果消息,判断所述系统锁是否解锁成功。
可选地,所述权限获得模块,包括:
提示窗显示子单元,用于显示提示窗;
操作接收子单元,用于接收用户对所述提示窗中的获得权限按钮的点击操作,调取并显示所述移动终端的设备管理器权限界面;
权限获得子单元,用于根据用户在所述设备管理器权限界面中输入的,允许所述锁屏应用程序获得设备管理器权限的指令,获得所述移动终端的设备管理器权限。
可选地,所述摄像头调取模块,具体用于:
当所述系统锁在预设时长内连续解锁失败的次数达到预设阈值时,调用所述移动终端的摄像头进行拍照。
可选地,所述装置还包括:
解锁设置模块,用于当监测到所述系统锁解锁成功时,将所述应用锁设置为解锁状态。
可选地,所述装置还包括:
信息判断模块,用于在锁屏状态下,在所述系统锁模块监测所述系统锁是否解锁成功之前,接收到针对应用锁的解锁信息后,判断所述解锁信息与预设解锁信息是否相匹配,如果匹配,则确定所述应用锁解锁成功,触发所述系统锁监测模块,如果不匹配,则确定所述应用锁解锁失败,触发次数记录模块;
所述次数记录模块,用于记录所述应用锁解锁失败的次数,并当所记录的次数超过预设阈值时,调用所述移动终端的摄像头进行拍照,并触发所述信息输出模块。
可选地,所述信息输出模块,具体用于:
获取所述移动终端的位置信息,将所述位置信息和拍照所获得的照片,输出到预先设置的邮箱或即时通信账户。
可选地,所述移动终端的摄像头具体为:所述移动终端的前置摄像头。
第三方面,本申请实施例还提供了一种移动终端,包括处理器、通信接 口、存储器和通信总线,其中,处理器,通信接口,存储器通过总线完成相互间的通信;
存储器,用于存放处理程序;
处理器,用于执行存储器上所存放的程序时,实现本申请实施例所提供的提示信息的输出方法。
第四方面,本申请实施例还提供了一种存储介质,所述存储介质内存储有处理程序,所述处理程序被处理器执行时实现本申请实施例所提供的提示信息的输出方法。
第五方面,本申请实施例还提供了一种应用程序,所述应用程序用于在运行时执行本申请实施例所提供的提示信息的输出方法。
本申请实施例提供的方案中,当移动终端中同时设置有系统锁和由锁屏应用程序设置的应用锁时,锁屏应用程序可以对系统锁是否解锁成功进行监测,在系统锁的解锁失败次数达到预设阈值时,调用移动终端的摄像头进行拍照,然后输出提示信息,以提示用户移动终端丢失,并便于用户通过照片找到移动终端。
附图说明
为了更清楚地说明本申请实施例和现有技术的技术方案,下面对实施例和现有技术中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。
图1为本申请实施例所提供的一种提示信息的输出方法的第一流程图;
图2为本申请实施例所提供的一种提示信息的输出方法的第二流程图;
图3为本申请实施例所提供的一种提示信息的输出装置的第一种结构示意图;
图4为本申请实施例所提供的一种提示信息的输出装置的第二种结构示意图;
图5为本申请实施例所提供的一种移动终端的结构示意图。
具体实施方式
为使本申请的目的、技术方案、及优点更加清楚明白,以下参照附图并举实施例,对本申请进一步详细说明。显然,所描述的实施例仅仅是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。
当移动终端设置有系统锁和由锁屏应用程序设置的应用锁,为了使锁屏应用程序仍能够向用户输出提示信息,本申请实施例提供了一种提示信息的输出方法及装置,应用于移动终端,其中,该移动终端安装有锁屏应用程序,并且,移动终端设置有系统锁和由锁屏应用程序设置的应用锁,具体地,移动终端可以为手机、平板电脑、笔记本等。
下面对本申请实施例所提供的一种提示信息的输出方法进行详细说明。
参见图1,图1为本申请实施例所提供的一种提示信息的输出方法的第一流程图,该方法应用于移动终端,移动终端设置有系统锁和由锁屏应用程序设置的应用锁,其中,系统锁是指:在移动终端的系统设置界面里设置的锁屏,也就是说,系统锁是为移动终端的系统设置的锁屏;应用锁是指由安装在移动终端的锁屏应用程序为各个应用程序设置的锁屏:如图1所示,该方法包括以下步骤:
S110,移动终端处于锁屏状态下,所述锁屏应用程序监测所述系统锁是否解锁成功。
具体地,当移动终端设置有系统锁和由锁屏应用程序设置的应用锁时,在移动终端处于锁屏状态下,锁屏应用程序会监测系统锁是否解锁成功。当锁屏应用程序监测到系统锁连续解锁失败时,执行后续步骤。
S120,当所述系统锁连续解锁失败的次数达到预设阈值时,调用所述移动终端的摄像头进行拍照。
需要说明的是,系统锁连续解锁失败,是指用户对移动终端的系统锁解锁的次数多于一次时,相邻两次解锁均失败。
优选地,所调用的移动终端的摄像头具体为:移动终端的前置摄像头。
具体地,当系统锁连续解锁失败的次数达到预设阈值时,说明很可能是 其他用户在对该移动终端的系统锁进行解锁,此时锁屏应用程序会调用移动终端的摄像头进行拍照,并执行后续步骤S130。
例如,假设预设阈值为5,当系统锁连续5次解锁均失败,则锁屏应用程序会调用移动终端的前置摄像头进行拍照,并执行后续步骤S130。如果系统锁第一次解锁失败,第二次解锁失败,但是第三次解锁成功,则锁屏应用程序不会执行调用移动终端的摄像头进行拍照的步骤。
更为具体地,当移动终端落入其他用户手中时,为了能够在其他用户无论间隔多长时间解锁系统锁时,都能够输出提示信息给用户,可以将连续解锁失败的次数设定为预设时长内的连续解锁失败的次数,即当系统锁在预设时长内连续解锁失败的次数达到预设阈值时,调用移动终端的摄像头进行拍照。
其中,预设时长用户可以根据自身需要自行设定,例如预设时长可以为1小时、1天、1年等。
举例而言,假设预设时长为1天,预设阈值为3,则在一天内系统锁连续3次解锁失败的话,锁屏应用程序会调用移动终端的摄像头进行拍照。比如,在一天内,其他用户在8点对系统锁进行解锁,并且系统锁解锁失败,在10点对系统锁又进行解锁,并且系统锁解锁失败,在12点对系统锁又进行解锁,并且系统锁解锁失败,则锁屏应用程序会调用移动终端的摄像头进行拍照。并基于拍照所获得的照片,输出提示信息。
S130,基于拍照所获得的照片,输出提示信息。
当锁屏应用程序调用移动终端的摄像头拍照后,会基于拍照所获得的照片,输出提示信息。该提示信息用来提示用户移动终端丢失,并且其他用户正在尝试解锁该移动终端的系统锁。其中,该提示信息可以包括移动终端的摄像头拍照所获得的照片,以便于用户通过照片找到移动终端。
并且,当锁屏应用程序调用移动终端的摄像头拍照后,还可以获取该移动终端的位置信息,并将获取的位置信息和拍照所获得的照片,输出到预先设置的邮箱或即时通信账户,从而有利于用户根据拍照所获取的照片以及该移动终端的位置信息来快速地找到该移动终端。
其中,预先设置的邮箱可以根据用户的使用频率设定,例如,预先设置 的邮箱可以为用户的常用邮箱,也可以为用户好友的常用邮箱;预先设置的即时通信账户可以为用户已登录的QQ、微信、手机号等,本申请对预先设置的邮箱或即时通信账号并不做具体限定。
本申请实施例中,当移动终端中同时设置有系统锁和由锁屏应用程序设置的应用锁时,锁屏应用程序可以对系统锁是否解锁成功进行监测,并在系统锁解锁失败时,锁屏应用程序能够在系统锁的解锁失败次数达到预设阈值时,调用移动终端的摄像头进行拍照,然后输出提示信息,以提示用户移动终端丢失,并便于用户通过照片找到移动终端。
进一步地,作为本申请实施例的一种实现方案,当用户自己使用该移动终端时,为了便于用户快速解锁,如果锁屏应用程序监测到系统锁解锁成功,该方法还可以包括:
将应用锁设置为解锁状态。
当锁屏应用程序检测到系统锁解锁成功,则说明当前用户自己使用该移动终端的可能性较大,因此,为了便于用户使用该移动终端,在锁屏应用程序检测到系统锁解锁成功后,将应用锁设置为解锁状态,这样用户自己在解开系统锁后便可以使用该移动终端,而无需先解锁系统锁,再解锁应用锁,从而便于用户使用该移动终端。
进一步地,作为本申请实施例的另一种实现方案,当其他用户使用该移动终端时,为了使其他用户不能顺利地使用该移动终端,在锁屏应用程序监测所述系统锁是否解锁成功之前,该提示信息的输出方法还可以包括以下步骤:
在所述移动终端处于锁屏状态下,当接收到针对应用锁的解锁信息后,判断所述解锁信息与预设解锁信息是否相匹配;
如果匹配,则确定所述应用锁解锁成功,执行所述监测所述系统锁是否解锁成功的步骤;
如果不匹配,则确定所述应用锁解锁失败,记录所述应用锁解锁失败的次数,并当所记录的次数超过预设阈值时,调用所述移动终端的摄像头进行拍照;
基于拍照所获得的照片,输出提示信息。
具体的,移动终端处于锁屏状态下,在锁屏应用程序执行监测系统锁是否解锁成功的步骤之前,当接收到针对应用锁的解锁信息后,判断所接收到的解锁信息与预设解锁信息是否相匹配;如果所接收到的解锁信息与预设解锁信息匹配,则说明该移动终端的应用锁解锁成功,此时,移动终端执行S110,即执行监测系统锁是否解锁成功的步骤;如果所接收到的解锁信息与预设解锁信息不匹配,则说明应用锁解锁失败,移动终端记录应用锁解锁失败的次数,并当所记录的应用锁解锁失败的次数超过预设阈值时,调用该移动终端的摄像头进行拍照,并执行S130,即执行基于拍照所获得的照片,输出提示信息的步骤。
可以理解,当系统锁为密码锁时,系统锁可以为字符密码锁或图案密码锁。当系统锁为字符密码锁时,预设解锁信息为数字组合、字母组合、数字字母组合,当系统锁为图案密码锁时,预设解锁信息为图案。
进一步地,作为本申请实施例的另一种实现方案,当移动终端的系统锁为密码锁时,锁屏应用程序设置的应用锁的优先级高于系统锁,其他用户成功解锁应用锁后才能解锁系统锁。也就是说,移动终端处于锁屏状态下,当接收到的针对应用锁的解锁信息与预设解锁信息相匹配时,锁屏应用程序才会再监测系统锁是否解锁成功,并执行S120-S130的步骤。
具体的,当移动终端的系统锁为密码锁,并且移动终端处于锁屏状态下,当接收到的针对应用锁的解锁信息与预设解锁信息不匹配时,锁屏应用程序会确定应用锁解锁失败,并记录应用锁解锁失败的次数,当所记录的应用锁解锁失败的次数超过预设阈值时,调用移动终端的摄像头进行拍照,然后执行S130,即执行基于拍照所获得的照片,输出提示信息的步骤。
这样的话,当其他用户使用该移动终端时,只有当其他用户解锁应用锁成功并且解锁系统锁成功后,才能使用该移动终端,并且,不管是应用锁还是系统锁,只要解锁失败次数达到预设阈值,就会调用移动终端的摄像头拍照,并基于拍照获得的照片,输出提示信息给用户,以便于用户及时地发现移动终端丢失。
进一步地,作为本申请实施例的再一种实现方案,在执行S110,监测所述系统锁是否解锁成功之前,该方法还包括:获得所述移动终端的设备管理 器权限。
锁屏应用程序获得了移动终端的设备管理器权限之后,可以避免由于系统限制,锁屏应用程序不能够对系统识别模块进行管理和访问,也就是说,可以避免锁屏应用程序无法监控系统锁是否解锁成功,例如,当移动终端设置的系统锁为密码锁时,锁屏应用程序无法检测到用户在解锁系统锁时输入的密码。
锁屏应用程序获得了移动终端的设备管理器权限之后,监测所述系统锁是否解锁成功的步骤,具体可以为:在获得移动终端的设备管理器权限后,接收所述移动终端的系统程序发送的解锁结果消息;根据所述解锁结果消息,判断所述系统锁是否解锁成功。
具体的,在移动终端处于锁屏状态下时,锁屏应用程序接收到移动终端的系统程序发送的解锁结果信息,如果解锁结果信息表示系统锁解锁成功,则锁屏应用程序判断出该移动终端的系统锁解锁成功;否则,锁屏应用程序判断出该移动终端的系统锁解锁失败。
具体地,获得所述移动终端的设备管理器权限的过程,包括以下步骤:
显示提示窗;
接收用户对所述提示窗中的获得权限按钮的点击操作,调取并显示所述移动终端的设备管理器权限界面;
根据用户在所述设备管理器权限界面中输入的,允许所述锁屏应用程序获得设备管理器权限的指令,获得所述移动终端的设备管理器权限。
参见图2,图2为本申请实施例所提供的一种提示信息的输出方法的第二流程图,该方法应用于移动终端,移动终端设置有系统锁和由锁屏应用程序设置的应用锁,如图2所示,该方法包括以下步骤:
S2001,显示提示窗。
具体地,在移动终端安装锁屏应用程序或者使用锁屏应用程序的过程中,可以显示一个提示用户获得设备管理器权限的提示窗。
例如,提示窗上可以显示获取设备管理器权限的文字提示,并在文字提 示下方显示获得权限按钮和取消按钮。当用户点击获得权限按钮时,执行S2002,接收用户对提示窗中的获得权限按钮的点击操作,调取并显示移动终端的设备管理器权限界面,当用户点击取消按钮时,结束获取设备管理器权限的步骤。
S2002,接收用户对提示窗中的获得权限按钮的点击操作,调取并显示移动终端的设备管理器权限界面。
当用户在提示窗中点击获得权限按钮时,锁屏应用程序会接收用户对该获得权限按钮的点击操作,调取并显示移动终端的设备管理器权限界面,以便于用户可以通过设备管理器权限界面,设置锁屏应用程序获得设备管理器权限。
S2003,根据用户在设备管理器权限界面中输入的,允许锁屏应用程序获得设备管理器权限的指令,获得移动终端的设备管理器权限。
具体地,设备管理权限界面中可以显示锁屏应用程序的标识,以及接收允许锁屏应用程序获得设备管理器权限的指令的入口,例如,该入口可以为允许按钮,当用户点击允许按钮时,即用户设置锁屏应用程序具有设备管理器权限时,锁屏应用程序便获得的移动终端的设备管理器权限。
S2101,接收移动终端的系统程序发送的解锁结果消息。
锁屏应用程序获得移动终端的设备管理器权限后,便可以对移动终端的系统锁是否成功解锁进行监测。当系统锁被解锁时,便可以接收移动终端的系统程序在系统进行解锁后广播发送的解锁结果消息,并根据解锁结果消息,判断系统锁是否解锁成功。
S2102,根据解锁结果消息,判断系统锁是否解锁成功。
具体地,解锁结果消息包括:解锁成功和解锁失败。当解锁结果消息为解锁成功时,判定系统锁解锁成功,当解锁结果为解锁失败时,判定系统锁解锁失败。
S220,当系统锁续解锁失败的次数达到预设阈值时,调用移动终端的摄像头进行拍照。
S230,基于拍照所获得的照片,输出提示信息。
需要说明的是,本实施例中的S220-S230与S120-S130相同,这里不再 赘述。
本申请实施例中,锁屏应用程序可以获得移动终端的设备管理器权限,当移动终端中同时设置有系统锁和由锁屏应用程序设置的应用锁时,锁屏应用程序可以对系统锁是否解锁成功进行监测,并在系统锁解锁失败时,锁屏应用程序能够在系统锁的解锁失败次数达到预设阈值时,调用移动终端的摄像头进行拍照,然后输出提示信息,以提示用户移动终端丢失,并便于用户通过照片找到移动终端。
相对于上述图1所示的方法实施例,本申请实施例还提供了一种提示信息的输出装置,参加图3,图3为本申请实施例所提供的一种提示信息的输出装置的第一种结构示意图,该装置应用于移动终端,所述移动终端设置有系统锁和由锁屏应用程序设置的应用锁,如图3所示,该装置包括:
系统锁监测模块310,用于在所述移动终端处于锁屏状态下,所述锁屏应用程序监测所述系统锁是否解锁成功。
摄像头调用模块320,用于当所述系统锁连续解锁失败的次数达到预设阈值时,调用所述移动终端的摄像头进行拍照。
信息输出模块330,用于基于拍照所获得的照片,输出提示信息。
具体地,该装置还可以包括:
权限获得模块(图3中未示出),用于在所述系统锁监测模块310监测所述系统锁是否解锁成功之前,获得所述移动终端的设备管理器权限。
更为具体地,系统锁监测模块310,包括:
消息接收子单元(图3中未示出),用于接收所述移动终端的系统程序发送的解锁结果消息。
系统锁判断子单元(图3中未示出),用于根据所述解锁结果消息,判断所述系统锁是否解锁成功。
更为具体地,权限获得模块,包括:
提示窗显示子单元(图3中未示出),用于显示提示窗。
操作接收子单元(图3中未示出),用于接收用户对所述提示窗中的获得权限按钮的点击操作,调取并显示所述移动终端的设备管理器权限界面。
权限获得子单元(图3中未示出),用于根据用户在所述设备管理器权限界面中输入的、允许所述锁屏应用程序获得设备管理器权限的指令,获得所述移动终端的设备管理器权限。
可选地,摄像头调取模块320,具体用于:
当所述系统锁在预设时长内连续解锁失败的次数达到预设阈值时,调用所述移动终端的摄像头进行拍照。
具体地,该装置还可以包括:
解锁设置模块(图3中未示出),用于当锁屏应用程序监测到所述系统锁解锁成功时,锁屏应用程序将所述应用锁设置为解锁状态。
具体地,该装置还可以包括:
信息判断模块(图3中未示出),用于在所述移动终端处于锁屏状态下时,在所述系统锁模块310监测所述系统锁是否解锁成功之前,接收到针对应用锁的解锁信息后,判断所述解锁信息与预设解锁信息是否相匹配,如果匹配,则确定所述应用锁解锁成功,触发所述系统锁监测模块310,如果不匹配,则确定所述应用锁解锁失败,触发次数记录模块(图3中未示出);
次数记录模块(图3中未示出),用于记录所述应用锁解锁失败的次数,并当所记录的次数超过预设阈值时,调用所述移动终端的摄像头进行拍照,并触发所述信息输出模块330。
优选地,信息输出模块330,具体用于:
获取所述移动终端的位置信息,将所述位置信息和拍照所获得的照片,输出到预先设置的邮箱或即时通信账户。
优选地,所述移动终端的摄像头具体为:所述移动终端的前置摄像头。
应用本实施例所提供的装置,当移动终端中同时设置了应用锁和系统锁时,锁屏应用程序可以对系统锁是否解锁成功进行监测,并在系统锁解锁失败时,锁屏应用程序能够在系统锁的解锁失败次数达到预设阈值时,调用移动终端的摄像头进行拍照,然后输出给用户,以提示用户移动终端丢失,并便于用户通过照片找到移动终端。
相对于上述图2所示的方法实施例,本申请实施例还提供了一种提示信息的输出装置,参加图4,图4为本申请实施例所提供的一种提示信息的输出 装置的第二种结构示意图,该装置应用于移动终端,所述移动终端设置有系统锁和由锁屏应用程序设置的应用锁,如图4所示,该装置包括:
权限获得模块400,用于获得所述移动终端的设备管理器权限。
具体地,权限获得模块400,包括:
提示窗显示子单元4001,用于显示提示窗。
操作接收子单元4002,用于接收用户对所述提示窗中的获得权限按钮的点击操作,调取并显示所述移动终端的设备管理器权限界面。
权限获得子单元4003,用于根据用户在所述设备管理器权限界面中输入的,允许所述锁屏应用程序获得设备管理器权限的指令,获得所述移动终端的设备管理器权限。
系统锁监测模块410,用于所述锁屏应用程序在锁屏状态下,监测所述系统锁是否解锁成功。
具体地,系统锁监测模块410,包括:
消息接收子单元4101,用于接收所述移动终端的系统程序发送的解锁结果消息。
系统锁判断子单元4102,用于根据所述解锁结果消息,判断所述系统锁是否解锁成功。
摄像头调用模块420,用于当所述系统锁连续解锁失败的次数达到预设阈值时,调用所述移动终端的摄像头进行拍照。
信息输出模块430,用于基于拍照所获得的照片,输出提示信息。
应用本实施例所提供的装置,当移动终端中同时设置了应用锁和系统锁时,锁屏应用程序可以对系统锁是否解锁成功进行监测,并在系统锁解锁失败时,锁屏应用程序能够在系统锁的解锁失败次数达到预设阈值时,调用移动终端的摄像头进行拍照,然后输出给用户,以提示用户移动终端丢失,并便于用户通过照片找到移动终端。
相应于上述方法实施例,本申请实施例还提供了一种移动终端,如图5所示,包括处理器501、通信接口502、存储器503和通信总线504,其中,处理器501,通信接口502,存储器503通过通信总线504完成相互间的通信;
存储器503,用于存放处理程序;
处理器501,用于执行存储器503上所存放的程序时,实现上述方法实施例所提供的一种提示信息的输出方法的步骤。
上述移动终端提到的通信总线可以是外设部件互连标准(Peripheral Pomponent Interconnect,简称PCI)总线或扩展工业标准结构(Extended Industry Standard Architecture,简称EISA)总线等。该通信总线可以分为地址总线、数据总线、控制总线等。为便于表示,图中仅用一条粗线表示,但并不表示仅有一根总线或一种类型的总线。
通信接口用于上述移动终端与其他设备之间的通信。
存储器可以包括随机存取存储器(Random Access Memory,简称RAM),也可以包括非易失性存储器(non-volatile memory),例如至少一个磁盘存储器。可选的,存储器还可以是至少一个位于远离前述处理器的存储装置。
上述的处理器可以是通用处理器,包括中央处理器(Central Processing Unit,简称CPU)、网络处理器(Ne twork Processor,简称NP)等;还可以是数字信号处理器(Digital Signal Processing,简称DSP)、专用集成电路(Applica tion Specific Integrated Circuit,简称ASIC)、现场可编程门阵列(Field-Programmable Gate Array,简称FPGA)或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件。
本申请实施例还提供了一种存储介质,存储介质内存储有处理程序,处理程序被处理器执行时实现上述方法实施例所提供的提示信息的输出方法的步骤。
相应于上述方法实施例,本申请实施例还提供了一种应用程序,用于在运行时执行实现上述方法实施例所提供的提示信息的输出方法的步骤。
需要强调的是,对于移动终端以及存储介质实施例而言,由于其所涉及的方法内容基本相似于前述的方法实施例,所以描述的比较简单,相关之处参见方法实施例的部分说明即可。
以上所述仅为本申请的较佳实施例而已,并不用以限制本申请,凡在本申请的精神和原则之内,所做的任何修改、等同替换、改进等,均应包含在本申请保护的范围之内。

Claims (19)

  1. 一种提示信息的输出方法,其特征在于,所述方法应用于移动终端,所述移动终端设置有系统锁和由锁屏应用程序设置的应用锁,所述方法包括:
    在所述移动终端处于锁屏状态下时,所述锁屏应用程序监测所述系统锁是否解锁成功;
    当所述系统锁连续解锁失败的次数达到预设阈值时,调用所述移动终端的摄像头进行拍照;
    基于拍照所获得的照片,输出提示信息。
  2. 根据权利要求1所述的方法,其特征在于,在所述锁屏应用程序监测所述系统锁是否解锁成功的步骤之前,所述方法还包括:获得所述移动终端的设备管理器权限;
    所述监测系统锁是否解锁成功的步骤,包括:
    接收所述移动终端的系统程序发送的解锁结果消息;
    根据所述解锁结果消息,判断所述系统锁是否解锁成功。
  3. 根据权利要求2所述的方法,其特征在于,所述获得所述移动终端的设备管理器权限的步骤,包括:
    显示提示窗;
    接收用户对所述提示窗中的获得权限按钮的点击操作,调取并显示所述移动终端的设备管理器权限界面;
    根据用户在所述设备管理器权限界面中输入的、允许所述锁屏应用程序获得设备管理器权限的指令,获得所述移动终端的设备管理器权限。
  4. 根据权利要求1所述的方法,其特征在于,所述当所述系统锁连续解锁失败的次数达到预设阈值时,调用所述移动终端的摄像头进行拍照的步骤,包括:
    当所述系统锁在预设时长内连续解锁失败的次数达到预设阈值时,调用所述移动终端的摄像头进行拍照。
  5. 根据权利要求1所述的方法,其特征在于,如果监测到所述系统锁解锁成功,所述方法还包括:
    将所述应用锁设置为解锁状态。
  6. 根据权利要求1所述的方法,其特征在于,在所述监测所述系统锁是否解锁成功的步骤之前,所述方法还包括:
    在所述移动终端处于锁屏状态下时,当接收到针对应用锁的解锁信息后,判断所述解锁信息与预设解锁信息是否相匹配;
    如果匹配,则确定所述应用锁解锁成功,执行所述监测所述系统锁是否解锁成功的步骤;
    如果不匹配,则确定所述应用锁解锁失败,记录所述应用锁解锁失败的次数,并当所记录的次数超过预设阈值时,调用所述移动终端的摄像头进行拍照;
    基于拍照所获得的照片,输出提示信息。
  7. 根据权利要求1-6任一项所述的方法,其特征在于,所述基于拍照所获得的照片,输出提示信息的步骤,包括:
    获取所述移动终端的位置信息,将所述位置信息和拍照所获得的照片,输出到预先设置的邮箱或即时通信账户。
  8. 根据权利要求1-6任一项所述的方法,其特征在于,所述移动终端的摄像头具体为:所述移动终端的前置摄像头。
  9. 一种提示信息的输出装置,其特征在于,所述装置应用于移动终端,所述移动终端设置有系统锁和由锁屏应用程序设置的应用锁,所述装置包括:
    系统锁监测模块,用于在所述移动终端处于锁屏状态下时,所述锁屏应用程序监测所述系统锁是否解锁成功;
    摄像头调用模块,用于当所述系统锁连续解锁失败的次数达到预设阈值时,调用所述移动终端的摄像头进行拍照;
    信息输出模块,用于基于拍照所获得的照片,输出提示信息。
  10. 根据权利要求1所述的装置,其特征在于,所述装置还包括:
    权限获得模块,用于在所述系统锁监测模块监测所述系统锁是否解锁成功之前,获得所述移动终端的设备管理器权限;
    所述系统锁监测模块,包括:
    消息接收子单元,用于接收所述移动终端的系统程序发送的解锁结果消息;
    系统锁判断子单元,用于根据所述解锁结果消息,判断所述系统锁是否解锁成功。
  11. 根据权利要求10所述的装置,其特征在于,所述权限获得模块,包括:
    提示窗显示子单元,用于显示提示窗;
    操作接收子单元,用于接收用户对所述提示窗中的获得权限按钮的点击操作,调取并显示所述移动终端的设备管理器权限界面;
    权限获得子单元,用于根据用户在所述设备管理器权限界面中输入的、允许所述锁屏应用程序获得设备管理器权限的指令,获得所述移动终端的设备管理器权限。
  12. 根据权利要求9所述的装置,其特征在于,所述摄像头调取模块,具体用于:
    当所述系统锁在预设时长内连续解锁失败的次数达到预设阈值时,调用所述移动终端的摄像头进行拍照。
  13. 根据权利要求9所述的装置,其特征在于,所述装置还包括:
    解锁设置模块,用于当监测到所述系统锁解锁成功时,将所述应用锁设置为解锁状态。
  14. 根据权利要求9所述的装置,其特征在于,所述装置还包括:
    信息判断模块,用于在所述移动终端处于锁屏状态下时,在所述系统锁模块监测所述系统锁是否解锁成功之前,接收到针对应用锁的解锁信息后, 判断所述解锁信息与预设解锁信息是否相匹配,如果匹配,触发所述系统锁监测模块,如果不匹配,触发次数记录模块;
    所述次数记录模块,用于记录所述应用锁解锁失败的次数,并当所记录的次数超过预设阈值时,调用所述移动终端的摄像头进行拍照,并触发所述信息输出模块。
  15. 根据权利要求9-14任一项所述的装置,其特征在于,所述信息输出模块,具体用于:
    获取所述移动终端的位置信息,将所述位置信息和拍照所获得的照片,输出到预先设置的邮箱或即时通信账户。
  16. 根据权利要求9-14任一项所述的装置,其特征在于,所述移动终端的摄像头具体为:所述移动终端的前置摄像头。
  17. 一种移动终端,其特征在于,包括处理器、通信接口、存储器和通信总线,其中,处理器,通信接口,存储器通过总线完成相互间的通信;
    存储器,用于存放处理程序;
    处理器,用于执行存储器上所存放的程序时,实现权利要求1-8任一所述的方法步骤。
  18. 一种存储介质,其特征在于,所述存储介质内存储有处理程序,所述处理程序被处理器执行时实现权利要求1-8任一所述的方法步骤。
  19. 一种应用程序,其特征在于,所述应用程序用于在运行时执行权利要求1-8任一项所述的方法步骤。
PCT/CN2018/076421 2017-06-27 2018-02-12 一种提示信息的输出方法及装置 WO2019000972A1 (zh)

Priority Applications (1)

Application Number Priority Date Filing Date Title
US16/347,643 US10630831B2 (en) 2017-06-27 2018-02-12 Prompting information output method and apparatus

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201710501985.XA CN107451464B (zh) 2017-06-27 2017-06-27 一种提示信息的输出方法及装置
CN201710501985.X 2017-06-27

Publications (1)

Publication Number Publication Date
WO2019000972A1 true WO2019000972A1 (zh) 2019-01-03

Family

ID=60487183

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2018/076421 WO2019000972A1 (zh) 2017-06-27 2018-02-12 一种提示信息的输出方法及装置

Country Status (3)

Country Link
US (1) US10630831B2 (zh)
CN (1) CN107451464B (zh)
WO (1) WO2019000972A1 (zh)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108076426A (zh) * 2017-12-11 2018-05-25 广东欧珀移动通信有限公司 终端追踪方法、装置、存储介质及终端设备
CN111363675B (zh) * 2020-03-18 2023-05-23 燕京啤酒(玉林)有限公司 一种发酵罐防错控制方法及系统
CN111935356A (zh) * 2020-07-30 2020-11-13 江舟 一种通信设备防丢失系统及装置
CN113163392A (zh) * 2021-03-17 2021-07-23 维沃移动通信有限公司 用户身份数据文件的删除方法及装置

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104166813A (zh) * 2014-07-11 2014-11-26 北京奇虎科技有限公司 基于屏幕锁保护智能终端中的隐私内容的方法和装置
CN106068012A (zh) * 2016-05-24 2016-11-02 珠海市魅族科技有限公司 一种智能终端定位方法及装置
CN106096377A (zh) * 2016-06-21 2016-11-09 北京奇虎科技有限公司 一种移动终端的应用解锁方法、装置和移动终端
CN106778173A (zh) * 2016-12-15 2017-05-31 北京数字天域科技有限责任公司 一种基于智能操作系统的应用锁设置的方法及装置

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1992762A (zh) 2005-12-29 2007-07-04 腾讯科技(深圳)有限公司 手机防盗方法
US8811948B2 (en) * 2010-07-09 2014-08-19 Microsoft Corporation Above-lock camera access
US20130305324A1 (en) * 2012-05-09 2013-11-14 International Business Machines Corporation Incremental Password Barriers to Prevent Malevolent Intrusions
CN104796523A (zh) 2014-01-16 2015-07-22 富泰华工业(深圳)有限公司 提供丢失的通讯装置线索的方法及其通讯装置
CN104010088B (zh) * 2014-06-16 2016-06-08 中国地质大学(武汉) 智能手机防盗方法及系统
CN105787400A (zh) 2016-02-25 2016-07-20 上海斐讯数据通信技术有限公司 一种基于移动终端的安全防护方法及系统
CN106778389B (zh) 2016-11-25 2018-09-04 维沃移动通信有限公司 一种移动终端的丢失检测方法及移动终端
CN106650385B (zh) * 2016-12-29 2019-11-12 北京金山安全软件有限公司 一种解锁方法、装置及电子设备

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104166813A (zh) * 2014-07-11 2014-11-26 北京奇虎科技有限公司 基于屏幕锁保护智能终端中的隐私内容的方法和装置
CN106068012A (zh) * 2016-05-24 2016-11-02 珠海市魅族科技有限公司 一种智能终端定位方法及装置
CN106096377A (zh) * 2016-06-21 2016-11-09 北京奇虎科技有限公司 一种移动终端的应用解锁方法、装置和移动终端
CN106778173A (zh) * 2016-12-15 2017-05-31 北京数字天域科技有限责任公司 一种基于智能操作系统的应用锁设置的方法及装置

Also Published As

Publication number Publication date
US20190320062A1 (en) 2019-10-17
CN107451464A (zh) 2017-12-08
CN107451464B (zh) 2020-04-03
US10630831B2 (en) 2020-04-21

Similar Documents

Publication Publication Date Title
US11394555B2 (en) Mobile terminal privacy protection method and protection apparatus, and mobile terminal
WO2019000972A1 (zh) 一种提示信息的输出方法及装置
US8875304B2 (en) Application and data removal system
CN110651270B (zh) 一种数据访问方法及装置
US11496490B2 (en) Notification of a security breach on a mobile device
US9544747B2 (en) Transmitting management commands to a client device
WO2014023189A1 (en) Method and apparatus for entering a client function module
JP6770588B2 (ja) 情報セキュリティを強化する方法及び端末
WO2016072833A1 (en) System and method to disable factory reset
WO2014012380A1 (zh) 移动终端的防盗装置及其防盗方法
WO2018072193A1 (zh) 控制应用自启动的方法及装置
WO2017028694A1 (zh) 一种用于解锁的方法和设备
CN110673790A (zh) 一种硬盘控制方法、装置及电子设备和存储介质
CN106778173B (zh) 一种基于智能操作系统的应用锁设置的方法及装置
CN107710211A (zh) 智能终端系统启动方法、装置及智能终端
JP2017102758A (ja) 認証装置、認証方法及びプログラム
WO2018165341A1 (en) Contact information display method and device, and information display method and device
CN115879090A (zh) 账号的登录方法、装置、电子设备和存储介质
US20170013074A1 (en) Methods and apparatuses for providing information of video capture device
CN107133531B (zh) 应用锁的使用提醒方法和装置
CN107392035B (zh) 保护数据安全的方法、移动终端及计算机可读存储介质
AU2016100197A4 (en) Mobile computing device security
EP3678041A1 (en) Apparatus and method for camera-based user authentication for content access
WO2014187058A1 (zh) 一种移动终端存储卡的保密方法、装置及移动终端
CN107704295B (zh) 设置自启动权限的方法、装置及存储介质

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 18822736

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 18822736

Country of ref document: EP

Kind code of ref document: A1