CN104820795B - An intelligent device and unlock method - Google Patents

An intelligent device and unlock method Download PDF

Info

Publication number
CN104820795B
CN104820795B CN201510264595.6A CN201510264595A CN104820795B CN 104820795 B CN104820795 B CN 104820795B CN 201510264595 A CN201510264595 A CN 201510264595A CN 104820795 B CN104820795 B CN 104820795B
Authority
CN
China
Prior art keywords
unlock
level
device
chip
unlocking
Prior art date
Application number
CN201510264595.6A
Other languages
Chinese (zh)
Other versions
CN104820795A (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
Application filed by 上海斐讯数据通信技术有限公司 filed Critical 上海斐讯数据通信技术有限公司
Priority to CN201510264595.6A priority Critical patent/CN104820795B/en
Publication of CN104820795A publication Critical patent/CN104820795A/en
Application granted granted Critical
Publication of CN104820795B publication Critical patent/CN104820795B/en

Links

Abstract

本发明提供种智能设备及其解锁方法,所述解锁方法包括:智能设备处于普通权限下的普通级解锁阶段,当输入的普通芯片级解锁密码不匹配超过预设次数,则切换至较高权限下的芯片级解锁阶段,当输入的芯片级解锁密码不匹配超过预设次数,则需要采用外部设备进行强制解锁,强制解锁后,智能设备切换至普通权限下的普通级解锁阶段。 The present invention provides an apparatus and method for unlocking a smart species, the unlocking method comprising: a smart device is in the normal level in the normal privileges unlocking phase, when the input common levels to unlock password does not match the chip exceeds a preset number of times, shifting to a higher authority unlocking phase at chip level, chip-level when the input password does not match the unlock exceeds a preset number of times, the need to use external force to unlock the device, the unlocking force, the intelligent device to the normal level in the normal privileges unlocking phase. 本发明对智能设备的解锁的过程进行分阶段分权限进行控制,并且在较高权限以及最高权限的时候,通过硬件芯片CPLD(复杂可编程逻辑器件)以及外部设备来参与解锁,从而让智能设备的使用更加安全可靠。 Unlocking process of the present invention is carried out by stages and smart device control authority, and when the highest authority and the higher authority, by hardware chip CPLD (complex programmable logic device), and external devices to participate unlocked, so that the intelligent devices the use of more safe and reliable.

Description

一种智能设备及其解锁方法 An intelligent device and unlock method

技术领域 FIELD

[0001 ]本发明涉及一种智能终端,特别是涉及一种智能设备及其解锁方法。 [0001] The present invention relates to an intelligent terminal, particularly to a smart device and a method for unlocking.

背景技术 Background technique

[0002]随着通信技术的发展,例如智能手机、平板电脑等智能设备的用途更加广泛,包括通话,上网,浏览新闻资讯,网上购物,在线支付等,智能设备强大的功能承接着互联网及物联网的各个方面,己经成了生活中不可或缺的工具,鉴于此,智能设备中难免包含了用户的大量个人信息,智能设备的安全性就显得尤为重要。 [0002] With the development of communication technology, such as the use of smart phones, tablet PCs and other smart devices more widely, including calls, Internet, browse news, online shopping, online payment, etc., to undertake the functions of powerful smart devices with Internet transitive all aspects of life has become an indispensable tool for networking, in view of this, smart devices will inevitably contain a large number of users' personal information security, smart devices is particularly important. 为了避免小孩乱触摸设备,产生误操作引起不必要的麻烦,或是其他人在用户本人未同意的情况下打开设备,保护隐私,确保设备中存储的信息的安全性,有必要为设备设置安全锁,从而确保它的使用者的唯一性,并且当手机丢失的时候重要私人资料不外泄。 In order to avoid child-touch device, resulting in unnecessary trouble caused by misuse, or else open in case I did not agree with the user equipment to protect privacy and ensure security of information stored on the device, it is necessary for the safety device settings lock, thus ensuring the uniqueness of its users, and when the phone is lost when important private information is not compromised.

[0003]在现有技术中针对智能设备的安全锁及解锁方式己有各种各样,其中输入密码是最常见的。 [0003] In the prior art there have been a variety of ways for a security lock and unlock the smart devices, in which the password is the most common. 然而,密码只要是用软件设置和生成的,总是可以通过各种方式来破解掉的,所以安全性是有待考量的。 However, as long as the password is set and generated by software, you can always break out in various ways, so security is considered to be of.

[0004]鉴于以上原因,提供一种对解锁的过程采用分级分权限进行控制,并且在较高权限状态下让硬件芯片参与解锁过程的智能设备及其解锁方法实属必要。 [0004] For these reasons, there is provided a hierarchical sub-rights to control the process to unlock, and let the hardware chip involved in smart devices and unlock method to unlock the process it is necessary in a highly privileged status.

发明内容 SUMMARY

[0005] 鉴于以上所述现有技术的缺点,本发明的目的在于提供一种智能设备及其解锁方法,用于解决现有技术中采用输入密码进行解锁的方式安全性不够理想的问题。 [0005] In view of the foregoing disadvantages of the prior art, an object of the present invention to provide apparatus and method for unlocking an intelligent, safety solutions for the prior art using the password to unlock the problem is not ideal.

[0006] 为实现上述目的及其他相关目的,本发明提供一种智能设备的解锁方法,所述解锁方法包括以下步骤:步骤S1,设定普通级解锁密码,并基于所述普通级解锁密码通过复杂可编程逻辑器件做加密运算后生成芯片级解锁密码;步骤S2,输入普通级解锁密码,判断输入的普通级解锁密码与设定的普通级解锁密码是否匹配,若匹配,则完成普通级解锁并切换至解锁状态,若不匹配次数超过预设次数,则转入步骤S3;步骤S3,输入芯片级解锁密码, 判断输入的芯片级解锁密码与生成的芯片级解锁密码是否匹配,若匹配,则完成芯片级解锁并切换至解锁状态,若不匹配次数超过预设次数,则转入步骤S4;步骤S4,采用外部设备进行智能设备的外部设备级解锁。 [0006] To achieve the above objects and other related objects, the present invention provides an intelligent method for unlocking device, said unlocking method comprising the steps of: step S1, the general level set password to unlock and unlock code based on the normal level by complex programmable logic device generating the chip-level encryption algorithms do unlock code; normal normal levels to unlock password to unlock password set level step S2, the input common levels to unlock the password, determining whether the input match, if match, the general level unlock completion and switch to the unlocked state, if the number of matches exceeds a preset number of times, the process proceeds to step S3; step S3, the chip-level unlock code input, determines whether the input password to unlock the chip-level chip scale generated unlock code match, if match, chip level is completed and switched to the unlocked state to unlock, if the number of matches exceeds a preset number of times, the process proceeds to step S4; step S4, the external device external to unlock the device level intelligent devices.

[0007] 优选地,所述复杂可编程逻辑器件通过SPI接口与智能设备的主CPU相连,其预先烧录有逻辑固件,并可通过与之相连的智能设备主CPU通过SPI接口更新其内部的逻辑固件。 [0007] Preferably, the complex programmable logic device via the host CPU interface SPI intelligent devices are connected, the firmware pre-programmed logic, and the interface by updating its internal SPI intelligent device connected thereto by the main CPU logic firmware.

[0008] 优选地,所述普通级解锁、芯片级解锁、及外部设备级解锁所对应的智能设备权限依次递增。 [0008] Preferably, the normal levels to unlock, unlock the chip level, and the external device corresponding to the unlocking level intelligent device permissions ascending order.

[0009] 优选地,步骤S4采用正确的外部设备完成智能设备的外部设备级解锁后,则重新执行步骤S1〜步骤S4。 After [0009] Preferably, the step of unlocking the device level S4 external equipment to complete the correct external intelligent device, then perform steps S1~ step S4.

[0010] 优选地,所述外部设备包括与智能设备唯一匹配的USB接口解锁设备,其通过与智能设备通讯,让智能设备获得的解锁码并进行解锁。 [0010] Preferably, the external device includes a unique smart device to unlock the device matching USB interface, which is unlocked by intelligent communications device, so that the smart device and unlock code obtained.

[0011]本发明还提供一种智能设备,所述智能设备包括:设定模块,用于设定普通级解锁密码,并基于所述普通级解锁密码通过复杂可编程逻辑器件做加密运算后生成芯片级解锁密码;普通级解锁模块,用于输入普通级解锁密码,判断输入的普通级解锁密码与设定的普通级解锁密码是否匹配,并在匹配时,完成普通级解锁并切换至解锁状态;芯片级解锁模块,用于在输入的普通级解锁密码与设定的普通级解锁密码不匹配超过预设次数后,输入芯片级解锁密码,判断输入的芯片级解锁密码与生成的芯片级解锁密码是否匹配,并在匹配时,完成芯片级解锁并切换至解锁状态;外部设备级解锁模块,用于在输入的芯片级解锁密码与生成的芯片级解锁密码不匹配次数超过预设次数后,采用外部设备进行智能设备的外部设备级解锁。 [0011] The present invention also provides a smart device, said smart device comprising: a setting module for setting a password to unlock the normal level, the normal level based on the password to unlock the encryption computation done by generating a complex programmable logic device chip-level unlock code; general level unlocking module for inputting a general level the unlock code, unlock code and the general level of the set determines the general level unlock code input match, and when the match is completed and switched to normal levels to unlock the unlock state ; unlocking module chip level, after a preset number of times exceeding a mismatch in the general level of ordinary unlock password setting input stage unlock code, unlock code input chip-level, chip-level input is determined and generated unlock code to unlock the chip level passwords match, and when the match is completed chip-level and switched to the unlock unlocked state; stage external device unlocking module for unlocking the password generated in the chip-level chip-level input password does not match the unlock times exceeds a preset number, external device external device level to unlock the smart device.

[0012] 优选地,所述复杂可编程逻辑器件通过SPI接口与智能设备的主CPU相连,其预先烧录有逻辑固件,并可通过与之相连的智能设备主CPU通过SPI接口更新其内部的逻辑固件。 [0012] Preferably, the complex programmable logic device via the host CPU interface SPI intelligent devices are connected, the firmware pre-programmed logic, and the interface by updating its internal SPI intelligent device connected thereto by the main CPU logic firmware.

[0013] 优选地,所述普通级解锁、芯片级解锁、及外部设备级解锁所对应的智能设备权限依次递增。 [0013] Preferably, the normal levels to unlock, unlock the chip level, and the external device corresponding to the unlocking level intelligent device permissions ascending order.

[00M]优选地,所述外部设备级解锁模块包括与智能设备唯一匹配的USB接口解锁设备, 其通过与智能设备通讯,让智能设备获得的解锁码并进行解锁。 [00M] Preferably, the external device level intelligent device unlocking module includes a unique matching USB interface unlock the device by intelligent communications device, so that the obtained intelligent devices and unlock code to unlock.

[0015]如上所述,本发明的智能设备及其解锁方法,对智能设备的解锁的过程进行分阶段分权限进行控制,并且在较高权限以及最高权限的时候,通过硬件芯片CPLD (复杂可编程逻辑器件)以及外部设备来参与解锁,从而让智能设备的使用更加安全可靠。 [0015] As described above, the smart device and the unlocking method of the present invention, a process to unlock the smart device control phased sub-rights and permissions and higher when the highest authority, by hardware chip CPLD (complex can programmable logic devices) and external devices to participate unlocked, allowing the use of smart devices more secure.

附图说明 BRIEF DESCRIPTION

[0016]图1显示为本发明的智能设备的解锁方法的一种实施方式流程图。 [0016] FIG. 1 shows a flowchart of an embodiment of the unlocking method of the present invention the smart device.

[0017] 图2显示为本发明的智能设备的解锁方法的三个解锁阶段关系转换示意图。 [0017] Figure 2 shows the relationship between three stages unlocking method for unlocking a smart conversion apparatus of the present invention, FIG.

[0018] 图3显示为本发明的解锁方法对智能设备硬件的改进示意图。 [0018] FIG. 3 shows a schematic view of an improved smart device hardware unlocking method of the present invention.

[0019]图4显示为本发明的智能设备的结构框图。 [0019] FIG. 4 shows a block diagram of the intelligent device of the present invention.

[0020] 元件标号说明 [0020] DESCRIPTION OF REFERENCE NUMERALS element

[0021] 2 智能设备 [0021] 2 smart devices

[0022] 21 设定模块 [0022] The setting module 21

[0023] 22 普通级解锁模块 [0023] The general level unlocking module 22

[0024] 23 芯片级解锁模块 [0024] 23 chip-level unlocking module

[0025] 24 外部设备级解锁模块 [0025] 24 external device unlocking module level

[0026] S101 〜S110 步骤 [0026] S101 ~S110 step

具体实施方式 Detailed ways

[0027] 以下通过特定的具体实例说明本发明的实施方式,本领域技术人员可由本说明书所揭露的内容轻易地了解本发明的其他优点与功效。 [0027] Hereinafter, an embodiment of the present invention by certain specific examples, those skilled in the art disclosed in this specification may readily understand the content of other advantages and effects of the present invention. 本发明还可以通过另外不同的具体实施方式加以实施或应用,本说明书中的各项细节也可以基于不同观点与应用,在没有背离本发明的精神下进行各种修饰或改变。 The present invention may also be implemented or applied through other different specific embodiments, the details of the specification may be carried out in various modified or changed without departing from the spirit of the invention based on various concepts and applications. 需说明的是,在不冲突的情况下,以下实施例及实施例中的特征可以相互组合。 It is noted that, in the case of no conflict, the embodiments and the features in the embodiments may be combined with each other.

[0028]需要说明的是,以下实施例中所提供的图示仅以示意方式说明本发明的基本构想,遂图式中仅显示与本发明中有关的组件而非按照实际实施时的组件数目、形状及尺寸绘制,其实际实施时各组件的型态、数量及比例可为一种随意的改变,且其组件布局型态也可能更为复杂。 [0028] Incidentally, the following embodiment illustrates a schematic manner only examples provided to illustrate the basic idea of ​​the invention, then not only the drawings show a practical embodiment when the number of components associated with the assembly according to the present invention, , the shape and size of the drawing, each component type, number and proportion can be arbitrary changed as a practical embodiment thereof, and the layout of the components may also be more complex patterns.

[0029] 本发明提供一种智能设备及其解锁方法,于本实施例中,所述智能设备例如为智能手机、平板电脑等便携式电子设备,所述智能设备包含的硬件包括CPU (中央处理器),存储器(例如为FLASH存储器),重力感应装置,加速传感器,麦克风,扬声器,触摸显示屏(亦称触敏显示屏或触控显示屏),播放器,音频电路,无线通信模块,系统总线以及输入输出端口等。 [0029] The present invention provides an apparatus and method for unlocking a smart, in the present embodiment, the smart devices, for example, includes a CPU (central processing unit as smart phones, tablet computers and other portable electronic devices, the hardware of the smart device comprising ), a memory (for example, FLASH memory), gravity sensors, an acceleration sensor, a microphone, a speaker, a touch screen (also known as touch sensitive display screen or touch screen), the player, an audio circuit, a wireless communication module, a system bus and input and output ports.

[0030]请参阅图1〜图3,图2显示为本发明的智能设备的解锁方法的3个解锁阶段关系转换示意图,本发明的解锁方法分为3个阶段:普通级解锁,芯片级解锁,以及外部设备级解锁,这三个解锁段分别对应于3种不同的权限:普通权限,较高权限,以及最高权限。 [0030] Please refer to FIG. 1 ~ 3, FIG. 2 shows three unlocking phase relationship of the unlocking method of the present invention, the intelligent conversion apparatus schematic unlocking method of the present invention is divided into three stages: normal levels to unlock, unlock the chip level and the external device levels to unlock, unlock the three segments correspond to three different permissions: ordinary authority, a higher authority, as well as the highest authority. 首先智能设备处于普通权限下的普通级解锁阶段,当输入的普通芯片级解锁密码不匹配超过预设次数,则切换至较高权限下的芯片级解锁阶段,当输入的芯片级解锁密码不匹配超过预设次数,则需要采用外部设备进行强制解锁,当进行强制解锁后,智能设备切换至普通权限下的普通级解锁阶段。 First of all smart devices in general levels to unlock the next stage of the ordinary authority, when the input of ordinary unlock password does not match the chip level exceeds a preset number of times, then switch to the chip level to unlock the next stage of higher authority, when the chip does not match the levels to unlock password input exceeds a preset number of times, you need to use an external device to force unlock, when forced to unlock the smart device is switched to the normal levels to unlock the next stage of the ordinary rights.

[0031]图3显示为本发明的解锁方法对智能设备硬件的改进示意图,本发明需要在智能设备中增加一个CPLD (复杂可编程逻辑器件)芯片,该CPLD芯片与手机主CPU采用SPI接口的方式相连,CPLD中的逻辑固件预先烧录好,并且可以通过与之相连的手机主CPU通过SPI接口,更新其内部的逻辑固件。 [0031] FIG. 3 shows a schematic view of an improved smart device hardware unlocking method of the present invention, the present invention requires adding a CPLD (complex programmable logic device) chip in a smart device, the mobile phone main CPLD chip CPU with SPI interface connected mode, the logic of the firmware pre-burn a CPLD, and the main CPU can phone connected thereto via the SPI interface, the firmware update its internal logic.

[0032]图1显示为本发明的智能设备的解锁方法的一种实施方式流程图,如图所示,所述解锁方法包括以下步骤: [0032] FIG. 1 shows one embodiment of the unlocking method of the present invention, the smart device flowchart shown in FIG., The unlocking method comprising the steps of:

[0033]步骤S101,设定普通级解锁密码。 [0033] step S101, setting the general level unlock code. 在本实施例中,智能设备的触摸屏切换至设定普通级解锁密码界面,用户可通过如数字密码、手势密码等方式进行密码设定,所设定的普通级解锁密码将被存储至智能设备的存储器内。 In the present embodiment, the smart device touch screen switch to the setting of normal levels to unlock the password screen, the user password can be set by the digital code, gesture password, etc., the set normal level unlock code will be stored to the smart device the internal memory.

[0034]步骤Sl〇2,基于所述普通级解锁密码通过复杂可编程逻辑器件做加密运算后生成芯片级解锁密码。 [0034] Step Sl〇2, based on the general level unlock code to unlock password generation chip-level encryption computation is done by a complex programmable logic device. 在本实施例中,所述复杂可编程逻辑器件在接收到用户设定的普通级解锁密码后,对其进行加密运算后生成一芯片级解锁密码,该芯片级解锁密码可以为如数字密码、手势密码等,并通过智能设备的触摸屏显示给用户,以便用户进行记忆。 In the present embodiment, the complex programmable logic device to a normal level after receiving the unlock password set by the user, after its cryptographic operations generate a chip-level unlock password, the password may unlock the chip-level digital code, gesture password, and through smart devices touch screen display to the user for the user to remember. 具体地,该芯片级解锁密码仅在用户设定好普通级解锁密码后显示一次。 Specifically, the chip-level password to unlock the display only after the user has set up a password to unlock the ordinary level.

[0035]步骤S103,让智能设备进入普通权限下的普通级解锁阶段。 [0035] step S103, let smart devices into the general levels to unlock the next stage of the ordinary rights. 即让智能设备的显示界面进入到普通级解锁界面,以便用户输入密码。 That allows intelligent devices into a common display interface to unlock the interface level, so that the user enter a password.

[0036]步骤S104,输入普通级解锁密码,判断输入的普通级解锁密码与设定的普通级解锁密码是否匹配。 [0036] Step S104, the input common levels to unlock code, determines whether the input password to unlock the general level of the ordinary level unlock password matches the set. 在本实施例中,用户通过触摸屏进行普通级解锁密码的输入,输入后,判断输入的密码与存储器存储的普通级解锁密码是否一致,若一致,则判定为匹配,进入步骤S105,若不一致,则判定为不匹配,进入步骤S106。 In the present embodiment, the user via the touch screen input common levels to unlock password, the input, determines whether the input password stored in the memory ordinary level unlock code are the same, if they are consistent, it is determined that matches that of the step S105, if not, it is determined not to match, it proceeds to step S106.

[0037]步骤Sl〇5,若用户输入的普通级解锁密码匹配,则完成普通级解锁并将智能设备切换至普通权限下的普通级解锁状态。 [0037] Step Sl〇5, if the general level matches the unlock code entered by the user is completed and normal levels to unlock the smart device to switch to the normal level in the normal unlock state authority.

[0038] ^骤S106,若用户输入的普通级解锁密码不匹配次数超过预设次数,则让智能设备^入较高权限下的芯片级解锁阶段。 [0038] ^ step S106, if the general level to unlock the user-entered password does not match the number exceeds a preset number of times, let ^ smart devices into chip-level to unlock the next stage of higher authority. 具体地,用户输入的普通级解锁密码若匹配失败,则提示错误1次。 Specifically, general levels to unlock password entered by the user if the match fails, an error once. 在本实施例中,所述预设次数为3-5次,在一个具体实施过程中,所述预设次数为3次。 In the present embodiment, the predetermined number of 3-5, in a particular embodiment of the process, the preset number of times is three times. 本实施例对普通级解锁匹配次数进行了设定,超过该预设次数范围,则停止普通级解锁阶段进入更高权限下的芯片级解锁阶段,可以避免该智能设备中存储的用户资料被非法泄露或窃取。 This embodiment ordinary levels to unlock the number of matches have been set, the number exceeds the preset range, stop the stage to ordinary levels to unlock the chip level to unlock the next stage of higher authority, to avoid user data stored on the smart device is illegal leakage or theft.

[0039]步骤S107,输入芯片级解锁密码,判断输入的芯片级解锁密码与生成的芯片级解锁密码是否匹配。 [0039] In step S107, the chip-level unlock code input, determines whether the input password to unlock the chip-level chip scale generated unlock code matches. 在本实施例中,用户通过触摸屏进行芯片级解锁密码的输入,输入后,判断输入的密码与存储器存储的芯片级解锁密码是否一致,若一致,则判定为匹配,进入步骤S108,若不一致,则判定为不匹配,进入步骤S109。 In the present embodiment, the user via the touch screen chip level unlatch input password, enter, determines whether the input chip-level password stored in the memory unlock code are the same, if they are consistent, it is determined that the match proceeds to step S108, if not, it is determined not to match, it proceeds to step S109.

[0040]步骤S108,若用户输入的芯片级解锁密码匹配,则完成芯片级解锁并将智能设备切换至较高权限下的芯片级解锁状态。 [0040] Step S108, when the user inputs the unlock password matches the chip level, the unlocking is completed and the chip-level chip-level intelligent device to the unlock state at the higher authority.

[0041]步骤Sl〇9,若用户输入的芯片级解锁密码不匹配次数超过预设次数,让智能设备进入最高权限下的外部设备级解锁阶段。 [0041] Step Sl〇9, if the user enters a password to unlock the chip level does not match the number exceeds a preset number of times, let smart devices into the external device level to unlock the next phase of the highest authority. 具体地,用户输入的芯片级解锁密码若匹配失败, 则提示错误1次。 Specifically, the user enters the password to unlock the chip level if the match fails, an error once. 在本实施例中,所述预设次数为3-5次,在一个具体实施过程中,所述预设次数为3次。 In the present embodiment, the predetermined number of 3-5, in a particular embodiment of the process, the preset number of times is three times. 本实施例对芯片级解锁的匹配次数进行了设定,超过该预设次数范围,则停止芯片级解锁阶段进入更高权限下的外部设备级解锁阶段,可以避免该智能设备中存储的用户资料被非法泄露或窃取。 Profile matching the number of times of the present embodiment is unlocked chip-level setting, the number exceeds the predetermined range, stopping the chip level unlocking phase into the external device at a higher level authority unlocking phase, it can be avoided in the intelligent memory device He was illegally leaked or stolen.

[0042]步骤S110,采用外部设备进行智能设备的外部设备级解锁。 [0042] In step S110, the external device external to unlock the device level intelligent devices. 在本实施例中,所述外部设备包括与智能设备唯一匹配的USB接口解锁设备,如USB硬件狗,其通过与智能设备通讯,让智能设备获得的解锁码并进行解锁,采用正确的外部设备完成智能设备的外部设备级解锁后,则智能设备重新切换至步骤S101,并按照步骤S101〜步骤S110重新进行解锁操作。 In the present embodiment, the external device includes a unique smart device matching USB interface unlock the device, such as a USB dongle, and by intelligent communications equipment, smart devices so obtained unlock code and unlock the correct external device after completion of the external device level intelligent device is unlocked, the smart devices switch back to step S101, and S110 and following the procedure of re-unlocking operation S101~ step. 另外,如果智能设备附带的匹配的USB接口解锁设备(如USB硬件狗)丢失,并且智能设备处于最高权限下的外部设备解锁阶段,则需要到智能设备厂商的特约维修点用万能硬件狗进行智能设备的解锁。 In addition, if the matching USB interface to unlock the device smart device that comes with (such as USB hardware dongle) is lost, and the smart device is an external device to unlock the next phase of the highest authority, it needs to smart device manufacturers special maintenance intelligently with universal hardware dog unlocking the device.

[0043]本发明还提供一种智能设备2,在本实施例中,所述智能设备2例如为智能手机、平板电脑等便携式智能设备,所述智能设备2包含的硬件包括CPU (中央处理器),存储器(例如为FLASH存储器),重力感应装置,加速传感器,麦克风,扬声器,触摸显示屏(亦称触敏显示屏),播放器,音频电路,无线通信模块,系统总线以及输入输出端口等。 [0043] The present invention also provides an intelligent device 2, in the present embodiment, the smart device 2 as smart phones, tablet computers and other portable smart device, said smart device 2, for example, comprising hardware including CPU (Central Processing ), a memory (for example, FLASH memory), gravity sensors, an acceleration sensor, a microphone, a speaker, a touch screen (also known as a touch sensitive display), the player, an audio circuit, a wireless communication module, a system bus and input and output ports .

[0044]图3显示为本发明的智能设备2在硬件上的改进示意图,本发明需要在智能设备2 中增加一个CPLD (复杂可编程逻辑器件)芯片,该CPLD芯片与手机主CPU采用SPI接口的方式相连,CPLD中的逻辑固件预先烧录好,并且可以通过与之相连的手机主CPU通过SPI接口,更新其内部的逻辑固件。 [0044] FIG. 32 is a schematic view of the present invention, the smart device improved in display hardware, the present invention requires adding a CPLD (Complex Programmable Logic Device) chip 2 in the intelligent device, and the mobile phone main CPLD chip CPU SPI Interface connected mode, the logic of the firmware pre-burn a CPLD, and the main CPU can phone connected thereto via the SPI interface, the firmware update its internal logic.

[0045]如图4所示,在本实施例中,所述智能设备2包括:设定模块21、普通级解锁模块22、 芯片级解锁模块23、以及外部设备级解锁模块24,所述普通级解锁模块22、芯片级解锁模块23、以及外部设备级解锁模块24对应的智能设备权限依次递增,分别对应于智能设备的普通权限、较高权限以及最高权限。 [0045] As shown in FIG. 4, in the present embodiment, the smart device 2 comprising: a setting module 21, the general level unlocking module 22, chip-level unlocking module 23, and an external device unlocking module stage 24, the normal 22 levels to unlock module chip module 23 levels to unlock, and intelligent device permissions external equipment levels to unlock the corresponding module 24 in ascending order, correspond to the general authority of smart devices, as well as the highest authority higher authority.

[0046] 所述设定模块21用于设定普通级解锁密码,并基于所述普通级解锁密码通过复杂可编程逻辑器件做加密运算后生成芯片级解锁密码。 [0046] The setting module 21 for setting a password to unlock the ordinary level, based on the generated chip-level and the normal level after the unlock code to unlock the encryption computation made by a complex programmable logic device password.

[0047]在本实施例中,智能设备的设定模块可基于触摸屏实现,首先将触摸屏切换至设定普通级解锁密码界面,用户可通过如数字密码、手势密码等方式进行密码设定,所设定的普通级解锁密码将被存储至智能设备的存储器内。 [0047] In the present embodiment, the setting module may be based on the intelligent device to achieve a touch screen, the touch screen is first switched to normal levels to unlock password setting screen, the user password can be set by the digital code, gesture password, etc., the set the general level unlock code will be stored into the memory of smart devices. 所述复杂可编程逻辑器件在接收到用户设定的普通级解锁密码后,对其进行加密运算后生成一芯片级解锁密码,该芯片级解锁密码可以为如数字密码、手势密码等,并通过智能设备的触摸屏显示给用户,以便用户进行记忆。 The complex programmable logic device to a normal level after receiving the unlock password set by the user, after its cryptographic operations generate a chip-level unlock password, the password may unlock the chip-level digital password, password and other gestures, and by smart devices touch screen display to the user for the user to remember. 具体地,该芯片级解锁密码仅在用户设定好普通级解锁密码后显示一次。 Specifically, the chip-level password to unlock the display only after the user has set up a password to unlock the ordinary level.

[0048] 所述普通级解锁模块22用于输入普通级解锁密码,判断输入的普通级解锁密码与设定的普通级解锁密码是否匹配,并在匹配时,完成普通级解锁并切换至解锁状态。 [0048] The general level unlocking module 22 for inputting a general level the unlock code, unlock code and the general level of the set determines the general level unlock code input match, and when the match is completed and switched to normal levels to unlock the unlock state .

[0049]在本实施例中,在本实施例中,用户通过触摸屏进行普通级解锁密码的输入,输入后,判断输入的密码与存储器存储的普通级解锁密码是否一致,若一致,则判定为匹配,则完成普通级解锁并将智能设备切换至普通权限下的普通级解锁状态,若用户输入的普通级解锁密码不匹配次数超过预设次数,则让智能设备进入较高权限下的芯片级解锁阶段。 [0049] In the present embodiment, in the present embodiment, the user input common levels to unlock password via the touch screen, the input common levels to unlock password determines whether the input password stored in the memory are the same, if they are consistent, it is determined match, complete and intelligent ordinary levels to unlock the device switches to the normal levels to unlock state under ordinary privileges, if the general level to unlock the user-entered password does not match the number exceeds a preset number of times, let smart devices into the chip at a higher privilege level unlocking phase. 具体地,用户输入的普通级解锁密码若匹配失败,则提示错误1次。 Specifically, general levels to unlock password entered by the user if the match fails, an error once. 在本实施例中,所述预设次数为3_5次,在一个具体实施过程中,所述预设次数为3次。 In the present embodiment, the predetermined number of times is 3_5, in a particular embodiment of the process, the preset number of times is three times. 本实施例对普通级解锁匹配次数进行了设定,超过该预设次数范围,则停止普通级解锁阶段进入更高权限下的芯片级解锁阶段,可以避免该智能设备中存储的用户资料被非法泄露或窃取。 This embodiment ordinary levels to unlock the number of matches have been set, the number exceeds the preset range, stop the stage to ordinary levels to unlock the chip level to unlock the next stage of higher authority, to avoid user data stored on the smart device is illegal leakage or theft.

[0050]所述芯片级解锁模块23用于在输入的普通级解锁密码与设定的普通级解锁密码不匹配超过预设次数后,输入芯片级解锁密码,判断输入的芯片级解锁密码与生成的芯片级解锁密码是否匹配,并在匹配时,完成芯片级解锁并切换至解锁状态。 After [0050] the chip level for unlocking module 23 does not match the preset number of times than in the general level of ordinary unlock code input stage unlock password set unlock code input chip-level, chip-level input is determined and generated unlock code chip-level unlock code matches, and matching finish and chip-level unlock switch to the unlocked state.

[0051]在本实施例中,用户通过触摸屏进行芯片级解锁密码的输入,输入后,判断输入的密码与存储器存储的芯片级解锁密码是否一致,若一致,则判定为匹配,则完成芯片级解锁并将智能设备切换至较高权限下的芯片级解锁状态。 [0051] In the present embodiment, the user after the chip-level unlock password is input, determines whether the input password stored in the memory chip level unlock code is consistent through the touch screen, if they are consistent, it is determined that the match is completed chip level unlock and smart chip-level device to switch to the unlocked state of higher authority. 若用户输入的芯片级解锁密码不匹配次数超过预设次数,让智能设备进入最高权限下的外部设备级解锁阶段。 If the user enters the password to unlock the chip level does not match the number exceeds a preset number of times, let smart devices into the external device level to unlock the next phase of the highest authority. 具体地,用户输入的芯片级解锁密码若匹配失败,则提示错误1次。 Specifically, the user enters the password to unlock the chip level if the match fails, an error once. 在本实施例中,所述预设次数为3-5次,在一个具体实施过程中,所述预设次数为3次。 In the present embodiment, the predetermined number of 3-5, in a particular embodiment of the process, the preset number of times is three times. 本实施例对芯片级解锁的匹配次数进行了设定,超过该预设次数范围,则停止芯片级解锁阶段进入更高权限下的外部设备级解锁阶段, 可以避免该智能设备中存储的用户资料被非法泄露或窃取。 Profile matching the number of times of the present embodiment is unlocked chip-level setting, the number exceeds the predetermined range, stopping the chip level unlocking phase into the external device at a higher level authority unlocking phase, it can be avoided in the intelligent memory device He was illegally leaked or stolen.

[0052]所述外部设备级解锁模块24用于在输入的芯片级解锁密码与生成的芯片级解锁密码不匹配次数超过预设次数后,采用外部设备进行智能设备的外部设备级解锁。 [0052] The external device unlocking module stage 24 for unlocking the chip-level password generated unlock code at the chip level input does not match the number of times exceeds a preset number, an external device external to unlock the device level intelligent devices.

[0053]在本实施例中,所述外部设备包括与智能设备唯一匹配的USB接口解锁设备,如USB硬件狗,其通过与智能设备通讯,让智能设备获得的解锁码并进行解锁,采用正确的外部设备完成智能设备的外部设备级解锁后,则智能设备重新切换至普通权限下的普通级解锁状态,并提不用户重新设定普通级解锁密码。 [0053] In the present embodiment, the external device includes a unique smart device matching USB interface unlock the device, such as a USB dongle, and by intelligent communications equipment, smart devices so obtained unlock code and unlock the correct after completion of the external device external device level intelligent device is unlocked, the smart device switching back to the normal level in the normal unlock state authority, and not to mention ordinary level reset user password to unlock. 另外,如果智能设备附带的匹配的USB接口解锁设备(如USB硬件狗)丢失,并且智能设备处于最高权限下的外部设备解锁阶段,则需要到智能设备厂商的特约维修点用万能硬件狗进行智能设备的解锁。 In addition, if the matching USB interface to unlock the device smart device that comes with (such as USB hardware dongle) is lost, and the smart device is an external device to unlock the next phase of the highest authority, it needs to smart device manufacturers special maintenance intelligently with universal hardware dog unlocking the device.

[0054]如上所述,本发明的智能设备及其解锁方法,对智能设备的解锁的过程进行分阶段分权限进行控制,并且在较高权限以及最高权限的时候,通过硬件芯片CPLD (复杂可编程逻辑器件)以及外部设备来参与解锁,从而让智能设备的使用更加安全可靠。 [0054] As described above, the smart device and the unlocking method of the present invention, a process to unlock the smart device control phased sub-rights and permissions and higher when the highest authority, by hardware chip CPLD (complex can programmable logic devices) and external devices to participate unlocked, allowing the use of smart devices more secure. 所以,本发明有效克服了现有技术中的种种缺点而具高度产业利用价值。 Therefore, the present invention effectively overcomes the drawbacks of the prior art and with a high degree of value industry. 上还头酬謂祕_雜_廳減前,_^熟-悉此技术的人士皆可在不违背本发明的精神及范畴下,对上述实施例进行修饰或改变。 The first reward is also called secret _ _ hall before Save heteroaryl, cooked _ ^ - those noted can be made at this art without departing from the spirit and scope of the present invention, the above-described embodiments can be modified or changed. g 此,举凡所属技术领域中具有通常知识者在未脱离本发明所揭示的精神与技术思想下所完成的一切等效修饰或改变,仍应由本发明的权利要求所涵盖。 g This covered the art in the art having ordinary knowledge in all the technical ideas and spirit of the present invention is disclosed without departing from the completed equivalent modified or altered, yet the claims shall be encompassed by the present invention.

Claims (8)

1.一种智能设备的解锁方法,其特征在于,在智能设备中增加一个CPLD芯片,该CPLD芯片与手机主CPU采用SPI接口的方式相连,CPLD中的逻辑固件预先烧录好,并且可以通过与之相连的手机主CPU通过SPI接口,更新其内部的逻辑固件;所述解锁方法包括以下步骤: 步骤SI,设定普通级解锁密码,并基于所述普通级解锁密码通过复杂可编程逻辑器件做加密运算后生成芯片级解锁密码; 步骤S2,输入普通级解锁密码,判断输入的普通级解锁密码与设定的普通级解锁密码是否匹配,若匹配,则完成普通级解锁并切换至解锁状态,若不匹配次数超过预设次数,则转入步骤S3; 步骤S3,输入芯片级解锁密码,判断输入的芯片级解锁密码与生成的芯片级解锁密码是否匹配,若匹配,则完成芯片级解锁并切换至解锁状态,若不匹配次数超过预设次数,则转入步骤S4: 步骤S4,采用复 CLAIMS 1. A method for unlocking a smart device, wherein, to increase a smart chip device CPLD, coupled to the mobile phone main CPLD chip CPU with SPI interface mode, the logic of the firmware pre-burn a CPLD, and can be phone main CPU connected thereto via the SPI interface, its internal firmware update logic; unlocking said method comprising the following steps: the SI, the general level set unlock code, based on the normal level unlocking password by complex programmable logic device after doing generate on-chip encryption computation unlock code; normal normal levels to unlock password to unlock password set level step S2, the input common levels to unlock the password, determining whether the input matches, if the matching is completed and switched to normal levels to unlock the unlock state , if the number of matches exceeds a preset number of times, the process proceeds to step S3; step S3, the chip-level unlock code input, determines whether the input password to unlock the chip-level chip scale generated unlock code match, if match, the chip-level unlock completion and switch to the unlocked state, if the number of matches exceeds a preset number of times, the process proceeds to step S4: step S4, using a complex 可编程逻辑器件以及外部设备进行智能设备的外部设备级解锁; 步骤S4采用正确的外部设备完成外部设备级解锁后,则原来的普通级解锁密码及芯片级解锁密码失效,并重新执行步骤SI〜步骤S4。 Programmable logic device and an external device external device level intelligent device unlocked; Step S4 external device with the correct levels to unlock the external device is completed, the original normal level and chip-level unlock code to unlock the password expires, and re-executes step SI~ step S4.
2.根据权利要求1所述的智能设备的解锁方法,其特征在于:所述复杂可编程逻辑器件通过SPI接口与智能设备的主CPU相连,其预先烧录有逻辑固件,并可通过与之相连的智能设备主CHJ通过SPI接口更新其内部的逻辑固件。 The unlocking method according to claim 1 smart device, wherein: the CPLD through the main CPU SPI interface connected to a smart device, which is pre-programmed logic, firmware, and through therewith CHJ intelligent apparatus main firmware update logic coupled to the interface through its internal SPI.
3. 根据权利要求1所述的智能设备的解锁方法,其特征在于:所述普通级解锁、芯片级解锁、及外部设备级解锁所对应的智能设备权限依次递增。 The unlocking method according to claim 1 smart device, wherein: the normal levels to unlock, unlock the chip level, and the external device corresponding to the unlocking level intelligent device permissions ascending order.
4. 根据权利要求1所述的智能设备的解锁方法,其特征在于:所述外部设备包括与智能设备唯一匹配的USB接口解锁设备,其通过与智能设备通讯,让智能设备获得的解锁码并进行解锁。 The unlocking method according to claim 1 smart device, wherein: said external device comprises a matching unique smart device USB interface unlock the device by intelligent communications device, so that the smart device and unlock code obtained to unlock.
5. —种智能设备,其特征在于,所述智能设备包括: 设定模块,用于设定普通级解锁密码,并基于所述普通级解锁密码通过复杂可编程逻辑器件做加密运算后生成芯片级解锁密码: 普通级解锁模块,用于输入普通级解锁密码,判断输入的普通级解锁密码与设定的普通级解锁密码是否匹配,并在匹配时,完成普通级解锁并切换至解锁状态; 芯片级解锁模块,用于在输入的普通级解锁密码与设定的普通级解锁密码不匹配超过预设次数后,输入芯片级解锁密码,判断输入的芯片级解锁密码与生成的芯片级解锁密码是否匹配,并在匹配时,完成芯片级解锁并切换至解锁状态: 外部设备级解锁模块,用于在输入的芯片级解锁密码与生成的芯片级解锁密码不匹配次数超过预设次数后,采用外部设备进行智能设备的外部设备级解锁。 5. - kind of intelligent device, characterized in that, said smart device comprising: a setting module for setting a password to unlock the normal level, and generates the encryption operation by the chip to make a complex programmable logic device unlock code based on the normal level level unlock code: ordinary level unlocking module for inputting a general level the unlock code, unlock code determines the general level of the input common levels to unlock password matches the set, and when the match is completed and switched to normal levels to unlock the unlocked state; after normal levels to unlock code chip level unlocking means for unlocking the general level of the input password does not match the set of more than a preset number, unlock code input chip-level, chip-scale determines whether the input password to unlock the generated unlock code chip level match, and when the match is completed chip-level and switched to the unlocked state to unlock: grade external device unlocking module for unlocking the password generated in the chip of the chip-level input stage to unlock the password does not match the number exceeds the preset number of times, using external devices smart devices external equipment levels to unlock.
6. 根据权利要求5所述的智能设备,其特征在于:所述复杂可编程逻辑器件通过SPI 接口与智能设备的主CPU相连,其预先烧录有逻辑固件,并可通过与之相连的智能设备主CPU通过SPI接口更新其内部的逻辑固件。 Smart device according to claim 5, wherein: the CPLD through the main CPU SPI interface connected to a smart device, which is pre-programmed logic, firmware, and connected thereto by intelligent apparatus main CPU interface logic to update its internal firmware, by SPI.
7. 根据权利要求5所述的智能设备,其特征在于:所述普通级解锁、芯片级解锁、及外部设备级解锁所对应的智能设备权限依次递增。 Smart device according to claim 5, characterized in that: the normal levels to unlock, unlock the chip level, and the external device corresponding to the unlocking level intelligent device permissions ascending order.
8. 根据权利要求5所述的智能设备,其特征在于:所述外部设备级解锁模块包括与智能设备唯一匹配的USB接口解锁设备,其通过与智能设备通讯,让智能设备获得的解锁码并进行解锁。 Smart device according to claim 5, wherein: said external device level intelligent device unlocking module includes a unique matching USB interface unlock the device by intelligent communications device, so that the smart device and unlock code obtained to unlock.
CN201510264595.6A 2015-05-22 2015-05-22 An intelligent device and unlock method CN104820795B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510264595.6A CN104820795B (en) 2015-05-22 2015-05-22 An intelligent device and unlock method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510264595.6A CN104820795B (en) 2015-05-22 2015-05-22 An intelligent device and unlock method

Publications (2)

Publication Number Publication Date
CN104820795A CN104820795A (en) 2015-08-05
CN104820795B true CN104820795B (en) 2018-10-12

Family

ID=53731090

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510264595.6A CN104820795B (en) 2015-05-22 2015-05-22 An intelligent device and unlock method

Country Status (1)

Country Link
CN (1) CN104820795B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102708324A (en) * 2012-05-16 2012-10-03 惠州Tcl移动通信有限公司 Screen locker unlocking system and method
CN102830932A (en) * 2012-08-17 2012-12-19 东莞宇龙通信科技有限公司 Terminal and method for automatically switching unlocking patterns of terminal
CN102833423A (en) * 2012-09-24 2012-12-19 武汉大学 Touch screen mobile phone based on fingerprint identification and login unlocking method for touch screen mobile phone
CN102880384A (en) * 2012-08-24 2013-01-16 百度在线网络技术(北京)有限公司 Method and device for unlocking mobile terminal screen and mobile terminal comprising device
CN104571869A (en) * 2015-01-16 2015-04-29 深圳市中兴移动通信有限公司 Unlocking method and device of mobile terminal

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102708324A (en) * 2012-05-16 2012-10-03 惠州Tcl移动通信有限公司 Screen locker unlocking system and method
CN102830932A (en) * 2012-08-17 2012-12-19 东莞宇龙通信科技有限公司 Terminal and method for automatically switching unlocking patterns of terminal
CN102880384A (en) * 2012-08-24 2013-01-16 百度在线网络技术(北京)有限公司 Method and device for unlocking mobile terminal screen and mobile terminal comprising device
CN102833423A (en) * 2012-09-24 2012-12-19 武汉大学 Touch screen mobile phone based on fingerprint identification and login unlocking method for touch screen mobile phone
CN104571869A (en) * 2015-01-16 2015-04-29 深圳市中兴移动通信有限公司 Unlocking method and device of mobile terminal

Also Published As

Publication number Publication date
CN104820795A (en) 2015-08-05

Similar Documents

Publication Publication Date Title
US9024890B2 (en) Comparison of an applied gesture on a touch screen of a mobile device with a remotely stored security gesture
US8060748B2 (en) Secure end-of-life handling of electronic devices
CN103039063B (en) Password input system password security keys and security password input method shift values
US20140282992A1 (en) Systems and methods for securing the boot process of a device using credentials stored on an authentication token
US9386045B2 (en) Device communication based on device trustworthiness
US7275263B2 (en) Method and system and authenticating a user of a computer system that has a trusted platform module (TPM)
CN102509055B (en) Mobile terminal and method for hiding programs of mobile terminal
US8832783B2 (en) System and method for performing secure communications
US20070226496A1 (en) Method and system for secure external TPM password generation and use
CN104303190B (en) Apparatus and method for providing geographic protection system
CN101106455B (en) Identity authentication method and intelligent secret key device
EP2887615A1 (en) Cloud-based scalable authentication for electronic devices
US20130145475A1 (en) Method and apparatus for securing touch input
CN105210073A (en) A method and system of providing authentication of user access to a computer resource via a mobile device using multiple separate security factors
CN101036114A (en) Input device feature
US8732468B2 (en) Protecting hardware circuit design by secret sharing
KR20110087178A (en) Usb security device with way for secure user-authentication and method of authentication
US8966660B2 (en) Methods and systems of digital rights management for integrated circuits
CN105160228A (en) Mobile terminal unlocking method and mobile terminal
CN101296457A (en) Screen operation method and device
CN103218571B (en) Verification system and method of data between the processor
US20140068744A1 (en) Surrogate Secure Pairing of Devices
JP2015533250A (en) Apparatus method and for its unlock the electronic device
CN104067289B (en) Hide accelerometer signal
AU2006321928B2 (en) Method and apparatus for authenticating a mobile phone accessory

Legal Events

Date Code Title Description
C06 Publication
EXSB Decision made by sipo to initiate substantive examination
GR01