Unlocking method and electronic equipment

文档序号:1465723 发布日期:2020-02-21 浏览:28次 中文

阅读说明:本技术 一种解锁方法及电子设备 (Unlocking method and electronic equipment ) 是由 覃后谱 于 2019-10-31 设计创作,主要内容包括:本发明提供一种解锁方法及电子设备,该方法包括:获取第二电子设备的近场通信模块的第一物理标识;在所述第一物理标识与预先设置的用于解锁所述第一电子设备的近场通信模块的第二物理标识相同的情况下,解锁所述第一电子设备;本发明实施例通过第二电子设备的近场通信模块的第一物理标识解锁第一电子设备,进一步可以通过第一电子设备的近场通信模块的虚拟标识选择解锁后显示特定信息,使解锁后的操作更加方便快捷。(The invention provides an unlocking method and electronic equipment, wherein the method comprises the following steps: acquiring a first physical identification of a near field communication module of second electronic equipment; under the condition that the first physical identification is the same as a preset second physical identification used for unlocking a near field communication module of the first electronic equipment, unlocking the first electronic equipment; according to the embodiment of the invention, the first electronic equipment is unlocked through the first physical identification of the near field communication module of the second electronic equipment, and further, the specific information is displayed after the unlocking is selected through the virtual identification of the near field communication module of the first electronic equipment, so that the operation after the unlocking is more convenient and faster.)

1. An unlocking method is applied to a first electronic device and comprises the following steps:

acquiring a first physical identification of a near field communication module of second electronic equipment;

and unlocking the first electronic equipment under the condition that the first physical identification is the same as a preset second physical identification for unlocking a near field communication module of the first electronic equipment.

2. The method of claim 1, wherein prior to obtaining the first physical identity of the near field communication module of the second electronic device, the method further comprises:

and acquiring a second physical identification which is input by a user and used for unlocking the near field communication module of the first electronic equipment.

3. The method of claim 1, wherein prior to obtaining the first physical identity of the near field communication module of the second electronic device, the method further comprises:

searching for a second electronic device through the near field communication module;

under the condition that a second electronic device is searched, pairing the first electronic device and the second electronic device through a first physical identification of a near field communication module of the second electronic device and a second physical identification of the near field communication module of the second electronic device;

wherein the second physical identifier is a physical identifier for unlocking a near field communication module of the first electronic device.

4. The method of claim 3, wherein pairing the first electronic device and the second electronic device through 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 second electronic device comprises:

the method comprises the steps of obtaining a first physical identification, input by a user, of a near field communication module of second electronic equipment on first electronic equipment, and completing pairing of the first electronic equipment and the second electronic equipment under the condition that the second electronic equipment receives a second physical identification, input by the user, of the near field communication module of the first electronic equipment.

5. The method according to claim 1, wherein after acquiring the first physical identifier of the near field communication module of the second electronic device, in case that the first physical identifier is the same as a second physical identifier preset for unlocking the near field communication module of the first electronic device, the method further comprises:

receiving a first virtual identifier of a near field communication module of the first electronic device, which is sent by the second electronic device;

and displaying target information corresponding to the first virtual identification.

6. The method of claim 1, wherein obtaining the first physical identity of the near field communication module of the second electronic device comprises:

receiving a first physical identification of a near field communication module of the second electronic device sent by the second electronic device in an unlocked state.

7. An unlocking method applied to a second electronic device is characterized by comprising the following steps:

searching for a first electronic device through a near field communication module;

in the case that the first electronic device is searched, sending a first physical identification of a near field communication module of the second electronic device to the first electronic device;

wherein the first physical identifier is used for unlocking the first electronic device.

8. The method of claim 7, wherein in the case that the first electronic device is searched, before sending the first physical identity of the near field communication module of the second electronic device to the first electronic device, the method further comprises:

acquiring a second physical identification of the near field communication module of the first electronic equipment, which is input by a user on the second electronic equipment, and completing pairing of the second electronic equipment and the first electronic equipment under the condition that the first electronic equipment receives the first physical identification of the near field communication module of the second electronic equipment, which is input by the user;

and the first physical identification of the near field communication module of the second electronic equipment which is paired is used for unlocking the first electronic equipment.

9. The method of claim 7, wherein after sending the first physical identity of the near field communication module of the second electronic device to the first electronic device in the case that the first electronic device is searched, the method further comprises:

displaying at least one indication mark according to the target mapping relation;

receiving first input of a user to a target indication identifier in the at least one indication identifier, and sending a first virtual identifier corresponding to the target indication identifier to the first electronic device;

the first virtual identification is used for indicating the first electronic equipment to display target information corresponding to the first virtual identification after unlocking; the target mapping relation is a mapping relation between at least one virtual identifier of a near field communication module of the first electronic device and at least one target information of the first electronic device; the target mapping relationship is set on the first electronic device or on the second electronic device.

10. A first electronic device, comprising:

the identification acquisition module is used for acquiring a first physical identification of the near field communication module of the second electronic equipment;

and the unlocking module is used for unlocking the first electronic equipment under the condition that the first physical identifier is the same as a preset second physical identifier used for unlocking the near field communication module of the first electronic equipment.

11. A second electronic device, comprising:

a search module for searching for a first electronic device through the near field communication module;

the first identification sending module is used for sending a first physical identification of the near field communication module of the second electronic equipment to the first electronic equipment under the condition that the first electronic equipment is searched;

wherein the first physical identifier is used for unlocking the first electronic device.

12. An electronic device, comprising a processor, a memory and a computer program stored on the memory and executable on the processor, the computer program, when executed by the processor, implementing the steps of the unlocking method according to any one of claims 1 to 6; alternatively, the computer program realizes the steps of the unlocking method according to any one of claims 7 to 9 when being executed by the processor.

13. A computer-readable storage medium, on which a computer program is stored which, when being executed by a processor, carries out the steps of the unlocking method according to any one of claims 1 to 6; alternatively, the computer program realizes the steps of the unlocking method according to any one of claims 7 to 9 when being executed by a processor.

Technical Field

The present invention relates to the field of communications technologies, and in particular, to an unlocking method and an electronic device.

Background

With the development of communication technology, the unlocking modes of electronic equipment are updated from a functional machine to an intelligent machine, and the unlocking modes are higher in security level and more convenient from the initial unlocking mode of only password input to the pattern unlocking mode to the prior unlocking modes such as fingerprint unlocking, facial recognition unlocking and iris unlocking, so that the infinite unlocking modes bring good experience and feeling to people. However, these methods are all interface type unlocking methods, and the unlocking method is too single. Further, when the user forgets a password or a pattern, the unlocking finger is injured, and the like, the electronic device cannot be unlocked.

Disclosure of Invention

The embodiment of the invention provides an unlocking method and electronic equipment, and aims to solve the problem that certain scenes cannot be unlocked in the existing unlocking mode.

In order to solve the technical problem, the invention is realized as follows: an unlocking method is applied to a first electronic device and comprises the following steps:

acquiring a first physical identification of a near field communication module of second electronic equipment;

and unlocking the first electronic equipment under the condition that the first physical identification is the same as a preset second physical identification for unlocking a near field communication module of the first electronic equipment.

The embodiment of the invention also provides an unlocking method which is applied to the second electronic equipment and comprises the following steps:

searching for a first electronic device through a near field communication module;

in the case that the first electronic device is searched, sending a first physical identification of a near field communication module of the second electronic device to the first electronic device;

wherein the first physical identifier is used for unlocking the first electronic device.

An embodiment of the present invention further provides a first electronic device, including:

the identification acquisition module is used for acquiring a first physical identification of the near field communication module of the second electronic equipment;

and the unlocking module is used for unlocking the first electronic equipment under the condition that the first physical identifier is the same as a preset second physical identifier used for unlocking the near field communication module of the first electronic equipment.

An embodiment of the present invention further provides a second electronic device, including:

a search module for searching for a first electronic device through the near field communication module;

the first identification sending module is used for sending a first physical identification of the near field communication module of the second electronic equipment to the first electronic equipment under the condition that the first electronic equipment is searched;

wherein the first physical identifier is used for unlocking the first electronic device.

An embodiment of the present invention further provides an electronic device, which includes a processor, a memory, and a computer program stored on the memory and executable on the processor, and when the computer program is executed by the processor, the steps of the unlocking method described above are implemented.

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, the steps of the unlocking method are implemented.

In the embodiment of the invention, the first electronic device is unlocked through the first physical identifier of the near field communication module of the second electronic device, and further, the specific information is displayed after the unlocking is selected through the virtual identifier of the near field communication module of the first electronic device, so that the operation after the unlocking is more convenient and faster.

Drawings

Fig. 1 is a flowchart illustrating steps of an unlocking method according to an embodiment of the present invention;

FIG. 2 is a schematic flow chart diagram of an example first embodiment of the present invention;

FIG. 3 is a schematic diagram of a display of an electronic device according to an exemplary embodiment of the invention;

FIG. 4 is a second schematic display diagram of an electronic device according to a first exemplary embodiment of the invention;

FIG. 5 is a third schematic display diagram of an electronic device according to an exemplary embodiment of the invention;

FIG. 6 is a fourth illustration of a display of an electronic device according to an exemplary embodiment of the invention;

FIG. 7 is a diagram illustrating a fifth exemplary display of an electronic device according to an embodiment of the present invention;

FIG. 8 is a flowchart illustrating a second step of the unlocking method according to the embodiment of the present invention;

FIG. 9 is a flowchart illustrating example two provided by an embodiment of the present invention;

FIG. 10 is a diagram illustrating one of display diagrams of an electronic device according to a second example of the present invention;

FIG. 11 is a second schematic display diagram of an electronic device according to a second embodiment of the invention;

FIG. 12 is a third schematic diagram of an electronic device according to a second exemplary embodiment of the invention;

FIG. 13 is a fourth illustration of a display of an electronic device in accordance with a second illustrative embodiment of the present invention;

FIG. 14 is a diagram illustrating a fifth exemplary display of an electronic device according to an embodiment of the present invention;

FIG. 15 is a diagram illustrating a sixth exemplary display of an electronic device according to an embodiment of the present invention;

FIG. 16 is a seventh illustration of a display diagram of an electronic device according to a second example of the present invention;

FIG. 17 is an eighth schematic display diagram of an electronic device according to a second example of the present invention;

fig. 18 is a schematic structural diagram of a first electronic device according to an embodiment of the present invention;

fig. 19 is a second schematic structural diagram of a second electronic device according to an embodiment of the invention;

fig. 20 is a third schematic structural diagram of an electronic device according to an embodiment of the invention.

Detailed Description

The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, 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 examples, illustrations or descriptions. Any embodiment or design described as "exemplary" or "e.g.," an embodiment of the present invention is not necessarily to be construed as preferred or advantageous over other embodiments or designs. Rather, use of the word "exemplary" or "such as" is intended to present concepts related in a concrete fashion.

As shown in fig. 1, an embodiment of the present invention provides an unlocking method applied to a first electronic device, including:

step 101, a first physical identifier of a near field communication module of a second electronic device is obtained.

And 102, unlocking the first electronic device under the condition that the first physical identifier is the same as a preset second physical identifier for unlocking a near field communication module of the first electronic device.

Alternatively, the Near Field Communication module may be NFC (Near Field Communication), which is a magnetic Field Communication with high security level, and has been dominant in security systems in various fields. The electronic equipment unlocking and the near field communication module are combined, a multi-style and three-dimensional unlocking mode is developed, the electronic equipment can be unlocked more abundantly and interestingly, and the experience feeling of people on the electronic equipment is improved. And when the user forgets the password or the pattern, the unlocking finger is injured and the like, the first electronic equipment can be unlocked through the second electronic equipment.

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 the embodiment of the invention, two devices (namely, a first electronic device and a second electronic device) with near field communication modules can be used for mutually unlocking; but each electronic device needs to preset a physical identifier of the near field communication module that can be used to unlock the electronic device; and under the condition that the physical identification of the near field communication module of the second electronic equipment close to the first electronic equipment is the physical identification preset for unlocking the first electronic equipment, unlocking the first electronic equipment.

As an alternative embodiment, before step 101, the method further comprises:

and acquiring a second physical identification which is input by a user and used for unlocking the near field communication module of the first electronic equipment.

For example, the user inputs a second physical identifier on a setting interface of "setting an NFC unlocking handset", and after the setting is completed, the second physical identifier is a physical identifier for unlocking the near field communication module of the first electronic device. The setting mode is simple, and the setting operation is carried out on the first electronic equipment side, so that the operation flow is simplified.

As another alternative embodiment, before step 101, the method further comprises:

searching for a second electronic device through the near field communication module;

under the condition that a second electronic device is searched, pairing the first electronic device and the second electronic device through a first physical identification of a near field communication module of the second electronic device and a second physical identification of the near field communication module of the second electronic device;

wherein the second physical identifier is a physical identifier for unlocking a 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 a step of pairing the first electronic device and the second electronic device through the near field communication module, and the first electronic device and the second electronic device which are successfully paired can be mutually unlocked. The setting mode needs different users or the same user to operate on the first electronic equipment side and the second electronic equipment side respectively, and the process of setting the physical identification for unlocking is safer.

Optionally, the pairing of the first electronic device and the second electronic device is performed through 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 second electronic device:

the method comprises the steps of obtaining a first physical identification, input by a user, of a near field communication module of second electronic equipment on first electronic equipment, and completing pairing of the first electronic equipment and the second electronic equipment under the condition that the second electronic equipment receives a second physical identification, input by the user, of the near field communication module of the first electronic equipment.

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, and are not limited specifically herein.

As an alternative embodiment, step 101 comprises:

receiving a first physical identification of a near field communication module of the second electronic device sent by the second electronic device in an unlocked state.

In order to improve unlocking safety, the second electronic equipment can unlock the first electronic equipment under the condition that the second electronic equipment is in an unlocking state; if the first electronic device and the second electronic device are both in the locked state, the first electronic device cannot unlock the second electronic device, and the second electronic device cannot unlock the first electronic device.

Example one: the first electronic device and the second electronic device are close to each other, the physical identification of the near field communication module of the other party is set to unlock the device, and then pairing is realized through mutual confirmation of the two parties; when the two electronic devices approach, the first electronic device can be automatically unlocked. The specific steps are shown in fig. 2:

step 201, the first electronic device and the second electronic device respectively click to set → security and privacy, and the security and privacy interface includes an NFC unlock phone button, as shown in fig. 3.

Step 202, the first electronic device and the second electronic device click the NFC unlock phone button to enter the interface shown in fig. 4, and the electronic devices display their respective NFC IDs (i.e. physical identifiers of the NFC modules), for example, the NFC IDs of the NFC modules of the first electronic device are: 12345678; the NFC ID of the near field communication module of the second electronic device is: 2458113, respectively; the first electronic equipment clicks and searches nearby electronic equipment, and when the first electronic equipment sends a signal to detect nearby second electronic equipment, the first electronic equipment displays that equipment is nearby and asks for inputting the NFC ID of the other party; the second electronic device also displays that there is a device nearby, please enter the counterpart NFC ID.

Step 203, inputting the NFC ID of the second electronic device by the first electronic device, inputting the NFC ID of the first electronic device by the second electronic device, clicking the first electronic device and the second electronic device to confirm matching, performing device matching by the near field communication modules of the first electronic device and the second electronic device, walking the progress bar, and displaying that matching is successful after the progress bar is completely walked, as shown in fig. 5.

Step 204, when the first electronic device needs to be unlocked, the second electronic device is in a standby interface after unlocking, when the second electronic device is close to the first electronic device, the first electronic device detects that the matched second electronic device is close, and the first electronic device is automatically unlocked after successful matching is identified, as shown in fig. 6.

In step 205, after the unlocking is successful, the first electronic device displays a standby interface, as shown in fig. 7. It should be noted that the first electronic device after the unlocking is successful may also display a display interface when the first electronic device is locked, for example, the first electronic device is not locked due to long-time non-operation of the album display interface, in this case, after the first electronic device is unlocked through the second electronic device, the first electronic device may continue to display the album display interface.

To sum up, the embodiment of the present invention provides a new security method for unlocking an electronic device, which can unlock the first electronic device through a near field communication module of a second electronic device when a user of the first electronic device is locked or the user of the first electronic device is inconvenient to operate, so as to avoid the situation that the first electronic device cannot be unlocked, enrich the unlocking diversity of the user, and increase the security of the electronic device.

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 identifications;

the method further comprises the following steps:

setting a target mapping relation, wherein the target mapping relation is a mapping relation between at least one virtual identifier of a near field communication module of the first electronic device and at least one target information of the first electronic device;

and sending the target mapping relation to the second electronic equipment which is matched with the first electronic equipment.

Correspondingly, after step 101, in a case that the first physical identifier is the same as a second physical identifier that is preset for unlocking a near field communication module of the first electronic device, the method further includes:

receiving a first virtual identifier of a near field communication module of the first electronic device, which is sent by the second electronic device;

and displaying target information corresponding to the first virtual identification.

It should be noted that only one physical identifier is set in one near field communication module of the electronic device, and the physical identifier is used for identifying the identity information of the near field communication module; the physical mark can be configured by a manufacturer of the near field communication module, and a user cannot modify, delete or add the physical mark at will; a near field communication module of the electronic device may set a plurality of virtual identifiers, where the virtual identifiers are set by a user, the virtual identifiers cannot identify the identity of the near field communication module, the virtual identifiers are set to identify target information displayed after unlocking, and the user may modify, delete, or add the target information at will, which is not limited specifically herein.

Since only one physical identifier is set in one nfc module, in order to enable the electronic device to display different information after being unlocked, in the embodiment of the present invention, a plurality of virtual identifiers are set in the nfc module of the first electronic device. Based on the setting of the virtual identifier, the first electronic device sets different information which can be displayed after the first electronic device unlocks the first electronic device.

As an alternative embodiment, step 101 comprises:

receiving a first physical identification of a near field communication module of the second electronic device sent by the second electronic device in an unlocked state.

In order to improve unlocking safety, the second electronic equipment can unlock the first electronic equipment under the condition that the second electronic equipment is in an unlocking state; if the first electronic device and the second electronic device are both in the locked state, the first electronic device cannot unlock the second electronic device, and the second electronic device cannot unlock the first electronic device.

To sum up, the embodiment of the present invention provides a device for mutual unlocking through a physical identifier of a near field communication module, and further, a designated interface can be quickly displayed through a virtual identifier of the near field communication module, so that the operation is convenient and fast.

As shown in fig. 8, an embodiment of the present invention further provides an unlocking method applied to a second electronic device, including:

step 801, searching for a first electronic device through a near field communication module;

step 802, in the case that the first electronic device is searched, sending a first physical identifier of a near field communication module of the second electronic device to the first electronic device;

wherein the first physical identifier is used for unlocking the first electronic device.

Alternatively, the Near Field Communication module may be NFC (Near Field Communication), which is a magnetic Field Communication with high security level, and has been dominant in security systems in various fields. The electronic equipment unlocking and the near field communication module are combined, a multi-style and three-dimensional unlocking mode is developed, the electronic equipment can be unlocked more abundantly and interestingly, and the experience feeling of people on the electronic equipment is improved. And when the user forgets the password or the pattern, the unlocking finger is injured and the like, the first electronic equipment can be unlocked through the second electronic equipment.

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 the embodiment of the invention, two devices (namely, a first electronic device and a second electronic device) with near field communication modules can be used for mutually unlocking; but each electronic device needs to preset a physical identifier of the near field communication module that can be used to unlock the electronic device; and under the condition that the physical identification of the near field communication module of the second electronic equipment close to the first electronic equipment is the physical identification preset for unlocking the first electronic equipment, unlocking the first electronic equipment.

Optionally, in the above embodiment of the present invention, before step 802, the method further includes:

acquiring a second physical identification of the near field communication module of the first electronic equipment, which is input by a user on the second electronic equipment, and completing pairing of the second electronic equipment and the first electronic equipment under the condition that the first electronic equipment receives the first physical identification of the near field communication module of the second electronic equipment, which is input by the user;

and the first physical identification of the near field communication module of the second electronic equipment which is paired is used for unlocking the first electronic equipment.

In other words, the step of presetting the physical identifier for unlocking the near field communication module of the first electronic device is a step of pairing the first electronic device and the second electronic device through the near field communication module, and the first electronic device and the second electronic device which are successfully paired can be mutually unlocked. The setting mode needs different users or the same user to operate on the first electronic equipment side and the second electronic equipment side respectively, and the process of setting the physical identification for unlocking is safer.

As yet another alternative embodiment, the first electronic device sets different information that can be displayed after unlocking itself; the second electronic device may also set different information for the first electronic device that can be displayed after unlocking. Since only one physical identifier is set in one nfc module, in order to enable the electronic device to display different information after being unlocked, in the embodiment of the present invention, a plurality of virtual identifiers are set in the nfc module of the first electronic device. After step 802, the method further comprises:

displaying at least one indication mark according to the target mapping relation; for example, the indicator may be an icon of an application;

receiving first input of a user to a target indication identifier in the at least one indication identifier, and sending a first virtual identifier corresponding to the target indication identifier to the first electronic device; for example, the first input may be a click input, a long press input, a double click input, or the like; alternatively, the first input may also be referred to as a first operation, and is not specifically limited herein.

It should be noted that only one physical identifier is set in one near field communication module of the electronic device, and the physical identifier is used for identifying the identity information of the near field communication module; the physical mark can be configured by a manufacturer of the near field communication module, and a user cannot modify, delete or add the physical mark at will; a near field communication module of the electronic device may set a plurality of virtual identifiers, where the virtual identifiers are set by a user, the virtual identifiers cannot identify the identity of the near field communication module, the virtual identifiers are set to identify target information displayed after unlocking, and the user may modify, delete, or add the target information at will, which is not limited specifically herein.

The first virtual identification is used for indicating the first electronic equipment to display target information corresponding to the first virtual identification after unlocking; the target mapping relation is a mapping relation between at least one virtual identifier of a near field communication module of the first electronic device and at least one target information of the first electronic device; the target mapping relationship is set on the first electronic device or on the second electronic device.

To sum up, the embodiment of the present invention provides a device for mutual unlocking through a physical identifier of a near field communication module, and further, a designated interface can be quickly displayed through a virtual identifier of the near field communication module, so that the operation is convenient and fast.

Example two: the first electronic device and the second electronic device are close to each other, the physical identification of the near field communication module of the other party is set to unlock the device, different display information after unlocking is appointed according to different virtual identifications, and then pairing is achieved through mutual confirmation of the first electronic device and the second electronic device; when the two electronic devices approach each other, the first electronic device may automatically unlock and display the target information selected by the second electronic device, and the specific steps are as shown in fig. 9:

in step 901, the first electronic device and the second electronic device enter settings → fingerprint, face and password interface → entry settings input fingerprint, face recognition NFC ID (i.e. physical identification of the NFC module) interface, respectively, as shown in fig. 10.

Step 902, setting a physical identifier (i.e. a local NFC ID shown in fig. 11) of a near field communication module of the electronic device displayed on the interface of the input fingerprint and the face recognition NFC ID, where the virtual identifier is an NFC ID1 shown in fig. 11: 12254861, NFC ID2 is: 12185347, NFC ID3 is: 02442381 and NFC ID4 are: 35894427, respectively; clicking a 'set popup interface' button on the first electronic device, and setting a popup window corresponding to the corresponding virtual NFC ID; for example, if a "set popup interface" button corresponding to the NFC ID1 is clicked, the first electronic device displays an interface shown on the right side of fig. 11, and if an "address book" button is clicked, the NFC ID1 popup interface is set as an address book; further, the NFCID 2 pop-up interface may be set as information, the NFC ID3 pop-up interface may be set as a calendar, and the like according to the above steps, and after the setting is completed, the first electronic device may click to confirm that the first electronic device stores the corresponding mapping relationship, as shown in fig. 11.

Step 903, the first electronic device clicks to search nearby devices, at this time, the first electronic device C sends a signal to search nearby devices, a second electronic device is found nearby, the first electronic device displays that nearby devices exist, the first electronic device inputs the NFC ID of the second electronic device, the second electronic device inputs the NFC ID of the first electronic device, and the first electronic device and the second electronic device click to confirm matching; as shown in fig. 12.

Step 904, the near field communication modules of the first electronic device and the second electronic device perform device matching, the progress bar walks, the progress bar finishes walking and displays that the matching is successful, and meanwhile, the first electronic device synchronizes the set target mapping relationship to the second electronic device and prompts that the matching is successful, as shown in fig. 13.

Step 905, when the first electronic device needs to be unlocked, as shown in fig. 14, the second electronic device is in a standby interface after being unlocked, when the second electronic device is close to the first electronic device, the first electronic device detects that a matched second electronic device is close, and after the matching is successful, the second electronic device displays target information that can be displayed after the first electronic device is unlocked, as shown in fig. 15.

Step 906, the second electronic device clicks the address book button, as shown in fig. 16, and the address book interface is directly displayed after the first electronic device is successfully unlocked, as shown in fig. 17, so that different interfaces can be popped up after the first electronic device is selectively unlocked.

To sum up, the embodiment of the present invention provides a new security method for unlocking an electronic device, where when a user of a first electronic device is locked or the user of the first electronic device is inconvenient to operate, the first electronic device can be unlocked through a near field communication module of a second 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 a virtual identifier of the near field communication module, so that the operation is convenient.

As shown in fig. 18, an embodiment of the present invention further provides a first electronic device 300, including:

an identifier obtaining module 301, configured to obtain a first physical identifier of a near field communication module of a second electronic device;

an unlocking module 302, configured to unlock the first electronic device when the first physical identifier is the same as a second physical identifier that is preset to unlock a near field communication module of the first electronic device.

Optionally, in the above embodiment of the present invention, the first electronic device further includes:

and the setting module is used for acquiring a second physical identifier which is input by a user and used for unlocking the near field communication module of the first electronic equipment.

Optionally, in the above embodiment of the present invention, the first electronic device further includes:

a device search module for searching for a second electronic device through the near field communication module;

the pairing module is used for pairing the first electronic equipment and the second electronic equipment through a first physical identification of a near field communication module of the second electronic equipment and a second physical identification of the near field communication module of the second electronic equipment under the condition that the second electronic equipment is searched;

wherein the second physical identifier is a physical identifier for unlocking a near field communication module of the first electronic device.

Optionally, in the above embodiment of the present invention, the pairing module includes:

and the pairing submodule is used for acquiring a first physical identifier of a near field communication module of the second electronic equipment, which is input by a user on the first electronic equipment, and completing pairing of the first electronic equipment and the second electronic equipment under the condition that the second electronic equipment receives a second physical identifier of the near field communication module of the first electronic equipment, which is input by the user.

Optionally, in the above embodiment of the present invention, the unlocking module includes:

the identification receiving module is used for receiving a first virtual identification of the near field communication module of the first electronic equipment, which is sent by the second electronic equipment;

and the display module is used for displaying the target information corresponding to the first virtual identifier.

Optionally, in the foregoing embodiment of the present invention, the identifier obtaining module includes:

and the identification receiving submodule is used for receiving a first physical identification of the near field communication module of the second electronic equipment, which is sent by the second electronic equipment in an unlocked state.

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 17, and for avoiding repetition, details are not described here again.

To sum up, the embodiment of the present invention provides a new security method for unlocking an electronic device, where when a user of a first electronic device is locked or the user of the first electronic device is inconvenient to operate, the first electronic device can be unlocked through a near field communication module of a second 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 a virtual identifier of the near field communication module, so that the operation is convenient.

It should be noted that the first electronic device provided in the embodiment of the present invention is a first electronic device capable of executing the unlocking method, and all embodiments of the 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, where the electronic device is a first electronic device, and the electronic device includes a processor, a memory, and a computer program stored in the memory and capable of running on the processor, and when the computer program is executed by the processor, the electronic device implements each process of the embodiment of the unlocking method applied to the first electronic device, and can achieve the same technical effect, and in order to avoid repetition, details are not repeated here.

The 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, the computer program implements the processes of the above-mentioned embodiment of the unlocking method applied to the first electronic device, and can achieve the same technical effects, and in order to avoid repetition, the details are not repeated here. The computer-readable storage medium may be a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk.

As shown in fig. 19, an embodiment of the present invention further provides a second electronic device 400, including:

a searching module 401, configured to search for a first electronic device through a near field communication module;

a first identity sending module 402, configured to send, to the first electronic device, a first physical identity of a near field communication module of the second electronic device if the first electronic device is searched;

wherein the first physical identifier is used for unlocking the first electronic device.

Optionally, in the above embodiment of the present invention, the second electronic device further includes:

the device pairing module is used for acquiring a second physical identifier of the near field communication module of the first electronic device, which is input by a user on the second electronic device, and completing pairing of the second electronic device and the first electronic device under the condition that the first electronic device receives a first physical identifier of the near field communication module of the second electronic device, which is input by the user;

and the first physical identification of the near field communication module of the second electronic equipment which is paired is used for unlocking the first electronic equipment.

Optionally, in the above embodiment of the present invention, the second electronic device further includes:

the display module is used for displaying at least one indication mark according to the target mapping relation;

the second identifier sending module is used for receiving a first input of a user to a target identifier in the at least one identifier, and sending a first virtual identifier corresponding to the target identifier to the first electronic device;

the first virtual identification is used for indicating the first electronic equipment to display target information corresponding to the first virtual identification after unlocking; the target mapping relation is a mapping relation between at least one virtual identifier of a near field communication module of the first electronic device and at least one target information of the first electronic device; the target mapping relationship is set on the first electronic device or on the second electronic device.

The second electronic device provided in the embodiment of the present invention can implement each process implemented by the second electronic device in the method embodiments of fig. 1 to 17, and for avoiding repetition, details are not described here again.

To sum up, the embodiment of the present invention provides a new security method for unlocking an electronic device, where when a user of a first electronic device is locked or the user of the first electronic device is inconvenient to operate, the first electronic device can be unlocked through a near field communication module of a second 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 a virtual identifier of the near field communication module, so that 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 unlocking method, and all embodiments of the unlocking method are applicable to the second electronic device and can achieve the same or similar beneficial effects.

Preferably, an embodiment of the present invention further provides an electronic device, where the electronic device is a second electronic device, and the electronic device includes a processor, a memory, and a computer program stored in the memory and capable of running on the processor, and when the computer program is executed by the processor, the computer program implements each process of the above-mentioned embodiment of the unlocking method applied to the second electronic device, and can achieve the same technical effect, and in order to avoid repetition, details are not described here again.

The 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, the computer program implements the processes of the above-mentioned embodiment of the unlocking method applied to the second electronic device, and can achieve the same technical effects, and in order to avoid repetition, the details are not repeated here. The computer-readable storage medium may be a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk.

Fig. 20 is a schematic hardware structure diagram of an electronic device 500 for implementing various embodiments of the present invention, where the electronic device 500 includes, but is not limited to: an NFC unit 501, a network module 502, an audio output unit 503, an input unit 504, a sensor 505, a display unit 506, a user input unit 507, an interface unit 508, a memory 509, a processor 510, a power supply 511, and the like. Those skilled in the art will appreciate that the electronic device configuration shown in fig. 20 does not constitute a limitation of the electronic device, and that the electronic device may include more or fewer components than shown, or combine certain components, or a different arrangement of components. In the embodiment of the present invention, the electronic device includes, but is not limited to, a mobile phone, a tablet computer, a notebook computer, a palm computer, a vehicle-mounted terminal, a wearable device, a pedometer, and the like.

The NFC unit 501 is configured to obtain a first physical identifier of a near field communication module of a second electronic device; a processor 510, configured to unlock the first electronic device if the first physical identifier is the same as a second physical identifier that is preset to unlock a near field communication module of the first electronic device;

alternatively, the first and second electrodes may be,

the NFC unit 501 is configured to search for a first electronic device through a near field communication module; a processor 510, configured to send, to the first electronic device, a first physical identity of a near field communication module of the second electronic device if the first electronic device is searched; wherein the first physical identifier is used for unlocking the first electronic device.

To sum up, the embodiment of the present invention provides a new security method for unlocking an electronic device, where when a user of a first electronic device is locked or the user of the first electronic device is inconvenient to operate, the first electronic device can be unlocked through a near field communication module of a second 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 a virtual identifier of the near field communication module, so that the operation is convenient.

It should be noted that the electronic device provided in the embodiment of the present invention is an electronic device capable of executing the unlocking method, and all embodiments of the unlocking method are applicable to the electronic device and can achieve the same or similar beneficial effects.

It should be understood that, in the embodiment of the present invention, the NFC unit 501 may be used for receiving and sending signals during information transmission and reception or during a call, and specifically, receives downlink data from a base station and then processes the received downlink data to the processor 510; in addition, the uplink data is transmitted to the base station. Generally, NFC unit 501 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like. Further, the NFC unit 501 can also communicate with a network and other devices through a wireless communication system.

The electronic device provides wireless broadband internet access to the user via the network module 502, such as assisting the user in sending and receiving e-mails, browsing web pages, and accessing streaming media.

The audio output unit 503 may convert audio data received by the NFC unit 501 or the network module 502 or stored in the memory 509 into an audio signal and output as sound. Also, the audio output unit 503 may also provide audio output related to a specific function performed by the electronic apparatus 500 (e.g., a call signal reception sound, a message reception sound, etc.). The audio output unit 503 includes a speaker, a buzzer, a receiver, and the like.

The input unit 504 is used to receive an audio or video signal. The input Unit 504 may include a Graphics Processing Unit (GPU) 5041 and a microphone 5042, and the Graphics processor 5041 processes image data of a still picture or video obtained by an image capturing device (e.g., a camera) in a video capturing mode or an image capturing mode. The processed image frames may be displayed on the display unit 506. The image frames processed by the graphic processor 5041 may be stored in the memory 509 (or other storage medium) or transmitted via the NFC unit 501 or the network module 502. The microphone 5042 may receive sounds and may be capable of processing such sounds into audio data. The processed audio data may be converted into a format output transmittable to a mobile communication base station via the NFC unit 501 in case of the phone call mode.

The electronic device 500 also includes at least one sensor 505, such as light sensors, motion sensors, and other sensors. Specifically, the light sensor includes an ambient light sensor that can adjust the brightness of the display panel 5061 according to the brightness of ambient light, and a proximity sensor that can turn off the display panel 5061 and/or a backlight when the electronic device 500 is moved to the ear. As one type of motion sensor, an accelerometer sensor can detect the magnitude of acceleration in each direction (generally three axes), detect the magnitude and direction of gravity when stationary, and can be used to identify the posture of an electronic device (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), and vibration identification related functions (such as pedometer, tapping); the sensors 505 may also include fingerprint sensors, pressure sensors, iris sensors, molecular sensors, gyroscopes, barometers, hygrometers, thermometers, infrared sensors, etc., which are not described in detail herein.

The display unit 506 is used to display information input by the user or information provided to the user. The Display unit 506 may include a Display panel 5061, and the Display panel 5061 may be configured in the form of a Liquid Crystal Display (LCD), an Organic Light-Emitting Diode (OLED), or the like.

The user input unit 507 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the electronic device. Specifically, the user input unit 507 includes a touch panel 5071 and other input devices 5072. Touch panel 5071, also referred to as a touch screen, may collect touch operations by a user on or near it (e.g., operations by a user on or near touch panel 5071 using a finger, stylus, or any suitable object or attachment). The touch panel 5071 may include two parts of a touch detection device and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts the touch information into touch point coordinates, sends the touch point coordinates to the processor 510, and receives and executes commands sent by the processor 510. In addition, the touch panel 5071 may be implemented in various types such as a resistive type, a capacitive type, an infrared ray, and a surface acoustic wave. In addition to the touch panel 5071, the user input unit 507 may include other input devices 5072. In particular, other input devices 5072 may include, but are not limited to, a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, a mouse, and a joystick, which are not described in detail herein.

Further, the touch panel 5071 may be overlaid on the display panel 5061, and when the touch panel 5071 detects a touch operation thereon or nearby, the touch operation is transmitted to the processor 510 to determine the type of the touch event, and then the processor 510 provides a corresponding visual output on the display panel 5061 according to the type of the touch event. Although in fig. 20, the touch panel 5071 and the display panel 5061 are two independent components to implement the input and output functions of the electronic device, in some embodiments, the touch panel 5071 and the display panel 5061 may be integrated to implement the input and output functions of the electronic device, and is not limited herein.

The interface unit 508 is an interface for connecting an external device to the electronic apparatus 500. For example, the external device may include a wired or wireless headset port, an external power supply (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device having an identification module, an audio input/output (I/O) port, a video I/O port, an earphone port, and the like. The interface unit 508 may be used to receive input (e.g., data information, power, etc.) from external devices and transmit the received input to one or more elements within the electronic apparatus 500 or may be used to transmit data between the electronic apparatus 500 and external devices.

The memory 509 may be used to store software programs as well as various data. The memory 509 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required by at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data (such as audio data, a phonebook, etc.) created according to the use of the electronic device, and the like. Further, the memory 509 may include high-speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid-state storage device.

The processor 510 is a control center of the electronic device, connects various parts of the whole electronic device by using various interfaces and lines, performs various functions of the electronic device and processes data by running or executing software programs and/or modules stored in the memory 509 and calling data stored in the memory 509, thereby performing overall monitoring of the electronic device. Processor 510 may include one or more processing units; preferably, the processor 510 may integrate an application processor, which mainly handles operating systems, user interfaces, application programs, etc., and a modem processor, which mainly handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into processor 510.

The electronic device 500 may further include a power supply 511 (e.g., a battery) for supplying power to various components, and preferably, the power supply 511 may be logically connected to the processor 510 via a power management system, so as to implement functions of managing charging, discharging, and power consumption via the power management system.

In addition, the electronic device 500 includes some functional modules that are not shown, and are not described in detail herein.

It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.

Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present invention.

While the present invention has been described with reference to the embodiments shown in the drawings, the present invention is not limited to the embodiments, which are illustrative and not restrictive, and it will be apparent to those skilled in the art that various changes and modifications can be made therein without departing from the spirit and scope of the invention as defined in the appended claims.

The above description is only for the specific embodiments of the present invention, but the scope of the present invention is not limited thereto, and any person skilled in the art can easily conceive of the changes or substitutions within the technical scope of the present invention, and all the changes or substitutions should be covered within the scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.

33页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:认证方法及装置、电子设备和存储介质

网友询问留言

已有0条留言

还没有人留言评论。精彩留言会获得点赞!

精彩留言,会给你点赞!

技术分类