CN103092500B - Screen unlocking method, touch screen and electronic equipment - Google Patents

Screen unlocking 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
screen
unlock
unlocking
information
touch screen
Prior art date
Application number
CN201210096142.3A
Other languages
Chinese (zh)
Other versions
CN103092500A (en
Inventor
王杰
毕芳
张俊超
Original Assignee
汉王科技股份有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Priority to CN201110338316.8 priority Critical
Priority to CN201110338316 priority
Application filed by 汉王科技股份有限公司 filed Critical 汉王科技股份有限公司
Priority to CN201210096142.3A priority patent/CN103092500B/en
Publication of CN103092500A publication Critical patent/CN103092500A/en
Application granted granted Critical
Publication of CN103092500B publication Critical patent/CN103092500B/en

Links

Abstract

本发明公开一种屏幕解锁方法、触摸屏和电子设备。 The present invention discloses a method for unlocking a screen, a touch screen and electronic equipment. 该触摸屏解锁方法包括:设置至少两种屏幕解锁密级,在不同的密级,需要输入相应的屏幕解锁信息;启用其中一种屏幕解锁密级;检测在触摸屏任意位置输入的用于解锁的输入信息;调用识别引擎,对该输入信息进行识别以获得识别结果;将识别结果与预设结果进行比对,若比对一致,将该触摸屏的显示界面置于解锁状态。 The touch screen unlocking method comprising: setting at least two kinds of screen unlocking dense, dense different, need to enter the appropriate unlock the screen information; enable one screen unlocking secret level; detecting input information input for unlocking the touch screen at an arbitrary position; call recognition engine recognizes the input information to obtain a recognition result; recognition result with a preset comparison result, if the comparison is consistent, the interface touch screen display is placed in the unlocked state. 利用本发明的屏幕解锁技术,能够有效保证电子设备的信息安全性,并同时能够有效避免由于误操作导致的屏幕解锁,提高了用户体验。 The use of technology to unlock the screen of the present invention can effectively ensure the security of electronic information equipment, and at the same time can effectively avoid the screen unlock by mistake lead to improve the user experience.

Description

屏幕解锁方法、触摸屏和电子设备 Screen unlocking method, touch screen and electronic equipment

技术领域 FIELD

[0001]本发明涉及信息技术处理领域,尤其涉及一种基于识别手写体信息的屏幕解锁方法、触摸屏和电子设备。 [0001] The present invention relates to processing information technology, and in particular relates to a screen unlocking method based handwriting identification information, the electronic device and the touch screen.

背景技术 Background technique

[0002]随着信息技术的发展,越来越多的电子设备都使用触摸屏作为输入操作的屏幕。 [0002] With the development of information technology, more and more electronic devices use a touch screen as a screen input operation. 而为防止电子设备在未使用时触摸屏被触碰发生误操作,或者是为了保证电子设备中信息的私密性,现有的电子设备均具有锁屏和解锁功能。 To prevent the electronic device when not in use the touch screen is touched, a malfunction, or to ensure the privacy of the information in the electronic device, a conventional electronic device has a screen locking and unlocking functions.

[0003]目前常见的触摸屏解锁方式主要包括以下一些类型:I)沿固定的显示路径即滑动条滑动触摸屏上的解锁图案实现解锁,只要是沿滑动条滑动达到一定比例即可实现解锁,在该方案中滑动条的设置,限制了解锁图案滑动的范围,用户只能沿该滑动条滑动才能解锁,设置僵化,其次,用户将电子设备装入口袋、背包,随身携带的过程中,若不慎触碰到解锁图案,极有可能在触碰过程中,解锁图案沿滑动条开始滑动导致解锁,因而,这种滑动解锁的方式不仅容易产生误操作,而且任何人都很容易解锁屏幕,电子设备中的信息不能保证安全;2)基于I)中滑动解锁的理念衍生出的其他各种滑动解锁的具体方案,如移动棋子解锁、分割显示屏上显示的图案解锁,这些解锁方法同样存在滑动解锁易于误操作且不能保证电子设备信息安全性的缺陷;3)通过点击的位置 [0003] Current common way to unlock the touch screen includes some of the following types: I) along a path that is fixed display pattern on a slider sliding unlock unlocking the touch screen, as long as a certain percentage of sliding along the slide bar to unlocking, the scheme slider is provided, limiting the range of sliding of the patterns unlock, to unlock the user can slide along the slide bar disposed rigid, and secondly, the electronic device the user in a pocket, backpack, carrying process, if inadvertently touch the unlock pattern, most likely in touch during unlock pattern begins to slide along the slider leading to unlock, thus, slide to unlock this way not only prone to misuse, and easy for anyone to unlock the screen, electronic equipment the security information can not be guaranteed; 2) based on I) of various other specific embodiments unlocking slide sliding unlock concept derived, such as moving the unlock pieces, division patterns shown on the display unlock, unlock these methods there are also sliding unlock easy to misuse and defect information can not guarantee security of the electronic equipment; 3) by the position clicked 次数解屏,这种方法使用起来繁琐、不够人性化,虽然可靠性比前两种方案要高一些,但由于在屏幕上显示了解锁提示,同样有可能被人按照解锁提示对屏幕进行解锁,仍然存在安全隐患。 The number of times solution screen, this method is cumbersome to use, not human, though reliability is higher than the first two programs of some, but shows the unlocked prompt on the screen, there is likely to be the same person to unlock the screen according to unlocking tips, still a security risk.

[0004] —些触摸屏解锁的详细方案可见于一些专利文献,例如,在授权公开号为CN101371258B的专利中公开了一种滑动解锁的方案,该方案是在屏幕上显示解锁图像,由用户将解锁图像移动到预定位置或沿着预定路径移动解锁图像,实现屏幕的解锁。 [0004] - more detailed embodiment unlocking a touch screen can be found in some of the patent document, for example, disclosed in the authorization Publication No. Patent CN101371258B of a sliding unlocking program, which is displayed unlock image on the screen will be unlocked by the user image is moved to a predetermined position or moving the unlock image along a predetermined path, unlocking the screen. 在该方案中,解锁图像必须显示在屏幕上方能解屏。 In this scenario, the unlock screen images must be displayed on the screen can only solution. 任何人只要根据解锁提示都可以实现解屏。 Anyone can be achieved according to the unlocked prompt solution screen.

[0005] 又例如,在公开号为US2011/0041102A1的专利文献中公开了一种根据触摸手势解锁或进入相应应用界面的方案,该方案需要在触摸屏上显示解锁或进入相应应用界面的提示。 [0005] As another example, it discloses a touch gesture suggesting A process according to unlock or enter the corresponding application interface program, which needs to be displayed into the respective unlocking or application interface on the touch screen in Publication No. US2011 / 0041102A1 Patent Document. 使用者可以事先注册若干个手势,并建立手势与解锁、相应功能界面的关联,由此,用户根据解锁提示很方便的输入手势通过识别该手势解屏或打开功能界面。 Users can register in advance a plurality of gesture and associating the unlock gesture, the respective functional interface, whereby a user of an unlocked easily prompts input gesture by the gesture recognition screen or open function interface solution. 该方案需要在屏幕上显示解锁提示,任何人都可以根据解锁提示解屏。 The program needs to display prompts on the screen to unlock, anyone can prompt solution to unlock the screen based on.

[0006]可见,现有技术的这些触摸屏解锁方案在使用过程中,要么存在容易发生误操作的缺陷,要么存在使用繁琐的缺陷,但存在的一个共同的缺陷是,由于屏幕上都会显示解锁提示信息,用户根据该解锁提示输入相应的解锁答案就可以解锁,这难以保证信息的安全性。 [0006] visible, these touch screen unlocking solution prior art in use, or there is prone to misuse of defects or deficiencies exist cumbersome to use, but there is a common drawback is that, due to the prompt will be displayed on the screen to unlock information, users can unlock unlock according to the prompt for the appropriate answer to unlock, which is difficult to guarantee the security of information.

[0007]在这个越来越注重个人私密信息的年代,用户一旦失去对自己拥有的手持设备的控制,就无法防止他人根据屏幕上的解锁提示解屏,进而了解到手持设备中用户的一些私密信息,尤其是对于高端商务人士,随身携带的手持设备中存储的信息,往往是一些商业机密,一旦泄露,将会造成无法挽回的不良影响,或带来不可估量的损失。 [0007] In this increasingly focused on personal private information age, once the user loses control of the hand-held device that you own, you can not prevent others according to unlock the screen prompts on the screen solution, and then learned that a number of handheld devices in the user's privacy information, especially for high-end business people, carry information stored in the handheld device, often some trade secrets, when disclosed, will adversely affect irreparable, or immeasurable loss.

[0008]因此,根据现有技术中触摸屏解锁方案普遍存在的信息安全问题,有必要提出一种能保证电子设备的信息安全性,同时不容易发生误操作、操作方便且人性化的触摸屏解锁方式。 [0008] Thus, according to the prior art, the touch screen to unlock the prevailing information security program, it is necessary to provide a guarantee security of the electronic information equipment, while not prone to misuse, easy to operate and user-friendly way to unlock the touch screen .

发明内容 SUMMARY

[0009]为了克服现有技术中触摸屏解锁方式存在的诸多问题,本发明提出一种屏幕解锁方法、触摸屏和电子设备,通过用户在电子设备中根据实际需求设置不同的密级,不仅能够保证电子设备信息的高私密性,也能够保证屏幕解锁的操作便捷性、人性化等优点,从而可满足不同的用户需求。 [0009] In order to overcome the problems in the prior art touch screen to unlock the embodiment, the present invention provides a screen unlocking method, the touch screen and the electronic device, set different classification level according to the actual needs of the electronic device by a user, not only to ensure the electronic device high information private, it is possible to ensure the ease of operation, etc. humanization screen unlocked, which can meet the needs of different users.

[0010]本发明的屏幕解锁方法包括:设置至少两种屏幕解锁密级,在不同的密级下,需要输入相应的屏幕解锁信息,而且在不同的密级解锁后电子设备中能够使用的应用程序功能也不同;启用其中一种屏幕解锁密级;检测在触摸屏任意位置输入的用于解锁的输入信息;调用识别引擎,对该输入信息进行识别以获得识别结果;将识别结果与预设结果进行比对,若比对一致,将该触摸屏的显示界面置于解锁状态。 [0010] The screen unlocking method of the present invention comprises: setting at least two kinds of screen unlocking dense, dense at different, need to enter the appropriate unlock the screen information, but different in the dense unlock the electronic device can be used in applications functions different; enable one screen unlocking dense; detecting input information for unlocking an arbitrary position of the touch screen input; call recognition engine recognizes the input information to obtain a recognition result; recognition result with a preset comparison results, if the comparison is consistent, the interface touch screen display is placed in the unlocked state.

[0011 ]所述密级包括高密级和低密级,在高密级,屏幕不显示解锁提示,在低密级,屏幕显示解锁提示。 [0011] The dense includes a high and low security classification dense, high dense, unlocking prompt screen is not displayed, dense low, the unlock screen prompts. 所述低密级进一步包括:第一密级,该密级是指当触摸屏处于屏幕被锁状态时,在触摸屏上显示一个解锁提示,当输入与解锁提示对应的解锁信息时,屏幕被解锁;第二密级,该密级是指当触摸屏处于屏幕被锁状态时,在触摸屏上显示一个或多个解锁提示,每个解锁提示由用户预先设置,并且将每个解锁提示进行功能映射,每个解锁提示关联相应的显示界面,当屏幕上的输入信息与其中之一解锁答案相一致时,触摸屏进入与输入信息相对应的解锁提示关联的显示界面。 The low security classification further comprising: a first dense, the dense means that when the screen is the touch screen is locked state, displaying a prompt on the touch screen to unlock, when the input prompt unlocking the unlocking information corresponding to the screen is unlocked; second dense the dense means when the touch screen is locked in a state of the screen, displaying one or more prompts unlock, unlock hint preset by each user, and each functional map unlock prompts on the touch screen, each associated with a respective unlocking tips the display screen when entering information on the screen and unlock one of the answers is consistent touch-screen display interface to enter the information associated with the input to unlock the corresponding prompt. 所述高密级进一步包括:第三密级,是指当触摸屏处于屏幕被锁状态时,屏幕上不显示解锁提示信息,在触摸屏任意位置输入预先设置的一个密码,作为触摸屏的解锁信息;第四密级,是指当触摸屏处于屏幕被锁状态时,屏幕上不显示解锁提示信息,在触摸屏任意位置输入预先设置的密码,作为触摸屏的解锁信息,所设置的密码是一个或多个,并对设置的密码进行功能映射,输入不同的密码,触摸屏启用不同的功能。 The high security classification further comprising: a third dense, means that when the touch screen is the screen is locked state and does not display an unlock message on the screen, a password touchscreen anywhere in the input set in advance, the unlocking information as a touch screen; fourth dense It means when the touch screen is the screen is locked state, is not displayed on the screen unlocking message, a password is set in advance on the touch screen at any position, as the unlock information of the touch panel, the password provided one or more, and arranged password mapping function, enter a different password, touch screens enable different functions. 用于解锁触摸屏所输入的信息由用户自定义设置,是数字、文字、图形或其任意组合。 For unlocking the touchscreen information input by a user-defined settings, numbers, text, graphics, or any combination thereof.

[0012]在第二密级的情况下,电子设备接收锁屏指令,使所述触摸屏处于锁屏状态,并在所述触摸屏上显示第一解锁提示和第二解锁提示;将识别引擎的识别结果与第一解锁提示关联的第一预设结果进行比对,若比对一致,将该触摸屏的显示界面置于与第一解锁提示相对应的处于解锁状态的第一显示界面;将识别结果与第二解锁提示关联的第二预设结果进行比对,若比对一致,将该触摸屏的显示界面置于与第二解锁提示相对应的处于应用界面的第二显示界面;其中,第一解锁提示不同于第二解锁提示。 [0012] In the case where the second dense, the electronic device receives the lock instruction screen, the touch screen panel in a locked state, and display the first and second unlocking unlock hint prompt on the touch screen; the recognition result of the recognition engine with a first predetermined result associated with a first unlocking tips alignment, if the comparison is consistent, the interface touch screen display is placed in the first display screen corresponding to the first unlock hint in an unlocked state; the recognition result the second unlock hint associated with a second predetermined comparison result, if the comparison is consistent, the interface touch screen display is placed in a second display interface prompts corresponding to the second unlock in application interface; wherein the first unlocking tips different from the second unlocked prompt.

[0013]其中,所述检测在触摸屏任意位置输入的用于解锁的输入信息之前还包括:接收锁屏指令,使触摸屏处于锁屏状态,如果在触摸屏上显示解锁提示,则包括随机调用解锁提示在触摸屏上进行显示或始终调用相同的解锁提示在触摸屏上进行显示。 [0013] wherein, said detected before the input information for unlocking a touch screen anywhere in the input further comprises: receiving a lock screen instructions, the touch screen in the lock screen, if the display unlock hint on the touch screen, including a random call unlock hint unlock displayed on the touch screen or always call the same prompt is displayed on the touch screen.

[0014]其中,所述识别引擎被配置为识别输入的手写体轨迹信息,该手写体轨迹信息包括字符轨迹信息、符号轨迹信息、形状轨迹信息之一或字符轨迹信息、符号轨迹信息、形状轨迹信息的任意组合。 [0014] wherein said recognition engine is configured handwriting trajectory information recognizes the input, the handwriting trajectory information including characters track information symbol track information, one of the shape of the trajectory information or character track information symbol track information, the shape of trace information random combination.

[0015]其中,所述检测在触摸屏任意位置输入的用于解锁的输入信息包括:检测触摸屏处于锁屏状态时发生的按下触摸事件和抬起触摸事件,记录以该按下触摸事件的触摸点为起始点跟踪至以该抬起事件的触摸点为终点形成的轨迹信息。 [0015] wherein said detection input information for unlocking the touch screen anywhere in the input comprises: pressing a touch event and a touch event is detected lift the touch screen panel in a locked state, the press on the touch event is recorded in a touch point as a starting point to trace the trajectory information to the touch point of the event was raised end formation.

[0016]其中,所述检测在触摸屏任意位置输入的用于解锁的输入信息之前还包括步骤:在识别引擎中建立手写体样本库,对该手写体样本库中的字符的样本进行训练学习获得样本特征,并将所述样本特征训练为字符的模板。 [0016] wherein, said detected before the input information for unlocking a touch screen anywhere in the input further comprising the step of: establishing a handwriting sample database in the recognition engine, the sample handwriting sample database character train obtained by learning samples wherein and the characteristics of the sample training template characters.

[0017]其中,将所述样本特征训练为字符的模板之后,为手写体样本库中每个字符的模板设置相应的机器语言编码。 [0017] wherein the sample wherein after the training character templates, each template character set handwriting sample database corresponding machine language code.

[0018]其中,建立手写体样本库包括如下步骤:获取同一个字符的每个样本的方向直方图;对每一个字符的方向直方图取均值,获得每一个字符的均值方向直方图;基于均值距离将所有的均值方向直方图进行聚类,得到多个作为聚类中心的方向直方图模板。 [0018] wherein establishing handwriting sample database comprising the steps of: obtaining the direction of each sample histogram of the same character; for a character direction of each histogram averaged to obtain the mean direction of each character histogram; based on the mean distance All the mean direction histogram clustering, get more direction as cluster centers histogram template.

[0019]其中,所述调用识别引擎,对该输入信息进行识别以获得识别结果包括如下步骤:对手写输入的轨迹信息进行预处理;将预处理结果进行归一化处理;提取归一化处理后的轨迹信息的特征数据,并与所述手写体样本库中的样本特征进行特征匹配计算。 [0019] wherein said recognition engine calls, identifying the input information to obtain a recognition result comprising the steps of: handwriting trajectory information is pre-processed; pretreatment results normalized; extracting normalization processing wherein the data tracks of information, and calculating feature matching the handwriting sample wherein the sample library.

[0020]其中,所述对手写输入的轨迹信息进行预处理之前还包括步骤:对手写输入的轨迹进行倾斜校正,所述倾斜校正包括如下步骤:确定手写输入的轨迹的起笔点,将该起笔点作为倾斜校正的定点;获取手写输入的轨迹的方向直方图;与样本库中聚类后的方向直方图模板比较,确定手写输入的轨迹的倾斜角度;根据手写输入的轨迹的倾斜角度和定点,进行手写输入的轨迹的倾斜校正。 [0020] wherein, prior to the pretreatment of handwriting trajectory information further comprises the step of: handwriting input is the trajectory inclination correction, the inclination correction comprising the steps of: determining a point of a handwriting input pen trajectory, the pen designated point as the tilt correction; locus acquiring handwriting input direction histogram; direction histogram template clustering and comparison sample database, the inclination angle of the handwriting input is determined trajectory; trajectory of handwriting input according to the inclination angle and pointing , handwriting input trajectory tilt correction.

[0021]其中,所述提取归一化处理后的轨迹信息的特征数据,并与所述手写体样本库中的样本特征进行特征匹配计算之后包括:将特征数据与手写体样本库中的字符的模板之间计算距离最小的模板作为可信度最高的模板,并输出该模板对应的机器语言编码;根据输出的机器语言编码,将该机器语言编码对应的字符作为识别结果。 After [0021] wherein the extracting normalized track information after processing of the feature data, and wherein the matching calculation with the sample wherein said handwriting sample library comprising: a template feature data and handwriting sample database characters calculating the minimum distance between the template as the highest confidence template, and outputs the machine language codes corresponding to the template; machine language codes according to the output, the machine language codes corresponding to the characters as a recognition result.

[0022]其中,所述对手写输入的轨迹进行倾斜校正之前还包括对手写输入的轨迹信息根据轨迹的结构信息进行块分割获得多个分割块。 Before [0022] wherein said tilt correction trajectory of handwriting trajectory information further comprises the handwritten input divided into blocks to obtain a plurality of divided blocks in accordance with configuration information track.

[0023]其中,所述对该输入信息进行识别以获得识别结果包括:获得每一个分割块的识别结果;将各个分割块的识别结果进行组合获得组合得分,并将所获得的组合作为识别候选;以及将最高的组合得分对应的组合作为识别候选的首选,并将该首选作为识别结果。 [0023] wherein, the identification of the input information to obtain a recognition result comprising: obtaining a recognition result of each of the divided blocks; recognition result of each division block combinations obtained by combining the score, and the obtained combination as a recognition candidate ; and the highest score corresponding to the combination as the preferred combination of recognition candidates, and the preferred as a recognition result.

[0024]其中,在处于锁屏状态的触摸屏上显示有解锁提示时,所述对该输入信息进行识别以获得识别结果包括:获得每一个分割块的识别结果;将各个分割块的识别结果进行组合获得组合得分,并将所获得的组合作为识别候选;以及获取解锁提示,通过建立的语言模型对特定数目的识别候选与解锁提示之间的组合进行打分;将得分最高的识别候选作为首选,并将该首选作为识别结果。 When [0024] wherein, on the screen in the locked state to unlock the touch screen prompt is displayed, the identification information of the input to obtain a recognition result comprising: obtaining a recognition result of each of the divided blocks; recognition result of each division block is combinations obtained by combining the score, and the obtained composition as recognition candidates; and obtaining unlocking tips, scoring combination between a specific number of recognition candidates prompted by unlocking the language model; the highest score as the first recognition candidate, and the preferred as a recognition result.

[0025]其中,所述在触摸屏上显示解锁提示的同时显示用于输入信息的软键盘,所述软件键盘自定义设置所述检测触摸屏上的用于解锁的输入信息包括:检测触摸屏上输入的用于解锁的编码信息,其中,所述编码信息通过软键盘输入。 [0025] wherein, the display on the touch screen simultaneously displaying a prompt unlocking soft keyboard input information, the software keyboard customization is provided for detecting the unlocking of the input information on the touch screen comprises: detecting the touch-screen input for unlocking coded information, wherein the encoded information through the soft keyboard.

[0026]其中,所述识别引擎被配置为识别输入的编码信息。 [0026] wherein the engine is configured to encode identification information identifying the input.

[0027]其中,所述将识别结果与预设结果进行比对,若比对不一致,输出比对不一致的提示,使该触摸屏保持在锁屏状态并再次显示解锁提示或不显示解锁提示。 [0027] wherein the recognition result with a preset comparison result, if the comparison is inconsistent, the output ratio of prompt inconsistent, so that the touch screen and held in the lock screen prompt is displayed again or not to display an unlock unlock prompt.

[0028]本发明还提供了一种触摸屏,其包括:密码设置装置,用于设置至少两种屏幕解锁密级,在不同的密级下,需要输入相应的屏幕解锁信息,而且不同的密级下解锁后电子设备中能够使用的应用程序功能也不同;所述检测装置,用于检测在触摸屏任意位置输入的用于解锁的输入信息,将检测的输入信息发送给识别装置,并将识别装置反馈的比对一致的结果发送给解锁装置;所述识别装置,用于调用识别引擎,对该输入信息进行识别以获得识别结果,并将识别结果与预设结果进行比对,将比对结果发送给检测装置;所述解锁装置,用于接收检测装置发送的比对一致的结果,将该触摸屏的显示界面置于解锁状态;其中,所述识别装置包括:倾斜校正单元,对手写输入的轨迹信息进行倾斜校正;预处理单元,对倾斜校正的结果进行预处理;归一化单元,对预处 [0028] The present invention also provides a touch screen, comprising: a password setting means for setting at least two screen unlocking dense, dense at different, you need to enter the appropriate information screen unlocking, and to unlock the different dense the electronic device can be used in different application features; said detecting means, for detecting the input information input for unlocking the touch screen at an arbitrary position, transmits the detection to the input information identification means, feedback means and the identification ratio consistent results transmitted to the unlocking means; said identifying means for invoking the recognition engine, the input identification information to obtain a recognition result and the identification result with a preset comparison result, the detection result is sent to the match means; said unlocking means, detecting means for comparing the received transmitted consistent results, the touch screen display interface is placed in an unlocked state; wherein said identifying means comprising: a skew correction unit, track information inputted handwritten tilt correction; a preprocessing unit for preprocessing the result of tilt correction; normalization unit for pretreatment 结果进行归一化处理;特征匹配单元,提取归一化处理后的轨迹信息的特征数据,并与预设的手写体样本库中的样本特征进行特征匹配计算;识别结果获取单元,将特征数据与手写体样本库中的字符的模板之间计算距离最小的模板作为可信度最高的模板,并输出该模板对应的机器语言编码;根据输出的机器语言编码,将该机器语言编码对应的字符作为识别结果。 Results normalized; feature matching unit, extracts the normalized track information after processing of the feature data, and sample characteristics preset handwriting sample library feature matching calculation; recognition result obtaining unit, the characteristic data and calculating the minimum distance between the template of template database handwriting sample characters template as the highest reliability, and the output of the machine language codes corresponding to the template; machine language codes according to the output, the machine language code corresponding to a character recognition result.

[0029]其中,所述密级包括高密级和低密级,在高密级,屏幕不显示解锁提示,在低密级,屏幕显示解锁提示。 [0029] wherein said dense including high and low security classification dense, high dense, unlocking prompt screen is not displayed, dense low, the unlock screen prompts. 所述低密级进一步包括:第一密级,该密级是指当触摸屏处于屏幕被锁状态时,在触摸屏上显示一个解锁提示,当输入与解锁提示对应的解锁信息时,屏幕被解锁;第二密级,该密级是指当触摸屏处于屏幕被锁状态时,在触摸屏上显示一个或多个解锁提示,每个解锁提示由用户预先设置,并且将每个解锁提示进行功能映射,每个解锁提示关联相应的显示界面,当屏幕上的输入信息与其中之一解锁答案相一致时,触摸屏进入与输入信息相对应的解锁提示关联的显示界面。 The low security classification further comprising: a first dense, the dense means that when the screen is the touch screen is locked state, displaying a prompt on the touch screen to unlock, when the input prompt unlocking the unlocking information corresponding to the screen is unlocked; second dense the dense means when the touch screen is locked in a state of the screen, displaying one or more prompts unlock, unlock hint preset by each user, and each functional map unlock prompts on the touch screen, each associated with a respective unlocking tips the display screen when entering information on the screen and unlock one of the answers is consistent touch-screen display interface to enter the information associated with the input to unlock the corresponding prompt. 所述高密级进一步包括:第三密级,是指当触摸屏处于屏幕被锁状态时,屏幕上不显示解锁提示信息,在触摸屏任意位置输入预先设置的一个密码,作为触摸屏的解锁信息;第四密级,是指当触摸屏处于屏幕被锁状态时,屏幕上不显示解锁提示信息,在触摸屏任意位置输入预先设置的密码,作为触摸屏的解锁信息,所设置的密码是一个或多个,并对设置的密码进行功能映射,当输入的密码不同时,电子设备中被启用的功能也是不同的。 The high security classification further comprising: a third dense, means that when the touch screen is the screen is locked state and does not display an unlock message on the screen, a password touchscreen anywhere in the input set in advance, the unlocking information as a touch screen; fourth dense It means when the touch screen is the screen is locked state, is not displayed on the screen unlocking message, a password is set in advance on the touch screen at any position, as the unlock information of the touch panel, the password provided one or more, and arranged password mapping function, when the password is entered at the same time, the electronic device is enabled functions are different.

[0030]其中,用于解锁触摸屏所输入的信息由用户自定义设置,是数字、文字、图形或其任意组合。 [0030] wherein for unlocking the touchscreen information input by a user-defined settings, numbers, text, graphics, or any combination thereof.

[0031 ]其中,在第二密级,在所述触摸屏上显示第一解锁提示和第二解锁提示,如果识别引擎的识别结果与第一解锁提示关联的第一预设结果进行比对且比对一致时,将该触摸屏的显示界面置于与第一解锁提示相对应的处于解锁状态的第一显示界面;如果识别结果与第二解锁提示关联的第二预设结果进行比对且比对一致时,将该触摸屏的显示界面置于与第二解锁提示相对应的处于应用界面的第二显示界面;其中,第一解锁提示不同于第二解锁提示。 [0031] wherein, in the second dense, displaying the first and second unlocking unlock hint prompt, if the recognition result of the recognition engine and the first unlocking tips associated with a first comparison result and a predetermined alignment on the touch screen coincides, the display interface disposed between the first touch screen display interface to the first unlock hint corresponding to the unlocked state; if a recognition result and the second result of the second preset prompt unlocking association were aligned and consistent than when the touch-screen display interface and the second placed in the second display interface unlock hint in the corresponding application interface; wherein the first unlocking unlock hint suggesting different from the second.

[0032]其中,该触摸屏进一步包括:解锁提示装置,用于在触摸屏处于锁屏状态时,在触摸屏上显示解锁提示,其中,所述在触摸屏上显示解锁提示包括随机调用解锁提示在触摸屏上进行显示或始终调用相同的解锁提示在触摸屏上进行显示。 [0032] wherein the touch screen further comprising: unlocking prompt means for, when the touch screen in the lock screen, to display an unlock prompt on the touch screen, wherein the display on the touch screen to unlock the prompt comprises a random call unlocking prompts on the touch screen always call the same show or unlock the prompts displayed on the touch screen.

[0033]本发明还提供了一种电子设备,其包括触摸屏、密码设置装置,检测装置、识别装置和解锁装置,其中,密码设置装置,用于设置至少两种屏幕解锁密级,在不同的密级下,需要输入相应的屏幕解锁信息,而且不同的密级下解锁后电子设备中能够使用的应用程序功能也不同;所述检测装置,用于检测在触摸屏任意位置输入的用于解锁的输入信息,将检测的输入信息发送给识别装置,并将识别装置反馈的比对一致的结果发送给解锁装置;所述识别装置,用于调用识别引擎,对该输入信息进行识别以获得识别结果,并将识别结果与预设结果进行比对,将比对结果发送给检测装置;所述解锁装置,用于接收检测装置发送的比对一致的结果,将该触摸屏的显示界面置于解锁状态;其中,所述识别装置包括:倾斜校正单元,对手写输入的轨迹信息进行倾斜校正 [0033] The present invention further provides an electronic device which includes a touch screen, the password setting means, detecting means, identification means and the unlocking device, wherein the password setting means for setting at least two screen unlocking dense, dense at different , it is necessary to enter the appropriate unlock the screen information, and different unlocked dense electronic device application functionality that can be used are different; said detecting means, for detecting the input information in an arbitrary position for unlocking a touch screen input, transmitting input information to the detected identification means, and identifying means for feedback transmission ratio consistent results to the unlocking means; said identifying means for invoking the recognition engine, the input identification information to obtain the recognition result, and recognition result with a preset comparison result, transmits the result than to the detecting means; said unlocking means, detecting means for receiving the transmission ratio of consistent results, the touch screen display interface is placed in an unlocked state; wherein, said identifying means comprising: a skew correction unit, a handwriting trajectory information inputted inclination correction ;预处理单元,对倾斜校正后的结果进行预处理;归一化单元,对预处理结果进行归一化处理;特征匹配单元,提取归一化处理后的轨迹信息的特征数据,并与预设的手写体样本库中的样本特征进行特征匹配计算;识别结果获取单元,将特征数据与手写体样本库中的字符的模板之间计算距离最小的模板作为可信度最高的模板,并输出该模板对应的机器语言编码;根据输出的机器语言编码,将该机器语言编码对应的字符作为识别结果。 ; Preconditioning unit, a tilt correction of the result of preprocessing; normalization unit for normalizing the results pre-processing; feature matching unit, a normalized track information extraction process of the characteristic data, and the pre- characterized in handwriting sample provided in the sample library feature matching calculation; recognition result obtaining unit that calculates feature data between the template and the sample database handwritten character templates minimum distance template as the highest reliability, and outputs the template corresponding machine language codes; machine language codes according to the output, the machine language codes corresponding to the characters as a recognition result.

[0034]其中,所述密级包括高密级和低密级,在高密级,屏幕不显示解锁提示,在低密级,屏幕显示解锁提示。 [0034] wherein said dense including high and low security classification dense, high dense, unlocking prompt screen is not displayed, dense low, the unlock screen prompts. 所述低密级进一步包括:第一密级,该密级是指当触摸屏处于屏幕被锁状态时,在触摸屏上显示一个解锁提示,当输入与解锁提示对应的解锁信息时,屏幕被解锁;第二密级,该密级是指当触摸屏处于屏幕被锁状态时,在触摸屏上显示一个或多个解锁提示,每个解锁提示由用户预先设置,并且将每个解锁提示进行功能映射,每个解锁提示关联相应的显示界面,当屏幕上的输入信息与其中之一解锁答案相一致时,触摸屏进入与输入信息相对应的解锁提示关联的显示界面。 The low security classification further comprising: a first dense, the dense means that when the screen is the touch screen is locked state, displaying a prompt on the touch screen to unlock, when the input prompt unlocking the unlocking information corresponding to the screen is unlocked; second dense the dense means when the touch screen is locked in a state of the screen, displaying one or more prompts unlock, unlock hint preset by each user, and each functional map unlock prompts on the touch screen, each associated with a respective unlocking tips the display screen when entering information on the screen and unlock one of the answers is consistent touch-screen display interface to enter the information associated with the input to unlock the corresponding prompt. 所述高密级进一步包括:第三密级,是指当触摸屏处于屏幕被锁状态时,屏幕上不显示解锁提示信息,在触摸屏任意位置输入预先设置的一个密码,作为触摸屏的解锁信息;第四密级,是指当触摸屏处于屏幕被锁状态时,屏幕上不显示解锁提示信息,在触摸屏任意位置输入预先设置的密码,作为触摸屏的解锁信息,所设置的密码是一个或多个,并对设置的密码进行功能映射,当输入的密码不同时,电子设备中被启用的功能也是不同的。 The high security classification further comprising: a third dense, means that when the touch screen is the screen is locked state and does not display an unlock message on the screen, a password touchscreen anywhere in the input set in advance, the unlocking information as a touch screen; fourth dense It means when the touch screen is the screen is locked state, is not displayed on the screen unlocking message, a password is set in advance on the touch screen at any position, as the unlock information of the touch panel, the password provided one or more, and arranged password mapping function, when the password is entered at the same time, the electronic device is enabled functions are different.

[0035]其中,用于解锁触摸屏所输入的信息由用户自定义设置,是数字、文字、图形或其任意组合。 [0035] wherein for unlocking the touchscreen information input by a user-defined settings, numbers, text, graphics, or any combination thereof.

[0036]其中,在第二密级,在所述触摸屏上显示第一解锁提示和第二解锁提示,如果识别引擎的识别结果与第一解锁提示关联的第一预设结果进行比对且比对一致时,将该触摸屏的显示界面置于与第一解锁提示相对应的处于解锁状态的第一显示界面;如果识别结果与第二解锁提示关联的第二预设结果进行比对且比对一致时,将该触摸屏的显示界面置于与第二解锁提示相对应的处于应用界面的第二显示界面;其中,第一解锁提示不同于第二解锁提示。 [0036] wherein, in the second dense, displaying the first and second unlocking unlock hint prompt, if the recognition result of the recognition engine and the first unlocking tips associated with a first comparison result and a predetermined alignment on the touch screen coincides, the display interface disposed between the first touch screen display interface to the first unlock hint corresponding to the unlocked state; if a recognition result and the second result of the second preset prompt unlocking association were aligned and consistent than when the touch-screen display interface and the second placed in the second display interface unlock hint in the corresponding application interface; wherein the first unlocking unlock hint suggesting different from the second.

[0037]其中,所述触摸屏包括:解锁提示装置,用于在触摸屏处于锁屏状态时,在触摸屏上显示解锁提示;其中,所述在触摸屏上显示解锁提示包括随机调用解锁提示在触摸屏上进行显示或始终调用相同的解锁提示在触摸屏上进行显示。 [0037] wherein, the touch screen comprising: unlocking prompt means for, when the touch screen in the lock screen, to display an unlock prompt on the touch screen; wherein, the display on the touch screen to unlock the prompt comprises a random call unlocking prompts on the touch screen always call the same show or unlock the prompts displayed on the touch screen.

[0038]本发明提供的屏幕解锁方法、触摸屏及电子设备,通过对电子设备中的屏幕解锁方式设置不同的密级,使得在电子设备的使用过程中,用户可根据个人的需求和爱好选择不同的密级对触摸屏进行解锁。 [0038] The screen unlocking method, touch-screen and an electronic apparatus provided by the invention, by setting different dense electronic device screen unlock way that during use of the electronic device, the user may choose different according to the individual needs and preferences dense to the touch screen is unlocked. 一方面,各种密级的解锁难度不同,通过选择密级,即可满足方便解锁屏幕的要求,也能够满足信息安全的需求。 On the one hand, a variety of different security classification unlock difficulty, by selecting the security classification, to meet the requirements easily unlock the screen, it is possible to meet the information security needs. 另外,由于在输入屏幕解锁信息时,输入的是如文字、数字、符号等等手写输入的轨迹信息,获得识别结果,并将该识别结果与解锁提示关联的解锁答案比对,比对一致,即可解锁,能够有效避免误操作。 Further, since the unlocking information input screen, the input is track information such as text, numbers, symbols, and the like handwritten input, the recognition result is obtained, and the recognition result is associated with the unlocking tips unlocking answers match, than the same, to unlock, can effectively prevent misuse. 可见,本发明的屏幕解锁技术不仅可保证电子设备的信息安全,还能有效避免由于误操作导致屏幕解锁的情况发生。 Visible, unlock the screen technology of the present invention not only can ensure the information security of electronic devices, but also effectively avoid the misuse lead to the occurrence of the screen to unlock. 特别是在高密级的情况下,触摸屏处于锁屏状态时,没有任何解锁提示,必须通过输入密码的方式方能解锁,加密保护的强度很高,增强了手持设备的信息安全性,充分有效地保护了用户的私密信息。 Especially in the case of high security classification, the touch screen is a screen lock state, there is no unlock prompt, you must enter the password before being unlocked by the way, very high strength encryption to protect and enhance the information security of handheld devices, full and effective to protect the privacy of user information.

附图说明 BRIEF DESCRIPTION

[0039]图1为本发明提供的基于识别的屏幕解锁方法的原理流程图; [0039] FIG. 1 is a flowchart based on the principle of the screen unlocking method of the present invention to provide identification;

[0040]图2为本发明提供的基于识别解锁的第一实施例的方法流程图; [0040] FIG 2 is a flowchart of the recognition method of the first embodiment of the unlocking of the present invention to provide based;

[0041 ]图3为本发明屏幕解锁方法中建立样本库的方法流程图; [0041] The method of FIG. 3 screen unlocking method of establishing a flow chart of the present invention, a sample library;

[0042]图4为本发明屏幕解锁方法中识别引擎对待识别字符进行识别的方法流程图; [0042] The method of FIG. 4 screen unlocking method to be recognized in the character recognition engine for recognizing a flowchart of the present invention;

[0043]图5为本发明屏幕解锁方法中对待识别字符进行倾斜校正的流程图; [0043] FIG. 5 screen unlocking method of the character to be recognized is a flowchart of the present invention, the tilt correction;

[0044]图6为本发明屏幕解锁方法中触摸屏锁屏状态的解锁提示; [0044] FIG. 6 screen unlocking method of the present invention, the touch screen to unlock the lock screen prompts;

[0045]图7a为倾斜的待识别字符示意图,图7b为对该待识别字符进行倾斜校正后的示意图; [0045] Figure 7a is a schematic oblique character to be recognized, the schematic diagram of FIG. 7b corrects the tilt of the character to be recognized;

[0046]图8为本发明对多字符输入信息识别解锁的方法流程图; [0046] FIG. 8 multi-character information recognition method of the present invention, the input unlocking flowchart;

[0047]图9为本发明触摸屏锁屏状态的解锁提示示意图; Unlocking [0047] FIG. 9 touchscreen lock screen prompts a schematic view of the present invention;

[0048]图10为本发明触摸屏锁屏状态的解锁提示示意图; Unlocking [0048] FIG. 10 of the present invention, the touch screen lock screen prompt a schematic view;

[0049]图11为本发明触摸屏的原理框图; [0049] Figure 11 a schematic block diagram of the touch panel of the present invention;

[0050]图12为本发明电子设备的原理框图。 [0050] FIG. 12 is a schematic block diagram of an electronic device.

具体实施方式 Detailed ways

[0051]为使本发明的目的、技术方案和优点更加清楚明白,以下结合具体实施例,并参照附图,对本发明进一步详细说明。 [0051] To make the objectives, technical solutions, and advantages of the present invention will become more apparent hereinafter in conjunction with specific embodiments, and with reference to the accompanying drawings, the present invention is described in further detail.

[0052]基于上述有关现有技术屏幕解锁存在的诸多问题,本发明提供的屏幕解锁方法的基本原理如图1所示,包括以下步骤:在步骤110,预先设置不同的屏幕解锁密级,在不同的密级输入相应的屏幕解锁信息对屏幕进行解锁,并且不同的密级对应的解锁后的电子设备中所能够使用的应用功能也是不同的。 [0052] Based on the above prior art problems related to the presence of the screen unlocking, the basic principle of the unlocking method of the present invention provides a screen shown in Figure 1, comprising the following steps: In step 110, different preset screen unlocking dense, different enter the dense screen unlock information to unlock the screen, and different confidentiality level corresponding to unlock the electronic device can be used as an application function is different. 在步骤120,在屏幕解锁过程中,电子设备检测处于锁屏状态的触摸屏上输入的手写输入轨迹信息,将检测到的手写输入轨迹信息发送给识别引擎。 Handwriting input on the locus information input at step 120, the screen unlocking process, the electronic device is detected in the locked state of the touch screen panel, the detected information to the handwriting recognition engine locus. 在步骤130,由识别引擎识别后获得与该手写输入轨迹相对应的识别结果。 In step 130, the recognition engine from the obtained recognition results identifying the handwriting input corresponding to the locus. 在步骤140,识别结果与预设结果比对一致的,将触摸屏置为解锁状态。 In step 140, the recognition result is consistent with a predetermined result of the comparison, the touch screen is set to the unlocked state. 而且,手写输入的轨迹信息可以是中文、英文、数字、符号等具有语义的轨迹信息,也可以是任意图形形状的轨迹信息,可以是在触摸屏上的任意位置进行书写的轨迹信息,所书写的字符或形状的笔画输入顺序亦不受任何限制。 Further, the trajectory information handwritten input may be Chinese, English, numbers, symbols track information with semantics, may be trace information of an arbitrary pattern shape, it can be any location on the touchscreen is track information written, the written stroke input sequence of characters or shapes also without any restrictions.

[0053]上述触摸屏为一种通过触摸实现输入的屏幕。 [0053] The touch screen is implemented as a screen touch input. 该触摸屏可以应用于任何一种电子设备,此种电子设备包括但不限于电子阅读器、手持电脑、手持式通讯终端、平板电脑、个人数字助理等任何具有触摸输入信息功能的设备。 The touch screen may be applied to any kind of electronic device, such an electronic device include but are not limited to, an electronic reader, a handheld computer, a handheld communication terminal, a tablet computer, personal digital assistant, and any other device having a touch input function information.

[0054]根据上述说明,对于任何具有触摸输入功能的触摸屏,在触摸屏处于锁屏状态时,用户通过在触摸屏上任意位置书写,手写输入轨迹信息,通过识别该输入的轨迹信息,即可使触摸屏处于解锁状态。 [0054] According to the above description, any touch screen having a touch input function, the touch screen in the lock screen, the user Anywhere, handwriting trajectory information on the touch screen, the track information identifying the input to the touch screen It is unlocked. 此种方案有效克服了在触摸屏上滑动解锁必须沿设定路径滑动,而且达到设定的滑动完成度方能解锁的弊端,使用极其方便,简化用户使用触摸屏时解锁的操作,充分提升了智能人机交互的良好体验度。 Such programs must be effectively overcome the slide to unlock slide along the path set on the touch screen, but also the drawbacks set to reach completion in order to unlock the slide, and extremely easy to use, simplifying unlocked when using the touch screen user operation, fully enhance the smart people good experience of computer interaction.

[0055]图2为本发明屏幕解锁方法一实施例的流程图。 [0055] FIG 2 is a flowchart of an embodiment of the screen unlocking method of the invention.

[0056]参照图2,在步骤210,接收锁屏指令,使触摸屏处于锁屏状态。 [0056] Referring to Figure 2, at step 210, the received command lock screen, the touch screen panel in a locked state. 在该步骤中,触摸屏的显示界面在设定时间内没有活动记录时,或根据用户的触发,由存储在触摸屏存储模块中的锁屏模块发出锁屏指令,使触摸屏的显示界面进入锁屏状态。 In this step, the display screen of the touch screen no activity recorded within a set time, or according to user's trigger, issued lock screen instruction by the memory in the touch screen storage module lock screen module, the display screen of the touch screen into the lock screen .

[0057]步骤220,在触摸屏上输入解锁屏幕需要的信息,触摸屏的解锁信息是预先设置的,并检测所输入的信息。 [0057] Step 220, the information input on the touch screen to unlock the screen needs to unlock the touch screen information is set in advance, and detects input information.

[0058]触摸屏处于锁屏状态时,锁屏模块始终处于运行状态。 When [0058] the touch screen is lock screen, lock screen module is always running. 锁屏模块负责监听触摸屏上的输入事件。 Lock screen module is responsible for monitoring the input event on the touch screen. 当检测到触摸屏上有按下触摸事件时,以该按下触摸事件的触摸点为起始点,开始记录在触摸屏上输入的轨迹的触摸点坐标信息,直到检测到抬起事件,即产生停止触摸事件,以该抬起事件的触摸点为终点。 When detecting a touch event there is pressed, to press the touch point of the touch event as a starting point, to start recording a touch point coordinate information input trajectory on the touch screen on the touch screen, until a release event is detected, i.e., to stop generating the touch event to the touch point of the event was raised end. 借由此种方式,记录在触摸屏上触摸产生的轨迹上所有触摸点的坐标信息,完成对触摸屏上输入信息的检测。 By means of this embodiment, the coordinate information recorded on a track of all touch points on the touch screen of the touch-generating, detecting the completion of information input on the touch screen.

[0059]以在触摸屏上输入数字字符“2”为例予以说明,在触摸屏上书写数字“2”时,锁屏模块监听到触摸事件,记录输入轨迹的所有触摸点的坐标信息,获得数字2的所有触摸点的坐标信息,完成对触摸屏上输入信息的检测。 [0059] to enter numeric characters on the touch screen "2" is described as an example, to write on the touch screen the number "2", the lock screen module listens to the touch event, recorded coordinate information of all the touch points of the input trajectory, get the number 2 the coordinate information of all the touched points, detecting the completion of information input on the touch screen.

[0060]触摸屏上输入的信息,作为解锁提示对应的解锁答案,可以为中文文字、英文文字、数字、符号、任意的形状以及其他语言文字。 [0060] the information entered on the touch screen, as a prompt to unlock the corresponding unlock the answer, can Chinese characters, English letters, numerals, symbols, any shape, and other languages. 本发明不做任何限制,完全可由用户视爱好进行任意设置。 The present invention without any restriction, completely arbitrarily by the user is interested in depending on the settings. 在锁屏模块中内置的解锁提示,可以是提问式的问题,如:1 + 1 = ?、1_1 = ?,或者是指令式的问题,如:请输入大写英文字母A、请画圆圈,或者是用户自定义的问题,如:我的家乡在哪儿,等等多种不同类型的提示。 Built-in module to unlock the lock screen prompts, it can be a question-ended questions, such as: 1 + 1 = 1_1 =, or command-ended questions, such as:?? Please enter capital letters A, please draw a circle, or user-defined questions, such as: where is my hometown, and so many different types of tips. 对于传统的屏幕解锁方式,用户根据屏幕解锁提示信息输入相应的解锁信息就可以正常使用终端。 For the conventional screen unlock mode, according to a user input message corresponding screen unlocking unlocking information terminal can be used normally. 但是,对于一些用户来说,他们不希望自己的手机屏幕被轻易解锁,以防别人解锁后看到终端中存储的信息,因此将解锁密码设置的非常复杂,在这种情况下,虽然保证了终端信息的安全性,但是给自己使用终端造成了很大的不方便,在频繁使用终端的情况下,每次都要输入复杂的解锁信息进行屏幕解锁非常耗时。 However, for some users, they do not want their phone screen to be easily unlocked to prevent see the information stored in the terminal after someone unlocked, so will unlock password is very complex, in this case, although the guarantee terminal information security, but for their own use terminal caused a lot of inconvenience, in the case of frequent use of the terminal, each time entering complex to unlock the screen to unlock the information is very time-consuming.

[0061]因此本发明在步骤210之前,还包括步骤200,在步骤200,用户在预先设置解锁信息时,可根据个人的需要设置不同的密级,每种密级需要输入的解锁信息是不同的,在不同的密级下,用户对终端的解密难度和操作权限也是不同的。 [0061] Thus, the present invention prior to step 210, step 200 further includes, at step 200, when the user previously set the unlocking information, set different security classification according to individual needs, the need to unlock the security classification information for each input are different, under different dense, difficult to decrypt the user terminal and the operation right is different.

[0062]在本发明的一个实施例中,电子设备的密级优选为4级,按照从低到高的顺序分别是: [0062] In one embodiment of the present invention, the electronic device is preferably dense grade 4 according to the order from low to high respectively are:

[0063]第一密级,该密级是指当触摸屏处于屏幕被锁状态时,在触摸屏上显示一个解锁提示。 [0063] First dense, the dense means that when the screen is the touch screen is locked state, displaying a prompt on the touch screen to unlock.

[0064]当电子设备的触摸屏的显示界面在设定时间内没有活动记录时,或根据用户的触发,由存储在触摸屏存储模块中的锁屏模块发出锁屏指令,使触摸屏的显示界面进入锁屏状态,同时调用预存在锁屏模块中的解锁提示信息使之在显示屏上显示解锁提示。 [0064] When the display screen of the touch screen of the electronic device no activity recorded within a set time, or according to user's trigger, issued lock screen instruction by the memory in the touch screen storage module lock screen module, the display screen of the touch screen to enter the lock screen state, while calling module stored in the lock screen to unlock the message so as to unlock the display prompts on the screen. 用户根据解锁提示输入正确的解锁信息后,电子设备屏幕被解锁,电子设备中的所有功能都能够正常使用。 According to unlock prompt the user to enter the correct unlocking information, the electronic device screen is unlocked, all functions of the electronic device can be used normally.

[0065]解锁提示可根据个人爱好或实际需要设置的比较简单,也可以设置得比较复杂,例如,“1+1 = ?”,“你的家乡在哪里?”等等。 [0065] unlock tips according to personal preference or the actual need to set is relatively simple, you can also set more complex, for example, "1 + 1 =?", "Where is your hometown?" And so on.

[0066]第二密级,该密级是指当触摸屏处于屏幕被锁状态时,在触摸屏上显示一个或多个解锁提示。 [0066] a second dense, the dense means that when the touch screen is locked in a state of the screen, displaying one or more prompts on the touch screen to unlock. 每个解锁提示由用户预先设置,并且将每个解锁提示进行功能映射。 Each unlock hint previously set by the user, and the function mapping each prompt for unlocking.

[0067]对于这种在显示屏幕上显示一个多个解锁提示的情况,当输入的解锁信息与解锁提示匹配后,触摸屏转换到解锁状态或其他应用界面。 [0067] For the case where a plurality of such display unlocking prompt on the display screen, when the unlocking unlock hint information matches the input, the touch screen transitions to the unlock state or other application interface. 锁屏模块中内置一个解锁提示和对应的解锁答案时,当发出锁屏指令后,解锁提示即显示在触摸屏上。 Keyguard module contains a prompt unlock and unlock the corresponding answers, when issuing the lock instruction screen, unlock hint is displayed on the touch screen. 锁屏模块中内置多个解锁提示和多个相对应的解锁答案,当发出锁屏指令后,解锁提示可随机显示。 Lock module contains a plurality of screen prompts and unlocking a plurality of answers corresponding to the unlocking, when issuing the lock instruction screen, display random unlocking tips. 当然,如果需要在锁屏状态使触摸屏上显示至少两个解锁提示,以在输入信息满足条件时,使触摸屏进入解锁或相应的应用界面,可作出同时显示至少两个解锁提示的设置,每个解锁提示关联相应的显示界面,如一个解锁提示关联解锁界面,另一个解锁提示关联查看邮箱、编辑短信等应用程序之一的应用界面。 Of course, if necessary to display the touch screen at least two lock screen unlocking tips to input information when the condition is satisfied, so that unlocking the touch screen to enter or corresponding application interface, can be made simultaneously display at least two unlocking tips provided, each unlock hint respective associated display interface, such as a prompt to unlock the association unlock the interface, another prompt to unlock the mailbox associated with viewing, editing, text messaging and other application interface of one application. 在识别引擎识别输入信息获得的识别结果,与其中之一解锁答案相一致的,解锁模块响应该输入信息,使触摸屏转换进入与输入信息相对应的解锁提示关联的显示界面。 Recognition engine recognizes the recognition result obtained by the input information, and one of the unlocking answers consistent, unlocking module in response to the input information, the touch screen converted into the associated input information corresponding to the display interface prompt unlocking. 解锁提示可以在触摸屏进入锁屏状态的同时显示在触摸屏上,也可以是在启动解锁时使触摸屏上显示解锁提示。 Unlock prompted to enter the lock screen on the touch screen at the same time displayed on the touch screen, it can be unlocked so that when you start to unlock the display prompts on the touch screen.

[0068]第三密级,是指当触摸屏处于屏幕被锁状态时,屏幕上不显示解锁提示信息。 [0068] The third dense, the touch screen means when the screen is in the locked state, the unlocking does not appear on screen message. 在触摸屏任意位置输入预先设置的密码,作为触摸屏的解锁信息。 In the touch screen anywhere in the input password set in advance, as a touch screen to unlock the information. 该密码由用户自定义设置,不限于数字、文字、图形或任意组合。 The custom password set by the user is not limited to numbers, text, graphics, or any combination thereof. 当触摸屏被解锁之后,电子设备中的全部信息都可以被查阅。 When the touch screen is unlocked, all the information in the electronic device can be consulted.

[0069]第四密级,是指当触摸屏处于屏幕被锁状态时,屏幕上不显示解锁提示信息。 [0069] The fourth secret level, the touch screen means when the screen is in the locked state, is not displayed on the screen to unlock the message. 在触摸屏任意位置输入预先设置的密码,作为触摸屏的解锁信息。 In the touch screen anywhere in the input password set in advance, as a touch screen to unlock the information. 该密码由用户自定义设置,不限于数字、文字、图形或任意组合,所设置的密码可以是一个或多个,并对设置的密码进行功能映射,如建立密码I和解屏功能的关联,也就是输入密码I,屏幕被解锁,电子设备中的任何信息都可以被查阅,如建立密码2与通讯录功能的关联,也就是输入密码2时,屏幕被解锁,只有通讯录不能被查阅,其他信息都可以查阅,如建立密码3与通讯录功能、日历信息的关联,也就是输入密码3时,屏幕被解锁,只有通讯录和日历不能被查阅,其他信息都可以查阅。 The password provided by the user-defined, limited to digital, text, graphics, or any combination thereof, provided the password may be one or more, and the password set mapping function, such as to create a password associated with the settlement screen function I also enter the password is I, the screen is unlocked, any information in the electronic device can be consulted, such as the password associated with the address book function 2, that is, enter 2:00 password, the screen is unlocked, address book can not only be consulted, other can access information, such as passwords associated with 3 contacts, calendar information, which is input 3:00 password, the screen is unlocked, contacts and calendar can not only be consulted, other information can be found. 以上仅是以举例的方式进行说明,在密码设置过程中,设置几个密码,以及每个密码对应于解锁电子设备中的哪些功能完全可由用户的个人需求来进行设定。 These are only by way of example will be described, the password setting process, several set password, and the password corresponding to each electronic device in which the unlocking function of the personal needs of the user may be fully set.

[0070]可见,在本发明的屏幕解锁方法中,用户可以根据具体需求在终端中设置不同的屏幕解锁方式,如果用户不希望屏幕被轻易解锁,则设置并启动高密级方式,如上述的第三和第四密级,在该密级下,屏幕上不会显示解锁提示,用户只有在屏幕上输入预设的密码才能够解锁屏幕,用户可以预设多个密码,每个密码对应终端不同的功能,例如有的密码仅能使用终端的呼叫等基本功能,有的密码能够查看终端中的通讯录等相对隐私的信息。 [0070] visible, the screen unlocking method of the present invention, the user can set different screens unlock the terminal according to specific needs, if the user does not want the screen to be easily unlocked, is set and activate the high-security classification mode, as described in section third and fourth dense, in the dense, not displayed on the screen unlocking prompt, the user inputs only the preset password on the screen to be able to unlock the screen, the user can preset a plurality of passwords, the password corresponding to each of different functions of the terminal basic functions such as a password can only use some other terminal of the call, and some cryptographic privacy to view information corresponding terminal contacts and the like.

[0071]在低密级情况下,如上述的第一和第二密级,在解锁过程中,是根据屏幕的解锁提示来输入解锁答案。 [0071] In the case of a low security classification, such as the above-described first and second dense, during unlocking, the answer is inputted according to unlock to unlock the screen prompts. 终端用户可根据自己的需求来选择其中一种密级并启动,例如在家的时候,为了使用方便,可启用最低密级,例如可在屏幕上写T就可以解锁,而在外出情况下,防止终端丢失而造成信息泄露,可启用最高密级,例如在屏幕没有任何解锁提示的情况下输入复杂密码才能够解锁屏幕,即使屏幕被解锁,也不能查阅终端中通讯录等信息。 The end user can select one of the security classification and starts, such as at home, for convenience, to enable the lowest security classification, such as a writable T can unlock the screen according to their needs, and in the case of going out, to prevent the terminal is lost caused by information leaks, enable the highest security classification, for example, did not enter a complex password to unlock any case be able to unlock the screen prompts on the screen, even if the screen is unlocked, it can not access to the terminal contacts and other information. 上面仅通过举例的方式介绍了在屏幕解锁过程中的密级设置方式,在实际应用中,用户完全可根据需求对高密级和低密级进行个性化设置,其中包括密级的数量,每种密级下的解锁方式等都可根据用户的需求来进行个性化设置。 Described above by way of example only a dense arrangement in the screen unlocking process, in practical application, the user can personalize the entirely the need for high and low security classification according dense, including the number of security classification, each security classification unlock, etc. can be used to personalize the user's needs. 除了上面提到的几种解锁方式之外,例如,还可以将其中的一个密级设置为普通的滑动解锁输入不同的密码,触摸屏启用不同的功能。 In addition to the above-mentioned unlocking several, e.g., one which can also be set to normal dense sliding enter a different password to unlock the touch screen to enable different functionality.

[0072]在步骤230,调用识别引擎,对该输入信息进行识别以获得识别结果。 [0072] In step 230, the recognition engine calls, identifying the input information to obtain a recognition result.

[0073]锁屏模块检测到一次输入过程完成后,即从检测到触摸屏上有按下触摸事件到检测到抬起事件的过程,就会调用相应函数,启动识别引擎,将记录的触摸移动轨迹上的触摸点的坐标信息发送给识别引擎,进行识别。 [0073] After the screen lock module detects a completion of the input process, that is to press the touch event is detected during the up event, then calls the function recognition engine start, the recording track on the touch movement is detected from the touch screen information on the coordinates of the touch point is sent to the recognition engine for recognition. 图3为识别引擎对锁屏模块传送的待识别手写输入的轨迹信息进行识别的过程。 FIG 3 is a process to track information to be recognized handwriting recognition engine lock screen module transmits the inputted recognition.

[0074]在步骤301,获取手写输入的轨迹信息,该步骤中,识别引擎获得的手写输入信息,为锁屏模块发送的待识别的手写输入轨迹坐标信息。 [0074] In step 301, the locus information acquired handwritten input, in this step, the handwriting recognition engine to obtain the input information to be transmitted is recognized handwriting input module lock screen coordinate information of the trajectory.

[0075]在步骤302,对手写输入的轨迹信息进行分割。 [0075] In step 302, the handwriting input trajectory information is divided.

[0076]对于解锁答案为一个以上字符的情形,随着输入笔迹的增多,识别引擎就需要对这些字符进行分割。 [0076] For unlocking answers to the case of more than one character, with the increase in input handwriting recognition engine needs to be split for these characters. 本发明的识别引擎无论是对于单个字符或多个字符的识别在倾斜校正之前都需要先进行分割。 Recognition engine of the present invention, whether for a single character or characters before recognition of the tilt correction need to be divided. 具体而言,根据手写输入的轨迹的形状、位置等结构信息进行块分害J,如果手写输入的轨迹间有明显的空白间隔且在图像行垂直投影上形成有空白间隙,将以此空白间隙为块分割的界限。 Specifically, the sub-block information structure according to the shape of Injury J handwriting trajectory, position, etc., if a clear space between the blank track and the handwriting input is formed on an image line blanking interval in the vertical projection, the blanking interval in order to a block division boundaries.

[0077]如果是单个字符,只分割为一个分割块。 [0077] If a single character, only one divided block is divided into. 识别引擎对该分割块按照下面的识别过程进行识别,得出相应的识别结果。 Recognition engine recognizes the divided blocks in accordance with the following identification process, draw the corresponding recognition result. 如果是多个字符的组合,处理过程如图8所示,包括以下步骤:在步骤810,将多个字符的笔迹进行采样。 If a combination of a plurality of characters, the process shown in FIG. 8, comprising the steps of: sampling in the step 810 a plurality of character handwriting. 在步骤820,采样之后首先进行分割,分割为多个分割块,然后如步骤303-306所描述的过程,在步骤830,对每一个分割块进行倾斜校正,在步骤840,对倾斜矫正结果进行预处理、归一化、特征提取、匹配计算等,获得每一个分割块的识别结果。 In step 820, after the sampling is first divided into a plurality of divided blocks, and then the process as described in steps 303-306, at step 830, for each of the divided blocks tilt correction, at step 840, the result of tilt correction preprocessing, normalization, feature extraction, matching calculation, the recognition result is obtained for each divided block. 在步骤850,将每一个分割块的识别结果进行组合,例如分割为3个分割块,分别标记为1、2、3。 In step 850, the recognition result of each of the divided blocks may be combined, for example, is divided into three divided blocks, respectively labeled 1, 2,. 分割块I和分割块2的组合得分为A,分割块2和分割块3的组合得分为B,分割块1、分割块2和分割块3的组合得分为C,然后将这3种得分进行排序,取出对应可信度较高的得分对应的组合,即为识别的结果。 I divided blocks and divided blocks combination score of 2 A, a combination of two divided blocks and divided blocks score 3 is B, the divided blocks 1, 2, and combinations of blocks dividing the divided blocks score 3 is C, then these three kinds of scores sorting, taken in combination corresponding to a higher confidence scores corresponding to the recognition result is. 不论是单个字符还是多个字符的组合,只取识别候选的首选作为识别结果。 Whether a combination of a single character or multiple characters, taking only the preferred recognition candidate as a recognition result.

[0078]在步骤303,对获取的手写输入的轨迹信息进行倾斜校正。 [0078] In step 303, the handwriting input to the locus information acquired tilt correction.

[0079]由于用户进行的解锁输入不一定是按照正确的方位进行的输入,也不一定是按照正常的书写顺序去输入,如:不按笔画的书写先后顺序书写汉字,倒着书写数字,等等。 [0079] Since the unlatch input user input is not necessarily in the correct orientation, and not necessarily the order of writing to the normal input, such as: not according to the order of writing strokes writing Chinese characters, numbers written backwards, etc. Wait. 这些输入方式,有可能导致输入的笔迹为倾斜、变形或是输入的角度与触摸屏的正方向偏离较大。 These input, handwriting input may cause inclined, the positive direction of the deformation or the touch screen input angle deviation is large. 尤其是为给用户提供更为便捷的输入方式,就需要尽量减少对用户书写姿态、轨迹信息书写顺序的约束,实现任意形式的书写均可进行识别,这就需要进行输入轨迹的校正,在此描述为倾斜校正。 In particular to provide the user a more convenient input way, the user needs to minimize the writing gesture, the track information written constraint order to achieve any form of writing can be identified, which requires the input trajectory correction in this tilt correction as described.

[0080]图5为本发明的屏幕解锁方法中对实时采集的轨迹信息即待识别字符进行倾斜校正的流程图。 Screen unlocking method [0080] FIG. 5 of the present invention, i.e., real-time acquisition trajectory information character to be recognized is a flowchart of the tilt correction.

[0081]参照图5,在步骤521,确定待识别字符的起笔点,将该起笔点作为倾斜校正的定点。 [0081] Referring to FIG. 5, in step 521, determines the character to be recognized pen point, the pen point as the inclination correction point. 具体到手写汉字识别而言,根据手写字符的特点,大多数字符的起笔都在汉字左边、上边或是左上边,基于这一特点,可以将字符的起笔点设置为倾斜校正的定点。 Specific to the handwritten Chinese character recognition, according to the characteristics of handwritten characters, most characters have started to write Chinese characters on the left, top or upper left side, based on this feature, you can pen point of the character is set to tilt correction point. 因此,只需记忆联机手写时起笔的位置,即可确定该定点。 So, just started to write when the memory line handwriting position, you can determine the point. 在步骤522,获取该待识别字符的方向直方图。 In step 522, obtains the character to be recognized in the orientation histogram. 获取该待识别字符的方向直方图的方法,与步骤511中获取同一个字符的每个样本的方向直方图的方法相同。 The method of obtaining the same character to be recognized in the direction histogram, and each sample acquired in step 511 the same characters of the direction histogram method. 在步骤523,与样本库中聚类后的方向直方图求距离,通过比较确定倾斜角度。 In step 523, the direction of the sample database clustering histogram, the distance, the inclination angle determined by the comparison. 将得到的方向直方图与样本库中已经聚类的方向直方图模板进行匹配,通过计算距离的方式进行比较,得到倾斜校正时需要旋转的角度。 The obtained direction histogram with the direction of the sample libraries already clustered histogram template matching, by comparing the distance calculation mode, angle of rotation obtained when the inclination correction required. 在步骤524,根据倾斜角度和定点,进行倾斜校正。 In step 524, the tilt angle and pointing performs inclination correction. 根据上一步中得到的倾斜角度和确定的定点进行待识别字符的倾斜校正。 Tilt correction character to be recognized in accordance with the tilt angle obtained in the previous step and the determined point.

[0082]通过上述倾斜校正,不论采集的笔迹信息是倾斜的、变形的、还是倒立等存在非正常书写的情况,都可以通过校正,实现对手写体输入轨迹的准确识别。 Presence of abnormal writing [0082] By the above-described inclination correction, whether acquired handwriting information is inclined, the deformation, or the like inverted, can be corrected by, for accurate recognition of handwriting input trace.

[0083]如图6为本发明触摸屏锁屏状态的解锁提示示意图。 [0083] FIG. 6 is a schematic view of the invention prompt the touch screen to unlock the lock screen state. 图7a为倾斜的待识别字符示意图,图7b为对该待识别字符进行倾斜校正后的示意图。 Figure 7a is a schematic oblique character to be recognized, the schematic diagram of Figure 7b the inclination is corrected for the character to be recognized.

[0084]针对解锁提示1 + 1 = ?,用户可在触摸屏上输入与该解锁提示对应的解锁答案。 [0084] for unlocking Tip 1 + 1 =?, The user can input prompt corresponding to the unlock unlock the answers on the touch screen. 但是,由于电子设备的摆放比较随意,造成用户在输入自己的解锁答案时,显示的笔迹对于触摸屏来说可能是不规整的,如图7a所示,书写的笔迹是倾斜的。 However, due to the placement of electronic equipment more freely, causing the user to enter their unlocked when answer handwriting touch screen display for it may be irregular, shown in Figure 7a, writing handwriting is tilted. 如果将此笔迹直接送入到识别引擎进行识别,提取到的噪声特征会比较多,将影响最后的识别。 If this handwriting recognition engine is fed directly to the identification, extraction of the noise characteristics will be more, will affect the final identification. 因此识别引擎会首先进行倾斜校正。 Thus recognition engine will first tilt correction. 在对待识别字符采样的过程中,字符的定点已经确定,如图7b中着重标出的黑点。 In the process of treating the sampled character recognition, the character point has been determined, 7b emphatically marked black dots in FIG. 然后将待识别字符的方向直方图与模板库中已经聚类的方向直方图的模板匹配,得出需要的倾斜角度,根据定点和倾斜角度校正的结果如图7b所示。 The direction of the character to be recognized and then a histogram template matching histogram template library has the direction of the cluster, obtain the required inclination angle, and tilt angle based on the results point correction shown in Figure 7b. 当然,此校正的结果只是作为一个中间的结果直接进入步骤304进行预处理。 Of course, this result is only corrected as a result of the intermediate preprocessing proceeds directly to step 304.

[0085]在步骤304,对手写输入的轨迹信息进行预处理。 [0085] In step 304, the handwriting input trajectory information is pre-processed. 手写输入的轨迹信息中,由于输入数据是与触摸屏接触时移动形成的触摸点轨迹,而硬件设备在采集数据时不可避免的会引入噪声,因此,对手写输入的轨迹信息进行识别时需要对原始数据进行预处理,以消除原始输入数据中存在的噪声。 Track information handwritten input, the input data is the touch point trajectory is formed in contact with the touch screen, and the hardware device when collecting data inevitably introduce noise, therefore, the need for the original when the trajectory information handwritten input to identify data preprocessing to remove noise present in the original input data. 预处理主要包括去除孤立点、去除冗余点、平滑消除毛刺等过程,这些技术对于模式识别领域的技术人员属于公知技术,在此不再赘述。 Sample preparation includes removing isolated points, removing redundant points, to eliminate burrs and other smoothing process, these techniques for pattern recognition in the art belonging to the known technique, not described herein again.

[0086] 在步骤305,将预处理结果进行归一化处理。 [0086] In Step 305, the preprocessing result normalized.

[0087] 对待识别字符进行预处理后进入步骤305进行归一化处理,对于文字字符可采用基于重心的归一化,而有些字符特别细长或者扁平,针对这些字符笔迹做了特殊处理。 [0087] After preprocessing the character to be recognized proceeds to step 305 where the normalization process, may be used for character-based text centroid normalized, and some special characters elongated or flat, made for special treatment of these characters handwriting. 首先计算笔迹中字符的宽高比r,并对宽高比确定一个阈值T,如果r<I'则认为笔迹是细长字符;否则为非细长字符。 First calculate the aspect ratio r of characters in handwriting, and the aspect ratio is determined a threshold T, if r <I 'is considered to be an elongate character stroke; otherwise non-elongated characters. 对于细长字符只归一化Y坐标,将X坐标适当归一化平移到水平方向的中间位置。 For elongated character only normalized Y coordinate, the X coordinate of a suitable normalization shifted to an intermediate position in the horizontal direction. 对扁平字符的处理方式与细长字符处理方式相类似。 Treatment of elongated flat characters manner similar character processing.

[0088]在步骤306,提取归一化处理后的手写输入的轨迹信息的特征数据,并与所述手写体样本库的样本特征进行特征匹配计算。 [0088] In step 306, the normalized track information extraction process of handwriting input feature data, and calculates feature matching handwriting sample wherein said sample database.

[0089]预处理和归一化步骤完成之后,对于手写输入的轨迹信息进行特征的提取,主要包括方向特征、几何特征、边缘特征等能够充分体现每个字符信息量的特征。 [0089] After preprocessing and normalization step is completed, the feature trajectory information for extracting handwritten input, including a direction wherein geometric features, edge features, etc. can be sufficiently reflect feature information of each character. 不管是文字类、符号类或是图形类,每一个字符都有自己的独特特征信息。 Whether it is verbal, graphic or symbolic class class, each character has its own unique characteristics information. 然后将这些特征与样本库中存储的每个模板的特征进行比对,将每一个特征间的差距进行累积,得到一个累积得分,该得分即为识别当前候选字符的识别得分。 These features are then stored in a library of samples of each template for comparison, the gap between each feature accumulated to obtain a cumulative score, the score is the recognition score of the current recognition candidate characters. 识别得分越小代表手写输入的轨迹与该候选模板之间的差距越小,即相似度越高,可信度越高。 Trajectory recognition score representative of handwritten input and the smaller the gap between the smaller of the candidate template, i.e. the higher the degree of similarity, the higher the reliability.

[0090]另外,为提高识别候选的首选的正确率,实现一次性解锁,可以根据解锁提示对识别候选进行校正。 [0090] Further, to improve the accuracy of recognition candidates preferred to achieve unlocking disposable, can be corrected according to the identified candidate unlock hint. 锁屏模块中存储的解锁提示,根据数字、字母、文字等字符进行了归类,因此,可以通过识别候选与解锁提示进行组合判断识别候选的正确率。 Unlocking the lock screen prompts stored in the module, are classified according to the numbers, letters, characters such as text, thus, may be a combination of the correct rate is determined by identifying a candidate recognition candidates unlocking tips. 具体地,通过建立的语言模型对特定数目的识别候选与解锁提示之间的组合进行打分,将得分最高的识别候选作为首选,并将该首选作为识别结果,借以提高识别结果的正确率。 Specifically, the language model by a combination between a specific number of tips scoring recognition candidate unlocking, the highest scoring recognition candidate as the preferred, and the preferred as a recognition result, so as to enhance the accuracy of the recognition result. 根据识别候选的组合得分,选取几个组合得分较高的识别候选与解锁提示进行组合,识别候选的数目不少于两个。 The composition of identifying candidate scores, higher scores to select a combination of several recognition candidates prompted for unlocking the number of combinations, not less than two recognition candidates. 当然也可以结合词义、词频和常用规则等语言先验知识对识别结果进行校正。 Of course, also be combined with a priori knowledge of language meaning, word frequency, and common rules for the recognition result is corrected.

[0091]综上,识别引擎被配置为识别输入的字符轨迹信息、符号轨迹信息、形状轨迹信息之一或字符轨迹信息、符号轨迹信息、形状轨迹信息的任意组合。 [0091] In summary, the character recognition engine configured to identify the locus information input, any combination of symbol information tracks, one track shape of the trajectory information or character information, symbol information tracks, the track shape information.

[0092]识别引擎要完成轨迹信息的识别,首先需要建立手写体样本库,对该样本库进行训练学习获得样本特征,并将样本特征训练为字符的模板,为每个字符的模板设置相应的机器语言编码,如Unicode编码,再如“书”的Unicode编码为0x4E66。 [0092] recognition engine to complete the identification of trace information, you first need to establish a handwriting sample library, learning the training samples to obtain a sample library features and characteristics of the sample as a template character train, the corresponding machine settings as a template for each character language code, such as Unicode encoding, Again "book" Unicode encoded as 0x4E66. 在对待识别的手写输入的轨迹信息进行识别时,将待识别的手写输入的轨迹的特征数据信息与样本特征匹配计算,根据匹配得分确定识别结果。 In the treatment of the identified locus information identifying handwriting input, the handwriting input data feature trajectory information to be recognized with the sample feature matching calculations to determine the recognition result according to the matching score. 根据匹配得分确定识别结果的具体过程是,将特征数据与手写体样本库中的字符的模板之间计算距离最小的模板作为可信度最高的模板,并输出该模板对应的机器语言编码,根据输出的机器语言编码,将该机器语言编码对应的字符作为识别结果。 Determining a matching score based on the recognition result specific process, the template is calculated between the feature data and handwritten characters sample database template minimum distance template as the highest reliability, and the output of the machine language codes corresponding to the template, based on the output the machine language code, machine language code corresponding to the character as a recognition result.

[0093]图4为识别引擎建立手写体样本库的过程。 [0093] FIG. 4 is established for the sample database handwriting recognition engine process. 如图4所示,建立样本库包括如下步骤:步骤411:获取同一个字符的每个样本的方向直方图。 As shown in FIG 4 comprises a sample database to establish the following steps: Step 411: obtaining the direction of each sample histogram of the same character. 对同一个字符的每个样本取方向直方图。 Take direction histogram for each sample of the same character. 具体的操作就是对样本按照一定时间间隔进行采样,将每两个采样点进行连线,获得该线段相对于水平正方向的角度并记录。 Specific operation is the sample in a certain sampling interval, two sampling points for each connection, the angle of the line segment obtained with respect to the positive direction of the horizontal and recorded. 这样就可以获得样本库中每个样本的方向直方图。 So you get a direction of each sample sample library histogram. 步骤412:对每一个字符的方向直方图取均值,获得每一个字符的均值方向直方图。 Step 412: taking the mean of the histogram direction of each character, each character to obtain the mean direction histogram. 步骤413:基于均值距离将所有的方向直方图进行聚类,得到多个作为聚类中心的方向直方图模版,并作为样本库。 Step 413: Based on the mean distance histogram clustering all directions, directions to obtain a plurality of template histograms cluster centers, and as a sample library.

[0094]为了提高整体识别的效率,将样本库中的每个字符的方向直方图进行聚类。 [0094] In order to improve the overall efficiency of the recognition, the character direction of each sample database histogram clustering. 由于方向直方图较多,不能人为的判断出可以聚类多少,即无法确定聚类中心数的数量,而基于均值距离的分级聚类方法的聚类中心数是动态的,可以避免聚类中心数量过少时,信息量压缩过多,造成信息的丢失,也可以避免聚类中心数量过多时,信息量压缩不够,造成信息的冗余。 Since the direction histogram more, can not be judged that the human cluster number, i.e. the number can not determine the number of cluster center, and based on the number of cluster centers mean distance hierarchical clustering method is dynamic, the cluster centers can be avoided the number is too small, the amount of information compressed too much, resulting in loss of information, but also to avoid excessive number of cluster centers, the amount of information compressed enough, resulting in redundant information.

[0095]通过以上的操作,保存聚类得到的方向直方图模板,以用作后续匹配的样本模板。 [0095] By the above operation, the template stored clustering obtained direction histogram, for use as a subsequent sample template matching.

[0096] 继续参照图2,在步骤240,将识别结果与预设结果进行比对,若比对结果一致,将该触摸屏的显示界面置于解锁状态。 [0096] With continued reference to FIG. 2, for comparison at 240, the result of step with a predetermined recognition result, when the comparison result is consistent, the interface touch screen display is placed in the unlocked state.

[0097]锁屏模块中内置有解锁提示和对应的解锁答案,该解锁答案即为预设结果。 [0097] lock screen module built-in hints and unlock unlock the corresponding answer, the answer is the default unlock results. 识别引擎将识别结果与该预设结果相比对,比对一致时,识别引擎将比对一致的结果发送给锁屏模块,锁屏模块再将该比对一致的信息发送给解锁模块,解锁模块调用相应的解锁指令使触摸屏的显示界面处于解锁状态。 Recognition engine and the predetermined recognition result as compared to the results, when compared to the same recognition engine for consistent results than transmission screen module to the lock, the lock screen module then sends the message to the same ratio of unlocking module, the unlocking unlock command module calls the corresponding interface of the touch screen display in an unlocked state.

[0098]触摸屏处于锁屏状态时,在触摸屏上显示的解锁提示,可以根据设置显示至少两个解锁提示,每个解锁提示关联相应的显示界面,如一个解锁提示关联解锁界面,另一个解锁提示关联查看邮箱、编辑短信等应用程序之一的应用界面。 When [0098] The touch screen panel in a locked state, the unlocking prompt displayed on the touch screen, according to display at least two unlocking tips provided, each associated with a respective unlocking prompt display interface, such as a prompt to unlock to unlock the associated interface, to unlock the other tips View application interface associated with one e-mail, edit text messaging and other applications. 在识别引擎识别输入信息获得的识别结果,与其中之一解锁答案相一致的,解锁模块响应该输入信息,使触摸屏转换进入与输入信息相对应的解锁提示关联的显示界面,如图9所示。 Recognition engine recognizes the recognition result obtained by the input information, and one of the unlocking answers consistent, unlocking module in response to the input information, the touch screen converted into the associated input information corresponding to the unlocking prompt display interface, shown in Figure 9 . 所述识别结果可以为字符、符号、形状之一或字符、符号、形状的任意组合。 The recognition result may be a character, a symbol, or the shape of one character, a symbol, a shape of any combination thereof.

[0099]对于在屏幕上没有解锁提示的情况,锁屏模块中内置有解锁密码。 [0099] In the case of prompts on the screen is not unlocked, the lock screen module built into the unlock code. 识别引擎对用户输入的解锁密码进行识别,将识别结果与预设的解锁密码相比对,比对一致时,识别引擎将比对一致的结果发送给锁屏模块,锁屏模块再将该比对一致的信息发送给解锁模块,解锁模块调用相应的解锁指令使触摸屏的显示界面处于解锁状态。 Unlock code recognition engine for recognizing the user input, the recognition result as compared with a preset password for unlocking, than when the same recognition engine for consistent results than to the lock screen module, then the ratio of the lock screen module of the same information to unlock the module, the module calls the corresponding unlocking command to unlock the touch screen display interface in an unlocked state.

[0100]触摸屏处于锁屏状态时,在触摸屏上显示的解锁提示,可以根据设置显示至少两个解锁提示,每个解锁提示关联相应的显示界面,如一个解锁提示关联解锁界面,另一个解锁提示关联查看邮箱、编辑短信等应用程序之一的应用界面。 When [0100] The touch screen panel in a locked state, the unlocking prompt displayed on the touch screen, according to display at least two unlocking tips provided, each associated with a respective unlocking prompt display interface, such as a prompt to unlock to unlock the associated interface, to unlock the other tips View application interface associated with one e-mail, edit text messaging and other applications. 在识别引擎识别输入信息获得的识别结果,与其中之一解锁答案相一致的,解锁模块响应该输入信息,使触摸屏转换进入与输入信息相对应的解锁提示关联的显示界面,如图9所示。 Recognition engine recognizes the recognition result obtained by the input information, and one of the unlocking answers consistent, unlocking module in response to the input information, the touch screen converted into the associated input information corresponding to the unlocking prompt display interface, shown in Figure 9 . 所述识别结果可以为字符、符号、形状之一或字符、符号、形状的任意组合。 The recognition result may be a character, a symbol, or the shape of one character, a symbol, a shape of any combination thereof.

[0101]在上面描述的本发明的屏幕解锁方法的实施例中,识别引擎被配置为识别手写体。 [0101] In an embodiment of the screen unlocking method of the present invention described above, the recognition engine is configured to recognize handwriting.

[0102]在本发明的屏幕解锁方法的另一实施例中,识别引擎可以被配置为识别编码信息,如图10所示。 [0102] In a further screen unlocking method of the present embodiment of the invention, the recognition engine may be configured to identify the encoding information, as shown in FIG. 在触摸屏处于锁屏状态时,触摸屏上显示解锁提示,同时显示用于输入信息的软键盘。 When the touch screen is a screen lock state, unlocked prompt is displayed on the touch screen while displaying a soft keyboard to enter information. 根据解锁提示,通过软键盘输入解锁答案,由识别引擎识别后,将获得的识别结果与预设结果比对,比对一致的,使触摸屏转换到解锁状态。 According to unlock prompt, enter through the soft keyboard to unlock the answer, after the recognition result by the recognition engine recognizes the results obtained with the preset comparison, the same ratio for the transition to the touchscreen unlocked. 软键盘可由用户自行设置,可以设置为标准的软键盘,也可以根据需要仅设置为数字键盘、英文键盘或数字键盘与英文键盘的组合。 Soft keyboard can be user settings, it can be set to a standard keyboard, and may also be provided on only a numeric keypad, keyboard or keypad combination of English and English keyboard.

[0103]本发明还提供了一种触摸屏,如图11所示的原理框图,该触摸屏包括密码设置装置、检测装置、识别装置和解锁装置,根据密码设置装置设置级别的高低,该触摸屏还包括解锁提示装置。 [0103] The present invention further provides a touch panel, a functional block diagram shown in Figure 11, the touch screen comprising password setting means, detecting means, identification means and the unlocking means, the level means set the level according to the password, the touch screen further comprises unlock prompting device.

[0104]解锁提示装置用于在触摸屏处于锁屏状态时,在触摸屏上显示解锁提示;其中,在触摸屏上显示解锁提示包括随机调用解锁提示在触摸屏上进行显示或始终调用相同的解锁提示在触摸屏上进行显示,也可以根据设置在触摸屏上显示至少两个关联不同显示界面的解锁提示。 [0104] unlocking prompt means for, when the touch screen in the lock screen, to display an unlock prompt on the touch screen; wherein, displayed on the touch screen to unlock the prompt comprises a random call unlocking prompts displayed on the touch screen or always call the same unlocking tips touchscreen on the display may be displayed unlock hint associated with at least two different interface displayed on the touch screen according to the setting.

[0105]密码设置装置用于预先设置密码,以在触摸屏的任意位置输入预先设置的密码解屏,还用于设置屏幕解锁的密级,将不同的解锁信息对应不同的解锁密级,密级可以区分为第一密级和第二密级。 [0105] password setting means for previously setting a password to the password screen solutions at an arbitrary position of the touch screen input is set in advance, is also provided for the dense screen unlocking the unlocking Different security classification information corresponding to the unlocking, it can be divided into dense The first and second security classification dense. 第一密级可以是高密级,被定义为例如当触摸屏处于屏幕被锁状态时,屏幕上不显示解锁提示信息。 The first may be a high security classification dense, it is defined, for example, when the touch screen is locked state screen is not displayed on the screen to unlock the message. 在触摸屏任意位置输入预先设置的密码,作为触摸屏的解锁信息。 In the touch screen anywhere in the input password set in advance, as a touch screen to unlock the information. 该密码由用户自定义设置,不限于数字、文字、图形或任意组合。 The custom password set by the user is not limited to numbers, text, graphics, or any combination thereof. 并对设置的密码进行功能映射,如建立密码I和解屏功能的关联,建立密码2与进入通讯录功能的关联,以此类推,根据需要自行设置。 And password set mapping function, such as password I associate reconciliation screen functionality, create a password to enter the address book function associated with 2, and so on, according to the needs of their own settings. 用户也可对该高密级进一步细化密级,例如将只能解屏和使用呼叫功能的密级设置为第一密级,将能够解屏、使用呼叫功能和通讯录功能的密级设置为第二密级,将解屏后能使用手机所有功能的密级设置为第三密级。 The user may further refine the dense high security classification, for example, solutions of dense screen is provided only for the call function and use of a first dense, solution will be able to screen, and a call function using the address book function as a second dense-dense, after the solution will be able to use the phone screen all the features of dense set as the third security classification. 在高密级情况下需要设置几个密级,以及每个密级对应手机哪些功能都可由用户根据需要来设置。 In the case where a high security classification to set several dense, dense and each corresponding to a mobile phone which functions can be set by the user according to need.

[0106]第二密级可以是低密级,例如被定义为当触摸屏处于屏幕被锁状态时,在触摸屏上显示解锁提示。 [0106] The second secret level may be a low security classification, for example, is defined as when the touch screen is locked state screen is displayed on the touch screen to unlock the prompt. 低密级可进一步划分为多个密级,可按照解锁的复杂程度来划分,下面通过举例的方式来划分低密级下的各密级。 Low security classification may be further divided into a plurality of dense, may be divided according to complexity of the unlocking, to divide each of the following security classification at a low security classification by way of example. 例如,第一密级为需要复杂解锁,例如在屏幕上显示至少两个解锁提示。 For example, the first security classification is required to unlock the complex, such as displaying at least two unlocked prompts on the screen. 第二密级为在屏幕上显示一个解锁提示,但解锁答案比较复杂。 The second security classification to be displayed on a screen prompt to unlock, but to unlock the answer is more complex. 第三密级为在屏幕上显示一个解锁提示,解锁答案比较简单。 The third security classification to be displayed on a screen prompt to unlock, unlock the answer is relatively simple. 在低密级下设置的各个密级,密级的数量以及复杂程度可根据用户的需求来设置。 Each dense, the number and the complexity of the security classification provided at a low security classification may be set according to the needs of users. 检测装置,用于检测触摸屏上的用于解锁的输入信息,将检测的输入信息发送给识别装置。 Detecting means for inputting information for unlocking the touch screen on the detector, the detector transmits the input information to the identification means. 该检测装置为一种锁屏装置。 A lock detecting means is the screen device. 在触摸屏处于锁屏状态时,该锁屏装置处于工作模式,实时监听触摸屏上的输入事件。 When the touch screen is lock screen, the lock screen device in an operational mode, real-time monitoring input events on the touch screen. 当检测到触摸屏上有按下触摸事件时,以该按下触摸事件的触摸点为起始点,开始记录在触摸屏上输入的轨迹的坐标信息,直到检测到抬起事件,即产生停止触摸事件,以该抬起事件的触摸点为终点。 When the touch screen detects a touch event when pressed, to press the touch point of the touch event as a starting point, to start recording the coordinate information input on the touch screen track, until the release event is detected, i.e., a touch event is generated is stopped, up event to the touch point as an end point. 借由此种方式,记录在触摸屏上触摸产生的轨迹上所有点的坐标信息,完成对触摸屏上输入信息的检测。 By means of this embodiment, the coordinate information recorded on a track of all points on the touch screen of the touch-generating, detecting the completion of information input on the touch screen. 该检测装置具体为锁屏模块。 The lock detecting means is a particular screen module. 检测装置向识别装置发送检测的输入信息,并将识别装置反馈的识别结果发送给解锁装置。 Detecting means detects transmitted to the input information identification means, and feedback means recognition result to the recognition unlocking device.

[0107]识别装置,用于调用识别引擎,对该输入信息进行识别获得识别结果,并将识别结果与预设结果进行比对,将比对结果发送给检测装置。 [0107] identifying means for invoking the recognition engine recognizes the input information to obtain a recognition result and the identification result with a preset comparison results, than the transmission results to the detection means. 该识别引擎被配置为识别输入的字符轨迹信息、符号轨迹信息、形状轨迹信息之一或字符轨迹信息、符号轨迹信息、形状轨迹信息的任意组合;或所述识别引擎被配置为识别输入的编码信息。 The recognition engine is configured to recognize the trajectory information input character, symbol information tracks, one track shape information or character information track, track information symbols, in any combination of shapes of information tracks; or the recognition engine is configured to recognize the input encoded information.

[0108]解锁装置,用于接收检测装置发送的比对一致的结果,将该触摸屏的显示界面置于解锁状态。 [0108] unlocking device, for consistent results, the touch screen display interface is placed in an unlocked state detecting means than receiving transmitted.

[0109] 所述识别装置还包括分割单元、倾斜校正单元、预处理单元、归一化处理单元、特征匹配单元以及识别结果获取单元。 [0109] The identifying means further comprises a segmentation unit, inclination correction unit, a preprocessing unit normalization processing unit, wherein the matching unit and a recognition result obtaining unit. 各个单元的功能作用与上述步骤30部分所描述的基本相同,在此不再赘述。 Function units of each part of the step 30 as described above is substantially the same, are not repeated here.

[0110]本发明还提出了一种电子设备,如图12所示,该电子设备包括:触摸屏;解锁提示装置,用于在触摸屏处于锁屏状态时,在触摸屏上显示解锁提示,其中,所述在触摸屏上显示解锁提示包括随机调用解锁提示在触摸屏上进行显示或始终调用相同的解锁提示在触摸屏上进行显示、或者按照用户预设的方式进行显示解锁提示;密码设置装置用于预先设置密码,以在触摸屏的任意位置输入预先设置的密码解屏,同时还用于设置屏幕解锁的密级,将不同的解锁信息对应不同的解锁密级,密级可以区分为高密级和低密级,根据密码设置装置设置密级的高低,该触摸屏可以不包括解锁提示装置;检测装置,用于检测触摸屏上的用于解锁的输入信息,将检测的输入信息发送给识别装置;检测装置向识别装置发送检测的输入信息,并将识别装置反馈的检测结果发送给解 [0110] The present invention also provides an electronic apparatus, shown in Figure 12, the electronic device comprising: a touch screen; prompt unlocking means for, when the touch screen panel in a locked state, the unlocking prompts displayed on the touch screen, wherein the said display on the touch screen to unlock the prompt comprises a random call unlocking prompts on the touch screen or always call the same unlocking prompts displayed on the touch screen, or by displaying the unlock prompt by the user preset manner; password setting means for previously setting a password , cryptographically solution screen at an arbitrary position input to the touch screen is set in advance, and also for setting a screen unlocking secret level, the different unlock information corresponding unlocking security classification, security classification can be divided into a high security classification and low security classification, according to the password setting means set the level of security classification, the touch screen may not include unlocking prompt means; detecting means for inputting information for unlocking on detecting the touch screen, transmitting the input detected information to the identification device; input information transmission detected by the detection means to the recognition means and feedback means for detecting the identification result to the solution 锁装置;识别装置,用于调用识别引擎,对该输入信息进行识别以获得识别结果,并将识别结果与预设结果进行比对,将比对结果发送给检测装置;解锁装置,用于接收检测装置发送的比对一致的结果,将该触摸屏的显示界面置于解锁状态。 Locking means; identifying means for invoking the recognition engine, the input identification information to obtain a recognition result and the identification result with a preset comparison results, than the results transmitted to the detecting means; unlocking means for receiving for consistent results, the touch screen display interface unlock state ratio detecting means disposed transmitted.

[0111]上述解锁提示装置可作出同时显示至少两个解锁提示的设置,使触摸屏上显示至少两个解锁提示,以在输入信息满足条件时,使触摸屏进入解锁或相应的应用界面。 [0111] The unlocking means may be prompted to make a prompt simultaneously display at least two unlocking setting, the display on the touch screen at least two unlocking prompted to enter information when the condition is satisfied, the touch screen to enter or unlocking the corresponding application interface.

[0112] 上述识别装置,还包括分割单元、倾斜校正单元、预处理单元、归一化处理单元、特征匹配单元以及识别结果获取单元。 [0112] The identification apparatus further comprises a segmentation unit, inclination correction unit, a preprocessing unit normalization processing unit, wherein the matching unit and a recognition result obtaining unit. 各个单元的功能作用与上述步骤30部分所描述的基本相同,在此不再赘述。 Function units of each part of the step 30 as described above is substantially the same, are not repeated here.

[0113]本领域普通技术人员可以理解实现上述实施例方法中的全部或部分流程,是可以通过计算机程序指令相关的硬件来完成,所述的程序可存储于一计算机可读取存储介质中,该程序在执行时,可包括如上述各方法的实施例的流程。 [0113] Those of ordinary skill in the art may understand that the above-described method embodiments all or part of the processes can be done instructing relevant hardware by a computer program, the program may be stored in a computer readable storage medium, when the program is executed, the processes of the foregoing method embodiments. 其中,所述的存储介质可为磁碟、光盘、只读存储记忆体(Read-Only Memory,ROM)或随机存储记忆体(Random AccessMemory,RAM)等。 Wherein the storage medium may be a magnetic disk, an optical disk, read-only memory (Read-Only Memory, ROM) or a random access memory (Random AccessMemory, RAM) and the like.

[0114]以上所述的具体实施例,对本发明的目的、技术方案和有益效果进行了进一步详细说明,所应理解的是,以上所述仅为本发明的具体实施例而已,并不用于限制本发明,凡在本发明的精神和原则之内,所做的任何修改、等同替换、改进等,均应包含在本发明的保护范围之内。 Specific Example [0114] above, the objectives, technical solutions, and beneficial effects of the present invention will be further described in detail, it should be understood that the above descriptions are merely embodiments of the present invention, but not intended to limit the present invention, within the spirit and principle of the present invention, any modifications, equivalent replacements, improvements, etc., should be included within the scope of the present invention.

Claims (6)

1.一种屏幕解锁方法,其特征在于,包括: 设置至少两种屏幕解锁密级,在不同的密级,需要输入相应的屏幕解锁信息,且不同的密级对应不同的操作权限; 启用其中一种屏幕解锁密级; 检测在触摸屏任意位置输入的用于解锁的输入信息; 调用识别引擎,对该输入信息进行识别以获得识别结果; 将识别结果与预设结果进行比对,若比对一致,将该触摸屏的显示界面置于解锁状态;其中,所述密级包括高密级和低密级,在高密级,屏幕不显示解锁提示,且所述高密级进一步包括:第三密级,是指当触摸屏处于屏幕被锁状态时,屏幕上不显示解锁提示信息,在触摸屏任意位置输入预先设置的一个密码,作为触摸屏的解锁信息;第四密级,是指当触摸屏处于屏幕被锁状态时,屏幕上不显示解锁提示信息,在触摸屏任意位置输入预先设置的密码,作为触摸屏 A screen unlocking method comprising: setting at least two kinds of screen unlocking dense, dense different, need to enter the appropriate unlock the screen information, and different operating authority corresponding to a different security classification; enable one screen unlocking dense; detecting input information for unlocking an arbitrary position of the touch screen input; call recognition engine, the input identification information to obtain a recognition result; recognition result with a preset comparison result, if the comparison is consistent, the interface touch screen display is placed in an unlocked state; wherein said dense including high and low security classification dense, high dense, unlocking prompt screen is not displayed, and the high-security classification further comprises: a third security classification, which is generated in the screen is a touch screen when the lock state and does not display an unlock message on the screen, a password touchscreen anywhere in the input set in advance, as the unlock information of the touch screen; fourth dense, means that when the touch screen is the screen is locked state and does not display an unlock prompts on the screen information on the touch screen anywhere in the input password set in advance, as a touch screen 的解锁信息,所设置的密码是一个或多个,并对设置的密码进行功能映射,输入不同的密码,触摸屏启用不同的功能; 在低密级,屏幕显示解锁提示。 Unlock information, passwords set by one or more, and set the password function mapping, different password, touch screens enable different functions; in low security classification, unlock the screen prompts.
2.根据权利要求1所述的方法,其特征在于,所述低密级进一步包括:第一密级,该密级是指当触摸屏处于屏幕被锁状态时,在触摸屏上显示一个解锁提示,当输入与解锁提示对应的解锁信息时,屏幕被解锁;第二密级,该密级是指当触摸屏处于屏幕被锁状态时,在触摸屏上显示一个或多个解锁提示,每个解锁提示由用户预先设置,并且将每个解锁提示进行功能映射,每个解锁提示关联相应的显示界面,当屏幕上的输入信息与其中之一解锁答案相一致时,触摸屏进入与输入信息相对应的解锁提示关联的显示界面。 2. The method according to claim 1, characterized in that said low security classification further comprising: a first dense, the dense means that when the screen is the touch screen is locked state, on a touch-screen display prompt unlocking, and when the input unlocking the unlocking prompt information corresponding to the screen is unlocked; a second dense, the dense means that when the touch screen is locked in a state of the screen, displaying one or more prompts unlock, unlock hint is preset by each user on the touch screen, and each unlock hint function mapping, each corresponding to unlock prompt associated display interface, when the input information on the screen and unlock one of the answers is consistent touch-screen display interface to enter the associated unlocking tips and information corresponding to the input.
3.一种触摸屏,其特征在于,其包括: 密码设置装置,用于设置至少两种屏幕解锁密级,在不同的密级,需要输入的相应的屏幕解锁信息,还用于预先设置密码作为触摸屏的解锁信息,且不同的密级对应不同的操作权限; 检测装置,用于检测在触摸屏任意位置输入的用于解锁的输入信息,将检测的输入信息发送给识别装置,并将识别装置反馈的比对一致的结果发送给解锁装置; 识别装置,用于调用识别引擎,对该输入信息进行识别以获得识别结果,并将识别结果与预设结果进行比对,将比对结果发送给检测装置; 解锁装置,用于接收检测装置发送的比对一致的结果,将该触摸屏的显示界面置于解锁状态;其中, 所述识别装置包括: 倾斜校正单元,对手写输入的轨迹信息进行倾斜校正; 预处理单元,对倾斜校正的结果进行预处理; 归一化单元,对预 A touch screen, characterized in that it comprises: password setting means for setting at least two screen unlocking dense, dense at different, respective unlock the screen to enter information, a password set in advance is also used as a touch screen unlocking information, and different confidentiality level corresponding to a different operating authority; detecting means for detecting input information input for unlocking the touch screen at an arbitrary position, transmits the detection to the input information identification means, and identifying means for feedback ratio consistent results transmitted to the unlocking means; identifying means for invoking the recognition engine, the input identification information to obtain a recognition result and the identification result with a preset comparison result, it transmits the result than to the detecting means; unlock means for comparing the result of receiving the detection device transmits the same, the touch-screen display interface is placed in an unlocked state; wherein said identifying means comprising: a skew correction unit, a handwriting trajectory information inputted inclination correction; pretreatment means the result of tilt correction pretreatment; normalization unit, pre 处理结果进行归一化处理; 特征匹配单元,提取归一化处理后的轨迹信息的特征数据,并与预设的手写体样本库中的样本特征进行特征匹配计算; 识别结果获取单元,将特征数据与手写体样本库中的字符的模板之间计算距离最小的模板作为可信度最高的模板,并输出该模板对应的机器语言编码; 根据输出的机器语言编码,将该机器语言编码对应的字符作为识别结果;所述密级包括高密级和低密级,在高密级,屏幕不显示解锁提示,所述高密级进一步包括:第三密级,是指当触摸屏处于屏幕被锁状态时,屏幕上不显示解锁提示信息,在触摸屏任意位置输入预先设置的一个密码,作为触摸屏的解锁信息;第四密级,是指当触摸屏处于屏幕被锁状态时,屏幕上不显示解锁提示信息,在触摸屏任意位置输入预先设置的密码,作为触摸屏的解锁信息,所设置 Processing result normalization processing; feature matching unit, extracts the normalized track information after processing of the feature data, and sample characteristics preset handwriting sample library feature matching calculation; recognition result obtaining unit, the characteristic data the minimum distance between the template of template database handwriting sample characters and calculation of a template as the highest reliability, and the output of the machine language codes corresponding to the template; machine language codes according to the output, the machine language code corresponding to the character as recognition result; includes the high dense and low security classification dense, high dense, unlocking prompt screen is not displayed, the high-security classification further comprising: a third dense, means that when the touch screen is locked state of the screen is not displayed on the screen unlocking message, a password touchscreen anywhere in the input set in advance, as the unlock information of the touch screen; fourth dense means when the touch screen is the screen is locked state and does not display an unlock message on the screen, previously set at an arbitrary position input using a touchscreen password information as to unlock the touch screen, the set 密码是一个或多个,并对设置的密码进行功能映射,当输入的密码不同时,电子设备中被启用的功能也是不同的; 在低密级,屏幕显示解锁提示。 Passwords are one or more, and set the password function mapping, when the password is entered at the same time, electronic devices are enabled features are different; in low security classification, unlock the screen prompts.
4.根据权利要求3所述的触摸屏,其特征在于,所述低密级进一步包括:第一密级,该密级是指当触摸屏处于屏幕被锁状态时,在触摸屏上显示一个解锁提示,当输入与解锁提示对应的解锁信息时,屏幕被解锁;第二密级,该密级是指当触摸屏处于屏幕被锁状态时,在触摸屏上显示一个或多个解锁提示,每个解锁提示由用户预先设置,并且将每个解锁提示进行功能映射,每个解锁提示关联相应的显示界面,当屏幕上的输入信息与其中之一解锁答案相一致时,触摸屏进入与输入信息相对应的解锁提示关联的显示界面。 4. The touch panel according to claim 3, characterized in that said low security classification further comprising: a first dense, the dense means that when the screen is the touch screen is locked state, on a touch-screen display prompt unlocking, and when the input unlocking the unlocking prompt information corresponding to the screen is unlocked; a second dense, the dense means that when the touch screen is locked in a state of the screen, displaying one or more prompts unlock, unlock hint is preset by each user on the touch screen, and each unlock hint function mapping, each corresponding to unlock prompt associated display interface, when the input information on the screen and unlock one of the answers is consistent touch-screen display interface to enter the associated unlocking tips and information corresponding to the input.
5.—种电子设备,其特征在于,包括触摸屏、密码设置装置,检测装置、识别装置和解锁装置,其中, 所述密码设置装置,用于设置至少两种屏幕解锁密级,在不同的密级下,需要输入的相应的屏幕解锁信息,还用于预先设置密码作为触摸屏的解锁信息,且不同的密级对应不同的操作权限; 所述检测装置,用于检测在触摸屏任意位置输入的用于解锁的输入信息,将检测的输入信息发送给识别装置,并将识别装置反馈的比对一致的结果发送给解锁装置; 所述识别装置,用于调用识别引擎,对该输入信息进行识别以获得识别结果,并将识别结果与预设结果进行比对,将比对结果发送给检测装置; 所述解锁装置,用于接收检测装置发送的比对一致的结果,将该触摸屏的显示界面置于解锁状态;其中, 所述识别装置包括: 倾斜校正单元,对手写输入的轨迹 5.- electronic apparatus comprising a touchscreen, the password setting means, detecting means, identification means and the unlocking device, wherein the password setting means for setting at least two kinds of screen unlocking dense, dense at different , to enter corresponding screen unlock information set in advance is also used as a password to unlock the touch screen information, and different confidentiality level corresponding to a different operating authority; said detecting means for detecting an input for unlocking the touch screen in an arbitrary position input information, transmits the detection to the input information identification means, and identifying means for transmitting the feedback ratio consistent results to the unlocking means; said identifying means for invoking the recognition engine, the input identification information to obtain a recognition result , and the identification result with a preset comparison results, than the transmission results to the detecting means; said unlocking means, detecting means for receiving the transmission ratio of consistent results, the touch screen display interface is placed in an unlocked state ; wherein said identifying means comprising: a skew correction unit, the handwriting input trajectory 信息进行倾斜校正; 预处理单元,对倾斜校正后的结果进行预处理; 归一化单元,对预处理结果进行归一化处理; 特征匹配单元,提取归一化处理后的轨迹信息的特征数据,并与预设的手写体样本库中的样本特征进行特征匹配计算; 识别结果获取单元,将特征数据与手写体样本库中的字符的模板之间计算距离最小的模板作为可信度最高的模板,并输出该模板对应的机器语言编码; 根据输出的机器语言编码,将该机器语言编码对应的字符作为识别结果;所述密级包括高密级和低密级,在高密级,屏幕不显示解锁提示,所述高密级进一步包括:第三密级,是指当触摸屏处于屏幕被锁状态时,屏幕上不显示解锁提示信息,在触摸屏任意位置输入预先设置的一个密码,作为触摸屏的解锁信息;第四密级,是指当触摸屏处于屏幕被锁状态时,屏幕上不显示解 Tilt correction information; pre-processing unit, the results of the tilt correction pretreatment; normalization unit for normalizing the results pre-processing; feature matching unit, a normalized track information extraction process of the characteristic data , and wherein the predetermined sample handwriting sample library feature matching calculation; recognition result obtaining unit, the calculated minimum distance between the template and the template feature data sample database handwritten character template as the highest confidence, and outputting the template corresponding machine language codes; machine language codes according to the output, the machine language code corresponding to the character as a recognition result; includes the high dense and low security classification dense, high dense, unlocking prompt screen is not displayed, the said high security classification further comprising: a third dense, means that when the touch screen is the screen is locked state and does not display an unlock message on the screen, a password touchscreen anywhere in the input set in advance, as the unlock information of the touch screen; fourth dense, refers to the screen when the touch screen is locked in a state of solution is not displayed on the screen 锁提示信息,在触摸屏任意位置输入预先设置的密码,作为触摸屏的解锁信息,所设置的密码是一个或多个,并对设置的密码进行功能映射,当输入的密码不同时,电子设备中被启用的功能也是不同的; 在低密级,屏幕显示解锁提示。 Lock message, password touchscreen anywhere in the input set in advance, as the unlock information of the touch panel, the password provided one or more, and the password setting function mapping, when the password is entered at the same time, the electronic device is enabled functions are different; in low security classification, unlock the screen prompts.
6.根据权利要求5所述的电子设备,其特征在于,所述低密级进一步包括:第一密级,该密级是指当触摸屏处于屏幕被锁状态时,在触摸屏上显示一个解锁提示,当输入与解锁提示对应的解锁信息时,屏幕被解锁;第二密级,该密级是指当触摸屏处于屏幕被锁状态时,在触摸屏上显示一个或多个解锁提示,每个解锁提示由用户预先设置,并且将每个解锁提示进行功能映射,每个解锁提示关联相应的显示界面,当屏幕上的输入信息与其中之一解锁答案相一致时,触摸屏进入与输入信息相对应的解锁提示关联的显示界面。 The electronic device according to claim 5, characterized in that said low security classification further comprising: a first dense, the dense means that when the touch screen is locked in a state of the screen, a display on the touch screen to unlock the prompt, when the input and unlocking the unlocking prompt information corresponding to the screen is unlocked; a second dense, the dense means that when the touch screen is locked in a state of the screen, displaying one or more prompts unlock, unlock hint is preset by each user on the touch screen, and each mapping function unlocked prompt, associated with each respective display screen prompt unlocking, when the input information on the screen with one of the unlocking answer coincides, the touch screen associated with the input information into the corresponding display interface unlock hint .
CN201210096142.3A 2011-10-31 2012-04-01 Screen unlocking method, touch screen and electronic equipment CN103092500B (en)

Priority Applications (3)

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

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210096142.3A CN103092500B (en) 2011-10-31 2012-04-01 Screen unlocking 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 CN103092500B (en) 2011-10-31 2012-04-01 Screen unlocking 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 method and apparatus for switching
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 中国联合网络通信集团有限公司 Based on the screen unlocking method of handwriting recognition apparatus and the electronic apparatus
CN104794392B (en) * 2015-05-05 2018-04-17 福州瑞芯微电子股份有限公司 Based on method and apparatus for unlocking apparatus grid
CN106295424A (en) * 2016-01-20 2017-01-04 恒生电子股份有限公司 Screen locking method, unlocking method and relevant device
CN106203059A (en) * 2016-07-14 2016-12-07 深圳市金立通信设备有限公司 Screen unlocking method and terminal
CN106709316A (en) * 2016-12-12 2017-05-24 武汉斗鱼网络科技有限公司 Unlocking method for 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 东莞宇龙通信科技有限公司;宇龙计算机通信科技(深圳)有限公司 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 东莞宇龙通信科技有限公司;宇龙计算机通信科技(深圳)有限公司 Unlocking method, system and communication terminal

Also Published As

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

Similar Documents

Publication Publication Date Title
CA2514470C (en) System and method for continuous stroke word-based text input
CA2836052C (en) Picture gesture authentication
US10156981B2 (en) User-centric soft keyboard predictive technologies
US7953983B2 (en) Image or pictographic based computer login systems and methods
US8599157B2 (en) Techniques for recognizing a series of touches with varying intensity or angle of descending on a touch panel interface
US6707942B1 (en) Method and apparatus for using pressure information for improved computer controlled handwriting recognition, data entry and user authentication
US8315482B2 (en) Integrated platform for user input of digital ink
US8649575B2 (en) Method and apparatus of a gesture based biometric system
US8922489B2 (en) Text input using key and gesture information
US20040054701A1 (en) Modeless gesture driven editor for handwritten mathematical expressions
Xu et al. Towards continuous and passive authentication via touch biometrics: An experimental study on smartphones
CN1324436C (en) System and method for improved user input on personal computing devices
US9135503B2 (en) Fingertip tracking for touchless user interface
JP4244614B2 (en) Handwriting input device, a program and a handwriting input method system
JP5377752B2 (en) Virtual keypad generator with learning ability
US20020109677A1 (en) Touchpad code entry system
Balzarotti et al. Clearshot: Eavesdropping on keyboard input from video
US7302099B2 (en) Stroke segmentation for template-based cursive handwriting recognition
US9274551B2 (en) Method and apparatus for data entry input
US20080235788A1 (en) Haptic-based graphical password
US9741085B2 (en) System and method of encoding content and an image
WO1995008158A1 (en) Universal symbolic handwriting recognition system
JP2005346707A (en) Low-resolution ocr for document acquired by camera
JPH11328312A (en) Method and device for recognizing handwritten chinese character
TWI435276B (en) A method and apparatus for recognition of handwritten symbols

Legal Events

Date Code Title Description
C06 Publication
C10 Entry into substantive examination
C14 Grant of patent or utility model