Voice recognition method and apparatus, vehicle-mounted terminal, server, and medium

Through the collaborative work of the terminal-side adaptive recognition module and the cloud interaction module, the problems of real-time and privacy protection of speech recognition in vehicle terminals are solved, efficient and accurate speech recognition is achieved, and the user experience is improved.

WO2024216863A1PCT designated stage expired Publication Date: 2024-10-24HUIZHOU DESAY SV AUTOMOTIVE

Patent Information

Application Number
PCT/CN2023/122163
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2023-04-20
Filing Date
2023-09-27
Publication Date
2024-10-24

AI Technical Summary

Technical Problem

Existing speech recognition methods have shortcomings in real-time performance and privacy protection on vehicle-mounted terminals. Especially in offline scenarios, it is difficult to meet the needs of high recognition accuracy and user experience.

Method used

Adopting the technical framework of the terminal-side adaptive recognition module and the cloud interaction module, through the collaborative work of voiceprint feature recognition and speech recognition models, the model can be updated and distributed in quasi-real-time, improving the speech recognition capabilities of the vehicle terminal and satisfying users Privacy protection needs.

Benefits of technology

It improves the real-time and accuracy of speech recognition in vehicle-mounted terminals, improves user experience, meets the needs of privacy protection, and achieves efficient speech recognition in low-resource environments.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN2023122163_24102024_PF_FP_ABST
    Figure CN2023122163_24102024_PF_FP_ABST
Patent Text Reader

Abstract

A voice recognition method and apparatus, a vehicle-mounted terminal, a server, and a medium. The method is applied to a vehicle-mounted terminal, and comprises: performing voiceprint feature recognition on a target voice signal to obtain a target user identifier corresponding to the target voice signal (S110); determining a first voice recognition model of a first user on the basis of the target user identifier and at least one voice recognition model, the at least one voice recognition model being generated by a server on the basis of a voice signal sent by the vehicle-mounted terminal and being returned to the vehicle-mounted terminal (S120); and performing voice recognition on the target voice signal according to the first voice recognition model, to obtain instruction information corresponding to the target voice signal, and providing a service for the first user on the basis of the instruction information (S130). According to the method, voice recognition is performed at a vehicle end, and at least one required voice recognition model is regularly returned to a vehicle-mounted terminal by a server, not acquired in real time, so that the real-time performance of voice recognition is improved while meeting the privacy protection requirement of users, thereby enhancing user experience.
Need to check novelty before this filing date? Find Prior Art

Description

Speech recognition method, device, vehicle-mounted terminal, server and medium

[0001] This application claims priority to the Chinese patent application filed with the China Patent Office on April 20, 2023, with application number 202310430336.0. The entire contents of the above application are incorporated by reference into this application. Technical Field

[0002] The present application relates to the field of speech recognition technology, for example, to a speech recognition method, device, vehicle-mounted terminal, server and medium. Background Art

[0003] With the rapid development of science and technology, automobile functions are becoming more and more abundant, and the intelligent interaction of in-vehicle voice systems has become an important part of the automotive field. For example, users can control in-vehicle equipment through voice.

[0004] Most speech recognition methods are deployed in the cloud, which cannot meet the needs of user privacy protection well. In addition, in offline in-vehicle scenarios, the real-time performance of speech recognition is poor, which reduces the user experience.

[0005] Summary of the Invention

[0006] The present application provides a speech recognition method, device, vehicle-mounted terminal, server and medium.

[0007] According to one aspect of the present application, a speech recognition method is provided, which is applied to a vehicle-mounted terminal, comprising:

[0008] receiving a target voice signal of a first user, and performing voiceprint feature recognition on the target voice signal to obtain a target user identifier corresponding to the target voice signal;

[0009] determining a first speech recognition model for the first user based on the target user identifier and at least one speech recognition model, wherein the at least one speech recognition model is generated by a server based on a speech signal sent by the in-vehicle terminal and returned to the in-vehicle terminal;

[0010] Perform speech recognition on the target speech signal according to the first speech recognition model to obtain instruction information corresponding to the target speech signal, and provide services for the first user based on the instruction information.

[0011] According to another aspect of the present application, a speech recognition method is provided, which is applied to a server and includes:

[0012] receiving a voice signal of a second user, wherein the voice signal is sent by the vehicle-mounted terminal;

[0013] Determining an in-vehicle language model and an in-vehicle acoustic model based on the speech signal, wherein the in-vehicle language model corresponds to the in-vehicle terminal, and the in-vehicle acoustic model corresponds to the second user;

[0014] Processing the in-vehicle language model and the in-vehicle acoustic model to obtain a second speech recognition model corresponding to the second user;

[0015] Returning at least one speech recognition model to the in-vehicle terminal, the at least one speech recognition model including the second speech recognition model.

[0016] According to another aspect of the present application, a speech recognition device is provided, which is configured in a vehicle-mounted terminal and includes:

[0017] a voiceprint recognition module, configured to receive a target voice signal of a first user, and perform voiceprint feature recognition on the target voice signal to obtain a target user identifier corresponding to the target voice signal;

[0018] a first determining module, configured to determine a first speech recognition model of the first user based on the target user identifier and at least one speech recognition model, wherein the at least one speech recognition model is generated by a server based on a speech signal sent by the in-vehicle terminal and returned to the in-vehicle terminal;

[0019] A speech recognition module is used to perform speech recognition on the target speech signal according to the first speech recognition model, obtain instruction information corresponding to the target speech signal, and provide services to the first user based on the instruction information.

[0020] According to another aspect of the present application, a speech recognition device is provided, configured on a server, comprising:

[0021] a signal receiving module, configured to receive a voice signal from a second user, the voice signal being sent by the vehicle-mounted terminal;

[0022] a second determining module, configured to determine an in-vehicle language model and an in-vehicle acoustic model based on the speech signal, wherein the in-vehicle language model corresponds to the in-vehicle terminal, and the in-vehicle acoustic model corresponds to the second user;

[0023] a processing module, configured to process the in-vehicle language model and the in-vehicle acoustic model to obtain a second speech recognition model corresponding to the second user;

[0024] A returning module is used to return at least one speech recognition model to the in-vehicle terminal, where the at least one speech recognition model includes the second speech recognition model.

[0025] According to another aspect of the present application, a vehicle-mounted terminal is provided, comprising:

[0026] at least one processor; and

[0027] a memory communicatively connected to the at least one processor; wherein,

[0028] The memory stores a computer program that can be executed by the at least one processor, and the computer program is executed by the at least one processor so that the at least one processor can execute the speech recognition method described in the embodiment of the present application.

[0029] According to another aspect of the present application, a server is provided, comprising:

[0030] at least one processor; and

[0031] a memory communicatively connected to the at least one processor; wherein,

[0032] The memory stores a computer program that can be executed by the at least one processor, and the computer program is executed by the at least one processor so that the at least one processor can execute the speech recognition method described in the embodiment of the present application.

[0033] According to another aspect of the present application, a computer-readable storage medium is provided, wherein the computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a processor to implement the speech recognition method described in any embodiment of the present application when executed. BRIEF DESCRIPTION OF THE DRAWINGS

[0034] FIG1 is a flow chart of a speech recognition method provided according to Embodiment 1 of the present application;

[0035] FIG2 is a flow chart of a speech recognition method provided according to Embodiment 2 of the present application;

[0036] FIG3 is a schematic diagram of determining an in-vehicle language model according to a second embodiment of the present application;

[0037] FIG4 is a structural diagram of a method for implementing speech recognition according to Embodiment 2 of the present application;

[0038] FIG5 is a flow chart of a speech recognition method according to the second embodiment of the present application;

[0039] FIG6 is a structural diagram of a speech recognition device provided according to Embodiment 3 of the present application;

[0040] FIG7 is a structural diagram of a speech recognition device provided according to Embodiment 4 of the present application;

[0041] FIG8 is a schematic structural diagram of a vehicle-mounted terminal provided according to Embodiment 5 of the present application;

[0042] FIG9 is a schematic diagram of the structure of a server provided according to Example 6 of the present application. DETAILED DESCRIPTION

[0043] It should be noted that the terms "first", "second", etc. in the specification and claims of the present application and the above-mentioned drawings are used to distinguish similar objects and are not necessarily used to describe a specific order or sequential order. It should be understood that the data used in this way can be interchangeable where appropriate, so that the embodiments of the present application described herein can be implemented in a sequence other than those illustrated or described herein. In addition, the terms "including" and "having" and any of their variations are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device comprising a series of steps or units is not necessarily limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.

[0044] Example 1

[0045] Figure 1 is a flowchart of a voice recognition method provided according to Example 1 of the present application. This embodiment is applicable to situations where the user's voice is recognized. The method can be executed by a voice recognition device, which can be implemented in the form of hardware and / or software. The voice recognition device can be configured in a vehicle-mounted terminal.

[0046] In the era of intelligent driving, intelligent interaction in in-vehicle voice systems has become a critical component and is widely used. However, how can on-device voice recognition services achieve the same high recognition accuracy and real-time performance as cloud-based model services while also meeting user privacy requirements in offline in-vehicle scenarios where hardware computing power is insufficient? This places higher demands on on-device voice recognition capabilities.

[0047] It's conceivable that before voice applications were deployed, in-vehicle terminals lacked sufficient training data tailored to specific scenarios (e.g., environment, speaker, and topic). Furthermore, in-vehicle user habits exhibit the following significant characteristics: They are typically used for home use, with a relatively fixed user base; and each user's speaking style and topics—that is, their usage habits (e.g., pronunciation, speaking rate, expression patterns, and frequently used vehicle control commands)—are relatively consistent. This data provides the necessary conditions for tailoring large cloud-based models and user-adaptive training. Consequently, current speech recognition models are primarily deployed in the cloud, and their architectures are generally large.

[0048] Therefore, how to apply low-resource end-side algorithms and improve recognition rates is a key research focus in the industry. In particular, for in-vehicle applications, hardware edge computing power is insufficient, and the high demands for timeliness and recognition rates in the dedicated in-vehicle field are not fully met. Secondly, from the perspective of speech recognition technology, before voice applications are deployed, in-vehicle terminals lack sufficient training data that matches the scenario. The training-test mismatch problem can be solved through adaptive technology, making the model more adaptable to the real-world deployment environment or making the test input features more suitable for the existing model. Therefore, how to use the deployed initial system to obtain speech data in in-vehicle scenarios and use the text annotations inferred by the initial system (a general system that is speaker-independent) for adaptive training to further improve speech recognition accuracy is a practical challenge. How to move beyond the research level and into the industrial field is a practical challenge.

[0049] Based on this, the embodiment of the present application provides a speech recognition method. Through the technical application framework of the device-side adaptive recognition module and the cloud-side interactive module, it can realize quasi-real-time update and distribution of the model in response to the speech recognition needs of the device-side vehicle field through end-cloud collaboration, thereby being able to design voice-driven intelligent vehicle control operations and improve the speech recognition capability of the vehicle-side vehicle control system in offline use, rather than the recognition capability in the general field. As shown in Figure 1, the method includes:

[0050] S110: Receive a target voice signal of a first user, and perform voiceprint feature recognition on the target voice signal to obtain a target user identifier corresponding to the target voice signal.

[0051] The first user can be considered as the current user who controls the current vehicle to provide services for him / her through voice, such as the first user can be the driver of the current vehicle, or the passenger of the current vehicle, etc.; the target voice signal is the voice signal of the first user, which is used to control the current vehicle to provide services, such as controlling the current vehicle to play songs, etc.; the target user identifier can be understood as the user identifier of the first user obtained by identification.

[0052] In this embodiment, the target voice signal of the first user can be first received, and after receiving the target voice signal, the target voice signal can be subjected to voiceprint feature recognition to obtain the target user identification corresponding to the target voice signal, so as to perform subsequent voice recognition and services, etc., wherein, there is no limit to the manner of performing voiceprint feature recognition to obtain the target user identification, such as directly obtaining the target user identification corresponding to the target voice signal through a voiceprint feature recognition model, or obtaining voiceprint feature information by performing voiceprint feature recognition on the target voice signal, and comparing the voiceprint feature information with a pre-stored voiceprint feature information set to determine the target user identification corresponding to the target voice signal, etc.

[0053] S120. Determine a first speech recognition model for the first user based on the target user identifier and at least one speech recognition model, where the at least one speech recognition model is generated by a server based on a speech signal sent by the vehicle terminal and returned to the vehicle terminal.

[0054] At least one speech recognition model can be considered a speech recognition model applicable to the current vehicle and can be generated by the server based on the voice signal sent by the vehicle terminal. For example, the server can generate a speech recognition model corresponding to each user based on the voice signal of the user using the current vehicle, and return each speech recognition model to the vehicle terminal so that the vehicle side can directly perform speech recognition and subsequent services based on each speech recognition model. The process of the server generating at least one speech recognition model is not described in detail here. The first speech recognition model can be considered as the speech recognition model corresponding to the first user, and is used to perform speech recognition on the target speech signal of the first user.

[0055] In one embodiment, this embodiment can generate a speech recognition model suitable for each user, and each speech recognition model corresponds to a user identifier, so that after identifying the target user identifier, the first speech recognition model corresponding to the first user can be determined according to the target user identifier.

[0056] S130: Perform speech recognition on the target speech signal according to the first speech recognition model to obtain instruction information corresponding to the target speech signal, and provide a service for the first user based on the instruction information.

[0057] The instruction information may refer to instruction information used to provide services to the first user. The specific content of the instruction information is not limited. For example, the instruction information may include specific command words, and may also include information related to the first user.

[0058] Specifically, after determining the first voice recognition model of the first user, the target voice signal can be voice recognized according to the determined first voice recognition model to obtain the instruction information corresponding to the target voice signal, thereby providing the first user with corresponding services based on the instruction information. For example, when the target voice signal of the first user is "I want to listen to a song", the voice recognition based on this embodiment can determine the corresponding instruction information as: play a song and the type of song is a ballad or a nursery rhyme, etc., so that the current vehicle can play the corresponding song for the first user in response to the target voice signal of the first user. Or when the target voice signal of the first user is "I want to go to xx destination", the voice recognition based on this embodiment can determine the corresponding instruction information as: navigate to xx destination, and then the current vehicle can provide the first user with corresponding navigation services, etc.

[0059] A speech recognition method is provided in a first embodiment of the present application. The method receives a target speech signal of a first user, performs voiceprint feature recognition on the target speech signal, and obtains a target user identifier corresponding to the target speech signal; determines a first speech recognition model of the first user based on the target user identifier and at least one speech recognition model, wherein the at least one speech recognition model is generated by a server based on the speech signal sent by the vehicle terminal and returned to the vehicle terminal; performs speech recognition on the target speech signal according to the first speech recognition model, obtains instruction information corresponding to the target speech signal, and provides services for the first user based on the instruction information. By utilizing this method, user privacy protection requirements can be met by determining the first speech recognition model and performing speech recognition based on at least one speech recognition model on the vehicle side. At the same time, the required at least one speech recognition model is returned to the vehicle terminal by the server at regular intervals, rather than being obtained in real time. This further improves the real-time performance of speech recognition while meeting user privacy protection requirements, thereby enhancing user experience.

[0060] In one embodiment, performing voiceprint feature recognition on the target voice signal to obtain a target user identifier corresponding to the target voice signal includes:

[0061] performing voiceprint feature recognition on the target voice signal to obtain first voiceprint feature information, and determining whether the first voiceprint feature information is included in a locally stored voiceprint feature information set, the voiceprint feature information set being periodically obtained from the server and being used to store voiceprint feature information corresponding to each user identifier;

[0062] If yes, taking the user identifier corresponding to the first voiceprint feature information in the voiceprint feature information set as the target user identifier corresponding to the target voice signal;

[0063] If not, preset voiceprint feature information that meets the preset feature condition is selected from the voiceprint feature information set, and the user identifier corresponding to the preset voiceprint feature information is used as the target user identifier corresponding to the target voice signal.

[0064] The first voiceprint feature information may refer to the information obtained by performing voiceprint feature recognition on the target voice signal, which is used to characterize the voiceprint features of the target voice signal; the voiceprint feature information set may be considered as a set obtained from the server at a regular interval, which is used to store the voiceprint feature information corresponding to each user identifier, wherein the voiceprint feature information set may be a set of voiceprint feature information configured before the vehicle is offline, or it may be a set of voiceprint feature information continuously stored and updated based on the user's voice signal during the use of the current vehicle. This embodiment does not limit this.

[0065] The preset characteristic condition can be a pre-set condition used to select preset voiceprint characteristic information. The preset characteristic condition can be configured based on empirical values, such as the similarity with the first voiceprint characteristic information being greater than a set threshold, or containing certain characteristic information at the same time as the first voiceprint characteristic information, etc.; the preset voiceprint characteristic information is the voiceprint characteristic information in the voiceprint characteristic information set that meets the preset characteristic condition.

[0066] In one embodiment, voiceprint feature recognition can be performed on the target speech signal to obtain first voiceprint feature information. After obtaining the first voiceprint feature information, a determination is made as to whether the first voiceprint feature information is included in a locally stored voiceprint feature information set. The target user identifier is then determined based on the determination result. For example, if the locally stored voiceprint feature information set is determined to contain the first voiceprint feature information, it indicates that the voiceprint feature information of the current speaker is stored in the voiceprint feature information set. In this case, the user identifier corresponding to the first voiceprint feature information in the voiceprint feature information set can be used as the target user identifier corresponding to the target speech signal, thereby obtaining the target user identifier corresponding to the target speech signal. If the locally stored voiceprint feature information set is determined to not contain the first voiceprint feature information, it indicates that the voiceprint feature information of the current speaker is not stored in the voiceprint feature information set. In this case, preset voiceprint feature information that meets preset feature conditions can be selected from the voiceprint feature information set, and the user identifier corresponding to the preset voiceprint feature information can be used as the target user identifier corresponding to the target speech signal. On this basis, the target user identifier can be determined, providing a basis for subsequently determining the first speech recognition model.

[0067] In one embodiment, after selecting preset voiceprint feature information that meets preset feature conditions from the voiceprint feature information set, the method further includes:

[0068] The first voiceprint feature information is sent to the server, so that the server updates the voiceprint feature information set.

[0069] In one embodiment, if the locally stored voiceprint feature information set does not include the first voiceprint feature information, that is, the voiceprint feature information of the current speaker is not stored in the voiceprint feature information set, this embodiment can send the first voiceprint feature information to the server, so that the server can update the voiceprint feature information corresponding to each user identifier and obtain the updated voiceprint feature information set on a regular basis. On this basis, by updating the voiceprint feature information set, the voiceprint feature information of different users can be recorded, thereby achieving more accurate speech recognition and improving the user experience.

[0070] In one embodiment, the method further comprises:

[0071] The target speech signal is sent to the server, so that the server generates or optimizes a first speech recognition model of the first user based on the target speech signal.

[0072] In one embodiment, this embodiment may also send the first user's target voice signal to the server, so that the server can generate or optimize the first user's first voice recognition model based on the target voice signal. On this basis, the user's voice recognition model can be enriched or optimized, thereby improving the accuracy of voice recognition and enhancing the user experience.

[0073] For example, if it is determined through the above steps that the voiceprint feature information set does not contain the first voiceprint feature information of the first user, it can be considered that the first user is a new user of the current vehicle. At this time, this embodiment can send the target voice signal of the user (i.e., the first user) to the server, so that the server generates a voice recognition model corresponding to the user based on the target voice signal, so that when the voice signal of the user is subsequently recognized, more accurate services can be provided to the user, thereby improving the user experience.

[0074] For example, if the voiceprint feature information set already contains the first voiceprint feature information of the first user or the user already has a corresponding speech recognition model, this embodiment can also send the user's target voice signal to the server according to actual conditions to further optimize the user's first speech recognition model, so as to achieve more accurate speech recognition.

[0075] Example 2

[0076] FIG2 is a flow chart of a speech recognition method according to the second embodiment of the present application. This embodiment is applicable to situations where a user's speech is recognized. The method can be performed by a speech recognition device, which can be implemented in the form of hardware and / or software and can be configured in a server. As shown in FIG2 , the method includes:

[0077] S210: Receive a voice signal from a second user, where the voice signal is sent by the vehicle-mounted terminal.

[0078] The second user may be any user who uses the current vehicle, for example, the second user may be the first user, or may be any user other than the first user.

[0079] This embodiment can receive the voice signal of the second user sent by the vehicle-mounted terminal to perform subsequent operations based on the voice signal. This embodiment does not limit the method of receiving the voice signal, as long as the voice signal can be received.

[0080] S220. Determine an in-vehicle language model and an in-vehicle acoustic model based on the voice signal, where the in-vehicle language model corresponds to the in-vehicle terminal, and the in-vehicle acoustic model corresponds to the second user.

[0081] The in-vehicle language model can be considered as a language model in the in-vehicle field, which is used to perform semantic analysis of speech signals; the in-vehicle acoustic model can be considered as an acoustic model corresponding to the user, and different users can correspond to different in-vehicle acoustic models.

[0082] After receiving the voice signal of the second user, the vehicle-mounted language model and the vehicle-mounted acoustic model can be determined based on the received voice signal. The specific process of determining the model can be differentiated based on the current actual situation, such as distinguishing the process of determining the vehicle-mounted language model and the vehicle-mounted acoustic model based on whether there is a second voice recognition model corresponding to the second user; it is also possible to directly generate the corresponding vehicle-mounted language model and vehicle-mounted acoustic model each time the voice signal of the second user is received. This embodiment does not limit this.

[0083] In one embodiment, determining an in-vehicle language model and an in-vehicle acoustic model based on the speech signal includes:

[0084] If there is no second speech recognition model corresponding to the second user, an on-board language model and an on-board acoustic model are generated based on the speech signal.

[0085] In one embodiment, it is possible to determine whether there is a second speech recognition model corresponding to the second user, and determine the vehicle-mounted language model and the vehicle-mounted acoustic model based on the determination result. For example, if there is no second speech recognition model corresponding to the second user, it is necessary to generate the corresponding vehicle-mounted language model and the vehicle-mounted acoustic model based on the speech signal, so as to obtain the second speech recognition model of the second user based on the generated vehicle-mounted language model and the vehicle-mounted acoustic model.

[0086] S230: Process the in-vehicle language model and the in-vehicle acoustic model to obtain a second speech recognition model corresponding to the second user.

[0087] After obtaining the on-board language model and the on-board acoustic model through the above steps, the on-board language model and the on-board acoustic model can be processed accordingly to obtain a second speech recognition model corresponding to the second user. The specific means of processing are not limited and can be determined by the configuration personnel according to the actual situation. For example, the obtained on-board language model and the on-board acoustic model can be integrated based on a sequence discriminative training system (such as maximum mutual information) and decoder representation technologies such as finite weighted state transition machine (WFST) and CTC to obtain the second speech recognition model.

[0088] S240: Return at least one speech recognition model to the in-vehicle terminal, where the at least one speech recognition model includes the second speech recognition model.

[0089] After obtaining the second speech recognition model corresponding to the second user, at least one speech recognition model including the second speech recognition model can be returned to the vehicle terminal. The timing of the return is not limited. For example, at least one speech recognition model can be returned to the vehicle terminal after receiving a request from the vehicle terminal, or at least one speech recognition model can be returned to the vehicle terminal at a scheduled time. At least one speech recognition model can also be returned based on actual conditions, such as when the network is in good condition or idle time.

[0090] A speech recognition method provided in Example 2 of the present application receives a speech signal of a second user, the speech signal being sent by an onboard terminal; determines an onboard language model and an onboard acoustic model based on the speech signal, the onboard language model corresponding to the onboard terminal, and the onboard acoustic model corresponding to the second user; processes the onboard language model and the onboard acoustic model to obtain a second speech recognition model corresponding to the second user; and returns at least one speech recognition model to the onboard terminal, the at least one speech recognition model including the second speech recognition model. Utilizing this method, by receiving the speech signal of the second user, it is possible to determine the second speech recognition model of the second user, thereby returning at least one speech recognition model including the second speech recognition model to the onboard terminal, thereby meeting the need for speech recognition on the vehicle side, improving the real-time performance of speech recognition, and thereby enhancing the user experience.

[0091] In one embodiment, determining an in-vehicle language model and an in-vehicle acoustic model based on the speech signal includes:

[0092] If a second speech recognition model corresponding to the second user exists, optimizing an onboard language model and an onboard acoustic model based on the speech signal;

[0093] The processing of the in-vehicle language model and the in-vehicle acoustic model to obtain a second speech recognition model corresponding to the second user includes:

[0094] The optimized in-vehicle language model and the optimized in-vehicle acoustic model are processed to obtain a new speech recognition model corresponding to the second user, and the new speech recognition model is used to replace the second speech recognition model.

[0095] In one embodiment, if there is currently a second speech recognition model corresponding to the second user, it means that there is currently a vehicle-mounted language model and a vehicle-mounted acoustic model corresponding to the second user. The existing vehicle-mounted language model and the vehicle-mounted acoustic model can be optimized based on the speech signal, so as to obtain a new second speech recognition model for the second user according to the optimized vehicle-mounted language model and the optimized vehicle-mounted acoustic model, and replace the second speech recognition model with the new speech recognition model. After obtaining the new second speech recognition model for the second user, the existing second speech recognition model can be deleted and the new second speech recognition model can be saved.

[0096] In one embodiment, determining an in-vehicle language model and an in-vehicle acoustic model based on the speech signal includes:

[0097] Determining an on-board language model based on the general topic model and the on-board topic model; and,

[0098] The original model is trained based on the signal properties of the speech signal to obtain a vehicle-mounted acoustic model.

[0099] A general topic model can be considered a topic model that is universal across all scenarios, and an in-vehicle topic model can be considered a topic model specific to the in-vehicle domain. Signal attributes can be used to characterize the properties of speech signals, such as voiceprint information, pronunciation characteristics, and speech style.

[0100] It can be said that in the current domain-adaptive speech recognition scenario, acoustic model adaptation is more commonly used, while adjustments and optimizations on language models are mostly concentrated on traditional statistical models, such as implementing ngram model interpolation through the srilm toolkit. Deep learning methods have been less studied. Therefore, in the end-side in-vehicle speech recognition system, domain-adaptive training of the language model can be performed to further improve the recognition rate.

[0101] In one embodiment, the on-board language model can be determined based on the general topic model and the on-board topic model to improve the accuracy of the on-board language model and reduce the recognition error rate through the on-board topic model. The specific method for determining the on-board language model is not limited. For example, the on-board language model can be determined according to the type of specific model. For example, for traditional statistical language models, such as ngram, the general topic model and the on-board topic model can be merged by interpolation method, and the obtained on-board language model can achieve effective adaptive effect; for neural network language models, deep domain applicability technology in transfer learning can be used to align the data distribution of the source domain and the target domain with a deep neural network to solve the distribution difference between the training set (source domain) and the test set (target domain) and overcome the catastrophic forgetting problem of the neural network.

[0102] Figure 3 is a schematic diagram of determining an in-vehicle language model provided according to Example 2 of the present application. As shown in Figure 3, first, a large model LM0 for a general multi-topic scenario can be prepared, such as cross-scenario topic corpus 0, topic corpus 1, topic corpus 2,...; prepare in-vehicle topic corpus, such as the in-vehicle domain topic model car-LM; then prune them separately, and use the interpolation method to merge and integrate the pruned corpus, that is, a reference test corpus set can be selected, and the compute-best-mix method of the Srilm toolkit can be used to calculate the optimal interpolation ratio to achieve interpolation of models under different topics.

[0103] In actual applications, training the acoustic model on data from all scenarios and then training the language model with data from in-vehicle themes can reduce the system's word error rate from 11% to 3%, thereby improving the accuracy of the in-vehicle language model.

[0104] It should be noted that adaptive technology can compensate for the mismatch of acoustic conditions in training data and test data (different probability distributions), further improving the accuracy of speech recognition.

[0105] In one embodiment, the original model may be trained based on the signal properties of the speech signal to obtain a corresponding vehicle-mounted acoustic model.

[0106] For example, a general and robust initial acoustic model (i.e., original model) can be first implemented through feature adaptation, HMM-GMM / DNN acoustic model, or CTC-based acoustic model.

[0107] Then, the speaker identification is obtained through voiceprint recognition, and the acoustic model related to the speaker is trained. The adaptive methods used include but are not limited to the following methods:

[0108] (1) Constructing a speaker subspace method. Speaker features can be represented based on the traditional speaker vector i-vector and the neural network-based d-vector, and then spliced ​​with the speaker's spectral features to train a speaker-related neural network model.

[0109] (2) Speaker adaptation methods based on the parameter basis framework, such as basis class adaptive training and eigenvoices. For example, a basis can be formed using multiple mean vectors for each Gaussian component; then a set of speaker-specific interpolation weights can be estimated for each speaker; and finally, the mean vector basis can be interpolated to obtain a speaker-specific mean vector.

[0110] (3) In order to reduce model overhead, a local adaptive DNN model can also be used to adapt only part of the model. For example, only the input layer, output layer, or a specific hidden layer can be adapted. For example, the SVD bottleneck layer adaptation technology only adapts the diagonal matrix of the model parameter W after SVD decomposition.

[0111] Finally, in addition to the aforementioned domain-specific language model adaptation and speaker adaptation tailored to pronunciation characteristics, unsupervised adaptation can also be achieved based on speaker style and preferred topics. Specifically, a cloud-based speech recognition initialization system can be used to obtain high-confidence (audio, converted text) pairs. Based on this baseline system, adaptive training can be performed using multi-task learning techniques, such as weighted objective functions or transfer learning, to obtain the corresponding in-vehicle acoustic model.

[0112] In one embodiment, the method further comprises:

[0113] receiving second voiceprint feature information of a third user, where the second voiceprint feature information is sent by the vehicle-mounted terminal;

[0114] Updating the voiceprint feature information set according to the second voiceprint feature information;

[0115] Send the updated voiceprint feature information set to the vehicle terminal.

[0116] The second voiceprint feature information may refer to the voiceprint feature information of a third user. The third user may be any user using the current vehicle, such as the first user or the second user, or any user other than the first user and the second user.

[0117] In one embodiment, the second voiceprint feature information of the third user sent by the vehicle-mounted terminal can also be received, and after receiving the second voiceprint feature information, the voiceprint feature information set is updated to send the updated voiceprint feature information set to the vehicle-mounted terminal. The process of updating the voiceprint feature information set is not limited. For example, the second voiceprint feature information can be directly added to the voiceprint feature information set, or a user identifier corresponding to the second voiceprint feature information can be further generated to improve the comprehensiveness of the updated voiceprint feature information set.

[0118] In one embodiment, updating the voiceprint feature information set according to the second voiceprint feature information includes:

[0119] generating a user identifier corresponding to the second voiceprint feature information as the user identifier of the third user;

[0120] The user identification of the third user and the second voiceprint feature information are stored in the voiceprint feature information set in correspondence.

[0121] In one embodiment, a user identifier corresponding to the second voiceprint feature information can be generated, and the generated user identifier can be used as the user identifier of the third user; then the user identifier of the third user and the second voiceprint feature information are stored in the voiceprint feature information set corresponding to each other, thereby realizing the update of the voiceprint feature information set.

[0122] FIG4 is a schematic diagram of a method for implementing speech recognition according to the second embodiment of the present application. As shown in FIG4 , the adaptive speech recognition on the terminal side can be performed by the following four sub-functional modules. The local model on the vehicle side can be updated through the network service module. The local model can include voiceprint feature information and speech recognition models for different speaker identifiers. The voiceprint recognition module is used to perform voiceprint feature recognition on the received target speech signal to obtain the target user identifier corresponding to the target speech signal. The speech recognition module can perform speech recognition on the target speech signal according to the first speech recognition model of the target user identifier to obtain the instruction information corresponding to the target speech signal, so as to provide services to the target user in the future. The storage module can store data generated on the vehicle side and store the local model obtained from the server.

[0123] FIG5 is a flow chart of a speech recognition method provided according to the second embodiment of the present application. As shown in FIG5 , first, the local vehicle side can receive the user's real-time speech (i.e., receive the target speech signal of the first user), perform voiceprint recognition on the real-time speech, and determine the user ID by judging whether the speaker exists. For example, before the vehicle is offline, the cloud server will use a pre-trained voiceprint recognition model for clustering to obtain a set of speaker feature basis vectors as memory units and send them to the local side. In the early stage, the local side can quickly and in real time select the most similar speaker from the memory unit. For example, if the speaker exists, the user ID of the user is directly obtained (i.e., the voiceprint feature recognition is performed on the target speech signal, Obtain first voiceprint feature information, and determine whether the locally stored voiceprint feature information set contains the first voiceprint feature information; if so, use the user identifier corresponding to the first voiceprint feature information in the voiceprint feature information set as the target user identifier corresponding to the target voice signal); if the speaker does not exist, store the new voiceprint information in the local voiceprint information, and select the baseline ID of the most similar voiceprint information as the user ID of the user (that is, if not, select the preset voiceprint feature information that meets the preset feature conditions from the voiceprint feature information set, and use the user identifier corresponding to the preset voiceprint feature information as the target user identifier corresponding to the target voice signal).

[0124] Then, the user-adaptive ASR is determined based on the domain-adaptive ASR of multiple IDs and the user ID (that is, the first speech recognition model of the first user is determined based on the target user identifier and at least one speech recognition model), so as to perform speech recognition, and use the recognized text instructions for product applications to provide services for users. For example, vehicle-control-related function interactions are performed through speech recognition, semantic understanding (NLU), conversation management (DM), etc., such as controlling car lights, windows, air conditioning, fragrance, music, radio, making phone calls, navigation and other applications through recognized voice instructions (that is, the target voice signal is voice recognized according to the first speech recognition model to obtain the instruction information corresponding to the target voice signal, and services are provided to the target user based on the instruction information).

[0125] In addition, the vehicle side can choose whether to upload new voiceprint information to the cloud server. If so, it can upload it to the cloud server to update the voiceprint feature information, so as to pull the updated voiceprint feature information at a later time (i.e., send the first voiceprint feature information to the server so that the server updates the voiceprint feature information set).

[0126] The vehicle side can choose whether to upload the voice signal to the cloud server. If so, it can be uploaded to the cloud server. At the same time, the cloud server can generate the corresponding user-adaptive ASR based on the voice signal, and realize the update of the multi-ID field adaptive ASR, so that the vehicle side can periodically pull the updated multi-ID field adaptive ASR (that is, send the target voice signal to the server, so that the server generates or optimizes the first voice recognition model of the first user based on the target voice signal). For example, if you choose to upload the voice to the cloud, when there is a connection, the cloud will update the speaker's acoustic model, language model, and then update the voice recognition model through adaptive training to achieve better adaptive effects. Specifically: use the deployed initial system to obtain the voice in the vehicle scene, and use the text annotations inferred by the initial system (a general system that is independent of the speaker) to perform language model adaptive training; adopt common technologies such as SVD bottleneck layer self-training and speaker perception training i-vector to complete the adaptive training of the acoustic model part.

[0127] As can be seen, the speech recognition method provided in this embodiment can achieve real-time, high-accuracy speech recognition on the vehicle-side under resource-constrained conditions by adapting the vehicle-based language model and speaker acoustic model. Furthermore, through end-cloud collaboration, it enables near-real-time model updates and distribution. Therefore, it can break free from the limitations of cloud environments under restricted conditions, effectively safeguard intelligent voice interaction on the device side, protect user privacy, and enhance the user experience.

[0128] Example 3

[0129] FIG6 is a schematic diagram of the structure of a speech recognition device provided according to Embodiment 3 of the present application. As shown in FIG6 , the device includes:

[0130] The voiceprint recognition module 310 is configured to receive a target voice signal of a first user, perform voiceprint feature recognition on the target voice signal, and obtain a target user identifier corresponding to the target voice signal;

[0131] A first determination module 320 is configured to determine a first speech recognition model for the first user based on the target user identifier and at least one speech recognition model, wherein the at least one speech recognition model is generated by a server based on a speech signal sent by the in-vehicle terminal and returned to the in-vehicle terminal;

[0132] The speech recognition module 330 is configured to perform speech recognition on the target speech signal according to the first speech recognition model, obtain instruction information corresponding to the target speech signal, and provide services to the first user based on the instruction information.

[0133] The third embodiment of the present application provides a speech recognition device, which receives a target speech signal of a first user through a voiceprint recognition module, and performs voiceprint feature recognition on the target speech signal to obtain a target user identifier corresponding to the target speech signal; determines a first speech recognition model of the first user based on the target user identifier and at least one speech recognition model through a first determination module, wherein the at least one speech recognition model is generated by a server based on the speech signal sent by the vehicle terminal and returned to the vehicle terminal; performs speech recognition on the target speech signal according to the first speech recognition model through a speech recognition module to obtain instruction information corresponding to the target speech signal, and provides services to the first user based on the instruction information. By using this device, the user's privacy protection needs can be met by determining the first speech recognition model and performing speech recognition based on at least one speech recognition model on the vehicle side. At the same time, the required at least one speech recognition model is returned to the vehicle terminal by the server at regular intervals, rather than being obtained in real time. This further improves the real-time performance of speech recognition on the basis of meeting the user's privacy protection needs, thereby enhancing the user experience.

[0134] Optionally, the voiceprint recognition module 310 is specifically configured to:

[0135] performing voiceprint feature recognition on the target voice signal to obtain first voiceprint feature information, and determining whether the first voiceprint feature information is included in a locally stored voiceprint feature information set, the voiceprint feature information set being periodically obtained from the server and being used to store voiceprint feature information corresponding to each user identifier;

[0136] If yes, taking the user identifier corresponding to the first voiceprint feature information in the voiceprint feature information set as the target user identifier corresponding to the target voice signal;

[0137] If not, preset voiceprint feature information that meets the preset feature condition is selected from the voiceprint feature information set, and the user identifier corresponding to the preset voiceprint feature information is used as the target user identifier corresponding to the target voice signal.

[0138] Optionally, the speech recognition device provided in the third embodiment of the present application further includes:

[0139] A first sending module is configured to send the first voiceprint feature information after selecting the preset voiceprint feature information that meets the preset feature condition from the voiceprint feature information set.

[0140] to the server so that the server updates the voiceprint feature information set.

[0141] Optionally, the speech recognition device provided in the third embodiment of the present application further includes:

[0142] The second sending module is used to send the target voice signal to the server, so that the server generates or optimizes the first voice recognition model of the first user based on the target voice signal.

[0143] The speech recognition device provided in the embodiment of the present application can execute the speech recognition method provided in the first embodiment of the present application, and has the corresponding functional modules and beneficial effects of the execution method.

[0144] Example 4

[0145] FIG7 is a schematic diagram of the structure of a speech recognition device provided according to the fourth embodiment of the present application. As shown in FIG7 , the device includes:

[0146] The signal receiving module 410 is configured to receive a voice signal from a second user, the voice signal being sent by the vehicle-mounted terminal;

[0147] a second determining module 420, configured to determine an in-vehicle language model and an in-vehicle acoustic model based on the speech signal, wherein the in-vehicle language model corresponds to the in-vehicle terminal, and the in-vehicle acoustic model corresponds to the second user;

[0148] a processing module 430 configured to process the in-vehicle language model and the in-vehicle acoustic model to obtain a second speech recognition model corresponding to the second user;

[0149] The returning module 440 is configured to return at least one speech recognition model to the in-vehicle terminal, where the at least one speech recognition model includes the second speech recognition model.

[0150] A speech recognition device provided in the fourth embodiment of the present application receives a speech signal of a second user through a signal receiving module, the speech signal being sent by an onboard terminal; a second determination module is used to determine an onboard language model and an onboard acoustic model based on the speech signal, the onboard language model corresponding to the onboard terminal, and the onboard acoustic model corresponding to the second user; a processing module processes the onboard language model and the onboard acoustic model to obtain a second speech recognition model corresponding to the second user; and a return module returns at least one speech recognition model to the onboard terminal, the at least one speech recognition model including the second speech recognition model. Using this device, by receiving the speech signal of the second user, the second speech recognition model of the second user can be determined, and at least one speech recognition model including the second speech recognition model can be returned to the onboard terminal, thereby meeting the need for speech recognition on the vehicle side, improving the real-time performance of speech recognition, and thereby enhancing the user experience.

[0151] Optionally, the second determining module 420 is specifically configured to:

[0152] If there is no second speech recognition model corresponding to the second user, an on-board language model and an on-board acoustic model are generated based on the speech signal.

[0153] Optionally, the second determining module 420 is specifically configured to:

[0154] If a second speech recognition model corresponding to the second user exists, optimizing an onboard language model and an onboard acoustic model based on the speech signal;

[0155] The processing module 430 is specifically configured to:

[0156] The optimized in-vehicle language model and the optimized in-vehicle acoustic model are processed to obtain a new speech recognition model corresponding to the second user, and the new speech recognition model is used to replace the second speech recognition model.

[0157] Optionally, the second determining module 420 is specifically configured to:

[0158] Determining an on-board language model based on the general topic model and the on-board topic model; and,

[0159] The original model is trained based on the signal properties of the speech signal to obtain a vehicle-mounted acoustic model.

[0160] Optionally, the speech recognition device provided in the third embodiment of the present application further includes:

[0161] an information receiving module, configured to receive second voiceprint feature information of a third user, where the second voiceprint feature information is sent by the vehicle-mounted terminal;

[0162] an updating module, configured to update the voiceprint feature information set according to the second voiceprint feature information;

[0163] The third sending module is used to send the updated voiceprint feature information set to the vehicle terminal.

[0164] Optionally, the update module is specifically configured to:

[0165] generating a user identifier corresponding to the second voiceprint feature information as the user identifier of the third user;

[0166] The user identification of the third user and the second voiceprint feature information are stored in the voiceprint feature information set in correspondence.

[0167] The speech recognition device provided in the embodiment of the present application can execute the speech recognition method provided in the second embodiment of the present application, and has the corresponding functional modules and beneficial effects of the execution method.

[0168] Example 5

[0169] FIG8 is a schematic diagram of the structure of a vehicle-mounted terminal provided according to the fifth embodiment of the present application. The vehicle-mounted terminal is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workstations, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The vehicle-mounted terminal can also represent various forms of mobile devices, such as personal digital processing, cellular phones, smart phones, wearable devices (such as helmets, glasses, watches, etc.) and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely examples and are not intended to limit the implementation of the present application described and / or required herein.

[0170] As shown in FIG8 , the vehicle-mounted terminal 10 includes at least one processor 11 and a memory, such as a read-only memory (ROM) 12 and a random access memory (RAM) 13, that is communicatively connected to the at least one processor 11. The memory stores a computer program that can be executed by the at least one processor, and the processor 11 can perform various appropriate actions and processes based on the computer program stored in the read-only memory (ROM) 12 or the computer program loaded from the storage unit 18 into the random access memory (RAM) 13. Various programs and data required for the operation of the vehicle-mounted terminal 10 can also be stored in the RAM 13. The processor 11, ROM 12, and RAM 13 are connected to each other via a bus 14. An input / output (I / O) interface 15 is also connected to the bus 14.

[0171] Multiple components in the vehicle-mounted terminal 10 are connected to the I / O interface 15, including an input unit 16, such as a keyboard and mouse; an output unit 17, such as various types of displays and speakers; a storage unit 18, such as a magnetic disk and optical disk; and a communication unit 19, such as a network card, a modem, a wireless communication transceiver, etc. The communication unit 19 allows the vehicle-mounted terminal 10 to exchange information / data with other devices via a computer network such as the Internet and / or various telecommunication networks.

[0172] The processor 11 can be any general-purpose and / or specialized processing component with processing and computing capabilities. Some examples of the processor 11 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various specialized artificial intelligence (AI) computing chips, various processors that run machine learning model algorithms, a digital signal processor (DSP), and any appropriate processor, controller, microcontroller, etc. The processor 11 executes the various methods and processes described above, such as the speech recognition method.

[0173] In some embodiments, the speech recognition method can be implemented as a computer program that is tangibly contained in a computer-readable storage medium, such as the storage unit 18. In some embodiments, part or all of the computer program can be loaded and / or installed on the vehicle-mounted terminal 10 via the ROM 12 and / or the communication unit 19. When the computer program is loaded into the RAM 13 and executed by the processor 11, one or more steps of the speech recognition method described above can be performed. Alternatively, in other embodiments, the processor 11 can be configured to perform the speech recognition method in any other appropriate manner (e.g., by means of firmware).

[0174] Various embodiments of the systems and techniques described herein can be implemented in digital electronic circuit systems, integrated circuit systems, field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), system-on-chip systems (SOCs), programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various embodiments can include being implemented in one or more computer programs that are executable and / or interpreted on a programmable system that includes at least one programmable processor, which can be a special purpose or general purpose programmable processor that can receive data and instructions from a storage system, at least one input device, and at least one output device, and transmit data and instructions to the storage system, the at least one input device, and the at least one output device.

[0175] Computer programs for implementing the methods of the present application may be written in any combination of one or more programming languages. These computer programs may be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing device, such that when the computer program is executed by the processor, the functions / operations specified in the flowcharts and / or block diagrams are implemented. The computer program may be executed entirely on the machine, partially on the machine, as a stand-alone software package, partially on the machine and partially on a remote machine, or entirely on a remote machine or server.

[0176] In the context of the present application, a computer-readable storage medium can be a tangible medium that can contain or store a computer program for use by an instruction execution system, device or equipment or used in combination with an instruction execution system, device or equipment. A computer-readable storage medium can include, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared or semiconductor systems, devices or equipment, or any suitable combination of the foregoing. Alternatively, a computer-readable storage medium can be a machine-readable signal medium. A more specific example of a machine-readable storage medium can include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.

[0177] To provide interaction with the user, the systems and techniques described herein can be implemented on an in-vehicle terminal, which has: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user; and a keyboard and pointing device (e.g., a mouse or trackball), through which the user can provide input to the in-vehicle terminal. Other types of devices can also be used to provide interaction with the user; for example, the feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user can be received in any form (including acoustic input, voice input, or tactile input).

[0178] The systems and techniques described herein can be implemented in a computing system that includes back-end components (e.g., as a data server), or a computing system that includes middleware components (e.g., an application server), or a computing system that includes front-end components (e.g., a user computer with a graphical user interface or web browser through which a user can interact with implementations of the systems and techniques described herein), or a computing system that includes any combination of such back-end components, middleware components, or front-end components. The components of the system can be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: a local area network (LAN), a wide area network (WAN), a blockchain network, and the Internet.

[0179] A computing system may include clients and servers. The clients and servers are typically remote from each other and typically interact via a communication network. This client-server relationship arises through computer programs running on the respective computers, creating a client-server relationship. The server may be a cloud server, also known as a cloud computing server or cloud host. This server is a hosting product within the cloud computing service ecosystem that addresses the management difficulties and limited scalability of traditional physical hosting and VPS services.

[0180] It should be understood that the various forms of the processes shown above can be used to reorder, add, or delete steps. For example, the steps described in this application can be performed in parallel, sequentially, or in a different order, as long as the desired results of the technical solution of this application can be achieved. This is not limited herein.

[0181] The above specific embodiments do not constitute a limitation on the scope of protection of this application. Those skilled in the art will appreciate that various modifications, combinations, sub-combinations, and substitutions may be made based on design requirements and other factors. Any modifications, equivalent substitutions, and improvements made within the spirit and principles of this application shall be included within the scope of protection of this application.

[0182] Example 6

[0183] Figure 9 is a schematic diagram of the structure of a server provided according to Example 6 of the present application. The server is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workstations, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The server can also represent various forms of mobile devices, such as personal digital processing, cellular phones, smart phones, wearable devices (such as helmets, glasses, watches, etc.) and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely examples and are not intended to limit the implementation of the present application described and / or required herein.

[0184] As shown in Figure 9, the server 20 includes at least one processor 21 and a memory connected to the at least one processor 21, such as a read-only memory (ROM) 22, a random access memory (RAM) 23, etc., wherein the memory stores a computer program that can be executed by the at least one processor, and the processor 21 can perform various appropriate actions and processes according to the computer program stored in the read-only memory (ROM) 22 or the computer program loaded from the storage unit 28 to the random access memory (RAM) 23. Various programs and data required for the operation of the server 20 can also be stored in the RAM 23. The processor 21, ROM 22, and RAM 23 are connected to each other via a bus 24. An input / output (I / O) interface 25 is also connected to the bus 24.

[0185] Several components in the server 20 are connected to the I / O interface 25, including an input unit 26, such as a keyboard, a mouse, etc.; an output unit 27, such as various types of displays, speakers, etc.; a storage unit 28, such as a magnetic disk, an optical disk, etc.; and a communication unit 29, such as a network card, a modem, a wireless communication transceiver, etc. The communication unit 29 allows the server 20 to exchange information / data with other devices via a computer network such as the Internet and / or various telecommunication networks.

[0186] The processor 21 can be any general-purpose and / or specialized processing component with processing and computing capabilities. Some examples of the processor 21 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various specialized artificial intelligence (AI) computing chips, various processors that run machine learning model algorithms, a digital signal processor (DSP), and any appropriate processor, controller, microcontroller, etc. The processor 21 executes the various methods and processes described above, such as the speech recognition method.

[0187] In some embodiments, the speech recognition method can be implemented as a computer program that is tangibly contained in a computer-readable storage medium, such as the storage unit 28. In some embodiments, part or all of the computer program can be loaded and / or installed on the server 20 via the ROM 22 and / or the communication unit 29. When the computer program is loaded into the RAM 23 and executed by the processor 21, one or more steps of the speech recognition method described above can be performed. Alternatively, in other embodiments, the processor 21 can be configured to perform the speech recognition method in any other appropriate manner (e.g., by means of firmware).

[0188] Various embodiments of the systems and techniques described herein can be implemented in digital electronic circuit systems, integrated circuit systems, field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), system-on-chip systems (SOCs), programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various embodiments can include being implemented in one or more computer programs that are executable and / or interpreted on a programmable system that includes at least one programmable processor, which can be a special purpose or general purpose programmable processor that can receive data and instructions from a storage system, at least one input device, and at least one output device, and transmit data and instructions to the storage system, the at least one input device, and the at least one output device.

[0189] Computer programs for implementing the methods of the present application may be written in any combination of one or more programming languages. These computer programs may be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing device, such that when the computer program is executed by the processor, the functions / operations specified in the flowcharts and / or block diagrams are implemented. The computer program may be executed entirely on the machine, partially on the machine, as a stand-alone software package, partially on the machine and partially on a remote machine, or entirely on a remote machine or server.

[0190] In the context of the present application, a computer-readable storage medium can be a tangible medium that can contain or store a computer program for use by an instruction execution system, device or equipment or used in combination with an instruction execution system, device or equipment. A computer-readable storage medium can include, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared or semiconductor systems, devices or equipment, or any suitable combination of the foregoing. Alternatively, a computer-readable storage medium can be a machine-readable signal medium. A more specific example of a machine-readable storage medium can include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.

[0191] To provide interaction with a user, the systems and techniques described herein can be implemented on a server having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user; and a keyboard and pointing device (e.g., a mouse or trackball) through which the user can provide input to the server. Other types of devices can also be used to provide interaction with the user; for example, the feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user can be received in any form (including acoustic input, voice input, or tactile input).

[0192] The systems and techniques described herein can be implemented in a computing system that includes back-end components (e.g., as a data server), or a computing system that includes middleware components (e.g., an application server), or a computing system that includes front-end components (e.g., a user computer with a graphical user interface or web browser through which a user can interact with implementations of the systems and techniques described herein), or a computing system that includes any combination of such back-end components, middleware components, or front-end components. The components of the system can be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: a local area network (LAN), a wide area network (WAN), a blockchain network, and the Internet.

[0193] A computing system may include clients and servers. The clients and servers are typically remote from each other and typically interact via a communication network. This client-server relationship arises through computer programs running on the respective computers, creating a client-server relationship. The server may be a cloud server, also known as a cloud computing server or cloud host. This server is a hosting product within the cloud computing service ecosystem that addresses the management difficulties and limited scalability of traditional physical hosting and VPS services.

[0194] It should be understood that the various forms of the processes shown above can be used to reorder, add, or delete steps. For example, the steps described in this application can be performed in parallel, sequentially, or in a different order, as long as the desired results of the technical solution of this application can be achieved. This is not limited herein.

[0195] The above specific embodiments do not constitute a limitation on the scope of protection of this application. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions can be made according to design requirements and other factors.

Claims

1. A speech recognition method, applied to a vehicle-mounted terminal, comprising: Receive a target voice signal of a first user, and perform voiceprint feature recognition on the target voice signal to obtain a target user identifier corresponding to the target voice signal; Determining a first speech recognition model of the first user based on the target user identifier and at least one speech recognition model, wherein the at least one speech recognition model is generated by a server based on a speech signal sent by the vehicle terminal and returned to the vehicle terminal; Performing speech recognition on the target speech signal according to the first speech recognition model to obtain instruction information corresponding to the target speech signal, and providing services for the first user based on the instruction information.

2. The method according to claim 1, wherein: The performing voiceprint feature recognition on the target voice signal to obtain a target user identifier corresponding to the target voice signal includes: Performing voiceprint feature recognition on the target voice signal to obtain first voiceprint feature information, and determining whether the first voiceprint feature information is included in a locally stored voiceprint feature information set, the voiceprint feature information set being periodically acquired from the server, and the voiceprint feature information set being used to store voiceprint feature information corresponding to each user identifier; If yes, taking the user identifier corresponding to the first voiceprint feature information in the voiceprint feature information set as the target user identifier corresponding to the target voice signal; If not, preset voiceprint feature information satisfying a preset feature condition is selected from the voiceprint feature information set, and a user identifier corresponding to the preset voiceprint feature information is used as a target user identifier corresponding to the target voice signal.

3. The method according to claim 2, after selecting the preset voiceprint feature information satisfying the preset feature condition from the voiceprint feature information set, further comprising: The first voiceprint feature information is sent to the server so that the server updates the voiceprint feature information set.

4. The method according to claim 1, further comprising: The target speech signal is sent to the server, so that the server generates or optimizes a first speech recognition model of the first user based on the target speech signal.

5. A speech recognition method, applied to a server, the method comprising: receiving a voice signal of a second user, wherein the voice signal is sent by the vehicle-mounted terminal; Determining an in-vehicle language model and an in-vehicle acoustic model based on the speech signal, wherein the in-vehicle language model corresponds to the in-vehicle terminal, and the in-vehicle acoustic model corresponds to the second user; Processing the in-vehicle language model and the in-vehicle acoustic model to obtain a second speech recognition model corresponding to the second user; At least one speech recognition model is returned to the in-vehicle terminal, wherein the at least one speech recognition model includes the second speech recognition model.

6. The method according to claim 5, wherein: The determining of the vehicle-mounted language model and the vehicle-mounted acoustic model based on the speech signal comprises: If there is no second speech recognition model corresponding to the second user, an in-vehicle language model and an in-vehicle acoustic model are generated based on the speech signal.

7. The method according to claim 5, wherein: The determining of the vehicle-mounted language model and the vehicle-mounted acoustic model based on the speech signal comprises: If there is a second speech recognition model corresponding to the second user, optimizing an in-vehicle language model and an in-vehicle acoustic model based on the speech signal; The processing of the vehicle-mounted language model and the vehicle-mounted acoustic model to obtain a second speech recognition model corresponding to the second user includes: The optimized in-vehicle language model and the optimized in-vehicle acoustic model are processed to obtain a new speech recognition model corresponding to the second user, and the new speech recognition model is used to replace the second speech recognition model.

8. The method according to any one of claims 5 to 7, wherein: The determining of the vehicle-mounted language model and the vehicle-mounted acoustic model based on the speech signal comprises: Determining an on-board language model based on the general topic model and the on-board topic model; and, The original model is trained based on the signal attribute of the speech signal to obtain a vehicle-mounted acoustic model.

9. The method according to claim 5, further comprising: Receiving second voiceprint feature information of a third user, where the second voiceprint feature information is sent by the vehicle-mounted terminal; Updating the voiceprint feature information set according to the second voiceprint feature information; Send the updated voiceprint feature information set to the vehicle terminal.

10. The method according to claim 9, wherein: The updating of the voiceprint feature information set according to the second voiceprint feature information includes: generating a user identifier corresponding to the second voiceprint feature information as the user identifier of the third user; The user identification of the third user and the second voiceprint feature information are stored in the voiceprint feature information set in correspondence.

11. A speech recognition device, configured in a vehicle-mounted terminal, comprising: A voiceprint recognition module is used to receive a target voice signal of a first user and to recognize the target voice signal. Perform voiceprint feature recognition to obtain a target user identifier corresponding to the target voice signal; A first determination module, configured to determine a first speech recognition model of the first user based on the target user identifier and at least one speech recognition model, wherein the at least one speech recognition model is generated by a server based on a speech signal sent by the vehicle terminal and returned to the vehicle terminal; A speech recognition module is used to perform speech recognition on the target speech signal according to the first speech recognition model, obtain instruction information corresponding to the target speech signal, and provide services for the first user based on the instruction information.

12. A speech recognition device, configured on a server, comprising: A signal receiving module, used to receive a voice signal of a second user, wherein the voice signal is sent by the vehicle-mounted terminal; a second determination module, configured to determine an in-vehicle language model and an in-vehicle acoustic model based on the speech signal, wherein the in-vehicle language model corresponds to the in-vehicle terminal, and the in-vehicle acoustic model corresponds to the second user; a processing module, configured to process the vehicle-mounted language model and the vehicle-mounted acoustic model to obtain a second speech recognition model corresponding to the second user; A returning module is used to return at least one speech recognition model to the vehicle-mounted terminal, wherein the at least one speech recognition model includes the second speech recognition model.

13. A vehicle-mounted terminal, comprising: at least one processor; as well as a memory communicatively connected to the at least one processor; wherein, The memory stores a computer program executable by the at least one processor, and the computer program is executed by the at least one processor so that the at least one processor can perform the speech recognition method according to any one of claims 1 to 4.

14. A server, comprising: at least one processor; as well as a memory communicatively connected to the at least one processor; wherein, The memory stores a computer program executable by the at least one processor, and the computer program is executed by the at least one processor so that the at least one processor can perform the speech recognition method according to any one of claims 5 to 10.

15. A computer-readable storage medium storing computer instructions, wherein the computer instructions are used to enable a processor to implement the speech recognition method according to any one of claims 1 to 10 when executed.

Citation Information

Patent Citations

  • Voice recognition method, server and computer-readable storage medium

    CN110634472A

  • Voice recognition method and device

    CN111785275A

  • Voice processing method and device for user personalized service

    CN112185362A

  • Voice processing method and device, equipment and medium

    CN115472159A

  • Speech recognition method and device, storage medium and electronic equipment

    CN115579012A

Cited By

  • Sound processing method and device applied in vehicle cabin, equipment and medium

    CN120110590A

  • Voiceprint comparison method and device based on large language model, and readable medium

    CN120496537A