CN104618577B - A kind of response method and device of button request - Google Patents
A kind of response method and device of button request Download PDFInfo
- Publication number
- CN104618577B CN104618577B CN201410848202.1A CN201410848202A CN104618577B CN 104618577 B CN104618577 B CN 104618577B CN 201410848202 A CN201410848202 A CN 201410848202A CN 104618577 B CN104618577 B CN 104618577B
- Authority
- CN
- China
- Prior art keywords
- fingerprint
- request
- user
- key
- state
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
- 230000004044 response Effects 0.000 title claims abstract description 47
- 238000000034 method Methods 0.000 title claims abstract description 25
- 230000001960 triggered effect Effects 0.000 claims description 38
- 238000001514 detection method Methods 0.000 claims description 4
- 238000010586 diagram Methods 0.000 description 6
- 238000004891 communication Methods 0.000 description 3
- 230000006870 function Effects 0.000 description 3
- 238000013459 approach Methods 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000004590 computer program Methods 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
Landscapes
- Collating Specific Patterns (AREA)
- Telephone Function (AREA)
- Lock And Its Accessories (AREA)
Abstract
The embodiment of the invention discloses a kind of button request response method, including:Receive the first operation requests of the fingerprint button triggering that user's finger is clicked in terminal;The target fingerprint data of the finger are obtained, and are searched whether in default fingerprint database in the presence of the finger print data with the target fingerprint data match;If in the presence of first operation requests being responded, into default response interface.The embodiment of the invention also discloses the responding devices and terminal of a kind of request of button.Using the present invention, can by click on fingerprint button realize it is reliable, be rapidly introduced into default response interface.
Description
Technical Field
The present invention relates to the field of electronic technologies, and in particular, to a method and an apparatus for responding to a key request.
Background
At present, terminal devices such as mobile phones and the like are widely applied, and users can receive and send short messages through mobile phones, use various application software and the like, so that great convenience is brought to life of people.
However, in practical applications, when the mobile phone is separated from the user, for example, when the mobile phone is lost or forgotten to go out, other users may often use the mobile phone conveniently, so that privacy disclosure or other security problems are caused, and the reliability is low.
Disclosure of Invention
The technical problem to be solved by the embodiments of the present invention is to provide a method and an apparatus for responding to a key request, which can reliably enter a preset response interface by clicking a fingerprint key.
In order to solve the above technical problem, an embodiment of the present invention provides a method for responding to a key request, including:
receiving a first operation request triggered by a user finger clicking a fingerprint key on a terminal;
acquiring target fingerprint data of the finger, and searching whether fingerprint data matched with the target fingerprint data exists in a preset fingerprint database;
and if so, responding to the first operation request and entering a preset response interface.
Correspondingly, an embodiment of the present invention further provides a device for responding to a key request, including:
the first receiving module is used for receiving a first operation request triggered by a user finger clicking a fingerprint key on the terminal;
the searching module is used for acquiring target fingerprint data of the finger and searching whether fingerprint data matched with the target fingerprint data exists in a preset fingerprint database;
and the first response module is used for responding to the first operation request and entering a preset response interface when the search result of the search module is that the fingerprint data matched with the target fingerprint data exists in the fingerprint database.
Correspondingly, the embodiment of the invention also provides a terminal which comprises the response device for the key request.
The embodiment of the invention has the following beneficial effects:
according to the embodiment of the invention, when the condition that the finger of the user clicks the fingerprint key on the terminal is detected, the target fingerprint data of the finger is acquired, the fingerprint data matched with the target fingerprint data is searched in the preset fingerprint database, and when the matched fingerprint data is searched, the quick access to the preset response interface is realized, so that the reliability is higher.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
Fig. 1 is a schematic flowchart of a method for responding to a key request according to an embodiment of the present invention;
fig. 2 is a schematic flowchart of another method for responding to a key request according to an embodiment of the present invention;
fig. 3 is a schematic structural diagram of a device for responding to a key request according to an embodiment of the present invention;
FIG. 4 is a schematic structural diagram of another apparatus for responding to a key request according to an embodiment of the present invention;
fig. 5 is a schematic structural diagram of a terminal according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Fig. 1 is a schematic flow chart of a method for responding to a key request according to an embodiment of the present invention, and specifically, the method according to the embodiment of the present invention includes:
s101: receiving a first operation request triggered by a user finger clicking a fingerprint key on the terminal.
It should be noted that the method of the embodiment of the present invention may be specifically applied to a terminal such as a mobile phone, a tablet computer, a PDA (Personal Digital Assistant), and the like. The fingerprint key is arranged on a physical key on the terminal and can be used for triggering a fingerprint identification module preset in the terminal to carry out fingerprint identification.
S102: and acquiring target fingerprint data of the finger, and searching whether fingerprint data matched with the target fingerprint data exists in a preset fingerprint database.
In a specific embodiment, a fingerprint database may be preset for storing fingerprint data uploaded by a user. When the terminal detects that a user finger clicks a preset fingerprint key, the terminal can acquire target fingerprint data of the user finger, compares the acquired fingerprint data with fingerprint data in a database for searching, and searches whether user fingerprint data matched with the acquired target fingerprint data exists or not. When the user fingerprint data matching the target fingerprint data is found in the database, step S103 may be executed.
S103: and if so, responding to the first operation request and entering a preset response interface.
Optionally, the first operation request may include an application open request, an unlock request, or another operation request, which is not limited in the embodiment of the present invention. Correspondingly, the response interface is an application interface corresponding to the application opening request, an unlocking interface corresponding to the unlocking request or a response interface corresponding to other operation requests.
Specifically, the terminal may detect a current usage state of the terminal, where the usage state includes a locked state and an unlocked state. When the current use state of the terminal is detected to be the locking state, the first operation request can be used as an unlocking request, whether fingerprint data acquired by clicking a fingerprint key by a finger of a user is matched with fingerprint data stored in a database or not is detected, and unlocking operation can be performed on the terminal when the fingerprint data is matched with the fingerprint data, so that a preset unlocking interface is entered. Further, if it is detected that the current use state is the unlock state, the first operation request may be used as an application opening request, and when fingerprint data matching the acquired target fingerprint data is found in the database, an application interface of a target application corresponding to the application opening request may be quickly entered.
Optionally, a fingerprint data set may also be preset in the database in advance, where the fingerprint data set includes multiple sets of fingerprint data. Accordingly, the acquired target fingerprint data may be target fingerprint data of one finger, or may be multiple sets of target fingerprint data corresponding to multiple fingers. When a plurality of fingers of a user sequentially press the fingerprint key and acquire a plurality of groups of corresponding target fingerprint data, whether the user fingerprint data identical to the plurality of groups of target fingerprint data exists or not can be sequentially searched in the fingerprint database, and when the fingerprint data identical to the plurality of groups of target fingerprint data are all searched, the first operation request is responded, and a preset response interface is accessed. Furthermore, if the fingerprint data set comprises a plurality of groups of fingerprint data, the arrangement sequence of the plurality of groups of fingerprint data can be preset, when a plurality of groups of target fingerprint data are obtained and compared and searched in a fingerprint database, whether a fingerprint data set with the same number and the same arrangement sequence as the plurality of groups of target fingerprint data exists or not can be searched, and if yes, the first operation request is responded, and the preset response interface is entered.
By implementing the embodiment of the invention, when the condition that the finger of the user clicks the fingerprint key on the terminal is detected, the target fingerprint data of the finger can be acquired, the fingerprint data matched with the target fingerprint data is searched in the preset fingerprint database, and when the matched fingerprint data is searched, the quick access to the preset response interface is realized, and the reliability is higher.
Fig. 2 is a schematic flow chart of another method for responding to a key request according to an embodiment of the present invention, and specifically, the method according to the embodiment of the present invention includes:
s201: and receiving a fingerprint presetting request carrying user fingerprint data.
It should be noted that the method according to the embodiment of the present invention may be specifically applied to a terminal such as a mobile phone, a tablet computer, or a PDA, and the embodiment of the present invention is not limited.
S202: and storing the user fingerprint data to a preset fingerprint database according to the fingerprint preset request.
Optionally, a fingerprint database may be preset in the terminal in advance, and is used to store fingerprint data uploaded by a legitimate user. Furthermore, a fingerprint presetting function can be preset, and the fingerprint presetting function can be started through a negotiated password or a certain function key on the terminal to carry out user fingerprint presetting. Specifically, when a fingerprint preset request carrying user fingerprint data is received, the user fingerprint data can be stored in the database, and the preset of the fingerprint data of a legal user is completed.
S203: receiving a first operation request triggered by a user finger clicking a fingerprint key on the terminal.
Optionally, the first operation request may include an application open request, an unlock request, or another operation request, which is not limited in the embodiment of the present invention.
Specifically, the terminal may detect a current usage state of the terminal, where the usage state includes a locked state and an unlocked state, and when it is detected that the current usage state is the locked state, the first operation request may be used as an unlocking request.
Further, after the first operation request triggered by the fact that a user finger clicks a fingerprint key on a terminal is received and before the target fingerprint data of the finger is obtained, the screen state of the terminal can be detected, wherein the screen state comprises a screen-off state and a screen-on state; and if the screen state is detected to be the screen off state, changing the screen state of the terminal into the screen on state. Specifically, before target fingerprint data of a user finger clicking a fingerprint key is acquired, the current screen state of the terminal can be detected, and when the terminal is in a black screen state, namely the current screen state of the terminal is in a screen-off state, the screen state of the terminal is adjusted to be a screen-on state, so that the user can check the current time in time through the screen-on state without unlocking operation, for example, when the fingerprint key is clicked by other fingers without preset fingerprint data in a database to check the current time.
S204: and acquiring target fingerprint data of the finger, and searching whether fingerprint data matched with the target fingerprint data exists in a preset fingerprint database.
In a specific embodiment, after the terminal screen is lighted, that is, after the screen state of the terminal is adjusted to the screen-on state, the terminal can acquire target fingerprint data when a user finger clicks a preset fingerprint key, and compare the acquired target fingerprint data with fingerprint data in the database for searching, and find whether user fingerprint data matched with the acquired target fingerprint data exists. When the user fingerprint data matching the target fingerprint data is found, step S205 may be executed.
S205: and if the terminal exists, responding to the first operation request, unlocking the terminal, and entering a preset unlocking interface.
Specifically, when the user fingerprint data matched with the acquired target fingerprint data is found in the database, the user clicking the fingerprint key can be used as a legal user, so that the unlocking request is responded, the terminal is unlocked, and a preset unlocking interface such as a menu interface is entered. If the user fingerprint data matched with the acquired target fingerprint data is not found in the database, only the screen-on operation can be executed, so that the user can conveniently check the current time and the like, and subsequent operations such as unlocking or opening application are not performed.
In the embodiment of the invention, the unlocking of the terminal is triggered by setting the fingerprint key and clicking the fingerprint key instead of touching, so that misoperation caused by the fact that a user touches the fingerprint key carelessly can be effectively reduced. In addition, the embodiment of the invention compares the fingerprint after detecting that the user presses the fingerprint key, and does not need to detect whether the finger approaches and acquire the fingerprint data of the finger all the time, thereby reducing the power consumption of the system and saving the electric quantity of the mobile phone.
S206: and if a second operation request triggered by the clicking operation of the fingerprint key by the user is received, responding to the second operation request, and entering an application interface of a target application associated with the fingerprint key.
Optionally, the second operation request may include an application open request. Furthermore, the association relationship between the fingerprint key and the application software of the terminal, that is, the target application, may be preconfigured, after the user fingerprint data is compared and searched for to perform the unlocking operation on the terminal, if the user clicks the fingerprint key again, that is, when a second operation request triggered by the user clicking the fingerprint key is received, the second operation request may be used as an application opening request, and the application interface of the target application associated with the fingerprint key is logged in.
In a specific embodiment, the clicking operation includes a single-click operation or a double-click operation, and when a user clicks a fingerprint key, the user can enter application interfaces of different target applications according to the clicking or double-click operation of the fingerprint key. Specifically, the entering of the application interface of the target application associated with the fingerprint key in response to the second operation request may specifically be: analyzing the second operation request; if the second operation request is obtained through analysis and is triggered by the user clicking the fingerprint key, responding to the second operation request, and entering a preset application interface of a first target application; or, if the second operation request is obtained through analysis and is triggered by the user performing double-click operation on the fingerprint key, responding to the second operation request, and entering a preset application interface of a second target application.
The target application may include a shooting application, an instant messaging application, a video application, a browser, and the like, which is not limited in the embodiments of the present invention.
Further, if the target application is a shooting application, after entering an application interface of the target application associated with the fingerprint key, and if a third operation request triggered by a user clicking the fingerprint key is received, the shooting operation may be executed in response to the third operation request. Specifically, if the target application associated with the fingerprint key is a shooting application, such as a camera, a video camera, and the like, after the shooting application is entered, if it is detected that the user clicks the fingerprint key, operations such as shooting or shooting can be performed, which greatly facilitates the user to perform one-handed operation. Wherein the third operation request includes a photographing request, and the like.
In the embodiment of the invention, the fingerprint database is preset, and the fingerprint data of the user is stored in the fingerprint database in advance, so that when the condition that the finger of the user clicks the fingerprint key on the terminal is detected, the fingerprint data matched with the target fingerprint data of the finger clicking the fingerprint key is searched in the preset fingerprint database, and the terminal is unlocked when the matched fingerprint data is searched, and the reliability is higher. Furthermore, after the terminal is unlocked, the user can quickly enter the associated target application by clicking the fingerprint key, so that misoperation can be effectively prevented, the time of the user is saved, and the user can conveniently operate by one hand.
Referring to fig. 3, a schematic structural diagram of a device for responding to a key request according to an embodiment of the present invention is shown, and specifically, the device according to the embodiment of the present invention includes: a first receiving module 11, a searching module 12 and a first responding module 13. Wherein,
the first receiving module 11 is configured to receive a first operation request triggered by a finger of a user clicking a fingerprint key on a terminal.
It should be noted that the method of the embodiment of the present invention may be specifically applied to terminals such as a mobile phone, a tablet computer, and a PDA. The fingerprint key is arranged on the terminal and can be used for triggering a fingerprint identification module preset in the terminal to carry out fingerprint identification.
The searching module 12 is configured to obtain target fingerprint data of the finger, and search a preset fingerprint database for whether fingerprint data matching the target fingerprint data exists.
In a specific embodiment, when detecting that a user finger clicks a preset fingerprint key, that is, when receiving a first operation request triggered by the user finger clicking a fingerprint key on a terminal, the first receiving module 11 may obtain target fingerprint data of the user finger through the searching module 12, compare the obtained fingerprint data with fingerprint data in a database, and search whether there is user fingerprint data matching the obtained target fingerprint data. The database stores fingerprint data uploaded by users in advance.
The first response module 13 is configured to respond to the first operation request and enter a preset response interface when the search result of the search module 12 is that the fingerprint data matched with the target fingerprint data exists in the fingerprint database.
Optionally, the first operation request may include an application open request, an unlock request, or another operation request, which is not limited in the embodiment of the present invention. Correspondingly, the response interface is an application interface corresponding to the application opening request, an unlocking interface corresponding to the unlocking request or a response interface corresponding to other operation requests.
Further optionally, a fingerprint data set may be preset in the fingerprint database, where the fingerprint data set includes multiple sets of fingerprint data. Accordingly, the target fingerprint data acquired by the search module 12 may be the target fingerprint data of one finger, or may be multiple sets of target fingerprint data corresponding to multiple fingers. When a plurality of fingers of a user sequentially press the fingerprint key and acquire a plurality of corresponding sets of target fingerprint data, the search module 12 may sequentially search in the fingerprint database whether there is user fingerprint data identical to the plurality of sets of target fingerprint data, and when all fingerprint data identical to the plurality of sets of target fingerprint data are found, respond to the first operation request through the first response module 13, and enter a preset response interface. Further, the arrangement order of the multiple sets of fingerprint data may also be preset, when the search module 12 obtains multiple sets of target fingerprint data and performs comparison search in the fingerprint database, it may be possible to search whether there is a fingerprint data set that has the same number and arrangement order as the multiple sets of target fingerprint data, and if so, the first response module 13 may respond to the first operation request and enter the preset response interface.
By implementing the embodiment of the invention, when the condition that the finger of the user clicks the fingerprint key on the terminal is detected, the target fingerprint data of the finger can be acquired, the fingerprint data matched with the target fingerprint data is searched in the preset fingerprint database, and when the matched fingerprint data is searched, the quick access to the preset response interface is realized, and the reliability is higher.
Fig. 4 is a schematic structural diagram of another apparatus for responding to a key request according to an embodiment of the present invention, and specifically, the apparatus according to the embodiment of the present invention includes: a first receiving module 11, a searching module 12 and a first responding module 13. Wherein,
the first receiving module 11 is configured to receive a first operation request triggered by a finger of a user clicking a fingerprint key on a terminal.
It should be noted that the method of the embodiment of the present invention may be specifically applied to terminals such as a mobile phone, a tablet computer, and a PDA. The fingerprint key is arranged on the terminal and can be used for triggering a fingerprint identification module preset in the terminal to carry out fingerprint identification.
The searching module 12 is configured to obtain target fingerprint data of the finger, and search a preset fingerprint database for whether fingerprint data matching the target fingerprint data exists.
In a specific embodiment, when detecting that a user finger clicks a preset fingerprint key, that is, when receiving a first operation request triggered by the user finger clicking a fingerprint key on a terminal, the first receiving module 11 may obtain target fingerprint data of the user finger through the searching module 12, compare the obtained fingerprint data with fingerprint data in a database, and search whether there is user fingerprint data matching the obtained target fingerprint data. The database stores fingerprint data uploaded by users in advance.
The first response module 13 is configured to respond to the first operation request and enter a preset response interface when the search result of the search module 12 is that the fingerprint data matched with the target fingerprint data exists in the fingerprint database.
Optionally, the first operation request may include an application open request, an unlock request, or another operation request, which is not limited in the embodiment of the present invention. Correspondingly, the response interface is an application interface corresponding to the application opening request, an unlocking interface corresponding to the unlocking request or a response interface corresponding to other operation requests.
Further, in the embodiment of the present invention, the apparatus may further include:
a second receiving module 14, configured to receive a fingerprint preset request carrying user fingerprint data;
and the storage module 15 is configured to store the user fingerprint data in a preset fingerprint database according to the fingerprint preset request received by the second receiving module.
Optionally, the first operation request includes an unlocking request; the apparatus may further include:
the detection module 16 is configured to detect a screen state of the terminal, where the screen state includes a screen-off state and a screen-on state;
a state changing module 17, configured to change the screen state of the terminal to the bright screen state when the detecting module 16 detects that the screen state is the off-screen state;
the first response module 13 may specifically be configured to:
and responding to the first operation request, unlocking the terminal, and entering a preset unlocking interface.
Further, the detecting module 16 may be further configured to detect a current usage state of the terminal, where the usage state includes a locked state and an unlocked state, and when it is detected that the current usage state is the locked state, the first operation request may be used as an unlocking request.
In a specific embodiment, before obtaining target fingerprint data of a user's finger clicking a fingerprint key through the search module 12 and comparing and searching the fingerprint data, the current screen state of the terminal may be detected through the detection module 16, and when the terminal is blank, that is, the current screen state of the terminal is in a screen-off state, the screen state of the terminal is adjusted to a screen-on state through the state change module 17, so that the user does not need to perform an unlocking operation, for example, when the user clicks the fingerprint key through other fingers not provided with fingerprint data in the database to check the current time, the current time can be checked through the screen-on state in time.
Further, in the embodiment of the present invention, the apparatus may further include:
and a second response module 18, configured to, when a second operation request triggered by a user clicking the fingerprint key is received, respond to the second operation request and enter an application interface of a target application associated with the fingerprint key.
Optionally, the second operation request includes an application open request. After entering the unlocking interface, if a second operation request triggered by the user clicking the fingerprint key is received, the second response module 18 may use the second operation request as an application opening request to open the application interface of the target application associated with the fingerprint key.
The target application may include a shooting application, an instant messaging application, a video application, a browser, and the like, which is not limited in the embodiments of the present invention.
Optionally, the click operation includes a single click operation or a double click operation; the second response module 18 may further include:
an analyzing unit 181, configured to analyze the second operation request;
a first response unit 182, configured to, when the second operation request obtained through analysis by the analysis unit 181 is triggered by a single-click operation performed on the fingerprint key by the user, respond to the second operation request and enter a preset application interface of a first target application; or,
a second responding unit 183, configured to respond to the second operation request and enter a preset application interface of a second target application when the second operation request obtained through analysis by the analyzing unit 181 is triggered by the user performing double-click operation on the fingerprint key.
In a specific embodiment, the clicking operation on the fingerprint key includes a single-click operation or a double-click operation, and the second response module 18 may determine to open the application interface of the first target application or the application interface of the second target application according to the single-click operation or the double-click operation when the user clicks the fingerprint key, that is, to enter an application interface of a different target application.
Optionally, in the embodiment of the present invention, the target application includes a shooting application; the apparatus may further include:
and the shooting module 19 is configured to, when a third operation request triggered by a user clicking the fingerprint key is received, respond to the third operation request and execute a shooting operation.
Further, if the target application is a shooting application such as a camera, a video camera, or the like, after the second response module 18 responds to the second operation request and enters the application interface of the target application associated with the fingerprint key, if the shooting module 19 receives a third operation request triggered by a user clicking the fingerprint key, that is, it is detected that the user clicks the fingerprint key, then operations such as shooting or shooting can be performed, so that the user can perform a one-handed operation very conveniently. Wherein the third operation request includes a photographing request, and the like.
In the embodiment of the invention, the fingerprint database is preset, and the fingerprint data of the user is stored in the fingerprint database in advance, so that when the condition that the finger of the user clicks the fingerprint key on the terminal is detected, the fingerprint data matched with the target fingerprint data of the finger clicking the fingerprint key is searched in the preset fingerprint database, and the terminal is unlocked when the matched fingerprint data is searched, and the reliability is higher. Furthermore, after the terminal is unlocked, the user can quickly enter the associated target application by clicking the fingerprint key, so that misoperation can be effectively prevented, the time of the user is saved, and the user can conveniently operate by one hand.
Fig. 5 is a schematic structural diagram of a terminal provided in an embodiment of the present invention. As shown in fig. 5, the terminal includes: at least one processor 100, e.g., a CPU, at least one user interface 300, memory 400, at least one communication bus 200. Wherein a communication bus 200 is used to enable the connection communication between these components. The user interface 300 may include a Display screen (Display) and a Keyboard (Keyboard), and the optional user interface 300 may also include a standard wired interface and a standard wireless interface. The memory 400 may be a high-speed RAM memory or a non-volatile memory (e.g., at least one disk memory). The memory 400 may optionally be at least one memory device located remotely from the processor 100. Wherein a set of program codes is stored in the memory 400 and the processor 100 calls the program codes stored in the memory 400 for performing the following operations:
receiving a first operation request triggered by a user finger clicking a fingerprint key on a terminal;
acquiring target fingerprint data of the finger, and searching whether fingerprint data matched with the target fingerprint data exists in a preset fingerprint database;
and if so, responding to the first operation request and entering a preset response interface.
In an alternative embodiment, processor 100 may also call program code stored in memory 400 to perform the following operations:
receiving a fingerprint preset request carrying user fingerprint data;
and storing the user fingerprint data to a preset fingerprint database according to the fingerprint preset request.
In an alternative embodiment, the first operation request comprises an unlock request; the processor 100 may also call the program code stored in the memory 400 to perform the following operations:
detecting screen states of the terminal, wherein the screen states comprise a screen-off state and a screen-on state;
if the screen state is detected to be the screen off state, changing the screen state of the terminal into the screen on state;
the responding to the first operation request, entering a preset response interface, and including:
and responding to the first operation request, unlocking the terminal, and entering a preset unlocking interface.
In an alternative embodiment, processor 100 may also call program code stored in memory 400 to perform the following operations:
and if a second operation request triggered by the clicking operation of the fingerprint key by the user is received, responding to the second operation request, and entering an application interface of a target application associated with the fingerprint key.
In an optional embodiment, the click operation comprises a single click operation or a double click operation; the processor 100 calls the program code stored in the memory 400 to execute the second operation request, and enters an application interface of the target application associated with the fingerprint key to execute the following operations:
analyzing the second operation request;
if the second operation request is obtained through analysis and is triggered by the user clicking the fingerprint key, responding to the second operation request, and entering a preset application interface of a first target application; or,
and if the second operation request is obtained through analysis and is triggered by the user performing double-click operation on the fingerprint key, responding to the second operation request and entering a preset application interface of a second target application.
In an alternative embodiment, processor 100 may also call program code stored in memory 400 to perform the following operations:
and if a third operation request triggered by the clicking operation of the fingerprint key by the user is received, responding to the third operation request and executing the shooting operation.
In the foregoing embodiments, the descriptions of the respective embodiments have respective emphasis, and for parts that are not described in detail in a certain embodiment, reference may be made to related descriptions of other embodiments.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by a computer program, which can be stored in a computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. The storage medium may be a magnetic disk, an optical disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), or the like.
The above disclosure is only for the purpose of illustrating the preferred embodiments of the present invention, and it is therefore to be understood that the invention is not limited by the scope of the appended claims.
Claims (7)
1. A method for responding to a key request, comprising:
receiving a first operation request triggered by clicking a fingerprint key on a terminal by a finger of a user, wherein the first operation request comprises an application opening request or an unlocking request;
acquiring target fingerprint data of the finger, and searching whether fingerprint data matched with the target fingerprint data exists in a preset fingerprint database;
if the current use state is the locked state, the first operation request is used as an unlocking request, the terminal is unlocked, and a preset unlocking interface is entered; if a second operation request triggered by the user to click the fingerprint key is received, responding to the second operation request, and entering an application interface of a target application associated with the fingerprint key, wherein the click operation comprises click operation or double click operation, and the user enters application interfaces of different target applications according to the click operation or double click of the fingerprint key when clicking the fingerprint key;
if the current use state of the terminal is detected to be an unlocking state, the first operation request is used as an application opening request, and when fingerprint data matched with the acquired target fingerprint data exist in the database, an application interface of a target application corresponding to the application opening request is displayed;
if the target application is a shooting application, after an application interface of the target application associated with the fingerprint key is entered, if a third operation request triggered by clicking operation of the fingerprint key by a user is received, responding to the third operation request, and executing shooting operation;
after receiving a first operation request triggered by a user finger clicking a fingerprint key on a terminal and before acquiring target fingerprint data of the finger, the method further comprises the following steps:
detecting screen states of the terminal, wherein the screen states comprise a screen-off state and a screen-on state;
and if the screen state is detected to be the screen off state, changing the screen state of the terminal into the screen on state.
2. The method of claim 1, wherein before the receiving the first operation request triggered by the finger of the user clicking the fingerprint key on the terminal, the method further comprises:
receiving a fingerprint preset request carrying user fingerprint data;
and storing the user fingerprint data to a preset fingerprint database according to the fingerprint preset request.
3. The method of claim 1, wherein entering an application interface of a target application associated with the fingerprint key in response to the second operation request comprises:
analyzing the second operation request;
if the second operation request is obtained through analysis and is triggered by the user clicking the fingerprint key, responding to the second operation request, and entering a preset application interface of a first target application; or,
and if the second operation request is obtained through analysis and is triggered by the user performing double-click operation on the fingerprint key, responding to the second operation request and entering a preset application interface of a second target application.
4. A device for responding to a key request, comprising:
the terminal comprises a first receiving module, a second receiving module and a third receiving module, wherein the first receiving module is used for receiving a first operation request triggered by a finger of a user clicking a fingerprint key on the terminal, and the first operation request comprises an application opening request or an unlocking request;
the searching module is used for acquiring target fingerprint data of the finger and searching whether fingerprint data matched with the target fingerprint data exists in a preset fingerprint database;
the first response module is used for detecting the current use state of the terminal when the search result of the search module is that the fingerprint data matched with the target fingerprint data exists in the fingerprint database, wherein the use state comprises a locking state and an unlocking state, and when the current use state is detected to be the locking state, the first operation request is used as an unlocking request, the terminal is unlocked, and a preset unlocking interface is entered;
the second response module is used for responding to a second operation request triggered by clicking operation of the fingerprint key by a user and entering an application interface of a target application associated with the fingerprint key, wherein the clicking operation comprises single-click operation or double-click operation, and the user enters application interfaces of different target applications according to the single-click operation or the double-click operation when clicking the fingerprint key; and the first operation request is used as an application opening request if the current use state of the terminal is detected to be an unlocking state, and an application interface of a target application corresponding to the application opening request is displayed when fingerprint data matched with the acquired target fingerprint data exists in the database;
the shooting module is used for responding to a third operation request triggered by clicking operation of the fingerprint key by a user and executing shooting operation after entering an application interface of the target application associated with the fingerprint key when the target application is the shooting application;
the first operation request comprises an unlocking request; the device further comprises:
the terminal comprises a detection module, a display module and a display module, wherein the detection module is used for detecting the screen state of the terminal, and the screen state comprises a screen-off state and a screen-on state;
and the state changing module is used for changing the screen state of the terminal into the bright screen state when the detecting module detects that the screen state is the screen-off state.
5. The apparatus of claim 4, further comprising:
the second receiving module is used for receiving a fingerprint preset request carrying user fingerprint data;
and the storage module is used for storing the user fingerprint data to a preset fingerprint database according to the fingerprint preset request received by the second receiving module.
6. The apparatus of claim 4, wherein the second response module comprises:
the analysis unit is used for analyzing the second operation request;
the first response unit is used for responding to the second operation request and entering a preset application interface of a first target application when the second operation request obtained by the analysis of the analysis unit is triggered by the clicking operation of the user on the fingerprint key; or,
and the second response unit is used for responding to the second operation request and entering a preset application interface of a second target application when the second operation request obtained by the analysis of the analysis unit is triggered by the double-click operation of the user on the fingerprint key.
7. A terminal, characterized in that it comprises means for responding to a key request according to any of claims 4-6.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410848202.1A CN104618577B (en) | 2014-12-30 | 2014-12-30 | A kind of response method and device of button request |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410848202.1A CN104618577B (en) | 2014-12-30 | 2014-12-30 | A kind of response method and device of button request |
Publications (2)
Publication Number | Publication Date |
---|---|
CN104618577A CN104618577A (en) | 2015-05-13 |
CN104618577B true CN104618577B (en) | 2018-05-29 |
Family
ID=53152846
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201410848202.1A Active CN104618577B (en) | 2014-12-30 | 2014-12-30 | A kind of response method and device of button request |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104618577B (en) |
Families Citing this family (18)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106375545A (en) * | 2015-07-24 | 2017-02-01 | 中兴通讯股份有限公司 | Terminal control method and terminal control device |
CN105117135A (en) * | 2015-09-16 | 2015-12-02 | 广东欧珀移动通信有限公司 | Photographing method and device used in terminal standby state |
CN105187654A (en) * | 2015-09-16 | 2015-12-23 | 广东欧珀移动通信有限公司 | Recording method and apparatus when terminal is under the standby state |
CN105159726A (en) * | 2015-09-16 | 2015-12-16 | 广东欧珀移动通信有限公司 | Method and apparatus for quickly starting camera function |
CN105117137A (en) * | 2015-09-16 | 2015-12-02 | 广东欧珀移动通信有限公司 | Photographing method and device used in terminal standby state and mobile terminal |
CN105278838B (en) * | 2015-09-28 | 2019-11-26 | 联想(北京)有限公司 | Electronic equipment and control method |
CN106611113A (en) * | 2015-10-21 | 2017-05-03 | 中兴通讯股份有限公司 | Security environment construction method and apparatus |
CN105787316A (en) * | 2016-02-29 | 2016-07-20 | 联想(北京)有限公司 | Information processing method and electronic device |
CN105760738B (en) * | 2016-03-15 | 2017-08-25 | 广东欧珀移动通信有限公司 | The method and terminal of a kind of unlocked by fingerprint |
CN106022071B (en) * | 2016-05-31 | 2019-04-09 | Oppo广东移动通信有限公司 | A kind of method and terminal of unlocked by fingerprint |
CN106126105A (en) * | 2016-06-30 | 2016-11-16 | 深圳市金立通信设备有限公司 | The operational approach of a kind of terminal and terminal |
CN109791463A (en) * | 2016-08-22 | 2019-05-21 | 敦泰电子有限公司 | A kind of fingerprint recognition program starting method, fingerprint recognition mould group and electronic equipment |
CN106250884A (en) * | 2016-08-26 | 2016-12-21 | 广东欧珀移动通信有限公司 | Fingerprint identification method, device and terminal unit |
CN106445327A (en) * | 2016-08-31 | 2017-02-22 | 维沃移动通信有限公司 | Method for calling out message notification bar and mobile terminal |
CN108052260B (en) * | 2017-11-29 | 2021-12-17 | 努比亚技术有限公司 | Mobile terminal operation response method, mobile terminal and readable storage medium |
CN108021796A (en) * | 2017-12-25 | 2018-05-11 | 广东欧珀移动通信有限公司 | Using unlocking method, device and electronic equipment |
CN110166618B (en) * | 2018-02-12 | 2020-11-10 | 北京小米移动软件有限公司 | Screen control method and device |
CN108776751A (en) * | 2018-05-02 | 2018-11-09 | 青岛海信医疗设备股份有限公司 | Multi-user's fingerprint login method and medical terminal |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102833423A (en) * | 2012-09-24 | 2012-12-19 | 武汉大学 | Touch screen mobile phone based on fingerprint identification and login unlocking method for touch screen mobile phone |
CN103838992A (en) * | 2014-03-03 | 2014-06-04 | 宇龙计算机通信科技(深圳)有限公司 | Fingerprint identifying method and terminal |
CN103886237A (en) * | 2014-03-26 | 2014-06-25 | 深圳市亚略特生物识别科技有限公司 | Control method and system for electronic device with fingerprint sensor and touch screen |
CN104036177A (en) * | 2014-07-03 | 2014-09-10 | 南昌欧菲生物识别技术有限公司 | Intelligent terminal fingerprint unlocking device and method |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102279923A (en) * | 2010-06-12 | 2011-12-14 | 安凯(广州)微电子技术有限公司 | Multi-fingerprint encryption method for raising encryption level |
CN103064515A (en) * | 2012-12-18 | 2013-04-24 | 广东欧珀移动通信有限公司 | Method and device capable of achieving fast entering function based on fingerprint recognition |
-
2014
- 2014-12-30 CN CN201410848202.1A patent/CN104618577B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102833423A (en) * | 2012-09-24 | 2012-12-19 | 武汉大学 | Touch screen mobile phone based on fingerprint identification and login unlocking method for touch screen mobile phone |
CN103838992A (en) * | 2014-03-03 | 2014-06-04 | 宇龙计算机通信科技(深圳)有限公司 | Fingerprint identifying method and terminal |
CN103886237A (en) * | 2014-03-26 | 2014-06-25 | 深圳市亚略特生物识别科技有限公司 | Control method and system for electronic device with fingerprint sensor and touch screen |
CN104036177A (en) * | 2014-07-03 | 2014-09-10 | 南昌欧菲生物识别技术有限公司 | Intelligent terminal fingerprint unlocking device and method |
Also Published As
Publication number | Publication date |
---|---|
CN104618577A (en) | 2015-05-13 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104618577B (en) | A kind of response method and device of button request | |
RU2643473C2 (en) | Method and tools for fingerprinting identification | |
CN106687969B (en) | method and terminal equipment for protecting privacy information | |
WO2020156194A1 (en) | Fingerprint unlocking method and device, terminal and storage medium | |
CN104077518A (en) | Device and method for unlocking and executing application | |
CN104899056A (en) | Mobile terminal of entering and restrictedly using application in screen locked state and method | |
CN105425941A (en) | Method and apparatus for preventing erroneous start-up of application in mobile terminal | |
CN104809174A (en) | Opening method of terminal application | |
CN104769601B (en) | Identify the method and electronic equipment of user identity | |
WO2017008348A1 (en) | Data card switching control method and apparatus, and terminal device | |
JP2019504566A (en) | Information image display method and apparatus | |
CN105653171A (en) | Fingerprint identification based terminal control method, terminal control apparatus and terminal | |
CN107087075B (en) | Prompting method based on screen fingerprint identification and mobile terminal | |
CN111866270A (en) | Application program control method and device and electronic equipment | |
CN105528170A (en) | Starting method and apparatus of applications | |
US20170039414A1 (en) | Electronic device | |
CN104808899A (en) | Terminal | |
CN112462990A (en) | Image sending method and device and electronic equipment | |
CN112311795A (en) | Account management method and device and electronic equipment | |
CN107563163A (en) | A kind of screen unlocked by fingerprint method and terminal | |
CN113869063A (en) | Data recommendation method and device, electronic equipment and storage medium | |
CN113347306A (en) | Business name display method and device, electronic equipment and storage medium | |
CN112287713A (en) | Two-dimensional code identification method and device | |
CN109543431B (en) | Application encryption method and device, electronic equipment and storage medium | |
CN103870378A (en) | Monitoring method for terminal device and terminal device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
CP01 | Change in the name or title of a patent holder | ||
CP01 | Change in the name or title of a patent holder |
Address after: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18 Patentee after: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd. Address before: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18 Patentee before: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd. |