WO2016131283A1 - 终端的控制方法和装置 - Google Patents

终端的控制方法和装置 Download PDF

Info

Publication number
WO2016131283A1
WO2016131283A1 PCT/CN2015/091782 CN2015091782W WO2016131283A1 WO 2016131283 A1 WO2016131283 A1 WO 2016131283A1 CN 2015091782 W CN2015091782 W CN 2015091782W WO 2016131283 A1 WO2016131283 A1 WO 2016131283A1
Authority
WO
WIPO (PCT)
Prior art keywords
button
fingerprint information
fingerprint
terminal
mapping relationship
Prior art date
Application number
PCT/CN2015/091782
Other languages
English (en)
French (fr)
Inventor
王海飞
Original Assignee
中兴通讯股份有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 中兴通讯股份有限公司 filed Critical 中兴通讯股份有限公司
Publication of WO2016131283A1 publication Critical patent/WO2016131283A1/zh

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
    • 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/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/725Cordless telephones

Definitions

  • the present invention relates to the field of terminal equipment technologies, and in particular, to a terminal control method and apparatus.
  • buttons or virtual buttons and the like are usually set on the terminal device, and the terminals are operated by these buttons.
  • the mobile phone in order to perform normal operations, the mobile phone generally has six physical buttons, including three physical buttons, a power button, a volume up button, and a volume down button, and three touch screen buttons, such as a HOME button, a BACK button, and a MENU button. .
  • These six physical buttons are usually distributed on the side of the mobile phone or under the touch screen, so that the structure of the mobile phone should consider the rationality of the button position, and the material and hardware cost of the mobile phone need to be increased.
  • the touch buttons distributed under the touch screen increase the cost of the touch screen of the mobile phone.
  • the only thing the user can do is to change the button, which brings great inconvenience to the user.
  • using these six physical buttons to operate the phone is not convenient enough.
  • the embodiment of the invention provides a method and a device for controlling a terminal, which aims to at least improve the convenience of operation of the terminal and reduce the manufacturing cost of the terminal button.
  • an embodiment of the present invention provides a method for controlling a terminal, including the following steps:
  • the terminal When the terminal enters the fingerprint learning mode, acquiring the to-be-learned button and the fingerprint information corresponding to the to-be-learned button input by the user;
  • the method After the generating and saving the mapping relationship between the to-be-learned button and its corresponding fingerprint information, the method includes:
  • the fingerprint information includes a single fingerprint information or a combination of a plurality of fingerprint information.
  • the fingerprint information includes a duration of a touch operation corresponding to the fingerprint information, and if there is a button that matches the fingerprint information, performing a corresponding operation according to the button includes:
  • the button includes a power button, a volume plus button, a volume down button, a home button, a back button, a menu button, a screen capture button, and a camera button.
  • the embodiment of the present invention further provides a terminal control apparatus, including:
  • the determining module is configured to determine, according to the preset mapping relationship between the fingerprint information and the button, whether there is a button matching the fingerprint information when detecting that the fingerprint information input area of the fingerprint is input by the terminal;
  • the execution module is configured to perform a corresponding operation according to the button if there is a button matching the fingerprint information.
  • the control device of the terminal further includes:
  • the first obtaining module is configured to: when the terminal enters the fingerprint learning mode, acquire the to-be-learned button and the fingerprint information corresponding to the to-be-learned button input by the user;
  • the saving module is configured to generate and save a mapping relationship between the to-be-learned button and its corresponding fingerprint information.
  • the control device of the terminal further includes:
  • a receiving module configured to receive an update request of the preset mapping relationship
  • a second acquiring module configured to: when the receiving module receives the update request, acquire a button to be updated according to the update request, and acquire fingerprint information to be updated that is input by the user based on the to-be-updated button;
  • an update module configured to update a mapping relationship between the to-be-updated button and the fingerprint information based on the to-be-updated fingerprint information.
  • the fingerprint information includes a single fingerprint information or a combination of a plurality of fingerprint information.
  • the fingerprint information includes a duration of a touch operation corresponding to the fingerprint information
  • the execution module includes:
  • An obtaining unit configured to acquire, according to the fingerprint information, a duration of a touch operation corresponding to the fingerprint information
  • the execution unit is configured to determine a trigger event of the button according to the mapping relationship between the duration and the trigger event, and execute the trigger event.
  • the button includes a power button, a volume plus button, a volume down button, a home button, a back button, a menu button, a screen capture button, and a camera button.
  • the terminal when there is fingerprint information input in the fingerprint input area preset by the terminal, according to the preset mapping relationship between the fingerprint information and the button, if there is a button matching the fingerprint information, the corresponding operation is performed according to the button.
  • the terminal can enable the corresponding operation by using the fingerprint recognition function instead of the button, and the convenience of the terminal operation is improved relative to the operation of the terminal by the physical button or the virtual button.
  • the terminal does not need to set a button, which reduces the manufacturing cost of the terminal.
  • FIG. 1 is a schematic flowchart of a first embodiment of a method for controlling a terminal according to the present invention
  • FIG. 2 is a schematic flowchart of the refinement of step S20 in FIG. 1 according to the present invention
  • FIG. 3 is a schematic flowchart of a second embodiment of a method for controlling a terminal according to the present invention.
  • FIG. 4 is a schematic flowchart of a third embodiment of a method for controlling a terminal according to the present invention.
  • FIG. 5 is a schematic diagram of functional modules of a first embodiment of a control device for a terminal according to the present invention.
  • FIG. 6 is a schematic diagram of a refinement function module of the execution module in FIG. 5 according to the present invention.
  • FIG. 7 is a schematic diagram of functional modules of a second embodiment of a control apparatus for a terminal according to the present invention.
  • FIG. 8 is a schematic diagram of functional modules of a third embodiment of a control apparatus for a terminal according to the present invention.
  • a first embodiment of a control method for a terminal of the present invention is shown.
  • the type of the terminal in this embodiment may be set according to actual needs.
  • the terminal is preferably a mobile phone.
  • a mobile phone is taken as an example for detailed description.
  • Step S10 When detecting that there is fingerprint information input in the fingerprint input area preset by the terminal, determining, according to the preset mapping relationship between the fingerprint information and the button, whether there is a button matching the fingerprint information;
  • the fingerprint input area is preset on the mobile phone, and is set to receive the fingerprint information input by the user.
  • the setting position, number, shape and size of the fingerprint input area can be flexibly set according to actual needs.
  • the number of settings of the fingerprint input area is preferably one, and the fingerprint input area can be set on the side of the mobile phone, below the touch screen or on the back side, etc.
  • the fingerprint input area The shape of the domain can be set to a circular area or a square area or the like.
  • the preset mapping relationship between the fingerprint information and the button is preset, and is stored by the fingerprint storage module preset by the mobile phone.
  • the fingerprint processing module preset by the mobile phone identifies and filters the input fingerprint information, and determines whether the fingerprint information is valid input.
  • the effective mode may be: when the fingerprint information is input, the pressing area corresponding to the touch operation corresponding to the fingerprint information occupying the fingerprint input area exceeds a preset threshold, and then the input is valid.
  • the preset threshold can be 90%, and can also be set according to actual needs.
  • the button may include a power button, a volume plus button, a volume down button, a home button, a back button, a menu button, a screen capture button, a clear background application button, a notification center button, a screen lock button, a web page button, and the like.
  • the input fingerprint information when the input fingerprint information is invalid, it can be set to display an interface indicating that the fingerprint information is invalid, so that the user knows that the reason that the mobile phone is not reflected is due to invalid input of the fingerprint information, instead of having other aspects of the mobile phone. something is wrong.
  • the operation is not performed because the fingerprint corresponding to the fingerprint information is not stored in the fingerprint storage module.
  • an interface for displaying the preset mapping relationship between the fingerprint information and the button may be set to prompt the user to perform the operation. The correct operation.
  • Step S20 If there is a button matching the fingerprint information, perform a corresponding operation according to the button.
  • the fingerprint information includes a single fingerprint information or a combination of a plurality of fingerprint information.
  • the user can press a single finger in the fingerprint input area to obtain the fingerprint information of the single finger, and perform a corresponding operation according to the key that matches the fingerprint information of the single finger.
  • the user may simultaneously press a plurality of fingers in the fingerprint input area to input a combination of multiple fingerprint information, obtain the multiple fingerprint information, and perform corresponding operations according to the keys that match the multiple fingerprint information.
  • the fingerprint information further includes a duration of the touch operation corresponding to the fingerprint information, and a button related to the duration of the touch operation in the fingerprint information, for example, a long press and a short press function of the button.
  • a button related to the duration of the touch operation in the fingerprint information for example, a long press and a short press function of the button.
  • Step S21 Acquire, according to the fingerprint information, a duration of a touch operation corresponding to the fingerprint information
  • Step S22 Determine a trigger event of the button according to a mapping relationship between the duration and a trigger event, and execute the trigger event.
  • the duration of the acquisition may be: 1) Method 1: When the user presses the finger in the fingerprint input area to perform a touch operation, the recording module of the mobile phone preset is triggered to record the time at this time, and when touched At the end of the operation, the time of the moment is recorded, and then the start time and the end time of the recorded touch operation are made to be different to obtain the duration of the touch operation; 2) Method 2: the user presses the finger every time in the fingerprint input area After the touch operation, the recording module that triggers the mobile phone preset starts timing, and stops counting after the finger leaves to obtain the duration of the touch operation. Then, according to the mapping relationship between the duration and the trigger event, the trigger event of the button is determined, and the corresponding operation is performed according to the trigger event.
  • the manner of obtaining the duration of the foregoing is only an enumeration of the specific embodiments, and other manners of obtaining the duration for performing the corresponding operations proposed by those skilled in the art are within the protection scope of the present invention.
  • the mapping relationship between the duration and the trigger event is set in advance, as shown in Table 1, for example, when the duration of the touch operation is located in the interval (t3, t4), the trigger event A3 of the trigger button is triggered.
  • t1, t2 The time of t6 and the events of A1, A2...A5 can be set according to actual needs. The following is an example: Assume that when the duration of the touch operation is at [1s, 3s], the short press event of the trigger button is triggered. Short press function. When the duration of the touch operation is at (10s, 15s), trigger the button to press and hold the event to realize the long press function. It can be understood that the mapping between the duration and the trigger event in Table 1 can be The invention is flexible depending on the circumstances, and does not limit the present invention.
  • the built-in operating system of the mobile phone is based on the button.
  • the key value performs the corresponding operation. If there is no matching button in the fingerprint information, no operation will be triggered, that is, the mobile phone does not display any information until the user inputs the correct operation.
  • the mobile phone may not be provided with any button, and the functions implemented by all the buttons are replaced by fingerprint information input. Therefore, the cost of the design of the mobile phone button can be saved, and at the same time, the structural design of the mobile phone can be made more flexible, and the mobile phone looks more beautiful.
  • the mobile phone can also set some buttons, and the other functions are replaced by fingerprint information input.
  • the mobile phone can set some buttons, and the functions of the buttons can further set matching fingerprint information, and the functions implemented by other buttons are replaced by fingerprint information input. In this way, when the button of the mobile phone is damaged, the function realized by the button can be replaced by the fingerprint information input.
  • the touch screen of the LCD display area can still be used normally, but the touch key is completely disabled. In this case, the user does not need to change the screen.
  • the function of replacing the touch button is input through the preset fingerprint information, and the problem that the mobile phone is difficult to use after the partial physical button is damaged is solved, and the operation is very convenient, which brings great convenience to the user.
  • the mobile phone when there is fingerprint information input in the fingerprint input area preset by the mobile phone, according to the preset mapping relationship between the fingerprint information and the button, when there is a button matching the fingerprint information, the corresponding operation is performed according to the button. It realizes the replacement of different keys with fingerprint information, so that the mobile phone can realize the corresponding operation by replacing the keys with the fingerprint recognition function, thereby improving the convenience of the user's operation on the mobile phone. In addition, the phone can reduce the cost of the phone without setting any buttons.
  • the foregoing step S10 may include:
  • Step S30 when the terminal enters the fingerprint learning mode, acquiring the to-be-learned button and the fingerprint information corresponding to the to-be-learned button input by the user;
  • Step S40 Generate and save a mapping relationship between the to-be-learned button and its corresponding fingerprint information.
  • the fingerprint storage module built in the mobile phone does not store the information of the preset mapping relationship between the fingerprint information and the button, or the fingerprint built in the mobile phone when the mobile phone is restored for the first time after the factory setting is restored.
  • the information of the preset mapping relationship between the fingerprint information stored in the storage module and the button has been cleared.
  • the phone will enter the fingerprint learning mode after booting.
  • the fingerprint learning module preset by the mobile phone will automatically pop up a prompt box to display all the buttons that need to be learned. The user can select the buttons to be learned one by one and pass the button.
  • the fingerprint input module inputs the fingerprint information corresponding to the button to be learned, and then determines the preset mapping relationship between the fingerprint information and the button, and is stored by the fingerprint storage module. Or, after the mobile phone is booted into the fingerprint learning mode, a button to be learned is first popped up for the user to input the fingerprint information matching the button, and then the next button to be learned is popped up, and the fingerprint information is continuously input until the learning of all the buttons is completed. . Of course, some buttons can also be selected and set.
  • the fingerprint learning module requires the user to input a fingerprint information.
  • the user inputs the fingerprint information through the fingerprint input module, and after the fingerprint input module collects the fingerprint information, performs data processing, and determines whether the input fingerprint information meets the preset condition. If the user is satisfied, the user manually clicks the confirmation to complete the setting of the button to be learned and takes effect.
  • the fingerprint storage module stores the to-be-learned button and the corresponding fingerprint information as a group; if not, the user is required to re-enter the fingerprint. information.
  • the preset condition may be the fingerprint information input by the user, and the corresponding pressing area corresponding to the touch operation fills the input area of the entire fingerprint input module.
  • the fingerprint learning mode is exited to generate a preset mapping relationship between the fingerprint information and the button, as shown in Table 2.
  • the duration of the touch operation is located in the first preset time interval and the duration of the touch operation is located in the second preset time interval, and can be set according to Table 1 above.
  • the user While inputting the fingerprint information, the name of the finger corresponding to the fingerprint information may be manually input in the input box corresponding to the setting interface, so as to prevent the user from forgetting the finger corresponding to the fingerprint information in the mapping relationship.
  • the mobile phone when the user correctly inputs the fingerprint information of the thumb of the left hand to the fingerprint input module, the mobile phone can be triggered to open the camera for taking a photo. It can be understood that the preset mapping relationship between the fingerprint information and the button in Table 2 can be flexibly set according to specific circumstances, and does not limit the present invention.
  • the user can perform corresponding operations on the mobile phone according to the preset mapping relationship. It can be understood that one fingerprint information may be set corresponding to one button, or one fingerprint information may be corresponding to multiple buttons, or multiple fingerprint information may be set corresponding to one button. If a fingerprint information corresponds to a plurality of buttons, when the user inputs the fingerprint information through the fingerprint input module, the mobile phone displays a selection interface for listing all the buttons corresponding to the fingerprint information stored in advance, for the user to select one of the buttons. To achieve the corresponding operation according to the button. If a plurality of fingerprint information corresponds to one button, not only when the fingerprint of one finger of the user is abnormal, but another finger is used for operation, and when the fingerprint information of different users is stored, different users can operate the mobile phone. .
  • step S40 may include the following steps:
  • Step S50 Receive an update request of the preset mapping relationship, and obtain a button to be updated according to the update request.
  • Step S60 Acquire fingerprint information to be updated that is input by the user based on the to-be-updated button
  • Step S70 Update a mapping relationship between the to-be-updated button and the fingerprint information based on the to-be-updated fingerprint information.
  • the preset mapping relationship between the fingerprint information and the button may be updated according to the user's preference or according to actual needs. Specifically, the user can re-customize the mapping relationship by entering a setting interface of the preset mapping relationship between the fingerprint information and the button. For example, in the preset mapping relationship of Table 1 above, the button matching the fingerprint information of the right thumb is updated to the power key.
  • the user inputs the fingerprint information in the fingerprint input area, and operates the setting interface of the mobile phone to display the preset mapping relationship between the fingerprint information and the button. Then, in the setting interface, the user selects one of the to-be-updated buttons as needed, selects to re-customize, and then re-enters the fingerprint information to be updated in the fingerprint input module, and manually inputs the to-be-updated in the corresponding input box.
  • the fingerprint information corresponds to the name of the finger for labeling.
  • the fingerprint storage module associates the to-be-updated button and the corresponding fingerprint information as a group. Thereby, the mapping relationship between the button to be updated and the fingerprint information is updated based on the fingerprint information to be updated.
  • the update method may also be that when the fingerprint information input by the user does not have a corresponding matching button, it will pop up whether it is needed.
  • the selection interface of the preset mapping relationship is updated, and when the user selects "Yes" to enter the setting interface, the user can select to update.
  • the user forgets the preset mapping relationship based on the above, the user can enter the interface to view, so that the correct operation can be performed.
  • FIG. 5 a first embodiment of a control device for a terminal of the present invention is proposed.
  • the type of the terminal in this embodiment may be set according to actual needs.
  • the terminal is preferably a mobile phone.
  • a mobile phone is taken as an example for detailed description.
  • the determining module 100 is configured to determine, according to the preset mapping relationship between the fingerprint information and the button, whether there is a button matching the fingerprint information when detecting that the fingerprint information input is preset in the fingerprint input area of the terminal;
  • the fingerprint input area is preset on the mobile phone, and is set to receive the fingerprint information input by the user.
  • the setting position, number, shape and size of the fingerprint input area can be flexibly set according to actual needs.
  • the number of the fingerprint input areas is preferably one.
  • the fingerprint input area can be set on the side of the mobile phone, below the touch screen or on the back side, and the shape of the fingerprint input area can be set as a circular area or a square area.
  • the preset mapping relationship between the fingerprint information and the button is preset, and is stored by the fingerprint storage module preset by the mobile phone.
  • the fingerprint processing module preset by the mobile phone identifies and filters the input fingerprint information, and the determination module 100 determines the fingerprint information. Whether it is a valid input.
  • the effective mode may be: when the fingerprint information is input, the pressing area corresponding to the touch operation corresponding to the fingerprint information occupying the fingerprint input area exceeds a preset threshold, and then the input is valid.
  • the preset threshold can be 90%, and can also be set according to actual needs.
  • the determining module 100 further determines whether there is a button that matches the fingerprint information, that is, searches for the fingerprint information pre-stored by the fingerprint storage module according to the preset mapping relationship, and if the matching fingerprint information is searched, the button that matches the fingerprint information exists. If the matching fingerprint information is not found, it means that there is no button matching the fingerprint information.
  • the button may include a power button, a volume plus button, a volume down button, a home button, a back button, a menu button, a screen capture button, a clear background application button, a notification center button, a screen lock button, a web page button, and the like.
  • the input fingerprint information when the input fingerprint information is invalid, it can be set to display an interface indicating that the fingerprint information is invalid, so that the user knows that the reason that the mobile phone is not reflected is due to invalid input of the fingerprint information, instead of having other aspects of the mobile phone. something is wrong.
  • the operation is not performed because the fingerprint corresponding to the fingerprint information is not stored in the fingerprint storage module.
  • an interface for displaying the preset mapping relationship between the fingerprint information and the button may be set to prompt the user to perform the operation. The correct operation.
  • the execution module 200 is configured to perform a corresponding operation according to the button if there is a button matching the fingerprint information.
  • the fingerprint information includes a single fingerprint information or a plurality of fingerprint information.
  • the user may press a single finger in the fingerprint input area to obtain fingerprint information of the single finger, and the execution module 200 performs corresponding according to the button matching the fingerprint information of the single finger. operating. Or the user can be in the fingerprint input area When a plurality of fingers are pressed to input a combination of the plurality of fingerprint information, the plurality of fingerprint information is obtained, and the execution module 200 performs a corresponding operation according to the button matching the plurality of fingerprint information.
  • the fingerprint information further includes a duration of the touch operation corresponding to the fingerprint information, and a button related to the duration of the touch operation in the fingerprint information, for example, a long press and a short press function of the button.
  • the foregoing execution module 200 in this embodiment may include:
  • the obtaining unit 210 is configured to acquire, according to the fingerprint information, a duration of a touch operation corresponding to the fingerprint information;
  • the executing unit 220 is configured to determine a trigger event of the button according to a mapping relationship between the duration and the trigger event, and execute the trigger event.
  • the acquisition manner of the duration may be: 1) Method 1: When the user presses the finger in the fingerprint input area to generate a touch operation, the obtaining unit 210 records the time of the recording module triggered by the mobile phone to record the time. And recording the time of the moment when the touch operation ends, and then performing the difference between the start time and the end time of the recorded touch operation to obtain the duration of the touch operation; 2) Method 2: the user presses each time in the fingerprint input area After the touch operation is performed on the lower finger, the acquiring unit 210 starts the counting of the recording module that triggers the mobile phone preset, and stops timing after the finger leaves to obtain the duration of the touch operation.
  • the execution unit 220 determines a trigger event of the button according to the mapping relationship between the duration and the trigger event, and performs a corresponding operation according to the trigger event.
  • the manner of obtaining the duration of the foregoing is only an enumeration of the specific embodiments, and other manners of obtaining the duration for performing the corresponding operations proposed by those skilled in the art are within the protection scope of the present invention.
  • the mapping relationship between the duration and the trigger event is set in advance, as shown in Table 1.
  • the trigger event A3 of the trigger button is triggered, wherein the times of t1, t2, ... t6 and the events of A1, A2, ..., A5 can be set according to actual needs. For example: Assume that when the duration of the touch operation is at [1s, 3s], the short press event of the trigger button is triggered to achieve the short press function. When the duration of the touch operation is at (10s, 15s), the length of the trigger button is Pressing the event to implement the long press function. It can be understood that the mapping relationship between the duration of the time and the trigger event in Table 1 can be flexibly set according to the specific situation, and does not limit the present invention.
  • the built-in operating system of the mobile phone When the user inputs the fingerprint information through the fingerprint input area preset by the mobile phone, when the input fingerprint information and the fingerprint information in the fingerprint storage module match successfully, that is, the fingerprint information has a matching button, the built-in operating system of the mobile phone will invoke the execution.
  • the module 200 performs a corresponding operation according to the key value of the button. If there is no matching button in the fingerprint information, no operation will be triggered, that is, the mobile phone does not display any information until the user inputs the correct operation.
  • the mobile phone may not be provided with any button, and the functions implemented by all the buttons are replaced by fingerprint information input. Therefore, the cost of the design of the mobile phone button can be saved, and at the same time, the structural design of the mobile phone can be made more flexible, and the mobile phone looks more beautiful.
  • the phone can also set some buttons, while the other buttons are implemented.
  • the functions are replaced by fingerprint information input.
  • the mobile phone can set some buttons, and the functions of the buttons can further set matching fingerprint information, and the functions implemented by other buttons are replaced by fingerprint information input. In this way, when the button of the mobile phone is damaged, the function realized by the button can be replaced by the fingerprint information input.
  • the touch screen of the LCD display area can still be used normally, but the touch key is completely disabled. In this case, the user does not need to change the screen.
  • the function of replacing the touch button is input through the preset fingerprint information, and the problem that the mobile phone is difficult to use after the partial physical button is damaged is solved, and the operation is very convenient, which brings great convenience to the user.
  • the terminal when there is fingerprint information input in the fingerprint input area preset by the mobile phone, according to the preset mapping relationship between the fingerprint information and the button, when there is a button matching the fingerprint information, the corresponding operation is performed according to the button. It realizes the replacement of different keys with fingerprint information, so that the mobile phone can realize the corresponding operation by replacing the keys with the fingerprint recognition function, thereby improving the convenience of the user's operation on the mobile phone.
  • the terminal can reduce the cost of the mobile phone without setting a button.
  • control device of the terminal in the embodiment further includes:
  • the first obtaining module 300 is configured to: when the terminal enters the fingerprint learning mode, acquire the to-be-learned button and the fingerprint information corresponding to the to-be-learned button input by the user;
  • the saving module 400 is configured to generate and save a mapping relationship between the to-be-learned button and its corresponding fingerprint information.
  • the fingerprint storage module built in the mobile phone does not store the information of the preset mapping relationship between the fingerprint information and the button, or the fingerprint built in the mobile phone when the mobile phone is restored for the first time after the factory setting is restored.
  • the information of the preset mapping relationship between the fingerprint information stored in the storage module and the button has been cleared. In both cases, the mobile phone will enter the fingerprint learning mode after being powered on.
  • the first obtaining module 300 automatically pops up a prompt box for the fingerprint learning module preset by the mobile phone, and lists all the keys that need to be learned by the list, and the user can perform
  • the button to be learned is selected one by one, and the fingerprint information corresponding to the button to be learned is input through the fingerprint input module, and then the preset mapping relationship between the fingerprint information and the button is generated by the save module 400, and is stored by the fingerprint storage module.
  • a button to be learned is first popped up for the user to input the fingerprint information matching the button, and then the next button to be learned is popped up, and the fingerprint information is continuously input until the learning of all the buttons is completed.
  • some buttons can also be selected and set.
  • the fingerprint learning module requires the user to input a fingerprint information.
  • the user inputs the fingerprint information through the fingerprint input module, and after the fingerprint input module collects the fingerprint information, performs data processing, and determines whether the input fingerprint information meets the preset condition. If the user is satisfied, the user manually clicks the confirmation to complete the setting of the button to be learned and takes effect.
  • the fingerprint storage module stores the to-be-learned button and the corresponding fingerprint information as a group; if not, the user is required to re-enter the fingerprint. information.
  • the preset condition may be the fingerprint information input by the user, and the corresponding pressing area corresponding to the touch operation fills the input area of the entire fingerprint input module.
  • the fingerprint learning mode is exited to generate a preset mapping relationship between the fingerprint information and the button, as shown in Table 2.
  • the duration of the touch operation is located in the first preset time interval and the duration of the touch operation is located in the second preset time interval, and can be set according to Table 1 above.
  • the keys are matched, or the combination of the finger information of the fingers is matched with the corresponding button.
  • the user can manually input the name of the finger corresponding to the fingerprint information in the input box corresponding to the setting interface. In order to mark up, to prevent the user from forgetting the finger corresponding to the fingerprint information in the mapping relationship.
  • the mobile phone when the user correctly inputs the fingerprint information of the thumb of the left hand to the fingerprint input module, the mobile phone can be triggered to open the camera for taking a photo. It can be understood that the preset mapping relationship between the fingerprint information and the button in Table 2 can be flexibly set according to specific circumstances, and does not limit the present invention.
  • the user can perform corresponding operations on the mobile phone according to the preset mapping relationship. It can be understood that one fingerprint information may be set corresponding to one button, or one fingerprint information may be corresponding to multiple buttons, or multiple fingerprint information may be set corresponding to one button. If a fingerprint information corresponds to a plurality of buttons, when the user inputs the fingerprint information through the fingerprint input module, the mobile phone displays a selection interface for listing all the buttons corresponding to the fingerprint information stored in advance, for the user to select one of the buttons. To achieve the corresponding operation according to the button. If a plurality of fingerprint information corresponds to one button, not only when the fingerprint of one finger of the user is abnormal, but another finger is used for operation, and when the fingerprint information of different users is stored, different users can operate the mobile phone. .
  • control device of the terminal in the embodiment further includes:
  • the receiving module 500 is configured to receive an update request of the preset mapping relationship.
  • the second obtaining module 600 is configured to: when the receiving module receives the update request, acquire a button to be updated according to the update request, and acquire fingerprint information to be updated that is input by the user based on the to-be-updated button;
  • the updating module 700 is configured to update a mapping relationship between the to-be-updated button and the fingerprint information based on the to-be-updated fingerprint information.
  • the preset mapping relationship between the fingerprint information and the button may be updated according to the user's preference or according to actual needs. Specifically, the user can re-customize the mapping relationship by entering a setting interface of the preset mapping relationship between the fingerprint information and the button. For example, in the preset mapping relationship of Table 1 above, the button matching the fingerprint information of the right thumb is updated to the power key.
  • the user inputs the fingerprint information in the fingerprint input area, and operates the setting interface of the mobile phone to display the preset mapping relationship between the fingerprint information and the button. Then, in the setting interface, the receiving module 500 receives the user to select one of the to-be-updated keys as needed, and then selects to re-customize, and the second obtaining module 600 obtains the user to re-enter the fingerprint information to be updated in the fingerprint input module, and correspondingly In the input box, manually enter the name of the finger corresponding to the fingerprint information to be updated for labeling.
  • the update module 700 completes the update of the corresponding fingerprint information of the to-be-updated button, and the fingerprint storage module associates the to-be-updated button and the corresponding fingerprint information as a group. Thereby, the mapping relationship between the button to be updated and the fingerprint information is updated based on the fingerprint information to be updated.
  • the update method may also be that when the fingerprint information input by the user does not have a corresponding matching button, a selection interface for updating the preset mapping relationship is popped up. When the user selects “Yes” and enters the setting interface, the user may select to perform the selection interface. Update. When the user forgets the preset mapping relationship based on the above, the user can enter the interface to view, so that the correct operation can be performed.
  • a method and apparatus for controlling a terminal provided by an embodiment of the present invention have the following beneficial effects: enabling a terminal to perform a corresponding operation by using a fingerprint recognition function instead of a button, and operating the terminal with respect to a physical button or a virtual button. Improves the convenience of terminal operation. In addition, in this solution, the terminal does not need to set a button, which reduces the manufacturing cost of the terminal.

Abstract

本发明公开了一种终端的控制方法,所述终端的控制方法包括:当侦测到终端预置的指纹输入区域存在指纹信息输入时,根据所述指纹信息与按键的预设映射关系判断是否存在与所述指纹信息匹配的按键;若存在与所述指纹信息匹配的按键,则根据所述按键执行相应的操作。本发明还公开了一种终端的控制装置。本发明提高了对终端操作的便捷性,另外,终端不需要设置物理按键,降低了终端的成本。

Description

终端的控制方法和装置 技术领域
本发明涉及终端设备技术领域,尤其涉及一种终端的控制方法和装置。
背景技术
众所周知,在终端设备上通常会设置一些物理按键或虚拟按键等,并通过这些按键对终端进行操作。以手机为例,手机为了进行正常操作,一般都会设置六个物理按键,包括电源键、音量上键及音量下键等三个实体按键,以及HOME键、BACK键及MENU键等三个触摸屏按键。这六个物理按键通常分布在手机的侧面或触摸屏下方,使得手机在结构设计方面要考虑按键位置的合理性,而且需要增加手机的物料和硬件成本。而分布在触摸屏下方的触摸按键增加了手机的触摸屏成本。同时,当存在物理按键损坏而完全失效时,用户唯一能做的就是换按键,给用户带来极大的不便。另外,利用这六个物理按键对手机进行操作不够便捷。
发明内容
本发明实施例提供了一种终端的控制方法和装置,旨在至少提高对终端操作的便捷性,及减少对终端按键的制造成本。
为至少实现上述目的,本发明实施例提供了一种终端的控制方法,包括以下步骤:
当侦测到终端预置的指纹输入区域存在指纹信息输入时,根据所述指纹信息与按键的预设映射关系,判断是否存在与所述指纹信息匹配的按键;
若存在与所述指纹信息匹配的按键,则根据所述按键执行相应的操作。
所述当侦测到终端预置的指纹输入区域存在指纹信息输入时,根据所述指纹信息与按键的预设映射关系,判断是否存在与所述指纹信息匹配的按键之前包括:
当所述终端进入指纹学习模式时,获取待学习按键以及用户输入的所述待学习按键对应的所述指纹信息;
生成并保存所述待学习按键及其对应的指纹信息之间的映射关系。
所述生成并保存所述待学习按键及其对应的指纹信息之间的映射关系之后包括:
接收所述预设映射关系的更新请求,并根据所述更新请求获取待更新按键;
获取用户基于所述待更新按键输入的待更新指纹信息;
基于所述待更新指纹信息更新所述待更新按键与指纹信息之间的映射关系。
所述指纹信息包括单个指纹信息或者多个指指纹信息的组合。
所述指纹信息包括所述指纹信息对应的触摸操作的持续时长,所述若存在与所述指纹信息匹配的按键,则根据所述按键执行相应的操作包括:
根据所述指纹信息获取所述指纹信息对应的触摸操作的持续时长;
根据所述持续时长与触发事件的映射关系确定所述按键的触发事件,执行所述触发事件。
所述按键包括电源键、音量加键、音量减键、主页键、返回键、菜单键、截屏键及打开相机键。
此外,为至少实现上述目的,本发明实施例还提供了一种终端的控制装置,包括:
判断模块,设置为当侦测到终端预置的指纹输入区域存在指纹信息输入时,根据所述指纹信息与按键的预设映射关系,判断是否存在与所述指纹信息匹配的按键;
执行模块,设置为若存在与所述指纹信息匹配的按键,则根据所述按键执行相应的操作。
所述终端的控制装置还包括:
第一获取模块,设置为当所述终端进入指纹学习模式时,获取待学习按键以及用户输入的所述待学习按键对应的所述指纹信息;
保存模块,设置为生成并保存所述待学习按键及其对应的指纹信息之间的映射关系。
所述终端的控制装置还包括:
接收模块,设置为接收所述预设映射关系的更新请求;
第二获取模块,设置为在所述接收模块接收到所述更新请求时,根据所述更新请求获取待更新按键,以及获取用户基于所述待更新按键输入的待更新指纹信息;
更新模块,设置为基于所述待更新指纹信息更新所述待更新按键与指纹信息之间的映射关系。
所述指纹信息包括单个指纹信息或者多个指纹信息的组合。
所述指纹信息包括所述指纹信息对应的触摸操作的持续时长,所述执行模块包括:
获取单元,设置为根据所述指纹信息获取所述指纹信息对应的触摸操作的持续时长;
执行单元,设置为根据所述持续时长与触发事件的映射关系确定所述按键的触发事件,执行所述触发事件。
所述按键包括电源键、音量加键、音量减键、主页键、返回键、菜单键、截屏键及打开相机键。
本发明实施例中当终端预置的指纹输入区域存在指纹信息输入时,根据指纹信息与按键的预设映射关系,若存在与该指纹信息匹配的按键,则根据该按键执行相应的操作。使得终端能够通过指纹识别功能代替按键实现相应的操作,相对于通过物理按键或虚拟按键对终端进行操作,提高了对终端操作的便捷性。另外,该方案中终端不需要设置按键,降低了终端的制造成本。
附图说明
图1为本发明终端的控制方法第一实施例的流程示意图;
图2为本发明图1中步骤S20的细化流程示意图;
图3为本发明终端的控制方法第二实施例的流程示意图;
图4为本发明终端的控制方法第三实施例的流程示意图;
图5为本发明终端的控制装置第一实施例的功能模块示意图;
图6为本发明图5中执行模块的细化功能模块示意图;
图7为本发明终端的控制装置第二实施例的功能模块示意图;
图8为本发明终端的控制装置第三实施例的功能模块示意图。
本发明目的的实现、功能特点及优点将结合实施例,参照附图做进一步说明。
具体实施方式
应当理解,此处所描述的具体实施例仅仅用以解释本发明,并不用于限定本发明。
如图1所示,示出了本发明一种终端的控制方法第一实施例。
本实施例终端的类型可以根据实际需要进行设置,具体地该终端优选为手机,以下实施例中将以手机为例作出详细说明。
本实施例的终端的控制方法包括:
步骤S10、当侦测到终端预置的指纹输入区域存在指纹信息输入时,根据所述指纹信息与按键的预设映射关系,判断是否存在与所述指纹信息匹配的按键;
在手机上预先设置指纹输入区域,设置为接收用户输入的指纹信息,该指纹输入区域的设置位置、个数、形状及大小可根据实际需要而灵活设置。例如,指纹输入区域的设置个数优选为一个,该指纹输入区域可设置在手机的侧面、触摸屏下方或者背面等,该指纹输入区 域的形状可设置为圆形区域或者正方形区域等。
本实施例中预先设置指纹信息与按键的预设映射关系,并通过手机预置的指纹存储模块进行存储。当用户需要操作某个按键时,通过手机预置的指纹输入区域输入指纹信息时,手机预置的指纹处理模块对输入的指纹信息进行识别及过滤等处理,并判断该指纹信息是否为有效输入。判断有效的方式可为:当指纹信息输入时指纹信息对应的触摸操作对应的按压区域占据指纹输入区域的比例超过预设阈值时,则为有效输入。该预设阈值可为90%,也可根据实际需要进行设置。然后进一步判断是否存在与指纹信息匹配的按键,即根据该预设映射关系搜索指纹存储模块预先存储的指纹信息,若搜索到匹配的指纹信息,则说明存在与该指纹信息匹配的按键;若搜索不到匹配的指纹信息,则说明不存在与该指纹信息匹配的按键。该按键可包括电源键、音量加键、音量减键、主页键、返回键、菜单键、截屏键、清除后台应用键、进入通知中心键、熄屏锁定键、打开网页键等。
可以理解的是,当输入的指纹信息为无效时,可以设置为显示提示指纹信息输入无效的界面,以便让用户知道手机没有反映的原因是由于指纹信息的无效输入,而不是有手机的其他方面出现了问题。当指纹信息的进行有效输入后,由于指纹存储模块中未存储该指纹信息对应的按键而不产生操作,此时,可以设置为显示指纹信息与按键的预设映射关系的界面,以提示用户进行正确的操作。
步骤S20、若存在与所述指纹信息匹配的按键,则根据所述按键执行相应的操作。
该指纹信息包括单个指纹信息或者多个指纹信息的组合。具体地,当需要对手机进行操作时,用户可在指纹输入区域按下单个指头,以得到该单个指头的指纹信息,并根据与该单个指头的指纹信息匹配的按键执行相应的操作。或者用户可以在指纹输入区域内同时按下多个指头,以输入多个指纹信息的组合,得到该多个指纹信息,并根据与该多个指纹信息匹配的按键执行相应的操作。
该指纹信息还包括指纹信息对应的触摸操作的持续时长,对于跟指纹信息中触摸操作的持续时长有关的按键,例如,按键的长按和短按功能。为了有效区分按键的触发事件,进一步地,如图2所示,该实施例中上述步骤S20可包括:
步骤S21、根据所述指纹信息获取所述指纹信息对应的触摸操作的持续时长;
步骤S22、根据所述持续时长与触发事件的映射关系确定所述按键的触发事件,执行所述触发事件。
可以理解的是,该持续时长的获取方式可以是:1)方式一:当用户在指纹输入区域按下指头发生触摸操作时,将触发手机预置的记录模块记录此时的时间,并当触摸操作结束时记录该时刻的时间,然后将所记录的触摸操作的开始时间与结束时间进行作差,以获取触摸操作的持续时长;2)方式二:用户每次在指纹输入区域按下指头发生触摸操作后,将触发手机预置的记录模块开始计时,直到指头离开后停止计时,以得到触摸操作的持续时长。然后根据该持续时长与触发事件的映射关系确定按键的触发事件,并根据触发事件执行相应的操作。 上述获取持续时长的方式仅为具体实施方式的枚举,本领域技术人员提出的其它获取持续时长以执行相应的操作的方式,均在本发明的保护范围内。
本实施例预先设置持续时长与触发事件的映射关系,如表1所示,例如,当得到触摸操作的持续时长位于(t3,t4]区间时,触发按键的触发事件A3。其中,t1、t2……t6的时间以及A1、A2……A5的事件可根据实际需要进行设置。以下进行举例说明:假设当触摸操作的持续时长位于[1s,3s]时,触发按键的短按事件,以实现短按功能。当触摸操作的持续时长位于(10s,15s]时,触发按键的长按按事件,以实现长按功能。可以理解的是,表1中的持续时长与触发事件的映射关系可以根据具体情况而灵活设置,并不限定本发明。
表1.持续时长与触发事件的映射关系
持续时长 [t1,t2] (t2,t3] (t3,t4] (t4,t5] (t5,t6]
触发事件 A1 A2 A3 A4 A5
在上述用户通过手机预置的指纹输入区域输入指纹信息时,当输入的指纹信息与指纹存储模块中的指纹信息匹配成功,即该指纹信息存在匹配的按键,则手机内置的操作系统将根据按键的键值执行相应的操作。若该指纹信息不存在匹配的按键,则不会触发任何操作,即手机不显示任何信息,直至用户输入正确才执行相应的操作。
需要说明的是,本实施例中手机可不设置任何按键,所有按键所实现的功能都是通过指纹信息输入进行代替。因此可以节省手机按键设计方面的成本,同时,可以使手机的结构设计更加灵活,让手机看起来更加美观。手机也可设置部分按键,而另外部分按键,所实现的功能都是通过指纹信息输入进行代替。当然,也可以根据实际需要,手机可设置部分按键,这部分按键的功能也可以进一步设置匹配的指纹信息,其他按键所实现的功能则通过指纹信息输入进行代替。这样可以使得在手机的按键损坏时,可通过指纹信息输入替代该按键实现的功能。例如,当用户不小心把手机触摸按键旁两个角的玻璃摔碎了,此时LCD显示区的触摸屏依然可以正常使用,但触摸键却完全失效,这种情况下用户不需要换屏,可以通过预设的指纹信息输入替代触摸按键实现的功能,解决了部分物理按键损坏后手机使用困难的问题,而且操作起来非常方便,给用户带来极大的便利。
本发明实施例中手机预置的指纹输入区域存在指纹信息输入时,根据指纹信息与按键的预设映射关系,当存在与该指纹信息匹配的按键,则根据按键执行相应的操作。实现了用指纹信息替换不同的按键,使得手机能够通过指纹识别功能代替按键实现相应的操作,提高了用户对手机操作的便捷性。另外,手机可以不设置任何按键,降低了手机的成本。
进一步地,如图3所示,基于上述实施例,提出了本发明终端的控制方法的第二实施例,该实施例中上述步骤S10之前可包括:
步骤S30、当所述终端进入指纹学习模式时,获取待学习按键以及用户输入的所述待学习按键对应的所述指纹信息;
步骤S40、生成并保存所述待学习按键及其对应的指纹信息之间的映射关系。
本实施例中,当手机首次开机时,手机内置的指纹存储模块还未存储有指纹信息与按键的预设映射关系的信息,或者是手机恢复出厂设置后第一次开机时,手机内置的指纹存储模块内所存储的指纹信息与按键的预设映射关系的信息已被清除。在这两种情况下,手机开机后将会进入指纹学习模式,此时手机预置的指纹学习模块自动会弹出提示框,显示所有需要学习的按键,用户可进行逐一选择待学习按键,并通过指纹输入模块输入待学习按键对应的指纹信息,然后确定后生成指纹信息与按键的预设映射关系,并由指纹存储模块进行存储。或者是手机开机进入指纹学习模式后,将首先弹出一个待学习按键,供用户输入与该按键匹配的指纹信息,然后再弹出下一个待学习按键,继续输入指纹信息,直至完成对所有按键的学习。当然,也可以对部分按键进行选择设置。
具体地,当用户选择其中一个待学习按键后,指纹学习模块要求用户输入一个指纹信息。用户通过上述的指纹输入模块输入指纹信息,指纹输入模块采集到指纹信息后,进行数据处理,并判断输入的指纹信息是否满足预设条件。若满足,则用户手动点击确认,完成对该待学习按键的设置并生效,指纹存储模块把该待学习按键和对应的指纹信息作为一组进行关联存储;若不满足,则要求用户重新输入指纹信息。该预设条件可为用户输入的指纹信息时对应的触摸操作对应的按压区域占满整个指纹输入模块的输入区域。当完成对所有待学习按键进行设置后,退出指纹学习模式,以生成指纹信息与按键的预设映射关系,如表2所示。其中,触摸操作的持续时长位于第一预设时间区间及触摸操作的持续时长位于第二预设时间区间可根据上述表1进行设置。
需要说明的是,为了方便用户在后续能够清楚地知道是用了哪个手指的指纹信息与对应的按键进行匹配,或者是用了哪几个手指的指纹信息的组合与对应的按键进行匹配,用户在输入指纹信息的同时,可在设置界面对应的输入框中手动输入指纹信息对应手指的名称,以便进行标注,防止用户忘记了该映射关系中指纹信息对应的手指。
表2.指纹信息与按键的预设映射关系
Figure PCTCN2015091782-appb-000001
Figure PCTCN2015091782-appb-000002
由上表2可知,当用户将左手的拇指的指纹信息正确输入到指纹输入模块后,可触发手机打开相机进行拍照。可以理解的是,表2中的指纹信息与按键的预设映射关系可以根据具体情况而灵活设置,并不限定本发明。
用户可以按照该预设映射关系对手机进行相应的操作。可以理解的是,可以设置一个指纹信息对应一个按键,也可以设置一个指纹信息对应多个按键,或者可以设置多个指纹信息对应一个按键。若一个指纹信息对应多个按键,则当用户通过上述的指纹输入模块输入该指纹信息时,手机将会显示列出预先存储的该指纹信息对应的所有按键的选择界面,供用户选择其中一个按键,以实现根据该按键执行相应的操作。若多个指纹信息对应一个按键,则不仅可以在用户的某个指头的指纹出现异常时用另一指头进行操作,而且当存储的是不同用户的指纹信息时,可以实现不同的用户操作该手机。
进一步地,如图4所示,基于上述实施例,提出了本发明终端的控制方法的第三实施例,该实施例中上述步骤S40之后可包括以下步骤:
步骤S50、接收所述预设映射关系的更新请求,并根据所述更新请求获取待更新按键;
步骤S60、获取用户基于所述待更新按键输入的待更新指纹信息;
步骤S70、基于所述待更新指纹信息更新所述待更新按键与指纹信息之间的映射关系。
本实施例中可根据用户的喜好,或者根据实际需要对指纹信息与按键的预设映射关系进行更新。具体地,用户可进入指纹信息与按键的预设映射关系的设置界面重新进行自定义该映射关系。例如,在上述表1的预设映射关系中,将与右手拇指的指纹信息匹配的按键更新为电源键。
具体地,用户通过在指纹输入区域输入指纹信息,操作手机显示指纹信息与按键的预设映射关系的设置界面。然后在该设置界面内,用户根据需要选择进行其中一个待更新按键后,选择重新自定义,再在指纹输入模块中重新输入待更新指纹信息,及在对应的输入框中重新手动输入该待更新指纹信息对应手指的名称,以便进行标注。当用户点击确认后,完成对该待更新按键的对应的指纹信息的更新并生效,指纹存储模块把该待更新按键和对应的指纹信息作为一组进行关联存储。从而实现了基于待更新指纹信息更新待更新按键与指纹信息之间的映射关系。
更新的方式也可以是当用户输入的指纹信息没有对应匹配的按键时,将会弹出是否需要 更新该预设映射关系的选择界面,当用户选择“是”而进入设置界面时,用户可选择进行更新。当用户忘记基于上述的预设映射关系时,可以进入该界面查看,从而能够进行正确的操作。
对应地,如图5所示,提出本发明一种终端的控制装置第一实施例。
本实施例终端的类型可以根据实际需要进行设置,具体地该终端优选为手机,以下实施例中将以手机为例作出详细说明。
本实施例的终端的控制装置包括:
判断模块100,设置为当侦测到终端预置的指纹输入区域存在指纹信息输入时,根据所述指纹信息与按键的预设映射关系,判断是否存在与所述指纹信息匹配的按键;
在手机上预先设置指纹输入区域,设置为接收用户输入的指纹信息,该指纹输入区域的设置位置、个数、形状及大小可根据实际需要而灵活设置。例如,指纹输入区域的设置个数优选为一个,该指纹输入区域可设置在手机的侧面、触摸屏下方或者背面等,该指纹输入区域的形状可设置为圆形区域或者正方形区域等。
本实施例中预先设置指纹信息与按键的预设映射关系,并通过手机预置的指纹存储模块进行存储。当用户需要操作某个按键时,通过手机预置的指纹输入区域输入指纹信息时,手机预置的指纹处理模块对输入的指纹信息进行识别及过滤等处理,并由判断模块100判断该指纹信息是否为有效输入。判断有效的方式可为:当指纹信息输入时指纹信息对应的触摸操作对应的按压区域占据指纹输入区域的比例超过预设阈值时,则为有效输入。该预设阈值可为90%,也可根据实际需要进行设置。然后判断模块100进一步判断是否存在与指纹信息匹配的按键,即根据该预设映射关系搜索指纹存储模块预先存储的指纹信息,若搜索到匹配的指纹信息,则说明存在与该指纹信息匹配的按键;若搜索不到匹配的指纹信息,则说明不存在与该指纹信息匹配的按键。该按键可包括电源键、音量加键、音量减键、主页键、返回键、菜单键、截屏键、清除后台应用键、进入通知中心键、熄屏锁定键、打开网页键等。
可以理解的是,当输入的指纹信息为无效时,可以设置为显示提示指纹信息输入无效的界面,以便让用户知道手机没有反映的原因是由于指纹信息的无效输入,而不是有手机的其他方面出现了问题。当指纹信息的进行有效输入后,由于指纹存储模块中未存储该指纹信息对应的按键而不产生操作,此时,可以设置为显示指纹信息与按键的预设映射关系的界面,以提示用户进行正确的操作。
执行模块200,设置为若存在与所述指纹信息匹配的按键,则根据所述按键执行相应的操作。
该指纹信息包括单个指纹信息或者多个指纹信息。具体地,当需要对手机进行操作时,用户可在指纹输入区域按下单个指头,以得到该单个指头的指纹信息,并由执行模块200根据与该单个指头的指纹信息匹配的按键执行相应的操作。或者用户可以在指纹输入区域内同 时按下多个指头,以输入多个指纹信息的组合,得到该多个指纹信息,并由执行模块200根据与该多个指纹信息匹配的按键执行相应的操作。
该指纹信息还包括指纹信息对应的触摸操作的持续时长,对于跟指纹信息中触摸操作的持续时长有关的按键,例如,按键的长按和短按功能。为了有效区分按键的触发事件,进一步地,如图6所示,该实施例中上述执行模块200可包括:
获取单元210,设置为根据所述指纹信息获取所述指纹信息对应的触摸操作的持续时长;
执行单元220,设置为根据持续时长与触发事件的映射关系确定所述按键的触发事件,执行所述触发事件。
可以理解的是,该持续时长的获取方式可以是:1)方式一:当用户在指纹输入区域按下指头发生触摸操作时,获取单元210将触发手机预置的记录模块记录此时的时间,并当触摸操作结束时记录该时刻的时间,然后将所记录的触摸操作的开始时间与结束时间进行作差,以获取触摸操作的持续时长;2)方式二:用户每次在指纹输入区域按下指头发生触摸操作后,获取单元210将触发手机预置的记录模块开始计时,直到指头离开后停止计时,以得到触摸操作的持续时长。然后执行单元220根据该持续时长与触发事件的映射关系确定按键的触发事件,并根据触发事件执行相应的操作。上述获取持续时长的方式仅为具体实施方式的枚举,本领域技术人员提出的其它获取持续时长以执行相应的操作的方式,均在本发明的保护范围内。
本实施例预先设置持续时长与触发事件的映射关系,如表1所示。当得到触摸操作的持续时长位于(t3,t4]区间时,触发按键的触发事件A3。其中,t1、t2……t6的时间以及A1、A2……A5的事件可根据实际需要进行设置。以下进行举例说明:假设当触摸操作的持续时长位于[1s,3s]时,触发按键的短按事件,以实现短按功能。当触摸操作的持续时长位于(10s,15s]时,触发按键的长按按事件,以实现长按功能。可以理解的是,表1中的持续时长与触发事件的映射关系可以根据具体情况而灵活设置,并不限定本发明。
表1.持续时长与触发事件的映射关系
持续时长 [t1,t2] (t2,t3] (t3,t4] (t4,t5] (t5,t6]
触发事件 A1 A2 A3 A4 A5
在上述用户通过手机预置的指纹输入区域输入指纹信息时,当输入的指纹信息与指纹存储模块中的指纹信息匹配成功,即该指纹信息存在匹配的按键,则手机内置的操作系统将调用执行模块200根据按键的键值执行相应的操作。若该指纹信息不存在匹配的按键,则不会触发任何操作,即手机不显示任何信息,直至用户输入正确才执行相应的操作。
需要说明的是,本实施例中手机可不设置任何按键,所有按键所实现的功能都是通过指纹信息输入进行代替。因此可以节省手机按键设计方面的成本,同时,可以使手机的结构设计更加灵活,让手机看起来更加美观。手机也可设置部分按键,而另外部分按键,所实现的 功能都是通过指纹信息输入进行代替。当然,也可以根据实际需要,手机可设置部分按键,这部分按键的功能也可以进一步设置匹配的指纹信息,其他按键所实现的功能则通过指纹信息输入进行代替。这样可以使得在手机的按键损坏时,可通过指纹信息输入替代该按键实现的功能。例如,当用户不小心把手机触摸按键旁两个角的玻璃摔碎了,此时LCD显示区的触摸屏依然可以正常使用,但触摸键却完全失效,这种情况下用户不需要换屏,可以通过预设的指纹信息输入替代触摸按键实现的功能,解决了部分物理按键损坏后手机使用困难的问题,而且操作起来非常方便,给用户带来极大的便利。
本发明实施例中手机预置的指纹输入区域存在指纹信息输入时,根据指纹信息与按键的预设映射关系,当存在与该指纹信息匹配的按键,则根据按键执行相应的操作。实现了用指纹信息替换不同的按键,使得手机能够通过指纹识别功能代替按键实现相应的操作,提高了用户对手机操作的便捷性。另外,终端可以不设置按键,降低了手机的成本。
进一步地,如图7所示,基于上述实施例,本实施例中上述终端的控制装置还包括:
第一获取模块300,设置为当所述终端进入指纹学习模式时,获取待学习按键以及用户输入的所述待学习按键对应的所述指纹信息;
保存模块400,设置为生成并保存所述待学习按键及其对应的指纹信息之间的映射关系。
本实施例中,当手机首次开机时,手机内置的指纹存储模块还未存储有指纹信息与按键的预设映射关系的信息,或者是手机恢复出厂设置后第一次开机时,手机内置的指纹存储模块内所存储的指纹信息与按键的预设映射关系的信息已被清除。在这两种情况下,手机开机后将会进入指纹学习模式,此时第一获取模块300将手机预置的指纹学习模块自动弹出提示框,由列表列出所有需要学习的按键,用户可进行逐一选择待学习按键,并通过指纹输入模块输入待学习按键对应的指纹信息,然后调用保存模块400确定后生成指纹信息与按键的预设映射关系,并由指纹存储模块进行存储。或者是手机开机进入指纹学习模式后,将首先弹出一个待学习按键,供用户输入与该按键匹配的指纹信息,然后再弹出下一个待学习按键,继续输入指纹信息,直至完成对所有按键的学习。当然,也可以对部分按键进行选择设置。
具体地,当用户选择其中一个待学习按键后,指纹学习模块要求用户输入一个指纹信息。用户通过上述的指纹输入模块输入指纹信息,指纹输入模块采集到指纹信息后,进行数据处理,并判断输入的指纹信息是否满足预设条件。若满足,则用户手动点击确认,完成对该待学习按键的设置并生效,指纹存储模块把该待学习按键和对应的指纹信息作为一组进行关联存储;若不满足,则要求用户重新输入指纹信息。该预设条件可为用户输入的指纹信息时对应的触摸操作对应的按压区域占满整个指纹输入模块的输入区域。当完成对所有待学习按键进行设置后,退出指纹学习模式,以生成指纹信息与按键的预设映射关系,如表2所示。其中,触摸操作的持续时长位于第一预设时间区间及触摸操作的持续时长位于第二预设时间区间可根据上述表1进行设置。
需要说明的是,为了方便用户在后续能够清楚地知道是用了哪个手指的指纹信息与对应 的按键进行匹配,或者是用了哪几个手指的指纹信息的组合与对应的按键进行匹配,用户在输入指纹信息的同时,可在设置界面对应的输入框中手动输入指纹信息对应手指的名称,以便进行标注,防止用户忘记了该映射关系中指纹信息对应的手指。
表2.指纹信息与按键的预设映射关系
Figure PCTCN2015091782-appb-000003
由上表2可知,当用户将左手的拇指的指纹信息正确输入到指纹输入模块后,可触发手机打开相机进行拍照。可以理解的是,表2中的指纹信息与按键的预设映射关系可以根据具体情况而灵活设置,并不限定本发明。
用户可以按照该预设映射关系对手机进行相应的操作。可以理解的是,可以设置一个指纹信息对应一个按键,也可以设置一个指纹信息对应多个按键,或者可以设置多个指纹信息对应一个按键。若一个指纹信息对应多个按键,则当用户通过上述的指纹输入模块输入该指纹信息时,手机将会显示列出预先存储的该指纹信息对应的所有按键的选择界面,供用户选择其中一个按键,以实现根据该按键执行相应的操作。若多个指纹信息对应一个按键,则不仅可以在用户的某个指头的指纹出现异常时用另一指头进行操作,而且当存储的是不同用户的指纹信息时,可以实现不同的用户操作该手机。
进一步地,如图8所示,基于上述实施例,本实施例中上述终端的控制装置还包括:
接收模块500,设置为接收所述预设映射关系的更新请求;
第二获取模块600,设置为在所述接收模块接收到所述更新请求时,根据所述更新请求获取待更新按键,以及获取用户基于所述待更新按键输入的待更新指纹信息;
更新模块700,设置为基于所述待更新指纹信息更新所述待更新按键与指纹信息之间的映射关系。
本实施例中可根据用户的喜好,或者根据实际需要对指纹信息与按键的预设映射关系进行更新。具体地,用户可进入指纹信息与按键的预设映射关系的设置界面重新进行自定义该映射关系。例如,在上述表1的预设映射关系中,将与右手拇指的指纹信息匹配的按键更新为电源键。
具体地,用户通过在指纹输入区域输入指纹信息,操作手机显示指纹信息与按键的预设映射关系的设置界面。然后在该设置界面内,接收模块500接收用户根据需要选择进行其中一个待更新按键后,选择重新自定义,第二获取模块600获取用户在指纹输入模块中重新输入待更新指纹信息,及在对应的输入框中重新手动输入该待更新指纹信息对应手指的名称,以便进行标注。当用户点击确认后,更新模块700完成对该待更新按键的对应的指纹信息的更新并生效,指纹存储模块把该待更新按键和对应的指纹信息作为一组进行关联存储。从而实现了基于待更新指纹信息更新待更新按键与指纹信息之间的映射关系。
更新的方式也可以是当用户输入的指纹信息没有对应匹配的按键时,将会弹出是否需要更新该预设映射关系的选择界面,当用户选择“是”而进入设置界面时,用户可选择进行更新。当用户忘记基于上述的预设映射关系时,可以进入该界面查看,从而能够进行正确的操作。
以上仅为本发明的优选实施例,并非因此限制本发明的专利范围,凡是利用本发明说明书及附图内容所作的等效结构或等效流程变换,或直接或间接运用在其他相关的技术领域,均同理包括在本发明的专利保护范围内。
工业实用性
如上所述,本发明实施例提供的一种终端的控制方法和装置,具有以下有益效果:使得终端能够通过指纹识别功能代替按键实现相应的操作,相对于通过物理按键或虚拟按键对终端进行操作,提高了对终端操作的便捷性。另外,该方案中终端不需要设置按键,降低了终端的制造成本。

Claims (12)

  1. 一种终端的控制方法,所述终端的控制方法包括以下步骤:
    当侦测到终端预置的指纹输入区域存在指纹信息输入时,根据所述指纹信息与按键的预设映射关系,判断是否存在与所述指纹信息匹配的按键;
    若存在与所述指纹信息匹配的按键,则根据所述按键执行相应的操作。
  2. 如权利要求1所述的终端的控制方法,其中,所述当侦测到终端预置的指纹输入区域存在指纹信息输入时,根据所述指纹信息与按键的预设映射关系,判断是否存在与所述指纹信息匹配的按键之前包括:
    当所述终端进入指纹学习模式时,获取待学习按键以及用户输入的所述待学习按键对应的所述指纹信息;
    生成并保存所述待学习按键及其对应的指纹信息之间的映射关系。
  3. 如权利要求2所述的终端的控制方法,其中,所述生成并保存所述待学习按键及其对应的指纹信息之间的映射关系之后包括:
    接收所述预设映射关系的更新请求,并根据所述更新请求获取待更新按键;
    获取用户基于所述待更新按键输入的待更新指纹信息;
    基于所述待更新指纹信息更新所述待更新按键与指纹信息之间的映射关系。
  4. 如权利要求1至3中任一项所述的终端的控制方法,其中,所述指纹信息包括单个指纹信息或者多个指纹信息的组合。
  5. 如权利要求1所述的终端的控制方法,其中,所述指纹信息包括所述指纹信息对应的触摸操作的持续时长,所述若存在与所述指纹信息匹配的按键,则根据所述按键执行相应的操作包括:
    根据所述指纹信息获取所述指纹信息对应的触摸操作的持续时长;
    根据所述持续时长与触发事件的映射关系确定所述按键的触发事件,执行所述触发事件。
  6. 如权利要求1所述的终端的控制方法,其中,所述按键包括电源键、音量加键、音量减键、 主页键、返回键、菜单键、截屏键及打开相机键。
  7. 一种终端的控制装置,所述终端的控制装置包括:
    判断模块,设置为当侦测到终端预置的指纹输入区域存在指纹信息输入时,根据所述指纹信息与按键的预设映射关系,判断是否存在与所述指纹信息匹配的按键;
    执行模块,设置为若存在与所述指纹信息匹配的按键,则根据所述按键执行相应的操作。
  8. 如权利要求7所述的终端的控制装置,其中,所述终端的控制装置还包括:
    第一获取模块,设置为当所述终端进入指纹学习模式时,获取待学习按键以及用户输入的所述待学习按键对应的所述指纹信息;
    保存模块,设置为生成并保存所述待学习按键及其对应的指纹信息之间的映射关系。
  9. 如权利要求8所述的终端的控制装置,其中,所述终端的控制装置还包括:
    接收模块,设置为接收所述预设映射关系的更新请求;
    第二获取模块,设置为在所述接收模块接收到所述更新请求时,根据所述更新请求获取待更新按键,以及获取用户基于所述待更新按键输入的待更新指纹信息;
    更新模块,设置为基于所述待更新指纹信息更新所述待更新按键与指纹信息之间的映射关系。
  10. 如权利要求7至9中任一项所述的终端的控制装置,其中,所述指纹信息包括单个指纹信息或者多个指纹信息的组合。
  11. 如权利要求7所述的终端的控制装置,其中,所述指纹信息包括所述指纹信息对应的触摸操作的持续时长,所述执行模块包括:
    获取单元,设置为根据所述指纹信息获取所述指纹信息对应的触摸操作的持续时长;
    执行单元,设置为根据所述持续时长与触发事件的映射关系确定所述按键的触发事件,执行所述触发事件。
  12. 如权利要求7所述的终端的控制装置,其中,所述按键包括电源键、音量加键、音量减键、主页键、返回键、菜单键、截屏键及打开相机键。
PCT/CN2015/091782 2015-07-24 2015-10-12 终端的控制方法和装置 WO2016131283A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201510444705.7A CN106375545A (zh) 2015-07-24 2015-07-24 终端的控制方法和装置
CN201510444705.7 2015-07-24

Publications (1)

Publication Number Publication Date
WO2016131283A1 true WO2016131283A1 (zh) 2016-08-25

Family

ID=56691975

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2015/091782 WO2016131283A1 (zh) 2015-07-24 2015-10-12 终端的控制方法和装置

Country Status (2)

Country Link
CN (1) CN106375545A (zh)
WO (1) WO2016131283A1 (zh)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106383639A (zh) * 2016-08-31 2017-02-08 青岛海信移动通信技术股份有限公司 一种控制屏幕的方法和终端
CN113038663A (zh) * 2021-04-22 2021-06-25 读书郎教育科技有限公司 一种智能台灯的控制方法及智能台灯

Families Citing this family (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107277218A (zh) * 2017-05-10 2017-10-20 北京珠穆朗玛移动通信有限公司 基于指纹的联系人群组显示方法及移动终端
CN107608538A (zh) * 2017-09-30 2018-01-19 北京小米移动软件有限公司 智能键盘及其控制方法
CN108052260B (zh) * 2017-11-29 2021-12-17 努比亚技术有限公司 移动终端操作响应方法、移动终端及可读存储介质
CN109151163A (zh) * 2018-06-27 2019-01-04 努比亚技术有限公司 一种移动终端控制方法、移动终端及计算机可读存储介质
CN111338551A (zh) * 2018-12-19 2020-06-26 北京奇虎科技有限公司 一种操作功能的实现方法和装置
CN109902240A (zh) * 2019-02-28 2019-06-18 努比亚技术有限公司 基于指纹识别键实现导航功能的方法、存储介质及终端
CN110174993B (zh) * 2019-05-20 2021-05-07 维沃移动通信有限公司 一种显示控制方法、终端设备及计算机可读存储介质
CN110531919A (zh) * 2019-07-31 2019-12-03 努比亚技术有限公司 一种指纹触控映射控制方法、终端及计算机可读存储介质
CN111124543A (zh) * 2019-12-25 2020-05-08 重庆蓝岸通讯技术有限公司 移动终端中app启动方法、系统及具有该系统的移动终端
CN111314545A (zh) * 2020-01-15 2020-06-19 重庆蓝岸通讯技术有限公司 基于指纹的app功能键设置方法、app系统及运行该app系统的移动终端
CN113221085A (zh) * 2021-05-06 2021-08-06 深圳市福日中诺电子科技有限公司 一种指纹启动应用程序的方法和系统
CN114511997A (zh) * 2022-01-07 2022-05-17 青岛海尔空调器有限总公司 遥控器的控制方法和遥控器

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101833651A (zh) * 2009-03-10 2010-09-15 Lg电子株式会社 移动终端和控制移动终端的方法
CN102075601A (zh) * 2011-01-14 2011-05-25 扬州永信计算机有限公司 一种基于指纹识别的手机快速拨号方法
US20110273267A1 (en) * 2010-05-06 2011-11-10 Byungeun Bong Mobile terminal and method of controlling the same
CN104618577A (zh) * 2014-12-30 2015-05-13 广东欧珀移动通信有限公司 一种按键请求的响应方法及装置
CN104778395A (zh) * 2015-04-27 2015-07-15 努比亚技术有限公司 终端控制方法及装置

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101833651A (zh) * 2009-03-10 2010-09-15 Lg电子株式会社 移动终端和控制移动终端的方法
US20110273267A1 (en) * 2010-05-06 2011-11-10 Byungeun Bong Mobile terminal and method of controlling the same
CN102075601A (zh) * 2011-01-14 2011-05-25 扬州永信计算机有限公司 一种基于指纹识别的手机快速拨号方法
CN104618577A (zh) * 2014-12-30 2015-05-13 广东欧珀移动通信有限公司 一种按键请求的响应方法及装置
CN104778395A (zh) * 2015-04-27 2015-07-15 努比亚技术有限公司 终端控制方法及装置

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106383639A (zh) * 2016-08-31 2017-02-08 青岛海信移动通信技术股份有限公司 一种控制屏幕的方法和终端
CN113038663A (zh) * 2021-04-22 2021-06-25 读书郎教育科技有限公司 一种智能台灯的控制方法及智能台灯

Also Published As

Publication number Publication date
CN106375545A (zh) 2017-02-01

Similar Documents

Publication Publication Date Title
WO2016131283A1 (zh) 终端的控制方法和装置
US10955980B2 (en) Terminal and method for touchscreen input correction
US9703941B2 (en) Electronic device with touch screen for fingerprint recognition
US9384369B2 (en) Information processing method and electronic device
WO2016095363A1 (zh) 一种自定义触摸的定制方法、响应方法及移动终端
US20130287273A1 (en) Anti-misoperation system and method using same
CN105824559A (zh) 一种误触识别及处理方法和电子设备
WO2017161634A1 (zh) 一种快捷操作的实现方法及终端设备
WO2019100368A1 (zh) 应用程序的启动方法及显示方法、终端
US9846529B2 (en) Method for processing information and electronic device
JP2015201229A (ja) 携帯端末装置、携帯端末装置の制御方法および記憶媒体
WO2017016041A1 (zh) 一种应用控制方法及装置
WO2022089431A1 (zh) 设备控制方法、装置和电子设备
WO2022022566A1 (zh) 图形码识别方法、装置和电子设备
US20150033328A1 (en) Information terminal and execution control method
TWI545495B (zh) 觸摸屏操作系統及方法
JP2004086790A (ja) タッチパネル装置及びそのコンピュータプログラム
EP3757831B1 (en) Fingerprint event processing method, apparatus, and terminal
TWI585609B (zh) 電子裝置及其操作方法
US20170003771A1 (en) Composite push-button circuit supporting both previous page and homepage functions
US9182880B2 (en) Method of displaying images via touching and electronic apparatus thereof
WO2020114123A1 (zh) 指纹解锁方法及相关装置
US9710080B2 (en) Portable electronic device including contact sensors, and method for controlling same
EP3244598B1 (en) User terminal dialing method and user terminal
CN110764683A (zh) 一种处理操作方法及终端

Legal Events

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

Ref document number: 15882422

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

Country of ref document: EP

Kind code of ref document: A1