An identity verification method, device, equipment and medium
By collecting voice information in the 3D virtual classroom for voiceprint verification and optimizing the identity verification process using a one-time verification mark, the speed and security issues of identity verification in a full 3D scene are solved and more accurate and simpler identity verification is achieved. .
Patent Information
- Application Number
- CN202210804951.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-07-08
- Publication Date
- 2024-10-08
- Estimated Expiration
- 2042-07-08
AI Technical Summary
In an online classroom with a full 3D scene, the traditional account and password verification method is difficult to verify whether it is operated by me, and there is a risk of forgetting the account password or being stolen by others, and there is a lack of fast and effective identity verification methods.
In the three-dimensional virtual classroom scene, by obtaining the identity verification request, collecting voice information and performing voiceprint verification, the identity verification process is optimized using the one-time verification identification to ensure that only one identity verification is performed for the same course, reducing the tediousness of repeated verification.
It improves the speed and effectiveness of identity verification, ensures the accuracy of whether the operation is for me, reduces the risk of forgetting the account password or being stolen by others, and provides a simpler identity verification method.
Smart Images

Figure CN115242472B_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the field of computer technology, and in particular to an identity authentication method, device, equipment and medium. Background Art
[0002] With the development of true 3D technology, true 3D scenes are gradually applied to the teaching field. In online classes with true 3D scenes, identity authentication is often required to obtain relevant permissions. For example, identity authentication is required for class roll calls, permissions and access to private spaces, and public places such as campuses, classrooms, and libraries. At present, it is difficult to verify whether it is the person who is operating using the traditional account and password verification method, and there is also the risk of forgetting the account and password or being stolen by others. Therefore, there is currently a lack of quick and effective identity authentication methods for online classes with true 3D scenes. Summary of the invention
[0003] In order to solve the above technical problems or at least partially solve the above technical problems, the present disclosure provides an identity authentication method, apparatus, device and medium.
[0004] According to one aspect of the present disclosure, an identity authentication method is provided, in a three-dimensional virtual classroom scene, comprising:
[0005] Get an authentication request for a user account;
[0006] Collecting first voice information based on the identity authentication request;
[0007] authenticating the user account based on the first voice information;
[0008] Wherein, collecting the first voice information based on the identity authentication request includes:
[0009] Determine whether the identity authentication request carries a one-time authentication identifier; wherein the one-time authentication identifier is used to indicate that identity authentication is performed only once for multiple classroom scenes corresponding to the same course;
[0010] If the one-time verification identifier is carried, determining whether the user account has undergone identity authentication;
[0011] If identity authentication has not been performed, the first voice information is collected.
[0012] According to another aspect of the present disclosure, there is provided an identity authentication device for use in a three-dimensional virtual classroom scene, comprising:
[0013] A request acquisition module is used to obtain an identity authentication request for a user account;
[0014] A voice collection module, used for collecting first voice information based on the identity authentication request;
[0015] An identity authentication module, configured to authenticate the user account based on the first voice information;
[0016] Wherein, the voice collection module is specifically used for:
[0017] Determine whether the identity authentication request carries a one-time authentication identifier; wherein the one-time authentication identifier is used to indicate that identity authentication is performed only once for multiple classroom scenarios corresponding to the same course;
[0018] If a one-time verification token is carried, it is determined whether the user account has been authenticated;
[0019] If identity authentication has not been performed, the first voice information is collected.
[0020] According to another aspect of the present disclosure, an electronic device is provided, comprising: a processor; and a memory storing a program, wherein the program comprises instructions, which, when executed by the processor, enable the processor to perform the above-mentioned identity authentication method.
[0021] According to another aspect of the present disclosure, a non-transitory computer-readable storage medium storing computer instructions is provided, wherein the computer instructions are used to cause the computer to execute an identity authentication method.
[0022] Compared with the prior art, the technical solution provided by the embodiments of the present disclosure has the following advantages:
[0023] The identity authentication method, device, equipment and medium provided in this embodiment include: obtaining an identity authentication request for a user account in a three-dimensional virtual classroom scene; collecting first voice information based on the identity authentication request; and authenticating the user account based on the first voice information. This technical solution improves the speed and effectiveness of identity authentication for the three-dimensional virtual classroom scene. BRIEF DESCRIPTION OF THE DRAWINGS
[0024] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and, together with the description, serve to explain the principles of the present disclosure.
[0025] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, for ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative labor.
[0026] Figure 1A flow chart of an identity verification method provided by an embodiment of the present disclosure;
[0027] Figure 2 A schematic diagram of the identity verification process provided for an embodiment of the present disclosure;
[0028] Figure 3 A schematic diagram of the structure of an identity verification device provided by an embodiment of the present disclosure;
[0029] Figure 4 A schematic diagram of the structure of an electronic device provided in an embodiment of the present disclosure. DETAILED DESCRIPTION
[0030] In order to more clearly understand the above-mentioned purposes, features and advantages of the present disclosure, the embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although certain embodiments of the present disclosure are shown in the accompanying drawings, it should be understood that the present disclosure can be implemented in various forms and should not be interpreted as being limited to the embodiments described herein. Instead, these embodiments are provided to provide a more thorough and complete understanding of the present disclosure. It should be understood that the drawings and embodiments of the present disclosure are only for exemplary purposes and are not intended to limit the scope of protection of the present disclosure.
[0031] It should be understood that the various steps described in the method embodiments of the present disclosure may be performed in different orders and / or in parallel. In addition, the method embodiments may include additional steps and / or omit the steps shown. The scope of the present disclosure is not limited in this respect.
[0032] The term "including" and its variations used in this document are open inclusions, that is, "including but not limited to". The term "based on" means "based at least in part on". The term "one embodiment" means "at least one embodiment"; the term "another embodiment" means "at least one other embodiment"; the term "some embodiments" means "at least some embodiments". Relevant definitions of other terms will be given in the description below. It should be noted that the concepts of "first", "second", etc. mentioned in this disclosure are only used to distinguish different devices, modules or units, and are not used to limit the order or interdependence of the functions performed by these devices, modules or units.
[0033] It should be noted that the modifications of "one" and "plurality" mentioned in the present disclosure are illustrative rather than restrictive, and those skilled in the art should understand that unless otherwise clearly indicated in the context, it should be understood as "one or more".
[0034] The names of the messages or information exchanged between multiple devices in the embodiments of the present disclosure are only used for illustrative purposes and are not used to limit the scope of these messages or information.
[0035] At present, there is a lack of fast and effective means of identity authentication for online classes with true 3D scenes. For example, roll call in class is achieved by answering with buttons or by entering text, permissions to public places can only be identified by the current user account, and entering private spaces is verified by entering a password; however, the above methods cannot verify whether it is the person who is operating it, and there is a situation where the account password is forgotten or stolen by others. In response to the above problems, the embodiments of the present disclosure provide identity authentication methods, devices, equipment and media. For ease of understanding, the embodiments of the present disclosure are described below.
[0036] like Figure 1 As shown, an embodiment of the present disclosure provides an identity authentication method, which is applied in a three-dimensional virtual classroom scene. The method includes the following steps:
[0037] Step S102: obtaining an identity authentication request for a user account.
[0038] The 3D virtual classroom scene projects teachers and students from the real world into the virtual 3D world, and can display campuses, classrooms, libraries, and even characters in the real world in a 3D virtual scene, bringing a new experience to the way of teaching. 3D virtual classroom scenes include, for example: 3D virtual public places (such as classrooms, sports fields, libraries) and 3D virtual private spaces (such as personal backpack spaces and personal desk spaces).
[0039] In some examples, an identity authentication request can also be obtained in response to a user's submission operation, such as a roll call verification operation submitted for class roll call, a borrowing verification operation submitted for borrowing books from the library, etc. Alternatively, in other examples, an identity authentication request for a user account can be obtained when an event requiring identity authentication is monitored. Among them, the event requiring identity authentication can be determined by setting a hot zone. The hot zone is an area in a three-dimensional virtual classroom scene that triggers identity authentication, generally including public places such as classrooms, laboratories, sports fields, and libraries in the three-dimensional virtual classroom scene, as well as private spaces such as personal backpack spaces and personal desk spaces; when a user wants to enter the above hot zone, an event requiring identity authentication is triggered to obtain an identity authentication request for the user account.
[0040] Step S104, collecting the first voice information based on the identity verification request. In a possible embodiment, text content may be generated and displayed to the user based on the identity verification request, so that the user follows the text content, thereby collecting the user's first voice information.
[0041] Step S106: Authenticate the user account based on the first voice information.
[0042] In one embodiment, the first voice information may be subjected to voiceprint verification based on the voiceprint feature information pre-registered in the user account. During the voiceprint verification process, feature extraction is performed on the first voice information to obtain target voiceprint feature information; the target voiceprint feature information is compared with the pre-registered voiceprint feature information to obtain the similarity between the two; if the similarity is higher than a preset similarity threshold, it is determined that the target voiceprint feature information and the pre-registered voiceprint feature information correspond to the same user account, and the first voice information has passed the voiceprint verification. If the voiceprint verification passes, it is determined that the user account identity authentication is successful.
[0043] The identity authentication method provided in this embodiment first obtains an identity authentication request for a user account in a three-dimensional virtual classroom scene; collects first voice information based on the identity authentication request; and then authenticates the user account based on the first voice information. This technical solution collects the first voice information when identity authentication is required, which not only conforms to the interactive mode of the three-dimensional virtual classroom scene and is simple and fast to operate, but also uses the first voice information as the basis for authenticating the user account, which can better and more accurately verify whether it is the operation of the user himself, reducing the risk of forgetting the account password or being stolen by others; therefore, this solution improves the speed and effectiveness of identity authentication for the three-dimensional virtual classroom scene.
[0044] Reference Figure 2 , an embodiment is provided here to describe the above identity authentication method in detail.
[0045] In the process of authenticating the user account based on the first voice information in this embodiment, in order to directly use the voiceprint feature information, the voiceprint feature information needs to be pre-registered. The registration process of the voiceprint feature information can be referred to as follows.
[0046] (1) Collecting the second voice information and extracting the voiceprint feature information in the second voice information.
[0047] This embodiment can collect the user's second voice information when creating a user account; next, voice information within a specified time period can be intercepted from the second voice information, the intercepted voice information can be denoised by an adaptive filter, and then voiceprint features can be extracted from the denoised voice information by a voiceprint feature extraction model such as x-vector, thereby obtaining voiceprint feature information.
[0048] (2) Obtaining user setting information. In this embodiment, user setting information of different classroom scenes can be obtained according to the user's setting operation on the three-dimensional virtual classroom scene. The different classroom scenes are three-dimensional virtual public places and three-dimensional virtual private spaces in the three-dimensional virtual classroom scene, such as classrooms, libraries, and personal backpack spaces.
[0049] Considering that different classroom scenes occupy different areas and have different corresponding functions in the three-dimensional virtual classroom scene, each classroom scene can be customized accordingly. Accordingly, the user setting information includes but is not limited to: the triggering method corresponding to the identity authentication in different classroom scenes, the setting information of whether password unlocking is supported, and the setting information of whether identity authentication is performed only once in the same course.
[0050] The above-mentioned triggering methods include contact triggering methods and distance triggering methods based on hot zones. Among them, the hot zone refers to the area that triggers identity authentication; usually, for classroom scenes with obvious and regular boundaries and a large range, such as a sports field, hot zones can be set according to the boundaries; in an example of an application scenario, when the virtual character corresponding to the user moves into the hot zone of the sports field, an identity authentication request for the user account is triggered according to the distance triggering method. The contact triggering method can be understood as when the operating contact of the virtual character or the user comes into contact with the classroom scene, an identity authentication request for the user account can be triggered according to the contact triggering method.
[0051] Regarding the setting information of whether password unlocking is supported, two identity authentication methods, password verification and voice verification, can be provided to users to avoid the situation where identity authentication cannot be performed when the terminal device cannot collect voice information.
[0052] Setting information about whether identity authentication is performed only once for the same course; generally speaking, there may be multiple scenarios in the same course that require identity authentication, such as class roll call, borrowing books from the library, entering a personal backpack space, etc., and entering a course requires at least one login to the user account. In this case, the setting information about whether identity authentication is performed only once for the same course can be set; if identity authentication is performed only once for the same course, a verification mark can be generated to indicate that identity authentication is performed only once for multiple classroom scenes corresponding to the same course; thereby, repeated identity authentication can be avoided and the number of verifications can be reduced. Conversely, if identity authentication is not performed only once for the same course, identity authentication is required for each classroom scene, which can further improve the authenticity and reliability of identity authentication.
[0053] (3) Bind and encrypt the user setting information and voiceprint feature information to obtain an encrypted file.
[0054] In this embodiment, the user setting information is bound to the voiceprint feature information, and the bound information is encrypted according to a preset key and an AES (Advanced Encryption Standard) cryptographic algorithm to obtain an encrypted file; the encrypted file is written to a specified file on the disk.
[0055] (4) Associate the encrypted file with the user account to complete the registration of the voiceprint feature information.
[0056] Through the above steps, an encrypted file associated with the user account is obtained, and the encrypted file includes the registered voiceprint feature information.
[0057] Combination Figure 2 In the three-dimensional virtual classroom scene, this embodiment can trigger an identity authentication request based on classroom roll call verification, or enter hot areas such as public places and private spaces, such as library borrowing verification, campus entry verification, and access to personal backpack space, to obtain an identity authentication request for a user account; the identity authentication request can carry user setting information such as a one-time verification identifier, wherein the one-time verification identifier is generated when setting the same course to perform only one identity authentication, and is used to indicate that multiple classroom scenes corresponding to the same course only perform one identity authentication.
[0058] Regarding collecting the first voice information according to the identity authentication request, a voiceprint authentication buffer solution may be provided, and the details are as follows.
[0059] First, determine whether the identity authentication request carries a one-time verification identifier. If it carries a one-time verification identifier, determine whether the user account has been authenticated. Carrying a one-time verification identifier means that among the multiple classroom scenes of the current course, only one classroom scene needs to be authenticated. Then, it can be determined whether the user account has been authenticated based on the authentication identifier in the preset cache. Among them, when the user account is authenticated and successfully authenticated, an authentication identifier is generated and cached.
[0060] If the authentication identifier already exists in the cache, it is determined that the user account has been authenticated. In this case, it can be directly determined that the user account authentication is successful.
[0061] In this embodiment, when a course exit event of a user account is detected to be triggered, the identity verification identifier is cleared. The course exit event may include logging out of the user account, network interruption, etc. When a course exit event is detected to be triggered, the identity verification identifier is automatically cleared.
[0062] If the identity authentication identifier does not exist in the cache, it is determined that the user account has not been authenticated. In this case, the first voice information is collected, and the identity authentication is performed by identifying whether the first voice information matches the voiceprint feature information.
[0063] In the embodiment of identity authentication based on the first voice information, the target voiceprint feature is first extracted from the first voice information, and then the encrypted file is decrypted according to the preset key and AES encryption algorithm to obtain the pre-registered voiceprint feature information; the target voiceprint feature information is compared with the pre-registered voiceprint feature information, and the user account is authenticated according to the comparison result. It can be understood that, with reference to the above embodiment, an identity authentication identifier will be generated after the identity authentication is successful.
[0064] In summary, the identity authentication method provided by the above embodiment can perform identity authentication based on whether a one-time verification mark is carried in the identity authentication request after obtaining the identity authentication request for the user account in the three-dimensional virtual classroom scene; if the one-time verification mark is carried, it can be directly determined that the identity authentication is successful, which is convenient and fast, and can effectively avoid the tediousness caused by repeated identity authentication; if the one-time verification mark is not carried, the first voice information is collected and used for identity authentication, thereby ensuring the immediacy and effectiveness of identity authentication; at the same time, the identity authentication method based on voiceprint feature information and the first voice information is simple to operate, and can effectively verify whether it is the operation by the person himself, reducing the risk of forgetting the account password or being misused by others. Therefore, for three-dimensional virtual classroom scenes such as classroom roll call verification, entering public places, and entering private spaces, this embodiment can provide a quick and effective identity authentication method.
[0065] Reference Figure 3 The structural diagram of the identity verification device shown is used in a three-dimensional virtual classroom scene. The identity verification device 300 provided in this embodiment includes the following modules:
[0066] A request acquisition module 302 is used to acquire an identity authentication request for a user account;
[0067] A voice collection module 304, configured to collect first voice information based on the identity authentication request;
[0068] The identity verification module 306 is used to verify the identity of the user account based on the first voice information.
[0069] In some embodiments, the voice collection module 304 is specifically used to:
[0070] Determine whether the identity authentication request carries a one-time authentication identifier; wherein the one-time authentication identifier is used to indicate that identity authentication is performed only once for multiple classroom scenarios corresponding to the same course;
[0071] If a one-time verification token is carried, it is determined whether the user account has been authenticated;
[0072] If identity authentication has not been performed, the first voice information is collected.
[0073] In some embodiments, the voice collection module 304 is specifically used to: if the user account has been authenticated, determine that the user account identity authentication is successful.
[0074] In some embodiments, the voice collection module 304 is specifically used to determine whether the user account has been authenticated based on the identity authentication identifier in the preset cache.
[0075] In some embodiments, the apparatus 300 further includes: when it is detected that a course exit event of a user account is triggered, clearing the identity authentication identifier.
[0076] In some embodiments, the identity verification module 306 is specifically configured to:
[0077] The first voice information is subjected to voiceprint verification according to the voiceprint feature information pre-registered by the user account; if the voiceprint verification passes, it is determined that the user account identity authentication is successful.
[0078] In some embodiments, the voiceprint feature information registration process includes:
[0079] Collecting the second voice information and extracting the voiceprint feature information in the second voice information;
[0080] Get user setting information; user setting information includes: the triggering method corresponding to identity authentication in different classroom scenarios, whether password unlocking is supported, and whether identity authentication is performed only once in the same course;
[0081] Bind and encrypt the user setting information and voiceprint feature information to obtain an encrypted file;
[0082] Associate the encrypted file with the user account to complete the registration of voiceprint feature information.
[0083] The implementation principle and technical effects of the device provided in this embodiment are the same as those of the aforementioned method embodiment. For the sake of brief description, for matters not mentioned in the device embodiment, reference may be made to the corresponding contents in the aforementioned method embodiment.
[0084] The exemplary embodiment of the present disclosure also provides an electronic device, comprising: at least one processor; and a memory connected to the at least one processor in communication. The memory stores a computer program that can be executed by the at least one processor, and the computer program is used to cause the electronic device to perform the method according to the embodiment of the present disclosure when executed by the at least one processor.
[0085] The exemplary embodiments of the present disclosure further provide a computer program product, including a computer program, wherein when the computer program is executed by a processor of a computer, the computer is used to enable the computer to perform the method according to the embodiments of the present disclosure.
[0086] refer to Figure 4 , a block diagram of an electronic device 400 that can be used as a server or client of the present disclosure will now be described, which is an example of a hardware device that can be applied to various aspects of the present disclosure. The electronic device is intended to represent various forms of digital electronic computer devices, such as laptop computers, desktop computers, workbenches, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device can also represent various forms of mobile devices, such as personal digital processing, cellular phones, smart phones, wearable devices, and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely examples and are not intended to limit the implementation of the present disclosure described and / or required herein.
[0087] like Figure 4 As shown, the electronic device 400 includes a computing unit 401, which can perform various appropriate actions and processes according to a computer program stored in a read-only memory (ROM) 402 or a computer program loaded from a storage unit 408 into a random access memory (RAM) 403. In the RAM 403, various programs and data required for the operation of the device 400 can also be stored. The computing unit 401, the ROM 402, and the RAM 403 are connected to each other via a bus 404. An input / output (I / O) interface 405 is also connected to the bus 404.
[0088] A plurality of components in the electronic device 400 are connected to the I / O interface 405, including: an input unit 406, an output unit 407, a storage unit 408, and a communication unit 409. The input unit 406 may be any type of device capable of inputting information to the electronic device 400, and the input unit 406 may receive input digital or character information, and generate key signal inputs related to user settings and / or function control of the electronic device. The output unit 407 may be any type of device capable of presenting information, and may include, but is not limited to, a display, a speaker, a video / audio output terminal, a vibrator, and / or a printer. The storage unit 404 may include, but is not limited to, a disk, an optical disk. The communication unit 409 allows the electronic device 400 to exchange information / data with other devices through a computer network such as the Internet and / or various telecommunication networks, and may include, but is not limited to, a modem, a network card, an infrared communication device, a wireless communication transceiver, and / or a chipset, such as a Bluetooth™ device, a WiFi device, a WiMax device, a cellular communication device, and / or the like.
[0089] The computing unit 401 may be a variety of general and / or special processing components with processing and computing capabilities. Some examples of the computing unit 401 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various dedicated artificial intelligence (AI) computing chips, various computing units running machine learning model algorithms, digital signal processors (DSPs), and any appropriate processors, controllers, microcontrollers, etc. The computing unit 401 performs the various methods and processes described above. For example, in some embodiments, the identity authentication method may be implemented as a computer software program, which is tangibly contained in a machine-readable medium, such as a storage unit 408. In some embodiments, part or all of the computer program may be loaded and / or installed on the electronic device 400 via the ROM 402 and / or the communication unit 409. In some embodiments, the computing unit 401 may be configured to perform the identity authentication method in any other appropriate manner (e.g., by means of firmware).
[0090] The program code for implementing the method of the present disclosure may be written in any combination of one or more programming languages. These program codes may be provided to a processor or controller of a general-purpose computer, a special-purpose computer, or other programmable data processing device, so that the program code, when executed by the processor or controller, enables the functions / operations specified in the flow chart and / or block diagram to be implemented. The program code may be executed entirely on the machine, partially on the machine, partially on the machine and partially on a remote machine as a stand-alone software package, or entirely on a remote machine or server.
[0091] In the context of the present disclosure, a machine-readable medium may be a tangible medium that may contain or store a program for use by or in conjunction with an instruction execution system, device, or equipment. A machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, device, or equipment, or any suitable combination of the foregoing. A more specific example of a machine-readable storage medium may include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
[0092] As used in this disclosure, the terms "machine-readable medium" and "computer-readable medium" refer to any computer program product, apparatus, and / or device (e.g., disk, optical disk, memory, programmable logic device (PLD)) for providing machine instructions and / or data to a programmable processor, including a machine-readable medium that receives machine instructions as a machine-readable signal. The term "machine-readable signal" refers to any signal for providing machine instructions and / or data to a programmable processor.
[0093] To provide interaction with a user, the systems and techniques described herein can be implemented on a computer having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user; and a keyboard and pointing device (e.g., a mouse or trackball) through which the user can provide input to the computer. Other types of devices can also be used to provide interaction with the user; for example, the feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user can be received in any form (including acoustic input, voice input, or tactile input).
[0094] The systems and techniques described herein may be implemented in a computing system that includes back-end components (e.g., as a data server), or a computing system that includes middleware components (e.g., an application server), or a computing system that includes front-end components (e.g., a user computer with a graphical user interface or a web browser through which a user can interact with implementations of the systems and techniques described herein), or a computing system that includes any combination of such back-end components, middleware components, or front-end components. The components of the system may be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: a local area network (LAN), a wide area network (WAN), and the Internet.
[0095] A computer system may include clients and servers. Clients and servers are generally remote from each other and usually interact through a communication network. The relationship of client and server is generated by computer programs running on respective computers and having a client-server relationship to each other.
[0096] The above description is only a specific embodiment of the present disclosure, so that those skilled in the art can understand or implement the present disclosure. Various modifications to these embodiments will be apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present disclosure. Therefore, the present disclosure will not be limited to the embodiments described herein, but will conform to the widest scope consistent with the principles and novel features disclosed herein.
Claims
1. An identity authentication method, in a three-dimensional virtual classroom scene, It is characterized in that include: Get an authentication request for a user account; Collecting first voice information based on the identity authentication request; authenticating the user account based on the first voice information; Wherein, collecting the first voice information based on the identity authentication request includes: Determine whether the identity authentication request carries a one-time authentication identifier; wherein the one-time authentication identifier is used to indicate that identity authentication is only performed once for multiple classroom scenes corresponding to the same course; the multiple classroom scenes include a three-dimensional virtual public place and a three-dimensional virtual private space in the three-dimensional virtual classroom scene; If the one-time verification identifier is carried, determining whether the user account has undergone identity authentication; If identity verification has not been performed, collecting the first voice information; Among them, obtaining an identity authentication request for a user account includes: setting a hot zone to determine an event that requires identity authentication, and when a user enters the hot zone, triggering an event that requires identity authentication; when an event that requires identity authentication is monitored, obtaining an identity authentication request for the user account, the hot zone is an area in a three-dimensional virtual classroom scene that triggers identity authentication, and the hot zone includes: the three-dimensional virtual public place and the three-dimensional virtual private space.
2. The method according to claim 1, It is characterized in that The method further comprises: If the user account has been authenticated, it is determined that the user account identity authentication is successful.
3. The method according to claim 1, It is characterized in that The determining whether the user account has undergone identity authentication includes: Determine whether the user account has been authenticated based on the identity authentication identifier in the preset cache.
4. The method according to claim 3, It is characterized in that The method further comprises: When it is detected that the course exit event of the user account is triggered, the identity authentication identifier is cleared.
5. The method according to claim 1, It is characterized in that The authenticating the user account based on the first voice information includes: Performing voiceprint verification on the first voice information according to the voiceprint feature information pre-registered by the user account; If the voiceprint verification passes, it is determined that the user account identity verification is successful.
6. The method according to claim 5, It is characterized in that The registration process of the voiceprint feature information includes: Collecting second voice information and extracting voiceprint feature information from the second voice information; Obtain user setting information; the user setting information includes: triggering methods corresponding to identity authentication in different classroom scenarios, setting information on whether password unlocking is supported, and setting information on whether identity authentication is performed only once in the same course; Binding and encrypting the user setting information and the voiceprint feature information to obtain an encrypted file; The encrypted file is associated with the user account to complete the registration of the voiceprint feature information.
7. An identity verification device for use in a three-dimensional virtual classroom scene. It is characterized in that include: A request acquisition module obtains an authentication request for a user account; A voice collection module, used for collecting first voice information based on the identity authentication request; An identity authentication module, configured to authenticate the user account based on the first voice information; Wherein, the voice collection module is specifically used for: Determine whether the identity authentication request carries a one-time authentication identifier; wherein the one-time authentication identifier is used to indicate that identity authentication is only performed once for multiple classroom scenes corresponding to the same course; the multiple classroom scenes include a three-dimensional virtual public place and a three-dimensional virtual private space in the three-dimensional virtual classroom scene; If a one-time verification token is carried, it is determined whether the user account has been authenticated; If identity verification has not been performed, collecting the first voice information; Among them, the request acquisition module is also used to: set a hot zone to determine the event that requires identity authentication, when the user enters the hot zone, trigger the event that requires identity authentication; when monitoring the event that requires identity authentication, obtain the identity authentication request for the user account, the hot zone is the area that triggers identity authentication in the three-dimensional virtual classroom scene, and the hot zone includes: the three-dimensional virtual public place and the three-dimensional virtual private space.
8. An electronic device, It is characterized in that The electronic device comprises: Processor; and Memory for storing programs, The program includes instructions, which, when executed by the processor, cause the processor to perform the identity authentication method according to any one of claims 1 to 6.
9. A non-transitory computer-readable storage medium storing computer instructions, It is characterized in that The computer instructions are used to enable the computer to execute the identity authentication method according to any one of claims 1 to 6.
