Audio response method, device and equipment and computer readable storage medium

By determining the language identifier of the audio to be recognized and obtaining the audio translation model, the problem of customized multi-lingual recognition and response when multiple nationalities use the device is solved, reducing R&D costs and improving the efficiency and accuracy of recognition and response.

CN118553230APending Publication Date: 2024-08-27AVATR CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410654448.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-05-24
Publication Date
2024-08-27

AI Technical Summary

Technical Problem

In situations where people from multiple countries use the same device or multiple people use the same device, the existing technology requires customization of multiple languages ​​for audio recognition and response, resulting in high R&D costs.

Method used

By determining the language identifier of the audio to be recognized, the corresponding audio translation model is obtained, the model is used to determine the semantic identifier, and the audio response results are obtained from the preset semantic space to achieve multi-lingual audio recognition and response.

Benefits of technology

It reduces R&D costs, improves the efficiency and accuracy of audio recognition and response, and adapts to the needs of multi-language environments.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118553230A
    Figure CN118553230A
Patent Text Reader

Abstract

The invention relates to the technical field of audio recognition, and discloses an audio response method, device and equipment and a computer readable storage medium, and the method comprises the steps: determining a first language identifier corresponding to a to-be-recognized audio; obtaining a first audio translation model corresponding to the first language identifier; determining a first semantic identifier corresponding to the to-be-recognized audio through a first audio translation model; and obtaining an audio response result of the to-be-recognized audio from a preset semantic space according to the first semantic identifier. According to the technical scheme, the technical problem that in the prior art, when people in multiple countries use one vehicle or device or multiple people use the vehicle or device, multiple languages need to be customized for audio recognition and response, and consequently the research and development cost is high can be solved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The embodiments of the present invention relate to the field of audio recognition technology, and in particular to an audio response method, device, equipment and computer-readable storage medium. Background Art

[0002] Currently, when a vehicle is used by people from multiple countries, or when multiple people use the same device, customization of each language is required in the vehicle or device for audio recognition and response, resulting in high R&D costs. Summary of the invention

[0003] In view of the above problems, the embodiments of the present invention provide an audio response method, apparatus, device and computer-readable storage medium, which are used to solve the technical problem in the prior art that when a vehicle or device is used by people from multiple countries or multiple people, multiple languages ​​need to be customized for audio recognition and response, resulting in high R&D costs.

[0004] According to one aspect of an embodiment of the present invention, there is provided an audio response method, the method comprising:

[0005] Determine a first language identifier corresponding to the audio to be recognized;

[0006] Acquire a first audio translation model corresponding to the first language identifier;

[0007] Determine a first semantic identifier corresponding to the audio to be recognized by using the first audio translation model;

[0008] An audio response result of the audio to be recognized is obtained from a preset semantic space according to the first semantic identifier.

[0009] In an optional manner, before the step of determining the first language identifier corresponding to the audio to be recognized, the method further includes:

[0010] Acquire audio language feature data from a preset semantic space;

[0011] Using the audio language feature data and the corresponding language probability distribution as input and output of an initial language recognition model, respectively, training the initial language recognition model to obtain a trained language recognition model;

[0012] The step of determining the first language identifier corresponding to the audio to be recognized includes:

[0013] The first language identifier corresponding to the audio to be recognized is determined by the trained language recognition model.

[0014] In an optional manner, before the step of determining the first language identifier corresponding to the audio to be recognized, the method further includes:

[0015] Get multilingual text data;

[0016] Mapping the multilingual text data to language identifiers in a preset semantic space;

[0017] Determining a semantic identifier based on the language identifier;

[0018] An initial audio translation model is trained based on the semantic identifier and the multilingual text data in the preset semantic space to obtain a trained audio translation model.

[0019] In an optional manner, before the step of determining the first language identifier corresponding to the audio to be recognized, the method further includes:

[0020] Determine a number of languages ​​to be identified, and assign a corresponding language identifier to each language to be identified;

[0021] Determining text features corresponding to each language to be recognized;

[0022] A preset semantic space is created, and the language identifier and the text feature mapping are stored in the preset semantic space.

[0023] In an optional manner, the step of creating a preset semantic space and storing the language identifier and the text feature mapping in the preset semantic space includes:

[0024] Creating a preset semantic space, and creating a semantic identifier in the preset semantic space;

[0025] The language identifier, the text feature and the semantic identifier are mapped and stored in the preset semantic space.

[0026] In an optional manner, after the step of acquiring the audio response result of the audio to be recognized from the preset semantic space according to the first semantic identifier, the step further includes:

[0027] Sending a hot update request to the cloud, wherein the hot update request is used to request the cloud to feedback a hot update interface;

[0028] The language recognition model, the audio translation model and the preset semantic space are updated based on the hot update interface.

[0029] In an optional manner, the step of acquiring the audio response result of the audio to be recognized from a preset semantic space according to the first semantic identifier includes:

[0030] Acquire response text information of the audio to be recognized from a preset semantic space according to the first semantic identifier;

[0031] The response text information is converted into a corresponding response audio to obtain an audio response result of the audio to be recognized.

[0032] According to another aspect of an embodiment of the present invention, there is provided an audio response device, comprising:

[0033] A language identification determination module, used to determine a first language identification corresponding to the audio to be recognized;

[0034] A model acquisition module, used to acquire a first audio translation model corresponding to the first language identifier;

[0035] A semantic identifier determination module, used to determine a first semantic identifier corresponding to the audio to be recognized by using the first audio translation model;

[0036] An audio response module is used to obtain an audio response result of the audio to be recognized from a preset semantic space according to the first semantic identifier.

[0037] According to another aspect of an embodiment of the present invention, there is provided an audio response device, comprising: a processor, a memory, a communication interface and a communication bus, wherein the processor, the memory and the communication interface communicate with each other via the communication bus;

[0038] The memory is used to store at least one executable instruction, and the executable instruction enables the processor to perform the operation of the audio response method as described above.

[0039] According to another aspect of the present invention, a computer-readable storage medium is provided, wherein at least one executable instruction is stored in the storage medium. When the executable instruction is executed on an audio response device / apparatus, the audio response device / apparatus performs the operation of the audio response method as described above.

[0040] The present invention discloses the steps of determining a first language identifier corresponding to audio to be recognized; obtaining a first audio translation model corresponding to the first language identifier; determining a first semantic identifier corresponding to the audio to be recognized through the first audio translation model; and obtaining an audio response result of the audio to be recognized from a preset semantic space according to the first semantic identifier. Since the present invention determines the first semantic identifier corresponding to the audio to be recognized through the first audio translation model, and obtains the audio response result of the audio to be recognized from the preset semantic space according to the first semantic identifier, the technical problem in the prior art that when a vehicle or equipment is used by people from multiple countries or multiple people, it is necessary to customize multiple languages ​​for audio recognition and response, resulting in high R&D costs.

[0041] The above description is only an overview of the technical solution of the embodiment of the present invention. In order to more clearly understand the technical means of the embodiment of the present invention, it can be implemented in accordance with the contents of the specification. In order to make the above and other purposes, features and advantages of the embodiment of the present invention more obvious and easy to understand, the specific implementation methods of the present invention are listed below. BRIEF DESCRIPTION OF THE DRAWINGS

[0042] The accompanying drawings are only used to illustrate the embodiments and are not to be considered as limiting the present invention. In addition, the same reference symbols are used to represent the same components throughout the accompanying drawings. In the accompanying drawings:

[0043] Figure 1 A schematic flow chart of a first embodiment of an audio response method provided by the present invention is shown;

[0044] Figure 2 A schematic flow chart of a second embodiment of the audio response method provided by the present invention is shown;

[0045] Figure 3 A schematic flow chart of a third embodiment of the audio response method provided by the present invention is shown;

[0046] Figure 4 The flowchart of the audio response method provided by the present invention is shown;

[0047] Figure 5 A schematic structural diagram of a first embodiment of an audio response device provided by the present invention is shown;

[0048] Figure 6 A schematic structural diagram of an embodiment of an audio response device provided by the present invention is shown. DETAILED DESCRIPTION

[0049] Exemplary embodiments of the present invention will be described in more detail below with reference to the accompanying drawings. Although exemplary embodiments of the present invention are shown in the drawings, it should be understood that the present invention can be implemented in various forms and should not be limited to the embodiments set forth herein.

[0050] Figure 1 FIG. 1 is a flow chart showing a first embodiment of an audio response method of the present invention, the method being performed by an audio response device. Figure 1 As shown, the method comprises the following steps:

[0051] Step S10: Determine a first language identifier corresponding to the audio to be recognized.

[0052] It should be noted that the executor of the method of this embodiment may be an audio response device in a vehicle having data processing, network communication and program running functions. Here, the audio response method provided in this embodiment and the following embodiments is specifically described using an audio response device (hereinafter referred to as the device).

[0053] In one implementation, the audio to be recognized may be in any language. In this embodiment, the language of the audio may include but is not limited to Chinese, English, French, German, Spanish, etc.

[0054] In one implementation, the first language identifier may be a language identifier corresponding to the audio to be recognized, wherein the language identifier may be a unique identifier pre-assigned to each language.

[0055] In one implementation, the device may first determine the range of languages ​​that need to be supported, such as Chinese, English, French, German, Spanish, etc., and design a language identification system to assign a unique identifier (i.e., language identifier) ​​to each language, and then maintain a language comparison table to associate the name of each language with its corresponding identifier. In addition, in this embodiment, a system for maintaining a language comparison table may be established to update and manage the mapping relationship between the IDs of different languages ​​and the language names, and provide a management interface or API to facilitate administrators to add, delete, or modify language mapping relationships.

[0056] In actual applications, when it is necessary to respond to the audio to be recognized, the device can input the audio to be recognized into the language recognition model, identify the language of the audio to be recognized through the language recognition model, and search the language identifier corresponding to the language name in the language comparison table according to the language name of the language, thereby determining the first language identifier corresponding to the audio to be recognized.

[0057] Step S20: Acquire a first audio translation model corresponding to the first language identifier.

[0058] In one implementation, the first audio translation model is a model used to translate the audio to be recognized.

[0059] In actual applications, the device can design corresponding audio translation models for different languages. When translating the audio to be recognized later, the first audio translation model can be determined according to the first language identifier that uniquely identifies the language in the audio to be recognized, and the audio to be recognized can be translated through the first audio translation model.

[0060] Step S30: Determine a first semantic identifier corresponding to the audio to be recognized by using the first audio translation model.

[0061] In one implementation, the first semantic identifier may be a semantic identifier of the audio to be identified in a preset semantic space.

[0062] Step S40: Acquire an audio response result of the audio to be recognized from a preset semantic space according to the first semantic identifier.

[0063] In one implementation, the preset semantic space may be a pre-created space for storing text features in different languages ​​and their corresponding semantic identifiers.

[0064] Further, the step S40 includes: acquiring response text information of the audio to be recognized from a preset semantic space according to the first semantic identifier; and converting the response text information into corresponding response audio to obtain an audio response result of the audio to be recognized.

[0065] In one embodiment, the above-mentioned response text information can be data structure information that responds to the audio to be recognized. Among them, the response text information in different languages ​​and its corresponding semantic identifiers are mapped and stored in the semantic space. In actual applications, after the device inputs the audio to be recognized into the first audio translation model, the first audio translation model can output the first semantic identifier corresponding to the audio to be recognized, so that the device can search the corresponding response text information bound to the semantic identifier from the preset semantic space through the first semantic identifier, and convert the response text information into audio and return it to achieve a response to the audio to be recognized.

[0066] In a specific implementation, the response copy information can be: title semantic ID EN EN_response CN THAIUR…go home_100001go to home successful…, where "go home_100001" represents the above semantic identifier, and "go to home successful" represents the above response copy information. The EN field is used by the audio translation model to identify that "go to home" corresponds to "go home_100001", and the EN_response content is used to return the string text content. Specifically, if the first audio translation model translates into: Go to home->Go home_100001 (i.e. the above semantic identifier), it recognizes that the Go Home ID execution instruction returns->Chinese: Execution is successful, and according to the semantic identifier, the corresponding English is found from the preset semantic space: successful, and then the first audio translation model can translate the English word into English audio and return it to obtain the audio response result corresponding to the audio to be recognized.

[0067] The present embodiment discloses determining a first language identifier corresponding to audio to be recognized; obtaining a first audio translation model corresponding to the first language identifier; determining a first semantic identifier corresponding to the audio to be recognized through the first audio translation model; and obtaining an audio response result of the audio to be recognized from a preset semantic space according to the first semantic identifier. Since the present embodiment determines the first semantic identifier corresponding to the audio to be recognized through the first audio translation model, and obtains the audio response result of the audio to be recognized from the preset semantic space according to the first semantic identifier, the technical problem in the prior art that when a vehicle or equipment is used by people from multiple countries or multiple people, it is necessary to customize multiple languages ​​for audio recognition and response, resulting in high R&D costs.

[0068] Figure 2 FIG. 2 is a flow chart showing a second embodiment of the audio response method provided by the present invention, wherein the method is executed by an audio response device. Figure 2 As shown, in this embodiment, before step S10, the method further includes:

[0069] Step S011: Acquire audio language feature data from a preset semantic space.

[0070] In one embodiment, the above-mentioned audio language feature data may be feature data corresponding to audio of multiple languages. The feature data in this embodiment may include, but are not limited to, Mel-frequency Cepstral Coefficients (MFCC), Mel-spectrogram, etc. In practical applications, the device can collect a large amount of multilingual speech data and store it in a preset semantic space, covering various languages ​​that need to be supported, and then pre-process the collected multilingual speech data, including audio cleaning, cropping and marking, so that the language recognition model can accurately identify the language of the speech. Then, features can be extracted from the pre-processed audio to obtain audio language feature data, wherein commonly used features include MFCC and Mel-spectrogram, etc., to ensure that the feature extraction process can retain the key information in the speech, so that the model can accurately identify the language.

[0071] Step S012: using the audio language feature data and the corresponding language probability distribution as the input and output of an initial language recognition model respectively, training the initial language recognition model to obtain a trained language recognition model.

[0072] In one implementation, the language probability distribution may be a probability distribution for representing the similarity between the audio language features and the categories corresponding to each language.

[0073] In one embodiment, the above-mentioned initial language recognition model can be an untrained convolutional neural network (CNN). In practical applications, the device can be trained using a deep learning model of convolutional neural network multi-language recognition to obtain a language recognition model. Specifically, the device can use the extracted speech features of multi-language speech as the input of the model, and design the output of the model as the probability distribution of the corresponding language, and then use the collected multi-language speech data to train the initial language recognition model, and use appropriate loss functions and optimization algorithms to optimize parameters to obtain the trained language recognition model. Thereafter, the trained language recognition model can also be evaluated using a validation set to check the recognition performance of the model in different languages, and the model can be tuned according to the evaluation results, which may involve adjusting the model structure, adjusting hyperparameters, or increasing the amount of training data, etc., so as to improve the accuracy of language recognition, and then improve the accuracy of responding to the audio to be recognized.

[0074] Accordingly, the step S10 includes:

[0075] Step S10 ′: determining a first language identifier corresponding to the audio to be recognized by using the trained language recognition model.

[0076] In actual applications, the device can input the audio to be recognized into a trained language recognition model to determine the language of the audio to be recognized through the trained language recognition model, and search the language identifier corresponding to the language name in the language comparison table according to the language name of the language, thereby determining the first language identifier corresponding to the audio to be recognized.

[0077] In one embodiment, before step S10, the method further includes: acquiring multilingual text data; mapping the multilingual text data to a language identifier in a preset semantic space; determining a semantic identifier based on the language identifier; and training an initial audio translation model based on the semantic identifier and the multilingual text data in the preset semantic space to obtain a trained audio translation model.

[0078] In one implementation, the multilingual text data is text data corresponding to different languages.

[0079] In one implementation, the initial audio translation model may be an untrained XLM cross-language translation deep learning model, which is not limited in this embodiment.

[0080] In practical applications, before training the initial audio translation model, the device can first collect a large amount of multilingual text data to cover the various languages ​​that need to be supported in this solution, and pre-process the collected text data, including word segmentation, stem extraction and tagging, so that the initial audio translation model can accurately understand the text content. Then, the preset semantic space can be used to map the collected multilingual text to the language identifier in the unified semantic space to ensure that the text of each language can be accurately mapped to the corresponding semantic space identifier for subsequent translation and processing. When training the model, the XLM cross-language translation deep learning model can be selected as the initial audio translation model, and the text mapped to the unified semantic space can be used as the input of the model. The output of the model is designed to be the text of the corresponding language, and then the collected multilingual text data is used to train the initial audio translation model, and the appropriate loss function and optimization algorithm are used for parameter optimization. Afterwards, the device can also use the validation set to evaluate the trained audio translation model, check the model's translation performance in different languages, and tune the model based on the evaluation results, which may involve adjusting the model structure, adjusting hyperparameters, or increasing the amount of training data, etc., thereby improving the accuracy of audio translation and, in turn, improving the accuracy of responding to the audio to be recognized.

[0081] In this embodiment, it is disclosed that audio language feature data is obtained from a preset semantic space; the initial language recognition model is trained using the audio language feature data and the corresponding language probability distribution as the input and output of the initial language recognition model, thereby obtaining a trained language recognition model; the first language identifier corresponding to the audio to be recognized is determined by the trained language recognition model, so that when performing an audio response, the language identifier corresponding to the audio to be recognized can be directly determined by the trained language recognition model, thereby improving the efficiency and accuracy of the audio response.

[0082] Figure 3 FIG. 2 is a flow chart of a third embodiment of an audio response method provided by the present invention, wherein the method is executed by an audio response device. Figure 3 As shown, in this embodiment, before step S10, the method further includes:

[0083] Step S021: determining a number of languages ​​to be recognized, and assigning a corresponding language identifier to each language to be recognized.

[0084] In one embodiment, the above-mentioned language to be recognized can be any language, such as Chinese, English, French, German, Spanish, etc., which is not limited in this embodiment. In practical applications, after determining the languages ​​to be recognized that the vehicle or device needs to support, a unique language identifier can be assigned to each language to be recognized.

[0085] Step S022: Determine text features corresponding to each language to be recognized.

[0086] In one implementation, the above text features are text feature data in different languages.

[0087] Step S023: creating a preset semantic space, and storing the language identifier and the text feature mapping in the preset semantic space.

[0088] Specifically, the step S023 includes: creating a preset semantic space, and creating a semantic identifier in the preset semantic space; and mapping and storing the language identifier, the text feature and the semantic identifier in the preset semantic space.

[0089] In a specific implementation, this embodiment can create a preset semantic space in the database (Mysql) to store text features in different languages ​​and their corresponding semantic identifiers. At the same time, a database model can also be designed, including fields such as language ID, text features, and semantic space ID. In addition, the performance and scalability of the database must be ensured to support large-scale multilingual data storage and retrieval. For each supported language, the device can create a semantic identifier in the preset semantic space and bind it to the text features of the specific language. Through a mapping algorithm or model, the text features are converted into corresponding semantic IDs, and the accuracy and stability of the mapping are ensured. In addition, the device can automatically bind multilingual texts to semantic IDs through scripts or tools, thereby improving efficiency and accuracy.

[0090] In one embodiment, after step S40, the method further includes: sending a hot update request to the cloud, wherein the hot update request is used to request the cloud to feedback a hot update interface; and updating the language recognition model, the audio translation model and the preset semantic space based on the hot update interface.

[0091] In one embodiment, the hot update request may be a request to instruct the cloud to feedback the hot update interface to update the data in the model or semantic space. In practical applications, this solution can set the end to start up and request the cloud according to business needs, initiate a hot update request to request the hot update API, and when there is network communication, request the cloud to obtain the latest version of the audio translation model, language recognition model and semantic space data content to update the language recognition model, audio translation model and preset semantic space. Among them, hot update is a service that records the latest available audio translation model, language recognition model and semantic space data.

[0092] In the specific implementation, refer to Figure 4 , Figure 4 FIG. 2 shows an execution flow chart of the audio response method provided by the present invention. Figure 4 As shown, in this embodiment, the language recognition model and the audio translation model can be pre-trained, and a semantic space can be created, wherein the device can obtain the required language audio language features from the semantic space to train the language recognition model; the audio translation model can support Chinese, English, Russian, Thai and other languages; the semantic space maps and maintains information such as language identifiers, semantic identifiers and text features of languages ​​corresponding to multiple languages. When responding to the audio to be recognized, the audio to be recognized can be uploaded to the language recognition model from the end side to identify the language corresponding to the audio to be recognized, and the corresponding audio translation model can be called according to the language corresponding to the audio to be recognized, and then the audio to be recognized can be input into the audio translation model, at which time the audio translation model can output the semantic identifier corresponding to the audio to be recognized, so that the device can obtain the response text information of the audio to be recognized from the semantic space according to the semantic identifier, and convert the response text information into audio for broadcasting through the audio translation model, thereby realizing the response to the audio to be recognized. In addition, this solution can also set the end to start the request cloud according to business needs, initiate HTTP request hot update API, and request to obtain the latest version of the audio translation model, language recognition model and semantic space data content when there is network communication.

[0093] In this embodiment, it is disclosed to determine a number of languages ​​to be recognized and assign a corresponding language identifier to each language to be recognized; determine the text features corresponding to each language to be recognized; create a preset semantic space, and store the language identifier and text feature mapping in the preset semantic space, thereby improving the efficiency and accuracy of the audio response.

[0094] Figure 5 FIG. 2 shows a schematic diagram of the structure of an embodiment of the audio response device of the present invention. Figure 5 As shown, the device 10 includes: a language identification determination module 101, a model acquisition module 102, a semantic identification determination module 103 and an audio response module 104;

[0095] The language identification determination module 101 is used to determine a first language identification corresponding to the audio to be recognized;

[0096] The model acquisition module 102 is used to acquire a first audio translation model corresponding to the first language identifier;

[0097] The semantic identifier determination module 103 is used to determine the first semantic identifier corresponding to the audio to be recognized through the first audio translation model;

[0098] The audio response module 104 is configured to obtain an audio response result of the audio to be recognized from a preset semantic space according to the first semantic identifier.

[0099] In an optional manner, the model acquisition module 102 is further used to acquire audio language feature data from a preset semantic space; use the audio language feature data and the corresponding language probability distribution as input and output of an initial language recognition model, train the initial language recognition model, and obtain a trained language recognition model;

[0100] The language identification determination module 101 is further configured to determine a first language identification corresponding to the audio to be identified by using the trained language identification model.

[0101] In an optional manner, the model acquisition module 102 is also used to acquire multilingual text data; map the multilingual text data to a language identifier in a preset semantic space; determine a semantic identifier based on the language identifier; and train an initial audio translation model based on the semantic identifier and the multilingual text data in the preset semantic space to obtain a trained audio translation model.

[0102] In an optional manner, the language identification determination module 101 is also used to determine a number of languages ​​to be identified, and assign a corresponding language identification to each language to be identified; determine the text features corresponding to each language to be identified; create a preset semantic space, and store the language identification and the text feature mapping in the preset semantic space.

[0103] In an optional manner, the language identification determination module 101 is further used to create a preset semantic space and create a semantic identification in the preset semantic space; and map and store the language identification, the text feature and the semantic identification into the preset semantic space.

[0104] In an optional manner, the audio response module 104 is also used to send a hot update request to the cloud, and the hot update request is used to request the cloud to feedback a hot update interface; based on the hot update interface, the language recognition model, the audio translation model and the preset semantic space are updated.

[0105] In an optional manner, the audio response module 104 is further used to obtain response text information of the audio to be identified from a preset semantic space according to the first semantic identifier; and convert the response text information into corresponding response audio to obtain an audio response result of the audio to be identified.

[0106] The audio response device of the present embodiment discloses determining a first language identifier corresponding to the audio to be recognized; obtaining a first audio translation model corresponding to the first language identifier; determining a first semantic identifier corresponding to the audio to be recognized through the first audio translation model; and obtaining an audio response result of the audio to be recognized from a preset semantic space according to the first semantic identifier. Since the present embodiment determines the first semantic identifier corresponding to the audio to be recognized through the first audio translation model, and obtains the audio response result of the audio to be recognized from the preset semantic space according to the first semantic identifier, the technical problem in the prior art that when a vehicle or equipment is used by people from multiple countries or multiple people, it is necessary to customize multiple languages ​​for audio recognition and response, resulting in high research and development costs.

[0107] Figure 6 The schematic diagram of the structure of the embodiment of the audio response device of the present invention is shown. The specific embodiment of the present invention does not limit the specific implementation of the audio response device.

[0108] like Figure 6 As shown, the audio response device may include: a processor (processor) 402 , a communications interface (Communications Interface) 404 , a memory (memory) 406 , and a communication bus 408 .

[0109] The processor 402, the communication interface 404, and the memory 406 communicate with each other via the communication bus 408. The communication interface 404 is used to communicate with other devices such as a client or other server network elements. The processor 402 is used to execute the program 410, which can specifically execute the relevant steps in the above-mentioned embodiment of the audio response method.

[0110] Specifically, the program 410 may include program code including computer executable instructions.

[0111] Processor 402 may be a central processing unit (CPU), or an application-specific integrated circuit (ASIC), or one or more integrated circuits configured to implement the embodiments of the present invention. The one or more processors included in the audio response device may be processors of the same type, such as one or more CPUs; or processors of different types, such as one or more CPUs and one or more ASICs.

[0112] The memory 406 is used to store the program 410. The memory 406 may include a high-speed RAM memory, and may also include a non-volatile memory (non-volatile memory), such as at least one disk memory.

[0113] An embodiment of the present invention provides a computer-readable storage medium storing at least one executable instruction. When the executable instruction is executed on an audio response device / apparatus, the audio response device / apparatus executes the audio response method in any of the above method embodiments.

[0114] The algorithms or displays provided herein are not inherently related to any particular computer, virtual system or other device. In addition, the embodiments of the present invention are not directed to any particular programming language.

[0115] In the description provided herein, a large number of specific details are described. However, it is understood that embodiments of the present invention can be practiced without these specific details. Similarly, in order to simplify the present invention and help understand one or more of the various inventive aspects, in the above description of exemplary embodiments of the present invention, the various features of the embodiments of the present invention are sometimes grouped together into a single embodiment, figure, or description thereof. Wherein, the claims that follow the specific embodiment are hereby expressly incorporated into the specific embodiment, wherein each claim itself is a separate embodiment of the present invention.

[0116] Those skilled in the art will appreciate that the modules in the devices in the embodiments may be adaptively changed and arranged in one or more devices different from the embodiments. The modules or units or components in the embodiments may be combined into one module or unit or component, and further may be divided into a plurality of submodules or subunits or subcomponents. Except that at least some of such features and / or processes or units are mutually exclusive.

[0117] It should be noted that the above embodiments illustrate the present invention rather than limit it, and that those skilled in the art may devise alternative embodiments without departing from the scope of the appended claims. In the claims, any reference symbol between brackets shall not be construed as a limitation on the claims. The word "comprising" does not exclude the presence of elements or steps not listed in the claims. The word "one" or "an" preceding an element does not exclude the presence of a plurality of such elements. The present invention may be implemented by means of hardware comprising a number of different elements and by means of a suitably programmed computer. In a unit claim enumerating a number of devices, several of these devices may be embodied by the same hardware item. The use of the words first, second, and third, etc. does not indicate any order. These words may be interpreted as names. The steps in the above embodiments, unless otherwise specified, should not be understood as limitations on the order of execution.

Claims

1. An audio response method, characterized in that: The method comprises: Determine a first language identifier corresponding to the audio to be recognized; Acquire a first audio translation model corresponding to the first language identifier; Determine a first semantic identifier corresponding to the audio to be recognized by using the first audio translation model; An audio response result of the audio to be recognized is obtained from a preset semantic space according to the first semantic identifier.

2. The method according to claim 1, characterized in that Before the step of determining the first language identifier corresponding to the audio to be recognized, the method further includes: Acquire audio language feature data from a preset semantic space; Using the audio language feature data and the corresponding language probability distribution as input and output of an initial language recognition model, respectively, training the initial language recognition model to obtain a trained language recognition model; The step of determining the first language identifier corresponding to the audio to be recognized includes: The first language identifier corresponding to the audio to be recognized is determined by the trained language recognition model.

3. The method according to claim 1, characterized in that Before the step of determining the first language identifier corresponding to the audio to be recognized, the method further includes: Get multilingual text data; Mapping the multilingual text data to language identifiers in a preset semantic space; Determining a semantic identifier based on the language identifier; An initial audio translation model is trained based on the semantic identifier and the multilingual text data in the preset semantic space to obtain a trained audio translation model.

4. The method according to any one of claims 1 to 3, characterized in that Before the step of determining the first language identifier corresponding to the audio to be recognized, the method further includes: Determine a number of languages ​​to be identified, and assign a corresponding language identifier to each language to be identified; Determining text features corresponding to each language to be recognized; A preset semantic space is created, and the language identifier and the text feature mapping are stored in the preset semantic space.

5. The method according to claim 4, characterized in that The step of creating a preset semantic space and storing the language identifier and the text feature mapping in the preset semantic space includes: Creating a preset semantic space, and creating a semantic identifier in the preset semantic space; The language identifier, the text feature and the semantic identifier are mapped and stored in the preset semantic space.

6. The method according to claim 4, characterized in that After the step of acquiring the audio response result of the audio to be recognized from the preset semantic space according to the first semantic identifier, the method further includes: Sending a hot update request to the cloud, wherein the hot update request is used to request the cloud to feedback a hot update interface; The language recognition model, the audio translation model and the preset semantic space are updated based on the hot update interface.

7. The method according to claim 1, characterized in that The step of acquiring the audio response result of the audio to be recognized from the preset semantic space according to the first semantic identifier includes: Acquire response text information of the audio to be recognized from a preset semantic space according to the first semantic identifier; The response text information is converted into a corresponding response audio to obtain an audio response result of the audio to be recognized.

8. An audio response device, characterized in that: The device comprises: A language identification determination module, used to determine a first language identification corresponding to the audio to be recognized; A model acquisition module, used to acquire a first audio translation model corresponding to the first language identifier; A semantic identifier determination module, used to determine a first semantic identifier corresponding to the audio to be recognized by using the first audio translation model; An audio response module is used to obtain an audio response result of the audio to be recognized from a preset semantic space according to the first semantic identifier.

9. An audio response device, characterized in that include: A processor, a memory, a communication interface and a communication bus, wherein the processor, the memory and the communication interface communicate with each other via the communication bus; The memory is used to store at least one executable instruction, and the executable instruction enables the processor to perform the operation of the audio response method as claimed in any one of claims 1 to 7.

10. A computer-readable storage medium, characterized in that: The storage medium stores at least one executable instruction, and when the executable instruction is executed on the audio response device / apparatus, the audio response device / apparatus performs the operation of the audio response method according to any one of claims 1 to 7.