CN110826044B - Unlocking method and electronic equipment - Google Patents
Unlocking method and electronic equipment Download PDFInfo
- Publication number
- CN110826044B CN110826044B CN201911053906.9A CN201911053906A CN110826044B CN 110826044 B CN110826044 B CN 110826044B CN 201911053906 A CN201911053906 A CN 201911053906A CN 110826044 B CN110826044 B CN 110826044B
- Authority
- CN
- China
- Prior art keywords
- electronic device
- field communication
- near field
- communication module
- unlocking
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F21/00—Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
- G06F21/30—Authentication, i.e. establishing the identity or authorisation of security principals
- G06F21/31—User authentication
- G06F21/34—User authentication involving the use of external additional devices, e.g. dongles or smart cards
- G06F21/35—User authentication involving the use of external additional devices, e.g. dongles or smart cards communicating wirelessly
Landscapes
- Engineering & Computer Science (AREA)
- Computer Security & Cryptography (AREA)
- Theoretical Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Computer Hardware Design (AREA)
- Software Systems (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Telephone Function (AREA)
- Lock And Its Accessories (AREA)
Abstract
本发明提供一种解锁方法及电子设备,该方法包括:获取第二电子设备的近场通信模块的第一物理标识;在所述第一物理标识与预先设置的用于解锁所述第一电子设备的近场通信模块的第一物理标识相同的情况下,解锁所述第一电子设备;本发明实施例通过第二电子设备的近场通信模块的第一物理标识解锁第一电子设备,进一步可以通过第一电子设备的近场通信模块的虚拟标识选择解锁后显示特定信息,使解锁后的操作更加方便快捷。
The present invention provides an unlocking method and an electronic device. The method includes: obtaining a first physical identifier of a near field communication module of a second electronic device; In the case where the first physical identifiers of the near field communication modules of the devices are the same, the first electronic device is unlocked; in this embodiment of the present invention, the first electronic device is unlocked by the first physical identifiers of the near field communication modules of the second electronic device, and further It is possible to select and display specific information after unlocking through the virtual identification of the near field communication module of the first electronic device, so that the operation after unlocking is more convenient and quicker.
Description
技术领域technical field
本发明涉及通信技术领域,尤其是指一种解锁方法及电子设备。The present invention relates to the technical field of communications, and in particular, to an unlocking method and an electronic device.
背景技术Background technique
随着通信技术的发展,从功能机到智能机,电子设备的解锁方式更新换代,从最初的只有密码输入解锁到图案解锁,再到现在的指纹解锁、面部识别解锁、虹膜解锁等安全等级更高、更加便捷的解锁方式,层出不穷的解锁方式给人们带来了不错的体验和感觉。但这些方式都是界面式的解锁方式,解锁方式过于单一。进一步的,当发生用户忘记密码或图案、解锁手指受伤等情况时会导致无法解锁电子设备。With the development of communication technology, from functional phones to smart phones, the unlocking methods of electronic devices have been updated, from the original only password input unlocking to pattern unlocking, and now to fingerprint unlocking, facial recognition unlocking, iris unlocking and other security levels. High and more convenient unlocking methods, and endless unlocking methods have brought people a good experience and feeling. But these methods are all interface unlocking methods, and the unlocking methods are too simple. Further, when the user forgets the password or pattern, the unlocking finger is injured, etc., the electronic device cannot be unlocked.
发明内容SUMMARY OF THE INVENTION
本发明实施例提供一种解锁方法及电子设备,以解决现有的解锁方式存在某些场景无法解锁的问题。Embodiments of the present invention provide an unlocking method and an electronic device to solve the problem that the existing unlocking method cannot be unlocked in some scenarios.
为了解决上述技术问题,本发明是这样实现的:一种解锁方法,应用于第一电子设备,包括:In order to solve the above-mentioned technical problems, the present invention is implemented as follows: an unlocking method, applied to the first electronic device, includes:
获取第二电子设备的近场通信模块的第一物理标识;obtaining the first physical identifier of the near field communication module of the second electronic device;
在所述第一物理标识与预先设置的用于解锁所述第一电子设备的近场通信模块的第一物理标识相同的情况下,解锁所述第一电子设备。In the case that the first physical identifier is the same as the preset first physical identifier for unlocking the near field communication module of the first electronic device, the first electronic device is unlocked.
本发明实施例还提供了一种解锁方法,应用于第二电子设备,包括:The embodiment of the present invention also provides an unlocking method, which is applied to the second electronic device, including:
通过近场通信模块搜索第一电子设备;Search for the first electronic device through the near field communication module;
在搜索到所述第一电子设备的情况下,向所述第一电子设备发送所述第二电子设备的近场通信模块的第一物理标识;In the case of finding the first electronic device, sending the first physical identifier of the near field communication module of the second electronic device to the first electronic device;
其中,所述第一物理标识用于解锁所述第一电子设备。Wherein, the first physical identifier is used to unlock the first electronic device.
本发明实施例还提供了一种第一电子设备,包括:Embodiments of the present invention also provide a first electronic device, including:
标识获取模块,用于获取第二电子设备的近场通信模块的第一物理标识;an identification acquisition module for acquiring the first physical identification of the near field communication module of the second electronic device;
解锁模块,用于在所述第一物理标识与预先设置的用于解锁所述第一电子设备的近场通信模块的第一物理标识相同的情况下,解锁所述第一电子设备。An unlocking module, configured to unlock the first electronic device when the first physical identifier is the same as a preset first physical identifier for unlocking the near field communication module of the first electronic device.
本发明实施例还提供了一种第二电子设备,包括:The embodiment of the present invention also provides a second electronic device, including:
搜索模块,用于通过近场通信模块搜索第一电子设备;a search module for searching the first electronic device through the near field communication module;
第一标识发送模块,用于在搜索到所述第一电子设备的情况下,向所述第一电子设备发送所述第二电子设备的近场通信模块的第一物理标识;a first identifier sending module, configured to send the first physical identifier of the near field communication module of the second electronic device to the first electronic device when the first electronic device is found;
其中,所述第一物理标识用于解锁所述第一电子设备。Wherein, the first physical identifier is used to unlock the first electronic device.
本发明实施例还提供了一种电子设备,包括处理器、存储器及存储在所述存储器上并可在所述处理器上运行的计算机程序,所述计算机程序被所述处理器执行时实现如上所述的解锁方法的步骤。An embodiment of the present invention also provides an electronic device, including a processor, a memory, and a computer program stored on the memory and running on the processor, the computer program being executed by the processor to achieve the above The steps of the unlocking method.
本发明实施例还提供了一种计算机可读存储介质,其特征在于,所述计算机可读存储介质上存储计算机程序,所述计算机程序被处理器执行时实现如上所述的解锁方法的步骤。An embodiment of the present invention further provides a computer-readable storage medium, characterized in that, a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the steps of the unlocking method as described above are implemented.
在本发明实施例中,通过第二电子设备的近场通信模块的第一物理标识解锁第一电子设备,进一步可以通过第一电子设备的近场通信模块的虚拟标识选择解锁后显示特定信息,使解锁后的操作更加方便快捷。In this embodiment of the present invention, the first electronic device is unlocked by the first physical identifier of the near field communication module of the second electronic device, and further specific information can be displayed after unlocking by selecting the virtual identifier of the near field communication module of the first electronic device, Make the operation after unlocking more convenient and fast.
附图说明Description of drawings
图1表示本发明实施例提供的解锁方法的步骤流程图之一;FIG. 1 shows one of the flow charts of steps of an unlocking method provided by an embodiment of the present invention;
图2表示本发明实施例提供的示例一的流程示意图;FIG. 2 shows a schematic flowchart of Example 1 provided by an embodiment of the present invention;
图3表示本发明实施例提供的示例一中电子设备的显示示意图之一;FIG. 3 shows one of the schematic display diagrams of the electronic device in Example 1 provided by an embodiment of the present invention;
图4表示本发明实施例提供的示例一中电子设备的显示示意图之二;FIG. 4 shows the second schematic diagram of the display of the electronic device in Example 1 provided by the embodiment of the present invention;
图5表示本发明实施例提供的示例一中电子设备的显示示意图之三;FIG. 5 shows the third schematic diagram of the display of the electronic device in Example 1 provided by the embodiment of the present invention;
图6表示本发明实施例提供的示例一中电子设备的显示示意图之四;FIG. 6 shows the fourth schematic diagram of the display of the electronic device in Example 1 provided by the embodiment of the present invention;
图7表示本发明实施例提供的示例一中电子设备的显示示意图之五;FIG. 7 shows the fifth schematic diagram of the display of the electronic device in Example 1 provided by the embodiment of the present invention;
图8表示本发明实施例提供的解锁方法的步骤流程图之二;FIG. 8 shows the second flow chart of the steps of the unlocking method provided by the embodiment of the present invention;
图9表示本发明实施例提供的示例二的流程示意图;FIG. 9 shows a schematic flowchart of Example 2 provided by an embodiment of the present invention;
图10表示本发明实施例提供的示例二中电子设备的显示示意图之一;FIG. 10 shows one of the schematic display diagrams of the electronic device in Example 2 provided by the embodiment of the present invention;
图11表示本发明实施例提供的示例二中电子设备的显示示意图之二;FIG. 11 shows the second schematic diagram of the display of the electronic device in the second example provided by the embodiment of the present invention;
图12表示本发明实施例提供的示例二中电子设备的显示示意图之三;FIG. 12 shows the third schematic diagram of the display of the electronic device in the second example provided by the embodiment of the present invention;
图13表示本发明实施例提供的示例二中电子设备的显示示意图之四;FIG. 13 shows the fourth schematic diagram of the display of the electronic device in the second example provided by the embodiment of the present invention;
图14表示本发明实施例提供的示例二中电子设备的显示示意图之五;FIG. 14 shows the fifth schematic diagram of the display of the electronic device in the second example provided by the embodiment of the present invention;
图15表示本发明实施例提供的示例二中电子设备的显示示意图之六;FIG. 15 shows the sixth schematic diagram of the display of the electronic device in the second example provided by the embodiment of the present invention;
图16表示本发明实施例提供的示例二中电子设备的显示示意图之七;FIG. 16 shows the seventh schematic diagram of the display of the electronic device in Example 2 provided by the embodiment of the present invention;
图17表示本发明实施例提供的示例二中电子设备的显示示意图之八;FIG. 17 shows the eighth schematic diagram of the display of the electronic device in Example 2 provided by the embodiment of the present invention;
图18表示本发明实施例提供的第一电子设备的结构示意图之一;FIG. 18 shows one of the schematic structural diagrams of a first electronic device provided by an embodiment of the present invention;
图19表示本发明实施例提供的第二电子设备的结构示意图之二;FIG. 19 shows the second schematic structural diagram of the second electronic device provided by the embodiment of the present invention;
图20表示本发明实施例提供的电子设备的结构示意图之三。FIG. 20 shows a third schematic structural diagram of an electronic device provided by an embodiment of the present invention.
具体实施方式Detailed ways
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, but not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative efforts shall fall within the protection scope of the present invention.
在本发明实施例中,“示例性的”或者“例如”等词用于表示作例子、例证或说明。本发明实施例中被描述为“示例性的”或者“例如”的任何实施例或设计方案不应被解释为比其它实施例或设计方案更优选或更具优势。确切而言,使用“示例性的”或者“例如”等词旨在以具体方式呈现相关概念。In the embodiments of the present invention, words such as "exemplary" or "for example" are used to mean serving as an example, illustration or illustration. Any embodiments or designs described as "exemplary" or "such as" in the embodiments of the present invention should not be construed as preferred or advantageous over other embodiments or designs. Rather, the use of words such as "exemplary" or "such as" is intended to present the related concepts in a specific manner.
如图1所示,本发明实施例提供一种解锁方法,应用于第一电子设备,包括:As shown in FIG. 1, an embodiment of the present invention provides an unlocking method, which is applied to a first electronic device, including:
步骤101,获取第二电子设备的近场通信模块的第一物理标识。Step 101: Obtain a first physical identifier of a near field communication module of a second electronic device.
步骤102,在所述第一物理标识与预先设置的用于解锁所述第一电子设备的近场通信模块的第一物理标识相同的情况下,解锁所述第一电子设备。Step 102: Unlock the first electronic device when the first physical identifier is the same as the preset first physical identifier for unlocking the near field communication module of the first electronic device.
可选的,近场通信模块可以为NFC(Near Field Communication,近场通信)是一个安全等级高的磁场通讯,已经在各个领域的安全系统中占据主导地位。电子设备解锁和近场通信模块结合起来,开发出多样式、立体式的解锁方式,可以让电子设备的解锁更加丰富和有趣,增加人们对电子设备的体验感觉。且当用户忘记密码或图案、解锁手指受伤等情况时可通过第二电子设备对第一电子设备进行解锁。Optionally, the near field communication module may be NFC (Near Field Communication, near field communication), which is a magnetic field communication with a high security level, which has taken the leading position in security systems in various fields. The combination of electronic device unlocking and near field communication module has developed a multi-style and three-dimensional unlocking method, which can make the unlocking of electronic devices more abundant and interesting, and increase people's experience of electronic devices. In addition, when the user forgets the password or pattern, the unlocking finger is injured, etc., the first electronic device can be unlocked through the second electronic device.
需要说明的是,一个电子设备的近场通信模块配置有一个唯一的物理标识,且不同电子设备的近场通信模块的物理标识不同。It should be noted that the near field communication module of one electronic device is configured with a unique physical identifier, and the physical identifiers of the near field communication modules of different electronic devices are different.
本发明实施例中两个带有近场通信模块的设备(即第一电子设备和第二电子设备)能够用于互相解锁;但是各个电子设备需要预先设置能够用于解锁该电子设备的近场通信模块的物理标识;在靠近该第一电子设备的第二电子设备的近场通信模块的物理标识为预先设置用于解锁所述第一电子设备的物理标识的情况下,则解锁第一电子设备。In this embodiment of the present invention, two devices with a near field communication module (ie, the first electronic device and the second electronic device) can be used to unlock each other; however, each electronic device needs to preset a near field that can be used to unlock the electronic device The physical identifier of the communication module; if the physical identifier of the near-field communication module of the second electronic device close to the first electronic device is a physical identifier preset for unlocking the first electronic device, the first electronic device is unlocked. equipment.
作为一个可选实施例,步骤101之前,所述方法还包括:As an optional embodiment, before
获取用户输入的用于解锁所述第一电子设备的近场通信模块的第一物理标识。A first physical identifier input by a user for unlocking the near field communication module of the first electronic device is acquired.
例如,用户在“设置NFC解锁手机”的设置界面上输入第二物理标识,设置完成后,该第一物理标识为用于解锁所述第一电子设备的近场通信模块的物理标识。该设置方式较为简单,进行在第一电子设备侧进行设置操作即可,简化操作流程。For example, the user inputs the second physical identifier on the setting interface of "setting NFC to unlock mobile phone", and after the setting is completed, the first physical identifier is the physical identifier used to unlock the near field communication module of the first electronic device. The setting method is relatively simple, and the setting operation can be performed on the side of the first electronic device, which simplifies the operation process.
作为另一个可选实施例,步骤101之前,所述方法还包括:As another optional embodiment, before
通过所述近场通信模块搜索第二电子设备;searching for a second electronic device through the near field communication module;
在搜索到第二电子设备的情况下,通过所述第二电子设备的近场通信模块的第一物理标识和所述第一电子设备的近场通信模块的第二物理标识,进行所述第一电子设备和所述第二电子设备的配对;In the case where the second electronic device is found, the first physical identification of the near field communication module of the second electronic device and the second physical identification of the near field communication module of the first electronic device are used to perform the first pairing of an electronic device and the second electronic device;
其中,所述第一物理标识为用于解锁所述第一电子设备的近场通信模块的物理标识。Wherein, the first physical identifier is a physical identifier used to unlock the near field communication module of the first electronic device.
换言之,预先设置用于解锁第一电子设备的近场通信模块的物理标识的步骤为第一电子设备和第二电子设备通过近场通信模块进行配对的步骤,配对成功的第一电子设备和第二电子设备能够相互实现相互解锁。该设置方式需不同用户或相同用户分别在第一电子设备侧和第二电子设备侧进行操作,设置解锁用的物理标识的过程更为安全。In other words, the step of presetting the physical identifier for unlocking the near field communication module of the first electronic device is the step of pairing the first electronic device and the second electronic device through the near field communication module. The two electronic devices can mutually unlock each other. This setting method requires different users or the same user to operate on the first electronic device side and the second electronic device side respectively, and the process of setting the physical identifier for unlocking is more secure.
可选的,所述通过所述第二电子设备的近场通信模块的第一物理标识和所述第一电子设备的近场通信模块的第二物理标识,进行所述第一电子设备和所述第二电子设备的配对:Optionally, the first physical identification of the near field communication module of the second electronic device and the second physical identification of the near field communication module of the first electronic device, the first electronic device and all For the pairing of the second electronic device:
获取用户在第一电子设备上输入的第二电子设备的近场通信模块的第一物理标识,并在所述第二电子设备接收到用户输入的第一电子设备的近场通信模块的第二物理标识的情况下,完成第一电子设备和第二电子设备的配对。Acquiring the first physical identifier of the near field communication module of the second electronic device input by the user on the first electronic device, and receiving the second electronic device input of the user input of the second physical identifier of the near field communication module of the first electronic device on the second electronic device In the case of the physical identification, the pairing of the first electronic device and the second electronic device is completed.
其中,在第一电子设备侧输入第一物理标识的用户,和在第二电子设备侧输入第二物理标识的用户,可以是同一个用户也可以是不同的用户,在此不做具体限定。The user who inputs the first physical identifier on the first electronic device side and the user who inputs the second physical identifier on the second electronic device side may be the same user or different users, which are not specifically limited here.
作为一个可选实施例,步骤101包括:As an optional embodiment,
接收处于解锁状态的所述第二电子设备发送的所述第二电子设备的近场通信模块的第一物理标识。A first physical identifier of a near field communication module of the second electronic device sent by the second electronic device in the unlocked state is received.
为了提高解锁安全性,设置在第二电子设备处于解锁状态的情况下,第二电子设备才能够解锁该第一电子设备;若第一电子设备和第二电子设备均处于锁定状态,则第一电子设备不能解锁第二电子设备,第二电子设备也无法解锁第一电子设备。In order to improve unlocking security, the second electronic device can unlock the first electronic device only when the second electronic device is in the unlocked state; if both the first electronic device and the second electronic device are in the locked state, the first electronic device The electronic device cannot unlock the second electronic device, and the second electronic device cannot unlock the first electronic device.
示例一:第一电子设备和第二电子设备靠近,设置对方的近场通信模块的物理标识可以解锁自身设备,然后通过双方的相互确认实现配对;之后两个电子设备靠近时,第一电子设备可以自动解锁。具体步骤如图2所示:Example 1: The first electronic device and the second electronic device are close to each other, setting the physical identifier of the other party's near field communication module can unlock the own device, and then realize the pairing through mutual confirmation; Can be automatically unlocked. The specific steps are shown in Figure 2:
步骤201,第一电子设备和第二电子设备分别点击设置→安全和隐私,安全和隐私界面包括NFC解锁手机按钮,如图3所示。
步骤202,第一电子设备和第二电子设备点击NFC解锁手机按钮,进入如图4所示的界面,电子设备显示各自的NFC ID(即近场通信模块的物理标识),例如,第一电子设备的近场通信模块的NFC ID为:12345678;第二电子设备的近场通信模块的NFC ID为:2458113;其中第一电子设备点击搜索附近电子设备,此时第一电子设备发出信号侦测附近的第二电子设备时,第一电子设备显示附近有设备,请输入对方NFC ID;第二电子设备也显示附近有设备,请输入对方NFC ID。In
步骤203,第一电子设备输入第二电子设备的NFC ID,第二电子设备输入第一电子设备的NFC ID,第一电子设备和第二电子设备点击确认匹配,第一电子设备和第二电子设备的近场通信模块进行设备匹配,进度条行走,进度条走完显示匹配成功,如图5所示。
步骤204,当需要解锁第一电子设备时,第二电子设备处于解锁后的待机界面,当第二电子设备靠近第一电子设备时,第一电子设备检测到有匹配的第二电子设备靠近,识别匹配成功后自动解锁第一电子设备,如图6所示。
步骤205,解锁成功后,第一电子设备显示待机界面,如图7所示。需要说明的是,解锁成功后的第一电子设备也可显示第一电子设备锁定时的显示界面,例如,第一电子设备在相册显示界面时长时间未操作导致锁定,此种情况下第一电子设备通过第二电子设备解锁之后,第一电子设备可继续显示相册显示界面。
综上,本发明实施例提供了一种电子设备解锁的新的安全方式,在第一电子设备用户被锁定,或者第一电子设备用户不方便操作的情况下,可以通过第二电子设备的近场通信模块实现对第一电子设备的解锁,避免第一电子设备无法解锁的情况,并丰富用户解锁多样性的同时增加了电子设备的安全性。To sum up, the embodiment of the present invention provides a new security method for unlocking an electronic device. When the user of the first electronic device is locked, or the user of the first electronic device is inconvenient to operate, the user can use the proximity of the second electronic device. The field communication module realizes the unlocking of the first electronic device, avoids the situation that the first electronic device cannot be unlocked, and increases the security of the electronic device while enriching the unlocking diversity of users.
作为又一个可选实施例,本发明实施例中,所述第一电子设备的近场通信模块还包括:多个虚拟标识;As another optional embodiment, in this embodiment of the present invention, the near field communication module of the first electronic device further includes: a plurality of virtual identifiers;
所述方法还包括:The method also includes:
设置目标映射关系,所述目标映射关系为所述第一电子设备的近场通信模块的至少一个虚拟标识与至少一个所述第一电子设备的目标信息之间的映射关系;Setting a target mapping relationship, the target mapping relationship is a mapping relationship between at least one virtual identifier of the near field communication module of the first electronic device and at least one target information of the first electronic device;
向与所述第一电子设备完成配对的所述第二电子设备发送目标映射关系。Sending a target mapping relationship to the second electronic device that is paired with the first electronic device.
相应的,步骤101之后,在所述第一物理标识与预先设置的用于解锁所述第一电子设备的近场通信模块的第一物理标识相同的情况下,所述方法还包括:Correspondingly, after
接收所述第二电子设备发送的所述第一电子设备的近场通信模块的第一虚拟标识;receiving the first virtual identifier of the near field communication module of the first electronic device sent by the second electronic device;
显示与所述第一虚拟标识对应的目标信息。Target information corresponding to the first virtual identifier is displayed.
需要说明的是,电子设备的一个近场通信模块仅设置有一个物理标识,该物理标识用于标识近场通信模块的身份信息;该物理标识可以是近场通信模块的生产商家配置的,用户不能随意修改、删除或新增;而电子设备的一个近场通信模块可以设置多个虚拟标识,该虚拟标识是由用户设置的,该虚拟标识不能标识近场通信模块的身份,该虚拟标识的设置是用于标识解锁之后显示的目标信息,用户可随意修改、删除或新增,在此不做具体限定。It should be noted that a near field communication module of the electronic device is only provided with a physical identification, and the physical identification is used to identify the identity information of the near field communication module; the physical identification may be configured by the manufacturer of the near field communication module, and the user It cannot be modified, deleted or added at will; and a near field communication module of an electronic device can be set with multiple virtual signs, the virtual signs are set by the user, and the virtual signs cannot identify the identity of the near field communication module. The setting is used to identify the target information displayed after unlocking, and the user can modify, delete or add it at will, which is not specifically limited here.
由于一个近场通信模块仅设置有一个物理标识,为了让该电子设备解锁后可以显示不同的信息,本发明实施例中为第一电子设备的近场通信模块设置多个虚拟标识。基于虚拟标识的设置,该第一电子设备设置其自身解锁后可显示的不同的信息。Since a near field communication module is only provided with one physical identifier, in order to enable the electronic device to display different information after unlocking, multiple virtual identifiers are set for the near field communication module of the first electronic device in this embodiment of the present invention. Based on the setting of the virtual identification, the first electronic device sets different information that can be displayed after it is unlocked.
作为一个可选实施例,步骤101包括:As an optional embodiment,
接收处于解锁状态的所述第二电子设备发送的所述第二电子设备的近场通信模块的第一物理标识。A first physical identifier of a near field communication module of the second electronic device sent by the second electronic device in the unlocked state is received.
为了提高解锁安全性,设置在第二电子设备处于解锁状态的情况下,第二电子设备才能够解锁该第一电子设备;若第一电子设备和第二电子设备均处于锁定状态,则第一电子设备不能解锁第二电子设备,第二电子设备也无法解锁第一电子设备。In order to improve unlocking security, the second electronic device can unlock the first electronic device only when the second electronic device is in the unlocked state; if both the first electronic device and the second electronic device are in the locked state, the first electronic device The electronic device cannot unlock the second electronic device, and the second electronic device cannot unlock the first electronic device.
综上,本发明实施例提供了一种通过近场通信模块的物理标识进行相互解锁的设备,进一步可以通过近场通信模块的虚拟标识快速显示指定的界面,操作便捷。To sum up, the embodiments of the present invention provide a device for mutual unlocking through the physical identification of the near field communication module, and further can quickly display a designated interface through the virtual identification of the near field communication module, which is convenient to operate.
如图8所示,本发明实施例还提供一种解锁方法,应用于第二电子设备,包括:As shown in FIG. 8 , an embodiment of the present invention further provides an unlocking method, which is applied to a second electronic device, including:
步骤801,通过近场通信模块搜索第一电子设备;
步骤802,在搜索到所述第一电子设备的情况下,向所述第一电子设备发送所述第二电子设备的近场通信模块的第一物理标识;
其中,所述第一物理标识用于解锁所述第一电子设备。Wherein, the first physical identifier is used to unlock the first electronic device.
可选的,近场通信模块可以为NFC(Near Field Communication,近场通信)是一个安全等级高的磁场通讯,已经在各个领域的安全系统中占据主导地位。电子设备解锁和近场通信模块结合起来,开发出多样式、立体式的解锁方式,可以让电子设备的解锁更加丰富和有趣,增加人们对电子设备的体验感觉。且当用户忘记密码或图案、解锁手指受伤等情况时可通过第二电子设备对第一电子设备进行解锁。Optionally, the near field communication module may be NFC (Near Field Communication, near field communication), which is a magnetic field communication with a high security level, which has taken the leading position in security systems in various fields. The combination of electronic device unlocking and near field communication module has developed a multi-style and three-dimensional unlocking method, which can make the unlocking of electronic devices more abundant and interesting, and increase people's experience of electronic devices. In addition, when the user forgets the password or pattern, the unlocking finger is injured, etc., the first electronic device can be unlocked through the second electronic device.
需要说明的是,一个电子设备的近场通信模块配置有一个唯一的物理标识,且不同电子设备的近场通信模块的物理标识不同。It should be noted that the near field communication module of one electronic device is configured with a unique physical identifier, and the physical identifiers of the near field communication modules of different electronic devices are different.
本发明实施例中两个带有近场通信模块的设备(即第一电子设备和第二电子设备)能够用于互相解锁;但是各个电子设备需要预先设置能够用于解锁该电子设备的近场通信模块的物理标识;在靠近该第一电子设备的第二电子设备的近场通信模块的物理标识为预先设置用于解锁所述第一电子设备的物理标识的情况下,则解锁第一电子设备。In this embodiment of the present invention, two devices with a near field communication module (ie, the first electronic device and the second electronic device) can be used to unlock each other; however, each electronic device needs to preset a near field that can be used to unlock the electronic device The physical identifier of the communication module; if the physical identifier of the near-field communication module of the second electronic device close to the first electronic device is a physical identifier preset for unlocking the first electronic device, the first electronic device is unlocked. equipment.
可选的,本发明的上述实施例中,步骤802之前,所述方法还包括:Optionally, in the above embodiment of the present invention, before
获取用户在第二电子设备上输入的第一电子设备的近场通信模块的第二物理标识,并在所述第一电子设备接收到用户输入的第二电子设备的近场通信模块的第一物理标识的情况下,完成第二电子设备和第一电子设备的配对;Acquiring the second physical identifier of the near field communication module of the first electronic device input by the user on the second electronic device, and receiving the first electronic device input of the first electronic device of the near field communication module of the second electronic device at the first electronic device In the case of physical identification, the pairing of the second electronic device and the first electronic device is completed;
其中,完成配对的所述第二电子设备的近场通信模块的第一物理标识用于解锁所述第一电子设备。Wherein, the first physical identifier of the near field communication module of the second electronic device that has completed the pairing is used to unlock the first electronic device.
换言之,预先设置用于解锁第一电子设备的近场通信模块的物理标识的步骤为第一电子设备和第二电子设备通过近场通信模块进行配对的步骤,配对成功的第一电子设备和第二电子设备能够相互实现相互解锁。该设置方式需不同用户或相同用户分别在第一电子设备侧和第二电子设备侧进行操作,设置解锁用的物理标识的过程更为安全。In other words, the step of presetting the physical identifier for unlocking the near field communication module of the first electronic device is the step of pairing the first electronic device and the second electronic device through the near field communication module. The two electronic devices can mutually unlock each other. This setting method requires different users or the same user to operate on the first electronic device side and the second electronic device side respectively, and the process of setting the physical identifier for unlocking is more secure.
作为又一个可选实施例,第一电子设备设置其自身解锁后可显示的不同的信息;第二电子设备也可以为第一电子设备设置解锁后可显示的不同的信息。由于一个近场通信模块仅设置有一个物理标识,为了让该电子设备解锁后可以显示不同的信息,本发明实施例中为第一电子设备的近场通信模块设置多个虚拟标识。步骤802之后,所述方法还包括:As yet another optional embodiment, the first electronic device sets different information that can be displayed after unlocking itself; the second electronic device can also set different information that can be displayed after unlocking for the first electronic device. Since a near field communication module is only provided with one physical identifier, in order to enable the electronic device to display different information after unlocking, multiple virtual identifiers are set for the near field communication module of the first electronic device in this embodiment of the present invention. After
根据目标映射关系,显示至少一个指示标识;例如,指示标识可以是应用程序的图标;Display at least one indicator according to the target mapping relationship; for example, the indicator may be an icon of an application;
接收用户对所述至少一个指示标识中的目标指示标识的第一输入,向所述第一电子设备发送目标指示标识对应的第一虚拟标识;例如,第一输入可以为点击输入、长按输入、双击输入等;可选的,第一输入也可称为第一操作,在此不做具体限定。Receive the user's first input of the target indicator in the at least one indicator, and send the first virtual identifier corresponding to the target indicator to the first electronic device; for example, the first input may be a click input, a long press input , double-click input, etc.; optionally, the first input may also be called the first operation, which is not specifically limited here.
需要说明的是,电子设备的一个近场通信模块仅设置有一个物理标识,该物理标识用于标识近场通信模块的身份信息;该物理标识可以是近场通信模块的生产商家配置的,用户不能随意修改、删除或新增;而电子设备的一个近场通信模块可以设置多个虚拟标识,该虚拟标识是由用户设置的,该虚拟标识不能标识近场通信模块的身份,该虚拟标识的设置是用于标识解锁之后显示的目标信息,用户可随意修改、删除或新增,在此不做具体限定。It should be noted that a near field communication module of the electronic device is only provided with a physical identification, and the physical identification is used to identify the identity information of the near field communication module; the physical identification may be configured by the manufacturer of the near field communication module, and the user It cannot be modified, deleted or added at will; and a near field communication module of an electronic device can be set with multiple virtual signs, the virtual signs are set by the user, and the virtual signs cannot identify the identity of the near field communication module. The setting is used to identify the target information displayed after unlocking, and the user can modify, delete or add it at will, which is not specifically limited here.
其中,所述第一虚拟标识用于指示所述第一电子设备在解锁之后显示与所述第一虚拟标识对应的目标信息;所述目标映射关系为所述第一电子设备的近场通信模块的至少一个虚拟标识与至少一个所述第一电子设备的目标信息之间的映射关系;所述目标映射关系为在第一电子设备或在第二电子设备上设置的。The first virtual identifier is used to instruct the first electronic device to display target information corresponding to the first virtual identifier after unlocking; the target mapping relationship is a near field communication module of the first electronic device The mapping relationship between the at least one virtual identifier of , and at least one target information of the first electronic device; the target mapping relationship is set on the first electronic device or the second electronic device.
综上,本发明实施例提供了一种通过近场通信模块的物理标识进行相互解锁的设备,进一步可以通过近场通信模块的虚拟标识快速显示指定的界面,操作便捷。To sum up, the embodiments of the present invention provide a device for mutual unlocking through the physical identification of the near field communication module, and further can quickly display a designated interface through the virtual identification of the near field communication module, which is convenient to operate.
示例二:第一电子设备和第二电子设备靠近,设置对方的近场通信模块的物理标识可以解锁自身设备以及根据不同的虚拟标识指定解锁后的不同显示信息,然后通过双方的相互确认实现配对;之后两个电子设备靠近时,第一电子设备可以自动解锁,并显示第二电子设备选择的目标信息,具体步骤如图9所示:Example 2: The first electronic device and the second electronic device are close to each other, and setting the physical ID of each other's NFC module can unlock its own device and specify different display information after unlocking according to different virtual IDs, and then realize pairing through mutual confirmation by both parties ; When the two electronic devices are close to each other, the first electronic device can be automatically unlocked, and the target information selected by the second electronic device can be displayed, and the specific steps are shown in Figure 9:
步骤901,第一电子设备和第二电子设备分别进入设置→指纹、面部与密码界面→进入设置输入指纹、面部识别NFC ID(即近场通信模块的物理标识)界面,如图10所示。
步骤902,设置输入指纹、面部识别NFC ID界面上面显示电子设备的近场通信模块的物理标识(即图11中所示的本机NFC ID),虚拟标识为图11中所示的NFC ID1为:12254861、NFC ID2为:12185347、NFC ID3为:02442381以及NFC ID4为:35894427;点击第一电子设备上的“设置弹出界面”按钮,可以设置相应的虚拟NFC ID对应的弹出窗口;例如,点击NFC ID 1对应的“设置弹出界面”按键,第一电子设备显示图11的右侧所示的界面,点击“通讯录”按键,则设置NFC ID 1弹出界面为通讯录;进一步,可按照上述步骤继续设置NFCID 2弹出界面为信息,设置NFC ID 3弹出界面为日历等,设置完成后,点击确认,第一电子设备保存相应的映射关系,如图11所示。
步骤903,第一电子设备点击搜索附近设备,此时第一电子C设备发出信号搜索附近的设备,搜索到第二电子设备在附近,第一电子设备显示附近有设备,第一电子设备输入第二电子设备的NFC ID,第二电子设备输入第一电子设备的NFC ID,第一电子设备和第二电子设备点击确认匹配;如图12所示。
步骤904,第一电子设备和第二电子设备的近场通信模块进行设备匹配,进度条行走,进度条走完显示匹配成功,同时第一电子设备把设置目标映射关系同步到第二电子设备,并提示成功,如图13所示。
步骤905,当需要解锁第一电子设备时,如图14所示,第二电子设备处于解锁后的待机界面,当第二电子设备靠近第一电子设备时,第一电子设备检测到有匹配的第二电子设备靠近,识别匹配成功后第二电子设备显示第一电子设备解锁后可显示的目标信息,如图15所示。
步骤906,第二电子设备点击通讯录按钮,如图16所示,第一电子设备解锁成功后直接显示通讯录界面,如图17所示,这样可以有选择性的让第一电子设备解锁后弹出不同的界面。
综上,本发明实施例提供了一种电子设备解锁的新的安全方式,在第一电子设备用户被锁定,或者第一电子设备用户不方便操作的情况下,可以通过第二电子设备的近场通信模块实现对第一电子设备的解锁,避免第一电子设备无法解锁的情况,进一步可以通过近场通信模块的虚拟标识快速显示指定的界面,操作便捷。To sum up, the embodiment of the present invention provides a new security method for unlocking an electronic device. When the user of the first electronic device is locked, or the user of the first electronic device is inconvenient to operate, the user can use the proximity of the second electronic device. The field communication module realizes the unlocking of the first electronic device, so as to avoid the situation that the first electronic device cannot be unlocked, and further, a designated interface can be quickly displayed through the virtual identification of the near field communication module, and the operation is convenient.
如图18所示,本发明实施例还提供一种第一电子设备300,其特征在于,包括:As shown in FIG. 18, an embodiment of the present invention further provides a first
标识获取模块301,用于获取第二电子设备的近场通信模块的第一物理标识;an
解锁模块302,用于在所述第一物理标识与预先设置的用于解锁所述第一电子设备的近场通信模块的第一物理标识相同的情况下,解锁所述第一电子设备。The unlocking
可选的,本发明的上述实施例中,所述第一电子设备还包括:Optionally, in the above embodiment of the present invention, the first electronic device further includes:
设置模块,用于获取用户输入的用于解锁所述第一电子设备的近场通信模块的第一物理标识。The setting module is configured to obtain the first physical identifier of the near field communication module input by the user for unlocking the first electronic device.
可选的,本发明的上述实施例中,所述第一电子设备还包括:Optionally, in the above embodiment of the present invention, the first electronic device further includes:
设备搜索模块,用于通过所述近场通信模块搜索第二电子设备;a device search module, configured to search for a second electronic device through the near field communication module;
配对模块,用于在搜索到第二电子设备的情况下,通过所述第二电子设备的近场通信模块的第一物理标识和所述第一电子设备的近场通信模块的第二物理标识,进行所述第一电子设备和所述第二电子设备的配对;A pairing module, configured to pass the first physical identifier of the near field communication module of the second electronic device and the second physical identifier of the near field communication module of the first electronic device when the second electronic device is found , pairing the first electronic device and the second electronic device;
其中,所述第一物理标识为用于解锁所述第一电子设备的近场通信模块的物理标识。Wherein, the first physical identifier is a physical identifier used to unlock the near field communication module of the first electronic device.
可选的,本发明的上述实施例中,所述配对模块包括:Optionally, in the above embodiment of the present invention, the pairing module includes:
配对子模块,用于获取用户在第一电子设备上输入的第二电子设备的近场通信模块的第一物理标识,并在所述第二电子设备接收到用户输入的第一电子设备的近场通信模块的第二物理标识的情况下,完成第一电子设备和第二电子设备的配对对。The pairing submodule is configured to acquire the first physical identifier of the near field communication module of the second electronic device input by the user on the first electronic device, and receive the near field communication module of the first electronic device input by the user on the second electronic device. In the case of the second physical identification of the field communication module, the pairing of the first electronic device and the second electronic device is completed.
可选的,本发明的上述实施例中,所述解锁模块包括:Optionally, in the above embodiment of the present invention, the unlocking module includes:
标识接收模块,用于接收所述第二电子设备发送的所述第一电子设备的近场通信模块的第一虚拟标识;an identification receiving module, configured to receive the first virtual identification of the near field communication module of the first electronic device sent by the second electronic device;
显示模块,用于显示与所述第一虚拟标识对应的目标信息。A display module, configured to display target information corresponding to the first virtual identifier.
可选的,本发明的上述实施例中,所述标识获取模块包括:Optionally, in the above-mentioned embodiment of the present invention, the identity acquisition module includes:
标识接收子模块,用于接收处于解锁状态的所述第二电子设备发送的所述第二电子设备的近场通信模块的第一物理标识。The identification receiving sub-module is configured to receive the first physical identification of the near field communication module of the second electronic device sent by the second electronic device in the unlocked state.
本发明实施例提供的第一电子设备能够实现图1至图17的方法实施例中第一电子设备实现的各个过程,为避免重复,这里不再赘述。The first electronic device provided in the embodiment of the present invention can implement each process implemented by the first electronic device in the method embodiments of FIG. 1 to FIG. 17 , which is not repeated here to avoid repetition.
综上,本发明实施例提供了一种电子设备解锁的新的安全方式,在第一电子设备用户被锁定,或者第一电子设备用户不方便操作的情况下,可以通过第二电子设备的近场通信模块实现对第一电子设备的解锁,避免第一电子设备无法解锁的情况,进一步可以通过近场通信模块的虚拟标识快速显示指定的界面,操作便捷。To sum up, the embodiment of the present invention provides a new security method for unlocking an electronic device. When the user of the first electronic device is locked, or the user of the first electronic device is inconvenient to operate, the user can use the proximity of the second electronic device. The field communication module realizes the unlocking of the first electronic device, so as to avoid the situation that the first electronic device cannot be unlocked, and further, a designated interface can be quickly displayed through the virtual identification of the near field communication module, and the operation is convenient.
需要说明的是,本发明实施例提供的第一电子设备是能够执行上述解锁方法的第一电子设备,则上述解锁方法的所有实施例均适用于该第一电子设备,且均能达到相同或相似的有益效果。It should be noted that, the first electronic device provided by the embodiment of the present invention is the first electronic device capable of executing the above-mentioned unlocking method, and all the embodiments of the above-mentioned unlocking method are applicable to the first electronic device, and can achieve the same or similar beneficial effects.
优选的,本发明实施例还提供一种电子设备,该电子设备为第一电子设备,包括处理器,存储器,存储在存储器上并可在所述处理器上运行的计算机程序,该计算机程序被处理器执行时实现上述应用于第一电子设备的解锁方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。Preferably, an embodiment of the present invention further provides an electronic device, which is a first electronic device, including a processor, a memory, and a computer program stored in the memory and executable on the processor, the computer program being When executed by the processor, each process of the above-mentioned embodiment of the unlocking method applied to the first electronic device is implemented, and the same technical effect can be achieved. To avoid repetition, details are not repeated here.
本发明实施例还提供一种计算机可读存储介质,计算机可读存储介质上存储有计算机程序,该计算机程序被处理器执行时实现上述应用于第一电子设备的解锁方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。其中,所述的计算机可读存储介质,如只读存储器(Read-Only Memory,简称ROM)、随机存取存储器(RandomAccess Memory,简称RAM)、磁碟或者光盘等。An embodiment of the present invention further provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, each process of the above-mentioned embodiments of the unlocking method applied to the first electronic device is implemented, And can achieve the same technical effect, in order to avoid repetition, it is not repeated here. The computer-readable storage medium is, for example, a read-only memory (Read-Only Memory, ROM for short), a random access memory (Random Access Memory, RAM for short), a magnetic disk or an optical disk, and the like.
如图19所示,本发明实施例还提供一种第二电子设备400,包括:As shown in FIG. 19, an embodiment of the present invention further provides a second
搜索模块401,用于通过近场通信模块搜索第一电子设备;a
第一标识发送模块402,用于在搜索到所述第一电子设备的情况下,向所述第一电子设备发送所述第二电子设备的近场通信模块的第一物理标识;A first
其中,所述第一物理标识用于解锁所述第一电子设备。Wherein, the first physical identifier is used to unlock the first electronic device.
可选的,本发明的上述实施例中,所述第二电子设备还包括:Optionally, in the above embodiment of the present invention, the second electronic device further includes:
设备配对模块,用于获取用户在第二电子设备上输入的第一电子设备的近场通信模块的第二物理标识,并在所述第一电子设备接收到用户输入的第二电子设备的近场通信模块的第一物理标识的情况下,完成第二电子设备和第一电子设备的配对;The device pairing module is configured to acquire the second physical identifier of the near field communication module of the first electronic device input by the user on the second electronic device, and receive the near field communication module of the second electronic device input by the user at the first electronic device. In the case of the first physical identification of the field communication module, the pairing of the second electronic device and the first electronic device is completed;
其中,完成配对的所述第二电子设备的近场通信模块的第一物理标识用于解锁所述第一电子设备。Wherein, the first physical identifier of the near field communication module of the second electronic device that has completed the pairing is used to unlock the first electronic device.
可选的,本发明的上述实施例中,所述第二电子设备还包括:Optionally, in the above embodiment of the present invention, the second electronic device further includes:
显示模块,用于根据目标映射关系,显示至少一个指示标识;a display module, used for displaying at least one indicator according to the target mapping relationship;
第二标识发送模块,用于接收用户对所述至少一个指示标识中的目标指示标识的第一输入,向所述第一电子设备发送目标指示标识对应的第一虚拟标识;a second identifier sending module, configured to receive a first input from a user to a target indicator in the at least one indicator, and send a first virtual identifier corresponding to the target indicator to the first electronic device;
其中,所述第一虚拟标识用于指示所述第一电子设备在解锁之后显示与所述第一虚拟标识对应的目标信息;所述目标映射关系为所述第一电子设备的近场通信模块的至少一个虚拟标识与至少一个所述第一电子设备的目标信息之间的映射关系;所述目标映射关系为在第一电子设备或在第二电子设备上设置的。The first virtual identifier is used to instruct the first electronic device to display target information corresponding to the first virtual identifier after unlocking; the target mapping relationship is a near field communication module of the first electronic device The mapping relationship between the at least one virtual identifier of , and at least one target information of the first electronic device; the target mapping relationship is set on the first electronic device or the second electronic device.
本发明实施例提供的第二电子设备能够实现图1至图17的方法实施例第二电子设备实现的各个过程,为避免重复,这里不再赘述。The second electronic device provided in this embodiment of the present invention can implement the various processes implemented by the second electronic device in the method embodiments of FIGS. 1 to 17 , which are not repeated here to avoid repetition.
综上,本发明实施例提供了一种电子设备解锁的新的安全方式,在第一电子设备用户被锁定,或者第一电子设备用户不方便操作的情况下,可以通过第二电子设备的近场通信模块实现对第一电子设备的解锁,避免第一电子设备无法解锁的情况,进一步可以通过近场通信模块的虚拟标识快速显示指定的界面,操作便捷。To sum up, the embodiment of the present invention provides a new security method for unlocking an electronic device. When the user of the first electronic device is locked, or the user of the first electronic device is inconvenient to operate, the user can use the proximity of the second electronic device. The field communication module realizes the unlocking of the first electronic device, so as to avoid the situation that the first electronic device cannot be unlocked, and further, a designated interface can be quickly displayed through the virtual identification of the near field communication module, and the operation is convenient.
需要说明的是,本发明实施例提供的第二电子设备是能够执行上述解锁方法的电子设备,则上述解锁方法的所有实施例均适用于该第二电子设备,且均能达到相同或相似的有益效果。It should be noted that, the second electronic device provided in the embodiment of the present invention is an electronic device capable of executing the above unlocking method, and all embodiments of the above unlocking method are applicable to the second electronic device, and can achieve the same or similar beneficial effect.
优选的,本发明实施例还提供一种电子设备,该电子设备为第二电子设备,包括处理器,存储器,存储在存储器上并可在所述处理器上运行的计算机程序,该计算机程序被处理器执行时实现上述应用于第二电子设备的解锁方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。Preferably, an embodiment of the present invention further provides an electronic device, the electronic device is a second electronic device, comprising a processor, a memory, a computer program stored in the memory and running on the processor, the computer program being When executed by the processor, each process of the above-mentioned embodiment of the unlocking method applied to the second electronic device is implemented, and the same technical effect can be achieved. To avoid repetition, details are not repeated here.
本发明实施例还提供一种计算机可读存储介质,计算机可读存储介质上存储有计算机程序,该计算机程序被处理器执行时实现上述应用于第二电子设备的解锁方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。其中,所述的计算机可读存储介质,如只读存储器(Read-Only Memory,简称ROM)、随机存取存储器(RandomAccess Memory,简称RAM)、磁碟或者光盘等。Embodiments of the present invention further provide a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, each process of the foregoing embodiments of the unlocking method applied to the second electronic device is implemented, And can achieve the same technical effect, in order to avoid repetition, it is not repeated here. The computer-readable storage medium is, for example, a read-only memory (Read-Only Memory, ROM for short), a random access memory (Random Access Memory, RAM for short), a magnetic disk or an optical disk, and the like.
图20为实现本发明各个实施例的一种电子设备的硬件结构示意图,该电子设备500包括但不限于:NFC单元501、网络模块502、音频输出单元503、输入单元504、传感器505、显示单元506、用户输入单元507、接口单元508、存储器509、处理器510、以及电源511等部件。本领域技术人员可以理解,图20中示出的电子设备结构并不构成对电子设备的限定,电子设备可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。在本发明实施例中,电子设备包括但不限于手机、平板电脑、笔记本电脑、掌上电脑、车载终端、可穿戴设备、以及计步器等。20 is a schematic diagram of the hardware structure of an electronic device implementing various embodiments of the present invention. The
其中,NFC单元501,用于获取第二电子设备的近场通信模块的第一物理标识;处理器510,用于在所述第一物理标识与预先设置的用于解锁所述第一电子设备的近场通信模块的第一物理标识相同的情况下,解锁所述第一电子设备;Wherein, the
或者,or,
NFC单元501用于通过近场通信模块搜索第一电子设备;处理器510,用于在搜索到所述第一电子设备的情况下,向所述第一电子设备发送所述第二电子设备的近场通信模块的第一物理标识;其中,所述第一物理标识用于解锁所述第一电子设备。The
综上,本发明实施例提供了一种电子设备解锁的新的安全方式,在第一电子设备用户被锁定,或者第一电子设备用户不方便操作的情况下,可以通过第二电子设备的近场通信模块实现对第一电子设备的解锁,避免第一电子设备无法解锁的情况,进一步可以通过近场通信模块的虚拟标识快速显示指定的界面,操作便捷。To sum up, the embodiment of the present invention provides a new security method for unlocking an electronic device. When the user of the first electronic device is locked, or the user of the first electronic device is inconvenient to operate, the user can use the proximity of the second electronic device. The field communication module realizes the unlocking of the first electronic device, so as to avoid the situation that the first electronic device cannot be unlocked, and further, a designated interface can be quickly displayed through the virtual identification of the near field communication module, and the operation is convenient.
需要说明的是,本发明实施例提供的电子设备是能够执行上述解锁方法的电子设备,则上述解锁方法的所有实施例均适用于该电子设备,且均能达到相同或相似的有益效果。It should be noted that, the electronic device provided by the embodiment of the present invention is an electronic device capable of executing the above unlocking method, and all embodiments of the above unlocking method are applicable to the electronic device, and can achieve the same or similar beneficial effects.
应理解的是,本发明实施例中,NFC单元501可用于收发信息或通话过程中,信号的接收和发送,具体的,将来自基站的下行数据接收后,给处理器510处理;另外,将上行的数据发送给基站。通常,NFC单元501包括但不限于天线、至少一个放大器、收发信机、耦合器、低噪声放大器、双工器等。此外,NFC单元501还可以通过无线通信系统与网络和其他设备通信。It should be understood that, in this embodiment of the present invention, the
电子设备通过网络模块502为用户提供了无线的宽带互联网访问,如帮助用户收发电子邮件、浏览网页和访问流式媒体等。The electronic device provides the user with wireless broadband Internet access through the
音频输出单元503可以将NFC单元501或网络模块502接收的或者在存储器509中存储的音频数据转换成音频信号并且输出为声音。而且,音频输出单元503还可以提供与电子设备500执行的特定功能相关的音频输出(例如,呼叫信号接收声音、消息接收声音等等)。音频输出单元503包括扬声器、蜂鸣器以及受话器等。The
输入单元504用于接收音频或视频信号。输入单元504可以包括图形处理器(Graphics Processing Unit,GPU)5041和麦克风5042,图形处理器5041对在视频捕获模式或图像捕获模式中由图像捕获装置(如摄像头)获得的静态图片或视频的图像数据进行处理。处理后的图像帧可以显示在显示单元506上。经图形处理器5041处理后的图像帧可以存储在存储器509(或其它存储介质)中或者经由NFC单元501或网络模块502进行发送。麦克风5042可以接收声音,并且能够将这样的声音处理为音频数据。处理后的音频数据可以在电话通话模式的情况下转换为可经由NFC单元501发送到移动通信基站的格式输出。The
电子设备500还包括至少一种传感器505,比如光传感器、运动传感器以及其他传感器。具体地,光传感器包括环境光传感器及接近传感器,其中,环境光传感器可根据环境光线的明暗来调节显示面板5061的亮度,接近传感器可在电子设备500移动到耳边时,关闭显示面板5061和/或背光。作为运动传感器的一种,加速计传感器可检测各个方向上(一般为三轴)加速度的大小,静止时可检测出重力的大小及方向,可用于识别电子设备姿态(比如横竖屏切换、相关游戏、磁力计姿态校准)、振动识别相关功能(比如计步器、敲击)等;传感器505还可以包括指纹传感器、压力传感器、虹膜传感器、分子传感器、陀螺仪、气压计、湿度计、温度计、红外线传感器等,在此不再赘述。The
显示单元506用于显示由用户输入的信息或提供给用户的信息。显示单元506可包括显示面板5061,可以采用液晶显示器(Liquid Crystal Display,LCD)、有机发光二极管(Organic Light-Emitting Diode,OLED)等形式来配置显示面板5061。The
用户输入单元507可用于接收输入的数字或字符信息,以及产生与电子设备的用户设置以及功能控制有关的键信号输入。具体地,用户输入单元507包括触控面板5071以及其他输入设备5072。触控面板5071,也称为触摸屏,可收集用户在其上或附近的触摸操作(比如用户使用手指、触笔等任何适合的物体或附件在触控面板5071上或在触控面板5071附近的操作)。触控面板5071可包括触摸检测装置和触摸控制器两个部分。其中,触摸检测装置检测用户的触摸方位,并检测触摸操作带来的信号,将信号传送给触摸控制器;触摸控制器从触摸检测装置上接收触摸信息,并将它转换成触点坐标,再送给处理器510,接收处理器510发来的命令并加以执行。此外,可以采用电阻式、电容式、红外线以及表面声波等多种类型实现触控面板5071。除了触控面板5071,用户输入单元507还可以包括其他输入设备5072。具体地,其他输入设备5072可以包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)、轨迹球、鼠标、操作杆,在此不再赘述。The
进一步的,触控面板5071可覆盖在显示面板5061上,当触控面板5071检测到在其上或附近的触摸操作后,传送给处理器510以确定触摸事件的类型,随后处理器510根据触摸事件的类型在显示面板5061上提供相应的视觉输出。虽然在图20中,触控面板5071与显示面板5061是作为两个独立的部件来实现电子设备的输入和输出功能,但是在某些实施例中,可以将触控面板5071与显示面板5061集成而实现电子设备的输入和输出功能,具体此处不做限定。Further, the
接口单元508为外部装置与电子设备500连接的接口。例如,外部装置可以包括有线或无线头戴式耳机端口、外部电源(或电池充电器)端口、有线或无线数据端口、存储卡端口、用于连接具有识别模块的装置的端口、音频输入/输出(I/O)端口、视频I/O端口、耳机端口等等。接口单元508可以用于接收来自外部装置的输入(例如,数据信息、电力等等)并且将接收到的输入传输到电子设备500内的一个或多个元件或者可以用于在电子设备500和外部装置之间传输数据。The
存储器509可用于存储软件程序以及各种数据。存储器509可主要包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需的应用程序(比如声音播放功能、图像播放功能等)等;存储数据区可存储根据电子设备的使用所创建的数据(比如音频数据、电话本等)等。此外,存储器509可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件、闪存器件、或其他易失性固态存储器件。The
处理器510是电子设备的控制中心,利用各种接口和线路连接整个电子设备的各个部分,通过运行或执行存储在存储器509内的软件程序和/或模块,以及调用存储在存储器509内的数据,执行电子设备的各种功能和处理数据,从而对电子设备进行整体监控。处理器510可包括一个或多个处理单元;优选的,处理器510可集成应用处理器和调制解调处理器,其中,应用处理器主要处理操作系统、用户界面和应用程序等,调制解调处理器主要处理无线通信。可以理解的是,上述调制解调处理器也可以不集成到处理器510中。The
电子设备500还可以包括给各个部件供电的电源511(比如电池),优选的,电源511可以通过电源管理系统与处理器510逻辑相连,从而通过电源管理系统实现管理充电、放电、以及功耗管理等功能。The
另外,电子设备500包括一些未示出的功能模块,在此不再赘述。In addition, the
需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者装置不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者装置所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者装置中还存在另外的相同要素。It should be noted that, herein, the terms "comprising", "comprising" or any other variation thereof are intended to encompass non-exclusive inclusion, such that a process, method, article or device comprising a series of elements includes not only those elements, It also includes other elements not expressly listed or inherent to such a process, method, article or apparatus. Without further limitation, an element qualified by the phrase "comprising a..." does not preclude the presence of additional identical elements in a process, method, article or apparatus that includes the element.
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端(可以是手机,计算机,服务器,空调器,或者网络设备等)执行本发明各个实施例所述的方法。From the description of the above embodiments, those skilled in the art can clearly understand that the method of the above embodiment can be implemented by means of software plus a necessary general hardware platform, and of course can also be implemented by hardware, but in many cases the former is better implementation. Based on this understanding, the technical solutions of the present invention can be embodied in the form of software products in essence or the parts that make contributions to the prior art, and the computer software products are stored in a storage medium (such as ROM/RAM, magnetic disk, CD), including several instructions to make a terminal (which may be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) execute the methods described in the various embodiments of the present invention.
上面结合附图对本发明的实施例进行了描述,但是本发明并不局限于上述的具体实施方式,上述的具体实施方式仅仅是示意性的,而不是限制性的,本领域的普通技术人员在本发明的启示下,在不脱离本发明宗旨和权利要求所保护的范围情况下,还可做出很多形式,均属于本发明的保护之内。The embodiments of the present invention have been described above in conjunction with the accompanying drawings, but the present invention is not limited to the above-mentioned specific embodiments, which are merely illustrative rather than restrictive. Under the inspiration of the present invention, without departing from the spirit of the present invention and the scope protected by the claims, many forms can be made, which all belong to the protection of the present invention.
以上所述,仅为本发明的具体实施方式,但本发明的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本发明揭露的技术范围内,可轻易想到变化或替换,都应涵盖在本发明的保护范围之内。因此,本发明的保护范围应以权利要求的保护范围为准。The above are only specific embodiments of the present invention, but the protection scope of the present invention is not limited thereto. Any person skilled in the art can easily think of changes or substitutions within the technical scope disclosed by the present invention. should be included within the protection scope of the present invention. Therefore, the protection scope of the present invention should be subject to the protection scope of the claims.
Claims (9)
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201911053906.9A CN110826044B (en) | 2019-10-31 | 2019-10-31 | Unlocking method and electronic equipment |
PCT/CN2020/125137 WO2021083313A1 (en) | 2019-10-31 | 2020-10-30 | Unlocking method and electronic device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201911053906.9A CN110826044B (en) | 2019-10-31 | 2019-10-31 | Unlocking method and electronic equipment |
Publications (2)
Publication Number | Publication Date |
---|---|
CN110826044A CN110826044A (en) | 2020-02-21 |
CN110826044B true CN110826044B (en) | 2021-08-10 |
Family
ID=69551832
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201911053906.9A Active CN110826044B (en) | 2019-10-31 | 2019-10-31 | Unlocking method and electronic equipment |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN110826044B (en) |
WO (1) | WO2021083313A1 (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110826044B (en) * | 2019-10-31 | 2021-08-10 | 维沃移动通信有限公司 | Unlocking method and electronic equipment |
CN114626845A (en) * | 2022-03-08 | 2022-06-14 | 维沃移动通信有限公司 | Near field communication control method and device and electronic equipment |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101674367A (en) * | 2009-09-17 | 2010-03-17 | 宇龙计算机通信科技(深圳)有限公司 | Unlocking method of NFC mobile terminal and system thereof |
CN102946484A (en) * | 2012-11-16 | 2013-02-27 | Tcl通讯(宁波)有限公司 | Method for unlocking mobile terminal by near-filed communication and system |
CN104980274A (en) * | 2014-04-09 | 2015-10-14 | 海拉胡克双合有限公司 | Smart phone, vehicle control system with the smart phone and control method |
CN105700910A (en) * | 2015-12-31 | 2016-06-22 | 王江飞 | Method and system for starting application based on NFC |
CN106548060A (en) * | 2016-10-18 | 2017-03-29 | 珠海市魅族科技有限公司 | Electronic equipment unlocking method and device |
Family Cites Families (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US8726371B2 (en) * | 2011-07-18 | 2014-05-13 | Cisco Technology, Inc. | Enhanced security for devices enabled for wireless communications |
CN103916162B (en) * | 2012-12-31 | 2017-05-03 | 比亚迪股份有限公司 | Terminal equipment and NFC method for same |
CN109788463B (en) * | 2018-12-17 | 2022-11-18 | 平安科技(深圳)有限公司 | Method and device for controlling terminal unlocking, computer equipment and storage medium |
CN110826044B (en) * | 2019-10-31 | 2021-08-10 | 维沃移动通信有限公司 | Unlocking method and electronic equipment |
-
2019
- 2019-10-31 CN CN201911053906.9A patent/CN110826044B/en active Active
-
2020
- 2020-10-30 WO PCT/CN2020/125137 patent/WO2021083313A1/en active Application Filing
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101674367A (en) * | 2009-09-17 | 2010-03-17 | 宇龙计算机通信科技(深圳)有限公司 | Unlocking method of NFC mobile terminal and system thereof |
CN102946484A (en) * | 2012-11-16 | 2013-02-27 | Tcl通讯(宁波)有限公司 | Method for unlocking mobile terminal by near-filed communication and system |
CN104980274A (en) * | 2014-04-09 | 2015-10-14 | 海拉胡克双合有限公司 | Smart phone, vehicle control system with the smart phone and control method |
CN105700910A (en) * | 2015-12-31 | 2016-06-22 | 王江飞 | Method and system for starting application based on NFC |
CN106548060A (en) * | 2016-10-18 | 2017-03-29 | 珠海市魅族科技有限公司 | Electronic equipment unlocking method and device |
Also Published As
Publication number | Publication date |
---|---|
WO2021083313A1 (en) | 2021-05-06 |
CN110826044A (en) | 2020-02-21 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN111143005B (en) | Application sharing method, electronic equipment and computer readable storage medium | |
CN111130817B (en) | Group creation method, electronic device and server | |
CN108052819B (en) | Face recognition method, mobile terminal and computer readable storage medium | |
CN108376096B (en) | A message display method and mobile terminal | |
CN108664818B (en) | Unlocking control method and device | |
CN111124706A (en) | Application sharing method and electronic device | |
CN107609363B (en) | An unlocking method and mobile terminal | |
CN108958582A (en) | A kind of application program launching method and terminal | |
CN109446794B (en) | A password input method and mobile terminal thereof | |
CN108305342A (en) | A kind of Work attendance method and mobile terminal | |
CN110536253A (en) | A kind of group's Adding Way and mobile terminal | |
CN110826044B (en) | Unlocking method and electronic equipment | |
CN111310250A (en) | Application sharing method and electronic device | |
CN109828668A (en) | A kind of display control method and electronic equipment | |
CN110096893B (en) | Object limiting method and terminal equipment | |
CN108549807B (en) | Screen unlocking method and mobile terminal | |
CN108062465B (en) | Unlocking method and mobile terminal | |
CN107491685B (en) | Face recognition method and mobile terminal | |
CN111586889A (en) | Equipment connection method and device and electronic equipment | |
CN108897467B (en) | A display control method and terminal device | |
CN111460537A (en) | Method for hiding page content and electronic equipment | |
CN108495276B (en) | Method and device for sharing digital business card | |
CN111381753A (en) | Multimedia file playback method and electronic device | |
CN108881481A (en) | A file retrieval method, device and terminal equipment thereof | |
CN109286723A (en) | A wallpaper replacement method and terminal |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |