Speech transcription method, electronic device, and system

By extracting and correcting voiceprint features in electronic devices, and using a standard voiceprint feature library to verify character identification, the problem of inaccurate user role recognition in multi-person voice transcription is solved, the role recognition rate and security are improved, and user experience is improved. experience.

WO2024193578A1PCT designated stage expired Publication Date: 2024-09-26HUAWEI TECH CO LTD
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
PCT/CN2024/082669
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2023-03-22
Filing Date
2024-03-20
Publication Date
2024-09-26

AI Technical Summary

Technical Problem

Existing voice transcription technology has the problem of inaccurate user role recognition in multi-person voice scenarios. For example, the voiceprint characteristics of the same user are recognized as different roles, or more role identifiers are recognized than the actual number of users.

Method used

By extracting voiceprint features from the electronic device and correcting them with the voiceprint features returned by the network device, the standard voiceprint feature library is used to verify the character identification, ensuring the accuracy of character recognition and avoiding problems caused by deletion of the temporary voiceprint feature library. , and there is no need to upload user voiceprint characteristics to the network device in advance.

Benefits of technology

It improves the character recognition rate in the speech transcription process, enhances security and user experience, ensures the accuracy and safety of character recognition, and avoids recognition errors caused by multiple people speaking overlappingly.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN2024082669_26092024_PF_FP
    Figure CN2024082669_26092024_PF_FP
Patent Text Reader

Abstract

A speech transcription method, an electronic device, and a computer storage medium. The method comprises: acquiring first audio data (S101); performing voiceprint extraction on the first audio data, obtaining a plurality of first voiceprint features (S102); sending a first message to a network device (S103); receiving first information sent by the network device, the first information comprising, obtained by performing voiceprint recognition on the first audio data, a plurality of second voiceprint features and a plurality of first role identifiers, and, obtained by performing speech transcription on the first audio data, a plurality of pieces of speech transcription text corresponding to the plurality of first role identifiers (S105); according to the plurality of first voiceprint features and the plurality of second voiceprint features, correcting the plurality of first role identifiers, obtaining a plurality of second role identifiers (S106); and displaying a first interface, the first interface comprising the plurality of second role identifiers and a plurality of pieces of voice transcription text corresponding to the plurality of second role identifiers (S108). The method improves the rate of role recognition during multi-person voice transcription, thereby improving voice transcription accuracy.
Need to check novelty before this filing date? Find Prior Art

Description

Speech transcription method, electronic device, and system

[0001] This application claims priority to the Chinese patent application with application number 202310295325.6 filed with the State Intellectual Property Office of China on March 22, 2023, and priority to the Chinese patent application with the invention name “A speech transcription method, electronic device and system”, all contents of which are incorporated by reference into this application. Technical Field

[0002] The present application relates to the field of computer technology, and in particular to a speech transcription method, electronic device, and system. Background Art

[0003] With the popularization of smart devices and the rapid development of communication technology, speech transcription technology for converting user speech into text has been widely used. For example, in a voice conferencing scenario, the server can analyze and identify the received audio stream (including the speech of multiple users) through automatic speech recognition (ASR) and voiceprint recognition technology, and obtain the text content of the speech transcription and the corresponding user role identification. However, when performing multi-person speech transcription, the user role identification problem may occur. For example, the speech of one user may be recognized as the speech of multiple roles, or the speech obtained when multiple people speak at the same time may be recognized as the speech of a new role.

[0004] Summary of the Invention

[0005] The present application discloses a speech transcription method, electronic device, and system, which can improve the role recognition rate when transcribing multiple people's speech and enhance the accuracy of speech transcription.

[0006] In the first aspect, the present application provides a speech transcription method, which is applied to a first device, and the method includes: obtaining first audio data; performing voiceprint extraction on the first audio data to obtain multiple first voiceprint features; sending a first message to a network device, the first message including the first audio data; receiving first information sent by the network device, the first information including multiple second voiceprint features obtained by performing voiceprint recognition on the first audio data, multiple first role identifiers, and multiple speech transcription texts corresponding to the multiple first role identifiers obtained by speech transcription based on the first audio data, the multiple second voiceprint features corresponding one-to-one to the multiple first role identifiers; correcting the multiple first role identifiers based on the multiple first voiceprint features and the multiple second voiceprint features to obtain multiple second role identifiers; displaying a first interface, the first interface including the multiple second role identifiers and the multiple speech transcription texts corresponding to the multiple second role identifiers.

[0007] In the above method, the electronic device can perform voiceprint extraction on the first audio data to obtain the first voiceprint feature of each speaker (that is, the above-mentioned multiple first voiceprint features), and the electronic device can send the first audio data to the network device to obtain multiple second voiceprint features, multiple first role identifiers and multiple voice transcription texts obtained after the network device performs voiceprint recognition and voice transcription on the first audio data. The multiple first role identifiers returned by the network device are corrected by the more accurate multiple first voiceprint features extracted by the electronic device, thereby solving the problem of inaccurate role recognition in the current voice conferencing scenario (for example, the problem that the voiceprint features of the same user are identified as different role identifiers due to the deletion of the temporary voiceprint feature library, and the problem that more role identifiers are identified than the actual number of users), and effectively improving the role recognition rate in the voice transcription process.

[0008] In one possible implementation, the correcting the multiple first role identifiers according to the multiple first voiceprint features and the multiple second voiceprint features to obtain the multiple second role identifiers includes: correcting the multiple first role identifiers according to a standard voiceprint feature library, the multiple first voiceprint features, and the multiple second voiceprint features to obtain the multiple second role identifiers, the standard voiceprint feature library storing at least one third voiceprint feature and at least one third role identifier, the at least one third role identifier corresponding one-to-one to the at least one third voiceprint feature.

[0009] In some examples, the multiple first role identifiers are corrected according to the standard voiceprint feature library, the multiple first voiceprint features, and the multiple second voiceprint features to obtain the multiple second role identifiers, including: when the standard voiceprint feature library is not empty, the multiple first role identifiers are corrected according to the standard voiceprint feature library, the multiple first voiceprint features, and the multiple second voiceprint features to obtain the multiple second role identifiers.

[0010] In the above method, the voiceprint features and corresponding role identifications stored in the standard voiceprint feature library can be verified / authenticated by the electronic device. For example, after confirmation by the user, it can be understood that the voiceprint features and corresponding role identifications stored in the standard voiceprint feature library are more accurate. The electronic device can correct the multiple first role identifications returned by the network device based on the standard voiceprint feature library and the multiple first voiceprint features, further improving the role recognition rate in the speech transcription process.

[0011] In a possible implementation, the correcting the multiple first role identifiers according to the multiple first voiceprint features and the multiple second voiceprint features to obtain multiple second role identifiers includes: calculating the similarity between the second voiceprint feature and each first voiceprint feature in the multiple first voiceprint features to obtain at least one first similarity value, determining a second similarity value, the second similarity value being the maximum value among the multiple first similarity values, and the second similarity value being the similarity between the second voiceprint feature and a fourth voiceprint feature in the multiple first voiceprint features; when the second similarity value is greater than or equal to a first preset threshold, determining the first role identifier as the second role identifier; when the second similarity value is less than the first preset threshold, determining the second role identifier according to the fourth voiceprint feature, or deleting the second voiceprint feature and the corresponding first role identifier.

[0012] In the above method, the electronic device can obtain any one of the multiple second voiceprint features and the corresponding first role identification, and then correct the first role identification corresponding to the second voiceprint feature based on the fourth voiceprint feature that has the highest similarity with the second voiceprint feature among the multiple first voiceprint features. The role identification result returned by the network device is corrected based on the more accurate first voiceprint feature, thereby improving the role recognition rate in the speech transcription process.

[0013] In one possible implementation, determining the second role identifier based on the fourth voiceprint feature includes: calculating the similarity between the fourth voiceprint feature and each second voiceprint feature in the multiple second voiceprint features to obtain at least one third similarity value, determining a fourth similarity value, the fourth similarity value being the maximum value of the at least one third similarity value, and the fourth similarity value being the similarity between the fourth voiceprint feature and the fifth voiceprint feature in the multiple second voiceprint features; and determining the role identifier corresponding to the fifth voiceprint feature as the second role identifier.

[0014] In the above method, when the similarity between the fourth voiceprint feature and the second voiceprint feature is less than the first preset threshold, it can be understood that when a voiceprint feature matching the second voiceprint feature is not found among the multiple first voiceprint features, the electronic device can determine the role identifier corresponding to another second voiceprint feature matching the fourth voiceprint feature (that is, the above-mentioned fifth voiceprint feature) as the second role identifier corresponding to the current second voiceprint feature. This method avoids the impact of multiple people speaking at the same time, ensures that the corrected second role identifier is the same as the number of actual speakers, and improves the role recognition rate in the speech transcription process.

[0015] In a possible implementation, the correcting the multiple first role identifiers according to the standard voiceprint feature library, the multiple first voiceprint features, and the multiple second voiceprint features to obtain the multiple second role identifiers includes: calculating the similarity between the second voiceprint feature and each third voiceprint feature in the standard voiceprint feature library to obtain at least one fifth similarity value, determining a sixth similarity value, the sixth similarity value being the maximum value among the at least one fifth similarity value, and the sixth similarity value being the similarity between the second voiceprint feature and the sixth voiceprint feature in the standard voiceprint feature library; when the sixth similarity value is greater than or equal to a second preset threshold, determining the role identifier corresponding to the sixth voiceprint feature as the second role identifier; when the When the sixth similarity value is less than the second preset threshold, the similarity between the second voiceprint feature and each first voiceprint feature of the multiple first voiceprint features is calculated to obtain at least one first similarity value, and a second similarity value is determined. The second similarity value is the maximum value of the multiple first similarity values, and the second similarity value is the similarity between the second voiceprint feature and the fourth voiceprint feature of the multiple first voiceprint features; when the second similarity value is greater than or equal to the first preset threshold, the first role identifier is determined as the second role identifier; when the second similarity value is less than the first preset threshold, the second role identifier is determined according to the fourth voiceprint feature, or the second voiceprint feature and the corresponding first role identifier are deleted.

[0016] In the above method, the voiceprint features and corresponding role identifications stored in the standard voiceprint feature library can be verified / authenticated by the electronic device. For example, after confirmation by the user, when the electronic device corrects the second role identification based on the standard voiceprint feature library and multiple first voiceprint features, the priority of the standard voiceprint feature library is higher than the priority of multiple first voiceprint features, further improving the role recognition rate in the speech transcription process.

[0017] In a possible implementation, the method further includes: receiving a first operation; and in response to the first operation, modifying the second role identifier to a fourth role identifier.

[0018] In the above method, the electronic device can modify the second role identifier in the AI ​​minutes (i.e., the content included in the above first interface) in response to user operations, so that the user can compare the AI ​​minutes displayed by the electronic device according to the actual situation of the meeting in the voice conference scenario, avoid errors in the second role identifier corrected by the electronic device and affect the final AI minutes, and ensure the accuracy of the AI ​​minutes.

[0019] In one possible implementation, the standard voiceprint feature library is used to store verified role identifications and corresponding voiceprint features, and the second role identification corresponds to the second voiceprint feature. The method also includes: obtaining a seventh voiceprint feature in the standard voiceprint feature library that matches the second voiceprint feature; and modifying the fifth role identification corresponding to the seventh voiceprint feature in the standard voiceprint feature library to the fourth role identification.

[0020] In the above method, after the user manually modifies the second role identification, the electronic device will update the role identification of the seventh voiceprint feature that matches the second voiceprint feature in the standard voiceprint feature library. The standard voiceprint feature library with updated role identification can be used by subsequent electronic devices to more accurately correct the role recognition results returned by the network device, further improving the role recognition rate.

[0021] In a possible implementation, a standard voiceprint feature library is used to store verified role identifications and corresponding voiceprint features, and the method further includes: storing the multiple second role identifications and the corresponding second voiceprint features in the standard voiceprint feature library.

[0022] In the above method, the electronic device can store the authenticated role identification and the corresponding voiceprint features (i.e., the above-mentioned multiple second role identifications and the corresponding second voiceprint features) in the standard voiceprint feature library, which is safer and more trustworthy than storing on the network device side, and also improves the security of voice transcription. Moreover, this method does not require users to upload the voice information of participants to the network device in advance, which is more convenient for users to use and improves the user experience.

[0023] In one possible implementation, the first information is determined by the network device according to a first model, and the method further includes: receiving a second operation on the first interface; in response to the second operation, modifying the first speech transcription text in the first interface to a second speech transcription text; determining a first audio segment corresponding to the first speech transcription text from the first audio data; and sending a second message to the network device, the second message including the second speech transcription text and the first audio segment, and the second speech transcription text and the first audio segment are used by the network device to train the first model.

[0024] In the above method, the electronic device can modify the speech transcription text in the AI ​​minutes (i.e., the content included in the above first interface) in response to user operations, and transmit the modified speech transcription text and the corresponding audio segment back to the network device, so that the network device can train the ASR transcription model (i.e., the above first model) based on these data, so that the entire speech transcription link forms a closed loop, and the model is optimized through the real data obtained by manual correction by the user during the actual speech transcription process, thereby improving the transcription accuracy of the ASR transcription model.

[0025] In a possible implementation, obtaining the first audio data includes: receiving a third operation; and in response to the third operation, collecting the first audio data in a preset scenario, or receiving a first file and obtaining the first audio data from the first file.

[0026] In the above method, the first audio data can be an audio stream collected in real time or an audio file obtained in advance. Voice transcription can be applicable to both real-time transcription and non-real-time transcription processes. In other words, the application scenarios of the voice transcription function are more extensive.

[0027] In one possible implementation, the first information is determined by the network device based on the first model, and the method also includes: receiving a fourth operation for the first interface; in response to the fourth operation, modifying the sixth role identifier in the first interface to the seventh role identifier; determining a third voice transcription text corresponding to the sixth role identifier and a second audio segment corresponding to the sixth role identifier; sending a third message to the network device, the third message including the third voice transcription text and the second audio segment, and the third voice transcription text and the second audio segment are used by the network device to train the first model.

[0028] In the above method, the electronic device can modify the role identification in the AI ​​minutes (i.e., the content included in the above first interface) in response to user operations, and send the modified role identification, the corresponding voice transcription text, and the corresponding audio segment to the network device. These data can also be used to train the ASR transcription model (i.e., the above first model) to iteratively update the ASR transcription model, thereby further improving the role recognition rate during voice transcription.

[0029] In the second aspect, the present application provides a speech transcription method, which is applied to a first device, and the method includes: obtaining first audio data; sending a first message to a network device, the first message including the first audio data; receiving first information sent by the network device, the first information including multiple second voiceprint features obtained by voiceprint recognition of the first audio data, multiple first role identifiers, and multiple speech transcription texts corresponding to the multiple first role identifiers obtained by speech transcription based on the first audio data, the multiple second voiceprint features corresponding one-to-one to the multiple first role identifiers; correcting the multiple first role identifiers according to a standard voiceprint feature library and the multiple second voiceprint features to obtain multiple second role identifiers, the standard voiceprint feature library being used to store verified role identifiers and corresponding voiceprint features; displaying a first interface, the first interface including the multiple second role identifiers and the multiple speech transcription texts, the multiple second role identifiers corresponding one-to-one to the multiple speech transcription texts.

[0030] In the above method, the electronic device can send first audio data to the network device to obtain multiple second voiceprint features, multiple first role identifiers and multiple voice transcription texts obtained after the network device performs voiceprint recognition and voice transcription on the first audio data. The standard voiceprint feature library of the electronic device stores (reliable) role identifiers and corresponding voiceprint features that have been verified / authenticated by the electronic device. The multiple first role identifiers returned by the network device are corrected by the voiceprint features and corresponding role identifiers in the standard voiceprint feature library, which solves the problem of inaccurate role recognition in current voice conferencing scenarios (for example, the problem that the voiceprint features of the same user are identified as different role identifiers due to the deletion of the temporary voiceprint feature library, and the problem that more role identifiers are identified than the actual number of users), and effectively improves the role recognition rate in the voice transcription process.

[0031] In one possible implementation, the correcting the multiple first role identifiers according to the standard voiceprint feature library and the multiple second voiceprint features to obtain the multiple second role identifiers includes: correcting the multiple first role identifiers according to the standard voiceprint feature library, the multiple first voiceprint features and the multiple second voiceprint features to obtain the multiple second role identifiers, wherein the multiple first voiceprint features are obtained by the first device performing voiceprint extraction on the first audio data.

[0032] In the above method, when the sample size in the standard voiceprint feature library is insufficient, or a voiceprint feature that matches the second voiceprint feature is not found in the standard voiceprint feature library, the electronic device can correct the multiple first role identifications returned by the network device based on the standard voiceprint feature library and the multiple first voiceprint features, thereby further improving the role recognition rate in the speech transcription process.

[0033] In a third aspect, the present application provides a speech transcription method, which is applied to a network device, and the method includes: receiving a first message sent by a first device, the first message including first audio data; performing voiceprint recognition on the first audio data to obtain multiple first voiceprint features and multiple first role identifiers, and performing speech transcription on the first audio data to obtain multiple speech transcription texts corresponding to the multiple first role identifiers, and the multiple first voiceprint features correspond one-to-one to the multiple first role identifiers; sending first information to the first device, the first information including the multiple first voiceprint features, the multiple first role identifiers and the multiple speech transcription texts, wherein the first information is used by the first device to correct the multiple first role identifiers according to the multiple first voiceprint features and multiple second voiceprint features to obtain multiple second role identifiers, and the multiple second role identifiers are used by the first device to display a first interface, the first interface including the multiple second role identifiers and the multiple speech transcription texts corresponding to the multiple second role identifiers, and the multiple second voiceprint features are obtained by the first device performing voiceprint extraction on the first audio data.

[0034] In one possible implementation, performing voiceprint recognition on the first audio data to obtain a plurality of first voiceprint features and a plurality of first role identifiers, and performing speech transcription on the first audio data to obtain a plurality of speech transcription texts corresponding to the plurality of first role identifiers includes:

[0035] The first audio data is subjected to voiceprint recognition using a first model to obtain a plurality of first voiceprint features and a plurality of first role identifiers, and the first audio data is subjected to speech transcription to obtain a plurality of speech transcription texts corresponding to the plurality of first role identifiers.

[0036] In one possible implementation, the method further includes: receiving a second message sent by the first device, the second message including a first speech transcription text and a first audio segment, the first speech transcription text being obtained by the first device receiving a first operation on the first interface and modifying a second speech transcription text in the first interface in response to the first operation, and the first audio segment being determined by the first device from the first audio data based on the first speech transcription text;

[0037] The first model is trained based on the first speech transcription text and the first audio segment.

[0038] In one possible implementation, the method further includes: receiving a third message sent by the first device, the third message including a third voice transcribed text and a second audio segment, the third voice transcribed text and the second audio segment being determined by the first device according to a third role identifier, the third role identifier being a role identifier in the first interface modified by the first device in response to receiving a second operation on the first interface;

[0039] The first model is trained based on the third speech transcription text and the second audio segment.

[0040] In a fourth aspect, the present application provides an electronic device comprising a transceiver, a processor and a memory, wherein the memory is used to store a computer program, and the processor calls the computer program to execute the speech transcription method in any possible implementation of the first aspect or the second aspect.

[0041] In a fifth aspect, the present application provides an electronic device comprising one or more processors and one or more memories. The one or more memories are coupled to the one or more processors, and the one or more memories are used to store computer program code, wherein the computer program code includes computer instructions. When the one or more processors execute the computer instructions, the electronic device performs the speech transcription method of any possible implementation of the first or second aspect.

[0042] In a sixth aspect, the present application provides a network device comprising a transceiver, a processor and a memory, wherein the memory is used to store a computer program, and the processor calls the computer program to execute the speech transcription method in any possible implementation of the third aspect.

[0043] In a seventh aspect, the present application provides a computer storage medium storing a computer program. When the computer program is executed by a processor, the speech transcription method of any possible implementation of any of the above aspects is implemented.

[0044] In an eighth aspect, the present application provides a computer program product, which, when running on an electronic device, enables the electronic device to execute the speech transcription method in any possible implementation of the first or second aspect above.

[0045] In a ninth aspect, the present application provides an electronic device, the electronic device including the method or apparatus for executing any one of the implementations of the first or second aspects of the present application. The electronic device is, for example, a chip.

[0046] It should be understood that the description of technical features, technical solutions, beneficial effects or similar language in this application does not imply that all features and advantages can be achieved in any single embodiment. On the contrary, it is understood that the description of a feature or beneficial effect means that a specific technical feature, technical solution or beneficial effect is included in at least one embodiment. Therefore, the description of a technical feature, technical solution or beneficial effect in this specification does not necessarily refer to the same embodiment. Furthermore, the technical features, technical solutions and beneficial effects described in this embodiment can also be combined in any appropriate manner. Those skilled in the art will understand that an embodiment can be implemented without one or more specific technical features, technical solutions or beneficial effects of a specific embodiment. In other embodiments, additional technical features and beneficial effects can also be identified in a specific embodiment that does not embody all embodiments. BRIEF DESCRIPTION OF THE DRAWINGS

[0047] The following is an introduction to the drawings used in this application.

[0048] FIG1A is a schematic diagram of the architecture of a speech transcription system 10 provided by the present application;

[0049] FIG1B is an interactive diagram of a speech transcription system 10 provided by the present application;

[0050] FIG2 is a schematic diagram of the hardware structure of an electronic device 100 provided in this application;

[0051] FIG3 is a schematic diagram of a software architecture of an electronic device 100 provided in this application;

[0052] FIG4 is a schematic diagram of the hardware structure of a network device 200 provided in this application;

[0053] Figures 5 to 7 are schematic diagrams of some user interfaces provided by this application;

[0054] FIG8 is a flow chart of a speech transcription method provided by the present application;

[0055] FIG9 is a flow chart of another speech transcription method provided by the present application;

[0056] FIG10 is a flow chart of another speech transcription method provided in the present application. DETAILED DESCRIPTION

[0057] The technical solutions in the embodiments of the present application will be described below in conjunction with the accompanying drawings. In the description of the embodiments of the present application, unless otherwise specified, " / " represents or, for example, A / B can represent A or B; "and / or" in the text is merely a description of the association relationship between associated objects, indicating that three relationships can exist. For example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone. In addition, in the description of the embodiments of the present application, "multiple" refers to two or more than two.

[0058] In the following, the terms "first" and "second" are used for descriptive purposes only and should not be understood to imply or suggest relative importance or implicitly indicate the number of the technical features indicated. Therefore, the features defined as "first" and "second" may explicitly or implicitly include one or more of the features. In the description of the embodiments of this application, unless otherwise specified, "plurality" means two or more.

[0059] An electronic device can provide a speech transcription function. For example, in a multi-person speech scenario (such as a voice conference scenario), the electronic device can continuously collect audio data (also called an audio stream) in the current scenario. The audio data includes speech data spoken by multiple speakers. The electronic device can send the acquired audio stream to a server. The server can use an automatic speech recognition (ASR) transcription model to perform voiceprint recognition (i.e., identify the speaker's role) and speech transcription (i.e., transcribe / convert the speech into text) on the audio stream, and obtain multiple speech transcribed texts (hereinafter referred to as speech transcription texts) and corresponding speaker role identifiers, which can be called artificial intelligence (AI) minutes. The server will consider different voiceprint features to correspond to different speakers, i.e., to different role identifiers. The server can return the obtained AI minutes to the electronic device so that the electronic device can provide it to the user. It can be understood that the electronic device acts as a "meeting recorder" to record the entire meeting communication process and provide the user with AI minutes. Among them, the ASR transcription model can extract multiple voiceprint features after performing voiceprint recognition on the audio stream and store these multiple voiceprint features in a temporary voiceprint feature library.

[0060] For the sake of convenience, the following description will take the multi-person voice scenario as an example of a voice conference scenario.

[0061] The current speech transcription function cannot separate the audio stream when transcribing multiple people due to technical limitations. The ASR model in the server directly performs voiceprint recognition and speech transcription. This can lead to inaccurate character recognition, such as in at least the following two situations:

[0062] Case 1: When at least two people are speaking simultaneously in a meeting, the ASR transcription model will identify the overlapping speech as a new voiceprint feature (i.e., corresponding to a new role identifier). In some examples, assume that there are user 1 and user 2 in a voice conference scenario. While user 1 is speaking, user 2 also speaks. User 1's voice information may include two segments (for example, represented as segments A and B), and user 2's voice information may include two segments (for example, represented as segments C and D). When user 1 is speaking segment B, user 2 is also speaking segment C at the same time. It can be understood that segments B and C are overlapping speech segments. The ASR transcription model can identify: segment A as one voiceprint feature, segment D as another voiceprint feature, and segments B and C as yet another voiceprint feature. Ultimately, it is determined that they correspond to three role identifiers, respectively. In this way, the number of identified role identifiers exceeds the actual number of users.

[0063] Scenario 2: When a meeting is interrupted / paused, the server deletes the voiceprint features and previously identified role identifiers stored in the temporary voiceprint feature library. When the meeting resumes, the ASR transcription model may recognize the voiceprint features of a user with a previously identified role identifier as new voiceprint features. For example, before the meeting is interrupted, User 1 is identified as Role A, and after the meeting resumes, User 1 is identified as Role B. This means that for the same user, the role identifiers identified before and after the interruption / pause are different. Each returned role is not the user's true role, making post-meeting editing difficult.

[0064] Currently, it is difficult to obtain sufficient real data from actual multi-person voice scenarios. Most training data is general data collected by developers. As a result, the iteration effect of the ASR transcription model is poor or even impossible, and the transcription accuracy cannot be improved.

[0065] In order to deal with the second situation, based on the above-mentioned voice transcription function, the user's voiceprint features and user names can be uploaded to the server for storage in advance. Specifically, before the meeting starts, each user participating in the meeting needs to record their voice through an electronic device. The electronic device will extract the voiceprint of the recorded voice, and then upload the extracted voiceprint features and the corresponding user name to the server with the user's authorization. The server will store the voiceprint features uploaded by the electronic device in the user's authorized voiceprint feature library. After the meeting starts, the server can match the voiceprint features recognized in real time by the ASR transcription model with the voiceprint features in the user's authorized voiceprint feature library to determine the role identification. This method can to a certain extent solve the problem that the voiceprint features of the same user are identified as different role identifications due to the deletion of the temporary voiceprint feature library, but there are still some problems. For example, voiceprint features are personal privacy data, and there are certain security risks in storing them in the cloud. They cannot be stored in the cloud for a long time without the user's permission. Every meeting needs to record the voices of the participants and mark them and send them to the cloud for storage in advance, which is time-consuming and has a poor user experience. In addition, the user's authorization is required to send the extracted voiceprint features and the corresponding user name to the server. If the user does not authorize, the technical problem of the second situation still exists. For example, voiceprints are privacy-sensitive data that have clear corresponding user identifiers, even names. Storing them in the cloud poses certain security risks and could be obtained and used illegally by criminals, potentially leaking other user information. For another example, if a participant who hasn't uploaded their voiceprint is added to a meeting, this still doesn't solve the second problem.

[0066] The present application provides a speech transcription method, which is applied to a speech transcription system. The speech transcription system may include an electronic device and a network device. In a voice conference scenario, the electronic device may send audio data to the network device to obtain the text (which may be referred to as speech transcription text) and the corresponding role identification (which may also be referred to as the role recognition result) obtained after speech transcription of the audio data, and the electronic device will separate the audio data and extract the voiceprint according to the speaker to obtain the voiceprint features of each speaker, and then correct the role recognition results returned by the network device without audio separation through the obtained voiceprint features and / or locally stored voiceprint features and corresponding role identifications. The corrected AI minutes (including speech transcription text and corrected role identification) can be provided to the user for viewing. Among them, the above-mentioned locally stored voiceprint features and corresponding role identifications can be verified by the electronic device, for example, after confirmation by the user. The electronic device will automatically separate the human voice and extract the voiceprint features from the audio data, and correct the role recognition results returned by the network device based on the more accurate voiceprint features, which can avoid the impact of multiple people speaking at the same time, solve the problem of the above situation one, and do not need to rely on the temporary voiceprint feature library of the network device, which solves the problem of the above situation two, and does not need to upload the user's voiceprint features and user names to the server for storage in advance. The voiceprint features and the corresponding role identification are stored on the electronic device side, which solves the problem of the voice transcription function proposed above to deal with situation two.

[0067] In one embodiment, the above-mentioned audio data can be an audio stream collected in real time. At this time, the speech transcription process can be called a real-time transcription process. The electronic device, as the acquisition end of the audio stream, can well separate the audio streams of different speakers and obtain corresponding voiceprint features. For example, the acquisition end itself has a microphone and a corresponding driver. The audio stream is voiceprint separated based on the driver and the corresponding algorithm, and more accurate voiceprint features can be obtained. Based on this voiceprint feature, the role recognition result returned by the network device without audio separation can be corrected, which can effectively improve the accuracy of role recognition.

[0068] In another embodiment, the audio data is an audio file acquired in advance, such as an audio file uploaded by a user. In this case, the speech transcription process can be called a non-real-time transcription process.

[0069] In one embodiment, the electronic device can send the corrected character identification and corresponding voiceprint features to the network device, so that the network device can train the ASR model based on this data. In another embodiment, the electronic device can modify the AI ​​minutes in response to user operations, such as modifying the speech transcription text. The electronic device can send the modified speech transcription text and the corresponding audio segment to the network device, so that the network device can train the ASR transcription model based on this data. This allows the ASR model to be iteratively updated, and the model is optimized through real data from the actual speech transcription process, thereby improving the model's transcription accuracy.

[0070] The following introduces a speech transcription system 10 involved in an embodiment of the present application.

[0071] FIG1A exemplarily shows a schematic diagram of the architecture of a speech transcription system 10 .

[0072] As shown in FIG1A , the speech transcription system 10 may include an electronic device 100 and a network device 200. The electronic device 100 may communicate with the network device 200 via wired (e.g., universal serial bus (USB), twisted pair, coaxial cable, and optical fiber) and / or wireless (e.g., wireless local area network (WLAN), Bluetooth, and cellular communication network). Specifically:

[0073] The electronic device 100 can be a mobile phone, a tablet computer, a handheld computer, a desktop computer, a laptop computer, an ultra-mobile personal computer (UMPC), a netbook, a cellular phone, a personal digital assistant (PDA), as well as smart home devices such as smart TVs and projectors, wearable devices such as smart bracelets, smart watches, and smart glasses, extended reality (XR) devices such as augmented reality (AR), virtual reality (VR), and mixed reality (MR), or in-vehicle devices. The embodiments of the present application do not impose any special restrictions on the specific type of electronic device.

[0074] Network device 200 may include at least one server. In one embodiment, any server may be a hardware server. In another embodiment, any server may be a cloud server. In one embodiment, network device 200 may be a Linux server, a Windows server, or other server device capable of providing simultaneous access to multiple devices. In another embodiment, network device 200 may be a server cluster consisting of multiple servers in multiple locations, multiple computer rooms, and multiple servers.

[0075] FIG1B exemplarily shows an interaction diagram of a speech transcription system 10 .

[0076] As shown in FIG1B , the electronic device 100 in the speech transcription system 10 may include an input module 101, a processing module 102, a storage module 103, an output module 104, and a communication module 105. The network device 200 in the speech transcription system 10 may include a communication module 201, a processing module 202, and a storage module 203, wherein:

[0077] The input module 101 of the electronic device 100 may include a sound pickup module and an interactive portal. The sound pickup module is used to capture audio streams in real-time during voice conferencing and / or receive non-real-time uploaded audio or video files. The interactive portal is used to receive user input commands, such as a request to obtain AI minutes. The processing module 102 may include an audio processing module 1021, an encoding module 1022, a data analysis module 1023, a role modification module 1024, and a voice-sentence bidirectional localization module 1025. The audio processing module 1021 is used by the electronic device 100 to perform audio enhancement, audio separation (by speaker), and voiceprint extraction on the audio stream. The encoding module 1022 is used to encode the audio stream, for example, but not limited to, into an OPUS format file. The data analysis module 1023 is used to correct the role recognition results sent by the network device 200 based on the voiceprint features extracted by the audio processing module 1021. The role modification module 1024 is used to modify the role identifier in the AI ​​minutes. The audio and text bidirectional positioning module 1025 is used to determine the modified text and the corresponding audio segment in the AI ​​minutes through the bidirectional positioning function of the audio segment and the text (for example, locating the text with the audio segment and locating the audio segment with the text). The storage module 103 may include a first voiceprint feature library and a standard voiceprint feature library. The first voiceprint feature library is used to store the voiceprint features extracted by the audio processing module 1021, and the standard voiceprint feature library is used to store the verified voiceprint features and the corresponding role identification (for example, after correction by the data analysis module 1023). The output module 104 is used to output information to the user, for example, displaying the AI ​​minutes to the user through a display screen. The communication module 105 is used for communication between the electronic device 100 and the network device 200 (implemented by the communication module 201).

[0078] The processing module 202 of the network device 200 may include an ASR transcription model, which is used to perform voiceprint recognition and speech transcription on the audio stream / audio file / video file sent by the electronic device 100 to obtain the transcribed text and the corresponding role identification. The storage module 203 may include a temporary voiceprint feature library, which is used to store the voiceprint features obtained by the ASR model and the corresponding role identification. When the voice conference is paused / exited, the voiceprint features in the temporary voiceprint feature library will be deleted.

[0079] The following describes the working process of each module in the speech transcription system 10 in conjunction with a voice conference scenario.

[0080] After receiving the audio stream, the sound pickup module in the input module 101 can send the audio stream to the audio processing module 1021 and the encoding module 1022 in the processing module 102, wherein the audio enhancement module in the audio processing module 1021 can enhance the audio stream, for example, by enhancing the audio stream through far-field sound pickup, near-field sound pickup, echo cancellation and other technologies; the audio separation module can perform audio separation on the enhanced audio stream according to the speaker to obtain multiple separated audio segments, for example, to detect changes in the speaker's voiceprint and to separate the overlapping speaking parts of multiple people in the audio stream; the voiceprint extraction module can perform voiceprint extraction on the multiple separated audio segments to obtain multiple voiceprint features; the voiceprint anonymization module can anonymize the multiple extracted voiceprint features and send them to the first voiceprint feature library in the storage module 103 for storage. After encoding the audio stream, encoding module 1022 may send the encoded audio stream to communication module 201 of network device 200 via communication module 105. Optionally, the format of the encoded audio stream is consistent with an audio stream format that can be processed by network device 200, such as, but not limited to, the OPUS format. Communication module 201 may send the encoded audio stream to the ASR transcription model in processing module 202. The ASR transcription model decodes, performs voiceprint recognition, and performs speech transcription on the encoded audio stream to obtain first information. In some examples, the first information may include, but is not limited to, multiple voiceprint features (to distinguish the voiceprint features from the voiceprint features obtained by electronic device 100, the voiceprint features may be referred to as cloud-based voiceprint features), role identifiers corresponding to the multiple cloud-based voiceprint features, multiple speech transcription texts corresponding to the multiple cloud-based voiceprint features, and timestamps corresponding to the multiple cloud-based voiceprint features, where any timestamp is the timestamp of the audio segment to which the corresponding cloud-based voiceprint feature belongs, such as a start timestamp and an end timestamp.

[0081] After the ASR transcription model in the processing module 202 obtains the first information, it can send the first information to the communication module 105 of the electronic device 100 through the communication module 201, and the communication module 105 can send the first information to the data analysis module 1023 in the processing module 102. The data analysis module 1023 can use the voiceprint features in the first voiceprint feature library or the standard voiceprint feature library to match the above-mentioned multiple cloud voiceprint features (for example, by calculating similarity), and update / correct the role identifications corresponding to the multiple cloud voiceprint features based on the matching results, and generate an AI minutes based on the corrected role identifications, and send the AI ​​minutes to the output module 104. The output module 104 can output the AI ​​minutes, for example, by displaying the AI ​​minutes.

[0082] In one embodiment, after the interactive entrance in the input module 101 receives an instruction for modifying the role identification in the AI ​​minutes, it can send the instruction to the role modification module 1024 in the processing module 102. The role modification module 1024 can modify the corresponding role identification in the AI ​​minutes according to the instruction. Optionally, the role modification module 1024 can store the modified role identification in the standard voiceprint feature library. For example, assuming that the user changes role 1 to role 2, the role 1 stored in the standard voiceprint feature library can be updated to role 2. Optionally, the role modification module 1024 can also send the modified AI minutes to the output module 104, and the output module 104 can output the modified AI minutes.

[0083] In one embodiment, after the interactive entrance in the input module 101 receives an instruction for modifying the speech transcription text in the AI ​​minutes, the instruction can be sent to the audio and sentence bidirectional positioning module 1025 in the processing module 102. The audio and sentence bidirectional positioning module 1025 can modify the corresponding text in the AI ​​minutes according to the instruction, and determine the audio segment corresponding to the modified text through bidirectional positioning of the audio segment and the text. The modified text and the corresponding audio segment can be sent to the communication module 201 of the network device 200 through the communication module 105. The communication module 201 can send the modified text and the corresponding audio segment to the ASR transcription model in the processing module 202 to iteratively update / train the ASR transcription model. Optionally, the audio and sentence bidirectional positioning module 1025 can also send the modified AI minutes to the output module 104, and the output module 104 can output the modified AI minutes.

[0084] It can be understood that the speech transcription system 10 shown in Figure 1B may include more or fewer modules. Any module in the speech transcription system 10 may be a hardware module or a software module. Any of the above modules may be a separate module, and at least one of the above modules may be integrated together. This application does not limit this.

[0085] Next, an exemplary electronic device 100 provided in an embodiment of the present application is introduced.

[0086] FIG2 exemplarily shows a schematic diagram of the hardware structure of an electronic device 100 .

[0087] As shown in Figure 2, the electronic device 100 may include a processor 110, an external memory interface 120, an internal memory 121, a universal serial bus (USB) interface 130, a charging management module 140, a power management module 141, a battery 142, an antenna 1, an antenna 2, a mobile communication module 150, a wireless communication module 160, an audio module 170, a speaker 170A, a receiver 170B, a microphone 170C, an earphone interface 170D, a sensor module 180, a button 190, a motor 191, an indicator 192, a camera 193, a display screen 194, and a subscriber identification module (SIM) card interface 195, etc. The sensor module 180 may include a pressure sensor 180A, a gyroscope sensor 180B, an air pressure sensor 180C, a magnetic sensor 180D, an acceleration sensor 180E, a distance sensor 180F, a proximity light sensor 180G, a fingerprint sensor 180H, a temperature sensor 180J, a touch sensor 180K, an ambient light sensor 180L, a bone conduction sensor 180M, etc.

[0088] It should be understood that the structure illustrated in the embodiments of the present invention does not constitute a specific limitation on the electronic device 100. In other embodiments of the present application, the electronic device 100 may include more or fewer components than shown, or may combine or separate certain components, or arrange the components differently. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.

[0089] The processor 110 may include one or more processing units. For example, the processor 110 may include an application processor (AP), a modem processor, a graphics processing unit (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). The different processing units may be independent devices or integrated into one or more processors.

[0090] 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.

[0091] Processor 110 may also include a memory for storing instructions and data. In one embodiment, the memory in processor 110 is a cache memory. This memory can store instructions or data that have just been used or are being recycled by processor 110. If processor 110 needs to use the same instruction or data again, it can directly retrieve it from the memory. This avoids duplicate accesses, reduces processor 110 latency, and thus improves system efficiency.

[0092] In one embodiment, the processor 110 may include one or more interfaces. The interfaces 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.

[0093] The charging management module 140 is configured to receive charging input from a charger.

[0094] The power management module 141 is used to connect the battery 142, the charging management module 140, and the processor 110. The power management module 141 receives input from the battery 142 and / or the charging management module 140 to provide power to the processor 110, the internal memory 121, the display 194, the camera 193, and the wireless communication module 160.

[0095] The wireless communication function of the electronic device 100 can be implemented through the antenna 1, the antenna 2, the mobile communication module 150, the wireless communication module 160, the modem processor and the baseband processor.

[0096] Antenna 1 and Antenna 2 are used to transmit and receive electromagnetic wave signals. Each antenna in electronic device 100 can be used to cover a single or multiple communication frequency bands. Different antennas can also be reused to improve antenna utilization. For example, antenna 1 can be reused as a diversity antenna for a wireless local area network.

[0097] The mobile communication module 150 can provide solutions for wireless communications including 2G / 3G / 4G / 5G / 6G applied to the electronic device 100. The mobile communication module 150 may include at least one filter, a switch, a power amplifier, a low noise amplifier (LNA), etc. The mobile communication module 150 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 150 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 one embodiment, at least some of the functional modules of the mobile communication module 150 can be set in the processor 110. In one embodiment, at least some of the functional modules of the mobile communication module 150 can be set in the same device as at least some of the modules of the processor 110.

[0098] The modem processor may include a modulator and a demodulator. The modulator is used to modulate the low-frequency baseband signal to be transmitted 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 being processed by the baseband processor, the low-frequency baseband signal is passed to the application processor. The application processor outputs a sound signal through an audio device (not limited to the speaker 170A, the receiver 170B, etc.) or displays an image or video through the display screen 194. In one embodiment, the modem processor may be an independent device. In other embodiments, the modem processor may be independent of the processor 110 and be set in the same device as the mobile communication module 150 or other functional modules.

[0099] The wireless communication module 160 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 100. The wireless communication module 160 can be one or more devices that integrate at least one communication processing module. The wireless communication module 160 receives electromagnetic waves via the antenna 2, frequency modulates and filters the electromagnetic wave signals, and sends the processed signals to the processor 110. The wireless communication module 160 can also receive the signal to be sent from the processor 110, frequency modulate it, amplify it, and convert it into electromagnetic waves for radiation through the antenna 2.

[0100] In one embodiment, the antenna 1 of the electronic device 100 is coupled to the mobile communication module 150, and the antenna 2 is coupled to the wireless communication module 160, so that the electronic device 100 can communicate with a 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. 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).

[0101] Electronic device 100 implements display functionality through a GPU, display screen 194, and an application processor. A GPU is a microprocessor for image processing that connects display screen 194 and the application processor. The GPU is used to perform mathematical and geometric calculations for graphics rendering. Processor 110 may include one or more GPUs that execute program instructions to generate or modify display information.

[0102] Display screen 194 is used to display images, videos, etc. Display screen 194 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 (AMOLED), a flexible light-emitting diode (FLED), a MiniLED, a MicroLED, a Micro-oLed, or a quantum dot light-emitting diode (QLED). In one embodiment, electronic device 100 may include one or N display screens 194, where N is a positive integer greater than 1.

[0103] The electronic device 100 can implement a shooting function through an ISP, a camera 193, a video codec, a GPU, a display screen 194, and an application processor.

[0104] The ISP processes data fed back by camera 193. For example, when taking a photo, the shutter is opened, and light is transmitted through the lens to the camera's photosensitive element. The light signal is converted into an electrical signal, which is then passed to the ISP for processing and transformed into a visible image. The ISP can also perform algorithmic optimization on image noise, brightness, and color. It can also optimize parameters such as exposure and color temperature of the captured scene. In one embodiment, the ISP can be located within camera 193.

[0105] The camera 193 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).

[0106] The photosensitive element converts the light signal into an electrical signal, which is then transmitted to the ISP for conversion 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 one embodiment, the electronic device 100 may include one or N cameras 193, where N is a positive integer greater than one.

[0107] The external memory interface 120 can be used to connect an external memory card, such as a Micro SD card, to expand the storage capacity of the electronic device 100.

[0108] The internal memory 121 may be used to store computer executable program codes, which include instructions. The processor 110 executes various functional applications and data processing of the electronic device 100 by running the instructions stored in the internal memory 121 and / or instructions stored in a memory provided in the processor.

[0109] The electronic device 100 can implement audio functions through the audio module 170 , the speaker 170A, the receiver 170B, the microphone 170C, the headphone jack 170D, and the application processor.

[0110] The audio module 170 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 170 can also be used to encode and decode audio signals.

[0111] The speaker 170A, also called a "horn", is used to convert audio electrical signals into sound signals.

[0112] The receiver 170B, also called a "handset", is used to convert audio electrical signals into sound signals.

[0113] Microphone 170C, also known as a "microphone" or "microphone," is used to convert sound signals into electrical signals. In a voice conferencing scenario, microphone 170C can collect audio data from the current scene, such as the voice data of multiple speakers. The collected audio data can be used for real-time speech transcription.

[0114] The headphone jack 170D is used to connect a wired headphone.

[0115] The pressure sensor 180A is used to sense pressure signals and convert them into electrical signals. In one embodiment, the pressure sensor 180A can be provided on the display screen 194. There are many types of pressure sensors 180A, such as resistive pressure sensors, inductive pressure sensors, capacitive pressure sensors, etc. A capacitive pressure sensor can be a device comprising at least two parallel plates having a conductive material. When a force acts on the pressure sensor 180A, the capacitance between the electrodes changes. The electronic device 100 determines the intensity of the pressure based on the change in capacitance. When a touch operation is applied to the display screen 194, the electronic device 100 detects the intensity of the touch operation based on the pressure sensor 180A. The electronic device 100 can also calculate the position of the touch based on the detection signal of the pressure sensor 180A.

[0116] The gyro sensor 180B may be used to determine the motion posture of the electronic device 100. In one embodiment, the angular velocity of the electronic device 100 around three axes (ie, x, y, and z axes) may be determined by the gyro sensor 180B.

[0117] The air pressure sensor 180C is used to measure air pressure.

[0118] The magnetic sensor 180D includes a Hall sensor, and the electronic device 100 can use the magnetic sensor 180D to detect the opening and closing of the flip leather case.

[0119] The acceleration sensor 180E can detect the magnitude of the acceleration of the electronic device 100 in various directions (generally three axes).

[0120] The distance sensor 180F is used to measure distance.

[0121] The proximity light sensor 180G 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 100 emits infrared light outward through the light emitting diode. The electronic device 100 uses the 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 100. When insufficient reflected light is detected, the electronic device 100 can determine that there is no object near the electronic device 100.

[0122] The ambient light sensor 180L is used to sense the brightness of the ambient light.

[0123] The fingerprint sensor 180H is used to collect fingerprints. The electronic device 100 can use the collected fingerprint characteristics to implement fingerprint unlocking, access application locks, fingerprint photography, fingerprint call answering, etc.

[0124] The temperature sensor 180J is used to detect temperature.

[0125] The touch sensor 180K is also called a "touch-sensitive device." The touch sensor 180K can be disposed on the display screen 194. The touch sensor 180K and the display screen 194 form a touch screen, also called a "touch screen." The touch sensor 180K is used to detect touch operations applied thereto or in the vicinity thereof. The touch sensor can transmit the detected touch operations to the application processor to determine the type of touch event. Visual output related to the touch operations can be provided via the display screen 194. In other embodiments, the touch sensor 180K can also be disposed on the surface of the electronic device 100, at a location different from that of the display screen 194.

[0126] The bone conduction sensor 180M can acquire vibration signals.

[0127] The buttons 190 include a power button, a volume button, and the like.

[0128] Motor 191 can generate vibration prompts.

[0129] The indicator 192 may be an indicator light, which may be used to indicate the charging status, power level changes, messages, missed calls, notifications, etc.

[0130] The SIM card interface 195 is used to connect a SIM card.

[0131] The software system of the electronic device 100 can adopt a layered architecture, an event-driven architecture, a micro-kernel architecture, a microservice architecture, or a cloud architecture. For example, the software system with a layered architecture can be an Android system, a Harmony operating system (OS), or other software systems. The embodiment of the present application takes the Android system with a layered architecture as an example to illustrate the software structure of the electronic device 100.

[0132] FIG3 exemplarily shows a schematic diagram of a software architecture of an electronic device 100 .

[0133] A layered architecture divides software into several layers, each with distinct roles and responsibilities. Layers communicate with each other through software interfaces. In one embodiment, the Android system is divided into four layers: the application layer, the application framework layer, the Android runtime and system libraries, and the kernel layer.

[0134] The application layer can include a series of application packages.

[0135] As shown in Figure 3, the application package may include applications such as camera, gallery, music, calendar, short message, call, navigation, Bluetooth, browser, and screen projection.

[0136] The application framework layer provides an application programming interface (API) and programming framework for applications in the application layer. The application framework layer includes some predefined functions.

[0137] As shown in FIG3 , the application framework layer may include a window manager, a content provider, a view system, a telephony manager, a resource manager, a notification manager, and the like.

[0138] The window manager is used to manage window programs. The window manager can obtain the display size, determine whether there is a status bar, lock the screen, take screenshots, etc.

[0139] Content providers are used to store and retrieve data and make it accessible to applications. The data may include videos, images, audio, calls made and received, browsing history and bookmarks, phone books, etc.

[0140] The view system includes visual controls, such as those for displaying text and images. The view system is used to build applications. A display interface can consist of one or more views. For example, a display interface containing a text notification icon might include a view for displaying text and a view for displaying images.

[0141] The phone manager is used to provide communication functions of the electronic device 100, such as management of call status (including answering, hanging up, etc.).

[0142] The resource manager provides various resources for applications, such as localized strings, icons, images, layout files, video files, and so on.

[0143] The Notification Manager allows applications to display notifications in the status bar. These messages can be displayed briefly and then disappear automatically without user interaction. For example, the Notification Manager is used to notify users of completed downloads and message reminders. The Notification Manager can also display notifications in the top status bar of the system as icons or scrolling text, such as notifications from background applications, or as dialog windows on the screen. Examples include displaying text messages in the status bar, emitting alert sounds, vibrating electronic devices, or flashing indicator lights.

[0144] Android Runtime includes core libraries and a virtual machine. Android runtime is responsible for scheduling and management of the Android system.

[0145] The core library consists of two parts: one is the function that needs to be called by the Java language, and the other is the Android core library.

[0146] The application layer and application framework layer run in a virtual machine. The virtual machine executes Java files in the application layer and application framework layer as binary files. The virtual machine manages object lifecycles, stack management, thread management, security and exception management, and garbage collection.

[0147] The system library can include multiple functional modules, such as surface manager, media library, 3D graphics processing library (such as OpenGL ES), 2D graphics engine (such as SGL), etc.

[0148] The surface manager is used to manage the display subsystem and provide fusion of 2D and 3D layers for multiple applications.

[0149] The media library supports playback and recording of a variety of common audio and video formats, as well as static image files. The media library can support a variety of audio and video encoding formats, such as MPEG4, H.264, MP3, AAC, AMR, JPG, PNG, etc.

[0150] The 3D graphics processing library is used to implement 3D graphics drawing, image rendering, compositing, and layer processing.

[0151] A 2D graphics engine is a drawing engine for 2D drawings.

[0152] The kernel layer is the layer between hardware and software. The kernel layer includes at least display driver, camera driver, audio driver, and sensor driver.

[0153] The following is an example of the workflow of the software and hardware of the electronic device 100, with reference to the voice conference conversion scenario.

[0154] When the touch sensor 180K receives a touch operation, the corresponding hardware interrupt is sent to the kernel layer. The kernel layer processes the touch operation into raw input events (including touch coordinates, timestamp of the touch operation, and other information). The raw input events are stored in the kernel layer. The application framework layer obtains the raw input event from the kernel layer and identifies the control corresponding to the input event. For example, if the touch operation is a touch click operation and the control corresponding to the click operation is the icon control of the AI ​​minutes application, the AI ​​minutes application calls the interface of the application framework layer to start the AI ​​minutes application, and then controls the display driver by calling the kernel layer to display the user interface of the AI ​​minutes application through the display screen 194.

[0155] Next, an exemplary network device 200 provided in an embodiment of the present application is introduced.

[0156] FIG4 exemplarily shows a schematic diagram of the hardware structure of a network device 200 .

[0157] As shown in Figure 4, the network device 200 may include one or more processors 201, a communication interface 202, and a memory 203, wherein the processor 201, the communication interface 202, and the memory 203 may be connected via a bus or other means. In this embodiment of the application, the connection via bus 204 is used as an example.

[0158] The processor 201 may be composed of one or more general-purpose processors, such as a CPU, and may be configured to execute program codes related to the device control method.

[0159] The communication interface 202 may be a wired interface (eg, an Ethernet interface) or a wireless interface (eg, a cellular network interface or a wireless local area network interface) for communicating with other nodes. In the embodiment of the present application, the communication interface 202 may be specifically used to communicate with the electronic device 100.

[0160] The memory 203 may include a volatile memory, such as a RAM; the memory may also include a non-volatile memory, such as a ROM, a flash memory, an HDD, or a solid-state drive (SSD). The memory 203 may also include a combination of the above-mentioned types of memories. The memory 203 may be used to store a set of program codes so that the processor 201 calls the program codes stored in the memory 203 to implement the implementation method of the embodiment of the present application on the server. In the embodiment of the present application, the memory 203 may also be a storage array, etc.

[0161] In one embodiment, the network device 200 may include multiple servers, such as a web server, a background server, a download server, etc. The hardware structures of these multiple servers can refer to the hardware structure of the network device 200 shown in Figure 4.

[0162] It should be noted that the network device 200 shown in FIG4 is an example implementation of an embodiment of the present application. In actual applications, the network device 200 may also include more or fewer components, which is not limited here.

[0163] The following describes an application scenario involved in an embodiment of the present application and a user interface diagram for the scenario.

[0164] FIG5 exemplarily shows a user interface diagram of a speech transcription process.

[0165] As shown in FIG5(A), electronic device 100 may display user interface 1000, for example, user interface 1000 is the desktop of electronic device 100. User interface 1000 may include window 1010 (including the title "Smart Voice"). In one embodiment, electronic device 100 may receive a user operation, for example, the user operation is voice input, and the voice input is "Smart Voice". In response to the user operation, electronic device 100 may display window 1010. Window 1010 may include multiple functional controls, such as controls for AI subtitles, voice input, and other functions. Among them, the characters "AI Minutes" are displayed under control 1020 for the AI ​​Minutes function, which can be used to enable the voice transcription function of electronic device 100. In one embodiment, electronic device 100 may display the homepage of the AI ​​Minutes in response to a user operation on control 1020 (for example, the user operation is a touch operation). For a specific example, see user interface 1100 shown in FIG5(B).

[0166] As shown in (B) of Figure 5, the user interface 1100 is, for example, the desktop of the electronic device 100. The user interface 1100 may include a window 1110 (including the title "AI Minutes"), and the window 1110 may include a window 1120 (including the characters "Real-time Transcription") and a window 1130 (including the characters "Audio and Video File Transcription"). The window 1120 may include a control 1121, an option 1122, an option 1123, and a control 1124. The characters "Multi-person Mode" are displayed near the control 1121, which can be used to turn on or off the function of transcribing multi-person voice information when the electronic device 100 is performing a real-time transcription process. The characters "Sound Source" are displayed near the option 1122, which can be used to select the device for the electronic device 100 to receive the audio stream in the voice conference scenario. The characters "Sound Source Language" are displayed near the option 1123, which can be used to select the transcription language category during the real-time transcription process of the electronic device 100. The control 1121 in the user interface 1100 is in the on state, which indicates that the electronic device 100 can transcribe multi-person voice information when performing a real-time transcription process. The option 1122 indicated by the name "Microphone" can indicate that the electronic device 100 receives the audio stream in the voice conference scenario through the microphone. The option 1123 indicated by the name "Chinese" can indicate that the transcription language category during the real-time transcription process of the electronic device 100 is Chinese. The control 1124 displays the characters "Get Started" and can be used to turn on the real-time transcription function of the electronic device 100. Window 1130 may include a control 1131 and an option 1132. The characters "Multi-person Mode" are displayed near the control 1131, which can be used to turn on or off the function of transcribing multi-person voice information when the electronic device 100 performs a non-real-time transcription process. The characters "Sound Source Language" are displayed near the option 1132, which can be used to select the transcription language category during the non-real-time transcription process of the electronic device 100. The control 1131 in the user interface 1100 is in the closed state, which may indicate that the electronic device 100 cannot transcribe multi-person voice information when performing the non-real-time transcription process. The option 1132 indicated by the name "Chinese" may indicate that the transcription language category of the electronic device 100 during the non-real-time transcription process is Chinese. The control 1133 displays the characters "Start Using", which can be used to turn on the non-real-time transcription function of the electronic device 100. In one embodiment, FIG5 illustrates the real-time transcription process of the electronic device 100 as an example. The electronic device 100 can display the interface of real-time voice transcription in response to a user operation on the control 1124 (for example, the user operation is a touch operation). For a specific example, see the user interface 1200 shown in (C) of FIG5.

[0167] As shown in (C) of Figure 5, the user interface 1200 is, for example, the desktop of the electronic device 100. The user interface 1200 may include a window 1210 (including the characters "20230213_Travel Plan Meeting Minutes"), and the window 1210 may include a control 1211. The control 1211 may indicate that the electronic device 100 is recording / collecting an audio stream received in real time in a voice conference scene and performing voice transcription on the audio stream. The characters "Recording and Transcribing" and "00:00:01" are displayed near the control 1211. The electronic device 100 can obtain the voice transcription text and the corresponding speaker's role identification, i.e., the AI ​​minutes, based on the audio stream collected in real time. An example of the electronic device 100 displaying the AI ​​minutes can be seen in the user interface 1300 shown in (D) of Figure 5.

[0168] As shown in (D) of FIG5 , user interface 1300 may include window 1310, and user interface 1300 may be used to implement an editing function of window 1310. Window 1310 displays multiple speech transcription texts and corresponding speaker role identifiers, such as text content 1311A and corresponding control 1311, text content 1312A and corresponding control 1312, text content 1313A and corresponding control 1313, text content 1314A and corresponding control 1314, and text content 1315A and corresponding control 1315. Text content 1311A includes the characters "May 1st Company is preparing to organize a travel activity. Everyone, please tell me where you want to go.", and control 1311 displays the characters "Role 1>," indicating that the text obtained after the speech of the speaker of Role 1 is transcribed is text content 1311A. Window 1310 can display the corresponding speech transcription text in the order of the speakers' speeches from morning to night. For example, the speech corresponding to text content 1311A was spoken earlier than the speech corresponding to text content 1312A. Text content 1312A includes the characters "I recommend Xi'an, the ancient capital of 13 dynasties." Control 1312 displays the characters "Character 2>," indicating that the text resulting from the transcription of the speech of character 2 is text content 1312A. Text content 1313A includes the characters "Chengdu and Changsha have a lot of delicious food." Control 1313 displays the characters "Character 3>," indicating that the text resulting from the transcription of the speech of character 3 is text content 1313A. Text content 1314A includes the characters "Yunnan has nice scenery." Control 1314 displays the characters "Character 1>," indicating that the text resulting from the transcription of the speech of character 1 is text content 1314A. The text content 1315A includes the characters "Yunnan is indeed OK.", and the control 1315 displays the characters "Role 2>", which indicates that the text obtained after the voice of the speaker of character 2 is transcribed is the text content 1315A.

[0169] In one embodiment, after the embodiment shown in FIG5 , the electronic device 100 may receive a user operation (for example, the user operation is a touch operation) on the character “Role 2>” displayed by the control 1315 in the user interface 1300 shown in (D) of FIG5 , and display an editing interface of the control 1315 in response to the user operation. For a specific example, see the user interface 1400 shown in (A) of FIG6 .

[0170] As shown in (A) of Figure 6 , the user interface 1400 is used to implement the editing function of the characters "Role 2>" displayed by the control 1315. A cursor 1410A is displayed between the characters "Role 2" and the characters ">", and the cursor 1410A is used to indicate the insertion point of text editing. The electronic device 100 can receive a user operation, and in response to the user operation, change the characters displayed by the control 1315 from "Role 2>" to "Role 4>", at which time the electronic device 100 can display the user interface 1500 shown in (B) of Figure 6 . The control 1510 in the user interface 1500 displays the characters "Role 4>", and a cursor 1510A (used to indicate the insertion point of text editing) is displayed between the characters "Role 4" and the characters ">".

[0171] In one embodiment, after the embodiment shown in FIG5 , the electronic device 100 may receive a user operation (for example, the user operation is a touch operation) on the text content 1315A in the user interface 1300 shown in (D) of FIG5 , and display an editing interface for the text content 1315A in response to the user operation. For a specific example, see the user interface 1600 shown in (A) of FIG7 .

[0172] As shown in (A) of Figure 7, user interface 1600 is used to implement the editing function of text content 1315A. A cursor 1610A is displayed between the characters "Yunnan is indeed" and the characters "OK." included in text content 1315A, and cursor 1610A is used to indicate the insertion point of text editing. Electronic device 100 can receive a user operation, and in response to the user operation, the characters included in text content 1315A are modified from "Yunnan is indeed OK." to "Yunnan I can also." At this time, electronic device 100 can display user interface 1700 shown in (B) of Figure 7. The text content 1710 in user interface 1700 includes the characters "Yunnan I can also.", wherein a cursor 1710A (for indicating the insertion point of text editing) is displayed between the characters "Yunnan I also" and the characters "OK."

[0173] Not limited to the above embodiment, in another embodiment, the electronic device 100 can also perform a non-real-time transcription process. The electronic device 100 can respond to the user operation of the control 1133 in the user interface 1100 shown in (B) of Figure 5 (for example, the user operation is a touch operation) to display an upload interface for audio / video files, and the electronic device 100 can receive the audio file or video file uploaded by the user based on the upload interface. Then, the electronic device 100 can obtain the voice transcription text and the corresponding speaker's role identification based on the uploaded audio file or video file, that is, the AI ​​minutes. The interface of the electronic device 100 displaying the AI ​​minutes is similar to the user interface 1300 shown in (D) of Figure 5, except that the "recording" prompt information is not displayed at this time. For example, it can also include playback controls, playback progress bar and duration of the audio file or video file.

[0174] In one embodiment, the electronic device 100 may provide a keyword search function for the AI ​​minutes, that is, searching the AI ​​minutes for keywords entered by the user. In some examples, the user interface 1300 shown in (D) of Figure 5 may include a search control, and the electronic device 100 may receive a user operation on the search control in the user interface 1300, obtain the keyword entered by the user based on the user operation, then search the AI ​​minutes for the keyword, and highlight the searched keyword in the AI ​​minutes.

[0175] In one embodiment, the electronic device 100 can provide a role filtering function for the AI ​​minutes, that is, displaying the speech transcription text corresponding to the specific role selected by the user in the AI ​​minutes. In some examples, the user interface 1300 shown in (D) of Figure 5 may include a role selection control, and the electronic device 100 may receive a user operation on the role selection control in the user interface 1300, and determine to filter out the speech transcription text of role 1 and role 2 based on the user operation. The interface displayed at this time is similar to (D) of Figure 5, except that the interface does not include the information of role 3 (i.e., control 1313) and the corresponding speech transcription text (i.e., text content 1313A).

[0176] In one embodiment, the user interface 1300 shown in (D) of Figure 5 may include playback controls, a playback progress bar, and duration of the collected audio stream. The electronic device 100 may receive a user operation on the playback control (for example, the user operation is a touch operation), and in response to the user operation, play the collected audio stream, allowing the user to compare the AI ​​minutes and the corresponding audio data by themselves.

[0177] In one embodiment, the electronic device 100 can record the account login information and the user input operations for the AI ​​minutes, such as but not limited to copying, pasting, cutting, keyword searching, editing, etc. In some examples, after the embodiments shown in Figures 5, 6, and 7, the electronic device 100 can receive a user operation (for example, the user operation is a touch operation) on the account control (for example, the character "Xiao Yi" or the related avatar control in the user interface 1100), and in response to the user operation, display the account login information of the current account name "Xiao Yi" and the operations for the AI ​​minutes, such as but not limited to editing operations on the control 1315 and the text content 1315A.

[0178] In one embodiment, the user interface 1300 shown in (D) of Figure 5 may include an export control, and the electronic device 100 may receive a user operation on the export control, and in response to the user operation, export / save / save as a file of the AI ​​minutes shown in the user interface 1300.

[0179] Next, the speech transcription method provided by the embodiment of the present application is introduced.

[0180] Please refer to Figure 8, which is a flow chart of a speech transcription method provided in an embodiment of the present application. The method can be applied to the speech transcription system 10 shown in Figure 1A. The method may include but is not limited to the following steps:

[0181] S101: The electronic device 100 obtains a first audio stream.

[0182] In one embodiment, during the real-time transcription process, the electronic device 100 can collect a first audio stream. In some examples, the electronic device 100 can respond to a user operation on the control 1124 in the user interface 1100 shown in FIG5 (B) (for example, the user operation is a touch operation) to enable the real-time transcription function of the electronic device 100, that is, to collect the audio stream in the current scene in real time and perform voice transcription on the audio stream. In another embodiment, during the non-real-time transcription process, the electronic device 100 can receive an audio file / video file uploaded by the user (the audio data therein is referred to as a first audio stream). In some examples, the electronic device 100 can respond to a user operation on the control 1133 in the user interface 1100 shown in FIG5 (B) (for example, the user operation is a touch operation) to enable the non-real-time transcription function of the electronic device 100, that is, to receive an audio file or video file uploaded by the user, obtain the first audio stream from the audio file or video file, and perform voice transcription on the first audio stream.

[0183] S102: The electronic device 100 performs voiceprint extraction on the first audio stream to obtain a plurality of first voiceprint features.

[0184] In one embodiment, the electronic device 100 can perform audio separation on the first audio stream to obtain multiple first audio segments, and the first audio stream includes multiple first audio segments. Then, the electronic device 100 can perform voiceprint extraction on the multiple first audio segments respectively to obtain multiple first voiceprint features, and one first audio segment corresponds to one first voiceprint feature. In this application, any voiceprint feature obtained by the electronic device 100 performing voiceprint extraction on the first audio stream is referred to as a first voiceprint feature, but any two first voiceprint features can be different. Optionally, one first voiceprint feature corresponds to one user. For example, one first audio segment only includes voice data of one user, and the first voiceprint feature obtained based on the first audio segment corresponds to the user.

[0185] In one embodiment, when the electronic device 100 collects the first audio stream, it can separate the collected first audio stream, which can be understood as separating the collected audio data while collecting the audio data.

[0186] In one embodiment, the electronic device 100 may perform anonymization processing on the extracted multiple first voiceprint features to obtain multiple anonymized first voiceprint features, for example, by encrypting the multiple first voiceprint features.

[0187] In one embodiment, the electronic device 100 may first perform audio enhancement on the first audio stream, and then perform audio separation on the enhanced first audio stream. In some examples, the electronic device 100 may enhance the first audio stream through far-field pickup, near-field pickup, echo cancellation, AI noise reduction and other technologies, and then detect the voiceprints of multiple users in the enhanced first audio stream, detect the mixed voiceprints formed by overlapping speech of multiple users in the first audio stream, and separate the voiceprints of multiple users and the mixed voiceprints in the first audio stream to obtain multiple first audio segments.

[0188] In one embodiment, the electronic device 100 may store the anonymized multiple first voiceprint features in a first voiceprint feature library. Each first voiceprint feature may be represented by a characteristic vector. An example of the first voiceprint feature library can be seen in Table 1 below.

[0189] Table 1

[0190] The first voiceprint feature library shown in Table 1 may include three first voiceprint features: feature vector 1, feature vector 2, and feature vector 3.

[0191] In one embodiment, the electronic device 100 may include a standard voiceprint feature library, which may be used to store (reliable) role identifiers and corresponding voiceprint features (which may be referred to as local voiceprint features) that have been verified / authenticated by the electronic device 100, for example, voiceprint features that have been corrected by the electronic device 100 during the previous voice transcription process. The specific process can be found in S106 below. In some examples, the role identifier may include a virtual role identifier and / or a real role identifier. The real role identifier may be a role identifier that the user has manually registered (such as the user's account name), or it may be understood as the user's real role. Once the role identifier is modified to a real role identifier, subsequent voice transcriptions will match the real role identifier, which is convenient for post-meeting editing. The virtual role identifier is a role identifier that the electronic device 100 sets to distinguish different users. In some examples, examples of standard voiceprint feature libraries can be found in Table 2 below.

[0192] Table 2

[0193] Among them, the standard voiceprint feature library shown in Table 2 may include two local voiceprint features and corresponding character identifiers: feature vector 4 corresponds to Xiaolan, Xiaolan is the real character identifier, and feature vector 5 corresponds to character B, character B is the virtual character identifier.

[0194] S103: The electronic device 100 sends a first message (including a first audio stream) to the network device 200.

[0195] In one embodiment, after the electronic device 100 obtains the first audio stream, it can encode the first audio stream to obtain an encoded first audio stream. Optionally, the encoding format can be a format that can be processed by the network device 200 obtained by the electronic device 100. The encoded first audio stream is, for example, but not limited to, a file in opus format.

[0196] In one implementation, the electronic device 100 may send a first message to the network device 200 , where the first message may include an encoded first audio stream.

[0197] The order of S102 and S103 is not limited.

[0198] S104: The network device 200 performs voiceprint recognition and speech transcription on the first audio stream to obtain first information.

[0199] In one implementation, the network device 200 may decode the encoded first audio stream in the received first message and obtain the first audio stream.

[0200] In one embodiment, the network device 200 may use an ASR transcription model to perform voiceprint recognition and speech transcription on the first audio stream to obtain the first information.

[0201] In one embodiment, the first information may include, but is not limited to, multiple second voiceprint features, role identifiers corresponding to the multiple second voiceprint features, multiple speech transcription texts corresponding to the multiple second voiceprint features, and timestamps corresponding to the multiple second voiceprint features (which can also be understood as timestamps corresponding to the multiple speech transcription texts). Any speech transcription text is obtained by speech transcription based on the audio segment to which the corresponding second voiceprint feature belongs, and can also be referred to as the speech transcription text corresponding to the audio segment. Any timestamp is the timestamp of the audio segment to which the corresponding second voiceprint feature belongs, for example, including a start timestamp and an end timestamp. Optionally, the network device 200 can anonymize the multiple second voiceprint features to obtain multiple anonymized second voiceprint features.

[0202] In some examples, a speech transcribed text may include text transcribed from independent voice information and / or overlapping voice information, wherein the independent voice information may include part or all of the audio of any user speaking in the first audio stream, which can be understood as all or part of the voice information collected when only one speaker is speaking, and the overlapping voice information may include part or all of the audio of multiple users speaking in the first audio stream in an overlapping manner, which can be understood as all or part of the voice information collected when multiple speakers speak in an overlapping manner.

[0203] In some examples, examples of the first information can be found in Table 3 below.

[0204] Table 3

[0205] Among them, in the first audio stream, the audio of the user of character A has a starting timestamp of 0 and an ending timestamp of 300. The second voiceprint feature obtained based on the audio is feature vector 6, and the text obtained by speech transcription based on the audio is text segment 1. The audio of the user of character B has a starting timestamp of 320 and an ending timestamp of 500. The second voiceprint feature obtained based on the audio is feature vector 7. The text obtained by speech transcription based on the audio is text segment 2. The audio of the user of character C has a starting timestamp of 400 and an ending timestamp of 480. The second voiceprint feature obtained based on the audio is feature vector 8. The text obtained by speech transcription based on the audio is text segment 3. The audio of the user of character D has a starting timestamp of 480 and an ending timestamp of 700. The second voiceprint feature obtained based on the audio is feature vector 9. The text obtained by speech transcription based on the audio is text segment 4.

[0206] In one embodiment, the network device 200 may store the first information in a temporary voiceprint feature library. In some examples, the network device 200 may store multiple second voiceprint features and their corresponding role identifications in the first information in the temporary voiceprint feature library.

[0207] S105: The network device 200 sends the first information (including multiple second voiceprint features, role identifiers corresponding to the multiple second voiceprint features, and multiple voice transcription texts) to the electronic device 100.

[0208] S106: The electronic device 100 compares the multiple first voiceprint features / local voiceprint features with the multiple second voiceprint features, and corrects the role identification corresponding to the second voiceprint features according to the comparison result.

[0209] In one embodiment, after receiving the first information, the electronic device 100 can compare multiple first voiceprint features with multiple second voiceprint features, and correct the role identification corresponding to the second voiceprint feature based on the comparison result. In some examples, for each second voiceprint feature, the electronic device 100 can obtain at least one first voiceprint feature from the first voiceprint feature library, or obtain at least one local voiceprint feature from the standard voiceprint feature library, compare the obtained first voiceprint feature or local voiceprint feature with the current second voiceprint feature, and correct the role identification corresponding to the current second voiceprint feature based on the comparison result. An example of the specific implementation process can be seen in Figure 9 below. In some examples, when the electronic device 100 performs the comparison, there may be a priority between the first voiceprint feature library and the standard voiceprint feature library, wherein the priority of the standard voiceprint feature library is higher than the priority of the first voiceprint feature library.

[0210] S107: The electronic device 100 generates a first AI summary based on the multiple voice transcription texts and the corrected role identification.

[0211] In one embodiment, the electronic device 100 can generate a first AI summary based on the role identifications (corrected) corresponding to the multiple speech transcription texts and the second voiceprint features. In some examples, assuming that the examples of multiple speech transcription texts are shown in Table 3 and the corrected role identifications are shown in Table 5 below, the first AI summary generated by the electronic device 100 can be found in Table 4 below.

[0212] Table 4

[0213] S108: The electronic device 100 outputs the first AI minutes.

[0214] In one embodiment, after generating the first AI minutes, the electronic device 100 may output the first AI minutes. In some examples, the electronic device 100 may display the first AI minutes on a display screen, such as displaying the window 1310 in the user interface 1300 shown in FIG5 (D).

[0215] Next, an implementation process of S106 in FIG8 will be described using any second voiceprint feature in FIG9 as an example. Referring to FIG9 , FIG9 is a flow chart of another speech transcription method provided in an embodiment of the present application. The method may include but is not limited to the following steps:

[0216] S1: The electronic device 100 obtains any one of a plurality of second voiceprint features and a corresponding role identification.

[0217] S2: The electronic device 100 can determine whether the standard voiceprint feature library is empty, that is, determine whether the number of voiceprint features in the standard voiceprint feature library is greater than 0. When the number is greater than 0 (not empty), the electronic device 100 can execute S3; when the number is equal to 0 (empty), the electronic device 100 can execute S6.

[0218] S3: The electronic device 100 may determine whether there is a third voiceprint feature in the standard voiceprint feature library that matches the second voiceprint feature. In some examples, the electronic device 100 may calculate the similarity between the second voiceprint feature and each voiceprint feature in the standard voiceprint feature library to obtain at least one first similarity value, and determine a second similarity value (corresponding to the third voiceprint feature), where the similarity may include, for example but not limited to, cosine distance, Euclidean distance, etc., the second similarity value is the maximum value of the at least one first similarity value, and the second similarity value is the similarity between the second voiceprint feature and the third voiceprint feature in the standard voiceprint feature library.

[0219] S4: The electronic device 100 determines whether the second similarity value is greater than or equal to the first preset threshold. When the second similarity value is greater than or equal to the first preset threshold, the electronic device 100 may execute S5; when the second similarity value is less than the first preset threshold, the electronic device 100 may execute S6.

[0220] S5: The electronic device 100 may determine the role identifier corresponding to the third voiceprint feature as the role identifier corresponding to the second voiceprint feature, which can be understood as updating / correcting the role identifier corresponding to the second voiceprint feature. Optionally, the electronic device 100 may store the second voiceprint feature and the updated role identifier corresponding to the second voiceprint feature in a standard voiceprint feature library. Optionally, the electronic device 100 may store the speech transcription text corresponding to the second voiceprint feature and the timestamp corresponding to the second voiceprint feature.

[0221] S6: The electronic device 100 may determine whether there is a fourth voiceprint feature in the first voiceprint feature library that matches the second voiceprint feature. In some examples, the electronic device 100 may calculate the similarity between the second voiceprint feature and each first voiceprint feature in the first voiceprint feature library to obtain at least one third similarity value, and determine a fourth similarity value (corresponding to the fourth voiceprint feature), wherein the fourth similarity value is the maximum value of the at least one third similarity value, and the fourth similarity value is the similarity between the second voiceprint feature and the fourth voiceprint feature in the first voiceprint feature library.

[0222] S7: The electronic device 100 determines whether the fourth similarity value is greater than or equal to the second preset threshold. When the fourth similarity value is greater than or equal to the second preset threshold, the electronic device 100 may execute S8; when the fourth similarity value is less than the second preset threshold, the electronic device 100 may execute S9.

[0223] S8: The electronic device 100 may determine that the role identifier corresponding to the second voiceprint feature remains unchanged. Optionally, the electronic device 100 may store the second voiceprint feature and the corresponding role identifier in a standard voiceprint feature library. Optionally, the electronic device 100 may store the speech transcription text corresponding to the second voiceprint feature and the timestamp corresponding to the second voiceprint feature.

[0224] S9: The electronic device 100 may determine the role identification corresponding to the second voiceprint feature based on the fourth voiceprint feature corresponding to the fourth similarity value. In some examples, the electronic device 100 may obtain another second voiceprint feature (which may be referred to as a fifth voiceprint feature) that matches the fourth voiceprint feature among the multiple second voiceprint features sent by the network device 200, and determine the role identification corresponding to the fifth voiceprint feature as the role identification corresponding to the current second voiceprint feature, wherein the fifth voiceprint feature is the voiceprint feature with the greatest similarity value with the fourth voiceprint feature among the multiple second voiceprint features sent by the network device 200.

[0225] In some examples, it is assumed that the first voiceprint feature library is as shown in Table 1, the standard voiceprint feature library is as shown in Table 2, and the first information is as shown in Table 3. Taking the feature vector 6 (corresponding to role A) shown in Table 3 as an example to illustrate the implementation process of Figure 9, first, the electronic device 100 can determine whether the standard voiceprint feature library is empty and obtain a judgment result of no. Therefore, S3 can be executed, that is, the electronic device 100 can calculate the similarity between the second voiceprint feature (feature vector 6) and each voiceprint feature in the standard voiceprint feature library, and obtain two first similarity values ​​(the similarity value between feature vector 6 and feature vector 4, and the similarity value between feature vector 6 and feature vector 5). Assuming that the second similarity value is the similarity between feature vector 6 and feature vector 4, and the second similarity value is less than the first preset threshold, that is, the judgment result of S4 is no, therefore, S6 can be executed, that is, the electronic device 100 can calculate the similarity between feature vector 6 and each first voiceprint feature in the first voiceprint feature library to obtain three third similarity values ​​(the similarity value between feature vector 6 and feature vector 1, the similarity value between feature vector 6 and feature vector 2, and the similarity value between feature vector 6 and feature vector 3). Assuming that the fourth similarity value is the similarity between feature vector 6 and feature vector 1, and the fourth similarity value is greater than or equal to the second preset threshold, the electronic device 100 can determine that the role identifier corresponding to feature vector 6 remains unchanged, that is, role A, which can be understood as the role identifier corresponding to the corrected / updated feature vector 6 is still role A.

[0226] Next, the electronic device 100 can update the role identifiers corresponding to feature vectors 7, 8, and 9, respectively. Assuming that feature vector 7 matches feature vector 5 in the standard voiceprint feature library, the electronic device 100 determines the role identifier corresponding to feature vector 5 (Role B) as the role identifier of feature vector 7. Feature vector 8 does not match any voiceprint feature in the first voiceprint feature library or any voiceprint feature in the standard voiceprint feature library. Assuming that the similarity between feature vector 8 and feature vector 3 in the first voiceprint feature library is the fourth similarity value, the electronic device 100 can determine the updated role identifier of another second voiceprint feature in Table 3 that matches feature vector 3, other than feature vector 8, as the role identifier of feature vector 8. Feature vector 9 matches feature vector 3 in the first voiceprint feature library. The electronic device 100 determines that the role identifier corresponding to feature vector 9 remains unchanged, that is, the updated role identifier of feature vector 9 is still Role D. In this case, the electronic device 100 can determine the updated role identifier of feature vector 9 (Role D) that matches feature vector 3 as the role identifier of feature vector 8.

[0227] In some examples, examples of corrected role identifications can be found in Table 5 below.

[0228] Table 5

[0229] In one embodiment, after the implementation shown in Figure 8, the voice conference is interrupted / paused, and then the previous voice conference is continued. The specific implementation process is similar to that of Figure 8 (wherein, when S106 is the process shown in Figure 9, the judgment result of S2 is no). It can be understood that the first audio stream shown in Figure 8 is part or all of the audio stream collected during any voice conference.

[0230] Not limited to the embodiment shown in FIG. 8 , in another embodiment, the first information in S105 may not include a timestamp.

[0231] Not limited to the embodiment shown in FIG. 8 , in another embodiment, S9 in S106 may be replaced by: the electronic device 100 deletes the second voiceprint feature and the corresponding role identification.

[0232] In the method shown in Figure 8, the electronic device can separate and extract the voiceprint of the collected first audio stream to obtain the first voiceprint feature of each speaker. The multiple first voiceprint features extracted by the electronic device are used to correct the role recognition result returned by the ASR transcription model of the network device without audio separation, thereby solving the problem of inaccurate role recognition in the current voice conference scenario (for example, the voiceprint features of the same user are identified as different role identifiers due to the deletion of the temporary voiceprint feature library, and the problem of identifying more role identifiers than the actual number of users), and effectively improving the role recognition rate in the voice transcription process. Storing voiceprint features and corresponding information locally (for example, storing multiple first voiceprint features in the first voiceprint feature library, and storing the role identifiers and corresponding voiceprint features authenticated by the electronic device in the standard voiceprint feature library) is safer and more trustworthy than storing it on the network device side, and also improves the security of voice transcription. In addition, this method does not require users to upload the voice information of participants to the network device in advance, which is more convenient for users to use and improves the user experience.

[0233] Please refer to Figure 10, which is a flow chart of a speech transcription method provided in an embodiment of the present application. The method can be applied to the speech transcription system 10 shown in Figure 1A. The method may include but is not limited to the following steps:

[0234] S201: The electronic device 100 receives a first operation.

[0235] In one embodiment, before S201 in FIG. 10 , S101 - S108 in FIG. 8 are also included.

[0236] In one embodiment, the electronic device 100 may receive a first operation input by a user, where the first operation may be an editing operation on the first AI minutes, such as an editing operation on the voice transcription text in the first AI minutes.

[0237] S202: The electronic device 100 modifies the speech transcription text in the first AI minutes according to the first operation to obtain a second AI minutes.

[0238] In one embodiment, after the electronic device 100 receives the first operation, the first voice transcription text in the first AI minutes can be modified to the second voice transcription text according to the first operation, and the second AI minutes can be obtained based on the modified voice transcription text (i.e., the above-mentioned second voice transcription text). In some examples, the first AI minutes is the minutes displayed by the user interface 1600 shown in (A) of Figure 7, and the electronic device 100 can modify the text content 1315A in the user interface 1600 (i.e., "Yunnan is sure to do it.") to "Yunnan I can do it too." in response to the user operation, and the second AI minutes is the minutes displayed by the user interface 1700 shown in (B) of Figure 7.

[0239] In one embodiment, the electronic device 100 can determine the second audio segment corresponding to the modified first speech transcription text / second speech transcription text in the first audio stream. In some examples, assuming that the modified speech transcription text is text segment 4 corresponding to character D shown in Table 5, and the start timestamp corresponding to text segment 4 is 480 and the end timestamp is 700, the electronic device 100 can intercept the second audio segment with a start timestamp of 480 and an end timestamp of 700 in the first audio stream, and the second audio segment is the audio segment corresponding to text segment 4.

[0240] S203: The electronic device 100 sends a second message (including the modified speech transcription text and the corresponding second audio segment) to the network device 200.

[0241] In one embodiment, the electronic device 100 may send a second message to the network device 200. The second message may include, but is not limited to, a modified second speech transcription text and a corresponding second audio segment.

[0242] S204: The network device 200 trains an ASR transcription model according to the modified speech transcription text and the corresponding second audio segment.

[0243] In one embodiment, the network device 200 can obtain the modified second speech transcription text and the corresponding second audio segment from the received second message, and use the second speech transcription text and the corresponding second audio segment as training data to train an ASR transcription model, so as to iteratively optimize the ASR transcription model, thereby improving the transcription accuracy of the ASR transcription model. For example, the ASR transcription model is trained using the second audio segment as input and the second speech transcription text as output.

[0244] S205: The electronic device 100 outputs the second AI minutes.

[0245] S205 is an optional step.

[0246] In one embodiment, the electronic device 100 may output the second AI minutes. In some examples, after the electronic device 100 obtains the second AI minutes, the electronic device 100 may display the second AI minutes on a display screen, such as the user interface 1700 shown in FIG. 7(B).

[0247] The order of S204 and S205 is not limited.

[0248] In the method shown in Figure 10, the AI ​​minutes generated by the electronic device can be provided to the user for modification. For example, the electronic device can intercept the modified speech transcription text and the corresponding second audio segment, and then transmit the modified speech transcription text and the corresponding second audio segment back to the network device for training the ASR transcription model, so that the entire speech transcription link forms a closed loop. The model is optimized through real data obtained by manual correction by the user during the actual speech transcription process, thereby improving the transcription accuracy of the ASR transcription model.

[0249] Not limited to the embodiment shown in FIG10 , in another embodiment, the role identifier in the generated AI minutes can also be modified. For example, the first operation is an editing operation for the role identifier in the first AI minutes. The electronic device 100 can modify the role identifier in the first AI minutes according to the first operation to obtain a second AI minute. For a specific example, please refer to the scenario shown in FIG6 . In some examples, the electronic device 100 can query the standard voiceprint feature library to see whether there is a seventh voiceprint feature that matches the sixth voiceprint feature corresponding to the modified role identifier (for example, the similarity value between the sixth voiceprint feature and the seventh voiceprint feature is the largest, and the similarity value is greater than or equal to the first preset threshold). When the seventh voiceprint feature is found, the electronic device 100 can update the role identifier corresponding to the seventh voiceprint feature in the standard voiceprint feature library to the modified role identifier. Optionally, the electronic device 100 can store the sixth voiceprint feature in the standard voiceprint feature library, or update the seventh voiceprint feature in the standard voiceprint feature library to the sixth voiceprint feature. In some examples, the electronic device 100 can send a modified role identification to the network device 200, optionally along with the corresponding speech transcription text, and optionally along with the corresponding audio segment. These data can be used to train the ASR transcription model so that the ASR transcription model is iteratively updated, further improving the role recognition rate during speech transcription.

[0250] Furthermore, the standard voiceprint feature library with updated role identification can be used by subsequent electronic devices to more accurately correct the role recognition results returned by the network device, further improving the role recognition rate.

[0251] Not limited to the above embodiment, in another embodiment, the electronic device may also send the corrected character identification in Figure 8 to the network device, optionally along with the corresponding speech transcription text, optionally along with the corresponding audio segment. These data may also be used to train the ASR transcription model so that the ASR transcription model is iteratively updated, thereby further improving the character recognition rate during speech transcription.

[0252] The methods provided in the various embodiments of the present application may be implemented in whole or in part by software, hardware, firmware, or any combination thereof. When implemented using software, they may be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, the processes or functions described in the embodiments of the present application are generated in whole or in part. The computer may be a general-purpose computer, a special-purpose computer, a computer network, a network device, a user device, or other programmable device. The computer instructions may be stored in a computer-readable storage medium or transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, the computer instructions may be transmitted from one website, computer, server, or data center to another website, computer, server, or data center via a wired (e.g., coaxial cable, optical fiber, digital subscriber line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) method. The computer-readable storage medium may be any available medium that can be accessed by a computer or a data storage device such as a server or data center that includes one or more available media. The available medium may be a magnetic medium (e.g., a floppy disk, a hard disk, or a magnetic tape), an optical medium (e.g., a digital video disc (DWD), or a semiconductor medium (e.g., a solid state drive (SSD)). As mentioned above, the above embodiments are only used to illustrate the technical solutions of the present application, and are not intended to limit the same. Although the present application has been described in detail with reference to the above embodiments, a person skilled in the art should understand that the technical solutions described in the above embodiments may be modified, or some of the technical features thereof may be replaced by equivalents. However, such modifications or replacements do not deviate the essence of the corresponding technical solutions from the scope of the technical solutions of the embodiments of the present application.

Claims

1. A speech transcription method, characterized in that: Applied to a first device, the method includes: Acquire first audio data; Performing voiceprint extraction on the first audio data to obtain a plurality of first voiceprint features; Sending a first message to a network device, wherein the first message includes the first audio data; receiving first information sent by the network device, the first information comprising a plurality of second voiceprint features obtained by performing voiceprint recognition on the first audio data, a plurality of first role identifiers, and a plurality of voice transcription texts corresponding to the plurality of first role identifiers obtained by performing voice transcription on the first audio data, the plurality of second voiceprint features corresponding to the plurality of first role identifiers one by one; Correcting the plurality of first role identifiers according to the plurality of first voiceprint features and the plurality of second voiceprint features to obtain a plurality of second role identifiers; A first interface is displayed, wherein the first interface includes the plurality of second role identifiers and the plurality of speech transcription texts corresponding to the plurality of second role identifiers.

2. The method according to claim 1, characterized in that The step of correcting the plurality of first role identifiers according to the plurality of first voiceprint features and the plurality of second voiceprint features to obtain a plurality of second role identifiers includes: The multiple first role identifiers are corrected according to a standard voiceprint feature library, the multiple first voiceprint features and the multiple second voiceprint features to obtain the multiple second role identifiers, the standard voiceprint feature library stores at least one third voiceprint feature and at least one third role identifier, and the at least one third role identifier corresponds one-to-one to the at least one third voiceprint feature.

3. The method according to claim 1 or 2, characterized in that The step of correcting the plurality of first role identifiers according to the plurality of first voiceprint features and the plurality of second voiceprint features to obtain a plurality of second role identifiers includes: Calculate the similarity between the second voiceprint feature and each of the multiple first voiceprint features to obtain at least one first similarity value, and determine a second similarity value, the second similarity value being a maximum value among the multiple first similarity values, and the second similarity value being a similarity between the second voiceprint feature and a fourth voiceprint feature among the multiple first voiceprint features; When the second similarity value is greater than or equal to a first preset threshold, determining the first role identifier as the second role identifier; When the second similarity value is less than the first preset threshold, the second role identifier is determined according to the fourth voiceprint feature, or the second voiceprint feature and the corresponding first role identifier are deleted.

4. The method according to claim 3, characterized in that The determining the second role identification according to the fourth voiceprint feature includes: Calculating the similarity between the fourth voiceprint feature and each of the plurality of second voiceprint features to obtain at least one third similarity value, and determining a fourth similarity value, wherein the fourth similarity value is a maximum value among the at least one third similarity value, and the fourth similarity value is a similarity between the fourth voiceprint feature and a fifth voiceprint feature among the plurality of second voiceprint features; The role identifier corresponding to the fifth voiceprint feature is determined as the second role identifier.

5. The method according to claim 2, characterized in that The step of correcting the plurality of first role identifiers according to the standard voiceprint feature library, the plurality of first voiceprint features, and the plurality of second voiceprint features to obtain the plurality of second role identifiers includes: Calculate the similarity between the second voiceprint feature and each third voiceprint feature in the standard voiceprint feature library to obtain at least one fifth similarity value, and determine a sixth similarity value, wherein the sixth similarity value is a maximum value among the at least one fifth similarity value, and the sixth similarity value is the similarity between the second voiceprint feature and the sixth voiceprint feature in the standard voiceprint feature library; When the sixth similarity value is greater than or equal to a second preset threshold, determining the role identifier corresponding to the sixth voiceprint feature as the second role identifier; When the sixth similarity value is less than the second preset threshold, calculating the similarity between the second voiceprint feature and each of the multiple first voiceprint features to obtain at least one first similarity value, and determining a second similarity value, the second similarity value being the maximum value among the multiple first similarity values, and the second similarity value being the similarity between the second voiceprint feature and a fourth voiceprint feature among the multiple first voiceprint features; When the second similarity value is greater than or equal to a first preset threshold, determining the first role identifier as the second role identifier; When the second similarity value is less than the first preset threshold, the second role identifier is determined according to the fourth voiceprint feature, or the second voiceprint feature and the corresponding first role identifier are deleted.

6. The method according to any one of claims 1 to 5, characterized in that: The method further comprises: receiving a first operation; In response to the first operation, the second role identifier is modified to a fourth role identifier.

7. The method according to claim 6, characterized in that The standard voiceprint feature library is used to store the verified role identification and the corresponding voiceprint feature, the second role identification corresponds to the second voiceprint feature, and the method further includes: Acquire a seventh voiceprint feature that matches the second voiceprint feature in the standard voiceprint feature library; The fifth role identifier corresponding to the seventh voiceprint feature in the standard voiceprint feature library is modified to the fourth role identifier.

8. The method according to any one of claims 1 to 7, characterized in that: The standard voiceprint feature library is used to store the verified role identification and the corresponding voiceprint feature. The method further includes: The multiple second role identifications and the corresponding second voiceprint features are stored in the standard voiceprint feature library.

9. The method according to any one of claims 1 to 8, characterized in that The first information is determined by the network device according to a first model, and the method further includes: receiving a second operation on the first interface; In response to the second operation, modifying the first speech transcription text in the first interface into the second speech transcription text; Determine a first audio segment corresponding to the first speech transcription text from the first audio data; A second message is sent to the network device, where the second message includes the second speech transcription text and the first audio segment, and the second speech transcription text and the first audio segment are used by the network device to train the first model.

10. The method according to any one of claims 1 to 9, characterized in that: The obtaining of the first audio data comprises: receiving a third operation; In response to the third operation, the first audio data in a preset scenario is collected, or a first file is received and the first audio data is obtained from the first file.

11. A speech transcription method, characterized in that: Applied to a first device, the method includes: Acquire first audio data; Sending a first message to a network device, wherein the first message includes the first audio data; receiving first information sent by the network device, the first information comprising a plurality of second voiceprint features obtained by performing voiceprint recognition on the first audio data, a plurality of first role identifiers, and a plurality of voice transcription texts corresponding to the plurality of first role identifiers obtained by performing voice transcription on the first audio data, the plurality of second voiceprint features corresponding to the plurality of first role identifiers one by one; Correcting the plurality of first role identifiers according to a standard voiceprint feature library and the plurality of second voiceprint features to obtain a plurality of second role identifiers, wherein the standard voiceprint feature library is used to store the verified role identifiers and the corresponding voiceprint features; A first interface is displayed, wherein the first interface includes the multiple second role identifiers and the multiple voice transcription texts, and the multiple second role identifiers correspond to the multiple voice transcription texts one by one.

12. The method according to claim 11, characterized in that The step of correcting the plurality of first role identifiers according to the standard voiceprint feature library and the plurality of second voiceprint features to obtain the plurality of second role identifiers includes: The multiple first role identifiers are corrected according to the standard voiceprint feature library, multiple first voiceprint features and the multiple second voiceprint features to obtain the multiple second role identifiers, and the multiple first voiceprint features are obtained by the first device performing voiceprint extraction on the first audio data.

13. An electronic device, characterized in that: The method comprises a transceiver, a processor and a memory, wherein the memory is used to store a computer program, and the processor calls the computer program to execute the method according to any one of claims 1 to 12.

14. A computer storage medium, characterized in that: The computer storage medium stores a computer program, and when the computer program is executed by a processor, the method according to any one of claims 1 to 12 is implemented.

Citation Information

Patent Citations

  • Voice transliteration method and device, and computer readable storage medium

    CN111048095A

  • Conference record role separation system and method based on voiceprint recognition

    CN115831124A

  • System and method for speaker role determination and scrubbing identifying information

    US20200342860A1

  • Method for processing conference data and related device

    WO2021134720A1

  • Ai recognition-based meeting minutes generation method and apparatus, device and medium

    WO2022016994A1