Authentication method, device and electronic device
By collecting and comparing the identity verification information on the second electronic device, the problem of cumbersome identity verification during the screencasting process is solved, and screencasting can be completed conveniently without the need for the user to enter a verification code, thus improving user experience and security.
Patent Information
- Application Number
- CN202010140532.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-03-03
- Publication Date
- 2024-08-27
- Estimated Expiration
- 2040-03-03
AI Technical Summary
In the existing technology, when a user projects the interface of an electronic device to other devices, the identity verification process is cumbersome and requires the user to enter a verification code on each device, which is inconvenient to operate.
By collecting the user's identity verification information on the second electronic device and comparing it with the identity verification information pre-stored on the first electronic device, if they are consistent, the screen projection interface is displayed, realizing the convenient completion without the need for the user to enter the identity verification information on the first electronic device. Screen cast authentication.
It simplifies the screencasting process, improves user experience, reduces operating steps, and enhances the security and convenience of the screencasting process.
Smart Images

Figure CN113343193B
Abstract
Description
Technical Field
[0001] The present application relates to the field of smart terminal technology, and in particular to identity authentication methods, devices and electronic devices. Background Art
[0002] In the Internet age, users often have multiple electronic devices, such as mobile phones, PADs, PCs, wearable devices, large electronic screens, TVs, etc. When a user projects the interface of a first electronic device (such as a mobile phone) to a second electronic device (such as a PC) for display, in order to ensure the security of user information, an identity authentication process will be added.
[0003] like Figure 1 As shown, taking the screen projection of the mobile phone interface to the PC as an example, the screen projection process is as follows: the user clicks the screen projection button displayed on the mobile phone to start the screen projection, and the mobile phone sends a screen projection request to the PC; the PC generates a verification code based on the screen projection request and displays it to the user (e.g., Figure 1 0088 shown in ), accordingly, the mobile phone pops up a dialog box to instruct the user to enter a verification code; the mobile phone sends the verification code entered by the user (such as, Figure 1 0088) is sent to the PC; if the verification code generated by the PC is consistent with the verification code entered by the user, the mobile phone transmits interface data to the PC, and the PC displays the interface of the mobile phone on the screen.
[0004] The identity authentication process in the prior art is complicated and cumbersome. Summary of the invention
[0005] The embodiments of the present application provide an identity authentication method, device and electronic device, which can conveniently complete identity authentication in screen projection.
[0006] In a first aspect, an embodiment of the present application provides an identity authentication method, including:
[0007] Receiving a screen projection operation from a user to project the screen of a first electronic device to a second electronic device; the electronic devices include but are not limited to: mobile phones, computers, PADs, wearable devices, large electronic screens, household devices such as televisions and refrigerators, drones, cars, navigation and other vehicle-mounted devices; wherein screen projection refers to transmitting interface data on the first electronic device to the second electronic device for display;
[0008] In response to the screen projection operation, the second electronic device collects the first identity authentication information of the user; the identity authentication information includes but is not limited to: biometric information such as face information, fingerprint information, iris information, password, etc.;
[0009] Obtaining a first comparison result of the first identity authentication information and the second identity authentication information pre-stored in the first electronic device;
[0010] If the first comparison result is consistent, the second electronic device displays the screen projection interface of the first electronic device.
[0011] In this method, the user can conveniently complete the identity authentication in screen projection without having to input identity authentication information on the first electronic device.
[0012] Optionally, obtaining a first comparison result between the first identity authentication information and the second identity authentication information includes:
[0013] The second electronic device sends the first identity authentication information to the first electronic device;
[0014] The second electronic device receives a first comparison result between the first identity authentication information and the second identity authentication information sent by the first electronic device.
[0015] Optionally, obtaining a first comparison result between the first identity authentication information and the second identity authentication information includes:
[0016] The second electronic device receives the second identity authentication information sent by the first electronic device;
[0017] The second electronic device compares the first identity authentication information with the second identity authentication information.
[0018] Optionally, obtaining a first comparison result between the first identity authentication information and the second identity authentication information includes:
[0019] The second electronic device sends the first identity authentication information to the third electronic device;
[0020] The second electronic device receives a first comparison result between the first identity authentication information and the second identity authentication information sent by the third electronic device.
[0021] Optionally, when the first electronic device is projecting the screen to the second electronic device, if the first electronic device is in a locked screen state, the method further includes:
[0022] The second electronic device receives an unlocking operation by the user; the unlocking operation may be an unlocking operation by the user on the second electronic device, or an unlocking operation by the user on the projection interface on the second electronic device;
[0023] The second electronic device collects the third identity authentication information of the user;
[0024] Obtaining a second comparison result between the third identity verification information and the second identity verification information;
[0025] If the second comparison result is consistent, the second electronic device displays the screen projection interface of the first electronic device;
[0026] If the second comparison result is inconsistent, the second electronic device does not display the screen projection interface of the first electronic device.
[0027] Through the above steps, when the first electronic device is in a locked state, the first electronic device can be unlocked by the second electronic device. During the process, the identity authentication of unlocking the first electronic device can be conveniently achieved without the user having to input identity authentication information on the first electronic device side.
[0028] When both the second electronic device and the first electronic device are in a locked screen state, a possible design scheme is as follows: the second electronic device first collects the user's identity authentication information for identity authentication of unlocking the second electronic device, and then collects the user's identity authentication information for identity authentication of unlocking the first electronic device, specifically including:
[0029] In response to the unlocking operation, the second electronic device collects fourth identity authentication information of the user;
[0030] The second electronic device compares the fourth identity authentication information with the fifth identity authentication information pre-stored in the second electronic device to obtain a third comparison result;
[0031] If the third comparison result is consistent, unlocking the second electronic device;
[0032] If the third comparison result is inconsistent, the second electronic device is not unlocked.
[0033] When both the second electronic device and the first electronic device are in the locked screen state, another possible design scheme is that the second electronic device only collects the user's identity authentication information once, which is used for the identity authentication of unlocking the first electronic device and the identity authentication of unlocking the second electronic device. Specifically:
[0034] In response to the unlocking operation, the second electronic device compares the third identity authentication information with the fifth identity authentication information pre-stored in the second electronic device to obtain a fourth comparison result;
[0035] If the fourth comparison result is consistent, unlocking the second electronic device;
[0036] If the fourth comparison result is inconsistent, the second electronic device is not unlocked.
[0037] Optionally, after receiving the screen projection operation and before collecting the first identity authentication information, the method further includes:
[0038] The second electronic device obtains the type of the second identity authentication information.
[0039] The second electronic device obtains the type of the second identity authentication information and collects identity authentication information of the corresponding type, which can provide accurate comparison data for subsequent comparison of identity authentication information and improve the efficiency and accuracy of identity authentication.
[0040] Optionally, after receiving the screen projection operation and before collecting the first identity authentication information, the method further includes:
[0041] The second electronic device determines that the distance between the second electronic device and the first electronic device is less than a preset threshold.
[0042] This step ensures that the first electronic device is located near the second electronic device, thereby improving the security of projecting the screen of the first electronic device to the second electronic device.
[0043] Optionally, it also includes:
[0044] The second electronic device determines whether the second electronic device is directly connected to the first electronic device;
[0045] If the second electronic device is not directly connected to the first electronic device, the second electronic device establishes a direct connection between the second electronic device and the first electronic device.
[0046] Direct connection between the second electronic device and the first electronic device means that data is directly transmitted between the second electronic device and the first electronic device via Bluetooth, WiFi, etc. Direct connection between the second electronic device and the first electronic device can improve the security of data transmission between the second electronic device and the first electronic device.
[0047] In a second aspect, an embodiment of the present application further provides a first electronic device, including:
[0048] A display screen; one or more processors; a memory; and one or more computer programs, wherein the one or more computer programs are stored in the memory, and the one or more computer programs include instructions, and when the instructions are executed by the first electronic device, the first electronic device performs the following steps:
[0049] Receive the user's screen projection operation;
[0050] Sending a screen projection request to a second electronic device;
[0051] Receiving first identity authentication information sent by the second electronic device; the first identity authentication information is collected by the second electronic device in response to the screen projection request;
[0052] Comparing the first identity verification information with the second identity verification information pre-stored in the first electronic device to obtain a first comparison result;
[0053] If the first comparison result is consistent, the interface data is sent to the second electronic device.
[0054] Optionally, when the instruction is executed by the first electronic device, the first electronic device further performs the following steps:
[0055] Receiving third identity authentication information of a user sent by a second electronic device, where the third identity authentication information is collected by the second electronic device in response to an unlocking operation of the user;
[0056] Comparing the third identity verification information with the second identity verification information to obtain a second comparison result;
[0057] If the second comparison result is consistent, the interface data is sent to the second electronic device.
[0058] Optionally, when the instruction is executed by the first electronic device, the first electronic device further performs the following steps:
[0059] determining whether the first electronic device is directly connected to the second electronic device;
[0060] If the first electronic device and the second electronic device are not directly connected, a direct connection between the first electronic device and the second electronic device is established.
[0061] In a third aspect, an embodiment of the present application further provides a second electronic device, including:
[0062] A display screen; one or more processors; a memory; and one or more computer programs, wherein the one or more computer programs are stored in the memory, and the one or more computer programs include instructions that, when executed by a second electronic device, cause the second electronic device to execute the method of the first aspect.
[0063] In a fourth aspect, an embodiment of the present application provides a computer program, which, when executed by a computer, is used to execute the method of the first aspect.
[0064] In one possible design, the program in the fourth aspect may be stored in whole or in part on a storage medium packaged together with the processor, or may be stored in whole or in part on a memory not packaged together with the processor. BRIEF DESCRIPTION OF THE DRAWINGS
[0065] Figure 1 This is a schematic diagram of the screen projection process in the prior art;
[0066] Figure 2a This is a schematic diagram of mirror screen projection according to an embodiment of the present application;
[0067] Figure 2b This is a schematic diagram of floating screen projection in an embodiment of the present application;
[0068] Figure 3 A flowchart of an embodiment of the identity verification method of the present application;
[0069] Figure 4 A flowchart of another embodiment of the identity verification method of the present application;
[0070] Figure 5 A flowchart of another embodiment of the identity verification method of the present application;
[0071] Figure 6 A flowchart of another embodiment of the identity verification method of the present application;
[0072] Figure 7 A flowchart of another embodiment of the identity verification method of the present application;
[0073] Figure 8 A flowchart of another embodiment of the identity verification method of the present application;
[0074] Fig. 9 A flowchart of another embodiment of the identity verification method of the present application;
[0075] Fig.10 A flowchart of another embodiment of the identity verification method of the present application;
[0076] Fig.11 A flowchart of another embodiment of the identity verification method of the present application;
[0077] Fig.12 This is a schematic diagram of a direct connection between a first electronic device and a second electronic device according to an embodiment of the present application;
[0078] Fig.13 This is a schematic diagram of an indirect connection between a first electronic device and a second electronic device according to an embodiment of the present application;
[0079] Fig.14 This is a schematic diagram of connection conversion between a first electronic device and a second electronic device in an embodiment of the present application;
[0080] Fig.15 This is a schematic diagram of the structure of an embodiment of the identity verification device of the present application;
[0081] Fig.16 This is a schematic diagram of the structure of another embodiment of the identity verification device of the present application;
[0082] Fig.17 This is a schematic diagram of the structure of an embodiment of the electronic device of the present application;
[0083] Fig.18 This is a schematic structural diagram of another embodiment of the electronic device of the present application. DETAILED DESCRIPTION
[0084] The terms used in the implementation section of this application are only used to explain the specific embodiments of this application and are not intended to limit this application.
[0085] In the embodiment of the present application, "screen projection" refers to the transmission of interface data on one electronic device to another electronic device for display. For the convenience of explanation, in the embodiment of the present application, the above-mentioned "one electronic device" is referred to as the "first electronic device"; the above-mentioned "another electronic device" is referred to as the "second electronic device"; the interface displayed in the second electronic device after the first electronic device is projected is referred to as the "screen projection interface". It should be noted that the screen projection function can be provided by the system or by the application, and the embodiment of the present application does not limit this.
[0086] In an embodiment of the present application, the second electronic device may only have the right to display the projection interface, but not the right to manage data, for example, it cannot open links in the projection interface, cannot input data, etc.; alternatively, the second electronic device may also have partial or full data management rights over the projection interface, for example, it can open links in the projection interface, or input data, etc., and the present application does not restrict this.
[0087] In the embodiments of the present application, the two electronic devices performing screen projection can be directly connected, for example, through Bluetooth, WiFi, etc.; or, the two electronic devices can be indirectly connected through a cloud server connection. During the screen projection process, the connection between the two electronic devices can be switched between direct connection and indirect connection, which is not limited by the present application.
[0088] In the embodiment of the present application, at least the following two screen projection modes are included. Specifically, when the second electronic device displays the screen projection interface, the screen projection interface can be displayed in full screen mode, for example: Figure 2a As shown, hereinafter referred to as full-screen projection; alternatively, the second electronic device may also display the projection interface in a partial display area of the second electronic device in a floating manner, for example Figure 2b As shown, hereinafter referred to as floating screen projection, for floating screen projection, the user can view the interface that the second electronic device itself needs to display through the screen of the second electronic device, and can also view the projection interface of the first electronic device projected on the second electronic device.
[0089] To facilitate user operations, an embodiment of the present application provides an identity authentication method. Figure 3 A flowchart of an identity authentication method provided in an embodiment of the present application, such as Figure 3 As shown, the method may include:
[0090] Step 31: Detecting an identity authentication trigger operation related to screen projection;
[0091] Among them, the trigger operation may include: screen projection operation, unlocking operation during screen projection, etc.
[0092] Step 32: In response to the trigger operation, the second electronic device collects the user's identity authentication information;
[0093] The identity verification information includes but is not limited to: biometric information such as face information, fingerprint information, iris information, password, etc.
[0094] Step 33: Obtain a comparison result of the identity verification information collected by the second electronic device and the identity verification information pre-stored in the first electronic device;
[0095] The comparison of the identity authentication information collected by the second electronic device with the identity authentication information pre-stored in the first electronic device may be performed on the first electronic device, on the second electronic device, or on a third electronic device other than the first electronic device and the second electronic device.
[0096] Step 34: When the comparison result is consistent, display the projection interface of the first electronic device on the screen of the second electronic device; when the comparison result is inconsistent, refuse to display the projection interface of the first electronic device on the screen of the second electronic device.
[0097] Optionally, in order to ensure security, after the second electronic device receives the screen projection request sent by the first electronic device and before the second electronic device collects the user's identity authentication information, the following steps may also be included:
[0098] The second electronic device determines whether the preset conditions are met. If the preset conditions are met, the second electronic device collects the user's identity authentication information. If the preset conditions are not met, the second electronic device may refuse to display the projection interface of the first electronic device on the second electronic device and prompt the user on the screen. The specific prompt method is not limited in this application.
[0099] The preset conditions may include but are not limited to one or more of the following conditions:
[0100] The first electronic device is provided with identity authentication, such as identity authentication when the screen is unlocked or powered on;
[0101] The identity authentication result of the second electronic device is consistent with the identity authentication result of the first electronic device, such as the identity authentication result of the first electronic device and the identity authentication result of the second electronic device are both user A;
[0102] The distance between the second electronic device and the first electronic device is less than a preset threshold;
[0103] The first electronic device has enabled wireless connection, including but not limited to WiFi or Bluetooth;
[0104] The second electronic device is directly connected to the first electronic device.
[0105] It should be noted that the embodiment of the present application does not limit the method for obtaining the distance between the first electronic device and the second electronic device. For example, the distance between the two electronic devices can be calculated using the longitude and latitude information of the first electronic device and the longitude and latitude information of the second electronic device.
[0106] For ease of understanding, the above method is described in detail below with reference to the accompanying drawings.
[0107] Figure 4 A schematic diagram of an embodiment of the identity authentication method of the present application.
[0108] See also Figure 4 In part 410, the first electronic device receives a screen projection operation from the user, which may be a user clicking a preset screen projection button; in response to the screen projection operation, the first electronic device sends a screen projection request to the second electronic device; the second electronic device receives the screen projection request sent by the first electronic device; in response to the screen projection request, the second electronic device triggers identity authentication. (Step 31)
[0109] See also Figure 4 In part 420, the second electronic device collects the user's identity authentication information and sends the identity authentication information to the first electronic device; the first electronic device receives the identity authentication information sent by the second electronic device, and compares the received identity authentication information (i.e., the identity authentication information collected by the second electronic device) with the identity authentication information pre-stored in the first electronic device; the first electronic device transmits the comparison result to the second electronic device. (Step 32, Step 33)
[0110] Exemplarily, if the similarity between the identity authentication information collected by the second electronic device and the identity authentication information pre-stored in the first electronic device is greater than a preset threshold (or the difference is less than a preset threshold), the comparison result is consistent, otherwise the comparison result is inconsistent.
[0111] Optionally, in order to ensure that the identity authentication information collected by the second electronic device is more targeted, before the second electronic device collects the identity authentication information of the user, the following steps may be further included:
[0112] The second electronic device obtains the type of identity authentication information pre-stored in the first electronic device; accordingly,
[0113] The second electronic device collects the identity authentication information of the type described.
[0114] That is to say, for example, if the identity verification information pre-stored in the first electronic device is a face, the identity verification information collected by the second electronic device is also a face. The second electronic device collects the corresponding type of identity verification information, which can provide accurate comparison data for subsequent comparison of identity verification information, thereby improving the efficiency and accuracy of identity verification.
[0115] Optionally, the screen projection request sent by the first electronic device may include the type of identity authentication information pre-stored by the first electronic device, and the second electronic device may obtain the type of identity authentication information pre-stored by the first electronic device from the screen projection request. It should be noted that the method for obtaining the type of identity authentication information pre-stored by the first electronic device is not limited to this.
[0116] Optionally, in order to improve the security of identity authentication information transmission, the second electronic device may encrypt the user's identity authentication information and send it to the first electronic device; correspondingly, the first electronic device may decrypt the received data to obtain the user's identity authentication information. The specific encryption and decryption methods are not limited in the embodiments of this application.
[0117] See also Figure 4 In part 430, when the comparison result obtained by the second electronic device is consistent, the second electronic device displays the screen projection interface of the first electronic device on the screen.
[0118] Optionally, the screen projection request may include a screen projection mode, such as floating screen projection or full screen projection, and the second electronic device may display the screen projection interface according to the screen projection mode included in the screen projection request, such as Figure 4 As shown in part 430, the screen projection method is floating screen projection.
[0119] When the comparison result received by the second electronic device is inconsistent, the second electronic device may reject the screen projection request from the first electronic device to the second electronic device. Optionally, the second electronic device may display a prompt indicating that the identity authentication failed, such as Figure 4 It should be noted that the embodiment of the present application does not limit the prompting method of identity authentication failure, as long as the user can be informed of the identity authentication failure. For example, the second electronic device can also provide the above identity authentication failure prompt by popping up a prompt box.
[0120] Different from the above Figure 4 In the embodiment shown, the first electronic device performs a comparison of the identity authentication information, such as Figure 5 In another embodiment shown, the second electronic device performs comparison of identity verification information.
[0121] See also Figure 5In part 510, the second electronic device collects the user's identity authentication information; the second electronic device sends an identity authentication information sending request to the first electronic device. In response to the identity authentication information sending request, the first electronic device sends the identity authentication information pre-stored in the first electronic device to the second electronic device. The second electronic device receives the identity authentication information pre-stored in the first electronic device sent by the first electronic device; the second electronic device compares the identity authentication information collected by the second electronic device with the identity authentication information pre-stored in the first electronic device, obtains a comparison result, and sends the comparison result to the first electronic device.
[0122] Optionally, in order to ensure the security of transmission of identity authentication information pre-stored in the first electronic device, the first electronic device may encrypt the pre-stored identity authentication information and send it to the second electronic device. Accordingly, the second electronic device decrypts the received data to obtain the identity authentication information pre-stored in the first electronic device.
[0123] Optionally, in order to ensure the security of the identity information pre-stored in the first electronic device, virtual identity authentication information may be used to replace the identity authentication information pre-stored in the first electronic device for identity authentication. Specifically, the first electronic device may generate virtual identity authentication information based on the pre-stored identity authentication information, and send the virtual identity authentication information to the second electronic device; the second electronic device performs identity authentication based on the received virtual identity authentication information.
[0124] Different from the above Figure 4 In the embodiment shown, the first electronic device compares the identity authentication information. Figure 5 In the embodiment shown, the second electronic device performs a comparison of the identity authentication information, such as Figure 6 In another embodiment shown, a third electronic device performs comparison of identity authentication information.
[0125] See also Figure 6 In part 610, the second electronic device collects the user's identity authentication information and sends the collected identity authentication information to the third electronic device; the third electronic device sends an identity authentication information sending request to the first electronic device; in response to the identity authentication information sending request, the first electronic device sends the pre-stored identity authentication information to the third electronic device; the third electronic device receives the identity authentication information pre-stored in the first electronic device and sent by the first electronic device; the third electronic device compares the identity authentication information collected by the second electronic device with the identity authentication information pre-stored in the first electronic device, obtains a comparison result, and sends the comparison result to the first electronic device and / or the second electronic device.
[0126] The third electronic device is connected to the first electronic device and the second electronic device. The third electronic device may be a server or other electronic device, which is not limited in the embodiment of the present application.
[0127] Optionally, the first electronic device and the second electronic device may also encrypt the identity verification information when sending it to the third electronic device; or the first electronic device and the second electronic device may also send virtual identity verification information to the third electronic device; for details, see Figure 4 , Figure 5 The relevant description in will not be repeated here.
[0128] Figures 4 to 6 In the illustrated embodiment, an example is given in which a first electronic device receives a screen projection operation from a user, and the first electronic device sends a screen projection request to a second electronic device to trigger identity authentication. It can be understood that the second electronic device may also receive a screen projection operation from a user, thereby triggering identity authentication. Specifically:
[0129] See also Figure 7 As shown, the second electronic device displays a list of surrounding devices; the second electronic device receives the user's screen projection operation, such as the user selecting the first electronic device to be projected from the list of surrounding devices. In response to the above screen projection operation, the second electronic device sends a screen projection request to the first electronic device or the third electronic device to trigger identity authentication. Optionally, in response to the above screen projection request, the first electronic device can send information such as the type of identity authentication information pre-stored in the first electronic device to the second electronic device.
[0130] Above Figures 4 to 7 The embodiment shown is described by taking the screen projection operation of the first electronic device to the second electronic device to trigger identity authentication as an example. It should be noted that identity authentication can also be triggered by unlocking the screen during screen projection. Figure 8 and Fig. 9 The illustrated embodiment is described.
[0131] Figure 8 In the illustrated embodiment, the first electronic device has projected its screen onto the second electronic device, and currently both the first electronic device and the second electronic device are in a locked screen state.
[0132] Figure 8 In the embodiment shown, the second electronic device and the first electronic device are unlocked in sequence. Specifically:
[0133] See also Figure 8 In part 810, the user performs an unlocking operation on the second electronic device to trigger identity authentication of the second electronic device. Exemplarily, the unlocking operation may include: the user performs a sliding operation, a clicking operation, or pressing an unlocking button on the second electronic device, which is not limited in the present embodiment.
[0134] See also Figure 8In part 820, the second electronic device collects the user's identity authentication information, compares the collected identity authentication information with the identity authentication information pre-stored in the second electronic device, and obtains a comparison result; if the comparison result is consistent, the second electronic device (such as Figure 8 830); if the comparison result is inconsistent, the second electronic device is not unlocked ( Figure 8 not shown).
[0135] See also Figure 8 In part 830, after the second electronic device is unlocked, the projection interface displayed by the second electronic device (i.e., the projection interface of the first electronic device) is still in a locked state, and the second electronic device can trigger the identity authentication of the first electronic device in response to the user's unlocking operation on the projection interface. The unlocking operation on the projection interface may be a double-click, etc., which is not limited in the embodiments of the present application. If the identity authentication information collected by the second electronic device is consistent with the identity authentication information pre-stored in the first electronic device, the projection interface is displayed on the second electronic device, otherwise the projection interface is not displayed. It should be noted that Figure 8 In section 840, the first electronic device compares the identity authentication information collected by the second electronic device with the identity authentication information pre-stored in the first electronic device as an example. Optionally, the identity authentication information comparison may also be performed by the second electronic device, or by a third electronic device. For details, see Figure 4 Part 420, Figure 5 Part 510, Figure 6 Part 610 will not be repeated here. Figure 8 Part 850 takes the floating display of the projection interface of the second electronic device as an example. Optionally, the projection interface can also be displayed in full screen, which is not limited in the embodiments of the present application.
[0136] In order to simplify user operations, this application proposes another identity authentication method, such as Fig. 9 As shown. Different from Figure 8 In the embodiment shown, the second electronic device and the first electronic device are unlocked in sequence. Fig. 9 In the illustrated embodiment, the user only needs to perform an unlocking operation on the second electronic device, that is, trigger the unlocking of the second electronic device and the unlocking of the first electronic device. Specifically:
[0137] See also Fig. 9In parts 910-930, the second electronic device receives an unlocking operation by the user, and in response to the unlocking operation, the second electronic device collects the user's identity authentication information; obtains a comparison result between the collected identity authentication information and the identity authentication information pre-stored in the second electronic device; obtains a comparison result between the collected identity authentication information and the identity authentication information pre-stored in the first electronic device; if the comparison result between the identity authentication information collected by the second electronic device and the identity authentication information pre-stored in the first electronic device is consistent, the screen projection interface is displayed, otherwise, if the comparison result is inconsistent, the screen projection interface is not displayed; if the comparison result between the identity authentication information collected by the second electronic device and the identity authentication information pre-stored in the second electronic device is consistent, the second electronic device is unlocked, otherwise, if the comparison result is inconsistent, the second electronic device is not unlocked.
[0138] It should be noted that if the comparison result obtained by the second electronic device is consistent and the comparison result obtained by the first electronic device is inconsistent, the projection interface of the first electronic device displayed on the second electronic device may be in a locked state, and a prompt that the identity authentication of the first electronic device has failed may be displayed. It should be noted that the identity authentication information collected by the second electronic device may be one or more, and the types of multiple identity authentication information may be different. For example, when the user enters the unlock password of the second electronic device, the second electronic device may collect the user's facial image, use the password entered by the user for the identity authentication of the second electronic device, and use the collected facial image for the identity authentication of whether to display the projection interface of the first electronic device.
[0139] It should be noted that the above Figures 4 to 9 One-to-one screen projection is used as an example for explanation. It can be understood that the identity authentication method provided in the embodiment of the present application can also be applied to many-to-one screen projection.
[0140] Fig.10 An example of receiving a screen projection operation of two first electronic devices (electronic device 101, electronic device 102) projecting screens to a second electronic device to trigger identity authentication, specifically:
[0141] See also Fig.10 In part 1011, the second electronic device receives the user's screen projection operation. For example, if the user selects two first electronic devices in the peripheral device list provided by the second electronic device, the second electronic device sends screen projection requests to the two first electronic devices selected by the user respectively, and triggers the identity verification of each first electronic device. Alternatively, see Fig.10 As shown in part 1012, the second electronic device receives screen projection requests sent by multiple first electronic devices, and triggers the identity authentication of each first electronic device respectively; the specific identity authentication process can be referred to Figures 4 to 7 The corresponding description in is not repeated here.
[0142] Fig.11 This is an example where two first electronic devices (electronic device 101, electronic device 102) have projected their screens to a second electronic device, and both the first electronic devices and the second electronic device are in a locked screen state, and the unlocking operation triggers identity authentication. In response to the user's unlocking operation on the second electronic device, the authentication of whether to display the projection interface of electronic device 101 and whether to display the projection interface of electronic device 102 is triggered. For the specific identity authentication process, please refer to Fig. 9 The corresponding description in is not repeated here.
[0143] In the embodiment of the present application, the connection method between the first electronic device and the second electronic device may include but is not limited to the following two methods.
[0144] See also Fig.12 As shown, the first electronic device and the second electronic device can be directly connected, and when directly connected, they can be connected by wired mode or wireless mode. The wired mode includes but is not limited to High Definition Multimedia Interface (HDMI) connection, and the wireless mode includes but is not limited to Bluetooth or WiFi connection.
[0145] See also Fig.13 As shown, the first electronic device and the second electronic device can be indirectly connected through a server in the cloud. Specifically, the first electronic device and the second electronic device can be connected to the server in the cloud through accounts respectively, and then the data interaction between the two is forwarded based on the server.
[0146] In order to ensure the security of the interaction of authentication information between the two during the authentication process, a direct connection can be used when the first electronic device and the second electronic device transmit the authentication information. To this end, before the first electronic device and the second electronic device transmit the authentication information, it can be determined whether the first electronic device and the second electronic device are directly connected. If not, a direct connection can be established between the first electronic device and the second electronic device. Fig.14 When the direct connection between the second electronic device and the first electronic device is established, whether the indirect connection between the second electronic device and the first electronic device is disconnected is not limited in the embodiment of the present application.
[0147] It is to be understood that some or all of the steps or operations in the above embodiments are merely examples, and the present application embodiments may also perform other operations or variations of various operations. In addition, the various steps may be performed in different orders presented in the above embodiments, and it is possible that not all of the operations in the above embodiments need to be performed.
[0148] An embodiment of the present application may provide an identity authentication device.
[0149] Fig.15 This is a schematic diagram of the structure of an embodiment of the identity verification device of the present application, such as Fig.15 As shown, the device 150 may include:
[0150] The receiving unit 151 is used to receive a screen projection operation of a user to project the screen of a first electronic device to the device;
[0151] A collection unit 152, configured to collect identity authentication information of the user in response to the screen projection operation;
[0152] An obtaining unit 153 is used to obtain a comparison result between the collected identity verification information and the identity verification information pre-stored in the first electronic device;
[0153] The display unit 154 is used to display the screen projection interface of the first electronic device if the comparison result is consistent; if the comparison result is inconsistent, refuse to display the screen projection interface of the first electronic device.
[0154] Optionally, the obtaining unit 153 may be specifically configured to: send the collected identity authentication information to the first electronic device; and receive a comparison result between the collected identity authentication information sent by the first electronic device and pre-stored identity authentication information.
[0155] Optionally, the obtaining unit 153 may be specifically configured to: receive identity authentication information pre-stored in the first electronic device and sent by the first electronic device; and compare the collected identity authentication information with the identity authentication information pre-stored in the first electronic device.
[0156] Optionally, the obtaining unit 153 may be specifically configured to:
[0157] Sending the collected identity authentication information to the third electronic device;
[0158] Receive a comparison result of the collected identity verification information sent by the third electronic device and the verification information pre-stored in the first electronic device.
[0159] Optionally, when the first electronic device projects a screen onto the second electronic device:
[0160] The receiving unit 151 can also be used to: receive an unlocking operation from a user;
[0161] The collecting unit 152 may also be configured to collect identity authentication information of the user in response to the unlocking operation received by the receiving unit 152 .
[0162] Optionally, the device may further include: an unlocking unit, configured to unlock the device if a comparison result of the collected identity authentication information is consistent with the identity authentication information pre-stored in the device; otherwise, the device is not unlocked if the comparison result is inconsistent.
[0163] Optionally, the receiving unit 151 and the collecting unit 152 may further include:
[0164] An acquiring unit is used to acquire the type of the second identity authentication information.
[0165] Optionally, the receiving unit 151 and the collecting unit 152 may further include
[0166] The distance determination unit is used to determine whether the distance between the device and the first electronic device is less than a preset threshold.
[0167] Optionally, the device may further include:
[0168] a connection determination unit, configured to determine whether the device is directly connected to the first electronic device;
[0169] The connection establishing unit is configured to establish a direct connection between the device and the first electronic device if the connection determining unit determines that the device and the first electronic device are not directly connected.
[0170] Fig.16 This is a structural diagram of another embodiment of the identity verification device of the present application, such as Fig.16 As shown, the device 160 may include:
[0171] The receiving unit 162 is used to receive the identity authentication information sent by the second electronic device; the identity authentication information is the identity authentication information of the user collected by the second electronic device;
[0172] A comparison unit 163, used to compare the identity authentication information collected by the second electronic device with the identity authentication information pre-stored in the device to obtain a comparison result;
[0173] The sending unit 161 is configured to send the interface data to the second electronic device if the comparison result is consistent.
[0174] Optionally, the receiving unit 151 may also be used to: receive a screen projection operation from a user; the sending unit 161 may also be used to send a screen projection request in response to the screen projection operation from the user.
[0175] Optionally, the device 160 may further include:
[0176] a connection determination unit, configured to determine whether the device is directly connected to the second electronic device;
[0177] The connection establishing unit is configured to establish a direct connection between the device and the second electronic device if the connection determining unit determines that the device and the second electronic device are not directly connected.
[0178] Fig.15 and Fig.16 The device provided in the embodiment shown can be used to implement the present application Figure 3 to Figure 11 The technical solution of the method embodiment shown, its implementation principle and technical effects can be found in the relevant description in the above embodiments, which will not be repeated here.
[0179] It should be understood that the above Fig.15 and Fig.16 The division of the various units of the device shown is only a division of logical functions. In actual implementation, they can be fully or partially integrated into one physical entity, or they can be physically separated. And these units can all be implemented in the form of software calling through processing elements; they can also be all implemented in the form of hardware; some units can also be implemented in the form of software calling through processing elements, and some units can be implemented in the form of hardware. For example, the display unit can be a separately established processing element, or it can be integrated in a chip of an electronic device. The implementation of other units is similar. In addition, all or part of these units can be integrated together, or they can be implemented independently. In the implementation process, each step of the above method or the above units can be completed by the hardware integrated logic circuit in the processor element or the instructions in the form of software.
[0180] For example, the above units may be one or more integrated circuits configured to implement the above methods, such as one or more application specific integrated circuits (ASIC), or one or more microprocessors (DSP), or one or more field programmable gate arrays (FPGA). For another example, these units may be integrated together and implemented in the form of a system-on-a-chip (SOC).
[0181] It should be noted that the electronic devices described in the embodiments of the present application include but are not limited to: mobile phones, computers, PADs, wearable devices, large electronic screens, household appliances such as televisions and refrigerators, drones, cars, navigation and other vehicle-mounted equipment.
[0182] For example, Fig.17As shown, the electronic device 1700 may include a processor 1710, an external memory interface 1720, an internal memory 1721, a universal serial bus (USB) interface 1730, a charging management module 1740, a power management module 1741, a battery 1742, an antenna 1, an antenna 2, a mobile communication module 1750, a wireless communication module 1760, an audio module 1770, a speaker 1770A, a receiver 1770B, a microphone 1770C, an earphone interface 1770D, a sensor module 1780, a button 1790, a motor 1791, an indicator 1792, a camera 1793, a display screen 1794, and a subscriber identification module (SIM) card interface 1795, etc. The sensor module 1780 may include a pressure sensor 1780A, a gyroscope sensor 1780B, an air pressure sensor 1780C, a magnetic sensor 1780D, an acceleration sensor 1780E, a distance sensor 1780F, a proximity light sensor 1780G, a fingerprint sensor 1780H, a temperature sensor 1780J, a touch sensor 1780K, an ambient light sensor 1780L, a bone conduction sensor 1780M, and the like.
[0183] It is to be understood that the structure illustrated in the embodiment of the present invention does not constitute a specific limitation on the electronic device 1700. In other embodiments of the present application, the electronic device 1700 may include more or fewer components than shown in the figure, or combine some components, or split some components, or arrange the components differently. The components shown in the figure may be implemented in hardware, software, or a combination of software and hardware.
[0184] The processor 1710 may include one or more processing units, for example, the processor 1710 may include an application processor (AP), a modem processor, a graphics processor (GPU), an image signal processor (ISP), a controller, a video codec, a digital signal processor (DSP), a baseband processor, and / or a neural-network processing unit (NPU), etc. Different processing units may be independent devices or integrated into one or more processors.
[0185] The controller can generate operation control signals according to the instruction operation code and timing signal to complete the control of instruction fetching and execution.
[0186] The processor 1710 may also be provided with a memory for storing instructions and data. In some embodiments, the memory in the processor 1710 is a cache memory. The memory may store instructions or data that the processor 1710 has just used or cyclically used. If the processor 1710 needs to use the instruction or data again, it may be directly called from the memory. This avoids repeated access, reduces the waiting time of the processor 1710, and thus improves the efficiency of the system.
[0187] In some embodiments, the processor 1710 may include one or more interfaces. The interface may include an inter-integrated circuit (I2C) interface, an inter-integrated circuit sound (I2S) interface, a pulse code modulation (PCM) interface, a universal asynchronous receiver / transmitter (UART) interface, a mobile industry processor interface (MIPI), a general-purpose input / output (GPIO) interface, a subscriber identity module (SIM) interface, and / or a universal serial bus (USB) interface, etc.
[0188] The I2C interface is a bidirectional synchronous serial bus, including a serial data line (SDA) and a serial clock line (SCL). In some embodiments, the processor 1710 may include multiple groups of I2C buses. The processor 1710 may be coupled to the touch sensor 1780K, the charger, the flash, the camera 1793, etc. through different I2C bus interfaces. For example: the processor 1710 may be coupled to the touch sensor 1780K through the I2C interface, so that the processor 1710 communicates with the touch sensor 1780K through the I2C bus interface, thereby realizing the touch function of the electronic device 1700.
[0189] The I2S interface can be used for audio communication. In some embodiments, the processor 1710 can include multiple groups of I2S buses. The processor 1710 can be coupled to the audio module 1770 via the I2S bus to achieve communication between the processor 1710 and the audio module 1770. In some embodiments, the audio module 1770 can transmit an audio signal to the wireless communication module 1760 via the I2S interface to achieve the function of answering a call through a Bluetooth headset.
[0190] The PCM interface can also be used for audio communication, sampling, quantizing and encoding analog signals. In some embodiments, the audio module 1770 and the wireless communication module 1760 can be coupled via a PCM bus interface. In some embodiments, the audio module 1770 can also transmit audio signals to the wireless communication module 1760 via the PCM interface to realize the function of answering calls via a Bluetooth headset. Both the I2S interface and the PCM interface can be used for audio communication.
[0191] The UART interface is a universal serial data bus for asynchronous communication. The bus can be a bidirectional communication bus. It converts the data to be transmitted between serial communication and parallel communication. In some embodiments, the UART interface is generally used to connect the processor 1710 and the wireless communication module 1760. For example, the processor 1710 communicates with the Bluetooth module in the wireless communication module 1760 through the UART interface to implement the Bluetooth function. In some embodiments, the audio module 1770 can transmit an audio signal to the wireless communication module 1760 through the UART interface to implement the function of playing music through a Bluetooth headset.
[0192] The MIPI interface can be used to connect the processor 1710 with peripheral devices such as the display screen 1794 and the camera 1793. The MIPI interface includes a camera serial interface (CSI), a display serial interface (DSI), etc. In some embodiments, the processor 1710 and the camera 1793 communicate via the CSI interface to implement the shooting function of the electronic device 1700. The processor 1710 and the display screen 1794 communicate via the DSI interface to implement the display function of the electronic device 1700.
[0193] The GPIO interface can be configured by software. The GPIO interface can be configured as a control signal or as a data signal. In some embodiments, the GPIO interface can be used to connect the processor 1710 with the camera 1793, the display 1794, the wireless communication module 1760, the audio module 1770, the sensor module 1780, etc. The GPIO interface can also be configured as an I2C interface, an I2S interface, a UART interface, a MIPI interface, etc.
[0194] The USB interface 1730 is an interface that complies with the USB standard specification, and specifically can be a Mini USB interface, a Micro USB interface, a USB Type C interface, etc. The USB interface 1730 can be used to connect a charger to charge the electronic device 1700, and can also be used to transfer data between the electronic device 1700 and a peripheral device. It can also be used to connect headphones to play audio through the headphones. The interface can also be used to connect other electronic devices, such as AR devices, etc.
[0195] It is understandable that the interface connection relationship between the modules illustrated in the embodiment of the present invention is only a schematic illustration and does not constitute a structural limitation on the electronic device 1700. In other embodiments of the present application, the electronic device 1700 may also adopt different interface connection methods in the above embodiments, or a combination of multiple interface connection methods.
[0196] The charging management module 1740 is used to receive charging input from a charger. The charger may be a wireless charger or a wired charger. In some wired charging embodiments, the charging management module 1740 may receive charging input from a wired charger through the USB interface 1730. In some wireless charging embodiments, the charging management module 1740 may receive wireless charging input through a wireless charging coil of the electronic device 1700. While the charging management module 1740 is charging the battery 1742, it may also power the electronic device through the power management module 1741.
[0197] The power management module 1741 is used to connect the battery 1742, the charging management module 1740 and the processor 1710. The power management module 1741 receives input from the battery 1742 and / or the charging management module 1740, and supplies power to the processor 1710, the internal memory 1721, the display screen 1794, the camera 1793, and the wireless communication module 1760. The power management module 1741 can also be used to monitor parameters such as battery capacity, battery cycle number, battery health status (leakage, impedance), etc. In some other embodiments, the power management module 1741 can also be set in the processor 1710. In other embodiments, the power management module 1741 and the charging management module 1740 can also be set in the same device.
[0198] The wireless communication function of the electronic device 1700 can be implemented through antenna 1, antenna 2, mobile communication module 1750, wireless communication module 1760, a modem processor, and a baseband processor.
[0199] Antenna 1 and antenna 2 are used to transmit and receive electromagnetic wave signals. Each antenna in electronic device 1700 can be used to cover a single or multiple communication frequency bands. Different antennas can also be reused to improve the utilization of antennas. For example, antenna 1 can be reused as a diversity antenna for a wireless local area network. In some other embodiments, the antenna can be used in combination with a tuning switch.
[0200] The mobile communication module 1750 can provide solutions for wireless communications including 2G / 3G / 4G / 5G, etc., applied to the electronic device 1700. The mobile communication module 1750 may include at least one filter, a switch, a power amplifier, a low noise amplifier (LNA), etc. The mobile communication module 1750 can receive electromagnetic waves from the antenna 1, and filter, amplify, and process the received electromagnetic waves, and transmit them to the modulation and demodulation processor for demodulation. The mobile communication module 1750 can also amplify the signal modulated by the modulation and demodulation processor, and convert it into electromagnetic waves for radiation through the antenna 1. In some embodiments, at least some of the functional modules of the mobile communication module 1750 can be set in the processor 1710. In some embodiments, at least some of the functional modules of the mobile communication module 1750 can be set in the same device as at least some of the modules of the processor 1710.
[0201] The modem processor may include a modulator and a demodulator. Among them, the modulator is used to modulate the low-frequency baseband signal to be sent into a medium-high frequency signal. The demodulator is used to demodulate the received electromagnetic wave signal into a low-frequency baseband signal. The demodulator then transmits the demodulated low-frequency baseband signal to the baseband processor for processing. After the low-frequency baseband signal is processed by the baseband processor, it is passed to the application processor. The application processor outputs a sound signal through an audio device (not limited to a speaker 1770A, a receiver 1770B, etc.), or displays an image or video through a display screen 1794. In some embodiments, the modem processor may be an independent device. In other embodiments, the modem processor may be independent of the processor 1710 and be set in the same device as the mobile communication module 1750 or other functional modules.
[0202] The wireless communication module 1760 can provide wireless communication solutions including wireless local area networks (WLAN) (such as wireless fidelity (Wi-Fi) networks), bluetooth (BT), global navigation satellite system (GNSS), frequency modulation (FM), near field communication (NFC), infrared (IR), etc., which are applied to the electronic device 1700. The wireless communication module 1760 can be one or more devices integrating at least one communication processing module. The wireless communication module 1760 receives electromagnetic waves via the antenna 2, modulates the frequency of the electromagnetic wave signal and filters it, and sends the processed signal to the processor 1710. The wireless communication module 1760 can also receive the signal to be sent from the processor 1710, modulate the frequency of it, amplify it, and convert it into electromagnetic waves for radiation through the antenna 2.
[0203] In some embodiments, the antenna 1 of the electronic device 1700 is coupled to the mobile communication module 1750, and the antenna 2 is coupled to the wireless communication module 1760, so that the electronic device 1700 can communicate with the network and other devices through wireless communication technology. The wireless communication technology may include global system for mobile communications (GSM), general packet radio service (GPRS), code division multiple access (CDMA), wideband code division multiple access (WCDMA), time-division code division multiple access (TD-SCDMA), long term evolution (LTE), BT, GNSS, WLAN, NFC, FM, and / or IR technology, etc. The GNSS may include a global positioning system (GPS), a global navigation satellite system (GLONASS), a Beidou navigation satellite system (BDS), a quasi-zenith satellite system (QZSS) and / or a satellite based augmentation system (SBAS).
[0204] The electronic device 1700 implements the display function through a GPU, a display screen 1794, and an application processor. The GPU is a microprocessor for image processing, which connects the display screen 1794 and the application processor. The GPU is used to perform mathematical and geometric calculations for graphics rendering. The processor 1710 may include one or more GPUs that execute program instructions to generate or change display information.
[0205] The display screen 1794 is used to display images, videos, etc. The display screen 1794 includes a display panel. The display panel can be a liquid crystal display (LCD), an organic light-emitting diode (OLED), an active-matrix organic light-emitting diode or an active-matrix organic light-emitting diode (AMOLED), a flexible light-emitting diode (FLED), Miniled, MicroLed, Micro-oLed, a quantum dot light-emitting diode (QLED), etc. In some embodiments, the electronic device 1700 may include 1 or N display screens 1794, where N is a positive integer greater than 1.
[0206] The electronic device 1700 can realize the shooting function through ISP, camera 1793, video codec, GPU, display screen 1794 and application processor.
[0207] ISP is used to process the data fed back by camera 1793. For example, when taking a photo, the shutter is opened, and the light is transmitted to the camera photosensitive element through the lens. The light signal is converted into an electrical signal, and the camera photosensitive element transmits the electrical signal to ISP for processing and converts it into an image visible to the naked eye. ISP can also perform algorithm optimization on the noise, brightness, and skin color of the image. ISP can also optimize the exposure, color temperature and other parameters of the shooting scene. In some embodiments, ISP can be set in camera 1793.
[0208] Camera 1793 is used to capture still images or videos. The object generates an optical image through the lens and projects it onto the photosensitive element. The photosensitive element can be a charge coupled device (CCD) or a complementary metal-oxide-semiconductor (CMOS) phototransistor. The photosensitive element converts the optical signal into an electrical signal, and then passes the electrical signal to the ISP to be converted into a digital image signal. The ISP outputs the digital image signal to the DSP for processing. The DSP converts the digital image signal into an image signal in a standard RGB, YUV or other format. In some embodiments, the electronic device 1700 may include 1 or N cameras 1793, where N is a positive integer greater than 1.
[0209] The digital signal processor is used to process digital signals, and can process not only digital image signals but also other digital signals. For example, when the electronic device 1700 is selecting a frequency point, the digital signal processor is used to perform Fourier transform on the frequency point energy.
[0210] Video codecs are used to compress or decompress digital videos. The electronic device 1700 may support one or more video codecs. Thus, the electronic device 1700 may play or record videos in a variety of coding formats, such as Moving Picture Experts Group (MPEG) 1, MPEG2, MPEG3, MPEG4, etc.
[0211] NPU is a neural network (NN) computing processor. By drawing on the structure of biological neural networks, such as the transmission mode between neurons in the human brain, it can quickly process input information and can also continuously self-learn. Through NPU, applications such as intelligent cognition of electronic device 1700 can be realized, such as image recognition, face recognition, voice recognition, text understanding, etc.
[0212] The external memory interface 1720 can be used to connect an external memory card, such as a Micro SD card, to expand the storage capacity of the electronic device 1700. The external memory card communicates with the processor 1710 through the external memory interface 1720 to implement a data storage function, such as storing music, video and other files in the external memory card.
[0213] The internal memory 1721 can be used to store computer executable program codes, which include instructions. The internal memory 1721 may include a program storage area and a data storage area. Among them, the program storage area may store an operating system, an application required for at least one function (such as a sound playback function, an image playback function, etc.), etc. The data storage area may store data created during the use of the electronic device 1700 (such as audio data, a phone book, etc.), etc. In addition, the internal memory 1721 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, a universal flash storage (UFS), etc. The processor 1710 executes various functional applications and data processing of the electronic device 1700 by running instructions stored in the internal memory 1721 and / or instructions stored in a memory provided in the processor.
[0214] The electronic device 1700 can implement audio functions such as music playing and recording through the audio module 1770, the speaker 1770A, the receiver 1770B, the microphone 1770C, the headphone jack 1770D, and the application processor.
[0215] The audio module 1770 is used to convert digital audio information into analog audio signal output, and is also used to convert analog audio input into digital audio signals. The audio module 1770 can also be used to encode and decode audio signals. In some embodiments, the audio module 1770 can be arranged in the processor 1710, or some functional modules of the audio module 1770 can be arranged in the processor 1710.
[0216] The speaker 1770A, also called a "speaker", is used to convert an audio electrical signal into a sound signal. The electronic device 1700 can listen to music or listen to a hands-free call through the speaker 1770A.
[0217] The receiver 1770B, also called a "earpiece", is used to convert audio electrical signals into sound signals. When the electronic device 1700 receives a call or voice message, the voice can be received by placing the receiver 1770B close to the human ear.
[0218] Microphone 1770C, also called "microphone" or "microphone", is used to convert sound signals into electrical signals. When making a call or sending a voice message, the user can make a sound by putting their mouth close to the microphone 1770C to input the sound signal into the microphone 1770C. The electronic device 1700 can be provided with at least one microphone 1770C. In other embodiments, the electronic device 1700 can be provided with two microphones 1770C, which can not only collect sound signals but also realize noise reduction function. In other embodiments, the electronic device 1700 can also be provided with three, four or more microphones 1770C to collect sound signals, reduce noise, identify the source of sound, realize directional recording function, etc.
[0219] The earphone jack 1770D is used to connect a wired earphone and can be a USB interface 1730 or a 3.5 mm open mobile terminal platform (OMTP) standard interface or a cellular telecommunications industry association of the USA (CTIA) standard interface.
[0220] The pressure sensor 1780A is used to sense the pressure signal and can convert the pressure signal into an electrical signal. In some embodiments, the pressure sensor 1780A can be set on the display screen 1794. There are many types of pressure sensors 1780A, such as resistive pressure sensors, inductive pressure sensors, capacitive pressure sensors, etc. A capacitive pressure sensor can be a parallel plate including at least two conductive materials. When a force acts on the pressure sensor 1780A, the capacitance between the electrodes changes. The electronic device 1700 determines the intensity of the pressure based on the change in capacitance. When a touch operation acts on the display screen 1794, the electronic device 1700 detects the touch operation intensity according to the pressure sensor 1780A. The electronic device 1700 can also calculate the touch position based on the detection signal of the pressure sensor 1780A. In some embodiments, touch operations acting on the same touch position but with different touch operation intensities can correspond to different operation instructions. For example: when a touch operation with a touch operation intensity less than the first pressure threshold acts on the short message application icon, an instruction to view the short message is executed. When a touch operation with a touch operation intensity greater than or equal to a first pressure threshold acts on the short message application icon, an instruction to create a new short message is executed.
[0221] The gyroscope sensor 1780B can be used to determine the motion posture of the electronic device 1700. In some embodiments, the angular velocity of the electronic device 100 around three axes (i.e., x, y, and z axes) can be determined by the gyroscope sensor 1780B. The gyroscope sensor 1780B can be used for anti-shake shooting. For example, when the shutter is pressed, the gyroscope sensor 1780B detects the angle of the electronic device 1700 shaking, calculates the distance that the lens module needs to compensate based on the angle, and allows the lens to offset the shaking of the electronic device 1700 through reverse movement to achieve anti-shake. The gyroscope sensor 1780B can also be used for navigation and somatosensory game scenes.
[0222] The air pressure sensor 1780C is used to measure air pressure. In some embodiments, the electronic device 1700 calculates the altitude through the air pressure value measured by the air pressure sensor 1780C to assist in positioning and navigation.
[0223] The magnetic sensor 1780D includes a Hall sensor. The electronic device 1700 can use the magnetic sensor 1780D to detect the opening and closing of the flip leather case. In some embodiments, when the electronic device 1700 is a flip phone, the electronic device 1700 can detect the opening and closing of the flip cover according to the magnetic sensor 1780D. Then, according to the detected opening and closing state of the leather case or the opening and closing state of the flip cover, the flip cover can be automatically unlocked.
[0224] The acceleration sensor 1780E can detect the magnitude of the acceleration of the electronic device 1700 in all directions (generally three axes). When the electronic device 1700 is stationary, the magnitude and direction of gravity can be detected. It can also be used to identify the posture of the electronic device and is applied to applications such as horizontal and vertical screen switching and pedometers.
[0225] The distance sensor 1780F is used to measure the distance. The electronic device 1700 can measure the distance by infrared or laser. In some embodiments, when shooting a scene, the electronic device 1700 can use the distance sensor 1780F to measure the distance to achieve fast focusing.
[0226] The proximity light sensor 1780G may include, for example, a light emitting diode (LED) and a light detector, such as a photodiode. The light emitting diode may be an infrared light emitting diode. The electronic device 1700 emits infrared light outward through the light emitting diode. The electronic device 1700 uses a photodiode to detect infrared reflected light from nearby objects. When sufficient reflected light is detected, it can be determined that there is an object near the electronic device 1700. When insufficient reflected light is detected, the electronic device 1700 can determine that there is no object near the electronic device 1700. The electronic device 1700 can use the proximity light sensor 1780G to detect that the user holds the electronic device 1700 close to the ear to talk, so as to automatically turn off the screen to save power. The proximity light sensor 1780G can also be used in leather case mode and pocket mode to automatically unlock and lock the screen.
[0227] The ambient light sensor 1780L is used to sense the brightness of the ambient light. The electronic device 1700 can adaptively adjust the brightness of the display screen 1794 according to the perceived brightness of the ambient light. The ambient light sensor 1780L can also be used to automatically adjust the white balance when taking pictures. The ambient light sensor 1780L can also cooperate with the proximity light sensor 1780G to detect whether the electronic device 1700 is in a pocket to prevent accidental touches.
[0228] The fingerprint sensor 1780H is used to collect fingerprints. The electronic device 1700 can use the collected fingerprint characteristics to implement fingerprint unlocking, access application locks, fingerprint photography, fingerprint call answering, etc.
[0229] The temperature sensor 1780J is used to detect temperature. In some embodiments, the electronic device 1700 uses the temperature detected by the temperature sensor 1780J to execute a temperature processing strategy. For example, when the temperature reported by the temperature sensor 1780J exceeds a threshold, the electronic device 1700 reduces the performance of the processor located near the temperature sensor 1780J to reduce power consumption and implement thermal protection. In other embodiments, when the temperature is lower than another threshold, the electronic device 1700 heats the battery 1742 to avoid abnormal shutdown of the electronic device 1700 due to low temperature. In other embodiments, when the temperature is lower than another threshold, the electronic device 1700 performs a boost on the output voltage of the battery 1742 to avoid abnormal shutdown caused by low temperature.
[0230] The touch sensor 1780K is also called a "touch device". The touch sensor 1780K can be set on the display screen 1794, and the touch sensor 1780K and the display screen 1794 form a touch screen, also called a "touch screen". The touch sensor 1780K is used to detect touch operations acting on or near it. The touch sensor can pass the detected touch operation to the application processor to determine the type of touch event. Visual output related to the touch operation can be provided through the display screen 1794. In other embodiments, the touch sensor 1780K can also be set on the surface of the electronic device 1700, which is different from the position of the display screen 1794.
[0231] The bone conduction sensor 1780M can obtain a vibration signal. In some embodiments, the bone conduction sensor 1780M can obtain a vibration signal of a vibrating bone block of the vocal part of the human body. The bone conduction sensor 1780M can also contact the human pulse to receive a blood pressure beat signal. In some embodiments, the bone conduction sensor 1780M can also be set in an earphone and combined into a bone conduction earphone. The audio module 1770 can parse out a voice signal based on the vibration signal of the vibrating bone block of the vocal part obtained by the bone conduction sensor 1780M to realize a voice function. The application processor can parse the heart rate information based on the blood pressure beat signal obtained by the bone conduction sensor 1780M to realize a heart rate detection function.
[0232] The key 1790 includes a power key, a volume key, etc. The key 1790 may be a mechanical key or a touch key. The electronic device 1700 may receive key input and generate key signal input related to user settings and function control of the electronic device 1700.
[0233] Motor 1791 can generate vibration prompts. Motor 1791 can be used for incoming call vibration prompts, and can also be used for touch vibration feedback. For example, touch operations acting on different applications (such as taking pictures, audio playback, etc.) can correspond to different vibration feedback effects. For touch operations acting on different areas of the display screen 1794, motor 1791 can also correspond to different vibration feedback effects. Different application scenarios (for example: time reminders, receiving messages, alarm clocks, games, etc.) can also correspond to different vibration feedback effects. The touch vibration feedback effect can also support customization.
[0234] Indicator 1792 can be an indicator light, which can be used to indicate the charging status, power changes, and can also be used to indicate messages, missed calls, notifications, etc.
[0235] The SIM card interface 1795 is used to connect a SIM card. The SIM card can be connected to and separated from the electronic device 1700 by inserting it into the SIM card interface 1795 or pulling it out from the SIM card interface 1795. The electronic device 1700 can support 1 or N SIM card interfaces, where N is a positive integer greater than 1. The SIM card interface 1795 can support Nano SIM cards, Micro SIM cards, SIM cards, and the like. Multiple cards can be inserted into the same SIM card interface 1795 at the same time. The types of the multiple cards can be the same or different. The SIM card interface 1795 can also be compatible with different types of SIM cards. The SIM card interface 1795 can also be compatible with external memory cards. The electronic device 1700 interacts with the network through the SIM card to implement functions such as calls and data communications. In some embodiments, the electronic device 1700 uses an eSIM, i.e., an embedded SIM card. The eSIM card can be embedded in the electronic device 1700 and cannot be separated from the electronic device 1700.
[0236] It should be understood that Fig.17 The electronic device 1700 shown can implement the present application Figure 3 to Figure 14 The various processes of the method provided in the illustrated embodiment. The operations and / or functions of the various modules in the electronic device 1700 are respectively to implement the corresponding processes in the above method embodiments. For details, please refer to the present application Figure 3 to Figure 14 To avoid repetition, the detailed description of the method embodiment is appropriately omitted here.
[0237] It should be understood that Fig.17 The processor 1710 in the electronic device 1700 shown may be a system on chip SOC, and the processor 1710 may include a central processing unit (CPU), and may further include other types of processors, such as a graphics processing unit (GPU) and the like.
[0238] In summary, the various processors or processing units within the processor 1710 can work together to implement the previous method flow, and the corresponding software programs of the various processors or processing units can be stored in the internal memory 121.
[0239] Fig.18 This is another schematic diagram of the structure of an electronic device in this application, such as Fig.18 As shown, the electronic device 1800 may include: a display screen 1801; one or more processors 1802; a memory 1803; and one or more computer programs.
[0240] The one or more computer programs are stored in the memory 1803, and the one or more computer programs include instructions. When the instructions are executed by the device 1800, the device 1800 executes the embodiment of the present application. Figure 3 to Figure 14 The identity authentication method shown is described in detail in the above embodiment, and will not be repeated here. The processor 1802 may be Fig.17 The processor 1710 shown, the display screen 1801 may be Fig.17 The display screen 1794 shown in FIG. 1794 and the memory 1803 may be Fig.17 The internal memory 1721 is shown.
[0241] The present application also provides an electronic device, the device comprising a storage medium and a central processing unit, the storage medium may be a non-volatile storage medium, the storage medium stores a computer executable program, the central processing unit is connected to the non-volatile storage medium, and executes the computer executable program to implement the present application Figure 3 to Figure 14 The method provided by the illustrated embodiment.
[0242] In the above embodiments, the processor involved may include, for example, a CPU, a DSP, a microcontroller or a digital signal processor, and may also include a GPU, an embedded neural network processor (Neural-network Process Units; hereinafter referred to as: NPU) and an image signal processor (Image Signal Processing; hereinafter referred to as: ISP). The processor may also include necessary hardware accelerators or logic processing hardware circuits, such as ASIC, or one or more integrated circuits for controlling the execution of the program of the technical solution of the present application. In addition, the processor may have the function of operating one or more software programs, and the software programs may be stored in a storage medium.
[0243] The present application also provides a computer-readable storage medium, in which a computer program is stored. When the computer-readable storage medium is run on a computer, the computer executes the present application. Figure 3 to Figure 14The method provided by the illustrated embodiment.
[0244] The present application also provides a computer program product, which includes a computer program, which, when executed on a computer, enables the computer to execute the present application. Figure 3 to Figure 14 The method provided by the illustrated embodiment.
[0245] In the embodiments of the present application, "at least one" refers to one or more, and "more than one" refers to two or more. "And / or" describes the association relationship of associated objects, indicating that three relationships may exist. For example, A and / or B can represent the existence of A alone, the existence of A and B at the same time, and the existence of B alone. Among them, A and B can be singular or plural. The character " / " generally indicates that the previous and next associated objects are in an "or" relationship. "At least one of the following" and similar expressions refer to any combination of these items, including any combination of single or plural items. For example, at least one of a, b and c can be represented by: a, b, c, a and b, a and c, b and c, or a and b and c, where a, b, c can be single or multiple.
[0246] Those of ordinary skill in the art will appreciate that the various units and algorithm steps described in the embodiments disclosed herein can be implemented in a combination of electronic hardware, computer software, and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application.
[0247] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the systems, devices and units described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.
[0248] In several embodiments provided in the present application, if any function is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application, or the part that contributes to the prior art or the part of the technical solution, can be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (Read-Only Memory; hereinafter referred to as: ROM), random access memory (Random Access Memory; hereinafter referred to as: RAM), disk or optical disk, and other media that can store program codes.
[0249] The above is only a specific implementation of the present application. Any person skilled in the art can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. The protection scope of the present application should be based on the protection scope of the claims.
Claims
1. An identity authentication method, characterized in that: include: Receiving a screen projection operation from a user to project a screen of a first electronic device to a second electronic device; In response to the screen projection operation, the second electronic device collects first identity authentication information of the user; The second electronic device receives second identity authentication information sent by the first electronic device; The second identity authentication information is identity authentication information pre-stored in the first electronic device; The second electronic device compares the first identity authentication information with the second identity authentication information to obtain a first comparison result; The second electronic device sends the first comparison result to the first electronic device; If the second electronic device determines that the first comparison result is consistent, the second electronic device displays the screen projection interface of the first electronic device, and the interface data of the screen projection interface is sent by the first electronic device when determining that the first comparison result is consistent; The first electronic device has projected its screen onto the second electronic device, and when the first electronic device and the second electronic device are in a locked screen state, the second electronic device receives an unlocking operation by a user; The second electronic device collects third identity authentication information of the user; Obtaining a second comparison result of the third identity authentication information and the second identity authentication information, and comparing the third identity authentication information with fourth identity authentication information pre-stored in the second electronic device to obtain a third comparison result; If the third comparison result is consistent and the second comparison result is inconsistent, the second electronic device is unlocked, the second electronic device displays the projection interface of the first electronic device and the projection interface is in a locked state; if the third comparison result is consistent and the second comparison result is consistent, the second electronic device is unlocked, and the second electronic device displays the projection interface of the first electronic device.
2. The method according to claim 1, characterized in that The method further comprises: If the third comparison result is inconsistent, the second electronic device is not unlocked.
3. The method according to claim 1 or 2, characterized in that: After receiving the screen projection operation and before collecting the first identity authentication information, the method further includes: The second electronic device obtains a type of the second identity authentication information.
4. The method according to claim 1 or 2, characterized in that: After receiving the screen projection operation and before collecting the first identity authentication information, the method further includes: The second electronic device determines that the distance between the second electronic device and the first electronic device is less than a preset threshold.
5. The method according to claim 1 or 2, characterized in that: Also includes: The second electronic device determines whether the second electronic device is directly connected to the first electronic device; If the second electronic device is not directly connected to the first electronic device, the second electronic device establishes a direct connection between the second electronic device and the first electronic device.
6. An identity authentication method, characterized in that: include: Receiving a screen projection operation from a user to project a screen of a first electronic device to a second electronic device; In response to the screen projection operation, the second electronic device collects first identity authentication information of the user; The second electronic device sends the first identity authentication information to a third electronic device; The second electronic device receives a first comparison result between the first identity authentication information and the second identity authentication information sent by the third electronic device, the second identity authentication information being sent by the first electronic device to the third electronic device; the second identity authentication information is identity authentication information pre-stored in the first electronic device; If the second electronic device determines that the first comparison result is consistent, the second electronic device displays the screen projection interface of the first electronic device, and the interface data of the screen projection interface is sent by the first electronic device when it receives the first comparison result sent by the third electronic device and determines that the first comparison result is consistent; The first electronic device has projected its screen onto the second electronic device, and when the first electronic device and the second electronic device are in a locked screen state, the second electronic device receives an unlocking operation by a user; The second electronic device collects third identity authentication information of the user; Obtaining a second comparison result of the third identity authentication information and the second identity authentication information, and comparing the third identity authentication information with fourth identity authentication information pre-stored in the second electronic device to obtain a third comparison result; If the third comparison result is consistent and the second comparison result is inconsistent, the second electronic device is unlocked, the second electronic device displays the projection interface of the first electronic device and the projection interface is in a locked state; if the third comparison result is consistent and the second comparison result is consistent, the second electronic device is unlocked, and the second electronic device displays the projection interface of the first electronic device.
7. The method according to claim 6, characterized in that The method further comprises: If the third comparison result is inconsistent, the second electronic device is not unlocked.
8. The method according to claim 6 or 7, characterized in that: After receiving the screen projection operation and before collecting the first identity authentication information, the method further includes: The second electronic device obtains a type of the second identity authentication information.
9. The method according to claim 6 or 7, characterized in that: After receiving the screen projection operation and before collecting the first identity authentication information, the method further includes: The second electronic device determines that the distance between the second electronic device and the first electronic device is less than a preset threshold.
10. The method according to claim 6 or 7, characterized in that: Also includes: The second electronic device determines whether the second electronic device is directly connected to the first electronic device; If the second electronic device is not directly connected to the first electronic device, the second electronic device establishes a direct connection between the second electronic device and the first electronic device.
11. An electronic device, characterized in that: include: Display screen; one or more processors; Memory; and one or more computer programs, wherein the one or more computer programs are stored in the memory, and the one or more computer programs include instructions, which, when executed by the processor, enable the electronic device to perform the method according to any one of claims 1 to 10.
12. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, which, when executed on a computer, enables the computer to execute the method according to any one of claims 1 to 10.
