[go: up one dir, main page]

CN103092500B - Unlocking screen method, touch screen and electronic equipment - Google Patents

Unlocking screen method, touch screen and electronic equipment Download PDF

Info

Publication number
CN103092500B
CN103092500B CN201210096142.3A CN201210096142A CN103092500B CN 103092500 B CN103092500 B CN 103092500B CN 201210096142 A CN201210096142 A CN 201210096142A CN 103092500 B CN103092500 B CN 103092500B
Authority
CN
China
Prior art keywords
unlocking
touch screen
screen
information
input
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201210096142.3A
Other languages
Chinese (zh)
Other versions
CN103092500A (en
Inventor
王杰
毕芳
张俊超
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Hanvon Saip Technology Co ltd
Original Assignee
Hanwang Technology Co Ltd
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 Hanwang Technology Co Ltd filed Critical Hanwang Technology Co Ltd
Priority to CN201210096142.3A priority Critical patent/CN103092500B/en
Publication of CN103092500A publication Critical patent/CN103092500A/en
Application granted granted Critical
Publication of CN103092500B publication Critical patent/CN103092500B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • User Interface Of Digital Computer (AREA)
  • Telephone Function (AREA)

Abstract

A kind of open unlocking screen method of the present invention, touch screen and electronic equipment.This touch screen unlocking method includes: arrange at least two unlocking screen level of confidentiality, in different levels of confidentiality, needs to input corresponding unlocking screen information;Enable one of which unlocking screen level of confidentiality;Detect the input information for unblock in the input of touch screen optional position;Call identification engine, be identified obtaining recognition result to this input information;Recognition result is compared with default result, if comparison is consistent, the display interface of this touch screen is placed in released state.Utilize the unlocking screen technology of the present invention, it is possible to the Information Security of electronic equipment is effectively ensured, and the unlocking screen caused due to maloperation can be prevented effectively from simultaneously, improve Consumer's Experience.

Description

Screen unlocking method, touch screen and electronic equipment
Technical Field
The invention relates to the field of information technology processing, in particular to a screen unlocking method based on handwriting information recognition, a touch screen and electronic equipment.
Background
With the development of information technology, more and more electronic devices use a touch screen as a screen for input operation. In order to prevent the touch screen from being touched to cause misoperation when the electronic equipment is not used, or to ensure the privacy of information in the electronic equipment, the conventional electronic equipment has screen locking and unlocking functions.
Currently, common touch screen unlocking methods mainly include the following types: 1) the unlocking can be realized along a fixed display path, namely, an unlocking pattern on the sliding touch screen of the sliding strip, the unlocking can be realized as long as the unlocking pattern slides along the sliding strip to reach a certain proportion, the sliding range of the unlocking pattern is limited by the arrangement of the sliding strip in the scheme, a user can unlock the unlocking pattern only by sliding along the sliding strip, the arrangement is rigid, then, the user puts the electronic equipment into a pocket or a backpack, and if the user accidentally touches the unlocking pattern in the carrying process, the unlocking pattern is likely to start to slide along the sliding strip in the touch process to cause unlocking, so that the sliding unlocking mode not only easily generates misoperation, but also any person can easily unlock the screen, and the information in the electronic equipment cannot ensure safety; 2) based on other various specific schemes of sliding unlocking derived from the concept of sliding unlocking in the step 1), such as unlocking of moving chessmen and unlocking of patterns displayed on a split display screen, the unlocking methods also have the defects that the sliding unlocking is easy to operate mistakenly and the information security of the electronic equipment cannot be ensured; 3) the screen is unlocked through the clicked position and the clicked times, the method is complicated to use and is not humanized enough, although the reliability is higher than that of the former two schemes, due to the fact that the unlocking prompt is displayed on the screen, the screen can be unlocked by people according to the unlocking prompt, and potential safety hazards still exist.
Some detailed schemes for touch screen unlocking are disclosed in some patent documents, for example, in patent publication No. CN101371258B, a scheme of sliding unlocking is disclosed, in which an unlocking image is displayed on a screen, and the unlocking image is moved to a predetermined position or along a predetermined path by a user to unlock the screen. In this scheme, the unlock image must be displayed above the screen to be able to unlock the screen. Any person can realize screen unlocking only according to the unlocking prompt.
For another example, patent document with publication number US2011/0041102a1 discloses a scheme for unlocking or entering a corresponding application interface according to a touch gesture, and the scheme needs to display a prompt for unlocking or entering the corresponding application interface on a touch screen. The user can register a plurality of gestures in advance and establish the association between the gestures and the unlocking and corresponding function interfaces, so that the user can unlock or open the function interfaces by identifying the gestures according to the input gestures which are very convenient for unlocking prompts. According to the scheme, the unlocking prompt needs to be displayed on the screen, and anyone can unlock the screen according to the unlocking prompt.
Therefore, in the prior art, the touch screen unlocking schemes have the defects that misoperation is easy to occur or the use is complicated in the using process, but the common defect is that the unlocking prompt information is displayed on the screen, and a user can unlock the touch screen according to the unlocking prompt and inputting a corresponding unlocking answer, so that the safety of information is difficult to ensure.
In this age with more and more attention paid to personal private information, once a user loses control over the handheld device owned by the user, the user cannot prevent others from unlocking the screen according to the unlocking prompt on the screen, and further know some private information of the user in the handheld device, especially for high-end business people, information stored in the handheld device carried with the user is often some commercial secrets, and once the information is leaked, irretrievable adverse effects or immeasurable losses are caused.
Therefore, according to the information security problem commonly existing in the touch screen unlocking scheme in the prior art, it is necessary to provide a touch screen unlocking mode which can ensure the information security of the electronic equipment, is not easy to cause misoperation, is convenient to operate and is humanized.
Disclosure of Invention
In order to solve various problems of a touch screen unlocking mode in the prior art, the invention provides a screen unlocking method, a touch screen and electronic equipment.
The screen unlocking method comprises the following steps: setting at least two screen unlocking security levels, wherein corresponding screen unlocking information needs to be input under different security levels, and the functions of application programs which can be used in the electronic equipment are different after the electronic equipment is unlocked at different security levels; starting one of the screen unlocking security levels; detecting input information for unlocking input at any position of the touch screen; calling an identification engine to identify the input information to obtain an identification result; and comparing the identification result with a preset result, and if the comparison is consistent, placing the display interface of the touch screen in an unlocking state.
The security level comprises a high security level and a low security level, the unlocking prompt is not displayed on the screen at the high security level, and the unlocking prompt is displayed on the screen at the low security level. The low-security stage further comprises: the security level is that when the touch screen is in a screen locked state, an unlocking prompt is displayed on the touch screen, and when unlocking information corresponding to the unlocking prompt is input, the screen is unlocked; and the security level is that when the touch screen is in a locked state on the screen, one or more unlocking prompts are displayed on the touch screen, each unlocking prompt is preset by a user, each unlocking prompt is subjected to function mapping, each unlocking prompt is associated with a corresponding display interface, and when the input information on the screen is consistent with one of the unlocking answers, the touch screen enters the display interface associated with the unlocking prompt corresponding to the input information. The high-density stage further comprises: the third security level is that when the touch screen is in a locked state, unlocking prompt information is not displayed on the screen, and a preset password is input at any position of the touch screen to serve as unlocking information of the touch screen; and the fourth security level is that when the touch screen is in a locked state, unlocking prompt information is not displayed on the screen, a preset password is input at any position of the touch screen and is used as unlocking information of the touch screen, one or more set passwords are input, the set passwords are subjected to function mapping, different passwords are input, and different functions are enabled on the touch screen. The information input for unlocking the touch screen is set by a user in a self-defined way and is numbers, characters, graphs or any combination thereof.
Under the condition of a second secret level, the electronic equipment receives a screen locking instruction, enables the touch screen to be in a screen locking state, and displays a first unlocking prompt and a second unlocking prompt on the touch screen; comparing the recognition result of the recognition engine with a first preset result associated with a first unlocking prompt, and if the comparison is consistent, placing the display interface of the touch screen on a first display interface in an unlocking state corresponding to the first unlocking prompt; comparing the identification result with a second preset result associated with a second unlocking prompt, and if the comparison is consistent, placing the display interface of the touch screen on a second display interface corresponding to the second unlocking prompt and positioned on the application interface; wherein the first unlock prompt is different from the second unlock prompt.
Wherein the detecting further comprises, before the input information for unlocking input at any position of the touch screen: and receiving a screen locking instruction to enable the touch screen to be in a screen locking state, and if the unlocking prompt is displayed on the touch screen, randomly calling the unlocking prompt to display on the touch screen or calling the same unlocking prompt all the time to display on the touch screen.
Wherein the recognition engine is configured to recognize the input handwriting trajectory information including one of character trajectory information, symbol trajectory information, shape trajectory information, or any combination of character trajectory information, symbol trajectory information, shape trajectory information.
The method for unlocking the touch screen comprises the following steps of detecting input information for unlocking input at any position of the touch screen: detecting a pressing touch event and a lifting touch event which occur when the touch screen is in a screen locking state, and recording track information formed by tracking from a touch point of the pressing touch event as a starting point to a touch point of the lifting event as an end point.
Wherein, before detecting the input information for unlocking input at any position of the touch screen, the method further comprises the following steps: establishing a handwriting sample library in a recognition engine, training and learning samples of characters in the handwriting sample library to obtain sample characteristics, and training the sample characteristics into a template of the characters.
And after training the sample characteristics into the template of the characters, setting corresponding machine language codes for the template of each character in the handwriting sample library.
Wherein, the establishment of the handwriting sample library comprises the following steps: acquiring a direction histogram of each sample of the same character; averaging the direction histogram of each character to obtain a mean direction histogram of each character; and clustering all the mean direction histograms based on the mean distance to obtain a plurality of direction histogram templates serving as clustering centers.
The step of calling the recognition engine to recognize the input information to obtain a recognition result comprises the following steps: preprocessing the track information input by handwriting; carrying out normalization processing on the preprocessing result; and extracting the characteristic data of the track information after the normalization processing, and performing characteristic matching calculation with the sample characteristics in the handwriting sample library.
Wherein, the track information of the handwriting input is preprocessed, and the method further comprises the following steps: performing tilt correction on a trajectory of a handwritten input, the tilt correction comprising the steps of: determining a starting point of a handwriting input track, and taking the starting point as a fixed point of inclination correction; acquiring a direction histogram of a handwriting input track; comparing the direction histogram template with the clustered direction histogram template in the sample library, and determining the inclination angle of the handwriting input track; and correcting the inclination of the handwriting input track according to the inclination angle and the fixed point of the handwriting input track.
The extracting of the feature data of the track information after the normalization processing and the feature matching calculation with the sample features in the handwriting sample library comprise: taking the template with the minimum calculation distance between the feature data and the templates of the characters in the handwriting sample library as the template with the highest reliability, and outputting the machine language code corresponding to the template; and according to the output machine language code, taking the character corresponding to the machine language code as a recognition result.
Before the inclination correction of the handwriting input track, the method further comprises the step of carrying out block segmentation on the handwriting input track information according to the structure information of the track to obtain a plurality of segmentation blocks.
Wherein the identifying the input information to obtain the identification result comprises: obtaining the identification result of each segmentation block; combining the recognition results of the segmentation blocks to obtain a combination score, and taking the obtained combination as a recognition candidate; and taking the combination corresponding to the highest combination score as the first choice of the recognition candidate, and taking the first choice as the recognition result.
When an unlocking prompt is displayed on the touch screen in the screen locking state, the identifying the input information to obtain an identification result comprises: obtaining the identification result of each segmentation block; combining the recognition results of the segmentation blocks to obtain a combination score, and taking the obtained combination as a recognition candidate; obtaining unlocking prompts, and scoring combinations between the recognition candidates with specific numbers and the unlocking prompts through the established language model; and taking the recognition candidate with the highest score as a first choice, and taking the first choice as a recognition result.
The method comprises the following steps of displaying an unlocking prompt on a touch screen and simultaneously displaying a soft keyboard for inputting information, wherein the software keyboard self-defines and sets the input information for unlocking on the touch screen to include: and detecting coded information for unlocking input on the touch screen, wherein the coded information is input through a soft keyboard.
Wherein the recognition engine is configured to recognize the input encoded information.
And if the comparison is inconsistent, outputting a prompt of inconsistent comparison, keeping the touch screen in a screen locking state, and displaying the unlocking prompt again or not.
The present invention also provides a touch screen, which includes: the password setting device is used for setting at least two screen unlocking security levels, corresponding screen unlocking information needs to be input under different security levels, and application program functions which can be used in the electronic equipment are different after unlocking under different security levels; the detection device is used for detecting input information which is input at any position of the touch screen and used for unlocking, sending the detected input information to the identification device, and sending a result of comparison consistency fed back by the identification device to the unlocking device; the identification device is used for calling the identification engine, identifying the input information to obtain an identification result, comparing the identification result with a preset result and sending the comparison result to the detection device; the unlocking device is used for receiving the comparison result sent by the detection device and placing the display interface of the touch screen in an unlocking state; wherein the identification means comprises: a tilt correction unit that performs tilt correction on the trajectory information input by handwriting; a preprocessing unit that preprocesses a result of the inclination correction; the normalization unit is used for normalizing the preprocessing result; the characteristic matching unit is used for extracting characteristic data of the track information after normalization processing and carrying out characteristic matching calculation with sample characteristics in a preset handwritten form sample library; the recognition result acquisition unit is used for taking the template with the minimum calculation distance between the feature data and the template of the characters in the handwriting sample library as the template with the highest reliability and outputting the machine language code corresponding to the template; and according to the output machine language code, taking the character corresponding to the machine language code as a recognition result.
The security level comprises a high security level and a low security level, the unlocking prompt is not displayed on the screen at the high security level, and the unlocking prompt is displayed on the screen at the low security level. The low-security stage further comprises: the security level is that when the touch screen is in a screen locked state, an unlocking prompt is displayed on the touch screen, and when unlocking information corresponding to the unlocking prompt is input, the screen is unlocked; and the security level is that when the touch screen is in a locked state on the screen, one or more unlocking prompts are displayed on the touch screen, each unlocking prompt is preset by a user, each unlocking prompt is subjected to function mapping, each unlocking prompt is associated with a corresponding display interface, and when the input information on the screen is consistent with one of the unlocking answers, the touch screen enters the display interface associated with the unlocking prompt corresponding to the input information. The high-density stage further comprises: the third security level is that when the touch screen is in a locked state, unlocking prompt information is not displayed on the screen, and a preset password is input at any position of the touch screen to serve as unlocking information of the touch screen; and the fourth security level is that when the touch screen is in a locked state, unlocking prompt information is not displayed on the screen, a preset password is input at any position of the touch screen and used as unlocking information of the touch screen, the set password is one or more, the set passwords are subjected to function mapping, and when the input passwords are different, the enabled functions in the electronic equipment are also different.
The information input for unlocking the touch screen is set by a user in a self-defined way and is numbers, characters, graphs or any combination thereof.
The method comprises the steps that a first unlocking prompt and a second unlocking prompt are displayed on the touch screen at a second security level, and if the identification result of an identification engine is compared with a first preset result associated with the first unlocking prompt and is consistent with the first preset result, the display interface of the touch screen is placed on the first display interface which corresponds to the first unlocking prompt and is in an unlocking state; if the identification result is compared with a second preset result associated with a second unlocking prompt and the comparison result is consistent, the display interface of the touch screen is arranged on a second display interface corresponding to the second unlocking prompt and located on the application interface; wherein the first unlock prompt is different from the second unlock prompt.
Wherein the touch screen further comprises: and the unlocking prompt device is used for displaying an unlocking prompt on the touch screen when the touch screen is in a screen locking state, wherein the step of displaying the unlocking prompt on the touch screen comprises randomly calling the unlocking prompt to display on the touch screen or calling the same unlocking prompt to display on the touch screen all the time.
The invention also provides electronic equipment which comprises a touch screen, a password setting device, a detection device, an identification device and an unlocking device, wherein the password setting device is used for setting at least two screen unlocking security levels, corresponding screen unlocking information needs to be input under different security levels, and the functions of application programs which can be used in the electronic equipment after unlocking under different security levels are different; the detection device is used for detecting input information which is input at any position of the touch screen and used for unlocking, sending the detected input information to the identification device, and sending a result of comparison consistency fed back by the identification device to the unlocking device; the identification device is used for calling the identification engine, identifying the input information to obtain an identification result, comparing the identification result with a preset result and sending the comparison result to the detection device; the unlocking device is used for receiving the comparison result sent by the detection device and placing the display interface of the touch screen in an unlocking state; wherein the identification means comprises: a tilt correction unit that performs tilt correction on the trajectory information input by handwriting; a preprocessing unit for preprocessing the result after the tilt correction; the normalization unit is used for normalizing the preprocessing result; the characteristic matching unit is used for extracting characteristic data of the track information after normalization processing and carrying out characteristic matching calculation with sample characteristics in a preset handwritten form sample library; the recognition result acquisition unit is used for taking the template with the minimum calculation distance between the feature data and the template of the characters in the handwriting sample library as the template with the highest reliability and outputting the machine language code corresponding to the template; and according to the output machine language code, taking the character corresponding to the machine language code as a recognition result.
The security level comprises a high security level and a low security level, the unlocking prompt is not displayed on the screen at the high security level, and the unlocking prompt is displayed on the screen at the low security level. The low-security stage further comprises: the security level is that when the touch screen is in a screen locked state, an unlocking prompt is displayed on the touch screen, and when unlocking information corresponding to the unlocking prompt is input, the screen is unlocked; and the security level is that when the touch screen is in a locked state on the screen, one or more unlocking prompts are displayed on the touch screen, each unlocking prompt is preset by a user, each unlocking prompt is subjected to function mapping, each unlocking prompt is associated with a corresponding display interface, and when the input information on the screen is consistent with one of the unlocking answers, the touch screen enters the display interface associated with the unlocking prompt corresponding to the input information. The high-density stage further comprises: the third security level is that when the touch screen is in a locked state, unlocking prompt information is not displayed on the screen, and a preset password is input at any position of the touch screen to serve as unlocking information of the touch screen; and the fourth security level is that when the touch screen is in a locked state, unlocking prompt information is not displayed on the screen, a preset password is input at any position of the touch screen and used as unlocking information of the touch screen, the set password is one or more, the set passwords are subjected to function mapping, and when the input passwords are different, the enabled functions in the electronic equipment are also different.
The information input for unlocking the touch screen is set by a user in a self-defined way and is numbers, characters, graphs or any combination thereof.
The method comprises the steps that a first unlocking prompt and a second unlocking prompt are displayed on the touch screen at a second security level, and if the identification result of an identification engine is compared with a first preset result associated with the first unlocking prompt and is consistent with the first preset result, the display interface of the touch screen is placed on the first display interface which corresponds to the first unlocking prompt and is in an unlocking state; if the identification result is compared with a second preset result associated with a second unlocking prompt and the comparison result is consistent, the display interface of the touch screen is arranged on a second display interface corresponding to the second unlocking prompt and located on the application interface; wherein the first unlock prompt is different from the second unlock prompt.
Wherein the touch screen includes: the unlocking prompt device is used for displaying an unlocking prompt on the touch screen when the touch screen is in a screen locking state; the unlocking prompt displayed on the touch screen comprises randomly calling the unlocking prompt to be displayed on the touch screen or calling the same unlocking prompt all the time to be displayed on the touch screen.
According to the screen unlocking method, the touch screen and the electronic equipment, different security levels are set for the screen unlocking mode in the electronic equipment, so that a user can select different security levels to unlock the touch screen according to personal requirements and hobbies in the using process of the electronic equipment. On one hand, the unlocking difficulty of various security levels is different, and the requirement of conveniently unlocking the screen can be met by selecting the security level, and the requirement of information safety can also be met. In addition, when screen unlocking information is input, handwriting input track information such as characters, numbers, symbols and the like is input, an identification result is obtained, the identification result is compared with unlocking answers related to unlocking prompts, unlocking can be achieved if the identification result is consistent with the unlocking answers related to the unlocking prompts, and misoperation can be effectively avoided. Therefore, the screen unlocking technology can not only ensure the information safety of the electronic equipment, but also effectively avoid the situation of screen unlocking caused by misoperation. Particularly, under the condition of high security level, when the touch screen is in a screen locking state, no unlocking prompt exists, unlocking can be realized only by inputting a password, the encryption protection strength is high, the information security of the handheld device is enhanced, and the private information of a user is fully and effectively protected.
Drawings
FIG. 1 is a schematic flow chart of a recognition-based screen unlocking method according to the present invention;
FIG. 2 is a flowchart of a method of a first embodiment of the present invention for unlocking based on identification;
FIG. 3 is a flowchart of a method for creating a sample library according to the present invention;
FIG. 4 is a flowchart of a method for recognizing a character to be recognized by a recognition engine in the screen unlocking method according to the present invention;
FIG. 5 is a flowchart illustrating tilt correction of a character to be recognized according to the screen unlocking method of the present invention;
FIG. 6 is an unlocking prompt of a touch screen lock state in the screen unlocking method of the present invention;
FIG. 7a is a schematic diagram of a tilted character to be recognized, and FIG. 7b is a schematic diagram of the tilted character to be recognized after being subjected to tilt correction;
FIG. 8 is a flowchart of a method for identifying and unlocking multi-character input information according to the present invention;
FIG. 9 is a schematic diagram illustrating an unlock prompt for a locked state of a touch screen according to the present invention;
FIG. 10 is a schematic diagram illustrating an unlock prompt in a locked state of a touch screen according to the present invention;
FIG. 11 is a functional block diagram of a touch screen of the present invention;
fig. 12 is a functional block diagram of the electronic device of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the present invention is described in further detail below with reference to specific embodiments and the accompanying drawings.
Based on the above problems related to the screen unlocking in the prior art, the basic principle of the screen unlocking method provided by the present invention is shown in fig. 1, and the method includes the following steps: in step 110, different screen unlocking security levels are preset, corresponding screen unlocking information is input at the different security levels to unlock the screen, and application functions which can be used in the unlocked electronic device corresponding to the different security levels are different. In step 120, in the screen unlocking process, the electronic device detects handwriting input track information input on the touch screen in the screen locking state, and sends the detected handwriting input track information to the recognition engine. In step 130, a recognition result corresponding to the handwriting input track is obtained after recognition by the recognition engine. In step 140, the recognition result is consistent with the preset result, and the touch screen is set to be in an unlocked state. The trajectory information input by handwriting may be trajectory information having semantics such as chinese, english, numerals, symbols, or the like, trajectory information having any graphic shape, trajectory information written at any position on the touch screen, and the input order of the strokes of the written characters or shapes is not limited at all.
The touch screen is a screen for realizing input through touch. The touch screen can be applied to any electronic device, including but not limited to any device with a touch input information function, such as an electronic reader, a handheld computer, a handheld communication terminal, a tablet computer, a personal digital assistant, and the like.
According to the above description, for any touch screen having a touch input function, when the touch screen is in a screen locking state, a user writes at any position on the touch screen, handwriting trace information is input, and the input trace information is recognized, so that the touch screen can be in an unlocking state. The scheme effectively overcomes the defect that the sliding unlocking on the touch screen must slide along a set path and reaches the set sliding completion degree to unlock, is extremely convenient to use, simplifies the unlocking operation when a user uses the touch screen, and fully improves the good experience degree of intelligent human-computer interaction.
Fig. 2 is a flowchart of an embodiment of a screen unlocking method according to the present invention.
Referring to fig. 2, in step 210, a screen locking instruction is received, so that the touch screen is in a screen locking state. In this step, when the display interface of the touch screen has no activity record within a set time, or according to the triggering of a user, the screen locking module stored in the touch screen storage module sends a screen locking instruction, so that the display interface of the touch screen enters a screen locking state.
Step 220, inputting information required for unlocking the screen on the touch screen, wherein the unlocking information of the touch screen is preset, and detecting the input information.
When the touch screen is in the screen locking state, the screen locking module is always in the running state. The screen locking module is responsible for monitoring input events on the touch screen. When a pressing touch event is detected on the touch screen, the touch point of the pressing touch event is taken as a starting point, and the touch point coordinate information of the track input on the touch screen is recorded until a lifting event is detected, namely a stop touch event is generated, and the touch point of the lifting event is taken as an end point. By the method, the coordinate information of all touch points on the track generated by touch on the touch screen is recorded, and the detection of the input information on the touch screen is completed.
The example of inputting the number character "2" on the touch screen is taken as an example to explain, when the number "2" is written on the touch screen, the screen locking module monitors the touch event, records the coordinate information of all touch points of the input track, obtains the coordinate information of all touch points of the number 2, and completes the detection of the input information on the touch screen.
The information input on the touch screen is used as an unlocking answer corresponding to the unlocking prompt, and can be Chinese characters, English characters, numbers, symbols, any shapes and other language characters. The invention is not limited at all, and can be set arbitrarily according to the preference of the user. The unlocking prompt built in the screen locking module can be a question, such as: 1+ 1? 1-1? Or an instruction-based problem, such as: please input capital english letter a, please draw circles, or user defined questions such as: where my hometown is, and so on, among many different types of prompts. For the traditional screen unlocking mode, a user can normally use the terminal by inputting corresponding unlocking information according to the screen unlocking prompt information. However, for some users, they do not want their own mobile phone screen to be easily unlocked to prevent others from seeing the information stored in the terminal after unlocking, so that the setting of the unlocking password is very complicated, in this case, although the security of the terminal information is ensured, great inconvenience is caused to the users who use the terminal, and in the case of frequently using the terminal, it is very time-consuming to input complicated unlocking information to unlock the screen each time.
Therefore, the present invention further includes step 200 before step 210, in step 200, when the user sets the unlocking information in advance, different security levels can be set according to personal needs, the unlocking information required to be input by each security level is different, and the decryption difficulty and the operation authority of the user to the terminal are different under different security levels.
In one embodiment of the present invention, the security level of the electronic device is preferably 4 levels, which are respectively from low to high:
and the security level is that when the touch screen is in a screen locked state, an unlocking prompt is displayed on the touch screen.
When the display interface of the touch screen of the electronic equipment has no activity record within a set time, or according to the triggering of a user, a screen locking instruction is sent by a screen locking module stored in a touch screen storage module, so that the display interface of the touch screen enters a screen locking state, and meanwhile, unlocking prompt information prestored in the screen locking module is called to display an unlocking prompt on the display screen. After the user inputs correct unlocking information according to the unlocking prompt, the screen of the electronic equipment is unlocked, and all functions in the electronic equipment can be normally used.
The unlocking prompt can be set simply according to personal preference or actual needs, and can also be set more complicated, for example, "1 + 1? "," where your hometown? "and the like.
And a second security level, which means that one or more unlocking prompts are displayed on the touch screen when the touch screen is in a screen locked state. Each unlocking prompt is preset by a user, and each unlocking prompt is subjected to function mapping.
For such a case where one or more unlock prompts are displayed on the display screen, the touch screen is switched to an unlock state or other application interface when the input unlock information matches the unlock prompt. When an unlocking prompt and a corresponding unlocking answer are built in the screen locking module, the unlocking prompt is displayed on the touch screen after a screen locking instruction is sent. A plurality of unlocking prompts and a plurality of corresponding unlocking answers are arranged in the screen locking module, and after a screen locking instruction is sent, the unlocking prompts can be randomly displayed. Of course, if at least two unlocking prompts are required to be displayed on the touch screen in the screen locking state, so that the touch screen enters an unlocking or corresponding application interface when the input information meets the condition, setting can be made for simultaneously displaying at least two unlocking prompts, and each unlocking prompt is associated with the corresponding display interface, such as one unlocking prompt associated unlocking interface, and the other unlocking prompt is associated with an application interface of one of application programs such as a mailbox, a short message editing and the like. And when the recognition engine recognizes the recognition result obtained by the input information and one of the recognition results is consistent with one of the unlocking answers, the unlocking module responds to the input information to enable the touch screen to be converted into a display interface associated with the unlocking prompt corresponding to the input information. The unlocking prompt can be displayed on the touch screen when the touch screen enters the screen locking state, or the unlocking prompt can be displayed on the touch screen when unlocking is started.
And the third security level means that when the touch screen is in a screen locked state, the unlocking prompt information is not displayed on the screen. And inputting a preset password at any position of the touch screen as unlocking information of the touch screen. The password is set by the user in a self-defined way and is not limited to numbers, characters, figures or any combination. When the touch screen is unlocked, all information in the electronic device can be consulted.
And the fourth security level means that when the touch screen is in a screen locked state, the unlocking prompt information is not displayed on the screen. And inputting a preset password at any position of the touch screen as unlocking information of the touch screen. The password is set by a user through self definition, the password is not limited to numbers, characters, graphs or any combination, the set password can be one or more, the set password is subjected to function mapping, for example, the association of the password 1 and the screen unlocking function is established, namely, the password 1 is input, the screen is unlocked, any information in the electronic equipment can be referred to, for example, the association of the password 2 and the address book function is established, namely, when the password 2 is input, the screen is unlocked, only the address book cannot be referred to, other information can be referred to, for example, the association of the password 3 with the address book function and calendar information is established, namely, when the password 3 is input, the screen is unlocked, only the address book and the calendar cannot be referred to, and other information can be referred to. The above is only described by way of example, in the password setting process, several passwords are set, and each password corresponds to which functions in the unlocking electronic device can be completely set by the personal requirements of the user.
Therefore, in the screen unlocking method of the invention, a user can set different screen unlocking modes in the terminal according to specific requirements, if the user does not want the screen to be easily unlocked, a high-security mode is set and started, such as the third and fourth security levels, under the security level, an unlocking prompt cannot be displayed on the screen, the user can unlock the screen only by inputting a preset password on the screen, the user can preset a plurality of passwords, each password corresponds to different functions of the terminal, for example, some passwords can only use basic functions of calling and the like of the terminal, and some passwords can check information of relative privacy such as an address book and the like in the terminal.
In the case of a low security level, such as the first and second security levels described above, an unlocking answer is input according to an unlocking prompt of the screen during unlocking. The terminal user can select one of the security levels and start the security level according to the requirements of the terminal user, for example, when the terminal user is at home, the lowest security level can be started for convenient use, for example, the terminal can be unlocked by writing '1' on a screen, and in the case of outgoing, the terminal is prevented from being lost to cause information leakage, the highest security level can be started, for example, the screen can be unlocked by inputting a complex password under the condition that the screen has no unlocking prompt, and even if the screen is unlocked, the information such as an address book in the terminal cannot be consulted. In practical applications, a user can completely perform personalized setting on a high security level and a low security level according to requirements, wherein the personalized setting includes the number of the security levels, and the unlocking mode under each security level and the like can be performed according to the requirements of the user. Besides the above-mentioned unlocking modes, for example, one of the secret levels can be set as a common sliding unlocking mode to input different passwords, and the touch screen enables different functions.
In step 230, a recognition engine is invoked to recognize the input information to obtain a recognition result.
After the screen locking module detects that an input process is completed, namely a process from the fact that a touch event is pressed down to the fact that a touch event is lifted up is detected on the touch screen, a corresponding function is called, an identification engine is started, and coordinate information of a touch point on a recorded touch moving track is sent to the identification engine for identification. FIG. 3 is a process of the recognition engine recognizing the trace information of the handwriting input to be recognized transmitted by the screen lock module.
In step 301, track information of handwriting input is acquired, and in the step, the handwriting input information acquired by the recognition engine is coordinate information of a handwriting input track to be recognized sent by the screen locking module.
In step 302, the trajectory information of the handwritten input is segmented.
For the case that the unlocking answer is more than one character, the recognition engine needs to segment the characters as the input handwriting increases. The recognition engine of the present invention requires segmentation prior to tilt correction, whether for single character or multiple character recognition. Specifically, block division is performed based on structural information such as the shape and position of the handwriting input trajectory, and if there is a significant blank space between the handwriting input trajectories and a blank space is formed in the vertical projection of the image line, the blank space is defined as a boundary of block division.
If the character is a single character, the character is divided into only one divided block. The recognition engine recognizes the segmentation block according to the following recognition process to obtain a corresponding recognition result. If the character is a combination of a plurality of characters, the processing procedure is as shown in FIG. 8, and includes the following steps: at step 810, handwriting of a plurality of characters is sampled. After sampling, the segmentation is performed first, step 820, the segmentation is divided into a plurality of segments, and then as described in step 303 and step 306, the tilt correction is performed on each segment at step 830, and the tilt correction result is preprocessed, normalized, feature extracted, and matched and calculated at step 840 to obtain the recognition result of each segment. In step 850, the recognition results of each segment are combined, for example, segmented into 3 segments, which are labeled 1, 2, and 3, respectively. And the combination of the segmentation block 1 and the segmentation block 2 is divided into A, the combination of the segmentation block 2 and the segmentation block 3 is divided into B, and the combination of the segmentation block 1, the segmentation block 2 and the segmentation block 3 is divided into C, then the 3 scores are sorted, and the combination corresponding to the score with higher reliability is taken out, namely the recognition result. Whether a single character or a combination of multiple characters, only the top choice of the recognition candidate is taken as the recognition result.
In step 303, the acquired trajectory information of the handwritten input is subjected to tilt correction.
Because the unlocking input performed by the user is not necessarily input according to the correct direction, nor is it necessarily input according to the normal writing sequence, such as: writing Chinese characters in a non-writing order of strokes, writing numbers inversely, and the like. These input methods may cause the input handwriting to be inclined or deformed, or the input angle deviates greatly from the positive direction of the touch screen. In particular, in order to provide a more convenient input mode for a user, it is necessary to minimize constraints on writing postures and writing sequences of trajectory information of the user, and to realize recognition of writing in any form, which requires correction of an input trajectory, which is described herein as tilt correction.
Fig. 5 is a flowchart illustrating tilt correction of trajectory information acquired in real time, i.e., a character to be recognized, in the screen unlocking method according to the present invention.
Referring to fig. 5, in step 521, the starting point of the character to be recognized is determined as the pointing point for the tilt correction. Specifically, for handwritten Chinese character recognition, the starting point of most characters is on the left side, the upper side or the upper left side of the Chinese character according to the characteristics of the handwritten characters, and based on the characteristics, the starting point of the characters can be set as a fixed point for inclination correction. Therefore, the fixed point can be determined only by memorizing the starting position of the pen during online handwriting. In step 522, a direction histogram of the character to be recognized is obtained. The method for obtaining the direction histogram of the character to be recognized is the same as the method for obtaining the direction histogram of each sample of the same character in step 511. In step 523, the distance is calculated from the clustered direction histogram in the sample library, and the tilt angle is determined by comparison. And matching the obtained direction histogram with the clustered direction histogram template in the sample library, and comparing in a distance calculation mode to obtain the angle required to rotate during tilt correction. At step 524, a tilt correction is performed based on the tilt angle and the setpoint. And correcting the inclination of the character to be recognized according to the inclination angle obtained in the last step and the determined fixed point.
Through the inclination correction, the accurate recognition of the input track of the handwriting can be realized through correction no matter whether the acquired handwriting information is inclined, deformed or inverted and the like and has abnormal writing conditions.
Fig. 6 is a schematic diagram illustrating an unlocking prompt of a touch screen in a locked state according to the present invention. Fig. 7a is a schematic diagram of a tilted character to be recognized, and fig. 7b is a schematic diagram of the tilted character to be recognized after tilt correction.
For unlock prompt 1+ 1? The user may input an unlocking answer corresponding to the unlocking prompt on the touch screen. However, due to the relatively random placement of the electronic device, when the user inputs his unlocking answer, the displayed handwriting may be irregular on the touch screen, and as shown in fig. 7a, the written handwriting is inclined. If the handwriting is directly sent to a recognition engine for recognition, the extracted noise features are more, and the final recognition is influenced. The recognition engine will perform the tilt correction first. In sampling the character to be recognized, the fixed points of the character have been determined, as highlighted by the black dots in fig. 7 b. Then, the direction histogram of the character to be recognized is matched with the templates of the clustered direction histograms in the template library to obtain the required tilt angle, and the result of correction according to the fixed point and the tilt angle is shown in fig. 7 b. Of course, the result of this correction is simply an intermediate result and is directly entered into step 304 for preprocessing.
At step 304, the trajectory information of the handwritten input is pre-processed. In the trajectory information of the handwriting input, because the input data is a touch point trajectory formed by moving when the input data is in contact with the touch screen, and noise is inevitably introduced when the hardware device collects the data, the original data needs to be preprocessed when the trajectory information of the handwriting input is identified, so that the noise existing in the original input data is eliminated. The preprocessing mainly includes processes of removing isolated points, removing redundant points, smoothing and deburring, and the like, and these techniques are well known to those skilled in the art of pattern recognition and are not described herein again.
In step 305, the pre-processed result is normalized.
After preprocessing the character to be recognized, the step 305 is performed for normalization, and for the literal character, the normalization based on the center of gravity may be used, while some characters are particularly slender or flat, and handwriting for these characters is specially processed. Firstly, calculating the aspect ratio r of characters in handwriting, determining a threshold value T for the aspect ratio, and if r is less than T, considering the handwriting as a slender character; otherwise, it is a non-elongated character. For an elongated character, only the Y coordinate is normalized, and the X coordinate is properly normalized and translated to an intermediate position in the horizontal direction. Flat characters are processed in a similar manner to elongated characters.
In step 306, feature data of the trajectory information of the handwriting input after the normalization processing is extracted, and feature matching calculation is performed with the sample features of the handwriting sample library.
After the preprocessing and normalization steps are completed, extracting features of the handwriting input track information, wherein the features mainly comprise directional features, geometric features, edge features and the like, and the features can fully embody the information quantity of each character. Whether a text type, a symbol type or a graphic type, each character has its own unique characteristic information. And then comparing the characteristics with the characteristics of each template stored in the sample library, and accumulating the difference between each characteristic to obtain an accumulated score, wherein the accumulated score is the identification score for identifying the current candidate character. The smaller the recognition score is, the smaller the gap between the trajectory representing the handwritten input and the candidate template is, i.e. the higher the similarity is, the higher the confidence level is.
In addition, in order to improve the first-choice accuracy of the recognition candidates and realize one-time unlocking, the recognition candidates can be corrected according to the unlocking prompt. The unlocking prompts stored in the screen locking module are classified according to characters such as numbers, letters, characters and the like, so that the accuracy of the recognition candidates can be judged by combining the recognition candidates with the unlocking prompts. Specifically, the combinations of a specific number of recognition candidates and unlocking prompts are scored through the established language model, the recognition candidate with the highest score is used as a first choice, and the first choice is used as a recognition result, so that the accuracy of the recognition result is improved. And selecting a plurality of recognition candidates with higher combination scores to be combined with the unlocking prompt according to the combination scores of the recognition candidates, wherein the number of the recognition candidates is not less than two. Of course, the recognition result can also be corrected by combining the language prior knowledge such as word sense, word frequency, common rules and the like.
In summary, the recognition engine is configured to recognize one of the input character track information, symbol track information, shape track information, or any combination of the character track information, symbol track information, shape track information.
In order to complete the recognition of the track information, the recognition engine needs to establish a handwriting sample library, train and learn the sample library to obtain sample characteristics, train the sample characteristics into templates of characters, set a corresponding machine language code, such as a Unicode code, for each template of the characters, and then set the Unicode code, such as a "book", to 0x4E 66. When the track information of the handwriting input to be recognized is recognized, the feature data information of the track of the handwriting input to be recognized is matched with the features of the samples for calculation, and a recognition result is determined according to the matching score. And the specific process of determining the recognition result according to the matching score is to use the template with the minimum calculation distance between the feature data and the templates of the characters in the handwriting sample library as the template with the highest reliability, output the machine language code corresponding to the template, and use the characters corresponding to the machine language code as the recognition result according to the output machine language code.
FIG. 4 is a process for the recognition engine to create a library of handwriting samples. As shown in fig. 4, establishing the sample library includes the following steps: step 411: a direction histogram for each sample of the same character is obtained. A histogram of direction is taken for each sample of the same character. The specific operation is to sample the samples according to a certain time interval, connect every two sampling points, obtain the angle of the line segment relative to the positive horizontal direction and record the angle. In this way, a direction histogram for each sample in the sample library can be obtained. Step 412: and averaging the direction histogram of each character to obtain the mean direction histogram of each character. Step 413: and clustering all the direction histograms based on the mean distance to obtain a plurality of direction histogram templates serving as clustering centers and serving as a sample library.
In order to improve the efficiency of overall recognition, the direction histograms of each character in the sample library are clustered. Because the direction histograms are more, the clustering quantity can not be artificially judged, namely the quantity of the clustering centers can not be determined, and the clustering center quantity of the mean distance-based hierarchical clustering method is dynamic, so that the information loss caused by excessive compression of the information quantity when the quantity of the clustering centers is too small can be avoided, and the information redundancy caused by insufficient compression of the information quantity when the quantity of the clustering centers is too large can also be avoided.
Through the above operations, the direction histogram template obtained by clustering is saved to be used as a sample template for subsequent matching.
Continuing to refer to fig. 2, in step 240, the recognition result is compared with a preset result, and if the comparison result is consistent, the display interface of the touch screen is placed in an unlocked state.
The screen locking module is internally provided with an unlocking prompt and a corresponding unlocking answer, and the unlocking answer is a preset result. The recognition engine compares the recognition result with the preset result, when the recognition result is consistent with the preset result, the recognition engine sends the result consistent with the comparison to the screen locking module, the screen locking module sends the information consistent with the comparison to the unlocking module, and the unlocking module calls a corresponding unlocking instruction to enable the display interface of the touch screen to be in an unlocking state.
When the touch screen is in the screen locking state, the unlocking prompt displayed on the touch screen can display at least two unlocking prompts according to the setting, wherein each unlocking prompt is associated with a corresponding display interface, such as an unlocking prompt associated unlocking interface, and the other unlocking prompt is associated with an application interface of one of application programs such as mailbox viewing and short message editing. When the recognition engine recognizes the recognition result obtained by the input information and one of the unlocking answers is consistent with the recognition result, the unlocking module responds to the input information to enable the touch screen to be converted into a display interface associated with the unlocking prompt corresponding to the input information, as shown in fig. 9. The recognition result can be one of characters, symbols and shapes or any combination of the characters, symbols and shapes.
And for the condition that no unlocking prompt is given on the screen, an unlocking password is arranged in the screen locking module. The identification engine identifies the unlocking password input by the user, compares the identification result with a preset unlocking password, when the identification result is consistent with the preset unlocking password, the identification engine sends the result of the consistent comparison to the screen locking module, the screen locking module sends the information of the consistent comparison to the unlocking module, and the unlocking module calls a corresponding unlocking instruction to enable the display interface of the touch screen to be in an unlocking state.
When the touch screen is in the screen locking state, the unlocking prompt displayed on the touch screen can display at least two unlocking prompts according to the setting, wherein each unlocking prompt is associated with a corresponding display interface, such as an unlocking prompt associated unlocking interface, and the other unlocking prompt is associated with an application interface of one of application programs such as mailbox viewing and short message editing. When the recognition engine recognizes the recognition result obtained by the input information and one of the unlocking answers is consistent with the recognition result, the unlocking module responds to the input information to enable the touch screen to be converted into a display interface associated with the unlocking prompt corresponding to the input information, as shown in fig. 9. The recognition result can be one of characters, symbols and shapes or any combination of the characters, symbols and shapes.
In the embodiment of the screen unlocking method of the present invention described above, the recognition engine is configured to recognize handwriting.
In another embodiment of the screen unlocking method of the present invention, the recognition engine may be configured to recognize the encoded information, as shown in fig. 10. And when the touch screen is in a screen locking state, displaying an unlocking prompt on the touch screen and simultaneously displaying a soft keyboard for inputting information. And inputting an unlocking answer through a soft keyboard according to the unlocking prompt, comparing an obtained identification result with a preset result after the identification by the identification engine, and converting the touch screen into an unlocking state if the comparison is consistent. The soft keyboard can be set by the user, can be set as a standard soft keyboard, and can also be only set as a numeric keyboard, an English keyboard or a combination of the numeric keyboard and the English keyboard according to the requirement.
The invention also provides a touch screen, as shown in the schematic block diagram of fig. 11, the touch screen comprises a password setting device, a detection device, an identification device and an unlocking device, and the touch screen further comprises an unlocking prompt device according to the level set by the password setting device.
The unlocking prompt device is used for displaying an unlocking prompt on the touch screen when the touch screen is in a screen locking state; the unlocking prompt displayed on the touch screen comprises randomly calling the unlocking prompt to be displayed on the touch screen or calling the same unlocking prompt all the time to be displayed on the touch screen, and the unlocking prompts of at least two associated different display interfaces can also be displayed on the touch screen according to setting.
The password setting device is used for presetting a password to input the preset password at any position of the touch screen to unlock the screen, and is also used for setting the security level of screen unlocking, different unlocking information corresponds to different unlocking security levels, and the security level can be divided into a first security level and a second security level. The first security level may be a high security level defined, for example, as no unlock prompt is displayed on the screen when the touch screen is in a screen locked state. And inputting a preset password at any position of the touch screen as unlocking information of the touch screen. The password is set by the user in a self-defined way and is not limited to numbers, characters, figures or any combination. And performing function mapping on the set password, for example, establishing association of the password 1 and the screen unlocking function, establishing association of the password 2 and the function of entering the address list, and so on, and automatically setting according to the requirement. The user can further refine the security level of the high security level, for example, the security level which can only be used for screen unlocking and calling functions is set as a first security level, the security level which can be used for screen unlocking, calling functions and address book functions is set as a second security level, and the security level which can use all functions of the mobile phone after screen unlocking is set as a third security level. In the case of high security level, several security levels need to be set, and what functions of the mobile phone correspond to each security level can be set by the user according to the needs.
The second security level may be a low security level, defined for example as an unlock prompt displayed on the touch screen when the touch screen is in a screen locked state. The low-security level may be further divided into a plurality of security levels, and may be divided according to the complexity of unlocking, and the security levels below the low-security level are divided by way of example below. For example, the first security level is that a complex unlock is required, such as displaying at least two unlock prompts on the screen. The second security level is that an unlocking prompt is displayed on the screen, but the unlocking answer is more complex. The third security level is that an unlocking prompt is displayed on a screen, and an unlocking answer is simple. The number of the security levels and the complexity of each security level set under the low security level can be set according to the requirements of users. And the detection device is used for detecting input information used for unlocking on the touch screen and sending the detected input information to the identification device. The detection device is a screen locking device. When the touch screen is in a screen locking state, the screen locking device is in a working mode and monitors input events on the touch screen in real time. When a pressing touch event is detected on the touch screen, the coordinate information of the track input on the touch screen is recorded by taking the touch point of the pressing touch event as a starting point until a lifting event is detected, namely a stop touch event is generated, and the touch point of the lifting event is taken as an end point. By the method, coordinate information of all points on a track generated by touch on the touch screen is recorded, and detection of input information on the touch screen is completed. The detection device is specifically a screen locking module. The detection device sends the detected input information to the identification device and sends the identification result fed back by the identification device to the unlocking device.
And the identification device is used for calling the identification engine, identifying the input information to obtain an identification result, comparing the identification result with a preset result and sending the comparison result to the detection device. The recognition engine is configured to recognize one of or any combination of character track information, symbol track information, shape track information input; or the recognition engine is configured to recognize the inputted encoded information.
And the unlocking device is used for receiving the comparison result sent by the detection device and placing the display interface of the touch screen in an unlocking state.
The identification device further comprises a segmentation unit, an inclination correction unit, a preprocessing unit, a normalization processing unit, a feature matching unit and an identification result acquisition unit. The functional functions of the respective units are substantially the same as those described in the above-mentioned step 30, and are not described again here.
The present invention also proposes an electronic device, as shown in fig. 12, including: a touch screen; the unlocking prompt device is used for displaying an unlocking prompt on the touch screen when the touch screen is in a screen locking state, wherein the displaying of the unlocking prompt on the touch screen comprises randomly calling the unlocking prompt to display on the touch screen or calling the same unlocking prompt to display on the touch screen all the time or displaying the unlocking prompt according to a mode preset by a user; the password setting device is used for presetting a password so as to input the preset password screen unlocking at any position of the touch screen, and simultaneously is also used for setting the security level of screen unlocking, different unlocking information corresponds to different unlocking security levels, the security level can be divided into a high security level and a low security level, the security level is set according to the password setting device, and the touch screen does not comprise an unlocking prompt device; the detection device is used for detecting input information used for unlocking on the touch screen and sending the detected input information to the identification device; the detection device sends the detected input information to the identification device and sends a detection result fed back by the identification device to the unlocking device; the identification device is used for calling the identification engine, identifying the input information to obtain an identification result, comparing the identification result with a preset result and sending the comparison result to the detection device; and the unlocking device is used for receiving the comparison result sent by the detection device and placing the display interface of the touch screen in an unlocking state.
The unlocking prompt device can be used for setting that at least two unlocking prompts are displayed at the same time, so that at least two unlocking prompts are displayed on the touch screen, and the touch screen enters an unlocking or corresponding application interface when the input information meets the condition.
The identification device further comprises a segmentation unit, a tilt correction unit, a preprocessing unit, a normalization processing unit, a feature matching unit and an identification result acquisition unit. The functional functions of the respective units are substantially the same as those described in the above-mentioned step 30, and are not described again here.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by hardware associated with computer program instructions, and the programs can be stored in a computer readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. The storage medium may be a magnetic disk, an optical disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), or the like.
The above-mentioned embodiments are intended to illustrate the objects, technical solutions and advantages of the present invention in further detail, and it should be understood that the above-mentioned embodiments are only exemplary embodiments of the present invention, and are not intended to limit the present invention, and any modifications, equivalents, improvements and the like made within the spirit and principle of the present invention should be included in the protection scope of the present invention.

Claims (6)

1. A screen unlocking method is characterized by comprising the following steps:
setting at least two screen unlocking security levels, wherein corresponding screen unlocking information needs to be input at different security levels, and different security levels correspond to different operation authorities;
starting one of the screen unlocking security levels;
detecting input information for unlocking input at any position of the touch screen;
calling an identification engine to identify the input information to obtain an identification result;
comparing the identification result with a preset result, and if the comparison is consistent, placing the display interface of the touch screen in an unlocking state;
wherein the security level comprises a high security level and a low security level, the screen does not display an unlocking prompt at the high security level, and the high security level further comprises: the third security level is that when the touch screen is in a locked state, unlocking prompt information is not displayed on the screen, and a preset password is input at any position of the touch screen to serve as unlocking information of the touch screen; the fourth security level is that when the touch screen is in a locked state, unlocking prompt information is not displayed on the screen, a preset password is input at any position of the touch screen and is used as unlocking information of the touch screen, one or more set passwords are input, the set passwords are subjected to function mapping, different passwords are input, and different functions are started on the touch screen;
at low security level, the screen displays an unlock prompt.
2. The method of claim 1, wherein the low-security level further comprises: the security level is that when the touch screen is in a screen locked state, an unlocking prompt is displayed on the touch screen, and when unlocking information corresponding to the unlocking prompt is input, the screen is unlocked; and the security level is that when the touch screen is in a locked state on the screen, one or more unlocking prompts are displayed on the touch screen, each unlocking prompt is preset by a user, each unlocking prompt is subjected to function mapping, each unlocking prompt is associated with a corresponding display interface, and when the input information on the screen is consistent with one of the unlocking answers, the touch screen enters the display interface associated with the unlocking prompt corresponding to the input information.
3. A touch screen, comprising:
the password setting device is used for setting at least two screen unlocking security levels, corresponding screen unlocking information needing to be input at different security levels and presetting a password as the unlocking information of the touch screen, and the different security levels correspond to different operation authorities;
the detection device is used for detecting input information which is input at any position of the touch screen and used for unlocking, sending the detected input information to the identification device and sending a result of comparison and consistency fed back by the identification device to the unlocking device;
the identification device is used for calling the identification engine, identifying the input information to obtain an identification result, comparing the identification result with a preset result and sending the comparison result to the detection device;
the unlocking device is used for receiving the comparison result sent by the detection device and placing the display interface of the touch screen in an unlocking state; wherein,
the identification device comprises:
a tilt correction unit that performs tilt correction on the trajectory information input by handwriting;
a preprocessing unit that preprocesses a result of the inclination correction;
the normalization unit is used for normalizing the preprocessing result;
the characteristic matching unit is used for extracting characteristic data of the track information after normalization processing and carrying out characteristic matching calculation with sample characteristics in a preset handwritten form sample library;
the recognition result acquisition unit is used for taking the template with the minimum calculation distance between the feature data and the template of the characters in the handwriting sample library as the template with the highest reliability and outputting the machine language code corresponding to the template;
according to the output machine language code, using the character corresponding to the machine language code as the recognition result; the security level comprises a high security level and a low security level, the unlocking prompt is not displayed on the screen at the high security level, and the high security level further comprises: the third security level is that when the touch screen is in a locked state, unlocking prompt information is not displayed on the screen, and a preset password is input at any position of the touch screen to serve as unlocking information of the touch screen; the fourth security level is that when the touch screen is in a locked state, unlocking prompt information is not displayed on the screen, a preset password is input at any position of the touch screen and used as unlocking information of the touch screen, the set password is one or more, the set passwords are subjected to function mapping, and when the input passwords are different, the started functions in the electronic equipment are also different;
at low security level, the screen displays an unlock prompt.
4. The touch screen of claim 3, wherein the low security level further comprises: the security level is that when the touch screen is in a screen locked state, an unlocking prompt is displayed on the touch screen, and when unlocking information corresponding to the unlocking prompt is input, the screen is unlocked; and the security level is that when the touch screen is in a locked state on the screen, one or more unlocking prompts are displayed on the touch screen, each unlocking prompt is preset by a user, each unlocking prompt is subjected to function mapping, each unlocking prompt is associated with a corresponding display interface, and when the input information on the screen is consistent with one of the unlocking answers, the touch screen enters the display interface associated with the unlocking prompt corresponding to the input information.
5. An electronic device, comprising a touch screen, a password setting device, a detection device, an identification device and an unlocking device, wherein,
the password setting device is used for setting at least two screen unlocking security levels, corresponding screen unlocking information needs to be input under different security levels, and a password is preset to be used as the unlocking information of the touch screen, and different security levels correspond to different operation authorities;
the detection device is used for detecting input information which is input at any position of the touch screen and used for unlocking, sending the detected input information to the identification device, and sending a result of comparison consistency fed back by the identification device to the unlocking device;
the identification device is used for calling the identification engine, identifying the input information to obtain an identification result, comparing the identification result with a preset result and sending the comparison result to the detection device;
the unlocking device is used for receiving the comparison result sent by the detection device and placing the display interface of the touch screen in an unlocking state; wherein,
the identification device comprises:
a tilt correction unit that performs tilt correction on the trajectory information input by handwriting;
a preprocessing unit for preprocessing the result after the tilt correction;
the normalization unit is used for normalizing the preprocessing result;
the characteristic matching unit is used for extracting characteristic data of the track information after normalization processing and carrying out characteristic matching calculation with sample characteristics in a preset handwritten form sample library;
the recognition result acquisition unit is used for taking the template with the minimum calculation distance between the feature data and the template of the characters in the handwriting sample library as the template with the highest reliability and outputting the machine language code corresponding to the template;
according to the output machine language code, using the character corresponding to the machine language code as the recognition result; the security level comprises a high security level and a low security level, the unlocking prompt is not displayed on the screen at the high security level, and the high security level further comprises: the third security level is that when the touch screen is in a locked state, unlocking prompt information is not displayed on the screen, and a preset password is input at any position of the touch screen to serve as unlocking information of the touch screen; the fourth security level is that when the touch screen is in a locked state, unlocking prompt information is not displayed on the screen, a preset password is input at any position of the touch screen and used as unlocking information of the touch screen, the set password is one or more, the set passwords are subjected to function mapping, and when the input passwords are different, the started functions in the electronic equipment are also different;
at low security level, the screen displays an unlock prompt.
6. The electronic device of claim 5, wherein the low-security level further comprises: the security level is that when the touch screen is in a screen locked state, an unlocking prompt is displayed on the touch screen, and when unlocking information corresponding to the unlocking prompt is input, the screen is unlocked; and the security level is that when the touch screen is in a locked state on the screen, one or more unlocking prompts are displayed on the touch screen, each unlocking prompt is preset by a user, each unlocking prompt is subjected to function mapping, each unlocking prompt is associated with a corresponding display interface, and when the input information on the screen is consistent with one of the unlocking answers, the touch screen enters the display interface associated with the unlocking prompt corresponding to the input information.
CN201210096142.3A 2011-10-31 2012-04-01 Unlocking screen method, touch screen and electronic equipment Active CN103092500B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210096142.3A CN103092500B (en) 2011-10-31 2012-04-01 Unlocking screen method, touch screen and electronic equipment

Applications Claiming Priority (4)

Application Number Priority Date Filing Date Title
CN201110338316 2011-10-31
CN201110338316.8 2011-10-31
CN2011103383168 2011-10-31
CN201210096142.3A CN103092500B (en) 2011-10-31 2012-04-01 Unlocking screen method, touch screen and electronic equipment

Publications (2)

Publication Number Publication Date
CN103092500A CN103092500A (en) 2013-05-08
CN103092500B true CN103092500B (en) 2016-08-10

Family

ID=48205136

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210096142.3A Active CN103092500B (en) 2011-10-31 2012-04-01 Unlocking screen method, touch screen and electronic equipment

Country Status (1)

Country Link
CN (1) CN103092500B (en)

Families Citing this family (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104424406B (en) * 2013-08-22 2019-01-04 深圳富泰宏精密工业有限公司 Linear incision unlocking method and system
CN104461268B (en) * 2013-09-16 2018-02-27 联想(北京)有限公司 A kind of switching method and apparatus
TWI502394B (en) * 2013-09-24 2015-10-01 Wistron Corp Electronic device and unlocking method thereof
CN104573429A (en) * 2013-10-12 2015-04-29 鸿富锦精密工业(深圳)有限公司 Handheld device unlocking device, handheld device unlocking method and handheld device
CN105488363A (en) * 2014-09-15 2016-04-13 宇龙计算机通信科技(深圳)有限公司 Terminal and unlock scheme setting method
CN104407803B (en) * 2014-11-21 2017-10-13 中国联合网络通信集团有限公司 Unlocking screen method, device and the electronic equipment recognized based on person's handwriting
CN104794392B (en) * 2015-05-05 2018-04-17 福州瑞芯微电子股份有限公司 A kind of equipment unlocking method and a device based on grid
CN106295424A (en) * 2016-01-20 2017-01-04 恒生电子股份有限公司 Screen locking method, unlocking method and relevant apparatus
CN106203059A (en) * 2016-07-14 2016-12-07 深圳市金立通信设备有限公司 A kind of unlocking screen method and terminal
CN106709316B (en) * 2016-12-12 2020-02-07 武汉斗鱼网络科技有限公司 Unlocking method in mobile terminal and mobile terminal

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1673932A (en) * 2004-03-22 2005-09-28 上海环达计算机科技有限公司 Intelligent hand writing inputting system
CN101296457A (en) * 2008-06-25 2008-10-29 深圳华为通信技术有限公司 Screen operation method and device
CN101789063A (en) * 2010-01-27 2010-07-28 江苏华安高技术安防产业有限公司 Hand-held terminal for starting-up encryption and decryption by utilizing handwriting identification and implementing method thereof
CN101980131A (en) * 2010-10-29 2011-02-23 东莞宇龙通信科技有限公司 An unlocking method, system and communication terminal
CN101986251A (en) * 2010-10-28 2011-03-16 华为终端有限公司 Touch pattern locking/unlocking method and device

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7657849B2 (en) * 2005-12-23 2010-02-02 Apple Inc. Unlocking a device by performing gestures on an unlock image

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1673932A (en) * 2004-03-22 2005-09-28 上海环达计算机科技有限公司 Intelligent hand writing inputting system
CN101296457A (en) * 2008-06-25 2008-10-29 深圳华为通信技术有限公司 Screen operation method and device
CN101789063A (en) * 2010-01-27 2010-07-28 江苏华安高技术安防产业有限公司 Hand-held terminal for starting-up encryption and decryption by utilizing handwriting identification and implementing method thereof
CN101986251A (en) * 2010-10-28 2011-03-16 华为终端有限公司 Touch pattern locking/unlocking method and device
CN101980131A (en) * 2010-10-29 2011-02-23 东莞宇龙通信科技有限公司 An unlocking method, system and communication terminal

Also Published As

Publication number Publication date
CN103092500A (en) 2013-05-08

Similar Documents

Publication Publication Date Title
CN103092500B (en) Unlocking screen method, touch screen and electronic equipment
TWI222032B (en) Hand-written input authentication apparatus, hand-written input authentication method and storage medium storing hand-written input authentication program
US10169558B2 (en) Enhancing biometric security of a system
US7302099B2 (en) Stroke segmentation for template-based cursive handwriting recognition
US8175389B2 (en) Recognizing handwritten words
EP3336733A1 (en) Fingerprint recognition system and method, and display apparatus
WO2017092296A1 (en) Gesture unlocking method and apparatus, and mobile terminal
US10572715B2 (en) Segment block-based handwritten signature authentication system and method
JP2004518198A (en) Method, device and computer program for recognizing handwritten characters
CN107977659A (en) A kind of character recognition method, device and electronic equipment
TW200823773A (en) A method and apparatus for recognition of handwritten symbols
US8494277B2 (en) Handwritten character recognition based on frequency variations in characters
Tse et al. Behavioral biometrics scheme with keystroke and swipe dynamics for user authentication on mobile platform
JP3467437B2 (en) Character recognition apparatus and method and program recording medium
US11216691B2 (en) Input method and system for electronic device
US20130330005A1 (en) Electronic device and character recognition method for recognizing sequential code
KR101427820B1 (en) Drawing Type Image Based CAPTCHA Providing System and CAPTCHA Providing Method
JP6276890B1 (en) Signature verification system
JP2016173710A (en) Information input device, and program
JP2761679B2 (en) Online handwritten character recognition device
CN103034420A (en) System and method for personal handwritten font
RU2823222C1 (en) Method and device for inputting information in braille
AU2021106052A4 (en) An enhanced recognition based image authentication method to save system time and memory
JP3242525B2 (en) Character string presentation method for online recognition
CN106326727A (en) Method and equipment for identifying passwords

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20230908

Address after: Room 361, 3rd Floor, Building 5, No. 8 Dongbei Wangxi Road, Haidian District, Beijing, 100193

Patentee after: Beijing Hanvon Saip Technology Co.,Ltd.

Address before: 100193, No. 5, building 8, No. three northeast Wang Xi Road, Beijing, Haidian District

Patentee before: HANWANG TECHNOLOGY Co.,Ltd.