WO2019061248A1 - Virtual key operation method, terminal, storage medium, and computer program - Google Patents

Virtual key operation method, terminal, storage medium, and computer program Download PDF

Info

Publication number
WO2019061248A1
WO2019061248A1 PCT/CN2017/104245 CN2017104245W WO2019061248A1 WO 2019061248 A1 WO2019061248 A1 WO 2019061248A1 CN 2017104245 W CN2017104245 W CN 2017104245W WO 2019061248 A1 WO2019061248 A1 WO 2019061248A1
Authority
WO
WIPO (PCT)
Prior art keywords
terminal
biometric information
preset
user
virtual button
Prior art date
Application number
PCT/CN2017/104245
Other languages
French (fr)
Chinese (zh)
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 CN201780095479.3A priority Critical patent/CN111417921A/en
Priority to PCT/CN2017/104245 priority patent/WO2019061248A1/en
Publication of WO2019061248A1 publication Critical patent/WO2019061248A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range

Definitions

  • the present invention relates to the field of intelligent terminals, and in particular, to a virtual key operation method, a terminal, a storage medium, and a computer program.
  • the smart phone is very powerful, it can perform many functions such as surfing, chatting, and games. More and more children like the long mobile phone of the player. According to the development of existing smart phones, although some smart phones can be used for rights management, there is no strict control for children to use mobile phones. Children can freely operate any application on the mobile phone, which often causes problems such as excessive mobile phone traffic and deductions. Therefore, how to limit the mobile phone application for children is a technical problem that needs to be solved.
  • Embodiments of the present invention provide a virtual key operation method, a terminal, a storage medium, and a computer program, which are capable of restricting a specific user's authority to operate an application.
  • an embodiment of the present invention provides a virtual key operation method, where the method includes:
  • the terminal opens a preset application
  • the terminal detects whether the biometric information of the first user matches the preset biometric information according to the first triggering operation
  • the original function of the first virtual button is not executed.
  • the user can be identified by identifying the biometric information of the user, and the operation authority of the virtual button is restricted by other users other than the user corresponding to the preset biometric information, thereby restricting the permissions of other users to operate the application.
  • the terminal after the detecting, by the terminal, the biometric information of the first user is matched with the preset biometric information, the terminal further includes:
  • the terminal when detecting that the biometric information for the virtual operation matches the preset biometric information, the terminal may implement the operation of the preset application in combination with the original function of the virtual button.
  • the first virtual button is not executed. After the original function, it also includes:
  • the terminal when detecting that the biometric information does not match the preset biometric information, the terminal may limit the user's usable range by combining the virtual button replacement function.
  • the method before the performing the replacing function of the first virtual button, the method further includes:
  • the terminal creates a first correspondence between the original function and the replacement function of the virtual button, and the virtual button includes the first virtual button;
  • the terminal After the terminal detects whether the biometric information of the first user matches the preset biometric information according to the first triggering operation, before the terminal performs the replacing function of the first virtual button, the terminal further includes:
  • the terminal acquires a replacement function corresponding to the original function of the first virtual button from the first correspondence relationship;
  • the terminal performs the replacement function of the first virtual button, including:
  • the terminal performs a replacement function corresponding to the original function of the first virtual button.
  • the terminal can implement the function of the virtual button by combining the correspondence between the original function and the replacement function of the created virtual button.
  • the method for the virtual key operation further includes:
  • the terminal can limit the duration of the user operating the preset application, and the user is prevented from indulging the preset application.
  • the method before the determining whether the running time of the preset application program exceeds a preset duration, the method further includes:
  • the unlock password of the lock screen interface can be set by the user corresponding to the preset biometric information, so as to prevent other users from correctly unlocking the lock screen interface.
  • the method further includes:
  • other users other than the user corresponding to the preset biometric information can be further prevented from exiting the preset application by setting a password, thereby restricting the permissions of other users to operate the preset application.
  • the method before the receiving, by the first user, the second triggering operation for the preset exit button input, the method further includes:
  • the password of the preset exit button may be set by the user corresponding to the preset biometric information, so as to prevent other users from exiting the preset application.
  • the biometric information includes one or any combination of fingerprint information, iris information, facial feature information, and sound information.
  • the first virtual key comprises a return key, a home key, a recent task key, or a menu key.
  • an embodiment of the present invention provides a terminal, where the terminal includes a module or a unit for performing the virtual key operation method described in the first aspect or any one of the implementation manners of the first aspect.
  • an embodiment of the present invention provides another terminal, including a processor and a memory, where the processor and the memory are connected to each other, wherein the memory is used to store application code that supports the terminal to execute the foregoing method,
  • the processor is configured to perform the method of the first aspect above.
  • an embodiment of the present invention provides a computer readable storage medium, where the computer storage medium stores a computer program, where the computer program includes program instructions, and the program instructions, when executed by a processor, cause the processing The method of the first aspect described above is performed.
  • an embodiment of the present invention provides a computer program, the computer program comprising program instructions, the program instructions, when executed by a processor, causing the processor to perform the method of the first aspect.
  • FIG. 1 is a schematic flowchart of a method for operating a virtual key according to an embodiment of the present invention
  • FIG. 1A is a schematic diagram of an operation interface of a game application according to an embodiment of the present invention.
  • FIG. 1B is a schematic diagram of an operation interface of another game application according to an embodiment of the present invention.
  • FIG. 2 is a schematic flowchart of another virtual key operation method according to an embodiment of the present invention.
  • FIG. 3 is a schematic structural diagram of a terminal according to an embodiment of the present invention.
  • FIG. 4 is a schematic structural diagram of another terminal according to an embodiment of the present invention.
  • FIG. 1 is a schematic flowchart of a method for operating a virtual key according to an embodiment of the present invention. As shown in FIG. 1 , the method includes, but is not limited to, the following steps S101-S104:
  • the terminal starts a preset application.
  • the terminal may include a mobile phone, a tablet computer, a personal digital assistant (PDA), a mobile internet device (MID), a smart wearable device (such as a smart watch, a smart bracelet), and the like.
  • PDA personal digital assistant
  • MID mobile internet device
  • smart wearable device such as a smart watch, a smart bracelet
  • the terminal device used is not limited in the embodiment of the present invention.
  • the terminal can install multiple applications, such as a video application, a communication application, a game application, a photo application, and the like.
  • applications such as a video application, a communication application, a game application, a photo application, and the like.
  • the preset application program may be set by default by the terminal system, or may be set by the terminal user, which is not specifically limited in the embodiment of the present invention.
  • the operation interface of the preset application is displayed.
  • the terminal can display the operation interface of the game application in full screen for the user to experience the game.
  • the terminal receives a first triggering operation of the user for the first virtual button in the preset application.
  • the terminal displays an operation interface of the preset application, and the user can input a first trigger operation for the first virtual button through the operation interface.
  • the terminal has a touch screen, and the first triggering operation of the user for the first virtual button can be completed on the touch screen.
  • the virtual keys of the terminal include, but are not limited to, a return key, a home key, a recent task key, and a menu key. Therefore, the first virtual key may be a return key, a home key, a recent task key, or a menu key.
  • FIG. 1A it is a schematic diagram of an operation interface of a game application according to an embodiment of the present invention.
  • the display interface of the terminal displays an operation interface of the connected application.
  • the virtual button is always displayed in the operation interface of the preset application, and the user can directly trigger the first trigger operation on a virtual button displayed in the operation interface.
  • the virtual button is hidden in the operation interface of the preset application, and the user can click the operation interface to trigger the terminal to display the virtual button, and then the user triggers on a virtual button displayed in the operation interface.
  • the first triggering operation For example, referring to FIG.
  • FIG. 1B it is a schematic diagram of an operation interface of another game application according to an embodiment of the present invention.
  • the display interface 10 of the terminal displays an operation interface of the Lianliankan application, and three virtual buttons are displayed at the bottom of the interface of the operation interface, namely a return key 11, a home key 12 and a recent task key 13 respectively.
  • the display position of the virtual button may also be other positions of the display interface 10 of the terminal, for example, the left side of the interface, the right side of the interface, or the top of the interface.
  • the first triggering operation of the first virtual button by the user includes one of a click operation, a touch operation, and a long press operation, and the combination is not specifically limited.
  • step S103 The terminal detects, according to the first triggering operation, whether the biometric information of the first user matches the preset biometric information, and if no, step S104 is performed.
  • the terminal may collect the biometric information of the user, and match the collected biometric information with the pre-stored biometric information.
  • the biometric information includes one or any combination of fingerprint information, iris information, facial feature information, and sound information.
  • the terminal may obtain the fingerprint information of the user through the fingerprint collector after receiving the first triggering operation of the user for the first virtual button, and the acquired fingerprint information and the pre-stored fingerprint information. Fingerprint information is matched.
  • the terminal After receiving the first triggering operation of the user for the first virtual button, the terminal acquires the iris information of the user through the camera, and performs the acquired iris information and the pre-stored iris information. match.
  • the biometric information is the facial feature information
  • the terminal acquires the facial image information of the user through the camera after receiving the first triggering operation of the first virtual button, and the acquired facial image information is pre-stored. The face feature information is matched.
  • the biometric information is the sound information
  • the terminal acquires the user's voice information through the microphone after receiving the first triggering operation of the user for the first virtual button, and matches the acquired voice information with the pre-stored voice information.
  • the preset biometric information may be pre-recorded by the end user.
  • the end user is a parent
  • the preset biometric information is the biometric information of the parent. It is assumed that the user who inputs the first triggering operation is a child, and the terminal can recognize that the user corresponding to the preset biometric information is not the same person by detecting the biometric information of the child.
  • the operation of detecting whether the biometric information of the first user and the preset biometric information are matched may be implemented by the same terminal or by another terminal, which is not specifically limited by the present invention.
  • the terminal does not perform an original function of the first virtual button.
  • the original function of the virtual button is specifically characterized by the function of the virtual button given by the terminal.
  • the original function of the return key is to return to the previous menu
  • the original function of the home button is to display the main menu page.
  • the terminal does not perform the original function of the first virtual button, that is, the terminal limits the user's operation authority for the virtual button.
  • the preset application is a game application
  • the terminal currently displays an operation interface of the game application
  • the child is playing the game application
  • the terminal acquires the game application. If the fingerprint information of the child does not match the preset fingerprint information, the terminal does not exit the game application, and continues to display the operation interface of the game application, thereby preventing the child from playing other applications and causing the terminal to occur.
  • the situation where the traffic exceeds the standard and the fee is deducted.
  • the terminal detects that the biometric information of the first user matches the preset biometric information, the terminal performs an original function of the first virtual button.
  • the terminal when detecting that the biometric information for the virtual operation matches the preset biometric information, the terminal may implement the operation of the preset application in combination with the original function of the virtual button.
  • the terminal determines whether the running duration of the preset application exceeds a preset duration. If so, The terminal exits the preset application and displays a lock screen interface.
  • the preset duration may be set by default in the terminal system, or may be set by the user.
  • the preset duration is 13 minutes. If the terminal detects that the running time of the preset application is greater than or equal to 13 minutes, the terminal exits the preset application and displays the lock screen interface. Through the embodiment of the present invention, the terminal can limit the duration of the user operating the preset application, and the user is prevented from indulging the preset application.
  • the unlocking password of the lock screen interface may be set by the terminal user.
  • the terminal user is an adult.
  • the setting of the unlock password by the adult may prevent the child from correctly unlocking the lock screen.
  • the terminal may receive the password input by the second user.
  • the terminal determines whether the biometric information of the second user matches the preset biometric information. And if the biometric information of the second user matches the preset biometric information, setting a password input by the second user as an unlock password of the lock screen interface.
  • the unlock password of the lock screen interface can be set by the user corresponding to the preset biometric information, so as to prevent other users from correctly unlocking the lock screen interface.
  • the terminal may receive the second triggering operation of the first user for the preset exit button input. And prompting information according to the second triggering operation, where the prompting information is used to prompt the first user to input a password.
  • Receiving a password input by the first user Determining whether the password input by the first user is consistent with the preset password. If yes, exit the preset application.
  • the preset exit button may be set by default by the terminal system, or may be set by the terminal user independently, which is not specifically limited in the embodiment of the present invention.
  • the display position of the preset exit button may be below the operation interface of the preset application displayed by the terminal, on the left side of the interface, on the right side of the interface or at the top of the interface.
  • the preset exit button is always displayed in the operation interface of the preset application, and the user may directly trigger the second trigger operation for the preset exit button displayed in the operation interface.
  • the preset exit button is hidden in the operation interface of the preset application, and the user can click the operation interface to trigger the terminal to display the preset exit button, and then the user displays the preset displayed in the operation interface. Let the exit button trigger the second trigger operation.
  • the first user inputs a second triggering operation for the preset exit button
  • the second triggering operation may include one of a click operation, a touch operation, and a long press operation, or any combination thereof, which is not specifically limited by the present invention.
  • a prompt message box is popped up on the operation page of the preset application, and the information content in the prompt information box includes “Please enter a password” or “Please confirm the password”. .
  • the user enters a password in the message box.
  • the preset password is set by the user according to his or her preference, usage habits, or mandatory setting rules of the system, and the preset password may be one of a letter, a symbol, a number, or any combination.
  • mandatory setting rules for the system include, but are not limited to, the set password must consist of letters and numbers, and the first password must be a letter, and at the same time, the letter must be uppercase.
  • the preset application is a game application
  • the terminal currently displays an operation interface of the game application
  • the child is playing the game application
  • the terminal pops up a prompt message box on the operation page of the game application, and the prompt information box asks the child to input a password, and the terminal will exit the game application only if the input password is consistent with the preset password.
  • other users other than the user corresponding to the preset biometric information can be further prevented from exiting the preset application by setting a password, thereby restricting the permissions of other users to operate the preset application.
  • the preset password may be set by the terminal user himself.
  • the terminal user is an adult, and setting the unlock password by the adult may prevent the child from correctly exiting the preset application.
  • the terminal may receive the password input by the second user.
  • the terminal determines whether the biometric information of the second user matches the preset biometric information. And if the biometric information of the second user matches the preset biometric information, setting a password input by the second user as the preset password.
  • the password of the preset exit button may be set by the user corresponding to the preset biometric information, so as to prevent other users from exiting the preset application.
  • the terminal After the virtual button operation method shown in FIG. 1 is implemented, after receiving the trigger operation of the first virtual button in the preset application, the terminal detects whether the biometric information of the user matches the preset biometric information. Therefore, it is recognized whether the user has the right to operate the virtual button. If it is detected that the biometric information of the user does not match the preset biometric information, the terminal does not perform the original function of the first virtual button, thereby reaching the limit pre
  • the user's authority to operate the virtual button other than the user corresponding to the biometric information is set. For example, to prevent other users from exiting the default application through the return key, and opening other applications, thereby avoiding the situation where the terminal has exceeded the traffic and is charged.
  • FIG. 2 is a schematic flowchart of another virtual key operation method according to an embodiment of the present invention. As shown in FIG. 2, the method includes, but is not limited to, the following steps S201-S204:
  • the terminal starts a preset application.
  • step S101 in the embodiment shown in FIG. 1 for related implementation of step S201, and details are not described herein again.
  • the terminal receives a first triggering operation of the user for the first virtual button in the preset application.
  • step S102 in the embodiment shown in FIG. 1 for related implementation of step S202, and details are not described herein again.
  • step S203 The terminal detects, according to the first triggering operation, whether the biometric information of the first user matches the preset biometric information. If not, step S204 is performed.
  • step S103 for details, refer to the related description of step S103 in the embodiment shown in FIG. 1 for related implementation of step S203, and details are not described herein again.
  • the terminal does not perform an original function of the first virtual button, and performs a replacement function of the first virtual button.
  • the original function of the virtual button is specifically characterized by the function of the virtual button given by the terminal.
  • the original function of the return key is to return to the previous menu
  • the main menu key The original function is to display the main menu page.
  • the replacement function of the virtual button is set by the user according to his or her preference, usage habits, or characteristics of the preset application.
  • the replacement function of the return key can be a voice announcement function for broadcasting the time when the user uses the preset application.
  • the replacement function of the main menu key can be to adjust the display screen area of the application.
  • the preset application is a game application, and the replacement function of the return key may be a pause button.
  • the preset application is a game application
  • the terminal currently displays an operation interface of the game application
  • the child is playing the game application
  • the terminal acquires the game application. If the fingerprint information of the child does not match the preset fingerprint information, the terminal does not exit the game application, continues to display the operation interface of the game application, and performs a replacement function voice broadcast function of the return key, voice
  • the specific content of the broadcast is "You are currently playing the game for 8 minutes, please close your eyes and rest for 30 seconds, avoid eye fatigue.”
  • the terminal may create a first correspondence between the original function and the replacement function of the virtual button before the preset application is started.
  • the first correspondence may be set by default in the system when the terminal is shipped from the factory, or may be set by the terminal user, which is not specifically limited in the embodiment of the present invention.
  • the first correspondence created by the terminal includes: the original function of the return key "return to the previous menu” corresponding to the replacement function "voice broadcast function”, the original function of the home button “display main menu page” corresponding to the replacement function "application display The interface is 100% displayed.”
  • the format and content of the first correspondence may be, for example but not limited to, Table 1 below.
  • the terminal may search for the replacement function corresponding to the original function of the first virtual button according to the first correspondence.
  • the first virtual button is a return key
  • the replacement function corresponding to the original function of the return key is obtained from the first correspondence relationship as a voice broadcast.
  • the terminal can implement the function of the virtual button by combining the correspondence between the original function and the replacement function of the created virtual button.
  • the terminal After the virtual button operation method shown in FIG. 2 is implemented, after receiving the trigger operation of the first virtual button in the preset application, the terminal detects that the biometric information of the user does not match the preset biometric information. The terminal does not perform the original function of the first virtual button, but performs the replacement function of the first virtual button, thereby achieving the permission of the user other than the user corresponding to the preset biometric information to operate the virtual button. For example, avoid other users exiting the default app via the back button Program, open other applications, so as to avoid the situation where the terminal has exceeded the traffic and is charged.
  • FIG. 3 is a schematic structural diagram of a terminal according to an embodiment of the present invention.
  • the terminal 30 may include: an opening unit 310, a receiving unit 320, a detecting unit 330, and a processing unit 340, where
  • the opening unit 310 is configured to start a preset application
  • the receiving unit 320 is configured to receive a first triggering operation for the first virtual button in the preset application opened by the user in the opening unit 310;
  • the detecting unit 330 is configured to detect, according to the first triggering operation received by the receiving unit 320, whether the biometric information of the first user matches the preset biometric information;
  • the processing unit 340 is configured to: if the detecting unit 330 detects that the biometric information of the first user does not match the preset biometric information, perform the original function of the first virtual button.
  • the processing unit 340 is further configured to: after the detecting unit 330 detects, according to the first triggering operation, whether the biometric information of the first user matches the preset biometric information, if the first user The biometric information matches the preset biometric information, and the original function of the first virtual button is executed.
  • the processing unit 340 is further configured to: after the biometric information of the first user does not match the preset biometric information, perform the first step after the original function of the first virtual button is not executed.
  • a virtual button replacement function is further configured to: after the biometric information of the first user does not match the preset biometric information, perform the first step after the original function of the first virtual button is not executed.
  • the terminal 30 further includes a creating unit and an acquiring unit.
  • the creating unit is configured to create a first correspondence between an original function and a replacement function of the virtual button before the processing unit 340 performs the replacing function of the first virtual button, where the virtual button includes the first virtual button;
  • the acquiring unit is configured to execute the first virtuality in the processing unit 340 after the detecting unit 330 detects whether the biometric information of the first user matches the preset biometric information according to the first triggering operation. Before the replacement function of the button, if the biometric information of the first user does not match the preset biometric information, obtaining a replacement corresponding to the original function of the first virtual button from the first correspondence Features;
  • the processing unit 340 is configured to perform the replacement function of the first virtual button, specifically: performing a replacement function corresponding to the original function of the first virtual button.
  • the biometric information includes one or any combination of fingerprint information, iris information, facial feature information, and sound information.
  • the terminal 30 further includes a first determining unit, a first exiting unit, and a display unit;
  • the first determining unit is configured to determine whether a running duration of the preset application program exceeds a preset duration
  • the first exiting unit is configured to determine, by the first determining unit, that the running time of the preset application program exceeds a preset duration, and exits the preset application program;
  • the display unit is configured to display a lock screen interface.
  • the terminal 30 further includes a second receiving unit, a second determining unit, and a first setting list. yuan;
  • the second receiving unit is configured to receive a password input by the second user before the first determining unit determines whether the running duration of the preset application program exceeds a preset duration;
  • the second determining unit is configured to determine whether the biometric information of the second user matches the preset biometric information
  • the first setting unit is configured to set a password input by the second user as an unlock password of the lock screen interface, if the biometric information of the second user matches the preset biometric information.
  • the terminal 30 further includes a third receiving unit, an output unit, a third determining unit, and a second exiting unit;
  • the third receiving unit is configured to receive, after the opening unit 310 starts the preset application, the second triggering operation of the first user for the preset exit button input;
  • the output unit is configured to output prompt information according to the second triggering operation, where the prompt information is used to prompt the first user to input a password;
  • the third receiving unit is further configured to receive a password input by the first user
  • the third determining unit is configured to determine whether the password input by the first user is consistent with the preset password
  • the second exit unit is configured to determine, by the third determining unit, that the password input by the first user is consistent with the preset password, and exit the preset application.
  • the terminal 30 further includes a fourth receiving unit, a fourth determining unit, and a second setting unit.
  • a fourth receiving unit configured to receive a password input by the second user before the third receiving unit receives the second triggering operation of the first user for the preset exit button input;
  • the fourth determining unit is configured to determine whether the biometric information of the second user matches the preset biometric information
  • the second setting unit is configured to: if the biometric information of the second user matches the preset biometric information, set the password input by the second user as the preset password.
  • FIG. 4 is a schematic structural diagram of another terminal according to an embodiment of the present invention.
  • the terminal 40 shown in FIG. 4 includes: a radio frequency (RF) circuit 401, a memory 402 storing one or more computer programs, an input device 403, an output device 404, a sensor 403, an audio circuit 404, and wireless fidelity.
  • RF radio frequency
  • RF radio frequency
  • the RF circuit 401 can be used for transmitting and receiving information or during a call, receiving and transmitting signals, and in particular, receiving downlink information of the base station and then processing it by one or more processors 408; The data of the line is sent to the base station.
  • RF circuit 401 includes, but is not limited to, an antenna, at least one amplifier, a tuner, one or more oscillators, a Subscriber Identity Module (SIM) card, a transceiver, a coupler, a Low Noise Amplifier (LNA), a dual Tools, etc.
  • SIM Subscriber Identity Module
  • LNA Low Noise Amplifier
  • the RF circuit 401 can also communicate with the network and other terminal devices through wireless communication.
  • the wireless communication may use any communication standard or protocol, including but not limited to Global System of Mobile communication (GSM), General Packet Radio Service (GPRS), Code Division Multiple Access (Code). Division Multiple Access (CDMA), Wideband Code Division Multiple Access (WCDMA), Long Term Evolution (LTE), E-mail, Short Messaging Service (SMS), etc.
  • GSM Global System of Mobile communication
  • GPRS General Packet Radio Service
  • Code Division Multiple Access Code Division Multiple Access
  • CDMA Code Division Multiple Access
  • WCDMA Wideband Code Division Multiple Access
  • LTE Long Term Evolution
  • E-mail Short Messaging Service
  • the memory 402 can be used to store computer programs and modules, and the processor 408 executes various functional applications and data processing by running computer programs and modules stored in the memory 402.
  • the memory 402 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application required for at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may be stored according to The data created by the use of the terminal 40 (such as photographed photos, audio data, video data, etc.) and the like.
  • memory 402 can include high speed random access memory, and can also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device. Accordingly, memory 402 may also include a memory controller to provide access to memory 402 by processor 408 and input device 403.
  • Input device 403 can be used to receive input numeric or character information, as well as to generate keyboard, mouse, joystick, optical or trackball signal inputs related to user settings and function controls.
  • input device 403 can include touch-sensitive surface 4031 and other input devices 4032.
  • Touch-sensitive surface 4031 also referred to as a touch display panel or trackpad, can collect touch operations on or near the user (eg, the user uses a finger, stylus, etc., on any touch-sensitive surface 4031 or on the touch-sensitive surface 4031 The pressing operation in the vicinity of the touch-sensitive surface 4031) drives the corresponding connecting device according to a preset program.
  • the touch-sensitive surface 4031 may include two parts of a touch detection device and a touch controller.
  • the touch detection device detects the touch orientation of the user, and detects a signal brought by the touch operation, and transmits the signal to the touch controller; the touch controller receives the touch information from the touch detection device, converts the touch information into contact coordinates, and sends the touch information.
  • the processor 408 is provided and can receive commands from the processor 408 and execute them.
  • the touch sensitive surface 4031 can be implemented in various types such as resistive, capacitive, infrared, and surface acoustic waves.
  • the input device 403 can also include other input devices 4032.
  • other input devices 4032 may include, but are not limited to, one or more of a physical keyboard, function keys (such as volume control buttons, switch buttons, etc.), trackballs, mice, joysticks, and the like.
  • Output device 404 can be used to display information entered by the user or information provided to the user, as well as various graphical user interfaces of terminal 40, which can be comprised of graphics, text, icons, video, and any combination thereof.
  • the output device 404 can include a display panel 4041.
  • the display panel 4041 can be configured in the form of a liquid crystal display (LCD), an organic light-emitting diode (OLED), or the like.
  • touch sensitive The surface 4031 can cover the display panel 4041, and when the touch-sensitive surface 4031 detects a touch operation thereon or nearby, it is transmitted to the processor 408 to determine the type of the touch event, and then the processor 408 is on the display panel 4041 according to the type of the touch event. Provide corresponding visual output on it.
  • touch-sensitive surface 4031 and display panel 4041 are implemented as two separate components to implement input and input functions, in some embodiments, touch-sensitive surface 4031 can be integrated with display panel 4041 for input. And output function.
  • Terminal 40 may also include at least one type of sensor 403, such as a light sensor, motion sensor, and other sensors.
  • the light sensor may include an ambient light sensor and a proximity sensor, wherein the ambient light sensor may adjust the brightness of the display panel 4041 according to the brightness of the ambient light, and the proximity sensor may close the display panel 4041 when the terminal 40 moves to the ear. / or backlight and so on.
  • the gravity acceleration sensor can detect the magnitude of acceleration in each direction (generally three axes), and the magnitude and direction of gravity can be detected at rest, which can be used to identify the attitude of the terminal 40 (such as horizontal and vertical screen switching, Related games, magnetometer attitude calibration), vibration recognition related functions (such as pedometer, tapping), etc.; as well as other sensors such as gyroscopes, barometers, hygrometers, thermometers, infrared sensors, etc., which can be configured in the terminal 40, here No longer.
  • the audio circuit 404, the speaker 4041, and the microphone 4042 can provide an audio interface between the user and the terminal 40.
  • the audio circuit 404 can transmit the converted electrical data of the received audio data to the speaker 4041, and convert it into a sound signal output by the speaker 4041.
  • the microphone 4042 converts the collected sound signal into an electrical signal, and the audio circuit 404. After receiving, it is converted into audio data, and then processed by the audio data output processor 408, transmitted to the terminal, for example, via the RF circuit 401, or the audio data is output to the memory 402 for further processing.
  • the audio circuit 404 may also include an earbud jack to provide communication of the peripheral earphones with the terminal 40.
  • WiFi is a short-range wireless transmission technology
  • the terminal 40 can help users to send and receive emails, browse web pages, and access streaming media through the WiFi module 407, which provides wireless broadband Internet access for users.
  • FIG. 4 shows the WiFi module 407, it can be understood that it does not belong to the essential configuration of the terminal 40, and may be omitted as needed within the scope of not changing the essence of the invention.
  • Processor 408 is the control center of terminal 40, which connects various portions of the entire terminal 40 using various interfaces and lines, by running or executing computer programs and/or modules stored in memory 402, and recalling data stored in memory 402. The various functions and processing data of the terminal 40 are executed to perform overall monitoring of the terminal 40.
  • the processor 408 may include one or more processing cores; preferably, the processor 408 may integrate an application processor and a modem processor, where the application processor mainly processes an operating system, a user interface, an application, and the like.
  • the modem processor primarily handles wireless communications. It will be appreciated that the above described modem processor may also not be integrated into the processor 408.
  • the terminal 40 also includes a power source 409 (such as a battery) that supplies power to the various components.
  • the power source can be logically coupled to the processor 408 through a power management system to manage functions such as charging, discharging, and power management through the power management system.
  • the power supply 409 may also include any one or more of a DC or AC power source, a recharging system, a power failure detection circuit, a power converter or inverter, a power status indicator, and the like.
  • the terminal 40 may further include a camera, a Bluetooth module, and the like, and details are not described herein again.
  • the output device 404 (or the input device 403) of the terminal is a touch screen display, and the terminal 40 further includes a memory 402, a processor 408, and one or more computer programs, wherein the one or more computers
  • the program is stored in the memory 402.
  • the processor 408 is configured to call the program instructions stored in the memory 402 to execute the virtual key operation method shown in FIG.
  • the steps of the method or algorithm described in connection with the disclosure of the embodiments of the present invention may be implemented in a hardware manner, or may be implemented by a processor executing software program instructions.
  • the software program instructions may be composed of corresponding software modules, which may be stored in a random access memory (RAM), a flash memory, a read only memory (ROM), an erasable programmable read only memory. (Erasable Programmable ROM, EPROM), electrically erasable programmable read only memory (EEPROM), registers, hard disk, removable hard disk, compact disk read only (CD-ROM) or any other form of storage medium known in the art.
  • An exemplary storage medium is coupled to the processor to enable the processor to read information from, and write information to, the storage medium.
  • the storage medium can also be an integral part of the processor.
  • the processor and the storage medium may be located in an Application Specific Integrated Circuit (ASIC). Additionally, the ASIC can be located in the terminal.
  • the processor and the storage medium can also exist as discrete components in the terminal device.
  • the functions described in the embodiments of the present invention may be implemented in hardware, software, firmware, or any combination thereof.
  • the functions may be stored in a computer readable medium or transmitted as one or more program instructions or code on a computer readable medium.
  • Computer readable media includes both computer storage media and communication media including any medium that facilitates transfer of a computer program from one location to another.
  • a storage medium may be any available media that can be accessed by a general purpose or special purpose computer.

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Telephone Function (AREA)

Abstract

A virtual key operation method, a terminal, a storage medium, and a computer program. The method comprises: a terminal starts a preset application program (S101); the terminal receives a first trigger operation for a first virtual key performed by a user in the preset application program (S102); the terminal detects, according to the first trigger operation, whether biometric information of a first user matches preset biometric information (S103); and if the biometric information of the first user does not match the preset biometric information, an original function of the first virtual key is not to be performed (S104). According to the method, the authority of an application program for a specific user can be limited.

Description

虚拟按键操作方法、终端、存储介质及计算机程序Virtual key operation method, terminal, storage medium, and computer program 技术领域Technical field
本发明涉及智能终端领域,尤其涉及一种虚拟按键操作方法、终端、存储介质及计算机程序。The present invention relates to the field of intelligent terminals, and in particular, to a virtual key operation method, a terminal, a storage medium, and a computer program.
背景技术Background technique
目前,由于智能手机功能很强大,可以进行上网、聊天以及游戏等等非常多的功能,越来越多的小孩喜欢玩家长的手机。根据现有智能手机的开发情况,虽然部分智能手机可以进行权限管理,但是还没有针对小孩使用手机而进行严格的控制。小孩可以随意操作手机上的任意应用,往往会造成手机流量超标、扣费等问题,因此,如何对小孩操作手机应用进行限制是目前需要解决的技术问题。At present, because the smart phone is very powerful, it can perform many functions such as surfing, chatting, and games. More and more children like the long mobile phone of the player. According to the development of existing smart phones, although some smart phones can be used for rights management, there is no strict control for children to use mobile phones. Children can freely operate any application on the mobile phone, which often causes problems such as excessive mobile phone traffic and deductions. Therefore, how to limit the mobile phone application for children is a technical problem that needs to be solved.
发明内容Summary of the invention
本发明实施例提供一种虚拟按键操作方法、终端、存储介质及计算机程序,能够限制特定用户操作应用程序的权限。Embodiments of the present invention provide a virtual key operation method, a terminal, a storage medium, and a computer program, which are capable of restricting a specific user's authority to operate an application.
第一方面,本发明实施例提供了一种虚拟按键操作方法,该方法包括:In a first aspect, an embodiment of the present invention provides a virtual key operation method, where the method includes:
终端开启预设应用程序;The terminal opens a preset application;
所述终端接收用户在所述预设应用程序中针对第一虚拟按键的第一触发操作;Receiving, by the terminal, a first triggering operation of the user for the first virtual button in the preset application;
所述终端根据所述第一触发操作检测所述第一用户的生物特征信息与预设生物特征信息是否匹配;The terminal detects whether the biometric information of the first user matches the preset biometric information according to the first triggering operation;
若所述第一用户的生物特征信息与所述预设生物特征信息不匹配,则不执行所述第一虚拟按键的原始功能。If the biometric information of the first user does not match the preset biometric information, the original function of the first virtual button is not executed.
通过本发明实施例,可以通过识别用户的生物特征信息来识别用户,限制预设生物特征信息对应的用户以外的其他用户对虚拟按键的操作权限,进而对其他用户操作应用程序的权限进行限制。Through the embodiment of the present invention, the user can be identified by identifying the biometric information of the user, and the operation authority of the virtual button is restricted by other users other than the user corresponding to the preset biometric information, thereby restricting the permissions of other users to operate the application.
结合第一方面,在第一方面的第一种实现方式中,所述终端根据所述第一触发操作检测所述第一用户的生物特征信息与预设生物特征信息是否匹配之后,还包括:With reference to the first aspect, in a first implementation manner of the first aspect, after the detecting, by the terminal, the biometric information of the first user is matched with the preset biometric information, the terminal further includes:
若所述第一用户的生物特征信息与所述预设生物特征信息匹配,则执行所述第一虚拟按键的原始功能。And if the biometric information of the first user matches the preset biometric information, performing an original function of the first virtual button.
通过本发明实施例,终端在检测到针对虚拟操作的生物特征信息与预设生物特征信息匹配的情况下时,可以结合虚拟按键的原始功能来实现对预设应用程序的操作。According to the embodiment of the present invention, when detecting that the biometric information for the virtual operation matches the preset biometric information, the terminal may implement the operation of the preset application in combination with the original function of the virtual button.
结合第一方面,在第一方面的第二种实现方式中,所述若所述第一用户的生物特征信息与所述预设生物特征信息不匹配,则不执行所述第一虚拟按键的 原始功能之后,还包括:With reference to the first aspect, in a second implementation manner of the first aspect, if the biometric information of the first user does not match the preset biometric information, the first virtual button is not executed. After the original function, it also includes:
执行所述第一虚拟按键的替换功能。Performing a replacement function of the first virtual button.
通过本发明实施例,终端在检测到生物特征信息与预设生物特征信息不匹配的情况时,可以结合虚拟按键的替换功能来限制用户的可使用范围。In the embodiment of the present invention, when detecting that the biometric information does not match the preset biometric information, the terminal may limit the user's usable range by combining the virtual button replacement function.
结合第一方面,在第一方面的第三种实现方式中,所述执行所述第一虚拟按键的替换功能之前,还包括:In conjunction with the first aspect, in a third implementation manner of the first aspect, before the performing the replacing function of the first virtual button, the method further includes:
终端创建虚拟按键的原始功能与替换功能之间的第一对应关系,所述虚拟按键包括所述第一虚拟按键;The terminal creates a first correspondence between the original function and the replacement function of the virtual button, and the virtual button includes the first virtual button;
所述终端根据所述第一触发操作检测所述第一用户的生物特征信息与预设生物特征信息是否匹配之后,所述终端执行所述第一虚拟按键的替换功能之前,还包括:After the terminal detects whether the biometric information of the first user matches the preset biometric information according to the first triggering operation, before the terminal performs the replacing function of the first virtual button, the terminal further includes:
若所述第一用户的生物特征信息与所述预设生物特征信息不匹配,所述终端从所述第一对应关系中获取与所述第一虚拟按键的原始功能所对应的替换功能;If the biometric information of the first user does not match the preset biometric information, the terminal acquires a replacement function corresponding to the original function of the first virtual button from the first correspondence relationship;
所述终端执行所述第一虚拟按键的替换功能,包括:The terminal performs the replacement function of the first virtual button, including:
所述终端执行所述第一虚拟按键的原始功能所对应的替换功能。The terminal performs a replacement function corresponding to the original function of the first virtual button.
通过本发明实施例,终端可以结合创建好的虚拟按键的原始功能与替换功能的对应关系来实现虚拟按键的功能。Through the embodiment of the present invention, the terminal can implement the function of the virtual button by combining the correspondence between the original function and the replacement function of the created virtual button.
结合第一方面,或第一方面的第一种至第三种任一种实现方式,在第一方面的第四种实现方式中,虚拟按键操作的方法还包括:With reference to the first aspect, or the first to the third implementation of the first aspect, in a fourth implementation manner of the first aspect, the method for the virtual key operation further includes:
判断所述预设应用程序的运行时长是否超过预设时长;Determining whether the running time of the preset application exceeds a preset duration;
若是,退出所述预设应用程序并显示锁屏界面。If yes, exit the preset application and display the lock screen.
通过本发明实施例,终端可以限制用户操作预设应用程序的时长,避免用户沉迷预设应用程序。Through the embodiment of the present invention, the terminal can limit the duration of the user operating the preset application, and the user is prevented from indulging the preset application.
结合第一方面,在第一方面的第五种实现方式中,所述判断所述预设应用程序的运行时长是否超过预设时长之前,还包括:With reference to the first aspect, in a fifth implementation manner of the first aspect, before the determining whether the running time of the preset application program exceeds a preset duration, the method further includes:
接收第二用户输入的密码;Receiving a password input by the second user;
判断所述第二用户的生物特征信息与所述预设生物特征信息是否匹配;Determining whether the biometric information of the second user matches the preset biometric information;
若所述第二用户的生物特征信息与所述预设生物特征信息匹配,则将所述第二用户输入的密码设置为所述锁屏界面的解锁密码。And if the biometric information of the second user matches the preset biometric information, setting a password input by the second user as an unlock password of the lock screen interface.
通过本发明实施例,可以由预设生物特征信息对应的用户来设置上述锁屏界面的解锁密码,避免其他用户正确地解锁该锁屏界面。According to the embodiment of the present invention, the unlock password of the lock screen interface can be set by the user corresponding to the preset biometric information, so as to prevent other users from correctly unlocking the lock screen interface.
结合第一方面,或第一方面的第一种至第五种任一种实现方式,在第一方面的第六种实现方式中,终端开启预设应用程序之后,还包括:With the first aspect, or the first to fifth implementation manners of the first aspect, in the sixth implementation manner of the first aspect, after the terminal starts the preset application, the method further includes:
接收所述第一用户针对预设退出按钮输入的第二触发操作;Receiving a second triggering operation of the first user for a preset exit button input;
根据所述第二触发操作,输出提示信息,所述提示信息用于提示所述第一用户输入密码;And outputting prompt information, where the prompt information is used to prompt the first user to input a password, according to the second triggering operation;
接收所述第一用户输入的密码; Receiving a password input by the first user;
判断所述第一用户输入的密码与预设密码是否一致;Determining whether the password input by the first user is consistent with the preset password;
若是,退出所述预设应用程序。If yes, exit the preset application.
通过本发明实施例,可以通过设置密码进一步避免预设生物特征信息对应的用户以外的其他用户对退出预设应用程序,进而对其他用户操作预设应用程序的权限进行限制。According to the embodiment of the present invention, other users other than the user corresponding to the preset biometric information can be further prevented from exiting the preset application by setting a password, thereby restricting the permissions of other users to operate the preset application.
结合第一方面,在第一方面的第七种实现方式中,所述接收所述第一用户针对预设退出按钮输入的第二触发操作之前,还包括:In conjunction with the first aspect, in a seventh implementation manner of the first aspect, before the receiving, by the first user, the second triggering operation for the preset exit button input, the method further includes:
接收第二用户输入的密码;Receiving a password input by the second user;
判断所述第二用户的生物特征信息与所述预设生物特征信息是否匹配;Determining whether the biometric information of the second user matches the preset biometric information;
若所述第二用户的生物特征信息与所述预设生物特征信息匹配,则将所述第二用户输入的密码设置为所述预设密码。And if the biometric information of the second user matches the preset biometric information, setting a password input by the second user as the preset password.
通过本发明实施例,可以由预设生物特征信息对应的用户来设置上述预设退出按钮的密码,避免其他用户退出预设应用程序。According to the embodiment of the present invention, the password of the preset exit button may be set by the user corresponding to the preset biometric information, so as to prevent other users from exiting the preset application.
结合第一方面,在第一方面的第八种实现方式中,所述生物特征信息包括指纹信息、虹膜信息、人脸特征信息、声音信息中的其中之一或任意组合。In conjunction with the first aspect, in an eighth implementation manner of the first aspect, the biometric information includes one or any combination of fingerprint information, iris information, facial feature information, and sound information.
结合第一方面,或第一方面的任意一种实现方式,在第一方面的第九种实现方式中,所述第一虚拟按键包括返回键、主页键、最近任务键或者菜单键。In conjunction with the first aspect, or any one of the implementations of the first aspect, in the ninth implementation of the first aspect, the first virtual key comprises a return key, a home key, a recent task key, or a menu key.
第二方面,本发明实施例提供了一种终端,该终端包括用于执行第一方面或第一方面任意一种实现方式中所描述的虚拟按键操作方法的模块或单元。In a second aspect, an embodiment of the present invention provides a terminal, where the terminal includes a module or a unit for performing the virtual key operation method described in the first aspect or any one of the implementation manners of the first aspect.
第三方面,本发明实施例提供了另一种终端,包括处理器和存储器,所述处理器和存储器相互连接,其中,所述存储器用于存储支持终端执行上述方法的应用程序代码,所述处理器被配置用于执行上述第一方面的方法。In a third aspect, an embodiment of the present invention provides another terminal, including a processor and a memory, where the processor and the memory are connected to each other, wherein the memory is used to store application code that supports the terminal to execute the foregoing method, The processor is configured to perform the method of the first aspect above.
第四方面,本发明实施例提供了一种计算机可读存储介质,所述计算机存储介质存储有计算机程序,所述计算机程序包括程序指令,所述程序指令当被处理器执行时使所述处理器执行上述第一方面的方法。In a fourth aspect, an embodiment of the present invention provides a computer readable storage medium, where the computer storage medium stores a computer program, where the computer program includes program instructions, and the program instructions, when executed by a processor, cause the processing The method of the first aspect described above is performed.
第五方面,本发明实施例提供了一种计算机程序,所述计算机程序包括程序指令,所述程序指令当被处理器执行时使所述处理器执行上述第一方面的方法。In a fifth aspect, an embodiment of the present invention provides a computer program, the computer program comprising program instructions, the program instructions, when executed by a processor, causing the processor to perform the method of the first aspect.
附图说明DRAWINGS
为了更清楚地说明本发明实施例技术方案,下面将对实施例描述中所需要使用的附图作简单地介绍。In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings used in the description of the embodiments will be briefly described below.
图1是本发明实施例提供的一种虚拟按键操作方法的流程示意图;1 is a schematic flowchart of a method for operating a virtual key according to an embodiment of the present invention;
图1A是本发明实施例提供的一种游戏应用的操作界面示意图;1A is a schematic diagram of an operation interface of a game application according to an embodiment of the present invention;
图1B是本发明实施例提供的另一种游戏应用的操作界面示意图;FIG. 1B is a schematic diagram of an operation interface of another game application according to an embodiment of the present invention; FIG.
图2是本发明实施例提供的另一种虚拟按键操作方法的流程示意图;2 is a schematic flowchart of another virtual key operation method according to an embodiment of the present invention;
图3是本发明实施例提供的一种终端的结构示意图;3 is a schematic structural diagram of a terminal according to an embodiment of the present invention;
图4是本发明实施例提供的另一种终端的结构示意图。 FIG. 4 is a schematic structural diagram of another terminal according to an embodiment of the present invention.
具体实施方式Detailed ways
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行描述。The technical solutions in the embodiments of the present invention will be described below with reference to the accompanying drawings in the embodiments of the present invention.
参见图1,是本发明实施例提供的一种虚拟按键操作方法的流程示意图,如图1所示,该方法包括但不限于如下步骤S101-S104:FIG. 1 is a schematic flowchart of a method for operating a virtual key according to an embodiment of the present invention. As shown in FIG. 1 , the method includes, but is not limited to, the following steps S101-S104:
S101、终端开启预设应用程序。S101. The terminal starts a preset application.
其中,终端可以包括移动手机、平板电脑、个人数字助理(Personal Digital Assistant,PDA)、移动互联网设备(Mobile Internet Device,MID)、智能穿戴设备(如智能手表、智能手环)等各种用户可以使用的终端设备,本发明实施例不作限定。The terminal may include a mobile phone, a tablet computer, a personal digital assistant (PDA), a mobile internet device (MID), a smart wearable device (such as a smart watch, a smart bracelet), and the like. The terminal device used is not limited in the embodiment of the present invention.
在一些可能实现方式中,终端可以安装多个应用程序,例如:视频应用程序,交际应用程序,游戏应用程序,拍照应用程序等。In some possible implementations, the terminal can install multiple applications, such as a video application, a communication application, a game application, a photo application, and the like.
本发明实施例中,预设应用程序可以是由终端系统默认设置的,也可以是由终端用户自主设置的,本发明实施例不作具体限定。终端开启预设应用程序之后,显示预设应用程序的操作界面。例如,该预设应用程序为游戏应用,则终端可以全屏显示该游戏应用的操作界面,以供用户体验该游戏。In the embodiment of the present invention, the preset application program may be set by default by the terminal system, or may be set by the terminal user, which is not specifically limited in the embodiment of the present invention. After the terminal opens the preset application, the operation interface of the preset application is displayed. For example, if the preset application is a game application, the terminal can display the operation interface of the game application in full screen for the user to experience the game.
S102、终端接收用户在所述预设应用程序中针对第一虚拟按键的第一触发操作。S102. The terminal receives a first triggering operation of the user for the first virtual button in the preset application.
终端显示预设应用程序的操作界面,用户可以通过该操作界面针对第一虚拟按键输入第一触发操作。本发明实施例中,终端具有触控屏,用户针对第一虚拟按键的第一触发操作可在该触控屏上完成。终端的虚拟按键包括但不限于:返回键、主页键、最近任务键和菜单键,因此,第一虚拟按键可以是返回键、主页键、最近任务键或者菜单键。The terminal displays an operation interface of the preset application, and the user can input a first trigger operation for the first virtual button through the operation interface. In the embodiment of the present invention, the terminal has a touch screen, and the first triggering operation of the user for the first virtual button can be completed on the touch screen. The virtual keys of the terminal include, but are not limited to, a return key, a home key, a recent task key, and a menu key. Therefore, the first virtual key may be a return key, a home key, a recent task key, or a menu key.
例如,参见图1A,是本发明实施例提供的一种游戏应用的操作界面示意图。如图1A所示,终端的显示界面10上显示的是连连看应用的操作界面。在一种实现方式中,虚拟按键在预设应用程序的操作界面中是一直显示的,用户可以直接针对操作界面中显示的某一虚拟按键触发该第一触发操作。在另一种实现方式中,虚拟按键是隐藏在该预设应用程序的操作界面中的,用户可以点击该操作界面来触发终端显示虚拟按键,之后用户针对操作界面中显示的某一虚拟按键触发该第一触发操作。例如,参见图1B,是本发明实施例提供的另一种游戏应用的操作界面示意图。如图1B所示,终端的显示界面10上显示的是连连看应用的操作界面,在该操作界面的界面底部显示有3个虚拟按键,分别是返回键11、主页键12和最近任务键13。此外,虚拟按键的显示位置还可以是终端的显示界面10的其他位置,例如,界面左侧、界面右侧或界面顶部。For example, referring to FIG. 1A, it is a schematic diagram of an operation interface of a game application according to an embodiment of the present invention. As shown in FIG. 1A, the display interface of the terminal displays an operation interface of the connected application. In an implementation manner, the virtual button is always displayed in the operation interface of the preset application, and the user can directly trigger the first trigger operation on a virtual button displayed in the operation interface. In another implementation manner, the virtual button is hidden in the operation interface of the preset application, and the user can click the operation interface to trigger the terminal to display the virtual button, and then the user triggers on a virtual button displayed in the operation interface. The first triggering operation. For example, referring to FIG. 1B, it is a schematic diagram of an operation interface of another game application according to an embodiment of the present invention. As shown in FIG. 1B, the display interface 10 of the terminal displays an operation interface of the Lianliankan application, and three virtual buttons are displayed at the bottom of the interface of the operation interface, namely a return key 11, a home key 12 and a recent task key 13 respectively. . In addition, the display position of the virtual button may also be other positions of the display interface 10 of the terminal, for example, the left side of the interface, the right side of the interface, or the top of the interface.
本发明实施例中,用户针对第一虚拟按键的第一触发操作包括:点击操作、触摸操作、长按操作中的其中之一或任意组合,本发明不作具体限定。 In the embodiment of the present invention, the first triggering operation of the first virtual button by the user includes one of a click operation, a touch operation, and a long press operation, and the combination is not specifically limited.
S103、终端根据所述第一触发操作检测所述第一用户的生物特征信息与预设生物特征信息是否匹配,若否,执行步骤S104。S103: The terminal detects, according to the first triggering operation, whether the biometric information of the first user matches the preset biometric information, and if no, step S104 is performed.
终端在接收到用户针对第一虚拟按键的第一触发操作后,可以采集该用户的生物特征信息,将采集到的生物特征信息与预先存储的生物特征信息进行匹配。其中,生物特征信息包括指纹信息、虹膜信息、人脸特征信息、声音信息中的其中之一或任意组合。例如,若生物特征信息为指纹信息,则终端在接收到用户针对第一虚拟按键的第一触发操作后,可以通过指纹采集器获取该用户的指纹信息,将获取到的指纹信息与预先存储的指纹信息进行匹配。或者,若生物特征信息为虹膜信息,则终端在接收到用户针对第一虚拟按键的第一触发操作后,通过摄像头获取该用户的虹膜信息,将获取到的虹膜信息与预先存储的虹膜信息进行匹配。若生物特征信息为人脸特征信息,则终端在接收到用户针对第一虚拟按键的第一触发操作后,通过摄像头获取该用户的人脸图像信息,将获取到的人脸图像信息与预先存储的人脸特征信息进行匹配。若生物特征信息为声音信息,则终端在接收到用户针对第一虚拟按键的第一触发操作后,通过麦克风获取该用户的声音信息,将获取到的声音信息与预先存储的声音信息进行匹配。After receiving the first triggering operation of the user for the first virtual button, the terminal may collect the biometric information of the user, and match the collected biometric information with the pre-stored biometric information. The biometric information includes one or any combination of fingerprint information, iris information, facial feature information, and sound information. For example, if the biometric information is the fingerprint information, the terminal may obtain the fingerprint information of the user through the fingerprint collector after receiving the first triggering operation of the user for the first virtual button, and the acquired fingerprint information and the pre-stored fingerprint information. Fingerprint information is matched. Alternatively, if the biometric information is the iris information, after receiving the first triggering operation of the user for the first virtual button, the terminal acquires the iris information of the user through the camera, and performs the acquired iris information and the pre-stored iris information. match. If the biometric information is the facial feature information, the terminal acquires the facial image information of the user through the camera after receiving the first triggering operation of the first virtual button, and the acquired facial image information is pre-stored. The face feature information is matched. If the biometric information is the sound information, the terminal acquires the user's voice information through the microphone after receiving the first triggering operation of the user for the first virtual button, and matches the acquired voice information with the pre-stored voice information.
具体的,预设的生物特征信息可以是终端用户预先录入的。例如,终端用户为家长,预设生物特征信息为该家长的生物特征信息。假设输入上述第一触发操作的用户为小孩,则终端通过检测该小孩的生物特征信息就能够识别出该小孩与预设的生物特征信息对应的用户不是同一人。Specifically, the preset biometric information may be pre-recorded by the end user. For example, the end user is a parent, and the preset biometric information is the biometric information of the parent. It is assumed that the user who inputs the first triggering operation is a child, and the terminal can recognize that the user corresponding to the preset biometric information is not the same person by detecting the biometric information of the child.
本发明实施例中,检测所述第一用户的生物特征信息与预设生物特征信息是否匹配这一操作,可以由同一终端实现,也可以由另一终端实现,本发明不作具体限定。In the embodiment of the present invention, the operation of detecting whether the biometric information of the first user and the preset biometric information are matched may be implemented by the same terminal or by another terminal, which is not specifically limited by the present invention.
S104、终端不执行所述第一虚拟按键的原始功能。S104. The terminal does not perform an original function of the first virtual button.
本发明实施例中,虚拟按键的原始功能具体表征为普遍情况下,终端赋予虚拟按键的功能。举例来说,返回键的原始功能为返回上一级菜单,主页键的原始功能为显示主菜单页面。终端不执行所述第一虚拟按键的原始功能也即是终端限制用户针对该虚拟按键的操作权限。In the embodiment of the present invention, the original function of the virtual button is specifically characterized by the function of the virtual button given by the terminal. For example, the original function of the return key is to return to the previous menu, and the original function of the home button is to display the main menu page. The terminal does not perform the original function of the first virtual button, that is, the terminal limits the user's operation authority for the virtual button.
举例来说,预设应用程序为游戏应用,终端当前显示该游戏应用的操作界面,小孩正在玩该游戏应用,当小孩想要点击该操作界面下方的返回键退出该游戏应用时,终端获取该小孩的指纹信息,检测到该小孩的指纹信息与预设的指纹信息不匹配,则终端不退出该游戏应用,继续显示该游戏应用的操作界面,从而避免该小孩去玩其他应用程序导致终端发生流量超标、被扣费的情况。For example, the preset application is a game application, the terminal currently displays an operation interface of the game application, the child is playing the game application, and when the child wants to click the return button below the operation interface to exit the game application, the terminal acquires the game application. If the fingerprint information of the child does not match the preset fingerprint information, the terminal does not exit the game application, and continues to display the operation interface of the game application, thereby preventing the child from playing other applications and causing the terminal to occur. The situation where the traffic exceeds the standard and the fee is deducted.
可选的,若终端检测到所述第一用户的生物特征信息与预设生物特征信息匹配,则终端执行所述第一虚拟按键的原始功能。通过本发明实施例,终端在检测到针对虚拟操作的生物特征信息与预设生物特征信息匹配的情况下时,可以结合虚拟按键的原始功能来实现对预设应用程序的操作。Optionally, if the terminal detects that the biometric information of the first user matches the preset biometric information, the terminal performs an original function of the first virtual button. According to the embodiment of the present invention, when detecting that the biometric information for the virtual operation matches the preset biometric information, the terminal may implement the operation of the preset application in combination with the original function of the virtual button.
可选的,终端判断所述预设应用程序的运行时长是否超过预设时长。若是, 终端退出所述预设应用程序并显示锁屏界面。其中,该预设时长可以是终端系统默认设定的,也可以是用户自主设置的。Optionally, the terminal determines whether the running duration of the preset application exceeds a preset duration. If so, The terminal exits the preset application and displays a lock screen interface. The preset duration may be set by default in the terminal system, or may be set by the user.
例如,预设时长为13分钟,如果终端检测到预设应用程序的运行时长大于或等于13分钟,则终端退出预设应用程序并显示锁屏界面。通过本发明实施例,终端可以限制用户操作预设应用程序的时长,避免用户沉迷预设应用程序。For example, the preset duration is 13 minutes. If the terminal detects that the running time of the preset application is greater than or equal to 13 minutes, the terminal exits the preset application and displays the lock screen interface. Through the embodiment of the present invention, the terminal can limit the duration of the user operating the preset application, and the user is prevented from indulging the preset application.
可选的,上述锁屏界面的解锁密码可以是终端用户本人设置的,例如,终端用户本人为大人,由大人来设置解锁密码可以避免小孩正确解锁该锁屏界面。具体的,终端判断所述预设应用程序的运行时长是否超过预设时长之前,终端可以接收第二用户输入的密码。终端判断所述第二用户的生物特征信息与所述预设生物特征信息是否匹配。若所述第二用户的生物特征信息与所述预设生物特征信息匹配,则将所述第二用户输入的密码设置为所述锁屏界面的解锁密码。通过本发明实施例,可以由预设生物特征信息对应的用户来设置上述锁屏界面的解锁密码,避免其他用户正确地解锁该锁屏界面。Optionally, the unlocking password of the lock screen interface may be set by the terminal user. For example, the terminal user is an adult. The setting of the unlock password by the adult may prevent the child from correctly unlocking the lock screen. Specifically, before the terminal determines whether the running time of the preset application exceeds a preset duration, the terminal may receive the password input by the second user. The terminal determines whether the biometric information of the second user matches the preset biometric information. And if the biometric information of the second user matches the preset biometric information, setting a password input by the second user as an unlock password of the lock screen interface. According to the embodiment of the present invention, the unlock password of the lock screen interface can be set by the user corresponding to the preset biometric information, so as to prevent other users from correctly unlocking the lock screen interface.
可选的,终端开启预设应用程序之后,终端可以接收所述第一用户针对预设退出按钮输入的第二触发操作。根据所述第二触发操作,输出提示信息,所述提示信息用于提示所述第一用户输入密码。接收所述第一用户输入的密码。判断所述第一用户输入的密码与预设密码是否一致。若是,退出所述预设应用程序。Optionally, after the terminal starts the preset application, the terminal may receive the second triggering operation of the first user for the preset exit button input. And prompting information according to the second triggering operation, where the prompting information is used to prompt the first user to input a password. Receiving a password input by the first user. Determining whether the password input by the first user is consistent with the preset password. If yes, exit the preset application.
本发明实施例中,预设退出按钮可以是由终端系统默认设置的,也可以是由终端用户自主设置的,本发明实施例不作具体限定。该预设退出按钮的显示位置可以是终端显示的预设应用程序的操作界面下方,界面左侧、界面右侧或界面顶部。在一种实现方式中,预设退出按钮在该预设应用程序的操作界面中是一直显示的,用户可以直接针对操作界面中显示的预设退出按钮触发该第二触发操作。在另一种实现方式中,预设退出按钮是隐藏在该预设应用程序的操作界面中的,用户可以点击该操作界面来触发终端显示预设退出按钮,之后用户针对操作界面中显示的预设退出按钮触发该第二触发操作。In the embodiment of the present invention, the preset exit button may be set by default by the terminal system, or may be set by the terminal user independently, which is not specifically limited in the embodiment of the present invention. The display position of the preset exit button may be below the operation interface of the preset application displayed by the terminal, on the left side of the interface, on the right side of the interface or at the top of the interface. In an implementation manner, the preset exit button is always displayed in the operation interface of the preset application, and the user may directly trigger the second trigger operation for the preset exit button displayed in the operation interface. In another implementation manner, the preset exit button is hidden in the operation interface of the preset application, and the user can click the operation interface to trigger the terminal to display the preset exit button, and then the user displays the preset displayed in the operation interface. Let the exit button trigger the second trigger operation.
第一用户针对预设退出按钮输入第二触发操作,该第二触发操作可以包括:点击操作、触摸操作、长按操作中的其中之一或任意组合,本发明不作具体限定。在第一用户针对预设退出按钮输入的第二触发操作之后,在预设应用程序的操作页面弹出提示信息框,该提示信息框中信息内容包括“请输入密码”或“请确定密码”等。用户在该信息框中输入密码。The first user inputs a second triggering operation for the preset exit button, and the second triggering operation may include one of a click operation, a touch operation, and a long press operation, or any combination thereof, which is not specifically limited by the present invention. After the second triggering operation of the first user for the preset exit button, a prompt message box is popped up on the operation page of the preset application, and the information content in the prompt information box includes “Please enter a password” or “Please confirm the password”. . The user enters a password in the message box.
本发明实施例中,预设密码由用户根据自身喜好、使用习惯或者系统强制性的设定规则进行设置的,该预设密码可以是字母、符号、数字中的一种或任意组合。例如,系统强制性的设定规则包括但不限于:设置的密码必须由字母和数字组成,且第一个密码必须为字母,与此同时,该字母必须为大写。In the embodiment of the present invention, the preset password is set by the user according to his or her preference, usage habits, or mandatory setting rules of the system, and the preset password may be one of a letter, a symbol, a number, or any combination. For example, mandatory setting rules for the system include, but are not limited to, the set password must consist of letters and numbers, and the first password must be a letter, and at the same time, the letter must be uppercase.
举例来说,预设应用程序为游戏应用,终端当前显示该游戏应用的操作界面,小孩正在玩该游戏应用,当小孩想要点击该操作界面下方的预设退出按钮 退出该游戏应用时,终端在游戏应用的操作页面弹出提示信息框,该提示信息框要求小孩输入密码,只有输入的密码与预设密码一致的情况下时,终端才会退出游戏应用。For example, the preset application is a game application, the terminal currently displays an operation interface of the game application, the child is playing the game application, and the child wants to click the preset exit button below the operation interface. When exiting the game application, the terminal pops up a prompt message box on the operation page of the game application, and the prompt information box asks the child to input a password, and the terminal will exit the game application only if the input password is consistent with the preset password.
通过本发明实施例,可以通过设置密码进一步避免预设生物特征信息对应的用户以外的其他用户对退出预设应用程序,进而对其他用户操作预设应用程序的权限进行限制。According to the embodiment of the present invention, other users other than the user corresponding to the preset biometric information can be further prevented from exiting the preset application by setting a password, thereby restricting the permissions of other users to operate the preset application.
可选的,上述预设密码可以是终端用户本人设置的,例如,终端用户本人为大人,由大人来设置解锁密码可以避免小孩正确退出预设应用程序。具体的,终端接收所述第一用户针对预设退出按钮输入的第二触发操作之前,终端可以接收第二用户输入的密码。终端判断所述第二用户的生物特征信息与所述预设生物特征信息是否匹配。若所述第二用户的生物特征信息与所述预设生物特征信息匹配,则将所述第二用户输入的密码设置为所述预设密码。通过本发明实施例,可以由预设生物特征信息对应的用户来设置上述预设退出按钮的密码,避免其他用户退出预设应用程序。Optionally, the preset password may be set by the terminal user himself. For example, the terminal user is an adult, and setting the unlock password by the adult may prevent the child from correctly exiting the preset application. Specifically, before the terminal receives the second triggering operation of the first user for the preset exit button input, the terminal may receive the password input by the second user. The terminal determines whether the biometric information of the second user matches the preset biometric information. And if the biometric information of the second user matches the preset biometric information, setting a password input by the second user as the preset password. According to the embodiment of the present invention, the password of the preset exit button may be set by the user corresponding to the preset biometric information, so as to prevent other users from exiting the preset application.
通过实施图1所示的虚拟按键操作方法,终端在接收到用户针对预设应用程序中的第一虚拟按键的触发操作后,检测该用户的生物特征信息与预设的生物特征信息是否匹配,从而识别出该用户是否具备操作虚拟按键的权限,若检测到该用户的生物特征信息与预设的生物特征信息不匹配,则终端不执行该第一虚拟按键的原始功能,以此达到限制预设的生物特征信息对应的用户以外的其他用户操作虚拟按键的权限。例如,避免其他用户通过返回键退出预设应用程序,开启其它应用程序,从而避免终端发生流量超标、被扣费的情况。After the virtual button operation method shown in FIG. 1 is implemented, after receiving the trigger operation of the first virtual button in the preset application, the terminal detects whether the biometric information of the user matches the preset biometric information. Therefore, it is recognized whether the user has the right to operate the virtual button. If it is detected that the biometric information of the user does not match the preset biometric information, the terminal does not perform the original function of the first virtual button, thereby reaching the limit pre The user's authority to operate the virtual button other than the user corresponding to the biometric information is set. For example, to prevent other users from exiting the default application through the return key, and opening other applications, thereby avoiding the situation where the terminal has exceeded the traffic and is charged.
参见图2,是本发明实施例提供的另一种虚拟按键操作方法的流程示意图,如图2所示,该方法包括但不限于如下步骤S201-S204:FIG. 2 is a schematic flowchart of another virtual key operation method according to an embodiment of the present invention. As shown in FIG. 2, the method includes, but is not limited to, the following steps S201-S204:
S201、终端开启预设应用程序。S201. The terminal starts a preset application.
具体的,步骤S201的相关实现可以参考图1所示实施例中的步骤S101的相关描述,此处不再赘述。For details, refer to the related description of step S101 in the embodiment shown in FIG. 1 for related implementation of step S201, and details are not described herein again.
S202、终端接收用户在所述预设应用程序中针对第一虚拟按键的第一触发操作。S202. The terminal receives a first triggering operation of the user for the first virtual button in the preset application.
具体的,步骤S202的相关实现可以参考图1所示实施例中的步骤S102的相关描述,此处不再赘述。For details, refer to the related description of step S102 in the embodiment shown in FIG. 1 for related implementation of step S202, and details are not described herein again.
S203、终端根据所述第一触发操作检测所述第一用户的生物特征信息与预设生物特征信息是否匹配,若否,执行步骤S204。S203. The terminal detects, according to the first triggering operation, whether the biometric information of the first user matches the preset biometric information. If not, step S204 is performed.
具体的,步骤S203的相关实现可以参考图1所示实施例中的步骤S103的相关描述,此处不再赘述。For details, refer to the related description of step S103 in the embodiment shown in FIG. 1 for related implementation of step S203, and details are not described herein again.
S204、终端不执行所述第一虚拟按键的原始功能,执行所述第一虚拟按键的替换功能。S204. The terminal does not perform an original function of the first virtual button, and performs a replacement function of the first virtual button.
本发明实施例中,虚拟按键的原始功能具体表征为普遍情况下,终端赋予虚拟按键的功能。举例来说,返回键的原始功能为返回上一级菜单,主菜单键 的原始功能为显示主菜单页面。In the embodiment of the present invention, the original function of the virtual button is specifically characterized by the function of the virtual button given by the terminal. For example, the original function of the return key is to return to the previous menu, the main menu key The original function is to display the main menu page.
本发明实施例中,虚拟按键的替换功能是由用户根据自身喜好、使用习惯或者预设应用程序的特征进行设置的。举例来说,返回键的替换功能可以为语音播报功能,用于播报用户使用预设应用程序的时间。或者,主菜单键的替换功能可以为调整应用程序的显示屏幕面积。或者,预设应用程序为游戏应用,返回键的替换功能可以为暂停键。In the embodiment of the present invention, the replacement function of the virtual button is set by the user according to his or her preference, usage habits, or characteristics of the preset application. For example, the replacement function of the return key can be a voice announcement function for broadcasting the time when the user uses the preset application. Alternatively, the replacement function of the main menu key can be to adjust the display screen area of the application. Alternatively, the preset application is a game application, and the replacement function of the return key may be a pause button.
举例来说,预设应用程序为游戏应用,终端当前显示该游戏应用的操作界面,小孩正在玩该游戏应用,当小孩想要点击该操作界面下方的返回键退出该游戏应用时,终端获取该小孩的指纹信息,检测到该小孩的指纹信息与预设的指纹信息不匹配,则终端不退出该游戏应用,继续显示该游戏应用的操作界面,并且执行返回键的替换功能语音播报功能,语音播报的具体内容为“您当前进行游戏的时间为8分钟,请闭眼休息30秒,避免用眼疲劳。”For example, the preset application is a game application, the terminal currently displays an operation interface of the game application, the child is playing the game application, and when the child wants to click the return button below the operation interface to exit the game application, the terminal acquires the game application. If the fingerprint information of the child does not match the preset fingerprint information, the terminal does not exit the game application, continues to display the operation interface of the game application, and performs a replacement function voice broadcast function of the return key, voice The specific content of the broadcast is "You are currently playing the game for 8 minutes, please close your eyes and rest for 30 seconds, avoid eye fatigue."
可选的,终端在开启所述预设应用程序之前,可以创建虚拟按键的原始功能与替换功能之间的第一对应关系。Optionally, the terminal may create a first correspondence between the original function and the replacement function of the virtual button before the preset application is started.
其中,该第一对应关系可以是终端出厂时系统默认设置的,也可以是由终端用户自主设置的,本发明实施例不作具体限定。The first correspondence may be set by default in the system when the terminal is shipped from the factory, or may be set by the terminal user, which is not specifically limited in the embodiment of the present invention.
例如,终端创建的第一对应关系包括:返回键的原始功能“返回上一级菜单”对应替换功能“语音播报功能”,主页键的原始功能“显示主菜单页面”对应替换功能“应用程序显示界面100%显示”。该第一对应关系的格式和内容可以例如但不限于下表1所示。For example, the first correspondence created by the terminal includes: the original function of the return key "return to the previous menu" corresponding to the replacement function "voice broadcast function", the original function of the home button "display main menu page" corresponding to the replacement function "application display The interface is 100% displayed." The format and content of the first correspondence may be, for example but not limited to, Table 1 below.
表1Table 1
Figure PCTCN2017104245-appb-000001
Figure PCTCN2017104245-appb-000001
需要说明的是,表1所示第一对应关系只是作为一种示例,并非限定第一对应关系的格式和内容。It should be noted that the first correspondence relationship shown in Table 1 is only an example, and does not limit the format and content of the first correspondence relationship.
当终端检测到触发第一触发操作的用户的生物特征信息与预设的生物特征信息不匹配时,终端可以根据上述第一对应关系查找第一虚拟按键的原始功能对应的替换功能。例如,第一虚拟按键为返回键,从第一对应关系中获取到与返回键的原始功能对应的替换功能为语音播报。通过本发明实施例,终端可以结合创建好的虚拟按键的原始功能与替换功能的对应关系来实现虚拟按键的功能。When the terminal detects that the biometric information of the user that triggers the first triggering operation does not match the preset biometric information, the terminal may search for the replacement function corresponding to the original function of the first virtual button according to the first correspondence. For example, the first virtual button is a return key, and the replacement function corresponding to the original function of the return key is obtained from the first correspondence relationship as a voice broadcast. Through the embodiment of the present invention, the terminal can implement the function of the virtual button by combining the correspondence between the original function and the replacement function of the created virtual button.
通过实施图2所示虚拟按键操作方法,终端在接收到用户针对预设应用程序中的第一虚拟按键的触发操作后,若检测到该用户的生物特征信息与预设的生物特征信息不匹配,则终端不执行该第一虚拟按键的原始功能,而是执行第一虚拟按键的替换功能,以此达到限制预设的生物特征信息对应的用户以外的其他用户操作虚拟按键的权限。例如,避免其他用户通过返回键退出预设应用 程序,开启其它应用程序,从而避免终端发生流量超标、被扣费的情况。After the virtual button operation method shown in FIG. 2 is implemented, after receiving the trigger operation of the first virtual button in the preset application, the terminal detects that the biometric information of the user does not match the preset biometric information. The terminal does not perform the original function of the first virtual button, but performs the replacement function of the first virtual button, thereby achieving the permission of the user other than the user corresponding to the preset biometric information to operate the virtual button. For example, avoid other users exiting the default app via the back button Program, open other applications, so as to avoid the situation where the terminal has exceeded the traffic and is charged.
参见图3,是本发明实施例提供的一种终端的结构示意图。如图3所示,终端30可以包括:开启单元310、接收单元320、检测单元330、处理单元340,其中,FIG. 3 is a schematic structural diagram of a terminal according to an embodiment of the present invention. As shown in FIG. 3, the terminal 30 may include: an opening unit 310, a receiving unit 320, a detecting unit 330, and a processing unit 340, where
所述开启单元310,用于开启预设应用程序;The opening unit 310 is configured to start a preset application;
所述接收单元320,用于接收用户在所述开启单元310开启的所述预设应用程序中针对第一虚拟按键的第一触发操作;The receiving unit 320 is configured to receive a first triggering operation for the first virtual button in the preset application opened by the user in the opening unit 310;
所述检测单元330,用于根据所述接收单元320接收到的所述第一触发操作检测所述第一用户的生物特征信息与预设生物特征信息是否匹配;The detecting unit 330 is configured to detect, according to the first triggering operation received by the receiving unit 320, whether the biometric information of the first user matches the preset biometric information;
处理单元340,用于若所述检测单元330检测到所述第一用户的生物特征信息与所述预设生物特征信息不匹配,则不执行所述第一虚拟按键的原始功能。The processing unit 340 is configured to: if the detecting unit 330 detects that the biometric information of the first user does not match the preset biometric information, perform the original function of the first virtual button.
可选的,处理单元340,还用于在所述检测单元330根据所述第一触发操作检测所述第一用户的生物特征信息与预设生物特征信息是否匹配之后,若所述第一用户的生物特征信息与所述预设生物特征信息匹配,则执行所述第一虚拟按键的原始功能。Optionally, the processing unit 340 is further configured to: after the detecting unit 330 detects, according to the first triggering operation, whether the biometric information of the first user matches the preset biometric information, if the first user The biometric information matches the preset biometric information, and the original function of the first virtual button is executed.
可选的,处理单元340,还用于若所述第一用户的生物特征信息与所述预设生物特征信息不匹配,则不执行所述第一虚拟按键的原始功能之后,执行所述第一虚拟按键的替换功能。Optionally, the processing unit 340 is further configured to: after the biometric information of the first user does not match the preset biometric information, perform the first step after the original function of the first virtual button is not executed. A virtual button replacement function.
可选的,所述终端30还包括创建单元和获取单元;Optionally, the terminal 30 further includes a creating unit and an acquiring unit.
所述创建单元,用于在处理单元340执行所述第一虚拟按键的替换功能之前,创建虚拟按键的原始功能与替换功能之间的第一对应关系,所述虚拟按键包括所述第一虚拟按键;The creating unit is configured to create a first correspondence between an original function and a replacement function of the virtual button before the processing unit 340 performs the replacing function of the first virtual button, where the virtual button includes the first virtual button;
所述获取单元,用于在所述检测单元330根据所述第一触发操作检测所述第一用户的生物特征信息与预设生物特征信息是否匹配之后,在处理单元340执行所述第一虚拟按键的替换功能之前,若所述第一用户的生物特征信息与所述预设生物特征信息不匹配,从所述第一对应关系中获取与所述第一虚拟按键的原始功能所对应的替换功能;The acquiring unit is configured to execute the first virtuality in the processing unit 340 after the detecting unit 330 detects whether the biometric information of the first user matches the preset biometric information according to the first triggering operation. Before the replacement function of the button, if the biometric information of the first user does not match the preset biometric information, obtaining a replacement corresponding to the original function of the first virtual button from the first correspondence Features;
所述处理单元340,用于执行所述第一虚拟按键的替换功能,具体为:执行所述第一虚拟按键的原始功能所对应的替换功能。The processing unit 340 is configured to perform the replacement function of the first virtual button, specifically: performing a replacement function corresponding to the original function of the first virtual button.
可选的,所述生物特征信息包括指纹信息、虹膜信息、人脸特征信息、声音信息中的其中之一或任意组合。Optionally, the biometric information includes one or any combination of fingerprint information, iris information, facial feature information, and sound information.
可选的,所述终端30还包括第一判断单元、第一退出单元和显示单元;Optionally, the terminal 30 further includes a first determining unit, a first exiting unit, and a display unit;
所述第一判断单元,用于判断所述预设应用程序的运行时长是否超过预设时长;The first determining unit is configured to determine whether a running duration of the preset application program exceeds a preset duration;
所述第一退出单元,用于所述第一判断单元判断得出所述预设应用程序的运行时长超过预设时长,退出所述预设应用程序;The first exiting unit is configured to determine, by the first determining unit, that the running time of the preset application program exceeds a preset duration, and exits the preset application program;
所述显示单元,用于显示锁屏界面。The display unit is configured to display a lock screen interface.
可选的,所述终端30还包括第二接收单元、第二判断单元和第一设置单 元;Optionally, the terminal 30 further includes a second receiving unit, a second determining unit, and a first setting list. yuan;
所述第二接收单元,用于在所述第一判断单元判断所述预设应用程序的运行时长是否超过预设时长之前,接收第二用户输入的密码;The second receiving unit is configured to receive a password input by the second user before the first determining unit determines whether the running duration of the preset application program exceeds a preset duration;
所述第二判断单元,用于判断所述第二用户的生物特征信息与所述预设生物特征信息是否匹配;The second determining unit is configured to determine whether the biometric information of the second user matches the preset biometric information;
所述第一设置单元,用于若所述第二用户的生物特征信息与所述预设生物特征信息匹配,则将所述第二用户输入的密码设置为所述锁屏界面的解锁密码。The first setting unit is configured to set a password input by the second user as an unlock password of the lock screen interface, if the biometric information of the second user matches the preset biometric information.
可选的,所述终端30还包括第三接收单元、输出单元、第三判断单元和第二退出单元;Optionally, the terminal 30 further includes a third receiving unit, an output unit, a third determining unit, and a second exiting unit;
所述第三接收单元,用于在开启单元310开启预设应用程序之后,接收所述第一用户针对预设退出按钮输入的第二触发操作;The third receiving unit is configured to receive, after the opening unit 310 starts the preset application, the second triggering operation of the first user for the preset exit button input;
所述输出单元,用于根据所述第二触发操作,输出提示信息,所述提示信息用于提示所述第一用户输入密码;The output unit is configured to output prompt information according to the second triggering operation, where the prompt information is used to prompt the first user to input a password;
所述第三接收单元,还用于接收所述第一用户输入的密码;The third receiving unit is further configured to receive a password input by the first user;
所述第三判断单元,用于判断所述第一用户输入的密码与预设密码是否一致;The third determining unit is configured to determine whether the password input by the first user is consistent with the preset password;
所述第二退出单元,用于第三判断单元判断得出所述第一用户输入的密码与预设密码是一致的,退出所述预设应用程序。The second exit unit is configured to determine, by the third determining unit, that the password input by the first user is consistent with the preset password, and exit the preset application.
可选的,所述终端30还包括第四接收单元、第四判断单元和第二设置单元,Optionally, the terminal 30 further includes a fourth receiving unit, a fourth determining unit, and a second setting unit.
第四接收单元,用于在第三接收单元接收所述第一用户针对预设退出按钮输入的第二触发操作之前,接收第二用户输入的密码;a fourth receiving unit, configured to receive a password input by the second user before the third receiving unit receives the second triggering operation of the first user for the preset exit button input;
所述第四判断单元,用于判断所述第二用户的生物特征信息与所述预设生物特征信息是否匹配;The fourth determining unit is configured to determine whether the biometric information of the second user matches the preset biometric information;
所述第二设置单元,用于若所述第二用户的生物特征信息与所述预设生物特征信息匹配,则将所述第二用户输入的密码设置为所述预设密码。The second setting unit is configured to: if the biometric information of the second user matches the preset biometric information, set the password input by the second user as the preset password.
可以理解的是,本实施例的终端30的各功能单元的功能可根据上述图1至图2所示方法实施例中的方法具体实现,其具体实现过程可以参照上述方法实施例的相关描述,此处不再赘述。It can be understood that the functions of the functional units of the terminal 30 of the present embodiment may be specifically implemented according to the method in the foregoing method embodiment shown in FIG. 1 to FIG. 2, and the specific implementation process may refer to the related description of the foregoing method embodiments. I will not repeat them here.
请参见图4,是本发明实施例提供的另一种终端的结构示意图。如图4所示的终端40包括:射频(Radio Frequency,RF)电路401、存储有一个或多个计算机程序的存储器402、输入装置403、输出装置404、传感器403、音频电路404、无线保真(Wireless Fidelity,WiFi)模块407、包括有一个或多个处理核心的处理器408、以及电源409等部件。本领域技术人员可以理解,图4中示出的终端结构并不构成对终端的限定,可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。其中:FIG. 4 is a schematic structural diagram of another terminal according to an embodiment of the present invention. The terminal 40 shown in FIG. 4 includes: a radio frequency (RF) circuit 401, a memory 402 storing one or more computer programs, an input device 403, an output device 404, a sensor 403, an audio circuit 404, and wireless fidelity. A (Wireless Fidelity, WiFi) module 407, a processor 408 including one or more processing cores, and a power supply 409 and the like. It will be understood by those skilled in the art that the terminal structure shown in FIG. 4 does not constitute a limitation to the terminal, and may include more or less components than those illustrated, or a combination of certain components, or different component arrangements. among them:
RF电路401可用于收发信息或通话过程中,信号的接收和发送,特别地,将基站的下行信息接收后,交由一个或多个处理器408处理;另外,将涉及上 行的数据发送给基站。通常,RF电路401包括但不限于天线、至少一个放大器、调谐器、一个或多个振荡器、用户身份模块(SIM)卡、收发信机、耦合器、低噪声放大器(LowNoiseAmplifier,LNA)、双工器等。此外,RF电路401还可以通过无线通信与网络和其他终端设备进行通信。所述无线通信可以使用任一通信标准或协议,包括但不限于全球移动通讯系统(Global System of Mobile communication,GSM)、通用分组无线服务(General Packet Radio Service,GPRS)、码分多址(Code Division MultipleAccess,CDMA)、宽带码分多址(Wideband Code Division Multiple Access,WCDMA)、长期演进(Long Term Evolution,LTE)、电子邮件、短消息服务(Short Messaging Service,SMS)等。The RF circuit 401 can be used for transmitting and receiving information or during a call, receiving and transmitting signals, and in particular, receiving downlink information of the base station and then processing it by one or more processors 408; The data of the line is sent to the base station. Generally, RF circuit 401 includes, but is not limited to, an antenna, at least one amplifier, a tuner, one or more oscillators, a Subscriber Identity Module (SIM) card, a transceiver, a coupler, a Low Noise Amplifier (LNA), a dual Tools, etc. In addition, the RF circuit 401 can also communicate with the network and other terminal devices through wireless communication. The wireless communication may use any communication standard or protocol, including but not limited to Global System of Mobile communication (GSM), General Packet Radio Service (GPRS), Code Division Multiple Access (Code). Division Multiple Access (CDMA), Wideband Code Division Multiple Access (WCDMA), Long Term Evolution (LTE), E-mail, Short Messaging Service (SMS), etc.
存储器402可用于存储计算机程序以及模块,处理器408通过运行存储在存储器402的计算机程序以及模块,从而执行各种功能应用以及数据处理。存储器402可主要包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需的应用程序(比如声音播放功能、图像播放功能等)等;存储数据区可存储根据终端40的使用所创建的数据(比如拍摄的照片、音频数据、视频数据等)等。此外,存储器402可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件、闪存器件、或其他易失性固态存储器件。相应地,存储器402还可以包括存储器控制器,以提供处理器408和输入装置403对存储器402的访问。The memory 402 can be used to store computer programs and modules, and the processor 408 executes various functional applications and data processing by running computer programs and modules stored in the memory 402. The memory 402 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application required for at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may be stored according to The data created by the use of the terminal 40 (such as photographed photos, audio data, video data, etc.) and the like. Moreover, memory 402 can include high speed random access memory, and can also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device. Accordingly, memory 402 may also include a memory controller to provide access to memory 402 by processor 408 and input device 403.
输入装置403可用于接收输入的数字或字符信息,以及产生与用户设置以及功能控制有关的键盘、鼠标、操作杆、光学或者轨迹球信号输入。具体地,输入装置403可包括触敏表面4031以及其他输入设备4032。触敏表面4031,也称为触摸显示面板或者触控板,可收集用户在其上或附近的触摸操作(比如用户使用手指、触笔等任何适合的物体或附件在触敏表面4031上或在触敏表面4031附近的按压操作),并根据预先设定的程式驱动相应的连接装置。可选的,触敏表面4031可包括触摸检测装置和触摸控制器两个部分。其中,触摸检测装置检测用户的触摸方位,并检测触摸操作带来的信号,将信号传送给触摸控制器;触摸控制器从触摸检测装置上接收触摸信息,并将它转换成触点坐标,再送给处理器408,并能接收处理器408发来的命令并加以执行。此外,可以采用电阻式、电容式、红外线以及表面声波等多种类型实现触敏表面4031。除了触敏表面4031,输入装置403还可以包括其他输入设备4032。具体地,其他输入设备4032可以包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)、轨迹球、鼠标、操作杆等中的一种或多种。 Input device 403 can be used to receive input numeric or character information, as well as to generate keyboard, mouse, joystick, optical or trackball signal inputs related to user settings and function controls. In particular, input device 403 can include touch-sensitive surface 4031 and other input devices 4032. Touch-sensitive surface 4031, also referred to as a touch display panel or trackpad, can collect touch operations on or near the user (eg, the user uses a finger, stylus, etc., on any touch-sensitive surface 4031 or on the touch-sensitive surface 4031 The pressing operation in the vicinity of the touch-sensitive surface 4031) drives the corresponding connecting device according to a preset program. Alternatively, the touch-sensitive surface 4031 may include two parts of a touch detection device and a touch controller. Wherein, the touch detection device detects the touch orientation of the user, and detects a signal brought by the touch operation, and transmits the signal to the touch controller; the touch controller receives the touch information from the touch detection device, converts the touch information into contact coordinates, and sends the touch information. The processor 408 is provided and can receive commands from the processor 408 and execute them. In addition, the touch sensitive surface 4031 can be implemented in various types such as resistive, capacitive, infrared, and surface acoustic waves. In addition to the touch-sensitive surface 4031, the input device 403 can also include other input devices 4032. Specifically, other input devices 4032 may include, but are not limited to, one or more of a physical keyboard, function keys (such as volume control buttons, switch buttons, etc.), trackballs, mice, joysticks, and the like.
输出装置404可用于显示由用户输入的信息或提供给用户的信息以及终端40的各种图形用户界面,这些图形用户界面可以由图形、文本、图标、视频和其任意组合来构成。输出装置404可包括显示面板4041,可选的,显示面板4041可以采用液晶显示器(Liquid Crystal Display,LCD)、有机发光二极管(Organic Light-Emitting Diode,OLED)等形式来配置。进一步的,触敏 表面4031可覆盖显示面板4041,当触敏表面4031检测到在其上或附近的触摸操作后,传送给处理器408以确定触摸事件的类型,随后处理器408根据触摸事件的类型在显示面板4041上提供相应的视觉输出。虽然在图4中,触敏表面4031与显示面板4041是作为两个独立的部件来实现输入和输入功能,但是在某些实施例中,可以将触敏表面4031与显示面板4041集成而实现输入和输出功能。 Output device 404 can be used to display information entered by the user or information provided to the user, as well as various graphical user interfaces of terminal 40, which can be comprised of graphics, text, icons, video, and any combination thereof. The output device 404 can include a display panel 4041. Alternatively, the display panel 4041 can be configured in the form of a liquid crystal display (LCD), an organic light-emitting diode (OLED), or the like. Further, touch sensitive The surface 4031 can cover the display panel 4041, and when the touch-sensitive surface 4031 detects a touch operation thereon or nearby, it is transmitted to the processor 408 to determine the type of the touch event, and then the processor 408 is on the display panel 4041 according to the type of the touch event. Provide corresponding visual output on it. Although in FIG. 4, touch-sensitive surface 4031 and display panel 4041 are implemented as two separate components to implement input and input functions, in some embodiments, touch-sensitive surface 4031 can be integrated with display panel 4041 for input. And output function.
终端40还可包括至少一种传感器403,比如光传感器、运动传感器以及其他传感器。具体地,光传感器可包括环境光传感器及接近传感器,其中,环境光传感器可根据环境光线的明暗来调节显示面板4041的亮度,接近传感器可在终端40移动到耳边时,关闭显示面板4041和/或背光等。作为运动传感器的一种,重力加速度传感器可检测各个方向上(一般为三轴)加速度的大小,静止时可检测出重力的大小及方向,可用于识别终端40姿态的应用(比如横竖屏切换、相关游戏、磁力计姿态校准)、振动识别相关功能(比如计步器、敲击)等;至于终端40还可配置的陀螺仪、气压计、湿度计、温度计、红外线传感器等其他传感器,此处不再赘述。 Terminal 40 may also include at least one type of sensor 403, such as a light sensor, motion sensor, and other sensors. Specifically, the light sensor may include an ambient light sensor and a proximity sensor, wherein the ambient light sensor may adjust the brightness of the display panel 4041 according to the brightness of the ambient light, and the proximity sensor may close the display panel 4041 when the terminal 40 moves to the ear. / or backlight and so on. As a kind of motion sensor, the gravity acceleration sensor can detect the magnitude of acceleration in each direction (generally three axes), and the magnitude and direction of gravity can be detected at rest, which can be used to identify the attitude of the terminal 40 (such as horizontal and vertical screen switching, Related games, magnetometer attitude calibration), vibration recognition related functions (such as pedometer, tapping), etc.; as well as other sensors such as gyroscopes, barometers, hygrometers, thermometers, infrared sensors, etc., which can be configured in the terminal 40, here No longer.
音频电路404、扬声器4041,传声器4042可提供用户与终端40之间的音频接口。音频电路404可将接收到的音频数据转换后的电信号,传输到扬声器4041,由扬声器4041转换为声音信号输出;另一方面,传声器4042将收集的声音信号转换为电信号,由音频电路404接收后转换为音频数据,再将音频数据输出处理器408处理后,经RF电路401以发送给比如另一终端,或者将音频数据输出至存储器402以便进一步处理。音频电路404还可能包括耳塞插孔,以提供外设耳机与终端40的通信。The audio circuit 404, the speaker 4041, and the microphone 4042 can provide an audio interface between the user and the terminal 40. The audio circuit 404 can transmit the converted electrical data of the received audio data to the speaker 4041, and convert it into a sound signal output by the speaker 4041. On the other hand, the microphone 4042 converts the collected sound signal into an electrical signal, and the audio circuit 404. After receiving, it is converted into audio data, and then processed by the audio data output processor 408, transmitted to the terminal, for example, via the RF circuit 401, or the audio data is output to the memory 402 for further processing. The audio circuit 404 may also include an earbud jack to provide communication of the peripheral earphones with the terminal 40.
WiFi属于短距离无线传输技术,终端40通过WiFi模块407可以帮助用户收发电子邮件、浏览网页和访问流式媒体等,它为用户提供了无线的宽带互联网访问。虽然图4示出了WiFi模块407,但是可以理解的是,其并不属于终端40的必须构成,完全可以根据需要在不改变发明的本质的范围内而省略。WiFi is a short-range wireless transmission technology, and the terminal 40 can help users to send and receive emails, browse web pages, and access streaming media through the WiFi module 407, which provides wireless broadband Internet access for users. Although FIG. 4 shows the WiFi module 407, it can be understood that it does not belong to the essential configuration of the terminal 40, and may be omitted as needed within the scope of not changing the essence of the invention.
处理器408是终端40的控制中心,利用各种接口和线路连接整个终端40的各个部分,通过运行或执行存储在存储器402内的计算机程序和/或模块,以及调用存储在存储器402内的数据,执行终端40的各种功能和处理数据,从而对终端40进行整体监控。可选的,处理器408可包括一个或多个处理核心;优选的,处理器408可集成应用处理器和调制解调处理器,其中,应用处理器主要处理操作系统、用户界面和应用程序等,调制解调处理器主要处理无线通信。可以理解的是,上述调制解调处理器也可以不集成到处理器408中。 Processor 408 is the control center of terminal 40, which connects various portions of the entire terminal 40 using various interfaces and lines, by running or executing computer programs and/or modules stored in memory 402, and recalling data stored in memory 402. The various functions and processing data of the terminal 40 are executed to perform overall monitoring of the terminal 40. Optionally, the processor 408 may include one or more processing cores; preferably, the processor 408 may integrate an application processor and a modem processor, where the application processor mainly processes an operating system, a user interface, an application, and the like. The modem processor primarily handles wireless communications. It will be appreciated that the above described modem processor may also not be integrated into the processor 408.
终端40还包括给各个部件供电的电源409(比如电池),优选的,电源可以通过电源管理系统与处理器408逻辑相连,从而通过电源管理系统实现管理充电、放电、以及功耗管理等功能。电源409还可以包括一个或多个直流或交流电源、再充电系统、电源故障检测电路、电源转换器或者逆变器、电源状态指示器等任意组件。 The terminal 40 also includes a power source 409 (such as a battery) that supplies power to the various components. Preferably, the power source can be logically coupled to the processor 408 through a power management system to manage functions such as charging, discharging, and power management through the power management system. The power supply 409 may also include any one or more of a DC or AC power source, a recharging system, a power failure detection circuit, a power converter or inverter, a power status indicator, and the like.
尽管未示出,终端40还可以包括摄像头、蓝牙模块等,此处不再赘述。具体在本发明实施例中,终端的输出装置404(或输入装置403)是触摸屏显示器,终端40还包括有存储器402、处理器408、以及一个或多个的计算机程序,其中一个或多个计算机程序存储于存储器402中,处理器408用于调用存储器402中存储的程序指令,执行上述图1-图2所示的虚拟按键操作方法。Although not shown, the terminal 40 may further include a camera, a Bluetooth module, and the like, and details are not described herein again. Specifically, in the embodiment of the present invention, the output device 404 (or the input device 403) of the terminal is a touch screen display, and the terminal 40 further includes a memory 402, a processor 408, and one or more computer programs, wherein the one or more computers The program is stored in the memory 402. The processor 408 is configured to call the program instructions stored in the memory 402 to execute the virtual key operation method shown in FIG.
结合本发明实施例公开内容所描述的方法或者算法的步骤可以硬件的方式来实现,也可以是由处理器执行软件程序指令的方式来实现。软件程序指令可以由相应的软件模块组成,软件模块可以被存放于随机存取存储器(Random Access Memory,RAM)、闪存、只读存储器(Read Only Memory,ROM)、可擦除可编程只读存储器(Erasable Programmable ROM,EPROM)、电可擦可编程只读存储器(Electrically EPROM,EEPROM)、寄存器、硬盘、移动硬盘、只读光盘(CD-ROM)或者本领域熟知的任何其它形式的存储介质中。一种示例性的存储介质耦合至处理器,从而使处理器能够从该存储介质读取信息,且可向该存储介质写入信息。当然,存储介质也可以是处理器的组成部分。处理器和存储介质可以位于集成电路(Application Specific Integrated Circuit,ASIC)中。另外,该ASIC可以位于终端中。当然,处理器和存储介质也可以作为分立组件存在于终端设备中。The steps of the method or algorithm described in connection with the disclosure of the embodiments of the present invention may be implemented in a hardware manner, or may be implemented by a processor executing software program instructions. The software program instructions may be composed of corresponding software modules, which may be stored in a random access memory (RAM), a flash memory, a read only memory (ROM), an erasable programmable read only memory. (Erasable Programmable ROM, EPROM), electrically erasable programmable read only memory (EEPROM), registers, hard disk, removable hard disk, compact disk read only (CD-ROM) or any other form of storage medium known in the art. . An exemplary storage medium is coupled to the processor to enable the processor to read information from, and write information to, the storage medium. Of course, the storage medium can also be an integral part of the processor. The processor and the storage medium may be located in an Application Specific Integrated Circuit (ASIC). Additionally, the ASIC can be located in the terminal. Of course, the processor and the storage medium can also exist as discrete components in the terminal device.
本领域技术人员应该可以意识到,在上述一个或多个示例中,本发明实施例所描述的功能可以用硬件、软件、固件或它们的任意组合来实现。当使用软件实现时,可以将这些功能存储在计算机可读介质中或者作为计算机可读介质上的一个或多个程序指令或代码进行传输。计算机可读介质包括计算机存储介质和通信介质,其中通信介质包括便于从一个地方向另一个地方传送计算机程序的任何介质。存储介质可以是通用或专用计算机能够存取的任何可用介质。Those skilled in the art should appreciate that in one or more of the above examples, the functions described in the embodiments of the present invention may be implemented in hardware, software, firmware, or any combination thereof. When implemented in software, the functions may be stored in a computer readable medium or transmitted as one or more program instructions or code on a computer readable medium. Computer readable media includes both computer storage media and communication media including any medium that facilitates transfer of a computer program from one location to another. A storage medium may be any available media that can be accessed by a general purpose or special purpose computer.
以上的具体实施方式,对本发明实施例的目的、技术方案和有益效果进行了进一步详细说明,所应理解的是,以上仅为本发明实施例的具体实施方式而已,并不用于限定本发明实施例的保护范围,凡在本发明实施例的技术方案的基础之上,所做的任何修改、等同替换、改进等,均应包括在本发明实施例的保护范围之内。 The specific embodiments of the present invention have been described in detail with reference to the embodiments of the present invention. The scope of the present invention is to be construed as being limited to the scope of the embodiments of the present invention.

Claims (10)

  1. 一种虚拟按键操作方法,其特征在于,包括:A virtual key operation method, comprising:
    终端开启预设应用程序;The terminal opens a preset application;
    所述终端接收用户在所述预设应用程序中针对第一虚拟按键的第一触发操作;Receiving, by the terminal, a first triggering operation of the user for the first virtual button in the preset application;
    所述终端根据所述第一触发操作检测所述第一用户的生物特征信息与预设生物特征信息是否匹配;The terminal detects whether the biometric information of the first user matches the preset biometric information according to the first triggering operation;
    若所述第一用户的生物特征信息与所述预设生物特征信息不匹配,则不执行所述第一虚拟按键的原始功能。If the biometric information of the first user does not match the preset biometric information, the original function of the first virtual button is not executed.
  2. 根据权利要求1所述的方法,其特征在于,所述终端根据所述第一触发操作检测所述第一用户的生物特征信息与预设生物特征信息是否匹配之后,还包括:The method according to claim 1, wherein the terminal further comprises: after detecting, by the first triggering operation, whether the biometric information of the first user matches the preset biometric information,
    若所述第一用户的生物特征信息与所述预设生物特征信息匹配,则执行所述第一虚拟按键的原始功能。And if the biometric information of the first user matches the preset biometric information, performing an original function of the first virtual button.
  3. 根据权利要求1所述的方法,其特征在于,所述若所述第一用户的生物特征信息与所述预设生物特征信息不匹配,则不执行所述第一虚拟按键的原始功能之后,还包括:The method according to claim 1, wherein if the biometric information of the first user does not match the preset biometric information, after the original function of the first virtual button is not executed, Also includes:
    执行所述第一虚拟按键的替换功能。Performing a replacement function of the first virtual button.
  4. 根据权利要求3所述的方法,其特征在于,所述执行所述第一虚拟按键的替换功能之前,还包括:The method according to claim 3, wherein before the performing the replacing function of the first virtual button, the method further comprises:
    终端创建虚拟按键的原始功能与替换功能之间的第一对应关系,所述虚拟按键包括所述第一虚拟按键;The terminal creates a first correspondence between the original function and the replacement function of the virtual button, and the virtual button includes the first virtual button;
    所述终端根据所述第一触发操作检测所述第一用户的生物特征信息与预设生物特征信息是否匹配之后,所述终端执行所述第一虚拟按键的替换功能之前,还包括:After the terminal detects whether the biometric information of the first user matches the preset biometric information according to the first triggering operation, before the terminal performs the replacing function of the first virtual button, the terminal further includes:
    若所述第一用户的生物特征信息与所述预设生物特征信息不匹配,所述终端从所述第一对应关系中获取与所述第一虚拟按键的原始功能所对应的替换功能;If the biometric information of the first user does not match the preset biometric information, the terminal acquires a replacement function corresponding to the original function of the first virtual button from the first correspondence relationship;
    所述终端执行所述第一虚拟按键的替换功能,包括:The terminal performs the replacement function of the first virtual button, including:
    所述终端执行所述第一虚拟按键的原始功能所对应的替换功能。The terminal performs a replacement function corresponding to the original function of the first virtual button.
  5. 根据权利要求1至4任一项所述的方法,其特征在于,还包括:判断所述预设应用程序的运行时长是否超过预设时长;The method according to any one of claims 1 to 4, further comprising: determining whether a running time of the preset application exceeds a preset duration;
    若是,退出所述预设应用程序并显示锁屏界面。 If yes, exit the preset application and display the lock screen.
  6. 根据权利要求5所述的方法,其特征在于,所述判断所述预设应用程序的运行时长是否超过预设时长之前,还包括:The method according to claim 5, wherein the determining whether the running time of the preset application exceeds a preset duration further comprises:
    接收第二用户输入的密码;Receiving a password input by the second user;
    判断所述第二用户的生物特征信息与所述预设生物特征信息是否匹配;Determining whether the biometric information of the second user matches the preset biometric information;
    若所述第二用户的生物特征信息与所述预设生物特征信息匹配,则将所述第二用户输入的密码设置为所述锁屏界面的解锁密码。And if the biometric information of the second user matches the preset biometric information, setting a password input by the second user as an unlock password of the lock screen interface.
  7. 一种终端,其特征在于,所述终端包括用于执行权利要求1-6任一项所述虚拟按键操作方法的单元。A terminal, characterized in that the terminal comprises means for performing the virtual key operating method according to any one of claims 1-6.
  8. 一种终端,其特征在于,所述终端包括:处理器和存储器,所述存储器用于存储程序指令和/或数据,所述处理器用于调用所述存储器存储的程序指令执行权利要求1-6任一项所述虚拟按键操作的方法。A terminal, characterized in that the terminal comprises: a processor for storing program instructions and/or data, the processor for calling the program instructions stored in the memory to execute claims 1-6 Any of the methods of virtual key operation.
  9. 一种计算机存储介质,其特征在于,所述计算机存储介质存储有计算机程序,所述计算机程序包括程序指令,所述程序指令当被处理器执行时使所述处理器执行权利要求1-6任一项所述虚拟按键操作的方法。A computer storage medium, characterized in that the computer storage medium stores a computer program, the computer program comprising program instructions, the program instructions, when executed by a processor, causing the processor to perform any of claims 1-6 A method of operating the virtual key.
  10. 一种计算机程序,其特征在于,所述计算机程序包括程序指令,所述程序指令当被处理器执行时使所述处理器执行权利要求1-6任一项所述虚拟按键操作的方法。 A computer program, comprising: program instructions, which, when executed by a processor, cause the processor to perform the method of virtual key operations of any of claims 1-6.
PCT/CN2017/104245 2017-09-29 2017-09-29 Virtual key operation method, terminal, storage medium, and computer program WO2019061248A1 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201780095479.3A CN111417921A (en) 2017-09-29 2017-09-29 Virtual key operation method, terminal, storage medium, and computer program
PCT/CN2017/104245 WO2019061248A1 (en) 2017-09-29 2017-09-29 Virtual key operation method, terminal, storage medium, and computer program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2017/104245 WO2019061248A1 (en) 2017-09-29 2017-09-29 Virtual key operation method, terminal, storage medium, and computer program

Publications (1)

Publication Number Publication Date
WO2019061248A1 true WO2019061248A1 (en) 2019-04-04

Family

ID=65902261

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2017/104245 WO2019061248A1 (en) 2017-09-29 2017-09-29 Virtual key operation method, terminal, storage medium, and computer program

Country Status (2)

Country Link
CN (1) CN111417921A (en)
WO (1) WO2019061248A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2020238448A1 (en) * 2019-05-28 2020-12-03 维沃移动通信有限公司 Permission management method and terminal

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105554222A (en) * 2015-12-07 2016-05-04 联想(北京)有限公司 Control method and electronic equipment
CN105791529A (en) * 2014-12-24 2016-07-20 芯讯通无线科技(上海)有限公司 Mobile terminal and control method thereof
CN105912239A (en) * 2016-04-25 2016-08-31 乐视控股(北京)有限公司 Operation control method of mobile terminal, and mobile terminal
US20170116457A1 (en) * 2015-10-22 2017-04-27 Motorola Mobility Llc Device and method for authentication by a biometric sensor

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104238794B (en) * 2013-06-24 2019-07-16 腾讯科技(深圳)有限公司 The response method and terminal, mobile terminal of a kind of pair of contact action
CN104572071A (en) * 2014-12-02 2015-04-29 深圳市金立通信设备有限公司 Terminal
CN104572322A (en) * 2014-12-02 2015-04-29 深圳市金立通信设备有限公司 Method for operating terminal screen
CN106156567A (en) * 2015-03-23 2016-11-23 联想(北京)有限公司 A kind of information processing method and electronic equipment
CN105938529A (en) * 2016-04-14 2016-09-14 北京小米移动软件有限公司 Page display method and apparatus
CN106484279B (en) * 2016-09-12 2020-08-28 努比亚技术有限公司 Method for identifying and processing abnormal operation of terminal and terminal
CN106681717B (en) * 2016-12-16 2020-11-03 珠海格力电器股份有限公司 Terminal application program management method and device and electronic equipment

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105791529A (en) * 2014-12-24 2016-07-20 芯讯通无线科技(上海)有限公司 Mobile terminal and control method thereof
US20170116457A1 (en) * 2015-10-22 2017-04-27 Motorola Mobility Llc Device and method for authentication by a biometric sensor
CN105554222A (en) * 2015-12-07 2016-05-04 联想(北京)有限公司 Control method and electronic equipment
CN105912239A (en) * 2016-04-25 2016-08-31 乐视控股(北京)有限公司 Operation control method of mobile terminal, and mobile terminal

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2020238448A1 (en) * 2019-05-28 2020-12-03 维沃移动通信有限公司 Permission management method and terminal

Also Published As

Publication number Publication date
CN111417921A (en) 2020-07-14

Similar Documents

Publication Publication Date Title
US11269981B2 (en) Information displaying method for terminal device and terminal device
WO2019174611A1 (en) Application configuration method and mobile terminal
US11227042B2 (en) Screen unlocking method and apparatus, and storage medium
CN106778175B (en) Interface locking method and device and terminal equipment
WO2019105227A1 (en) Application icon display method, terminal, and computer readable storage medium
US20160105418A1 (en) Method, system, device, and terminal for network initialization of multimedia playback device
US10678942B2 (en) Information processing method and related products
CN106445596B (en) Method and device for managing setting items
WO2018161353A1 (en) Photo sharing method and device
CN108334272B (en) Control method and mobile terminal
CN109639863B (en) Voice processing method and device
WO2016078504A1 (en) Identity authentication method and device
CN107870674B (en) Program starting method and mobile terminal
CN109062634B (en) Application starting method and mobile terminal
CN110308834B (en) Setting method of application icon display mode and terminal
KR20190049801A (en) Data sharing methods and terminals
WO2015043200A1 (en) Method and apparatus for controlling applications and operations on a terminal
WO2019071424A1 (en) Application function control method and terminal
CN111459362A (en) Information display method, information display device, electronic apparatus, and storage medium
TW201541337A (en) Method, device and system for displaying messages in mobile terminal
WO2014176901A1 (en) Method, device and storage medium for starting application in electronic apparatus
US20150088525A1 (en) Method and apparatus for controlling applications and operations on a terminal
WO2021121178A1 (en) Application startup method and electronic device
WO2015078349A1 (en) Microphone sound-reception status switching method and apparatus
CN110213439B (en) Message processing method and terminal

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: 17927598

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: 17927598

Country of ref document: EP

Kind code of ref document: A1