WO2013127233A1 - Cellphone-based key unlocking method and cellphone - Google Patents

Cellphone-based key unlocking method and cellphone Download PDF

Info

Publication number
WO2013127233A1
WO2013127233A1 PCT/CN2012/087094 CN2012087094W WO2013127233A1 WO 2013127233 A1 WO2013127233 A1 WO 2013127233A1 CN 2012087094 W CN2012087094 W CN 2012087094W WO 2013127233 A1 WO2013127233 A1 WO 2013127233A1
Authority
WO
WIPO (PCT)
Prior art keywords
button
unlocking
shortcut function
combination
mobile phone
Prior art date
Application number
PCT/CN2012/087094
Other languages
French (fr)
Chinese (zh)
Inventor
俞斌
Original Assignee
惠州Tcl移动通信有限公司
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 惠州Tcl移动通信有限公司 filed Critical 惠州Tcl移动通信有限公司
Publication of WO2013127233A1 publication Critical patent/WO2013127233A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/66Substation equipment, e.g. for use by subscribers with means for preventing unauthorised or fraudulent calling
    • H04M1/667Preventing unauthorised calls from a telephone set
    • H04M1/67Preventing unauthorised calls from a telephone set by electronic means

Definitions

  • the present invention relates to the field of mobile terminals, and in particular, to a mobile phone based key unlocking method and a mobile phone.
  • the technical problem to be solved by the present invention is to provide a method for unlocking a button based on a mobile phone and a mobile phone, aiming at improving the existing manner of unlocking the mobile phone with a button, and the user can set to directly enter after unlocking.
  • the corresponding function improves the speed of use of the mobile phone.
  • a method for unlocking a button based on a mobile phone which includes:
  • A receiving an operation instruction of the user to preset at least one combination button for unlocking the mobile phone and starting a shortcut function; wherein each combination button corresponds to opening a shortcut function;
  • the method for unlocking a button of a mobile phone wherein before the step A, the method further includes:
  • the method for unlocking a button of a mobile phone wherein the step A further comprises: the combination button comprises a first button and a second button, and the first button and the second button are different buttons.
  • step A specifically includes:
  • the operation instruction of the receiving user defines a plurality of shortcut functions in advance by using the unlocking shortcut function setting item, and sets a label for each shortcut function;
  • A2 receiving an operation instruction of the user enters the unlock shortcut function setting item menu, and selects a shortcut function
  • A3. Receiving a user operation instruction to set a first button of one of the combination buttons
  • A4 Receiving an operation instruction of the user, setting a second button in the current combination button, and selecting a shortcut function to be opened corresponding to the current combination button;
  • step A5 further includes: if the second button candidate key value of the selected shortcut function is used up, prompting to replace the key value of the first button, the candidate The key value is the key value of all the keys on the phone's keyboard.
  • step B specifically includes:
  • step B2 determine whether the first button of the button operation is a preset one of the first buttons of the combination button that activates a shortcut function in the lock screen state, and when yes, proceed to step B3. ;
  • step B3 whether a second button operation related to unlocking is detected within a predetermined time, and when yes, the process proceeds to step B4;
  • B5. Determine whether the detected combination of the first button and the second button conforms to a combination button that starts the shortcut function in the lock screen state, and generates an unlock control signal when yes.
  • step C specifically includes:
  • a mobile phone which includes:
  • a setting module configured to receive, by the user, an operation instruction, at least one combination button for unlocking the mobile phone and starting a shortcut function; wherein each combination button opens a shortcut function;
  • the judging module is configured to detect whether there is a button press operation when the unlocking is needed, and if yes, determine whether the pressed button is a combination button that activates the shortcut function in the lock screen state;
  • the unlocking module is configured to: when it is determined that the pressed button is a combination button that activates the shortcut function in the lock screen state, the control screen is unlocked, and the shortcut function corresponding to the pressed combination button is automatically opened;
  • a display module for displaying unlock information and setting information.
  • the mobile phone wherein the setting module comprises:
  • a menu control unit configured to provide an unlock shortcut function setting item through the mobile phone menu, and provide a plurality of shortcut function settings in the unlock shortcut function setting item;
  • a first setting unit configured to receive an operation instruction of the user, and define a plurality of shortcut functions in advance by using the unlock shortcut function setting item, and set a label for each shortcut function
  • a second setting unit configured to receive an operation instruction of the user, enter the unlock shortcut function setting item menu, and select a shortcut function
  • a third setting unit configured to receive a user operation instruction to set a first button of one of the combination buttons
  • a fourth setting unit configured to receive a user operation instruction, set a second button in the current combination button, and select a shortcut function that is required to be opened corresponding to the current combination button;
  • the storage and prompting unit is configured to compare the key value of the currently set second button with the key value of the selected second shortcut button when the current setting needs to be stored, and if the same is the same, prompt to replace the button for setting the second button The value, if not the same, prompts the setting to succeed.
  • the determining module includes:
  • the prompting and detecting unit is configured to receive an operation instruction of the user when the unlocking is needed, illuminate the screen of the mobile phone to trigger an unlocking program, display an unlocking prompt, and detect whether there is a button operation;
  • a first determining unit configured to determine, when a button operation is detected, whether the first button of the button operation is a preset one of a combination button that activates a shortcut function in a lock screen state;
  • a timing and detecting unit configured to detect whether a second button operation related to unlocking is detected within a predetermined time
  • a second determining unit configured to determine whether the button under the second button operated in the second button operation is a preset second button of the combination button that activates the one of the shortcut functions in the lock screen state
  • a control signal generating unit configured to determine whether the detected combination of the first button and the second button meets a preset combination button that starts the shortcut function in a lock screen state, and generates an unlock control signal when yes;
  • the unlocking module includes:
  • a control signal receiving unit configured to receive the unlocking control signal when determining that the pressed button is a combination button that activates a shortcut function in a lock screen state
  • the unlocking control unit is configured to control unlocking the mobile phone screen and open a corresponding shortcut function according to the unlocking control signal.
  • the present invention achieves a direct jump to a designated function after unlocking a mobile phone by setting a certain combination key, that is, a mobile phone can have multiple unlocked combinations according to a user's setting. Different combinations can make the mobile phone jump to different function interfaces after unlocking. For example, if the specified mobile phone is in the state of lock screen, press “*” key and then press “#”. After the key, the man-machine interface jumps directly to the SMS interface instead of entering the main interface now. It can also be specified by pressing the “Left Select Key” and then the “#” key. The HMI directly jumps to the Contacts interface, etc. Wait.
  • the mobile phone of the present invention adds a new function: it can quickly unlock and enter the designated function.
  • the user can not only freely set the unlock combination button, but also can directly enter a certain function after being unlocked, which greatly improves the practicality of unlocking the mobile phone with the button.
  • FIG. 1 is a flow chart of a preferred embodiment of a method for unlocking a button of a mobile phone according to the present invention.
  • 2a, 2b, 2c, 2d, 2e, 2f, and 2g are schematic diagrams showing a specific application interface structure according to a preferred embodiment of the present invention.
  • FIG. 3 is a flow chart of a first embodiment of an application example of a method for unlocking a button of a mobile phone according to the present invention.
  • FIG. 4 is a flow chart of a second embodiment of an application method for unlocking a button of a mobile phone according to the present invention.
  • FIG. 5 is a schematic block diagram of a function of a mobile phone according to an embodiment of the present invention.
  • FIG. 6 is a block diagram showing the internal function of the setting module of the mobile phone according to the embodiment of the present invention.
  • FIG. 7 is a block diagram showing the internal function of the judgment module of the mobile phone according to the embodiment of the present invention.
  • FIG. 8 is a block diagram showing the internal function of the unlocking module of the mobile phone according to the embodiment of the present invention.
  • the method for unlocking a button based on a mobile phone in the embodiment of the present invention aims to improve the existing manner of unlocking the mobile phone by using a button, and the user can directly enter the corresponding function after unlocking, thereby improving the speed of use of the mobile phone.
  • the method for unlocking a button based on a mobile phone of the present invention achieves a direct jump to a designated function after unlocking the mobile phone by setting a certain combination of keys.
  • the method for unlocking a button based on a mobile phone according to an embodiment of the present invention includes the following steps:
  • Step S110 Receive an operation instruction of the user, to preset at least one combination button for unlocking the mobile phone and starting a shortcut function; wherein each combination button corresponds to opening a shortcut function.
  • the combination button uses a combination of two buttons, and the combination button preferably includes a first button and a second button, and the first button and the second button are different buttons.
  • the following settings can be made:
  • the combination button of shortcut function 1 (such as SMS function) is K11, K12;
  • shortcut function 2 (such as telephone function) is K21, K22;
  • the combination keys of shortcut function 3 are K31, K32; and so on.
  • Step S120 when it is necessary to unlock, detecting whether there is a button press operation, and when yes, determining whether the pressed button is a combination button for starting a shortcut function in a lock screen state;
  • Step S130 When it is determined that the pressed button is a combination button that activates the shortcut function in the lock screen state, the control screen is unlocked, and the shortcut function corresponding to the pressed combination button is automatically opened. That is, it is determined whether the user presses the unlock button set in the setting module, and if so, the screen is unlocked and the corresponding function is entered, otherwise the unlocking fails.
  • the control screen When it is determined that the button pressed by the user is the preset combination button, the control screen is unlocked, and the shortcut function corresponding to the pressed combination button is automatically turned on. For example, if it is determined that the user operates the combination button K11, K12, the control screen is unlocked, and the shortcut function corresponding to the combination buttons K11 and K12 is automatically opened as the shortcut function 1 (such as the short message function); Go directly to the quick function 1 (such as SMS function).
  • the shortcut function 1 such as the short message function
  • Go directly to the quick function 1 such as SMS function
  • the user can set a corresponding combination button through the setting menu. If the combination button is recognized in the lock screen state, the screen is unlocked and the function set by the user is turned on. When the user completes the setting, the setting information is saved in the memory of the mobile phone such as FLASH or EEPROM (Electrically Erasable Programmable Read Only Memory).
  • FLASH Electrically Erasable Programmable Read Only Memory
  • the method before the step S110, the method further includes:
  • step S110 specifically includes the following steps:
  • the operation instruction of the receiving user defines a plurality of shortcut functions in advance by using the unlocking shortcut function setting item, and sets a label for each shortcut function; as shown in FIG. 2b, the shortcut function 1 is set to a short message function; Function 2 is set to the phone function; shortcut function 3 to shortcut function 9 can be preset by the user.
  • the mobile phone After setting, the mobile phone needs to perform the following steps: S15.
  • the key value of the currently set second button is compared with the key value of the selected second shortcut button, and if the same occurs, the prompt is replaced. Set the key value of the second button. If it is not the same, the setting is successful.
  • a combination button can only be set to open a function, the button can be any button on the mobile phone and the first button and the second button should be different buttons.
  • the user first enters the unlock shortcut function setting menu as shown in FIG. 2a, and then sets the combination button corresponding to each shortcut function and the application that is entered after unlocking.
  • the user has set the shortcut function 1 as the short message, and the shortcut function 2 is the telephone.
  • the shortcut function 2 is the telephone.
  • the user is about to set the shortcut function 3.
  • the combination button of the user setting the shortcut function 3 is “#”+” 8", in Figure 2d the user sets the shortcut function 3 to music.
  • the phone is in the lock screen state, first press # and then press 8 to unlock the screen and automatically open the music, as shown in Figure 2e, Figure 2f, Figure 2g.
  • the corresponding unlocking prompt is displayed as a prompt, as shown in FIG. 2e. Determine whether the user presses the set unlock button. If yes, the screen is unlocked and the corresponding function is entered, otherwise the unlocking fails.
  • the step S15 further includes: if the selected second button candidate key value of the shortcut function is used up, prompting to replace the setting of the key value of the first button, the candidate key value is all on the mobile phone keyboard
  • the key value of the button For example, the combination buttons K11 and K12 and the combination buttons K11 and K13 ⁇ combination buttons K11 and K19 can be set. That is, when the different shortcut function combination button has the first button K11 and the second button K12-K19. When the second button is used up to K19. Then prompting to replace the key value of setting the first button, the candidate key value is the key value of all the keys on the keyboard of the mobile phone.
  • the method for determining the second button is a mutual judgment principle, and the key value of the currently set second button is compared with the key value of the selected second button of the shortcut function, and if the key value is the same, the setting is 1. If the key value is different, set it to 0, and then compare all the results. If the result is 0, the setting is successful. If the result is 1, the setting is unsuccessful, and the second button needs to be reset.
  • FIG. 3 is a flowchart of an application example of a method for unlocking a button of a mobile phone according to the present invention.
  • the method in the application embodiment of FIG. 3 mainly includes the following steps:
  • step S01 when the unlocking is needed, the user's operation instruction is received, and the mobile phone screen is triggered to trigger the unlocking process.
  • Step S02 displaying an unlocking prompt, as shown in FIG. 2f.
  • Step S03 The system detects whether there is a button operation, if yes, the process proceeds to step S04, otherwise the process continues with the step S03.
  • Step S04 when it is detected that there is a button operation, it is determined whether the first button of the button operation is a preset first button in a combination button that activates a shortcut function in a lock screen state, and if yes, proceeds to step S05. If not, return to step S03;
  • the shortcut function refers to the function of directly opening after unlocking the screen of the mobile phone in FIG. 2b. In this example, the user first needs to set 9 shortcut functions in the setup menu.
  • Kx1 and Kx2 cannot be the same (ie, the first button and the second button are different buttons), and x is a natural number from 1 to 9.
  • step S05 proceeds to step S03, where y is a natural number from 1 to 9.
  • the first button of the shortcut function 3 in FIG. 2c is set to “#”
  • the second button is set to “8”
  • K31 “#”
  • K32 “8”.
  • step S05 the system starts the timer T, wherein the timeout period of the T can be preset when the mobile phone is shipped from the factory.
  • Step S06 determining whether the timer expires, if it times out, returning to step S03, otherwise proceeding to step S07.
  • step S07 whether a second button operation regarding unlocking is detected within a predetermined time, if yes, the process proceeds to step S08, otherwise, the process returns to step S06.
  • Step S08 determining whether the button under the second button operated in the second button operation is a preset second button of the combination button that activates the one of the shortcut functions in the lock screen state, and if yes, enters Step S09, if otherwise returns to step S04;
  • Step S08 is to complete the detection of the second button Kz2 of the nine shortcut functions set by the user, that is, to detect whether the currently pressed button is the second button K12, K22, K32, K42, K52 of the nine shortcut functions. K62, K72, K82 or K92. If the pressed button is one of Kz2, the process proceeds to step S09, otherwise, the process proceeds to step S04.
  • Step S09 determining whether the detected combination of the first button and the second button meets a combination button that is preset to activate the shortcut function in the lock screen state, and when yes, generates an unlock control signal, and proceeds to step S10; if otherwise, returns to the step S04. That is, it is judged whether the combined keys of Ky1 and Kz2 meet the preset shortcut function, and if yes, the process proceeds to step S10, if otherwise, the steps are entered. S04. The logical judgment completed in this step is to determine whether y and z are equal.
  • Step S10 when it is determined that the pressed button is a combination button that activates the shortcut function in the lock screen state, the unlock control signal is received; according to the unlock control signal, the unlocking the mobile phone screen is opened and the corresponding shortcut is opened.
  • the shortcut function in this embodiment refers to the function of directly opening after unlocking the mobile phone screen in FIG. 2b.
  • the nine shortcut functions described herein are only for convenience of description, and the first button and the second button may be all buttons (including numeric keys and symbol keys, etc.) in the mobile phone and the first button
  • the second button and the second button should be different buttons, so the setting of the shortcut function in actual application is not limited to nine types, and may be any number.
  • the combination of activating a shortcut function is not limited to two buttons, and three or more buttons can be set. Therefore, the implementation of multiple combination buttons is also within the scope of the present invention.
  • the two arrays y[] are initialized, and z[] is used for the first button and the second button, respectively.
  • the present invention further provides an application embodiment 2 of a method for unlocking a button of a mobile phone.
  • steps S08, S09, and S10 in the method of the previous embodiment may be replaced with:
  • Step S08' determining whether the button pressed in the previous step is the second button Kz2 of one or more shortcut functions corresponding to the first button, and if yes, proceeding to step S09', if otherwise, proceeding to step S04.
  • step S09' the system unlocks the screen and opens the corresponding shortcut function.
  • step 04 is a detection of the first button Ky1 of the nine shortcut functions set by the user, that is, detecting whether the currently pressed button is 9 shortcuts.
  • the detection of the second button Kz2 of one or more shortcut functions corresponding to one button if the button pressed is one of the second buttons Kz2 of one or more shortcut functions corresponding to the first button, then proceeds to step S09'.
  • the idea of the specific embodiment is as follows: firstly, the first pressed button is judged. If the first button of the shortcut function is in the list, the qualified shortcut function is taken out as the second pressed button. Foundation, The second pressed button is compared with the second button of the selected shortcut function to find a consistent function to activate the shortcut function specified by the first button and the second button.
  • the user can directly enter the corresponding function after unlocking, thereby improving the quickness of the use of the mobile phone, and greatly providing convenience for the user.
  • another embodiment of the present invention further provides a mobile phone, as shown in FIG. 5, including:
  • the setting module 210 is configured to receive at least one combination button for unlocking the mobile phone and starting the shortcut function by using an operation instruction of the user; wherein each combination button corresponds to opening a shortcut function, as described above.
  • the determining module 220 is configured to detect whether there is a button press operation when unlocking, and if yes, determine whether the pressed button is a combination button that activates the shortcut function in the lock screen state, as described above.
  • the unlocking module 230 is configured to: when it is determined that the pressed button is a combination button that activates the shortcut function in the lock screen state, the screen is unlocked, and the shortcut function corresponding to the pressed combination button is automatically opened, as described above. Said.
  • the display module 240 is configured to display unlocking information and setting information, as described above.
  • the setting module 210 includes:
  • the menu control unit 211 is configured to provide an unlock shortcut function setting item through the mobile phone menu, and provide a plurality of shortcut function settings in the unlock shortcut function setting item, as described above.
  • the first setting unit 212 is configured to receive an operation instruction of the user, and define a plurality of shortcut functions in advance by using the unlock shortcut function setting item, and set a label for each shortcut function, as described above.
  • the second setting unit 213 is configured to receive an operation instruction of the user, enter the unlock shortcut function setting item menu, and select a shortcut function, as described above.
  • the third setting unit 214 is configured to receive a first button of one of the combination buttons by receiving an operation instruction of the user, as described above.
  • the fourth setting unit 215 is configured to receive an operation instruction of the user, set a second button in the current combination button, and select a shortcut function that needs to be opened corresponding to the current combination button, as described above.
  • the storage and prompting unit 216 is configured to compare the key value of the currently set second button with the key value of the selected second shortcut button when the current setting needs to be stored, and if the same is the same, prompt to replace the second button. The key value, if not the same, prompts the setting to be successful, as described above.
  • the determining module 220 includes:
  • the prompting and detecting unit 221 is configured to receive an operation instruction of the user when the unlocking is needed, illuminate the screen of the mobile phone to trigger an unlocking program, display an unlocking prompt, and detect whether there is a key operation, as described above.
  • the first determining unit 222 is configured to: when it is detected that there is a button operation, determine whether the first button of the button operation is a preset first button in a combination button that activates a shortcut function in a lock screen state, specifically As mentioned above.
  • the timing and detecting unit 223 is configured to detect whether a second key operation related to unlocking is detected within a predetermined time, as described above.
  • the second determining unit 224 is configured to determine whether the button under the second button operated in the second button operation is a preset second button of the combination button that activates the certain shortcut function in the lock screen state Specifically as described above.
  • the control signal generating unit 225 is configured to determine whether the detected combination of the first button and the second button meets a preset combination button that starts the shortcut function in the lock screen state, and when generated, generates an unlock control signal, as described above. .
  • the unlocking module 230 includes:
  • the control signal receiving unit 231 is configured to receive the unlocking control signal when determining that the pressed button is a combination button that activates the shortcut function in the lock screen state, as described above.
  • the unlocking control unit 232 is configured to control unlocking the mobile phone screen and open a corresponding shortcut function according to the unlocking control signal, as described above.
  • the present invention achieves a direct jump to a designated function after unlocking a mobile phone by setting a certain combination key, that is, a mobile phone can have multiple unlocked combinations according to a user's setting. Different combinations can make the mobile phone jump to different function interfaces after unlocking. For example, if the specified mobile phone is in the state of lock screen, press “*” key and then press “#”. After the key, the man-machine interface jumps directly to the SMS interface instead of entering the main interface now. It can also be specified by pressing the “Left Select Key” and then the “#” key. The HMI directly jumps to the Contacts interface, etc. Wait.
  • the invention adds a new function to the mobile phone: it can quickly unlock and enter the designated function.
  • the user can not only freely set the unlock combination button, but also can directly enter a certain function after being unlocked, which greatly improves the practicality of unlocking the mobile phone with the button.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Signal Processing (AREA)
  • Telephone Function (AREA)

Abstract

Disclosed are a cellphone-based key unlocking method and a cellphone. The method comprises: receiving an operation instruction from a user to set at least one combined key for unlocking a cellphone and starting a shortcut function in advance, wherein each combined key correspondingly unlocks a shortcut function; when unlocking is required, detecting whether there is an operation of pressing down a key, and if yes, judging whether the pressed-down key is a combined key which starts a shortcut function in a screen locking state; and when it is judged that the pressed-down key is a combined key which starts a shortcut function in a screen locking state, controlling a screen to be unlocked, and automatically opening the shortcut function corresponding to the pressed-down combined key. The cellphone in the present invention is added with new functions: being able to perform quickly unlocking and enter into a specified function so that a user can not only freely set combined keys for unlocking, but can also directly enter into a certain specified function after setting unlocking, thereby greatly increasing the practicality of unlocking a cellphone using keys.

Description

一种基于手机的按键解锁方法及手机  Mobile phone based button unlocking method and mobile phone
技术领域Technical field
本发明涉及移动终端领域,尤其涉及的是一种基于手机的按键解锁方法及手机。The present invention relates to the field of mobile terminals, and in particular, to a mobile phone based key unlocking method and a mobile phone.
背景技术Background technique
随着移动通信的发展和人们生活水平的不断提高,手机的使用越来越普及,手机已经成为人们生活中不可缺少的通讯工具。With the development of mobile communication and the continuous improvement of people's living standards, the use of mobile phones has become more and more popular, and mobile phones have become an indispensable communication tool in people's lives.
手机在使用过程中经常需要解锁。现有技术中用按键解锁手机的方式已经非常成熟,一般都是通过指定顺序按某两个固定的按键来解锁,如先按“*”键再按“#” 键。但是,目前通过按键解锁后手机出现的界面是固定的,这种解锁方式显得很单调,不够新意不能更好地吸引消费者的注意。而且解锁的方式固定不能根据用户的使用习惯或者兴趣进行修改,解锁后界面单一。Mobile phones often need to be unlocked during use. In the prior art, the manner of unlocking the mobile phone by using a button is very mature, and generally is unlocked by pressing two fixed buttons in a specified order, such as pressing the "*" key and then pressing "#". key. However, the interface that appears when the phone is unlocked by the button is fixed. This type of unlocking is very monotonous, and it is not new enough to attract consumers' attention. Moreover, the way of unlocking cannot be modified according to the user's usage habits or interests, and the interface is single after unlocking.
因此,现有技术还有待于改进和发展。Therefore, the prior art has yet to be improved and developed.
发明内容Summary of the invention
本发明要解决的技术问题在于,针对现有技术的上述缺陷,提供一种基于手机的按键解锁方法及手机,旨在改进现有的用按键解锁手机的方式,用户可设置在解锁后直接进入相应的功能,提高了手机使用的快捷性。The technical problem to be solved by the present invention is to provide a method for unlocking a button based on a mobile phone and a mobile phone, aiming at improving the existing manner of unlocking the mobile phone with a button, and the user can set to directly enter after unlocking. The corresponding function improves the speed of use of the mobile phone.
本发明解决技术问题所采用的技术方案如下:The technical solution adopted by the present invention to solve the technical problem is as follows:
一种基于手机的按键解锁方法,其中,包括:A method for unlocking a button based on a mobile phone, which includes:
A、接收用户的操作指令以预先设置用于解锁手机并启动快捷功能的至少一种组合按键;其中每一种组合按键对应打开一种快捷功能;A, receiving an operation instruction of the user to preset at least one combination button for unlocking the mobile phone and starting a shortcut function; wherein each combination button corresponds to opening a shortcut function;
B、当需解锁时,检测是否有按键按下操作,当是则判断所按下的按键是否为在锁屏状态下启动快捷功能的组合按键;B. When it is necessary to unlock, it is detected whether there is a button press operation, and when yes, it is judged whether the pressed button is a combination button for starting the shortcut function in the lock screen state;
C、当判断所按下的按键为在锁屏状态下启动快捷功能的组合按键,则控制屏幕解锁,并自动打开与所按下的组合按键相对应的快捷功能。C. When it is judged that the pressed button is a combination button for starting the shortcut function in the lock screen state, the control screen is unlocked, and the shortcut function corresponding to the pressed combination button is automatically opened.
所述基于手机的按键解锁方法,其中,所述步骤A之前还包括:The method for unlocking a button of a mobile phone, wherein before the step A, the method further includes:
a、设置通过手机菜单提供解锁快捷功能设置项,并在所述解锁快捷功能设置项中提供多种快捷功能设置。a. Set the unlock shortcut function setting item through the mobile phone menu, and provide various shortcut function settings in the unlock shortcut function setting item.
所述基于手机的按键解锁方法,其中,所述步骤A还包括:所述组合按键包括第一按键和第二按键,并且所述第一按键和第二按键为不同按键。The method for unlocking a button of a mobile phone, wherein the step A further comprises: the combination button comprises a first button and a second button, and the first button and the second button are different buttons.
所述基于手机的按键解锁方法,其中,所述步骤A具体包括:The method for unlocking a button of a mobile phone, wherein the step A specifically includes:
A1、接收用户的操作指令通过所述解锁快捷功能设置项预先按顺序定义多种快捷功能,并对每一种快捷功能设置一标号;A1. The operation instruction of the receiving user defines a plurality of shortcut functions in advance by using the unlocking shortcut function setting item, and sets a label for each shortcut function;
A2、接收用户的操作指令进入所述解锁快捷功能设置项菜单,选择快捷功能;A2, receiving an operation instruction of the user enters the unlock shortcut function setting item menu, and selects a shortcut function;
A3、接收用户的操作指令设置其中一种组合按键的第一按键;A3. Receiving a user operation instruction to set a first button of one of the combination buttons;
A4、接收用户的操作指令设置当前组合按键中的第二按键,并选出与所述当前组合按键需对应打开的快捷功能;A4. Receiving an operation instruction of the user, setting a second button in the current combination button, and selecting a shortcut function to be opened corresponding to the current combination button;
A5、当需存储当前设置时将当前设置的第二按键的键值与选择出的快捷功能的第二按键的键值对比,若出现相同则提示更换设置第二按键的键值,若不相同则提示设置成功。A5. When the current setting needs to be stored, compare the key value of the currently set second button with the key value of the selected second shortcut button, and if the same occurs, prompt to replace the key value of the second button, if not the same Then the prompt is set successfully.
所述基于手机的按键解锁方法,其中,所述步骤A5还包括:若选择出的快捷功能的第二按键备选键值用完,则提示更换设置第一按键的键值,所述备选键值为手机键盘上的所有按键的键值The method for unlocking a button of a mobile phone, wherein the step A5 further includes: if the second button candidate key value of the selected shortcut function is used up, prompting to replace the key value of the first button, the candidate The key value is the key value of all the keys on the phone's keyboard.
所述基于手机的按键解锁方法,其中,所述步骤B具体包括:The method for unlocking a button of a mobile phone, wherein the step B specifically includes:
B1、当需解锁时,接收用户的操作指令,点亮手机屏幕触发解锁程序,显示解锁提示,并检测是否有按键操作;B1, when unlocking is needed, receiving an operation instruction of the user, lighting the screen of the mobile phone to trigger an unlocking program, displaying an unlocking prompt, and detecting whether there is a key operation;
B2、当检测到有按键操作时,判断所述按键操作的第一按键是否为预先设置的在锁屏状态下启动某个快捷功能的组合按键中的第一按键,当是时,进入步骤B3; B2. When it is detected that there is a button operation, determine whether the first button of the button operation is a preset one of the first buttons of the combination button that activates a shortcut function in the lock screen state, and when yes, proceed to step B3. ;
B3、在一预定的时间内是否有检测到有关于解锁的第二次按键操作,当是时进入步骤B4;B3, whether a second button operation related to unlocking is detected within a predetermined time, and when yes, the process proceeds to step B4;
B4、判断所述第二次按键操作中所操作的第二按键下的按键是否为预先设置的在锁屏状态下启动上述某个快捷功能的组合按键中的第二按键,当是时进入步骤B5;B4. Determine whether the button under the second button operated in the second button operation is a preset second button of the combination button that activates the one of the shortcut functions in the lock screen state, and when yes, enters the step B5;
B5、判断检测到的第一按键和第二按键的组合是否符合预设在锁屏状态下启动快捷功能的组合按键,当是时产生一解锁控制信号。B5. Determine whether the detected combination of the first button and the second button conforms to a combination button that starts the shortcut function in the lock screen state, and generates an unlock control signal when yes.
所述基于手机的按键解锁方法,其中,所述步骤C具体包括:The method for unlocking a button of a mobile phone, wherein the step C specifically includes:
C1、当判断所按下的按键为在锁屏状态下启动快捷功能的组合按键,则会接收到所述解锁控制信号;C1, when it is judged that the pressed button is a combination button that activates the shortcut function in the lock screen state, the unlock control signal is received;
C2、根据所述解锁控制信号,控制解锁手机屏幕并打开相对应的快捷功能。C2. Control unlocking the mobile phone screen and open a corresponding shortcut function according to the unlocking control signal.
一种手机,其中,包括:A mobile phone, which includes:
设置模块,用于接收用户的操作指令预先设置用于解锁手机并启动快捷功能的至少一种组合按键;其中每一种组合按键对应打开一种快捷功能;a setting module, configured to receive, by the user, an operation instruction, at least one combination button for unlocking the mobile phone and starting a shortcut function; wherein each combination button opens a shortcut function;
判断模块,用于当需解锁时,检测是否有按键按下操作,当是则判断所按下的按键是否为在锁屏状态下启动快捷功能的组合按键;The judging module is configured to detect whether there is a button press operation when the unlocking is needed, and if yes, determine whether the pressed button is a combination button that activates the shortcut function in the lock screen state;
解锁模块,用于当判断所按下的按键为在锁屏状态下启动快捷功能的组合按键,则控制屏幕解锁,并自动打开与所按下的组合按键相对应的快捷功能;The unlocking module is configured to: when it is determined that the pressed button is a combination button that activates the shortcut function in the lock screen state, the control screen is unlocked, and the shortcut function corresponding to the pressed combination button is automatically opened;
显示模块,用于显示解锁信息和设置信息。A display module for displaying unlock information and setting information.
所述的手机,其中,所述设置模块包括:The mobile phone, wherein the setting module comprises:
菜单控制单元,用于通过手机菜单提供解锁快捷功能设置项,并在所述解锁快捷功能设置项中提供多种快捷功能设置;a menu control unit, configured to provide an unlock shortcut function setting item through the mobile phone menu, and provide a plurality of shortcut function settings in the unlock shortcut function setting item;
第一设置单元,用于接收用户的操作指令通过所述解锁快捷功能设置项预先按顺序定义多种快捷功能,并对每一种快捷功能设置一标号;a first setting unit, configured to receive an operation instruction of the user, and define a plurality of shortcut functions in advance by using the unlock shortcut function setting item, and set a label for each shortcut function;
第二设置单元,用于接收用户的操作指令进入所述解锁快捷功能设置项菜单,选择快捷功能;a second setting unit, configured to receive an operation instruction of the user, enter the unlock shortcut function setting item menu, and select a shortcut function;
第三设置单元,用于接收用户的操作指令设置其中一种组合按键的第一按键;a third setting unit, configured to receive a user operation instruction to set a first button of one of the combination buttons;
第四设置单元,用于接收用户的操作指令设置当前组合按键中的第二按键,并选出与所述当前组合按键需对应打开的快捷功能;a fourth setting unit, configured to receive a user operation instruction, set a second button in the current combination button, and select a shortcut function that is required to be opened corresponding to the current combination button;
存储与提示单元,用于当需存储当前设置时将当前设置的第二按键的键值与选择出的快捷功能的第二按键的键值对比,若出现相同则提示更换设置第二按键的键值,若不相同则提示设置成功。The storage and prompting unit is configured to compare the key value of the currently set second button with the key value of the selected second shortcut button when the current setting needs to be stored, and if the same is the same, prompt to replace the button for setting the second button The value, if not the same, prompts the setting to succeed.
所述的手机,其中,The mobile phone, wherein
所述判断模块包括:The determining module includes:
提示与检测单元,用于当需解锁时,接收用户的操作指令,点亮手机屏幕触发解锁程序,显示解锁提示,并检测是否有按键操作;The prompting and detecting unit is configured to receive an operation instruction of the user when the unlocking is needed, illuminate the screen of the mobile phone to trigger an unlocking program, display an unlocking prompt, and detect whether there is a button operation;
第一判断单元,用于当检测到有按键操作时,判断所述按键操作的第一按键是否为预先设置的在锁屏状态下启动某个快捷功能的组合按键中的第一按键; a first determining unit, configured to determine, when a button operation is detected, whether the first button of the button operation is a preset one of a combination button that activates a shortcut function in a lock screen state;
定时与检测单元,用于在一预定的时间内是否有检测到有关于解锁的第二次按键操作;a timing and detecting unit, configured to detect whether a second button operation related to unlocking is detected within a predetermined time;
第二判断单元,用于判断所述第二次按键操作中所操作的第二按键下的按键是否为预先设置的在锁屏状态下启动上述某个快捷功能的组合按键中的第二按键;a second determining unit, configured to determine whether the button under the second button operated in the second button operation is a preset second button of the combination button that activates the one of the shortcut functions in the lock screen state;
控制信号产生单元,用于判断检测到的第一按键和第二按键的组合是否符合预设在锁屏状态下启动快捷功能的组合按键,当是时产生一解锁控制信号;a control signal generating unit, configured to determine whether the detected combination of the first button and the second button meets a preset combination button that starts the shortcut function in a lock screen state, and generates an unlock control signal when yes;
所述解锁模块包括:The unlocking module includes:
控制信号接收单元,用于当判断所按下的按键为在锁屏状态下启动快捷功能的组合按键,则会接收到所述解锁控制信号;a control signal receiving unit, configured to receive the unlocking control signal when determining that the pressed button is a combination button that activates a shortcut function in a lock screen state;
解锁控制单元,用于根据所述解锁控制信号,控制解锁手机屏幕并打开相对应的快捷功能。The unlocking control unit is configured to control unlocking the mobile phone screen and open a corresponding shortcut function according to the unlocking control signal.
本发明的有益效果:与现有技术相比,本发明通过设定一定的组合键达到在解锁手机后直接跳转至指定功能,即一个手机可以根据用户的设定具有多个解锁的组合,而不同的组合可以使手机在解锁后跳转至不同的功能界面,例如指定手机在锁屏的状态下先按“*”键再按“#” 键后人机界面直接跳转至短信界面,而不是现在的进入主界面;也可同时指定先按“左选择键”再按“#” 键后人机界面直接跳转至名片夹界面,等等。Advantageous Effects of the Invention: Compared with the prior art, the present invention achieves a direct jump to a designated function after unlocking a mobile phone by setting a certain combination key, that is, a mobile phone can have multiple unlocked combinations according to a user's setting. Different combinations can make the mobile phone jump to different function interfaces after unlocking. For example, if the specified mobile phone is in the state of lock screen, press “*” key and then press “#”. After the key, the man-machine interface jumps directly to the SMS interface instead of entering the main interface now. It can also be specified by pressing the “Left Select Key” and then the “#” key. The HMI directly jumps to the Contacts interface, etc. Wait.
这样本发明手机增加了新功能:能快捷解锁并进入指定功能。使用户不仅可以自由设置解锁组合按键,还可以设置解锁后直接进入某个指定功能,大大提高了用按键解锁手机的实用性。In this way, the mobile phone of the present invention adds a new function: it can quickly unlock and enter the designated function. The user can not only freely set the unlock combination button, but also can directly enter a certain function after being unlocked, which greatly improves the practicality of unlocking the mobile phone with the button.
附图说明DRAWINGS
图1是本发明基于手机的按键解锁方法的较佳实施例的流程图。1 is a flow chart of a preferred embodiment of a method for unlocking a button of a mobile phone according to the present invention.
图2a、图2b、图2c、图2d、图2e、图2f、图2g是本发明一较佳实施例的具体应用界面结构示意图。2a, 2b, 2c, 2d, 2e, 2f, and 2g are schematic diagrams showing a specific application interface structure according to a preferred embodiment of the present invention.
图3是本发明基于手机的按键解锁方法的应用实施例一流程图。FIG. 3 is a flow chart of a first embodiment of an application example of a method for unlocking a button of a mobile phone according to the present invention.
图4是本发明基于手机的按键解锁方法的应用实施例二流程图。4 is a flow chart of a second embodiment of an application method for unlocking a button of a mobile phone according to the present invention.
图5是本发明实施例的手机功能原理框图。FIG. 5 is a schematic block diagram of a function of a mobile phone according to an embodiment of the present invention.
图6是本发明实施例手机的设置模块内部功能原理框图。FIG. 6 is a block diagram showing the internal function of the setting module of the mobile phone according to the embodiment of the present invention.
图7是本发明实施例手机的判断模块内部功能原理框图。FIG. 7 is a block diagram showing the internal function of the judgment module of the mobile phone according to the embodiment of the present invention.
图8是本发明实施例手机的解锁模块内部功能原理框图。FIG. 8 is a block diagram showing the internal function of the unlocking module of the mobile phone according to the embodiment of the present invention.
具体实施方式detailed description
为使本发明的目的、技术方案及优点更加清楚、明确,以下参照附图并举实施例对本发明进一步详细说明。应当理解,此处所描述的具体实施例仅仅用以解释本发明,并不用于限定本发明。The present invention will be further described in detail below with reference to the accompanying drawings. It is understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
本发明实施例的一种基于手机的按键解锁方法,目的在于改进现有的用按键解锁手机的方式,用户可设置在解锁后直接进入相应的功能,提高了手机使用的快捷性。The method for unlocking a button based on a mobile phone in the embodiment of the present invention aims to improve the existing manner of unlocking the mobile phone by using a button, and the user can directly enter the corresponding function after unlocking, thereby improving the speed of use of the mobile phone.
为实现上述目的,本发明所述基于手机的按键解锁方法通过设定一定的组合键达到在解锁手机后直接跳转至指定功能。In order to achieve the above object, the method for unlocking a button based on a mobile phone of the present invention achieves a direct jump to a designated function after unlocking the mobile phone by setting a certain combination of keys.
请参见图1,图1是本发明基于手机的按键解锁方法的较佳实施例的流程图;本发明实施例所述基于手机的按键解锁方法,包括以下步骤:1 is a flowchart of a preferred method for unlocking a button of a mobile phone according to the present invention. The method for unlocking a button based on a mobile phone according to an embodiment of the present invention includes the following steps:
步骤S110、接收用户的操作指令,以预先设置用于解锁手机并启动快捷功能的至少一种组合按键;其中每一种组合按键对应打开一种快捷功能。Step S110: Receive an operation instruction of the user, to preset at least one combination button for unlocking the mobile phone and starting a shortcut function; wherein each combination button corresponds to opening a shortcut function.
本实施例中,组合按键采用两个按键的组合,较佳采用所述组合按键包括第一按键和第二按键,并且所述第一按键和第二按键为不同按键。譬如在具体实施时,可以进行如下设置:In this embodiment, the combination button uses a combination of two buttons, and the combination button preferably includes a first button and a second button, and the first button and the second button are different buttons. For example, in the specific implementation, the following settings can be made:
快捷功能1(如短信功能)的组合按键为K11、K12;The combination button of shortcut function 1 (such as SMS function) is K11, K12;
快捷功能2(如电话功能)的组合按键为K21、K22;The combination function of shortcut function 2 (such as telephone function) is K21, K22;
快捷功能3的组合按键为K31、K32;等等。The combination keys of shortcut function 3 are K31, K32; and so on.
步骤S120、当需解锁时,检测是否有按键按下操作,当是则判断所按下的按键是否为在锁屏状态下启动快捷功能的组合按键;Step S120, when it is necessary to unlock, detecting whether there is a button press operation, and when yes, determining whether the pressed button is a combination button for starting a shortcut function in a lock screen state;
即在解锁时,检测并判断用户操作的按键中是否有如上述步骤S110中预设的组合按键,如组合按键K11、K12或组合按键K21、K22等。That is, when unlocking, it is detected and determined whether there is a combination button preset in the above step S110, such as the combination button K11, K12 or the combination button K21, K22, and the like.
步骤S130、当判断所按下的按键为在锁屏状态下启动快捷功能的组合按键,则控制屏幕解锁,并自动打开与所按下的组合按键相对应的快捷功能。即判断用户是否按下在设置模块中设置的解锁按键,如果是则解锁屏幕并进入相应的功能,否则解锁失败。Step S130: When it is determined that the pressed button is a combination button that activates the shortcut function in the lock screen state, the control screen is unlocked, and the shortcut function corresponding to the pressed combination button is automatically opened. That is, it is determined whether the user presses the unlock button set in the setting module, and if so, the screen is unlocked and the corresponding function is entered, otherwise the unlocking fails.
当判断用户所按下的按键为上述预设的组合按键,则控制屏幕解锁,并自动打开与所按下的组合按键相对应的快捷功能。譬如接上所述,如果是判断用户操作的是组合按键K11、K12则控制屏幕解锁,并自动打开与组合按键K11、K12相对应的快捷功能为快捷功能1(如短信功能);即解锁后直接进入快捷功能1(如短信功能)。When it is determined that the button pressed by the user is the preset combination button, the control screen is unlocked, and the shortcut function corresponding to the pressed combination button is automatically turned on. For example, if it is determined that the user operates the combination button K11, K12, the control screen is unlocked, and the shortcut function corresponding to the combination buttons K11 and K12 is automatically opened as the shortcut function 1 (such as the short message function); Go directly to the quick function 1 (such as SMS function).
本实施例中,用户可通过设置菜单设置相应的组合按键,如果锁屏状态下该组合按键被识别后,解锁屏幕并打开用户所设定的功能。当用户完成设置后,设置信息保存在手机的FLASH或EEPROM(电可擦可编程只读存储)等掉电不易失的存储器中。In this embodiment, the user can set a corresponding combination button through the setting menu. If the combination button is recognized in the lock screen state, the screen is unlocked and the function set by the user is turned on. When the user completes the setting, the setting information is saved in the memory of the mobile phone such as FLASH or EEPROM (Electrically Erasable Programmable Read Only Memory).
较佳地实施例中,在所述步骤S110之前还包括:In a preferred embodiment, before the step S110, the method further includes:
a、设置通过手机菜单提供解锁快捷功能设置项,如图2a所示,并在所述解锁快捷功能设置项中提供多种快捷功能设置,如图2b所示。a. Set the unlocking shortcut function setting item through the mobile phone menu, as shown in FIG. 2a, and provide various shortcut function settings in the unlocking shortcut function setting item, as shown in FIG. 2b.
较佳地实施例中,所述步骤S110具体包括以下步骤:In a preferred embodiment, the step S110 specifically includes the following steps:
S11、接收用户的操作指令通过所述解锁快捷功能设置项预先按顺序定义多种快捷功能,并对每一种快捷功能设置一标号;如图2b所示,快捷功能1设置为短信功能;快捷功能2设置为电话功能;快捷功能3至快捷功能9为用户可以预设置。S11. The operation instruction of the receiving user defines a plurality of shortcut functions in advance by using the unlocking shortcut function setting item, and sets a label for each shortcut function; as shown in FIG. 2b, the shortcut function 1 is set to a short message function; Function 2 is set to the phone function; shortcut function 3 to shortcut function 9 can be preset by the user.
S12、接收用户的操作指令进入所述解锁快捷功能设置项菜单,选择快捷功能。S13、接收用户的操作指令设置其中一种组合按键的第一按键。S14、接收用户的操作指令设置当前组合按键中的第二按键,并选出与所述当前组合按键需对应打开的快捷功能。譬如如图2c所示,用户通过解锁快捷功能设置项菜单来实现快捷功能3设置,将快捷功能3的第一按键(第一按键)设置为“#”,第二按键(第二按键)设置为“8”;如图2d所示,并将快捷功能3设置为音乐功能。S12. Receive an operation instruction of the user to enter the unlock shortcut function setting item menu, and select a shortcut function. S13. Receive an operation instruction of the user to set a first button of one of the combined buttons. S14. Receive an operation instruction of the user, set a second button in the current combination button, and select a shortcut function that needs to be opened corresponding to the current combination button. For example, as shown in FIG. 2c, the user realizes the shortcut function 3 setting by unlocking the shortcut function setting item menu, and sets the first button (first button) of the shortcut function 3 to “#” and the second button (second button) setting. It is "8"; as shown in Figure 2d, and the shortcut function 3 is set to the music function.
当设置后,手机需进行如下步骤处理:S15、当需存储当前设置时将当前设置的第二按键的键值与选择出的快捷功能的第二按键的键值对比,若出现相同则提示更换设置第二按键的键值,若不相同则提示设置成功。After setting, the mobile phone needs to perform the following steps: S15. When the current setting needs to be stored, the key value of the currently set second button is compared with the key value of the selected second shortcut button, and if the same occurs, the prompt is replaced. Set the key value of the second button. If it is not the same, the setting is successful.
即本实施例在设置菜单中,一种组合按键只能设置打开一种功能,按键可以是手机上的任意按键且第一按键和第二按键应为不同按键。图2a、图2b、图2c、图2d中,用户首先进入解锁快捷功能设置菜单如图2a所示,接着设置各个快捷功能对应的组合按键及解锁后进入的应用。本例中,用户已经设置快捷功能1为短信,快捷功能2为电话,在图2b中,用户正要设置快捷功能3,在图2c中用户设置快捷功能3的组合按键为“#”+“8”,在图2d中用户设置快捷功能3为音乐。通过上述设置,手机在锁屏状态下,先按下#再按下8便解锁屏幕并自动打开音乐,如图2e、图2f、图2g所示。本实施例中可以实现根据用户在设置模块的设置信息,显示相应的解锁提示用作提示,如图2e所示。判断用户是否按下在设置的解锁按键,如果是则解锁屏幕并进入相应的功能,否则解锁失败。That is to say, in the setting menu, a combination button can only be set to open a function, the button can be any button on the mobile phone and the first button and the second button should be different buttons. In FIG. 2a, FIG. 2b, FIG. 2c, and FIG. 2d, the user first enters the unlock shortcut function setting menu as shown in FIG. 2a, and then sets the combination button corresponding to each shortcut function and the application that is entered after unlocking. In this example, the user has set the shortcut function 1 as the short message, and the shortcut function 2 is the telephone. In FIG. 2b, the user is about to set the shortcut function 3. In FIG. 2c, the combination button of the user setting the shortcut function 3 is “#”+” 8", in Figure 2d the user sets the shortcut function 3 to music. With the above settings, the phone is in the lock screen state, first press # and then press 8 to unlock the screen and automatically open the music, as shown in Figure 2e, Figure 2f, Figure 2g. In this embodiment, according to the setting information of the setting module in the user, the corresponding unlocking prompt is displayed as a prompt, as shown in FIG. 2e. Determine whether the user presses the set unlock button. If yes, the screen is unlocked and the corresponding function is entered, otherwise the unlocking fails.
进一步地,所述步骤S15还包括:若选择出的快捷功能的第二按键备选键值用完,则提示更换设置第一按键的键值,所述备选键值为手机键盘上的所有按键的键值。例如可以设置组合按键K11、K12;组合按键K11、K13~组合按键K11、K19。即当不同的快捷功能组合按键的第一按键为K11,第二按键为K12-K19。当第二个按键用完到K19时。则提示更换设置第一按键的键值,所述备选键值为手机键盘上的所有按键的键值。Further, the step S15 further includes: if the selected second button candidate key value of the shortcut function is used up, prompting to replace the setting of the key value of the first button, the candidate key value is all on the mobile phone keyboard The key value of the button. For example, the combination buttons K11 and K12 and the combination buttons K11 and K13~ combination buttons K11 and K19 can be set. That is, when the different shortcut function combination button has the first button K11 and the second button K12-K19. When the second button is used up to K19. Then prompting to replace the key value of setting the first button, the candidate key value is the key value of all the keys on the keyboard of the mobile phone.
本发明实施中,判断第二按键的方法为一个互异判断原则,将当前设置的第二按键的键值与选择出的快捷功能的第二按键的键值比较,若键值相同则设为1,若键值不同则设为0,然后将所有结果做与运算,若运算结果为0则设置成功,若结果为1则设置不成功,提示需重新设置第二按键。In the implementation of the present invention, the method for determining the second button is a mutual judgment principle, and the key value of the currently set second button is compared with the key value of the selected second button of the shortcut function, and if the key value is the same, the setting is 1. If the key value is different, set it to 0, and then compare all the results. If the result is 0, the setting is successful. If the result is 1, the setting is unsuccessful, and the second button needs to be reset.
以下将通过具体的应用实施例,对本发明所述基于手机的按键解锁方法做进一步说明。The method for unlocking a mobile phone based button according to the present invention will be further described below through specific application embodiments.
图3是本发明基于手机的按键解锁方法的应用实施例一流程图,图3的应用实施例中所述方法主要包括以下步骤:FIG. 3 is a flowchart of an application example of a method for unlocking a button of a mobile phone according to the present invention. The method in the application embodiment of FIG. 3 mainly includes the following steps:
步骤S01、当需解锁时,接收用户的操作指令,点亮手机屏幕触发解锁程序。In step S01, when the unlocking is needed, the user's operation instruction is received, and the mobile phone screen is triggered to trigger the unlocking process.
步骤S02、显示解锁提示,如图2f如示。Step S02, displaying an unlocking prompt, as shown in FIG. 2f.
步骤S03、系统检测是否有按键操作,有则进入步骤S04,否则在步骤S03继续检测。Step S03: The system detects whether there is a button operation, if yes, the process proceeds to step S04, otherwise the process continues with the step S03.
步骤S04、当检测到有按键操作时,判断所述按键操作的第一按键是否为预先设置的在锁屏状态下启动某个快捷功能的组合按键中的第一按键,如果是则进入步骤S05,如果否则返回步骤S03; 其中,快捷功能指的是图2b中的解锁手机屏幕后直接打开的功能。在本例中,用户首先需在设置菜单中设定9个快捷功能。Step S04, when it is detected that there is a button operation, it is determined whether the first button of the button operation is a preset first button in a combination button that activates a shortcut function in a lock screen state, and if yes, proceeds to step S05. If not, return to step S03; Among them, the shortcut function refers to the function of directly opening after unlocking the screen of the mobile phone in FIG. 2b. In this example, the user first needs to set 9 shortcut functions in the setup menu.
假设9种快捷功能的组合按键如下:Assume that the combination of the nine shortcut functions is as follows:
快捷功能1的组合按键K11、K12;Combination function K11, K12 of shortcut function 1;
快捷功能2的组合按键K21、K22;Combination function K21, K22 of shortcut function 2;
快捷功能3的组合按键K31、K32;Combination function K31, K32 of shortcut function 3;
快捷功能4的组合按键K41、K42;Combination function K41, K42 of shortcut function 4;
快捷功能5的组合按键K51、K52;Combination function K51, K52 of shortcut function 5;
快捷功能6的组合按键K61、K62; Quick function 6 combination button K61, K62;
快捷功能7的组合按键K71、K72;Combination function K71, K72 of shortcut function 7;
快捷功能8的组合按键K81、K82;Combination function K81, K82 of shortcut function 8;
快捷功能9的组合按键K91、K92;Combination function K91, K92 of shortcut function 9;
其中限制条件为Kx1和Kx2不能相同(即所述第一按键和第二按键为不同按键),x为1到9的自然数。The limitation is that Kx1 and Kx2 cannot be the same (ie, the first button and the second button are different buttons), and x is a natural number from 1 to 9.
当用Ky1表示第一按键,用Kz2表示第二按键。则本步骤完成的是对于用户设置的9种快捷功能的第一按键Ky1的检测,即检测当前按下的按键是否是9种快捷功能的第一按键K11、K21、K31、K41、K51、K61、K71、K81或K91,如果被按下的按键为Ky1中的某一个则进入步骤S05,否则进入步骤S03,其中y为1到9的自然数。例如图2c中快捷功能3的第一按键设置为“#”,第二按键设置为“8”,则K31=“#”,K32=“8”。When Ky1 is used to indicate the first button, Kz2 is used to indicate the second button. Then, the step is to detect the first button Ky1 of the nine shortcut functions set by the user, that is, to detect whether the currently pressed button is the first button of the nine shortcut functions K11, K21, K31, K41, K51, K61 , K71, K81 or K91, if the pressed button is one of Ky1, then proceeds to step S05, otherwise proceeds to step S03, where y is a natural number from 1 to 9. For example, the first button of the shortcut function 3 in FIG. 2c is set to “#”, and the second button is set to “8”, then K31=“#”, K32=“8”.
步骤S05、系统开启定时器T,其中T的超时时间可以为手机出厂时预先设定的。In step S05, the system starts the timer T, wherein the timeout period of the T can be preset when the mobile phone is shipped from the factory.
步骤S06、判断定时器是否超时,如果超时则返回步骤S03,否则进入步骤S07。Step S06: determining whether the timer expires, if it times out, returning to step S03, otherwise proceeding to step S07.
步骤S07、在一预定的时间内是否有检测到有关于解锁的第二次按键操作,有则进入步骤S08,否则返回步骤S06。In step S07, whether a second button operation regarding unlocking is detected within a predetermined time, if yes, the process proceeds to step S08, otherwise, the process returns to step S06.
步骤S08、判断所述第二次按键操作中所操作的第二按键下的按键是否为预先设置的在锁屏状态下启动上述某个快捷功能的组合按键中的第二按键,如果是则进入步骤S09,如果否则返回步骤S04;Step S08: determining whether the button under the second button operated in the second button operation is a preset second button of the combination button that activates the one of the shortcut functions in the lock screen state, and if yes, enters Step S09, if otherwise returns to step S04;
其中,步骤S08完成的是对用户设置的9种快捷功能的第二按键Kz2的检测,即检测当前按下的按键是否是9种快捷功能的第二按键K12、K22、K32、K42、K52、K62、K72、K82或K92。如果被按下的按键为Kz2中的某一个则进入步骤S09,否则进入步骤S04。Step S08 is to complete the detection of the second button Kz2 of the nine shortcut functions set by the user, that is, to detect whether the currently pressed button is the second button K12, K22, K32, K42, K52 of the nine shortcut functions. K62, K72, K82 or K92. If the pressed button is one of Kz2, the process proceeds to step S09, otherwise, the process proceeds to step S04.
步骤S09、判断检测到的第一按键和第二按键的组合是否符合预设在锁屏状态下启动快捷功能的组合按键,当是时产生一解锁控制信号,并进入步骤S10;如果否则返回步骤 S04。即判断Ky1、Kz2的组合按键是否符合预设快捷功能的按键,如果是则进入步骤S10,如果否则进入步骤 S04。本步骤完成的逻辑判断是,判断y和z是否相等。Step S09: determining whether the detected combination of the first button and the second button meets a combination button that is preset to activate the shortcut function in the lock screen state, and when yes, generates an unlock control signal, and proceeds to step S10; if otherwise, returns to the step S04. That is, it is judged whether the combined keys of Ky1 and Kz2 meet the preset shortcut function, and if yes, the process proceeds to step S10, if otherwise, the steps are entered. S04. The logical judgment completed in this step is to determine whether y and z are equal.
步骤S10、当判断所按下的按键为在锁屏状态下启动快捷功能的组合按键,则会接收到所述解锁控制信号;根据所述解锁控制信号,控制解锁手机屏幕并打开相对应的快捷功能。其中,本实施例中快捷功能指的是图2b中的解锁手机屏幕后直接打开的功能。Step S10, when it is determined that the pressed button is a combination button that activates the shortcut function in the lock screen state, the unlock control signal is received; according to the unlock control signal, the unlocking the mobile phone screen is opened and the corresponding shortcut is opened. Features. The shortcut function in this embodiment refers to the function of directly opening after unlocking the mobile phone screen in FIG. 2b.
需要说明的是,这里所述的9种快捷功能只是为了描述方便,所述的第一按键和所述第二按键可以是手机中的所有按键(包括数字键和符号键等)且第一按键和第二按键应为不同按键,因此在实际应用时快捷功能的设置并不限于9种,可以是任意多种。且在实际应用中,启动一个快捷功能的组合按键并不限于两个按键,可以设置3个或更多,因此采用多个组合按键实现的同样属于本发明的保护范围。It should be noted that the nine shortcut functions described herein are only for convenience of description, and the first button and the second button may be all buttons (including numeric keys and symbol keys, etc.) in the mobile phone and the first button The second button and the second button should be different buttons, so the setting of the shortcut function in actual application is not limited to nine types, and may be any number. In practical applications, the combination of activating a shortcut function is not limited to two buttons, and three or more buttons can be set. Therefore, the implementation of multiple combination buttons is also within the scope of the present invention.
本实施例中在按键值数据处理时采用的是:初始化两个数组y[],z[]分别用于第一按键和第二按键。当第一按键中的某个键被按下时相应的y[]被赋值,例如按下按键K11则y[1]=1,按下按键K12则y[2]=2,按下按键K13则y[3]=3 ,……。当第二按键中的某个键被按下时相应的z[]被赋值,例如按下按键K21则z[1]=1,按下按键K22则z[2]=2,按下按键K23则z[3]=3 ,……。最后从1到9依次判断,如果y[]和z[]的值相等且均不等于零,该快捷功能的解锁按键组合被正确按下,打开相应的快捷功能。In the embodiment, in the processing of the key value data, the two arrays y[] are initialized, and z[] is used for the first button and the second button, respectively. When a key in the first button is pressed, the corresponding y[] is assigned. For example, pressing button K11 y[1]=1, pressing button K12 y[2]=2, pressing button K13 Then y[3]=3 ,...... When a key of the second button is pressed, the corresponding z[] is assigned. For example, pressing the button K21 z[1]=1, pressing the button K22 z[2]=2, pressing the button K23 Then z[3]=3 ,...... Finally, it is judged from 1 to 9 that if the values of y[] and z[] are equal and are not equal to zero, the unlocking button combination of the shortcut function is correctly pressed, and the corresponding shortcut function is turned on.
参见图4,本发明还提供了一种基于手机的按键解锁方法的应用实施例二,在本实施例中,上一实施例的方法中的步骤S08、S09、S10可被替换为:Referring to FIG. 4, the present invention further provides an application embodiment 2 of a method for unlocking a button of a mobile phone. In this embodiment, steps S08, S09, and S10 in the method of the previous embodiment may be replaced with:
步骤S08’、判断上一步骤中所按下的按键是否为第一按键对应的一个或多个快捷功能的第二按键Kz2,如果是则进入步骤S09’,如果否则进入步骤S04。Step S08', determining whether the button pressed in the previous step is the second button Kz2 of one or more shortcut functions corresponding to the first button, and if yes, proceeding to step S09', if otherwise, proceeding to step S04.
步骤S09’、系统解锁屏幕并打开相应的快捷功能。In step S09', the system unlocks the screen and opens the corresponding shortcut function.
本实施例中,是以普通的按键手机作为具体实施例描述的,其中步骤04是对用户设置的9种快捷功能的第一按键Ky1的检测,即检测当前按下的按键是否是9种快捷功能的第一按键K11、K21、K31、K41、K51、K61、K71、K81或K91;检测到有上述9个第一按键中的一个按键按下后,步骤S08’完成的是对按下第一按键对应的一个或多个快捷功能的第二按键Kz2的检测,如果按下的按键是第一按键对应的一个或多个快捷功能的第二按键Kz2中的一个则进入步骤S09’。In this embodiment, the ordinary button mobile phone is described as a specific embodiment, wherein step 04 is a detection of the first button Ky1 of the nine shortcut functions set by the user, that is, detecting whether the currently pressed button is 9 shortcuts. The first button K11, K21, K31, K41, K51, K61, K71, K81 or K91 of the function; after detecting that one of the nine first buttons is pressed, the step S08' is completed The detection of the second button Kz2 of one or more shortcut functions corresponding to one button, if the button pressed is one of the second buttons Kz2 of one or more shortcut functions corresponding to the first button, then proceeds to step S09'.
本具体实施方式的思想为:首先对第一个按下的按键进行判断如果在快捷功能的第一按键的列表中,则将这个符合条件的快捷功能取出,作为第二个按下的按键对比的基础, 第二次按下的按键与选出的快捷功能的第二按键进行对比找到一致的则启动该第一按键和第二按键指定的快捷功能。The idea of the specific embodiment is as follows: firstly, the first pressed button is judged. If the first button of the shortcut function is in the list, the qualified shortcut function is taken out as the second pressed button. Foundation, The second pressed button is compared with the second button of the selected shortcut function to find a consistent function to activate the shortcut function specified by the first button and the second button.
由上可见,本发明实施例所述基于手机的按键解锁方法,用户可设置在解锁后直接进入相应的功能,提高了手机使用的快捷性,大大为用户提供了方便。It can be seen that, according to the method for unlocking the button of the mobile phone according to the embodiment of the present invention, the user can directly enter the corresponding function after unlocking, thereby improving the quickness of the use of the mobile phone, and greatly providing convenience for the user.
基于上述实施例,本发明另一实施例还提供了一种手机,如图5所示,包括:Based on the foregoing embodiment, another embodiment of the present invention further provides a mobile phone, as shown in FIG. 5, including:
设置模块210,用于接收用户的操作指令预先设置用于解锁手机并启动快捷功能的至少一种组合按键;其中每一种组合按键对应打开一种快捷功能,具体如上所述。The setting module 210 is configured to receive at least one combination button for unlocking the mobile phone and starting the shortcut function by using an operation instruction of the user; wherein each combination button corresponds to opening a shortcut function, as described above.
判断模块220,用于当需解锁时,检测是否有按键按下操作,当是则判断所按下的按键是否为在锁屏状态下启动快捷功能的组合按键,具体如上所述。The determining module 220 is configured to detect whether there is a button press operation when unlocking, and if yes, determine whether the pressed button is a combination button that activates the shortcut function in the lock screen state, as described above.
解锁模块230,用于当判断所按下的按键为在锁屏状态下启动快捷功能的组合按键,则控制屏幕解锁,并自动打开与所按下的组合按键相对应的快捷功能,具体如上所述。The unlocking module 230 is configured to: when it is determined that the pressed button is a combination button that activates the shortcut function in the lock screen state, the screen is unlocked, and the shortcut function corresponding to the pressed combination button is automatically opened, as described above. Said.
显示模块240,用于显示解锁信息和设置信息,具体如上所述。The display module 240 is configured to display unlocking information and setting information, as described above.
其中,所述设置模块210包括:The setting module 210 includes:
菜单控制单元211,用于通过手机菜单提供解锁快捷功能设置项,并在所述解锁快捷功能设置项中提供多种快捷功能设置,具体如上所述。The menu control unit 211 is configured to provide an unlock shortcut function setting item through the mobile phone menu, and provide a plurality of shortcut function settings in the unlock shortcut function setting item, as described above.
第一设置单元212,用于接收用户的操作指令通过所述解锁快捷功能设置项预先按顺序定义多种快捷功能,并对每一种快捷功能设置一标号,具体如上所述。The first setting unit 212 is configured to receive an operation instruction of the user, and define a plurality of shortcut functions in advance by using the unlock shortcut function setting item, and set a label for each shortcut function, as described above.
第二设置单元213,用于接收用户的操作指令进入所述解锁快捷功能设置项菜单,选择快捷功能,具体如上所述。The second setting unit 213 is configured to receive an operation instruction of the user, enter the unlock shortcut function setting item menu, and select a shortcut function, as described above.
第三设置单元214,用于接收用户的操作指令设置其中一种组合按键的第一按键,具体如上所述。The third setting unit 214 is configured to receive a first button of one of the combination buttons by receiving an operation instruction of the user, as described above.
第四设置单元215,用于接收用户的操作指令设置当前组合按键中的第二按键,并选出与所述当前组合按键需对应打开的快捷功能,具体如上所述。The fourth setting unit 215 is configured to receive an operation instruction of the user, set a second button in the current combination button, and select a shortcut function that needs to be opened corresponding to the current combination button, as described above.
存储与提示单元216,用于当需存储当前设置时将当前设置的第二按键的键值与选择出的快捷功能的第二按键的键值对比,若出现相同则提示更换设置第二按键的键值,若不相同则提示设置成功,具体如上所述。The storage and prompting unit 216 is configured to compare the key value of the currently set second button with the key value of the selected second shortcut button when the current setting needs to be stored, and if the same is the same, prompt to replace the second button. The key value, if not the same, prompts the setting to be successful, as described above.
其中,如图7所示,所述判断模块220包括:As shown in FIG. 7, the determining module 220 includes:
提示与检测单元221,用于当需解锁时,接收用户的操作指令,点亮手机屏幕触发解锁程序,显示解锁提示,并检测是否有按键操作,具体如上所述。The prompting and detecting unit 221 is configured to receive an operation instruction of the user when the unlocking is needed, illuminate the screen of the mobile phone to trigger an unlocking program, display an unlocking prompt, and detect whether there is a key operation, as described above.
第一判断单元222,用于当检测到有按键操作时,判断所述按键操作的第一按键是否为预先设置的在锁屏状态下启动某个快捷功能的组合按键中的第一按键,具体如上所述。 The first determining unit 222 is configured to: when it is detected that there is a button operation, determine whether the first button of the button operation is a preset first button in a combination button that activates a shortcut function in a lock screen state, specifically As mentioned above.
定时与检测单元223,用于在一预定的时间内是否有检测到有关于解锁的第二次按键操作,具体如上所述。The timing and detecting unit 223 is configured to detect whether a second key operation related to unlocking is detected within a predetermined time, as described above.
第二判断单元224、用于判断所述第二次按键操作中所操作的第二按键下的按键是否为预先设置的在锁屏状态下启动上述某个快捷功能的组合按键中的第二按键,具体如上所述。The second determining unit 224 is configured to determine whether the button under the second button operated in the second button operation is a preset second button of the combination button that activates the certain shortcut function in the lock screen state Specifically as described above.
控制信号产生单元225,用于判断检测到的第一按键和第二按键的组合是否符合预设在锁屏状态下启动快捷功能的组合按键,当是时产生一解锁控制信号,具体如上所述。The control signal generating unit 225 is configured to determine whether the detected combination of the first button and the second button meets a preset combination button that starts the shortcut function in the lock screen state, and when generated, generates an unlock control signal, as described above. .
如图8所示,所述解锁模块230包括:As shown in FIG. 8, the unlocking module 230 includes:
控制信号接收单元231,用于当判断所按下的按键为在锁屏状态下启动快捷功能的组合按键,则会接收到所述解锁控制信号,具体如上所述。The control signal receiving unit 231 is configured to receive the unlocking control signal when determining that the pressed button is a combination button that activates the shortcut function in the lock screen state, as described above.
解锁控制单元232,用于根据所述解锁控制信号,控制解锁手机屏幕并打开相对应的快捷功能,具体如上所述。The unlocking control unit 232 is configured to control unlocking the mobile phone screen and open a corresponding shortcut function according to the unlocking control signal, as described above.
本发明的有益效果:与现有技术相比,本发明通过设定一定的组合键达到在解锁手机后直接跳转至指定功能,即一个手机可以根据用户的设定具有多个解锁的组合,而不同的组合可以使手机在解锁后跳转至不同的功能界面,例如指定手机在锁屏的状态下先按“*”键再按“#” 键后人机界面直接跳转至短信界面,而不是现在的进入主界面;也可同时指定先按“左选择键”再按“#” 键后人机界面直接跳转至名片夹界面,等等。Advantageous Effects of the Invention: Compared with the prior art, the present invention achieves a direct jump to a designated function after unlocking a mobile phone by setting a certain combination key, that is, a mobile phone can have multiple unlocked combinations according to a user's setting. Different combinations can make the mobile phone jump to different function interfaces after unlocking. For example, if the specified mobile phone is in the state of lock screen, press “*” key and then press “#”. After the key, the man-machine interface jumps directly to the SMS interface instead of entering the main interface now. It can also be specified by pressing the “Left Select Key” and then the “#” key. The HMI directly jumps to the Contacts interface, etc. Wait.
本发明使手机增加了新功能:能快捷解锁并进入指定功能。使用户不仅可以自由设置解锁组合按键,还可以设置解锁后直接进入某个指定功能,大大提高了用按键解锁手机的实用性。The invention adds a new function to the mobile phone: it can quickly unlock and enter the designated function. The user can not only freely set the unlock combination button, but also can directly enter a certain function after being unlocked, which greatly improves the practicality of unlocking the mobile phone with the button.
应当理解的是,本发明的应用不限于上述的举例,对本领域普通技术人员来说,可以根据上述说明加以改进或变换,所有这些改进和变换都应属于本发明所附权利要求的保护范围。It is to be understood that the application of the present invention is not limited to the above-described examples, and those skilled in the art can make modifications and changes in accordance with the above description, all of which are within the scope of the appended claims.

Claims (15)

  1. 一种基于手机的按键解锁方法,其特征在于,包括: A method for unlocking a button based on a mobile phone, comprising:
    A、接收用户的操作指令,以预先设置用于解锁手机并启动快捷功能的至少一种组合按键;其中每一种组合按键对应打开一种快捷功能;A, receiving an operation instruction of the user, to preset at least one combination button for unlocking the mobile phone and starting a shortcut function; wherein each combination button opens a shortcut function;
    B、当需解锁时,检测是否有按键按下操作,当是则判断所按下的按键是否为在锁屏状态下启动快捷功能的组合按键;B. When it is necessary to unlock, it is detected whether there is a button press operation, and when yes, it is judged whether the pressed button is a combination button for starting the shortcut function in the lock screen state;
    C、当判断所按下的按键为在锁屏状态下启动快捷功能的组合按键,则控制屏幕解锁,并自动打开与所按下的组合按键相对应的快捷功能;C. When it is judged that the pressed button is a combination button for starting the shortcut function in the lock screen state, the control screen is unlocked, and the shortcut function corresponding to the pressed combination button is automatically opened;
    所述步骤A之前还包括:Before the step A, the method further includes:
    a、设置通过手机菜单提供解锁快捷功能设置项,并在所述解锁快捷功能设置项中提供多种快捷功能设置。a. Set the unlock shortcut function setting item through the mobile phone menu, and provide various shortcut function settings in the unlock shortcut function setting item.
  2. 根据权利要求1所述基于手机的按键解锁方法,其特征在于,所述步骤A还包括:所述组合按键包括第一按键和第二按键,并且所述第一按键和第二按键为不同按键。The method for unlocking a button of a mobile phone according to claim 1, wherein the step A further comprises: the combination button comprises a first button and a second button, and the first button and the second button are different buttons .
  3. 根据权利要求2所述基于手机的按键解锁方法,其特征在于,所述步骤A具体包括:The method for unlocking a button of a mobile phone according to claim 2, wherein the step A specifically includes:
    A1、接收用户的操作指令通过一解锁快捷功能设置项预先按顺序定义多种快捷功能,并对每一种快捷功能设置一标号;A1. The operation instruction of the receiving user defines a plurality of shortcut functions in advance by an unlocking shortcut function setting item, and sets a label for each shortcut function;
    A2、接收用户的操作指令进入所述解锁快捷功能设置项菜单,选择快捷功能;A2, receiving an operation instruction of the user enters the unlock shortcut function setting item menu, and selects a shortcut function;
    A3、接收用户的操作指令设置其中一种组合按键的第一按键;A3. Receiving a user operation instruction to set a first button of one of the combination buttons;
    A4、接收用户的操作指令设置当前组合按键中的第二按键,并选出与所述当前组合按键需对应打开的快捷功能;A4. Receiving an operation instruction of the user, setting a second button in the current combination button, and selecting a shortcut function to be opened corresponding to the current combination button;
    A5、当需存储当前设置时将当前设置的第二按键的键值与选择出的快捷功能的第二按键的键值对比,若出现相同则提示更换设置第二按键的键值,若不相同则提示设置成功。A5. When the current setting needs to be stored, compare the key value of the currently set second button with the key value of the selected second shortcut button, and if the same occurs, prompt to replace the key value of the second button, if not the same Then the prompt is set successfully.
  4. 根据权利要求3所述基于手机的按键解锁方法,其特征在于,所述步骤A5还包括:若选择出的快捷功能的第二按键备选键值用完,则提示更换设置第一按键的键值,所述备选键值为手机键盘上的所有按键的键值。The method for unlocking a button of a mobile phone according to claim 3, wherein the step A5 further comprises: if the second button candidate key value of the selected shortcut function is used up, prompting to replace the button for setting the first button Value, the candidate key value is the key value of all the keys on the keyboard of the mobile phone.
  5. 根据权利要求3所述基于手机的按键解锁方法,其特征在于,所述步骤B具体包括:The method for unlocking a button of a mobile phone according to claim 3, wherein the step B specifically includes:
    B1、当需解锁时,接收用户的操作指令,点亮手机屏幕触发解锁程序,显示解锁提示,并检测是否有按键操作;B1, when unlocking is needed, receiving an operation instruction of the user, lighting the screen of the mobile phone to trigger an unlocking program, displaying an unlocking prompt, and detecting whether there is a key operation;
    B2、当检测到有按键操作时,判断所述按键操作的第一按键是否为预先设置的在锁屏状态下启动某个快捷功能的组合按键中的第一按键,当是时,进入步骤B3; B2. When it is detected that there is a button operation, determine whether the first button of the button operation is a preset one of the first buttons of the combination button that activates a shortcut function in the lock screen state, and when yes, proceed to step B3. ;
    B3、在一预定的时间内是否有检测到有关于解锁的第二次按键操作,当是时进入步骤B4;B3, whether a second button operation related to unlocking is detected within a predetermined time, and when yes, the process proceeds to step B4;
    B4、判断所述第二次按键操作中所操作的第二按键下的按键是否为预先设置的在锁屏状态下启动上述某个快捷功能的组合按键中的第二按键,当是时进入步骤B5;B4. Determine whether the button under the second button operated in the second button operation is a preset second button of the combination button that activates the one of the shortcut functions in the lock screen state, and when yes, enters the step B5;
    B5、判断检测到的第一按键和第二按键的组合是否符合预设在锁屏状态下启动快捷功能的组合按键,当是时产生一解锁控制信号。B5. Determine whether the detected combination of the first button and the second button conforms to a combination button that starts the shortcut function in the lock screen state, and generates an unlock control signal when yes.
  6. 根据权利要求5所述基于手机的按键解锁方法,其特征在于,所述步骤C具体包括:The method for unlocking a button of a mobile phone according to claim 5, wherein the step C specifically includes:
    C1、当判断所按下的按键为在锁屏状态下启动快捷功能的组合按键,则会接收到所述解锁控制信号;C1, when it is judged that the pressed button is a combination button that activates the shortcut function in the lock screen state, the unlock control signal is received;
    C2、根据所述解锁控制信号,控制解锁手机屏幕并打开相对应的快捷功能。C2. Control unlocking the mobile phone screen and open a corresponding shortcut function according to the unlocking control signal.
  7. 一种基于手机的按键解锁方法,其特征在于,包括:A method for unlocking a button based on a mobile phone, comprising:
    A、接收用户的操作指令,以预先设置用于解锁手机并启动快捷功能的至少一种组合按键;其中每一种组合按键对应打开一种快捷功能;A, receiving an operation instruction of the user, to preset at least one combination button for unlocking the mobile phone and starting a shortcut function; wherein each combination button opens a shortcut function;
    B、当需解锁时,检测是否有按键按下操作,当是则判断所按下的按键是否为在锁屏状态下启动快捷功能的组合按键;B. When it is necessary to unlock, it is detected whether there is a button press operation, and when yes, it is judged whether the pressed button is a combination button for starting the shortcut function in the lock screen state;
    C、当判断所按下的按键为在锁屏状态下启动快捷功能的组合按键,则控制屏幕解锁,并自动打开与所按下的组合按键相对应的快捷功能。C. When it is judged that the pressed button is a combination button for starting the shortcut function in the lock screen state, the control screen is unlocked, and the shortcut function corresponding to the pressed combination button is automatically opened.
  8. 根据权利要求7所述基于手机的按键解锁方法,其特征在于,所述步骤A还包括:所述组合按键包括第一按键和第二按键,并且所述第一按键和第二按键为不同按键。The method for unlocking a button of a mobile phone according to claim 7, wherein the step A further comprises: the combination button comprises a first button and a second button, and the first button and the second button are different buttons .
  9. 根据权利要求8所述基于手机的按键解锁方法,其特征在于,所述步骤A具体包括: The method for unlocking a button of a mobile phone according to claim 8, wherein the step A specifically includes:
    A1、接收用户的操作指令通过一解锁快捷功能设置项预先按顺序定义多种快捷功能,并对每一种快捷功能设置一标号;A1. The operation instruction of the receiving user defines a plurality of shortcut functions in advance by an unlocking shortcut function setting item, and sets a label for each shortcut function;
    A2、接收用户的操作指令进入所述解锁快捷功能设置项菜单,选择快捷功能;A2, receiving an operation instruction of the user enters the unlock shortcut function setting item menu, and selects a shortcut function;
    A3、接收用户的操作指令设置其中一种组合按键的第一按键;A3. Receiving a user operation instruction to set a first button of one of the combination buttons;
    A4、接收用户的操作指令设置当前组合按键中的第二按键,并选出与所述当前组合按键需对应打开的快捷功能;A4. Receiving an operation instruction of the user, setting a second button in the current combination button, and selecting a shortcut function to be opened corresponding to the current combination button;
    A5、当需存储当前设置时将当前设置的第二按键的键值与选择出的快捷功能的第二按键的键值对比,若出现相同则提示更换设置第二按键的键值,若不相同则提示设置成功。A5. When the current setting needs to be stored, compare the key value of the currently set second button with the key value of the selected second shortcut button, and if the same occurs, prompt to replace the key value of the second button, if not the same Then the prompt is set successfully.
  10. 根据权利要求9所述基于手机的按键解锁方法,其特征在于,所述步骤A5还包括:若选择出的快捷功能的第二按键备选键值用完,则提示更换设置第一按键的键值,所述备选键值为手机键盘上的所有按键的键值。The method for unlocking a button of a mobile phone according to claim 9, wherein the step A5 further comprises: if the second button candidate key value of the selected shortcut function is used up, prompting to replace the button for setting the first button Value, the candidate key value is the key value of all the keys on the keyboard of the mobile phone.
  11. 根据权利要求9所述基于手机的按键解锁方法,其特征在于,所述步骤B具体包括:The method for unlocking a button of a mobile phone according to claim 9, wherein the step B specifically includes:
    B1、当需解锁时,接收用户的操作指令,点亮手机屏幕触发解锁程序,显示解锁提示,并检测是否有按键操作;B1, when unlocking is needed, receiving an operation instruction of the user, lighting the screen of the mobile phone to trigger an unlocking program, displaying an unlocking prompt, and detecting whether there is a key operation;
    B2、当检测到有按键操作时,判断所述按键操作的第一按键是否为预先设置的在锁屏状态下启动某个快捷功能的组合按键中的第一按键,当是时,进入步骤B3; B2. When it is detected that there is a button operation, determine whether the first button of the button operation is a preset one of the first buttons of the combination button that activates a shortcut function in the lock screen state, and when yes, proceed to step B3. ;
    B3、在一预定的时间内是否有检测到有关于解锁的第二次按键操作,当是时进入步骤B4;B3, whether a second button operation related to unlocking is detected within a predetermined time, and when yes, the process proceeds to step B4;
    B4、判断所述第二次按键操作中所操作的第二按键下的按键是否为预先设置的在锁屏状态下启动上述某个快捷功能的组合按键中的第二按键,当是时进入步骤B5;B4. Determine whether the button under the second button operated in the second button operation is a preset second button of the combination button that activates the one of the shortcut functions in the lock screen state, and when yes, enters the step B5;
    B5、判断检测到的第一按键和第二按键的组合是否符合预设在锁屏状态下启动快捷功能的组合按键,当是时产生一解锁控制信号。B5. Determine whether the detected combination of the first button and the second button conforms to a combination button that starts the shortcut function in the lock screen state, and generates an unlock control signal when yes.
  12. 根据权利要求11所述基于手机的按键解锁方法,其特征在于,所述步骤C具体包括:The method for unlocking a button of a mobile phone according to claim 11, wherein the step C specifically includes:
    C1、当判断所按下的按键为在锁屏状态下启动快捷功能的组合按键,则会接收到所述解锁控制信号;C1, when it is judged that the pressed button is a combination button that activates the shortcut function in the lock screen state, the unlock control signal is received;
    C2、根据所述解锁控制信号,控制解锁手机屏幕并打开相对应的快捷功能。C2. Control unlocking the mobile phone screen and open a corresponding shortcut function according to the unlocking control signal.
  13. 一种手机,其特征在于,包括:A mobile phone characterized by comprising:
    设置模块,用于接收用户的操作指令以预先设置用于解锁手机并启动快捷功能的至少一种组合按键;其中每一种组合按键对应打开一种快捷功能;a setting module, configured to receive an operation instruction of the user to preset at least one combination button for unlocking the mobile phone and starting a shortcut function; wherein each combination button corresponds to opening a shortcut function;
    判断模块,用于当需解锁时,检测是否有按键按下操作,当是则判断所按下的按键是否为在锁屏状态下启动快捷功能的组合按键;The judging module is configured to detect whether there is a button press operation when the unlocking is needed, and if yes, determine whether the pressed button is a combination button that activates the shortcut function in the lock screen state;
    解锁模块,用于当判断所按下的按键为在锁屏状态下启动快捷功能的组合按键,则控制屏幕解锁,并自动打开与所按下的组合按键相对应的快捷功能;The unlocking module is configured to: when it is determined that the pressed button is a combination button that activates the shortcut function in the lock screen state, the control screen is unlocked, and the shortcut function corresponding to the pressed combination button is automatically opened;
    显示模块,用于显示解锁信息和设置信息。A display module for displaying unlock information and setting information.
  14. 根据权利要求13所述的手机,其特征在于,所述设置模块包括:The mobile phone according to claim 13, wherein the setting module comprises:
    菜单控制单元,用于通过手机菜单提供解锁快捷功能设置项,并在所述解锁快捷功能设置项中提供多种快捷功能设置;a menu control unit, configured to provide an unlock shortcut function setting item through the mobile phone menu, and provide a plurality of shortcut function settings in the unlock shortcut function setting item;
    第一设置单元,用于接收用户的操作指令通过所述解锁快捷功能设置项预先按顺序定义多种快捷功能,并对每一种快捷功能设置一标号;a first setting unit, configured to receive an operation instruction of the user, and define a plurality of shortcut functions in advance by using the unlock shortcut function setting item, and set a label for each shortcut function;
    第二设置单元,用于接收用户的操作指令进入所述解锁快捷功能设置项菜单,选择快捷功能;a second setting unit, configured to receive an operation instruction of the user, enter the unlock shortcut function setting item menu, and select a shortcut function;
    第三设置单元,用于接收用户的操作指令设置其中一种组合按键的第一按键;a third setting unit, configured to receive a user operation instruction to set a first button of one of the combination buttons;
    第四设置单元,用于接收用户的操作指令设置当前组合按键中的第二按键,并选出与所述当前组合按键需对应打开的快捷功能;a fourth setting unit, configured to receive a user operation instruction, set a second button in the current combination button, and select a shortcut function that is required to be opened corresponding to the current combination button;
    存储与提示单元,用于当需存储当前设置时将当前设置的第二按键的键值与选择出的快捷功能的第二按键的键值对比,若出现相同则提示更换设置第二按键的键值,若不相同则提示设置成功。The storage and prompting unit is configured to compare the key value of the currently set second button with the key value of the selected second shortcut button when the current setting needs to be stored, and if the same is the same, prompt to replace the button for setting the second button The value, if not the same, prompts the setting to succeed.
  15. 根据权利要求14所述的手机,其特征在于,The mobile phone according to claim 14, wherein
    所述判断模块包括:The determining module includes:
    提示与检测单元,用于当需解锁时,接收用户的操作指令,点亮手机屏幕触发解锁程序,显示解锁提示,并检测是否有按键操作;The prompting and detecting unit is configured to receive an operation instruction of the user when the unlocking is needed, illuminate the screen of the mobile phone to trigger an unlocking program, display an unlocking prompt, and detect whether there is a button operation;
    第一判断单元,用于当检测到有按键操作时,判断所述按键操作的第一按键是否为预先设置的在锁屏状态下启动某个快捷功能的组合按键中的第一按键; a first determining unit, configured to determine, when a button operation is detected, whether the first button of the button operation is a preset one of a combination button that activates a shortcut function in a lock screen state;
    定时与检测单元,用于在一预定的时间内是否有检测到有关于解锁的第二次按键操作;a timing and detecting unit, configured to detect whether a second button operation related to unlocking is detected within a predetermined time;
    第二判断单元,用于判断所述第二次按键操作中所操作的第二按键下的按键是否为预先设置的在锁屏状态下启动上述某个快捷功能的组合按键中的第二按键;a second determining unit, configured to determine whether the button under the second button operated in the second button operation is a preset second button of the combination button that activates the one of the shortcut functions in the lock screen state;
    控制信号产生单元,用于判断检测到的第一按键和第二按键的组合是否符合预设在锁屏状态下启动快捷功能的组合按键,当是时产生一解锁控制信号;a control signal generating unit, configured to determine whether the detected combination of the first button and the second button meets a preset combination button that starts the shortcut function in a lock screen state, and generates an unlock control signal when yes;
    所述解锁模块包括:The unlocking module includes:
    控制信号接收单元,用于当判断所按下的按键为在锁屏状态下启动快捷功能的组合按键,则会接收到所述解锁控制信号;a control signal receiving unit, configured to receive the unlocking control signal when determining that the pressed button is a combination button that activates a shortcut function in a lock screen state;
    解锁控制单元,用于根据所述解锁控制信号,控制解锁手机屏幕并打开相对应的快捷功能。The unlocking control unit is configured to control unlocking the mobile phone screen and open a corresponding shortcut function according to the unlocking control signal.
PCT/CN2012/087094 2012-03-01 2012-12-21 Cellphone-based key unlocking method and cellphone WO2013127233A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN2012100514858A CN102624979A (en) 2012-03-01 2012-03-01 Key unlocking method based on mobile phone and mobile phone
CN201210051485.8 2012-03-01

Publications (1)

Publication Number Publication Date
WO2013127233A1 true WO2013127233A1 (en) 2013-09-06

Family

ID=46564659

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2012/087094 WO2013127233A1 (en) 2012-03-01 2012-12-21 Cellphone-based key unlocking method and cellphone

Country Status (2)

Country Link
CN (1) CN102624979A (en)
WO (1) WO2013127233A1 (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103237123A (en) * 2013-04-01 2013-08-07 上海斐讯数据通信技术有限公司 Cellphone screen unlocking device, method for setting and unlocking cellphone screen lock
EP2752748A4 (en) * 2012-11-29 2014-12-03 Huawei Tech Co Ltd Screen unlocking method, apparatus, and device
EP2919445A1 (en) * 2014-03-10 2015-09-16 BlackBerry Limited Activation of an electronic device with a capacitive keyboard
US9520009B2 (en) 2012-11-29 2016-12-13 Huawei Technologies Co., Ltd. Screen unlocking method, apparatus, and device
US10558328B2 (en) 2015-11-28 2020-02-11 Xiaomi Inc. Display screen unlocking method and apparatus

Families Citing this family (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102624979A (en) * 2012-03-01 2012-08-01 惠州Tcl移动通信有限公司 Key unlocking method based on mobile phone and mobile phone
CN102868827A (en) * 2012-09-15 2013-01-09 潘天华 Method of using voice commands to control start of mobile phone applications
US9710628B2 (en) 2012-12-21 2017-07-18 Nokia Technologies Oy Unlocking an apparatus
CN103064622A (en) * 2012-12-25 2013-04-24 广东欧珀移动通信有限公司 Screen unlocking method and device for mobile terminal
CN103034520A (en) * 2012-12-31 2013-04-10 广东欧珀移动通信有限公司 Method and system for starting applications
CN103116464B (en) * 2013-01-31 2016-03-02 广东欧珀移动通信有限公司 A kind of touch panel device and enter the method for exposal model fast
CN104598783B (en) * 2014-12-22 2018-01-19 广东欧珀移动通信有限公司 The unlocking method and device of a kind of intelligent terminal
CN105550549A (en) * 2015-09-02 2016-05-04 宇龙计算机通信科技(深圳)有限公司 Verification processing method and verification processing device
CN105353965B (en) * 2015-09-25 2019-05-17 维沃移动通信有限公司 The unlocking screen method and electronic equipment of a kind of electronic equipment
CN105512546B (en) * 2015-11-24 2018-06-22 广东欧珀移动通信有限公司 A kind of method and device of intelligent terminal unlock
CN106027748B (en) * 2016-08-04 2019-05-21 北京安云世纪科技有限公司 The method, apparatus and mobile terminal of distress call under screen lock state

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101827172A (en) * 2010-04-23 2010-09-08 深圳桑菲消费通信有限公司 Method for making mobile phone direct reach function interface after being unlocked
CN101951423A (en) * 2010-08-31 2011-01-19 华为终端有限公司 Keyboard unlocking method and terminal
CN102624979A (en) * 2012-03-01 2012-08-01 惠州Tcl移动通信有限公司 Key unlocking method based on mobile phone and mobile phone

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060075250A1 (en) * 2004-09-24 2006-04-06 Chung-Wen Liao Touch panel lock and unlock function and hand-held device
CN101662527B (en) * 2008-08-27 2012-12-19 比亚迪股份有限公司 Method and system for activating application program of mobile phone
CN102130998A (en) * 2011-03-16 2011-07-20 华为终端有限公司 Method and device for unlocking mobile phone keyboard

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101827172A (en) * 2010-04-23 2010-09-08 深圳桑菲消费通信有限公司 Method for making mobile phone direct reach function interface after being unlocked
CN101951423A (en) * 2010-08-31 2011-01-19 华为终端有限公司 Keyboard unlocking method and terminal
CN102624979A (en) * 2012-03-01 2012-08-01 惠州Tcl移动通信有限公司 Key unlocking method based on mobile phone and mobile phone

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2752748A4 (en) * 2012-11-29 2014-12-03 Huawei Tech Co Ltd Screen unlocking method, apparatus, and device
US9520009B2 (en) 2012-11-29 2016-12-13 Huawei Technologies Co., Ltd. Screen unlocking method, apparatus, and device
CN103237123A (en) * 2013-04-01 2013-08-07 上海斐讯数据通信技术有限公司 Cellphone screen unlocking device, method for setting and unlocking cellphone screen lock
EP2919445A1 (en) * 2014-03-10 2015-09-16 BlackBerry Limited Activation of an electronic device with a capacitive keyboard
US10558328B2 (en) 2015-11-28 2020-02-11 Xiaomi Inc. Display screen unlocking method and apparatus

Also Published As

Publication number Publication date
CN102624979A (en) 2012-08-01

Similar Documents

Publication Publication Date Title
WO2013127233A1 (en) Cellphone-based key unlocking method and cellphone
WO2018082482A1 (en) Network sharing method, and method and system for accessing network
WO2017143692A1 (en) Smart television and voice control method therefor
WO2014010998A1 (en) Method for transmitting and receiving data between memo layer and application and electronic device using the same
WO2015030452A1 (en) Mobile terminal comprising stylus pen and touch panel
WO2015199453A1 (en) Foldable electronic apparatus and interfacing method thereof
WO2019168383A1 (en) Electronic device
WO2015076463A1 (en) Mobile terminal and control method thereof
WO2017054592A1 (en) Interface display method and terminal
WO2019168380A1 (en) Electronic device
WO2019114269A1 (en) Method for resuming playing program, television device, and computer readable storage medium
WO2017054481A1 (en) Information verification and processing method and apparatus, and information processing system
WO2012150755A1 (en) Method, apparatus and recoding medium for providing touch game
WO2019024336A1 (en) Data query method and device, and computer readable storage medium
WO2018233367A1 (en) Case registration method and apparatus, terminal, and computer readable storage medium
WO2019071762A1 (en) Floor positioning method and system, server and computer-readable storage medium
WO2017084337A1 (en) Identity verification method, apparatus and system
WO2017197752A1 (en) System switching method, system switching device, and terminal
WO2020032649A1 (en) Electronic device and communication relaying method thereof
WO2018076875A1 (en) Backup data synchronisation method, apparatus, storage medium, electronic device, and server
WO2018188342A1 (en) Method, apparatus and device for generating script file, and computer-readable storage medium
WO2015139594A1 (en) Security verification method, apparatus, and system
WO2018233221A1 (en) Multi-window sound output method, television, and computer-readable storage medium
WO2019085543A1 (en) Television system and television control method
WO2019000466A1 (en) Face recognition method and apparatus, storage medium, and electronic device

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

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

Country of ref document: EP

Kind code of ref document: A1