Authentication method and electronic equipment

By safely authenticating the input information in the invisible operating environment of the electronic device, and using scene identification and encryption algorithms to process biometric information, the problem of easy interception in the prior art is solved, and the security of the electronic device is significantly improved.

CN119089432APending Publication Date: 2024-12-06LENOVO (BEIJING) LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411216364.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-30
Publication Date
2024-12-06

AI Technical Summary

Technical Problem

During the account authentication process of existing electronic devices, information is easily intercepted, resulting in low security.

Method used

An authentication method is adopted to safely authenticate the input information in a first operating environment that is invisible to the user, determine the authentication conditions using the scene identifier and user information, and process biometric information or password information through an encryption algorithm to generate the authentication ciphertext , if it matches the target ciphertext, it passes authentication, and the authentication result performs corresponding operations in the second operating environment visible to the user.

Benefits of technology

It effectively prevents information from being intercepted during the authentication process and improves the security of electronic devices.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119089432A_ABST
    Figure CN119089432A_ABST
Patent Text Reader

Abstract

The invention discloses an authentication method and electronic equipment, and the authentication method is applied to a first operation environment of the electronic equipment, and comprises the steps: obtaining input information; under the condition that the input information meets the authentication condition, performing security authentication on the input information to obtain an authentication result; the authentication result is transmitted to the second operation environment, so that the electronic equipment executes corresponding operation according to the authentication result in the second operation environment, the electronic equipment comprises the first operation environment and the second operation environment, the first operation environment is invisible relative to the user, and the second operation environment is visible relative to the user.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of security authentication, and in particular to an authentication method and electronic equipment. Background Art

[0002] At present, many electronic devices use keyboard and password authentication for account authentication or user credentials. From the moment the user presses the physical keyboard to entering the operating system, the password is finally passed to the application's password window for security authentication. The entire process must pass through the middle-layer software stack such as the driver and runtime library.

[0003] Since the progress and services of the driver and operating system are visible and monitored, information in the authentication process, such as account number and password, can be easily intercepted, resulting in lower security of the electronic device. Summary of the invention

[0004] The purpose of the embodiments of the present application is to provide an authentication method and an electronic device.

[0005] In a first aspect, an embodiment of the present application provides an authentication method, which is applied to a first operating environment of an electronic device, including:

[0006] Get input information;

[0007] If the input information meets the authentication condition, perform security authentication on the input information to obtain an authentication result;

[0008] The authentication result is transmitted to a second operating environment so that the electronic device performs corresponding operations according to the authentication result in the second operating environment. The electronic device includes a first operating environment and a second operating environment. The first operating environment is invisible to the user, and the second operating environment is visible to the user.

[0009] In a possible implementation manner, obtaining input information includes:

[0010] Receiving a scenario identifier sent by the second operating environment;

[0011] User information is received, where the user information is information acquired by an input device of the electronic device.

[0012] In a possible implementation, before performing security authentication on the input information, the following steps are included:

[0013] Determining whether the input information meets an authentication condition based on the scenario identifier and the user information;

[0014] If at least one of the scene identifier and the user information meets the authentication condition, the input information meets the authentication condition;

[0015] The authentication condition includes at least one item: the scene identifier represents that the scene is a target authentication scene, the user information includes target account information, and the user information includes biometric information or password information.

[0016] In a possible implementation manner, performing security authentication on the input information to obtain an authentication result includes:

[0017] Processing the target account information and the biometric information or the password information through an encryption algorithm to obtain a ciphertext to be authenticated;

[0018] Based on the scenario identifier, query the target security ciphertext;

[0019] If the ciphertext to be authenticated is consistent with the target secure ciphertext, the authentication result is that the input information passes the security authentication.

[0020] In a possible implementation, before performing security authentication on the input information, the following steps are included:

[0021] Receiving a scenario identifier, account information, and biometric information or password information for each authentication scenario that needs to be authenticated in the second operating environment;

[0022] For each authentication scenario that needs to be authenticated, the account information and biometric information or password information are processed through an encryption algorithm to obtain the secure ciphertext of the authentication scenario;

[0023] Establishing a mapping relationship between the scene identifier of the authentication scene and the security ciphertext;

[0024] The mapping relationship is stored so that the first operating environment uses the mapping relationship to perform security authentication on the input information.

[0025] In a possible implementation, transmitting the authentication result to the second operating environment includes:

[0026] The authentication result is transmitted to the virtual human-computer interaction device in the second operating environment, so that the virtual human-computer interaction device feeds back the authentication result to the corresponding process.

[0027] In a possible implementation, the performing a corresponding operation according to the authentication result includes:

[0028] If the authentication result is that the input information passes the security authentication, the electronic device performs any one of the following operations: the electronic device switches to a working state, starts and runs an application corresponding to the input information, and the application of the electronic device performs the operation after authentication.

[0029] In a second aspect, an embodiment of the present application further provides an electronic device, including a first operating environment and a second operating environment;

[0030] The first operating environment obtains input information; if the input information meets the authentication condition, performs security authentication on the input information to obtain an authentication result; and transmits the authentication result to the second operating environment, wherein the electronic device includes the first operating environment and the second operating environment, the first operating environment is invisible to the user, and the second operating environment is visible to the user;

[0031] The second operating environment performs corresponding operations according to the authentication result.

[0032] In a possible implementation manner, the first operating environment:

[0033] Receiving a scenario identifier sent by the second operating environment;

[0034] Receiving user information The user information is information acquired by an input device of the electronic device.

[0035] In a possible implementation manner, the first operating environment:

[0036] Determining whether the input information meets an authentication condition based on the scenario identifier and the user information;

[0037] If at least one of the scene identifier and the user information meets the authentication condition, the input information meets the authentication condition;

[0038] The authentication condition includes at least one item: the scene identifier represents that the scene is a target authentication scene, the user information includes target account information, and the user information includes biometric information or password information.

[0039] In the authentication method of the embodiment of the present application, the input information is securely authenticated by a first operating environment that is invisible to the user, and after obtaining the authentication result, the authentication result is transmitted to a second operating environment that is visible to the user, so that in the second operating environment, a corresponding operation is performed according to the authentication result. In this authentication process, the process of securely authenticating the input information is invisible to the user, thereby preventing the input information from being intercepted during the authentication process, greatly improving the security of the electronic device. BRIEF DESCRIPTION OF THE DRAWINGS

[0040] In order to more clearly illustrate the technical solutions in the present application or the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments recorded in the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative labor.

[0041] Figure 1 A flowchart of an authentication method provided by the present application is shown;

[0042] Figure 2 A flowchart of determining whether the input information meets the authentication condition in an authentication method provided by the present application is shown;

[0043] Figure 3 A flowchart of performing security authentication on input information to obtain an authentication result in an authentication method provided by the present application is shown;

[0044] Figure 4 A flowchart of another authentication method provided by the present application is shown;

[0045] Figure 5 A schematic diagram of the structure of an electronic device provided by the present application is shown;

[0046] Figure 6 A schematic diagram showing an example of an electronic device provided in the present application. DETAILED DESCRIPTION

[0047] Various aspects and features of the present application are described herein with reference to the accompanying drawings.

[0048] It should be understood that various modifications may be made to the embodiments of the present application. Therefore, the above description should not be considered as limiting, but only as an example of the embodiments. Other modifications within the scope and spirit of the present application will occur to those skilled in the art.

[0049] The accompanying drawings, which are incorporated in and constitute a part of the specification, illustrate embodiments of the present application and, together with the general description of the present application given above and the detailed description of the embodiments given below, serve to explain the principles of the present application.

[0050] These and other characteristics of the present application will become apparent from the following description of a preferred form of embodiment given as a non-limiting example with reference to the accompanying drawings.

[0051] It should also be understood that, although the present application has been described with reference to some specific examples, those skilled in the art will be able to realize many other equivalent forms of the present application that have the features described in the claims and are therefore within the scope of protection defined thereby.

[0052] The above and other aspects, features and advantages of the present application will become more apparent in view of the following detailed description when taken in conjunction with the accompanying drawings.

[0053] Specific embodiments of the present application are described hereinafter with reference to the accompanying drawings; however, it should be understood that the embodiments applied for are merely examples of the present application, which may be implemented in a variety of ways. Well-known and / or repeated functions and structures are not described in detail to avoid unnecessary or redundant details that obscure the present application. Therefore, the specific structural and functional details applied for herein are not intended to be limiting, but merely serve as a basis and representative basis for the claims to teach those skilled in the art to use the present application in a variety of ways with substantially any suitable detailed structure.

[0054] This specification may use the phrases "in one embodiment," "in another embodiment," "in yet another embodiment," or "in other embodiments," all of which may refer to one or more of the same or different embodiments according to the present application.

[0055] To facilitate understanding of this application, an authentication method provided by this application is first introduced in detail.

[0056] Figure 1 A flowchart of an authentication method provided in an embodiment of the present application is shown, wherein specific steps include S101-S103.

[0057] S101, obtaining input information.

[0058] The authentication method of the embodiment of the present application is applied to a first operating environment of an electronic device, in which at least a processing unit such as a processor / controller, a communication unit, a drive, and a storage unit are provided.

[0059] In a specific implementation, a virtual human-computer interaction device, a virtual smart card, and a security monitoring program may also be provided in the first operating environment, and the virtual human-computer interaction device, the virtual smart card, and the security monitoring program may enable the first operating environment to communicate with other environments. For example, the first operating environment may obtain information from other environments through a virtual smart card and / or a security monitoring program, and of course, may also transmit information to other environments through a virtual smart card. The first operating environment may obtain information transmitted by a physical device through a driver and transmit it to a corresponding process or processor through a virtual human-computer interaction device.

[0060] From the above, the first operating environment can obtain the input information determined by the user. The input information includes

[0061] S102: When the input information meets the authentication condition, security authentication is performed on the input information to obtain an authentication result.

[0062] After the input information is obtained, it is further determined whether the input information meets the authentication condition, that is, whether the input information needs to be authenticated.

[0063] If the input information meets the authentication condition, that is, the input information needs to be authenticated, then the input information is subjected to security authentication to obtain an authentication result, wherein the authentication result includes whether the input information passes the security authentication or fails the security authentication.

[0064] S103, transmitting the authentication result to the second operating environment, so that the electronic device performs corresponding operations according to the authentication result in the second operating environment, the electronic device includes a first operating environment and a second operating environment, the first operating environment is invisible to the user, and the second operating environment is visible to the user.

[0065] After obtaining the authentication result, the authentication result is transmitted to the second operating environment. Among them, the electronic device includes a first operating environment and a second operating environment, the first operating environment is invisible to the user, and the second operating environment is visible to the user. Optionally, the electronic device of the embodiment of the present application adopts the Trust Zone security architecture, and the TZ architecture is divided into a secure world and a normal world. The secure world corresponds to the first operating environment, and the normal world corresponds to the second operating environment.

[0066] Based on the above TZ architecture, a virtual human-computer interaction device is pre-set in the second operating environment, and the communication between the first operating environment and the second operating environment is realized through the virtual human-computer interaction device. On this basis, when the authentication result is transmitted to the second operating environment, the authentication result is transmitted to the virtual human-computer interaction device in the second operating environment, so that the virtual human-computer interaction device feeds back the authentication result to the corresponding process, such as the operating system kernel or application program.

[0067] Optionally, the virtual human-computer interaction device can be set to one or more of a virtual keyboard, a virtual mouse, a virtual camera, and a virtual biosensor. Preferably, the corresponding virtual human-computer interaction device is set according to the physical human-computer interaction device to which the electronic device is currently connected. For example, if the electronic device is currently connected to a physical keyboard and a physical camera, the virtual human-computer interaction device can be set to a virtual keyboard and a virtual camera accordingly, so that the authentication result can be accurately fed back to the corresponding process.

[0068] In a specific implementation, after the second operating environment receives the authentication result, the corresponding operation is performed in the second operating environment according to the authentication result. As one example, if the received authentication result is that the input information passes the security authentication, the electronic device performs any one of the following operations: the electronic device switches to a working state, starts and runs the application corresponding to the input information, and the application of the electronic device performs the authenticated operation.

[0069] For example, in the scenario of starting an application, the input information includes the account and password of the application, where the account and password are strings entered by the user through a physical keyboard. After obtaining the account and password and determining that the account and password meet the authentication conditions, the first operating environment performs security authentication on the account and password, and transmits the obtained authentication result to the second operating environment. Afterwards, after the second operating environment receives the authentication result, if the authentication result is that the input information passes the security authentication, it controls the application to start and run.

[0070] In another example, in the scenario where a laptop computer switches from a dormant state to a working state, the input information includes the user name and login fingerprint of the laptop computer, wherein the user name is fixed for the laptop computer and can be directly obtained from the second operating environment, and the login fingerprint is the user fingerprint collected by the biosensor. After obtaining the user name and login fingerprint and determining that the user name and login fingerprint meet the authentication conditions, the first operating environment performs security authentication on the user name and login fingerprint, and transmits the obtained authentication result to the second operating environment. Afterwards, after the second operating environment receives the authentication result, if the authentication result is that the input information passes the security authentication, the electronic device is controlled to switch from the dormant state to the working state.

[0071] In the authentication method of the embodiment of the present application, the input information is securely authenticated by a first operating environment that is invisible to the user, and after obtaining the authentication result, the authentication result is transmitted to a second operating environment that is visible to the user, so that in the second operating environment, a corresponding operation is performed according to the authentication result. In this authentication process, the process of securely authenticating the input information is invisible to the user, thereby preventing the input information from being intercepted during the authentication process, greatly improving the security of the electronic device.

[0072] In a specific implementation, when the first operating environment obtains input information, it specifically includes receiving a scene identifier sent by the second operating environment, wherein the scene identifier can be a process identifier of an application that currently needs to be started or run, which can uniquely represent the application. For example, in the above example, when an application is started, a start request is issued to the first operating environment, and the start request carries the process identifier of the application. The scene identifier can also be an operating scene identifier of the electronic device, which can uniquely represent the current operating scene of the electronic device. For example, in the above example, when the laptop computer switches from a sleep state to a working state, a switching request is issued to the first operating environment, and the switching request carries the operating scene identifier, etc.

[0073] The second operating environment sends a scene identifier to the first operating environment through a virtual human-computer interaction device.

[0074] When the first operating environment obtains input information, it also includes receiving user information, where the user information is information obtained by an input device of the electronic device, wherein the input device may include at least one of a physical keyboard, a physical mouse, a physical camera, and a physical biometric sensor. In a specific implementation, the user performs certain operations on the input device so that the input device obtains user information, which includes account information and biometric information or password information.

[0075] In another example, before the input information is authenticated, Figure 2 The method flow chart shown is used to determine whether the input information meets the authentication conditions, wherein the specific steps include S201 and S202.

[0076] S201, based on the scenario identifier and user information, determine whether the input information meets the authentication condition.

[0077] S202: If at least one of the scene identifier and the user information meets the authentication condition, the input information meets the authentication condition.

[0078] As described above, the input information includes the scene identifier and the user information. After obtaining the scene identifier and the user information, the first operating environment determines whether the input information meets the authentication condition based on the scene identifier and the user information. Among them, the authentication condition includes at least one item: the scene identifier represents the scene as the target authentication scene, the user information includes the target account information, and the user information includes biometric information or password information.

[0079] Specifically, when determining whether the input information meets the authentication condition based on the scene identifier and user information, a pre-built scene identifier library is traversed, and the scene identifier library includes scene identifiers corresponding to scenes that require security authentication. It is queried whether the scene identifier is included in the scene identifier library. If included, the scene identifier represents that the scene is a target authentication scene, that is, the input information meets the authentication condition.

[0080] Similarly, when determining whether the input information meets the authentication condition based on the scenario identifier and the user information, the account information library can also be traversed, and the account information library includes the target account information that needs to be securely authenticated. Further, it is queried whether the user information includes any target account information in the account information library. If so, it is determined that the input information meets the authentication condition.

[0081] As another example, when determining whether the input information meets the authentication condition based on the scene identification and user information, it can also be determined whether the user information includes biometric information or password information. If so, it is determined that the input information meets the authentication condition.

[0082] As an example, Figure 3A flow chart of a method for performing security authentication on input information to obtain an authentication result is shown, wherein specific steps include S301-S303.

[0083] S301, processing the target account information and biometric information or password information through an encryption algorithm to obtain a ciphertext to be authenticated.

[0084] S302, querying the target security ciphertext based on the scene identifier.

[0085] S303: If the ciphertext to be authenticated is consistent with the target secure ciphertext, the authentication result is that the input information passes the security authentication.

[0086] When the first operating environment obtains input information and determines that the input information meets the authentication conditions, the target account information and biometric information or password information included in the input information are processed by an encryption algorithm to obtain a ciphertext to be authenticated. Optionally, an encryption / decryption unit is provided in the first operating environment, and an encryption algorithm is provided in the encryption / decryption unit. After determining that the input information meets the authentication conditions, the encryption / decryption unit performs encryption calculation on the target account information and biometric information or password information according to the encryption algorithm to obtain a ciphertext to be authenticated.

[0087] Accordingly, a storage unit is provided in the first operating environment, and the storage unit stores mapping relationships between multiple scene identifiers and secure ciphertexts. Based on this, after obtaining the ciphertext to be authenticated, based on the scene identifier included in the input information, the target secure ciphertext corresponding to the scene identifier is searched from the storage unit.

[0088] Furthermore, the ciphertext to be authenticated is compared with the target security ciphertext. If the ciphertext to be authenticated is consistent with the target security ciphertext, the authentication result is that the input information passes the security authentication; if the ciphertext to be authenticated is inconsistent with the target security ciphertext, the authentication result is that the input information fails the security authentication.

[0089] As another example, Figure 4 A flowchart of another authentication method provided in an embodiment of the present application is shown, wherein the specific steps include S401-S404.

[0090] S401, receiving a scenario identifier, account information, and biometric information or password information of each authentication scenario that needs to be authenticated in the second operating environment.

[0091] S402, for each authentication scenario that needs to be authenticated, the account information and biometric information or password information is processed through an encryption algorithm to obtain a secure ciphertext of the authentication scenario.

[0092] S403: Establish a mapping relationship between the scenario identifier of the authentication scenario and the security ciphertext.

[0093] S404: Store the mapping relationship so that the first operating environment uses the mapping relationship to perform security authentication on the input information.

[0094] Before the input information is securely authenticated, it is necessary to determine the mapping relationship between each scene identifier and the security ciphertext and store it to facilitate the security authentication of the input information.

[0095] Specifically, since there is no operation of starting the application, the second operating environment uses a secure listening program through a virtual smart card to achieve communication with the first operating environment. The second operating environment transmits the scene identification, account information, and biometric information or password information of the authentication scene that needs to be authenticated to the first operating environment. Preferably, the scene identification, account information, and biometric information or password information of the authentication scene that needs to be authenticated are transmitted to the encryption / decryption unit of the first operating environment through the virtual smart card.

[0096] The first operating environment receives the scenario identifier, account information, and biometric information or password information of each authentication scenario that needs to be authenticated in the second operating environment, and for each authentication scenario that needs to be authenticated, processes the account information and biometric information or password information according to the encryption algorithm through the encryption / decryption unit, that is, performs encryption calculations, to obtain the security ciphertext of the authentication scenario.

[0097] Furthermore, a mapping relationship between the scenario identifier of the authentication scenario and the security ciphertext is established, and the mapping relationship is stored in a storage unit, so that the first operating environment uses the mapping relationship to perform security authentication on the input information.

[0098] In the authentication method of the embodiment of the present application, the input information is securely authenticated by a first operating environment that is invisible to the user, and after obtaining the authentication result, the authentication result is transmitted to a second operating environment that is visible to the user, so that in the second operating environment, a corresponding operation is performed according to the authentication result. In this authentication process, the process of securely authenticating the input information is invisible to the user, thereby preventing the input information from being intercepted during the authentication process, greatly improving the security of the electronic device.

[0099] Based on the same inventive concept, the second aspect of the present application also provides an electronic device corresponding to an authentication method. Since the principle of solving the problem by the electronic device in the present application is similar to the above-mentioned authentication method of the present application, the implementation of the electronic device can refer to the implementation of the method, and the repeated parts will not be repeated.

[0100] Figure 5 A schematic diagram of an electronic device provided in an embodiment of the present application is shown, specifically including a first operating environment 501 and a second operating environment 502;

[0101] The first operating environment 501 obtains input information; if the input information meets the authentication condition, performs security authentication on the input information to obtain an authentication result; and transmits the authentication result to the second operating environment 502. The electronic device includes the first operating environment 501 and the second operating environment 502. The first operating environment 501 is invisible to the user, and the second operating environment 502 is visible to the user.

[0102] The second operating environment 502 performs corresponding operations according to the authentication result.

[0103] In yet another embodiment, the first operating environment 501:

[0104] Receiving the scenario identifier sent by the second operating environment 502;

[0105] Receiving user information The user information is information acquired by an input device of the electronic device.

[0106] In yet another embodiment, the first operating environment 501:

[0107] Determining whether the input information meets an authentication condition based on the scenario identifier and the user information;

[0108] If at least one of the scene identifier and the user information meets the authentication condition, the input information meets the authentication condition;

[0109] The authentication condition includes at least one item: the scene identifier represents that the scene is a target authentication scene, the user information includes target account information, and the user information includes biometric information or password information.

[0110] In yet another embodiment, the first operating environment 501:

[0111] Processing the target account information and the biometric information or the password information through an encryption algorithm to obtain a ciphertext to be authenticated;

[0112] Based on the scenario identifier, query the target security ciphertext;

[0113] If the ciphertext to be authenticated is consistent with the target secure ciphertext, the authentication result is that the input information passes the security authentication.

[0114] In yet another embodiment, the first operating environment 501:

[0115] Receiving a scenario identifier, account information, and biometric information or password information for each authentication scenario that needs to be authenticated in the second operating environment;

[0116] For each authentication scenario that needs to be authenticated, the account information and biometric information or password information are processed through an encryption algorithm to obtain the secure ciphertext of the authentication scenario;

[0117] Establishing a mapping relationship between the scene identifier of the authentication scene and the security ciphertext;

[0118] The mapping relationship is stored so that the first operating environment uses the mapping relationship to perform security authentication on the input information.

[0119] In yet another embodiment, the second operating environment 502:

[0120] Receiving the authentication result through a pre-built virtual human-computer interaction device;

[0121] The authentication result is fed back to the corresponding process through the virtual human-computer interaction device.

[0122] In yet another embodiment, the second operating environment 502:

[0123] If the authentication result is that the input information passes the security authentication, the electronic device performs any one of the following operations: the electronic device switches to a working state, starts and runs an application corresponding to the input information, and the application of the electronic device performs the operation after authentication.

[0124] One example is Figure 6 A schematic diagram of an example of an electronic device provided by an embodiment of the present application is shown, in which a human-computer interaction device driver, an encryption / decryption unit, and a storage unit are set in the first operating environment of the electronic device. Among them, the human-computer interaction device driver is used to obtain information obtained by the input device; the encryption / decryption unit is used to encrypt and calculate the account information and biometric information or password information according to the encryption algorithm, and then determine the security ciphertext corresponding to the scene identifier, and is used to encrypt and calculate the target account information and biometric information or password information according to the encryption algorithm to obtain the ciphertext to be authenticated, and then determine whether the input information passes the security authentication; the storage unit is used to store the mapping relationship between the scene identifier of the authentication scene and the security ciphertext.

[0125] The second operating environment of the electronic device is provided with a virtual human-computer interaction device, a virtual smart card, an operating system and an application. The virtual human-computer interaction device is used to realize the communication between the operating system, the application and the first operating environment, such as transmitting the scene identification of the scene in operation in the second operating environment to the first operating environment, and feeding back the input information obtained by the first operating environment to the corresponding operating system or application; the virtual smart card is used to transmit the scene identification of the authentication scene that needs to be authenticated, account information, and biometric information or password information provided by the second operating environment to the first operating environment when the application is not running.

[0126] The specific authentication process and steps will not be elaborated here, please refer to the above.

[0127] The electronic device of the embodiment of the present application performs security authentication on the input information through a first operating environment that is invisible to the user, and after obtaining the authentication result, transmits the authentication result to a second operating environment that is visible to the user, so that in the second operating environment, a corresponding operation is performed according to the authentication result. During the authentication process, the process of performing security authentication on the input information is invisible to the user, thereby preventing the input information from being intercepted during the authentication process, and greatly improving the security of the electronic device.

[0128] In addition, although exemplary embodiments have been described herein, the scope includes any and all embodiments based on the present application with equivalent elements, modifications, omissions, combinations (e.g., various embodiments intersecting schemes), adaptations or changes. The elements in the claims will be interpreted broadly based on the language adopted in the claims, and are not limited to the examples described in this specification or during the implementation of the application, and the examples will be interpreted as non-exclusive. Therefore, this specification and examples are intended to be considered as examples only, and the true scope and spirit are indicated by the following claims and the full scope of their equivalents.

[0129] The above description is intended to be illustrative rather than restrictive. For example, the above examples (or one or more of them) can be used in combination with each other. For example, those of ordinary skill in the art can use other embodiments when reading the above description. In addition, in the above-mentioned specific embodiments, various features can be grouped together to simplify the application. This should not be interpreted as an intention that a disclosed feature that does not require protection is necessary for any claim. On the contrary, the subject matter of the present application may be less than all the features of a specific disclosed embodiment. Thus, the following claims are incorporated into the specific embodiments as examples or embodiments, wherein each claim is independently used as a separate embodiment, and it is considered that these embodiments can be combined with each other in various combinations or arrangements. The scope of the present application should be determined with reference to the attached claims and the full scope of equivalent forms granted by these claims.

[0130] Multiple embodiments of the present application are described in detail above, but the present application is not limited to these specific embodiments. Those skilled in the art can make various variations and modifications to the embodiments based on the concept of the present application, and these variations and modifications should all fall within the scope of protection required by the present application.

Claims

1. An authentication method, applied to a first operating environment of an electronic device, comprising: Get input information; If the input information meets the authentication condition, perform security authentication on the input information to obtain an authentication result; The authentication result is transmitted to a second operating environment so that the electronic device performs corresponding operations according to the authentication result in the second operating environment. The electronic device includes a first operating environment and a second operating environment. The first operating environment is invisible to the user, and the second operating environment is visible to the user.

2. The authentication method according to claim 1, wherein obtaining input information comprises: Receiving a scenario identifier sent by the second operating environment; User information is received, where the user information is information acquired by an input device of the electronic device.

3. The authentication method according to claim 2, before performing security authentication on the input information, comprises: Determining whether the input information meets an authentication condition based on the scenario identifier and the user information; If at least one of the scene identifier and the user information meets the authentication condition, the input information meets the authentication condition; The authentication condition includes at least one item: the scene identifier represents that the scene is a target authentication scene, the user information includes target account information, and the user information includes biometric information or password information.

4. The authentication method according to claim 3, wherein the step of performing security authentication on the input information to obtain an authentication result comprises: Processing the target account information and the biometric information or the password information through an encryption algorithm to obtain a ciphertext to be authenticated; Based on the scenario identifier, query the target security ciphertext; If the ciphertext to be authenticated is consistent with the target secure ciphertext, the authentication result is that the input information passes the security authentication.

5. The authentication method according to claim 1 or 4, before performing security authentication on the input information, comprising: Receiving a scenario identifier, account information, and biometric information or password information for each authentication scenario that needs to be authenticated in the second operating environment; For each authentication scenario that needs to be authenticated, the account information and biometric information or password information are processed through an encryption algorithm to obtain the secure ciphertext of the authentication scenario; Establishing a mapping relationship between the scene identifier of the authentication scene and the security ciphertext; The mapping relationship is stored so that the first operating environment uses the mapping relationship to perform security authentication on the input information.

6. The authentication method according to claim 1, wherein transmitting the authentication result to the second operating environment comprises: The authentication result is transmitted to the virtual human-computer interaction device in the second operating environment, so that the virtual human-computer interaction device feeds back the authentication result to the corresponding process.

7. The authentication method according to claim 1, wherein performing a corresponding operation according to the authentication result comprises: If the authentication result is that the input information passes the security authentication, the electronic device performs any one of the following operations: the electronic device switches to a working state, starts and runs an application corresponding to the input information, and the application of the electronic device performs the operation after authentication.

8. An electronic device comprising a first operating environment and a second operating environment; the first operating environment, obtaining input information; If the input information meets the authentication condition, perform security authentication on the input information to obtain an authentication result; transmit the authentication result to the second operating environment, the electronic device includes a first operating environment and a second operating environment, the first operating environment is invisible to the user, and the second operating environment is visible to the user; The second operating environment performs corresponding operations according to the authentication result.

9. The electronic device according to claim 8, wherein the first operating environment: Receiving a scenario identifier sent by the second operating environment; Receiving user information The user information is information acquired by an input device of the electronic device.

10. The electronic device according to claim 8, wherein the first operating environment: Determining whether the input information meets an authentication condition based on the scenario identifier and the user information; If at least one of the scene identifier and the user information meets the authentication condition, the input information meets the authentication condition; The authentication condition includes at least one item: the scene identifier represents that the scene is a target authentication scene, the user information includes target account information, and the user information includes biometric information or password information.