WO2013123702A1 - Unlocking method and unlocking apparatus for electronic device - Google Patents

Unlocking method and unlocking apparatus for electronic device Download PDF

Info

Publication number
WO2013123702A1
WO2013123702A1 PCT/CN2012/073949 CN2012073949W WO2013123702A1 WO 2013123702 A1 WO2013123702 A1 WO 2013123702A1 CN 2012073949 W CN2012073949 W CN 2012073949W WO 2013123702 A1 WO2013123702 A1 WO 2013123702A1
Authority
WO
WIPO (PCT)
Prior art keywords
unlocking
answer
user
correct
electronic device
Prior art date
Application number
PCT/CN2012/073949
Other languages
French (fr)
Chinese (zh)
Inventor
彭克善
Original Assignee
中兴通讯股份有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 中兴通讯股份有限公司 filed Critical 中兴通讯股份有限公司
Publication of WO2013123702A1 publication Critical patent/WO2013123702A1/en

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/30Authentication, i.e. establishing the identity or authorisation of security principals
    • G06F21/31User authentication

Definitions

  • the present invention relates to an electronic device unlocking technology, and more particularly to an unlocking method and an unlocking device for an electronic device having a touch screen. Background technique
  • a main object of the present invention is to provide an unlocking method capable of improving the safety of use of an electronic device.
  • the present invention provides an unlocking method, including the following steps: pre-setting an unlocking information base; detecting whether an unlocking button is pressed, and if so, extracting an unlocking problem from the unlocking information base and displaying; acquiring the user is unlocking The unlocking of the interface input corresponding to the unlocking problem And determining whether the unlocking answer is correct, and if so, determining that the unlocking is successful and unlocking the electronic device.
  • the acquiring an unlocking answer corresponding to the unlocking problem input by the user on the unlocking interface, and determining whether the unlocking answer is correct, and if yes, determining that the unlocking is successful and unlocking the electronic device comprises: forming on the unlocking interface An unlocking area for the user to input the unlocking answer; obtaining an unlocking answer input by the user on the unlocking area; determining whether the unlocking answer input by the user is the same as the pre-stored answer in the unlocking information base, and if the same, determining that the unlocking is successful Unlock the electronic device.
  • the method further includes: extracting, from the unlocking information library, an answer option of the displayed unlocking question, and displaying, the answer option includes the correct item and the non- Correct item
  • the acquiring an unlocking answer corresponding to the unlocking problem input by the user on the unlocking interface, and determining whether the unlocking answer is correct, if yes, determining that the unlocking is successful and unlocking the electronic device comprises: determining whether the user is correctly selected If yes, it is determined that the unlocking is successful and the electronic device is unlocked.
  • the acquiring an unlocking answer corresponding to the unlocking problem input by the user on the unlocking interface, and determining whether the unlocking answer is correct, and if yes, determining that the unlocking is successful and unlocking the electronic device further includes: determining that the predetermined time is Whether the internal user performs the selection, if otherwise, the unlocking failure is determined and the unlocking interface is closed.
  • the acquiring an unlocking answer corresponding to the unlocking problem input by the user on the unlocking interface, and determining whether the unlocking answer is correct, if yes, determining that the unlocking is successful and unlocking the electronic device further includes: if the user selects a non-selected If the correct item is, the current unlocking problem is marked, the marking signal is outputted and cumulatively counted; whether the accumulated count reaches a predetermined value, and if so, it is determined that the user has failed to unlock and closes the unlocking interface, and if not, returns from the The step of extracting the unlocking problem and displaying the unlocking information base.
  • the present invention also provides an unlocking device for an electronic device having a touch screen, the unlocking device comprising a storage module, an operation module and a processing module; wherein the storage module is configured as a preset unlocking information library; and the operating module is configured to detect whether the unlocking button is Pressing, if yes, extracting the unlocking problem from the unlocking information base and displaying; the processing module is configured to obtain an unlocking answer corresponding to the unlocking question input by the user on the unlocking interface, and determine whether the unlocking answer is correct, and if yes, determine Unlocking successfully and unlocking the electronic device.
  • the storage module is configured as a preset unlocking information library
  • the operating module is configured to detect whether the unlocking button is Pressing, if yes, extracting the unlocking problem from the unlocking information base and displaying
  • the processing module is configured to obtain an unlocking answer corresponding to the unlocking question input by the user on the unlocking interface, and determine whether the unlocking answer is correct, and if yes, determine Unlocking successfully and unlocking
  • the operation module is further configured to extract an answer option of the unlocking question from the unlocking information library after extracting the unlocking problem, the answering option includes a correct item and an incorrect item; and the processing module determines that the user is determined by Whether the correct item is selected to determine whether the unlock answer entered by the user on the unlock interface is correct.
  • the processing module is further configured to determine whether the user performs the selection within a predetermined time and determines that the unlocking fails and closes the unlocking interface after determining that the user has not performed the selection within the predetermined time interval.
  • the unlocking device further includes a control module, the control module includes a marking unit and a counting unit, and the marking unit is configured to mark a current unlocking problem and output a marking signal when the user selects an incorrect item,
  • the counting unit receives the flag signal and performs cumulative counting.
  • control module further includes a determining unit, the determining unit is configured to determine in real time whether the accumulated count in the counting unit has reached a predetermined value, and if the predetermined value is reached, determine that the user fails to unlock and close the unlocking interface, otherwise A control signal is sent to the operation module to control the operation module to extract any one of the unlocking problems without the mark from the information library of the storage module.
  • the unlocking method provided by the present invention can display the corresponding unlocking problem on the unlocking interface, so that the user can unlock the electronic device and perform subsequent operations by inputting an unlocking answer corresponding to the unlocking problem on the unlocking interface, so that the outsider does not know the user.
  • the solution to the corresponding unlocking problem In the case of locking the answer, the electronic device cannot be easily unlocked, and the security of the electronic device is improved.
  • FIG. 1 is a schematic block diagram of an unlocking device according to an embodiment of the present invention.
  • FIG. 2 is a schematic view of an operation module of the unlocking device shown in FIG. 1;
  • FIG 3 is a schematic view of a processing module of the unlocking device shown in Figure 1;
  • FIG 4 is a schematic diagram of the control module shown in Figure 1;
  • FIG. 5 is a flowchart of a method for unlocking a touch screen according to an embodiment of the present invention
  • FIG. 6 is a flow chart of a specific application embodiment of a touch screen unlocking method according to the present invention. detailed description
  • FIG. 1 is a schematic diagram of a module of the unlocking device 10 according to an embodiment of the present invention.
  • the unlocking device 10 can be applied to an electronic device having a touch screen, such as a mobile phone, a music player, a PDA, or a tablet computer, for the user to unlock the electronic device and perform subsequent operations by operating the touch screen, for example, After unlocking, use the electronic device to perform operations such as dialing or music playback.
  • the unlocking device 10 includes a storage module 100, an operation module 200, a processing module 300, and a control module 400.
  • the storage module 100 is configured to store data and related programs and the like required for realizing the normal operation of the electronic device, and corresponding data required to implement the unlocking operation of the electronic device.
  • the data required to unlock the operation includes unlocking the information base.
  • the unlocking information library has at least one unlocking issue.
  • the unlocking question can be expressed in different forms.
  • unlocking information There are also answer options in the library.
  • the answer option includes a correct item and an incorrect item, wherein the correct item corresponds to the correct answer information of each unlocking problem and is related to the corresponding unlocking problem, that is, between each unlocking problem and the corresponding information corresponding to the correct item. They are related to each other.
  • the corresponding correct item is also determined and can be obtained.
  • the information corresponding to the incorrect item may be any information other than the correct answer information of each unlocking question.
  • the storage module 100 can store two unlocking questions and four answering options, wherein the two answering options are the correct items associated with the two unlocking questions, and the other two answering options are respectively incorrect items, which are incorrect.
  • the information corresponding to the item may be any other predetermined information such as predetermined text information or digital information.
  • the information type of the incorrect item may be the same or different from the information type of the correct item.
  • the two correct items are text information, one of them is non-
  • the information type of the correct item can be text, and the information type of another incorrect item can be a number, or the information type of two incorrect items can be text or number.
  • the number of unlocking questions and answer options may vary to meet the needs of the customer.
  • the operation module 200 is coupled to the storage module 100, configured to detect whether the unlock button is pressed and to extract an unlocking question from the storage module 100 for display when the unlock button is pressed.
  • the processing module 300 is connected to the operation module 200, and is configured to acquire an unlocking answer corresponding to the unlocking problem input by the user on the unlocking interface, and determine whether the unlocking answer is correct, and if yes, determine that the unlocking is successful and unlock the electronic device.
  • the operation module 200 includes a first detection unit 210, an extraction unit 220, and a display unit 230.
  • the first detecting unit 210 is connected to the unlock button and is set to It is detected whether the unlock button is pressed and generated when the detection button is pressed and the extraction signal is output.
  • the extracting unit 220 is connected to the first detecting unit 210 and the storage module 100, and is configured to receive the extracted signal output from the first detecting unit 210 and extract at least one unlocking problem from the storage module 100 after receiving the extracted signal. Since each unlocking problem is associated with the corresponding correct item, after the unlocking problem is extracted, the correct item corresponding to the unlocking problem can be determined through the association relationship.
  • the display unit 230 is connected to the extraction unit 220, and is configured to receive the unlocking question extracted by the extraction unit 220 and display the extracted unlocking question on the unlocking interface.
  • the user inputting an action to unlock the answer may be one of selecting the extracted answer options on the unlock interface.
  • the extracting unit 220 may acquire the correct item according to the association relationship between the unlocking problem and the correct answer, and extract the correct item, in addition to extracting the unlocking problem from the storage module 100. come out.
  • the extracting unit 220 extracts the same incorrect item such as "error” or "unsure” after extracting the correct item "correct”. "Wait.
  • the display unit 230 displays the unlocking question, the correct item, and the incorrect item on the unlocking interface after receiving the unlocking question, the correct item, and the incorrect item extracted by the extracting unit 220.
  • the extracting unit 220 may extract the unlocking problem and the incorrect item from the storage module 100 by means of random extraction. Specifically, when the extracting unit 220 receives the extracted signal from the first detecting unit 210, a specific algorithm is executed. For example, in some embodiments, an unlocking problem may be randomly extracted from the storage module 100 using a shuffling algorithm. Then, after extracting the correct item of the unlocking problem, the extracting unit 220 uses the shuffling algorithm to extract the incorrect item from the unlocking information base in the storage module 100.
  • the processing module 300 obtains the unlock answer entered by the user on the unlock interface by obtaining an answer option selected by the user.
  • the processing module 300 includes a second detecting unit 310, an obtaining unit 320, a comparing unit 330, and an unlocking unit 340.
  • the second detecting unit 310 is arranged to detect whether any of the answer options are selected within the predetermined time interval, and if so, output an acknowledgment signal.
  • the acquisition unit 320 is coupled to the second detection unit 310, configured to receive the confirmation signal and further obtain location information of the selected answer option.
  • the comparing unit 330 is connected to the obtaining unit 320, and is configured to receive the location information of the selected answer option acquired by the obtaining unit 320, and compare the location information with the location information of the correct item of the extracted unlocking problem on the unlocking interface, And outputting the first detection signal when the determination is consistent, otherwise outputting the second detection signal.
  • the user inputting an unlocking answer on the unlocking interface may also input relevant information by the user by handwriting.
  • the extraction unit 220 extracts only the unlocking question from the storage module 100 upon receiving the extracted signal, and transmits the extracted unlocking question to the display unit 230 for display.
  • the display unit 230 simultaneously forms an unlocking area for the user to input the relevant information by hand after displaying the unlocking problem. So, the user can The related information is entered in the unlocked area by a touch pen or a finger or the like to unlock the electronic device.
  • the second detecting unit 310 obtains the information input by the user in the unlocking area, and determines whether the information input by the user matches the correct answer information of the extracted unlocking question, and if yes, outputs the first detection. Signal, otherwise output the second detection signal.
  • the unlocking unit 340 is connected to the second detecting unit 310, and is configured to receive the first detecting signal output by the second detecting unit 310 and perform an unlocking operation on the electronic device according to the first detecting signal, so that the user can perform the electronic device on the electronic device.
  • the control module 400 is coupled to the storage module 100, the operation module 200, and the processing module 300, and is configured to perform a corresponding operation when an unlock answer input by the user is incorrect.
  • the control module 400 can include a marking unit 410, a counting unit 420, and a determining unit 430.
  • the marking unit 410 is connected to the second detecting unit 310 and the storage module 100, and is configured to receive the second detection signal output by the second detecting unit 310 and search for the currently extracted unlocking problem from the storage module 100 according to the second detecting signal. And after finding the corresponding information, it is marked and the flag signal is output.
  • Counting unit 420 is coupled to marking unit 410 and is arranged to receive the marking signal and accumulate count 1.
  • the determining unit 430 is connected to the marking unit 410 and the extracting unit 220, and is set to determine in real time whether the count accumulated by the counting unit 420 has reached a predetermined value. When it is determined that the count accumulated in the counting unit 420 has reached a predetermined value, the determining unit 430 Determining that the user has failed to unlock and issuing an end command to close the unlocking interface, and when it is determined that the count accumulated in the counting unit 420 has not reached the predetermined value, the determining unit 430 outputs a control signal to the extracting unit 220, and thus the extracting unit 220 is thus from the storage module 100. The extraction in the unmarked unlocking problem is extracted and sent to the display unit 230 for display after being extracted to the correct item and the incorrect item in the above manner.
  • the unlocking device 10 provided by the present invention unlocks an electronic device by operating the touch screen by displaying an unlocking problem on the unlocking interface and requiring the user to input an unlocking answer corresponding to the unlocking problem on the unlocking interface, and the unlocking problem is caused by the user operating the touch screen.
  • the answer can be defined or selected by the user, so the outsider cannot easily unlock without knowing the unlock answer defined by the user.
  • Electronic devices have improved the safety of the use of electronic devices.
  • the control module 400 marks the current unlocking problem and randomly extracts other unlocking problems when the unlocking answer input by the user is wrong, it is possible to avoid the occurrence of repeated unlocking problems. Thus, even if the user forgets the correct item of one of the unlocking problems, the electronic device can be unlocked by answering the unlocking question that occurs later without being able to unlock the electronic device due to forgetting the correct item of the unlocking problem.
  • the present invention further provides an unlocking method for unlocking an electronic device equipped with the touch screen by operating a touch screen.
  • the unlocking method includes the following steps:
  • the unlock information library is preset.
  • the unlocking information library includes at least one unlocking issue.
  • step S200 it is detected whether the unlock button is pressed, and if pressed, the unlocking problem is extracted from the unlocking information library and displayed.
  • the electronic device can be provided with an unlock button, and the user can initiate the unlocking operation by pressing the unlock button.
  • the unlock button is pressed, the unlocking question is extracted from the preset unlocking information library and sent to the unlocking interface for display.
  • an unlocking problem may be randomly extracted from the above-described unlocking information base by employing an algorithm such as a shuffling algorithm.
  • step S300 the unlocking answer input by the user on the unlocking interface is obtained and it is determined whether the unlocking answer is correct, and if so, it is determined that the unlocking is successful and the electronic device is unlocked.
  • the action of inputting the unlock answer may be different.
  • the action of inputting the unlock answer may be that the user inputs any information on the unlock interface, and acquires the unlock entered by the user on the unlock interface.
  • the answer can be realized by obtaining information input by the user on the unlocking interface, and detecting whether the unlocking action is correct or not by comparing whether the information input by the user is consistent with the answer of the preset extracted unlocking question. In other embodiments, enter the answer to unlock the answer.
  • the action may select one of the multiple answer options displayed on the unlock interface.
  • obtaining the unlock answer input by the user on the unlock interface may be implemented by obtaining an answer option selected by the user, and passing It is judged whether the answer option selected by the user is the correct item of the extracted unlocking question to detect whether the unlocking answer input by the user is correct or not.
  • the unlocking method of the present invention will be further described in detail below through a specific application embodiment.
  • the user inputting the unlocking answer is to select the correct answer option in the unlocking interface.
  • the unlocking method includes:
  • an unlocking information library having an unlocking question and an answer option is set in advance.
  • the unlocking information database has at least one unlocking question and at least one answer option, and the at least one answering option includes at least the correct item of each unlocking question.
  • the correct item corresponds to the correct answer information for each unlocking question and is related to each unlocking problem. That is, each unlocking problem is associated with the corresponding correct item.
  • the at least one answer option also includes an incorrect item.
  • the information corresponding to the incorrect item may be any predetermined text information or digital information, and the like.
  • the information type of the incorrect item may be the same or different from the information type of the correct item. For example, if there are two correct items and two incorrect items in the four answer options in the answer option library, if one of the information types of the two correct items is text information, one of the incorrect items may be set.
  • the information type is text, and the information type of another incorrect item is a number. Alternatively, you can set the information type of two incorrect items to text or number.
  • the above unlocking question and answer options can be formed by the user and stored in the unlocking information base.
  • the number of unlocking questions and answer options may vary to meet the needs of the customer.
  • step S12 it is judged whether or not the unlock button is pressed, and if yes, the process proceeds to step S13, otherwise, the process returns to step S12 to continue determining whether the unlock button has been pressed.
  • the unlocking operation can be started by pressing the unlock button.
  • an unlocking question and an answer option including at least the extracted correct item of the unlocking question are extracted from the unlocking information base. Since the unlocking problem is related to its correct item, after a certain unlocking problem is extracted, the correct item of the unlocking problem is also extracted. At the same time, in this embodiment, the incorrect items in the answer option library can also be extracted.
  • an unlocking problem or an incorrect term may be randomly extracted from the above-described unlocking information base by employing an algorithm such as a shuffling algorithm.
  • step S14 the extracted unlocking question and the extracted answer option are displayed on the unlocking interface.
  • icons respectively corresponding to the extracted unlocking question and answer option may be generated, and the first display area and the first display area may be formed on the unlocking interface.
  • the display area is displayed in the first display area and the second display area for the user to touch the selection answer option, so that the user can understand the unlocking process more clearly.
  • step S15 it is judged whether any of the answer options are selected, and if so, the process proceeds to step S17, otherwise, the process proceeds to step S16.
  • step S16 it is judged whether or not the predetermined time interval has been reached, and if it has been reached, the process goes to step S20, otherwise it returns to step S15 to continue to determine whether any of the answer options are selected.
  • the predetermined value may be automatically set by the system or set by the user according to his or her own needs.
  • step S17 it is judged whether the selected answer option is the correct item of the extracted unlocking problem, and if so, the process goes to step S21, otherwise, the process goes to step S18.
  • step S18 the currently extracted unlocking problem is marked and cumulatively counted.
  • the current touch question is marked and the flag signal is outputted and then accumulated.
  • step S19 it is judged whether or not the cumulative count has reached a predetermined value, and if yes, the process proceeds to step S20, otherwise, the process returns to step S13.
  • the predetermined value may be set automatically by the system or set by the user according to his or her own needs.
  • the unlocking operation fails and the unlocking interface is closed.
  • the cumulative count has not reached the predetermined value, then return to step S13 from Unlock other unlocking issues with unmarked in the repository. In the same way, other unlocking problems can also be extracted by random extraction.
  • step S20 it is determined that the user has failed to unlock, and the unlocking interface is closed.
  • step S21 it is determined that the user unlocking operation is successful, and the electronic device is unlocked.
  • the unlocking method provided by the present invention by displaying an unlocking problem on the unlocking interface and requiring the user to input an unlocking answer corresponding to the unlocking problem on the unlocking interface, enables the user to unlock the electronic device by operating the touch screen, and, due to unlocking the answer and unlocking The problem corresponds, therefore, the outsider cannot easily unlock the electronic device without knowing the unlock answer defined by the user, thereby improving the security of the use of the electronic device.
  • the unlocking method provided by the present invention can also extract other unlocking problems in the case that the correct item of the unlocking problem selected by the user is wrong, and the repetition of the unlocking problem may be avoided. Thus, even if the user forgets the correct item of one of the unlocking problems, the electronic device can be unlocked by answering the unlocking problem that occurs subsequently without being able to unlock the electronic device because the correct item of the unlocking problem is forgotten.

Abstract

An unlocking method for unlocking an electronic device having a touch screen is disclosed in the present invention. The method comprises the following steps: presetting an unlocking information database; detecting whether an unlocking button is pressed, extracting and displaying an unlocking question from the unlocking information database when the button is pressed; obtaining the unlocking answer corresponding to the unlocking question entered by a user in the unlocking interface, determining whether the unlocking answer is correct, when the answer is correct, determining unlocking success and unlocking the electronic device. Also disclosed is an unlocking apparatus for an electronic device having a touch screen. By displaying the unlocking question in the unlocking interface, the unlocking method provided in the present invention enables the user to enter the unlocking answer corresponding to the unlocking question in the unlocking interface, thus the electronic device can not be unlocked easily if the unlocking answer corresponding to the unlocking question set by the user is unknown, and the use security of the electronic device is improved.

Description

电子设备的解锁方法及解锁装置 技术领域  Electronic device unlocking method and unlocking device
本发明涉及电子设备解锁技术, 尤其涉及一种具有触摸屏的电子设备 的解锁方法及解锁装置。 背景技术  The present invention relates to an electronic device unlocking technology, and more particularly to an unlocking method and an unlocking device for an electronic device having a touch screen. Background technique
目前, 在个人数字助理( PDA , Personal Digital Assistance )、 掌上电脑、 智能手机等电子设备中, 大部分具有对电子设备进行锁定的功能, 以保护 用户的隐私和数据, 并防止用户的误操作。 另外, 随着触摸屏技术的发展, 多数电子设备上都配备有触摸屏, 并把触摸屏操作作为最主要的与用户交 互的方法。 对于配备有触摸屏的上述电子设备, 则可利用触摸屏的输入特 性解除其锁定状态。 例如, 对于具有触摸屏的手机, 可以用虚拟按键来解 锁手机锁定状态。 一般地, 当解锁按钮被按下后, 解锁界面上都显示有解 锁图像, 用户只需按照预定轨迹移动解锁图像或者将解锁图像移动到目标 位置即可解锁该电子设备。 然而, 这种解锁方法太过简单, 容易被破解, 使得电子设备的安全性较低。  Currently, most electronic devices such as personal digital assistants (PDAs), handheld computers, and smart phones have the function of locking electronic devices to protect user privacy and data, and prevent user misuse. In addition, with the development of touch screen technology, most electronic devices are equipped with a touch screen, and touch screen operation is the most important method of interacting with users. For the above electronic device equipped with a touch screen, the input state of the touch screen can be used to release its locked state. For example, for a phone with a touch screen, you can use the virtual buttons to unlock the phone lock status. Generally, when the unlock button is pressed, an unlock image is displayed on the unlock interface, and the user only needs to move the unlock image according to the predetermined track or move the unlock image to the target position to unlock the electronic device. However, this unlocking method is too simple and easy to be cracked, making the electronic device less secure.
鉴于此, 有必要提供一种能够提高电子设备使用安全性的解锁方法。 发明内容  In view of this, it is necessary to provide an unlocking method capable of improving the safety of use of electronic devices. Summary of the invention
本发明的主要目的在于提供一种能够提高电子设备使用安全性的解锁 方法。  A main object of the present invention is to provide an unlocking method capable of improving the safety of use of an electronic device.
为了实现上述目的, 本发明提供一种解锁方法, 包括以下步驟: 预置 解锁信息库; 检测解锁按钮是否被按下, 若是则从所述解锁信息库中提取 解锁问题并显示; 获取用户在解锁界面输入的对应所述解锁问题的解锁答 案, 并判断所述解锁答案是否正确, 若是则判定解锁成功并解锁所述电子 设备。 In order to achieve the above object, the present invention provides an unlocking method, including the following steps: pre-setting an unlocking information base; detecting whether an unlocking button is pressed, and if so, extracting an unlocking problem from the unlocking information base and displaying; acquiring the user is unlocking The unlocking of the interface input corresponding to the unlocking problem And determining whether the unlocking answer is correct, and if so, determining that the unlocking is successful and unlocking the electronic device.
优选地, 所述获取用户在解锁界面输入的对应所述解锁问题的解锁答 案, 并判断所述解锁答案是否正确, 若是则判定解锁成功并解锁所述电子 设备包括: 在所述解锁界面上形成可供用户输入解锁答案的解锁区域; 获 取用户在所述解锁区域上输入的解锁答案; 判断用户所输入的解锁答案是 否与所述解锁信息库中预存的答案相同, 若相同则判定解锁成功并解锁所 述电子设备。  Preferably, the acquiring an unlocking answer corresponding to the unlocking problem input by the user on the unlocking interface, and determining whether the unlocking answer is correct, and if yes, determining that the unlocking is successful and unlocking the electronic device comprises: forming on the unlocking interface An unlocking area for the user to input the unlocking answer; obtaining an unlocking answer input by the user on the unlocking area; determining whether the unlocking answer input by the user is the same as the pre-stored answer in the unlocking information base, and if the same, determining that the unlocking is successful Unlock the electronic device.
优选地, 所述从所述解锁信息库中提取解锁问题并显示的步驟之后还 包括: 从所述解锁信息库中提取显示的解锁问题的答案选项并显示, 所述 答案选项包含正确项和非正确项;  Preferably, after the step of extracting the unlocking problem from the unlocking information database and displaying the method, the method further includes: extracting, from the unlocking information library, an answer option of the displayed unlocking question, and displaying, the answer option includes the correct item and the non- Correct item
相应的, 所述获取用户在解锁界面输入的对应所述解锁问题的解锁答 案, 并判断所述解锁答案是否正确, 若是则判定解锁成功并解锁所述电子 设备的步驟包括: 判断用户是否选中正确项, 若是则判定解锁成功并解锁 所述电子设备。  Correspondingly, the acquiring an unlocking answer corresponding to the unlocking problem input by the user on the unlocking interface, and determining whether the unlocking answer is correct, if yes, determining that the unlocking is successful and unlocking the electronic device comprises: determining whether the user is correctly selected If yes, it is determined that the unlocking is successful and the electronic device is unlocked.
优选地, 所述获取用户在解锁界面输入的对应所述解锁问题的解锁答 案, 并判断所述解锁答案是否正确, 若是则判定解锁成功并解锁所述电子 设备的步驟还包括: 判断在预定时间内用户是否执行选择, 若否则判定解 锁失败并关闭所述解锁界面。  Preferably, the acquiring an unlocking answer corresponding to the unlocking problem input by the user on the unlocking interface, and determining whether the unlocking answer is correct, and if yes, determining that the unlocking is successful and unlocking the electronic device further includes: determining that the predetermined time is Whether the internal user performs the selection, if otherwise, the unlocking failure is determined and the unlocking interface is closed.
优选地, 所述获取用户在解锁界面输入的对应所述解锁问题的解锁答 案, 并判断所述解锁答案是否正确, 若是则判定解锁成功并解锁所述电子 设备的步驟还包括: 若用户选中非正确项, 则对当前的解锁问题进行标记, 输出标记信号并进行累积计数; 判断所述累积计数是否达到预定值, 若是, 则判定用户解锁失败并关闭所述解锁界面, 若否, 则返回从所述解锁信息 库中提取解锁问题并显示的步驟。 本发明还提供了一种具有触摸屏的电子设备的解锁装置, 该解锁装置 包括存储模块、 操作模块及处理模块; 其中, 存储模块设置为预置解锁信 息库; 操作模块设置为检测解锁按钮是否被按下, 若是则从所述解锁信息 库中提取解锁问题并显示; 处理模块设置为获取用户在解锁界面输入的对 应所述解锁问题的解锁答案, 并判断所述解锁答案是否正确, 若是则判定 解锁成功并解锁所述电子设备。 Preferably, the acquiring an unlocking answer corresponding to the unlocking problem input by the user on the unlocking interface, and determining whether the unlocking answer is correct, if yes, determining that the unlocking is successful and unlocking the electronic device further includes: if the user selects a non-selected If the correct item is, the current unlocking problem is marked, the marking signal is outputted and cumulatively counted; whether the accumulated count reaches a predetermined value, and if so, it is determined that the user has failed to unlock and closes the unlocking interface, and if not, returns from the The step of extracting the unlocking problem and displaying the unlocking information base. The present invention also provides an unlocking device for an electronic device having a touch screen, the unlocking device comprising a storage module, an operation module and a processing module; wherein the storage module is configured as a preset unlocking information library; and the operating module is configured to detect whether the unlocking button is Pressing, if yes, extracting the unlocking problem from the unlocking information base and displaying; the processing module is configured to obtain an unlocking answer corresponding to the unlocking question input by the user on the unlocking interface, and determine whether the unlocking answer is correct, and if yes, determine Unlocking successfully and unlocking the electronic device.
优选地, 所述操作模块还设置为在提取解锁问题后从所述解锁信息库 中提取该解锁问题的答案选项, 所述答案选项包括正确项和非正确项; 所 述处理模块判断通过判断用户是否选中正确项而判断用户在解锁界面上所 输入的解锁答案是否正确。  Preferably, the operation module is further configured to extract an answer option of the unlocking question from the unlocking information library after extracting the unlocking problem, the answering option includes a correct item and an incorrect item; and the processing module determines that the user is determined by Whether the correct item is selected to determine whether the unlock answer entered by the user on the unlock interface is correct.
优选地, 所述处理模块还设置为判断在预定时间内用户是否执行选择 并在判断到用户在预定时间间隔内没有执行选择后判定解锁失败并关闭所 述解锁界面。  Preferably, the processing module is further configured to determine whether the user performs the selection within a predetermined time and determines that the unlocking fails and closes the unlocking interface after determining that the user has not performed the selection within the predetermined time interval.
优选地, 所述解锁装置还包括控制模块, 所述控制模块包括标记单元 及计数单元, 所述标记单元设置为在用户选中非正确项时对当前的解锁问 题进行标记并输出标记信号, 所述计数单元接收所述标记信号并进行累积 计数。  Preferably, the unlocking device further includes a control module, the control module includes a marking unit and a counting unit, and the marking unit is configured to mark a current unlocking problem and output a marking signal when the user selects an incorrect item, The counting unit receives the flag signal and performs cumulative counting.
优选地, 所述控制模块还包括判断单元, 所述判断单元设置为实时判 断所述计数单元中的累积计数是否已达到预定值, 若达到预定值时则判定 用户解锁失败并关闭解锁界面, 否则发出控制信号至所述操作模块以控制 所述操作模块从所述存储模块的信息库中提取没有标记的任意一个解锁问 题。  Preferably, the control module further includes a determining unit, the determining unit is configured to determine in real time whether the accumulated count in the counting unit has reached a predetermined value, and if the predetermined value is reached, determine that the user fails to unlock and close the unlocking interface, otherwise A control signal is sent to the operation module to control the operation module to extract any one of the unlocking problems without the mark from the information library of the storage module.
本发明所提供的解锁方法, 通过在解锁界面上显示对应解锁问题, 使 得用户可通过在解锁界面上输入对应该解锁问题的解锁答案而解锁电子设 备并进行后续操作, 如此, 外人在不知道用户所设定的对应解锁问题的解 锁答案的情况下无法轻易解锁电子设备, 提高了电子设备使用的安全性。 附图说明 The unlocking method provided by the present invention can display the corresponding unlocking problem on the unlocking interface, so that the user can unlock the electronic device and perform subsequent operations by inputting an unlocking answer corresponding to the unlocking problem on the unlocking interface, so that the outsider does not know the user. The solution to the corresponding unlocking problem In the case of locking the answer, the electronic device cannot be easily unlocked, and the security of the electronic device is improved. DRAWINGS
图 1为本发明实施例的解锁装置的模块示意图;  1 is a schematic block diagram of an unlocking device according to an embodiment of the present invention;
图 2为图 1所示的解锁装置的操作模块的示意图;  2 is a schematic view of an operation module of the unlocking device shown in FIG. 1;
图 3为图 1所示的解锁装置的处理模块的示意图;  Figure 3 is a schematic view of a processing module of the unlocking device shown in Figure 1;
图 4为图 1所示的控制模块的示意图;  Figure 4 is a schematic diagram of the control module shown in Figure 1;
图 5为本发明实施例触摸屏解锁方法的流程图;  FIG. 5 is a flowchart of a method for unlocking a touch screen according to an embodiment of the present invention; FIG.
图 6为本发明触摸屏解锁方法具体应用实施例流程图。 具体实施方式  6 is a flow chart of a specific application embodiment of a touch screen unlocking method according to the present invention. detailed description
为了使本发明的目的、 技术方案及优点更加清楚明白, 以下结合附图 及实施例, 对本发明进行进一步详细说明。 应当理解, 此处所描述的具体 实施例仅仅用于解释本发明, 并不用于限定本发明。  The present invention will be further described in detail below with reference to the accompanying drawings and embodiments. It is understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
请参考图 1 , 其为本发明实施例中解锁装置 10的模块示意图。 在本实 施例中, 解锁装置 10可应用于具有触摸屏的电子设备, 如手机、 音乐播放 器、 PDA或平板电脑等中, 以供用户通过操作触摸屏而解锁电子设备并进 行后续的操作, 例如, 在解锁后利用电子设备进行拨号或音乐播放等操作。 在本实施例中, 解锁装置 10包括存储模块 100、 操作模块 200、 处理模块 300及控制模块 400。  Please refer to FIG. 1 , which is a schematic diagram of a module of the unlocking device 10 according to an embodiment of the present invention. In this embodiment, the unlocking device 10 can be applied to an electronic device having a touch screen, such as a mobile phone, a music player, a PDA, or a tablet computer, for the user to unlock the electronic device and perform subsequent operations by operating the touch screen, for example, After unlocking, use the electronic device to perform operations such as dialing or music playback. In this embodiment, the unlocking device 10 includes a storage module 100, an operation module 200, a processing module 300, and a control module 400.
存储模块 100,设置为存储实现电子设备正常运行所需的数据与相关程 序等、 及设置为实现电子设备解锁操作所需的相应的数据。 解锁操作所需 的数据包括解锁信息库。 在一些实施例中, 该解锁信息库中具有至少一个 解锁问题。 在不同的实施例中, 解锁问题可以以不同的形式表达。 在一些 实施例中, 解锁问题可通过简单算术题或判断题的形式来表达, 例如, 解 锁问题可为" 1+2=? "或" 1+3=4是否正确? "等。在一些实施例中,解锁信息 库中还具有答案选项。 答案选项包括正确项和非正确项, 其中, 正确项对 应了各解锁问题正确的答案信息且与对应的解锁问题之间相互关联, 即, 各解锁问题与相应的正确项所对应的信息之间是相互关联的, 当解锁问题 确定后, 其对应的正确项也随之确定并可被获取得到。 非正确项对应的信 息可为除各解锁问题的正确答案信息之外的任何信息。例如,存储模块 100 中可存储有两个解锁问题及四个答案选项, 其中两个答案选项为与两个解 锁问题相关联的正确项, 而另外两个答案选项分别为非正确项, 非正确项 对应的信息可为任何其他预定的信息如预定的文字信息或数字信息等。 非 正确项的信息类型可与正确项的信息类型相同或不同。 仍以存储模块 100 中存储有四个答案选项, 其中分别为两个解锁问题的正确项, 另外两个为 非正确项为例, 在两个正确项均为文字信息的情况下, 其中一个非正确项 的信息类型可为文字, 而另一个非正确项的信息类型可为数字, 或者, 两 个非正确项的信息类型均可为文字或数字。 The storage module 100 is configured to store data and related programs and the like required for realizing the normal operation of the electronic device, and corresponding data required to implement the unlocking operation of the electronic device. The data required to unlock the operation includes unlocking the information base. In some embodiments, the unlocking information library has at least one unlocking issue. In various embodiments, the unlocking question can be expressed in different forms. In some embodiments, the unlocking question can be expressed in the form of a simple arithmetic problem or a judgment question. For example, the unlocking question can be "1+2=?" or "1+3=4 is correct?" and the like. In some embodiments, unlocking information There are also answer options in the library. The answer option includes a correct item and an incorrect item, wherein the correct item corresponds to the correct answer information of each unlocking problem and is related to the corresponding unlocking problem, that is, between each unlocking problem and the corresponding information corresponding to the correct item. They are related to each other. When the unlocking problem is determined, the corresponding correct item is also determined and can be obtained. The information corresponding to the incorrect item may be any information other than the correct answer information of each unlocking question. For example, the storage module 100 can store two unlocking questions and four answering options, wherein the two answering options are the correct items associated with the two unlocking questions, and the other two answering options are respectively incorrect items, which are incorrect. The information corresponding to the item may be any other predetermined information such as predetermined text information or digital information. The information type of the incorrect item may be the same or different from the information type of the correct item. There are still four answer options stored in the storage module 100, which are the correct items of the two unlocking problems, and the other two are the incorrect items. In the case where the two correct items are text information, one of them is non- The information type of the correct item can be text, and the information type of another incorrect item can be a number, or the information type of two incorrect items can be text or number.
可以理解, 在一些实施例中, 用户也可根据自己的喜好定义答案选项。 例如,在同样设置解锁问题为" 1+3=4是否正确? "的情况下, 用户可以设置 该问题所关联的正确项为 "错误 "或" X" , 并定义非正确项为 "不确定"等。  It will be appreciated that in some embodiments, the user may also define an answer option according to his or her own preferences. For example, in the case where the same unlocking question is set to "1+3=4 is correct?", the user can set the correct item associated with the problem to be "error" or "X" and define the incorrect item as "undefined" "Wait.
可以理解, 在其他一些实施例中, 解锁问题及答案选项的数量可以有 所不同以满足客户的需求。  It will be appreciated that in other embodiments, the number of unlocking questions and answer options may vary to meet the needs of the customer.
操作模块 200连接至存储模块 100,设置为检测解锁按钮是否被按下并 在解锁按钮被按下时从存储模块 100 中提取解锁问题以供显示。 处理模块 300连接至操作模块 200, 设置为获取用户在解锁界面输入的对应所述解锁 问题的解锁答案, 并判断所述解锁答案是否正确, 若是则判定解锁成功并 解锁所述电子设备。  The operation module 200 is coupled to the storage module 100, configured to detect whether the unlock button is pressed and to extract an unlocking question from the storage module 100 for display when the unlock button is pressed. The processing module 300 is connected to the operation module 200, and is configured to acquire an unlocking answer corresponding to the unlocking problem input by the user on the unlocking interface, and determine whether the unlocking answer is correct, and if yes, determine that the unlocking is successful and unlock the electronic device.
如图 2所示, 在一些实施例中, 操作模块 200包括第一检测单元 210、 提取单元 220及显示单元 230。 第一检测单元 210连接至解锁按钮,设置为 检测解锁按钮是否按下并在检测按钮被按下时产生并输出提取信号。 提取 单元 220连接至第一检测单元 210及存储模块 100,设置为接收来自第一检 测单元 210所输出的提取信号并在接收该提取信号后从存储模块 100中提 取至少一个解锁问题。 由于各解锁问题与对应的正确项之间相关联, 因此, 在解锁问题被提取出来后, 通过关联关系便可确定对应该解锁问题的正确 项。显示单元 230连接至提取单元 220,设置为接收提取单元 220所提取的 解锁问题并将所提取的解锁问题显示于解锁界面上。 As shown in FIG. 2, in some embodiments, the operation module 200 includes a first detection unit 210, an extraction unit 220, and a display unit 230. The first detecting unit 210 is connected to the unlock button and is set to It is detected whether the unlock button is pressed and generated when the detection button is pressed and the extraction signal is output. The extracting unit 220 is connected to the first detecting unit 210 and the storage module 100, and is configured to receive the extracted signal output from the first detecting unit 210 and extract at least one unlocking problem from the storage module 100 after receiving the extracted signal. Since each unlocking problem is associated with the corresponding correct item, after the unlocking problem is extracted, the correct item corresponding to the unlocking problem can be determined through the association relationship. The display unit 230 is connected to the extraction unit 220, and is configured to receive the unlocking question extracted by the extraction unit 220 and display the extracted unlocking question on the unlocking interface.
在一些实施例中, 用户输入解锁答案的动作可为在解锁界面上选中所 提取的答案选项中的一个。 在这些实施例中, 提取单元 220在接收到提取 信号后, 除了从存储模块 100 中提取解锁问题之外, 还可根据解锁问题与 其正确答案之间的关联关系获取正确项并将该正确项提取出来。 并且, 提 取单元 220还可同时提取与该正确项的信息类型相同的非正确项。 例如, 若所提取的解锁问题为" 1+2=? ", 则提取单元 220在根据关联关系提取了 该问题的正确项" 3"之后, 还从存储模块 100中提取了同为数字类型的非正 确项,如" 4"、 "5"或" 6"等。或者,若所提取的解锁问题为 "1+3=4是否正确? ", 则提取单元 220在提取正确项 "正确 "之后还提取了同样为文字的非正确项 如"错误"或"不确定 "等。 在这些实施例中, 显示单元 230在接收提取单元 220所提取的解锁问题、正确项及非正确项之后并将解锁问题、正确项及非 正确项显示在解锁界面上。  In some embodiments, the user inputting an action to unlock the answer may be one of selecting the extracted answer options on the unlock interface. In these embodiments, after receiving the extraction signal, the extracting unit 220 may acquire the correct item according to the association relationship between the unlocking problem and the correct answer, and extract the correct item, in addition to extracting the unlocking problem from the storage module 100. come out. Moreover, the extracting unit 220 can simultaneously extract the same incorrect type of information as the correct item. For example, if the extracted unlocking problem is "1+2=?", the extracting unit 220 extracts the same digital type from the storage module 100 after extracting the correct item "3" of the question according to the association relationship. Incorrect items such as "4", "5" or "6". Or, if the extracted unlocking question is "1+3=4 is correct?", the extracting unit 220 extracts the same incorrect item such as "error" or "unsure" after extracting the correct item "correct". "Wait. In these embodiments, the display unit 230 displays the unlocking question, the correct item, and the incorrect item on the unlocking interface after receiving the unlocking question, the correct item, and the incorrect item extracted by the extracting unit 220.
需要说明的是, 在这些实施例中, 提取单元 220可通过随机提取的方 式从存储模块 100中提取解锁问题及非正确项。具体而言, 当提取单元 220 接收到来自第一检测单元 210 的提取信号后则执行特定的算法, 例如在一 些实施例中可为采用洗牌算法从存储模块 100 中随机提取一个解锁问题。 而后, 在提取了该解锁问题的正确项后, 提取单元 220又采用洗牌算法从 存储模块 100中解锁信息库中提取非正确项。 需要说明的是, 在这些实施例中, 显示单元 230还可用于在将提取的 解锁问题及答案选项显示于解锁界面之前生成分别对应所提取的解锁问题 及答案选项的图标, 用于在解锁界面上形成第一显示区域及第二显示区域, 并分别将对应解锁问题的图标及答案选项的图标显示在第一显示区域及第 二显示区域中以供用户触碰选择答案选项, 从而使用户可更加明了解锁流 程。 例如, 在所提取的解锁问题为" 1+3=? ", 正确项为" 4"及非正确项为 "5" 的情况下, 显示单元 230 将生成三个图标, 其中一个图标对应解锁问题 "1+3=? ", 一个图标对应正确项 "4", 而另一个图标则对应非正确项" 5"。 It should be noted that, in these embodiments, the extracting unit 220 may extract the unlocking problem and the incorrect item from the storage module 100 by means of random extraction. Specifically, when the extracting unit 220 receives the extracted signal from the first detecting unit 210, a specific algorithm is executed. For example, in some embodiments, an unlocking problem may be randomly extracted from the storage module 100 using a shuffling algorithm. Then, after extracting the correct item of the unlocking problem, the extracting unit 220 uses the shuffling algorithm to extract the incorrect item from the unlocking information base in the storage module 100. It should be noted that, in these embodiments, the display unit 230 may be further configured to generate icons corresponding to the extracted unlocking questions and answer options respectively before displaying the extracted unlocking questions and answer options on the unlocking interface, for using the unlocking interface. Forming a first display area and a second display area, and respectively displaying an icon corresponding to the unlocking problem and an icon of the answer option in the first display area and the second display area for the user to touch the selection answer option, thereby enabling the user to A clearer understanding of the unlock process. For example, in the case where the extracted unlocking problem is "1+3=?", the correct item is "4", and the incorrect item is "5", the display unit 230 will generate three icons, one of which corresponds to the unlocking problem. "1+3=?", one icon corresponds to the correct item "4", and the other icon corresponds to the incorrect item "5".
在这些实施例中, 当解锁问题及答案选项显示于解锁界面上之后, 处 理模块 300通过获取用户所选中的答案选项而获取用户在解锁界面上所输 入的解锁答案。 具体而言, 如图 3所示, 处理模块 300包括第二检测单元 310、 获取单元 320、 比较单元 330及解锁单元 340。 第二检测单元 310, 设 置为检测在预定时间间隔内是否有任意一个答案选项被选中, 若有则输出 确认信号。获取单元 320连接至第二检测单元 310,设置为接收确认信号并 进一步获取被选中的答案选项的位置信息。 比较单元 330连接至获取单元 320, 设置为接收获取单元 320所获取的被选中的答案选项的位置信息并将 该位置信息与所提取的解锁问题的正确项在解锁界面上的位置信息进行比 较, 并在判定一致时输出第一检测信号, 否则输出第二检测信号。  In these embodiments, after the unlock question and answer option is displayed on the unlock interface, the processing module 300 obtains the unlock answer entered by the user on the unlock interface by obtaining an answer option selected by the user. Specifically, as shown in FIG. 3, the processing module 300 includes a second detecting unit 310, an obtaining unit 320, a comparing unit 330, and an unlocking unit 340. The second detecting unit 310 is arranged to detect whether any of the answer options are selected within the predetermined time interval, and if so, output an acknowledgment signal. The acquisition unit 320 is coupled to the second detection unit 310, configured to receive the confirmation signal and further obtain location information of the selected answer option. The comparing unit 330 is connected to the obtaining unit 320, and is configured to receive the location information of the selected answer option acquired by the obtaining unit 320, and compare the location information with the location information of the correct item of the extracted unlocking problem on the unlocking interface, And outputting the first detection signal when the determination is consistent, otherwise outputting the second detection signal.
可以理解, 在其他一些实施例中, 用户在解锁界面上输入解锁答案的 动作亦可为用户通过手写方式输入相关的信息。 在这些实施例中, 提取单 元 220在接收到提取信号后仅从存储模块 100中提取解锁问题, 并将所提 取的解锁问题发送到显示单元 230 以供显示。 在该过程中, 由于各解锁问 题与其正确答案信息之间相互关联, 因此, 当解锁问题提取出来之后, 其 对应的正确答案信息也就相应确定并可获得。 显示单元 230在显示解锁问 题后, 同时形成用于供用户手写输入相关信息的解锁区域。 如此, 用户可 通过触摸笔或手指等在解锁区域中输入相关的信息以解锁电子设备。 在这 些实施例中, 第二检测单元 310通过获取用户在解锁区域中所输入的信息, 并判断用户所输入的信息与所提取的解锁问题的正确答案信息是否相符, 若相符则输出第一检测信号, 否则输出第二检测信号。 解锁单元 340连接 至第二检测单元 310,设置为接收第二检测单元 310所输出的第一检测信号 并根据该第一检测信号进行对电子设备进行解锁操作, 从而使用户可以对 该电子设备进行后续操作。 It can be understood that, in some other embodiments, the user inputting an unlocking answer on the unlocking interface may also input relevant information by the user by handwriting. In these embodiments, the extraction unit 220 extracts only the unlocking question from the storage module 100 upon receiving the extracted signal, and transmits the extracted unlocking question to the display unit 230 for display. In this process, since the unlocking problem and its correct answer information are related to each other, when the unlocking problem is extracted, the corresponding correct answer information is correspondingly determined and available. The display unit 230 simultaneously forms an unlocking area for the user to input the relevant information by hand after displaying the unlocking problem. So, the user can The related information is entered in the unlocked area by a touch pen or a finger or the like to unlock the electronic device. In these embodiments, the second detecting unit 310 obtains the information input by the user in the unlocking area, and determines whether the information input by the user matches the correct answer information of the extracted unlocking question, and if yes, outputs the first detection. Signal, otherwise output the second detection signal. The unlocking unit 340 is connected to the second detecting unit 310, and is configured to receive the first detecting signal output by the second detecting unit 310 and perform an unlocking operation on the electronic device according to the first detecting signal, so that the user can perform the electronic device on the electronic device. Follow-up actions.
控制模块 400连接至存储模块 100、 操作模块 200及处理模块 300, 设 置为在用户所输入的解锁答案错误时执行相应的操作。 如图 4所示, 控制 模块 400可包括标记单元 410、计数单元 420及判断单元 430。标记单元 410 连接至第二检测单元 310及存储模块 100,设置为接收第二检测单元 310所 输出的第二检测信号并根据该第二检测信号从存储模块 100 中查找当前所 提取的解锁问题, 并在查找到对应信息后对其进行标记并输出标记信号。 计数单元 420连接至标记单元 410, 设置为接收该标记信号并累积计数 1。 判断单元 430连接至标记单元 410及提取单元 220,设置为实时判断计数单 元 420所累积的计数是否已达到预定值, 当判断到计数单元 420中所累积 的计数已达到预定值时, 判断单元 430判定用户解锁失败并发出结束命令 关闭解锁界面, 而当判断到计数单元 420 中所累积的计数没有达到预定值 时, 判断单元 430则输出控制信号至提取单元 220,提取单元 220因此从存 储模块 100 中的提取没有标记到的解锁问题, 并依照上述方式提取到正确 项和非正确项后发送至显示单元 230以供显示。  The control module 400 is coupled to the storage module 100, the operation module 200, and the processing module 300, and is configured to perform a corresponding operation when an unlock answer input by the user is incorrect. As shown in FIG. 4, the control module 400 can include a marking unit 410, a counting unit 420, and a determining unit 430. The marking unit 410 is connected to the second detecting unit 310 and the storage module 100, and is configured to receive the second detection signal output by the second detecting unit 310 and search for the currently extracted unlocking problem from the storage module 100 according to the second detecting signal. And after finding the corresponding information, it is marked and the flag signal is output. Counting unit 420 is coupled to marking unit 410 and is arranged to receive the marking signal and accumulate count 1. The determining unit 430 is connected to the marking unit 410 and the extracting unit 220, and is set to determine in real time whether the count accumulated by the counting unit 420 has reached a predetermined value. When it is determined that the count accumulated in the counting unit 420 has reached a predetermined value, the determining unit 430 Determining that the user has failed to unlock and issuing an end command to close the unlocking interface, and when it is determined that the count accumulated in the counting unit 420 has not reached the predetermined value, the determining unit 430 outputs a control signal to the extracting unit 220, and thus the extracting unit 220 is thus from the storage module 100. The extraction in the unmarked unlocking problem is extracted and sent to the display unit 230 for display after being extracted to the correct item and the incorrect item in the above manner.
本发明所提供的解锁装置 10, 通过在解锁界面上显示解锁问题并要求 用户在解锁界面上输入对应该解锁问题的解锁答案, 使得用户可通过操作 触摸屏而解锁电子设备, 并且, 由于解锁问题的答案可由用户自行定义或 选择, 因此, 外人在不知道用户所定义的解锁答案的情况下无法轻易解锁 电子设备, 提高了电子设备使用的安全性。 再者, 由于在用户所输入的解 锁答案错误时, 控制模块 400会对当前的解锁问题进行标记并再随机提取 其他的解锁问题, 因此, 可以避免先后出现的解锁问题出现重复。 如此, 即使用户在忘记了其中某一个解锁问题的正确项的情况下, 也可通过回答 随后出现的解锁问题而解锁电子设备而不至于由于忘记解锁问题的正确项 而无法解锁电子设备。 The unlocking device 10 provided by the present invention unlocks an electronic device by operating the touch screen by displaying an unlocking problem on the unlocking interface and requiring the user to input an unlocking answer corresponding to the unlocking problem on the unlocking interface, and the unlocking problem is caused by the user operating the touch screen. The answer can be defined or selected by the user, so the outsider cannot easily unlock without knowing the unlock answer defined by the user. Electronic devices have improved the safety of the use of electronic devices. Moreover, since the control module 400 marks the current unlocking problem and randomly extracts other unlocking problems when the unlocking answer input by the user is wrong, it is possible to avoid the occurrence of repeated unlocking problems. Thus, even if the user forgets the correct item of one of the unlocking problems, the electronic device can be unlocked by answering the unlocking question that occurs later without being able to unlock the electronic device due to forgetting the correct item of the unlocking problem.
本发明进一步提供了一种用于通过操作触摸屏而解锁配备有该触摸屏 的电子设备的解锁方法。请参考图 5 , 其为本发明实施例中的解锁方法的流 程图, 该解锁方法包括以下步驟:  The present invention further provides an unlocking method for unlocking an electronic device equipped with the touch screen by operating a touch screen. Referring to FIG. 5, which is a flowchart of an unlocking method in an embodiment of the present invention, the unlocking method includes the following steps:
在步驟 S100中, 预置解锁信息库。 在一些实施例中, 解锁信息库中包 括了至少一个解锁问题。 解锁问题可为简单算术题或判断题, 例如, 可为 "1+2=? "或" 1+3=4是否正确? "等。  In step S100, the unlock information library is preset. In some embodiments, the unlocking information library includes at least one unlocking issue. The unlocking question can be a simple arithmetic problem or a judgment question. For example, can it be "1+2=?" or "1+3=4 is correct?"
在步驟 S200中, 检测解锁按钮是否被按下, 若被按下则从解锁信息库 中提取解锁问题并显示。 在一些实施例中, 电子设备可设置有解锁按钮, 用户可通过按压解锁按钮而开始解锁操作。 当解锁按钮被按下后, 解锁问 题从预置的解锁信息库中被提取出来并被发送至解锁界面进行显示。  In step S200, it is detected whether the unlock button is pressed, and if pressed, the unlocking problem is extracted from the unlocking information library and displayed. In some embodiments, the electronic device can be provided with an unlock button, and the user can initiate the unlocking operation by pressing the unlock button. When the unlock button is pressed, the unlocking question is extracted from the preset unlocking information library and sent to the unlocking interface for display.
可以理解, 在一些实施例中, 可通过采用如洗牌算法等算法从上述解 锁信息库中随机提取一个解锁问题。  It will be appreciated that in some embodiments, an unlocking problem may be randomly extracted from the above-described unlocking information base by employing an algorithm such as a shuffling algorithm.
在步驟 S300中, 获取用户在解锁界面上所输入的解锁答案并判断所述 解锁答案是否正确, 若是则判定解锁成功并解锁所述电子设备。 在不同的 实施例中, 输入解锁答案的动作可不同, 例如, 在一些实施例中, 输入解 锁答案的动作可为用户在解锁界面上输入任何信息, 而获取用户在解锁界 面上所输入的解锁答案可通过获取用户在解锁界面上输入的信息来实现, 并通过比较用户所输入的信息与预设的所提取的解锁问题的答案是否一致 来检测解锁动作的正确与否。 而在其他的一些实施例中, 输入解锁答案的 动作可为在解锁界面上显示的多个答案选项中选中其中一个, 在这种情况 下, 获取用户在解锁界面上所输入的解锁答案则可通过获取用户所选中的 答案选项来实现, 并通过判断用户所选中的答案选项是否为所提取的解锁 问题的正确项来检测用户所输入的解锁答案正确与否。 In step S300, the unlocking answer input by the user on the unlocking interface is obtained and it is determined whether the unlocking answer is correct, and if so, it is determined that the unlocking is successful and the electronic device is unlocked. In different embodiments, the action of inputting the unlock answer may be different. For example, in some embodiments, the action of inputting the unlock answer may be that the user inputs any information on the unlock interface, and acquires the unlock entered by the user on the unlock interface. The answer can be realized by obtaining information input by the user on the unlocking interface, and detecting whether the unlocking action is correct or not by comparing whether the information input by the user is consistent with the answer of the preset extracted unlocking question. In other embodiments, enter the answer to unlock the answer. The action may select one of the multiple answer options displayed on the unlock interface. In this case, obtaining the unlock answer input by the user on the unlock interface may be implemented by obtaining an answer option selected by the user, and passing It is judged whether the answer option selected by the user is the correct item of the extracted unlocking question to detect whether the unlocking answer input by the user is correct or not.
以下将通过一具体的应用实施例对本发明的解锁方法故进一步详细的 说明, 在该具体实施例中, 用户输入解锁答案的动作为在解锁界面中选择 正确的答案选项。 如图 6所示, 该解锁方法包括:  The unlocking method of the present invention will be further described in detail below through a specific application embodiment. In the specific embodiment, the user inputting the unlocking answer is to select the correct answer option in the unlocking interface. As shown in FIG. 6, the unlocking method includes:
在步驟 S11 中, 预先设置具有解锁问题及答案选项的解锁信息库。 在 本实施例中, 解锁信息库中具有至少一个解锁问题及至少一个答案选项, 该至少一个答案选项中至少包括了各解锁问题的正确项。 正确项对应各解 锁问题正确的答案信息且与各解锁问题之间相互关联。 即, 各解锁问题与 对应的正确项之间是相互关联的, 当解锁问题确定后, 其对应的正确项及 该正确项所对应的该解锁问题的正确答案信息也随之确定并可被获得。 在 一些实施例中, 该至少一个答案选项中还包括了非正确项。 例如, 当预先 设置的解锁问题有两个时, 可预先设置有四个答案选项, 其中两个答案选 项为分别与两个解锁问题相关联的正确项, 而另外两个答案选项分别为非 正确项。 非正确项所对应的信息可为任何预定的文字信息或数字信息等。 非正确项的信息类型可与正确项的信息类型相同或不同。 仍以答案选项库 中的 4个答案选项中具有两个正确项及两个非正确项为例, 在两个正确项 的信息类型均为文字信息的情况下, 可设置其中一个非正确项的信息类型 为文字, 而另一个非正确项的信息类型为数字。 或者, 也可将两个非正确 项的信息类型均设定为文字或数字。  In step S11, an unlocking information library having an unlocking question and an answer option is set in advance. In this embodiment, the unlocking information database has at least one unlocking question and at least one answer option, and the at least one answering option includes at least the correct item of each unlocking question. The correct item corresponds to the correct answer information for each unlocking question and is related to each unlocking problem. That is, each unlocking problem is associated with the corresponding correct item. When the unlocking problem is determined, the corresponding correct item and the correct answer information of the unlocking problem corresponding to the correct item are also determined and can be obtained. . In some embodiments, the at least one answer option also includes an incorrect item. For example, when there are two unlocking problems preset, there are four answer options preset, two of which are correct items associated with the two unlocking questions, and the other two answering options are incorrect. item. The information corresponding to the incorrect item may be any predetermined text information or digital information, and the like. The information type of the incorrect item may be the same or different from the information type of the correct item. For example, if there are two correct items and two incorrect items in the four answer options in the answer option library, if one of the information types of the two correct items is text information, one of the incorrect items may be set. The information type is text, and the information type of another incorrect item is a number. Alternatively, you can set the information type of two incorrect items to text or number.
可以理解, 在一些实施例中, 上述解锁问题及答案选项可由用户自定 义形成并存储于解锁信息库中。 当然, 在这种情况下, 答案选项可以根据 用户的喜好进行设置。 例如, 在同样设置解锁问题为" 1+3=4是否正确? " 的情况下, 用户可以设置该解锁问题所关联的正确项为"错误"或" X", 并设 置非正确项为 "不确定"等。 It can be understood that in some embodiments, the above unlocking question and answer options can be formed by the user and stored in the unlocking information base. Of course, in this case, the answer options can be set according to the user's preferences. For example, in the same setting, the unlocking question is "1+3=4 is it correct?" In the case, the user can set the correct item associated with the unlocking problem to be "Error" or "X", and set the incorrect item to "Uncertain" and so on.
可以理解, 在其他一些实施例中, 解锁问题及答案选项的数量可以有 所不同以满足客户的需求。  It will be appreciated that in other embodiments, the number of unlocking questions and answer options may vary to meet the needs of the customer.
在步驟 S12中, 判断解锁按钮是否被按下, 如果是则转向步驟 S13 , 否 则返回步驟 S12 中继续判断解锁按钮是否被按下。 当用户想要解锁电子设 备时, 可通过按压解锁按钮以开始解锁操作。  In step S12, it is judged whether or not the unlock button is pressed, and if yes, the process proceeds to step S13, otherwise, the process returns to step S12 to continue determining whether the unlock button has been pressed. When the user wants to unlock the electronic device, the unlocking operation can be started by pressing the unlock button.
在步驟 S13 中, 从解锁信息库中提取解锁问题及至少包括了所提取的 解锁问题正确项的答案选项。 由于解锁问题与其正确项之间相互关联, 因 此, 在某一解锁问题被提取出来之后, 该解锁问题的正确项亦被关联提取 出来。 同时, 在本实施例中, 答案选项库中的非正确项亦可被提取出来。 被提取的非正确项的信息类型可与正确项的信息类型相同。 例如, 若所提 取的解锁问题为" 1+2=? ", 则该问题的正确项" 3"被相关联地提取出来, 同 时, 与该正确项的信息类型相同的非正确项如 "4"、 "5"或" 6"亦被提取了出 来。 或者, 若所提取的解锁问题为" 1+3=4是否正确? ", 则在对应的正确项 "正确 "被相关联地提取出来之后, 同样对应文字信息如"错误"或"不确定" 等的非正确项亦被提取了出来。  In step S13, an unlocking question and an answer option including at least the extracted correct item of the unlocking question are extracted from the unlocking information base. Since the unlocking problem is related to its correct item, after a certain unlocking problem is extracted, the correct item of the unlocking problem is also extracted. At the same time, in this embodiment, the incorrect items in the answer option library can also be extracted. The information type of the extracted incorrect item can be the same as the information type of the correct item. For example, if the extracted unlocking problem is "1+2=?", the correct item "3" of the question is extracted in association, and the incorrect item of the same type as the correct item is "4". ", "5" or "6" was also extracted. Or, if the extracted unlocking question is "1+3=4 is correct?", after the corresponding correct item "correct" is extracted in association, the corresponding text information such as "error" or "unsure" is also corresponding. The incorrect items were also extracted.
可以理解, 在一些实施例中, 可通过采用如洗牌算法等算法从上述解 锁信息库中随机提取一个解锁问题或非正确项。  It will be appreciated that in some embodiments, an unlocking problem or an incorrect term may be randomly extracted from the above-described unlocking information base by employing an algorithm such as a shuffling algorithm.
在步驟 S14 中, 在解锁界面上显示所提取的解锁问题及所提取的答案 选项。 在一些实施例中, 在将所提取的解锁问题及答案选项显示于解锁界 面之前, 可生成分别对应所提取的解锁问题及答案选项的图标, 并可在解 锁界面上形成第一显示区域及第二显示区域, 并分别将对应解锁问题的图 标及答案选项的图标显示在第一显示区域及第二显示区域中以供用户触碰 选择答案选项, 从而使用户可更加明了解锁流程。 例如, 在所提取的解锁 问题为 "1+3=? ",正确项为 "4"及非正确项为 "5"的情况下,可生成三个图标, 其中一个图标对应解锁问题 "1+3=? ", —个图标对应正确项 "4", 而另一个 图标则对应非正确项" 5",并将对应解锁问题的图标显示在第一解锁区域中, 而将对应正确项及非正确项的图标显示在第二解锁区域中。 In step S14, the extracted unlocking question and the extracted answer option are displayed on the unlocking interface. In some embodiments, before the extracted unlocking question and answer option are displayed on the unlocking interface, icons respectively corresponding to the extracted unlocking question and answer option may be generated, and the first display area and the first display area may be formed on the unlocking interface. The display area is displayed in the first display area and the second display area for the user to touch the selection answer option, so that the user can understand the unlocking process more clearly. For example, in the extracted unlock The problem is "1+3=?", if the correct item is "4" and the incorrect item is "5", three icons can be generated, one of which corresponds to the unlocking problem "1+3=?", one The icon corresponds to the correct item "4", and the other icon corresponds to the incorrect item "5", and the icon corresponding to the unlocking problem is displayed in the first unlocking area, and the icon corresponding to the correct item and the incorrect item is displayed in the first Second unlocked area.
在步驟 S15 中, 判断是否有任意一个答案选项被选中, 若有则转向步 驟 S17, 否则转向步驟 S16。 在一些实施例中, 可通过检测解锁界面上第二 显示区域中电容 /电阻发生变化的点所在的坐标, 并将该坐标与各图标的坐 标进行比较从而检测出具体是哪个图标被用户选中。 可以理解, 预定时间 间隔可由用户自行设置。  In step S15, it is judged whether any of the answer options are selected, and if so, the process proceeds to step S17, otherwise, the process proceeds to step S16. In some embodiments, it is possible to detect which of the icons is selected by the user by detecting the coordinates of the point at which the capacitance/resistance in the second display area on the unlocking interface changes, and comparing the coordinates with the coordinates of each icon. It will be appreciated that the predetermined time interval can be set by the user.
在步驟 S16 中, 判断预定时间间隔是否已达到, 若已达到则转向步驟 S20, 否则返回步驟 S15中继续判断是否有任意一个答案选项被选中。 在一 些实施例中, 该预定值可为系统自动设定或用户根据自己的需求进行设定。  In step S16, it is judged whether or not the predetermined time interval has been reached, and if it has been reached, the process goes to step S20, otherwise it returns to step S15 to continue to determine whether any of the answer options are selected. In some embodiments, the predetermined value may be automatically set by the system or set by the user according to his or her own needs.
在步驟 S17 中, 判断被选中的答案选项是否是所提取的解锁问题的正 确项, 若是则转向步驟 S21 , 否则转向步驟 S18。 在一些实施例中, 可通过 将所获取到的被选中的答案选项的位置信息与所提取的解锁问题的正确项 于解锁界面上的位置信息进行比较从而判断出被选中的答案选项是否是所 提取的解锁问题的正确项。  In step S17, it is judged whether the selected answer option is the correct item of the extracted unlocking problem, and if so, the process goes to step S21, otherwise, the process goes to step S18. In some embodiments, it may be determined whether the selected answer option is by comparing the obtained location information of the selected answer option with the location information of the correct item of the extracted unlocking question on the unlocking interface. Extract the correct item for the unlock issue.
在步驟 S18 中, 对当前所提取的解锁问题进行标记并进行累积计数。 当检测到被选中的答案选项不是所提取的解锁问题的正确项时, 对当前的 触摸问题进行标记并输出标记信号而后再进行累积计数。  In step S18, the currently extracted unlocking problem is marked and cumulatively counted. When it is detected that the selected answer option is not the correct item of the extracted unlocking question, the current touch question is marked and the flag signal is outputted and then accumulated.
在步驟 S19 中, 判断所述累积计数是否达到预定值, 若是则转向步驟 S20, 否则返回步驟 S13。 在一些实施例中, 该预定值可为系统自动设定或 用户根据自己的需求进行设定。 在一些实施例中, 当判断到所述累积计数 达到预定值时, 如用户已选择非正确项达到累计 5 次时, 则判定解锁操作 失败并关闭解锁界面。 当累积计数还没达到预定值时, 则返回步驟 S13从 解锁信息库中提取没有标记的其他解锁问题。 同理, 此时亦可采用随机提 取的方式提取其他的解锁问题。 In step S19, it is judged whether or not the cumulative count has reached a predetermined value, and if yes, the process proceeds to step S20, otherwise, the process returns to step S13. In some embodiments, the predetermined value may be set automatically by the system or set by the user according to his or her own needs. In some embodiments, when it is determined that the accumulated count reaches a predetermined value, if the user has selected the incorrect item to reach the cumulative 5 times, it is determined that the unlocking operation fails and the unlocking interface is closed. When the cumulative count has not reached the predetermined value, then return to step S13 from Unlock other unlocking issues with unmarked in the repository. In the same way, other unlocking problems can also be extracted by random extraction.
在步驟 S20中, 判定用户解锁失败, 关闭解锁界面。  In step S20, it is determined that the user has failed to unlock, and the unlocking interface is closed.
在步驟 S21中, 判定用户解锁操作成功, 对电子设备进行解锁。  In step S21, it is determined that the user unlocking operation is successful, and the electronic device is unlocked.
本发明所提供的解锁方法, 通过在解锁界面上显示解锁问题并要求用 户在解锁界面上输入对应该解锁问题的解锁答案, 使得用户可通过操作触 摸屏而解锁电子设备, 并且, 由于解锁答案与解锁问题相对应, 因此, 外 人在不知道用户所定义的解锁答案的情况下无法轻易解锁电子设备, 提高 了电子设备使用的安全性。 另外, 本发明所提供的解锁方法在用户所选择 的解锁问题正确项错误的情况下, 还可提取其他的解锁问题, 可以避免先 后出现解锁问题出现重复。 如此, 即使用户在忘记了其中某一个解锁问题 的正确项的情况下, 也可通过回答随后出现的解锁问题而解锁电子设备而 不至于由于忘记解锁问题的正确项而无法解锁电子设备。  The unlocking method provided by the present invention, by displaying an unlocking problem on the unlocking interface and requiring the user to input an unlocking answer corresponding to the unlocking problem on the unlocking interface, enables the user to unlock the electronic device by operating the touch screen, and, due to unlocking the answer and unlocking The problem corresponds, therefore, the outsider cannot easily unlock the electronic device without knowing the unlock answer defined by the user, thereby improving the security of the use of the electronic device. In addition, the unlocking method provided by the present invention can also extract other unlocking problems in the case that the correct item of the unlocking problem selected by the user is wrong, and the repetition of the unlocking problem may be avoided. Thus, even if the user forgets the correct item of one of the unlocking problems, the electronic device can be unlocked by answering the unlocking problem that occurs subsequently without being able to unlock the electronic device because the correct item of the unlocking problem is forgotten.
应当理解的是, 以上仅为本发明的优选实施例, 不能因此限制本发明 的专利范围, 凡是利用本发明说明书及附图内容所作的等效结构或等效流 程变换, 或直接或间接运用在其他相关的技术领域, 均同理包括在本发明 的专利保护范围内。  It should be understood that the above is only a preferred embodiment of the present invention, and thus the scope of the invention is not limited thereby, and the equivalent structure or equivalent process transformations made by the description of the invention and the drawings are used directly or indirectly. Other related technical fields are equally included in the scope of patent protection of the present invention.

Claims

权利要求书 Claim
1、 一种电子设备的解锁方法, 包括以下步驟:  1. An unlocking method for an electronic device, comprising the following steps:
预置解锁信息库;  Preset unlock information library;
检测解锁按钮是否被按下, 若是则从所述解锁信息库中提取解锁问 题并显示;  Detecting whether the unlock button is pressed, and if so, extracting an unlocking problem from the unlocking information base and displaying;
获取用户在解锁界面输入的对应所述解锁问题的解锁答案, 并判断 所述解锁答案是否正确 , 若是则判定解锁成功并解锁所述电子设备。  Obtaining an unlocking answer corresponding to the unlocking question input by the user on the unlocking interface, and determining whether the unlocking answer is correct, and if yes, determining that the unlocking is successful and unlocking the electronic device.
2、 如权利要求 1所述的解锁方法, 其中, 所述获取用户在解锁界面 输入的对应所述解锁问题的解锁答案, 并判断所述解锁答案是否正确, 若是则判定解锁成功并解锁所述电子设备包括:  2. The unlocking method according to claim 1, wherein the acquiring an unlocking answer corresponding to the unlocking question input by a user on an unlocking interface, and determining whether the unlocking answer is correct, and if yes, determining that the unlocking is successful and unlocking the Electronic equipment includes:
在所述解锁界面上形成可供用户输入解锁答案的解锁区域; 获取用户在所述解锁区域上输入的解锁答案;  Forming an unlocking area on the unlocking interface for the user to input an unlocking answer; acquiring an unlocking answer input by the user on the unlocking area;
判断用户所输入的解锁答案是否与所述解锁信息库中预存的答案相 同, 若相同则判定解锁成功并解锁所述电子设备。  It is determined whether the unlocking answer input by the user is the same as the pre-stored answer in the unlocking information base. If they are the same, it is determined that the unlocking is successful and the electronic device is unlocked.
3、 如权利要求 1所述的解锁方法, 其中, 所述从所述解锁信息库中 提取解锁问题并显示的步驟之后还包括:  The unlocking method according to claim 1, wherein the step of extracting the unlocking problem from the unlocking information database and displaying the method further comprises:
从所述解锁信息库中提取显示的解锁问题的答案选项并显示, 所述 答案选项包含正确项和非正确项;  Extracting an answer option of the displayed unlocking question from the unlocking information base and displaying that the answer option includes a correct item and an incorrect item;
相应的, 所述获取用户在解锁界面输入的对应所述解锁问题的解锁 答案, 并判断所述解锁答案是否正确, 若是则判定解锁成功并解锁所述 电子设备的步骤包括:  Correspondingly, the obtaining an unlocking answer corresponding to the unlocking problem input by the user on the unlocking interface, and determining whether the unlocking answer is correct, if yes, determining that the unlocking is successful and unlocking the electronic device comprises:
判断用户是否选中正确项, 若是则判定解锁成功并解锁所述电子设 备。  It is judged whether the user selects the correct item, and if so, it is determined that the unlocking is successful and the electronic device is unlocked.
4、 如权利要求 3所述的解锁方法, 其中, 所述获取用户在解锁界面 输入的对应所述解锁问题的解锁答案, 并判断所述解锁答案是否正确, 若是则判定解锁成功并解锁所述电子设备的步驟还包括: The unlocking method according to claim 3, wherein the acquiring an unlocking answer corresponding to the unlocking question input by a user on an unlocking interface, and determining whether the unlocking answer is correct, If yes, the step of determining that the unlocking is successful and unlocking the electronic device further includes:
判断在预定时间内用户是否执行选择, 若否则判定解锁失败并关闭 所述解锁界面。  It is judged whether the user performs the selection within a predetermined time, otherwise if it is determined that the unlocking has failed and the unlocking interface is closed.
5、 如权利要求 4所述的解锁方法, 其中, 所述获取用户在解锁界面 输入的对应所述解锁问题的解锁答案, 并判断所述解锁答案是否正确, 若是则判定解锁成功并解锁所述电子设备的步驟还包括:  The unlocking method according to claim 4, wherein the acquiring an unlocking answer corresponding to the unlocking question input by the user on the unlocking interface, and determining whether the unlocking answer is correct, and if yes, determining that the unlocking is successful and unlocking the The steps of the electronic device further include:
若用户选中非正确项, 则对当前的解锁问题进行标记, 输出标记信 号并进行累积计数;  If the user selects an incorrect item, the current unlocking problem is marked, the marking signal is outputted, and the cumulative counting is performed;
判断所述累积计数是否达到预定值, 若是, 则判定用户解锁失败并 关闭所述解锁界面, 若否, 则返回从所述解锁信息库中提取解锁问题并 显示的步驟。  It is judged whether the accumulated count reaches a predetermined value, and if so, it is determined that the user has failed to unlock and closes the unlocking interface, and if not, returns to the step of extracting the unlocking problem from the unlocking information base and displaying it.
6、 一种电子设备的解锁装置, 包括:  6. An unlocking device for an electronic device, comprising:
存储模块, 设置为预置解锁信息库;  The storage module is set as a preset unlocking information base;
操作模块, 设置为检测解锁按钮是否被按下, 若是则从所述解锁信 息库中提取解锁问题并显示;  An operation module, configured to detect whether an unlock button is pressed, and if yes, extract an unlocking problem from the unlocking information library and display the same;
处理模块, 设置为获取用户在解锁界面输入的对应所述解锁问题的 解锁答案, 并判断所述解锁答案是否正确, 若是则判定解锁成功并解锁 所述电子设备。  The processing module is configured to obtain an unlocking answer corresponding to the unlocking question input by the user on the unlocking interface, and determine whether the unlocking answer is correct, and if yes, determine that the unlocking is successful and unlock the electronic device.
7、 如权利要求 6所述的解锁装置, 其中, 所述操作模块还设置为在 提取解锁问题后从所述解锁信息库中提取该解锁问题的答案选项, 所述 答案选项包括正确项和非正确项; 所述处理模块判断通过判断用户是否 选中正确项而判断用户在解锁界面上所输入的解锁答案是否正确。  7. The unlocking device according to claim 6, wherein the operation module is further configured to extract an answer option of the unlocking question from the unlocking information library after extracting an unlocking problem, the answering option including a correct item and a non- The correct item; the processing module determines whether the unlocking answer input by the user on the unlocking interface is correct by determining whether the user selects the correct item.
8、 如权利要求 7所述的解锁装置, 其中, 所述处理模块还设置为判 断在预定时间内用户是否执行选择并在判断到用户在预定时间间隔内没 有执行选择后判定解锁失败并关闭所述解锁界面。 8. The unlocking apparatus according to claim 7, wherein the processing module is further configured to determine whether the user performs the selection within a predetermined time and determines that the unlocking fails and closes after determining that the user has not performed the selection within the predetermined time interval. Describe the unlock interface.
9、 如权利要求 8所述的解锁装置, 其中, 所述解锁装置还包括控制 模块, 所述控制模块包括标记单元及计数单元, 所述标记单元设置为在 用户选中非正确项时对当前的解锁问题进行标记并输出标记信号, 所述 计数单元接收所述标记信号并进行累积计数。 9. The unlocking device according to claim 8, wherein the unlocking device further comprises a control module, the control module comprises a marking unit and a counting unit, and the marking unit is configured to be current when the user selects an incorrect item The unlocking problem is marked and a flag signal is output, and the counting unit receives the flag signal and performs cumulative counting.
10、 如权利要求 9所述的解锁装置, 其中, 所述控制模块还包括判 断单元, 所述判断单元设置为实时判断所述计数单元中的累积计数是否 已达到预定值, 若达到预定值时则判定用户解锁失败并关闭解锁界面, 否则发出控制信号至所述操作模块以控制所述操作模块从所述存储模块 的信息库中提取没有标记的任意一个解锁问题。  The unlocking device according to claim 9, wherein the control module further comprises a determining unit, wherein the determining unit is configured to determine in real time whether the accumulated count in the counting unit has reached a predetermined value, if a predetermined value is reached Then, it is determined that the user fails to unlock and closes the unlocking interface, otherwise a control signal is sent to the operation module to control the operation module to extract any unlocking problem without marking from the information library of the storage module.
PCT/CN2012/073949 2012-02-24 2012-04-12 Unlocking method and unlocking apparatus for electronic device WO2013123702A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201210043539.6 2012-02-24
CN2012100435396A CN103294942A (en) 2012-02-24 2012-02-24 Unlocking method and unlocking device of electronic equipment

Publications (1)

Publication Number Publication Date
WO2013123702A1 true WO2013123702A1 (en) 2013-08-29

Family

ID=49004955

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2012/073949 WO2013123702A1 (en) 2012-02-24 2012-04-12 Unlocking method and unlocking apparatus for electronic device

Country Status (2)

Country Link
CN (1) CN103294942A (en)
WO (1) WO2013123702A1 (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104808933B (en) * 2014-01-24 2019-03-15 腾讯科技(北京)有限公司 The solution lock control method and device of intelligent terminal
CN105808078A (en) * 2014-12-29 2016-07-27 宇龙计算机通信科技(深圳)有限公司 Unlocking method and system, and terminal
CN106570360A (en) * 2016-10-14 2017-04-19 龙旗电子(惠州)有限公司 Cellphone screen unlocking method
CN107808076B (en) * 2017-09-27 2020-03-06 惠州Tcl移动通信有限公司 Unlocking method of terminal equipment, terminal equipment and storage medium
CN109002704A (en) * 2018-09-27 2018-12-14 Tcl移动通信科技(宁波)有限公司 Mobile terminal unlocks operation processing method, mobile terminal and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101083818A (en) * 2007-07-25 2007-12-05 华为技术有限公司 Terminal operation method and user terminal
CN101699386A (en) * 2009-10-29 2010-04-28 宇龙计算机通信科技(深圳)有限公司 Unlocking method and system of handheld terminal and handheld terminal
CN101866409A (en) * 2010-05-11 2010-10-20 中兴通讯股份有限公司 Method and device for locking and unlocking handheld equipment
CN102340600A (en) * 2011-10-31 2012-02-01 惠州Tcl移动通信有限公司 Mobile phone with touch screen function and screen unlocking method thereof

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101408832A (en) * 2008-11-26 2009-04-15 深圳华为通信技术有限公司 Keyboard dynamic unlocking method and electronic apparatus

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101083818A (en) * 2007-07-25 2007-12-05 华为技术有限公司 Terminal operation method and user terminal
CN101699386A (en) * 2009-10-29 2010-04-28 宇龙计算机通信科技(深圳)有限公司 Unlocking method and system of handheld terminal and handheld terminal
CN101866409A (en) * 2010-05-11 2010-10-20 中兴通讯股份有限公司 Method and device for locking and unlocking handheld equipment
CN102340600A (en) * 2011-10-31 2012-02-01 惠州Tcl移动通信有限公司 Mobile phone with touch screen function and screen unlocking method thereof

Also Published As

Publication number Publication date
CN103294942A (en) 2013-09-11

Similar Documents

Publication Publication Date Title
US9703941B2 (en) Electronic device with touch screen for fingerprint recognition
KR101528262B1 (en) A Method of Unlocking a Locking Mode of Portable Terminal and an Apparatus having the same
TWI474263B (en) Method of executing software functions using biometric detection and related electronic device
RU2589397C2 (en) Authentication graphic gestures
WO2018137448A1 (en) Method for fingerprint recognition of terminal, and mobile terminal
US9280276B2 (en) Method for controlling electronic device with touch screen and electronic device thereof
US9384369B2 (en) Information processing method and electronic device
US8982086B2 (en) Information processing apparatus
US9571621B2 (en) Dynamic unlocking method and electronic apparatus using the same
US20130067566A1 (en) Device to perform authentication according to surrounding information and method for performing authentication
JP5728629B2 (en) Information processing apparatus, information processing apparatus control method, program, and information storage medium
US9021270B1 (en) Combining wake-up and unlock into a single gesture
CN103795868A (en) Mobile terminal screen unlocking method and device and mobile terminal
WO2013123702A1 (en) Unlocking method and unlocking apparatus for electronic device
CN106156561A (en) Application locking method, application unlocking method and a device
WO2013137455A1 (en) Information terminal and execution control method
JP2010239229A (en) Portable electronic device, control method of the same, and program
WO2015079450A2 (en) Electronic device
WO2013086793A1 (en) Portable electronic terminal, unlock method and device thereof
JP5337268B2 (en) Operation display device and operation display method
US20070143627A1 (en) Input device and password control method used therein
JP6177729B2 (en) Electronics
CN106446626B (en) Mobile terminal unlocking method and mobile terminal
CN108683809B (en) Screen locking method, device and system
JP5583249B2 (en) Operation display device and operation display method

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

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

Country of ref document: EP

Kind code of ref document: A1