Simultaneous translation and simultaneous transmission method and system for audio and video call, and computer device

By establishing point-to-point voice call channels and sentence segmentation processing technology, it solves the problems of high cost, poor accuracy, and low synchronization rate of voice call translation in multi-language environments, achieving real-time and accurate cross-language communication, and adapting to the communication needs of different language environments. .

CN118741029APending Publication Date: 2024-10-01BEIJING AITRAN TECHNOLOGY CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410880331.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-02
Publication Date
2024-10-01

AI Technical Summary

Technical Problem

In the existing technology, voice call translation in multi-language environments has high costs, poor accuracy, low synchronization rate, and insufficient flexibility, making it unable to meet the simultaneous interpretation needs of different language environments.

Method used

By establishing a point-to-point voice call channel, the voice information is obtained and segmented, converted into text segments, translated based on the target language, and the target speech segments are generated, and sent and played in chronological order to ensure the orderly transmission and reception of information.

Benefits of technology

It achieves real-time, accurate and smooth cross-language communication, improves the convenience and practicality of cross-language communication, and adapts to the communication needs of different language environments.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118741029A_ABST
    Figure CN118741029A_ABST
Patent Text Reader

Abstract

The invention discloses a simultaneous translation and simultaneous transmission method and system for an audio and video call, and a computer device. The method comprises the following steps: establishing a point-to-point voice communication channel; acquiring voice information of a first call end; segmenting the voice information to obtain N session voice segments; converting the N session voice segments into N text segments according to a time sequence; translating the N character text segments based on a target language of the first call terminal to obtain N character text translation information; obtaining N target voice segments based on the N pieces of text translation information; sending the N target voice segments to a second call end according to a time sequence based on the point-to-point voice call channel; and the second call end sequentially plays the N target voice segments according to the time sequence. According to the method, simultaneous translation and simultaneous transmission of audio and video calls can be realized, the real-time performance is high, the synchronization rate is high, the smoothness of simultaneous translation and simultaneous transmission is high, the accuracy rate is high, and in addition, voice calls in a multi-language environment can be met.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the field of communication technology, and in particular to a method and system for simultaneous interpretation of audio and video calls, and a computer device. Background Art

[0002] With the acceleration of globalization and the rapid development of information technology, voice calls in multilingual environments are indeed becoming more and more important.

[0003] People need to communicate with people from different language backgrounds at work and in daily life, which requires more efficient communication methods. However, current real-time translation technology still has some challenges and problems. The traditional three-party call mode requires the participation of professional translators, which not only increases the cost of the call, but also places high demands on the professional level and physical strength of the translators. Even for professional translators, the accuracy and completeness of the translation may be affected due to language differences, cultural differences or professional terminology during the real-time translation process. Although some third-party translation software can provide machine translation services, the access process of these software is often more complicated. Users need to make a series of settings, which has poor flexibility and cannot quickly adapt to different scenarios and needs, which will also lead to poor user experience and reduce the efficiency of calls. Summary of the invention

[0004] In view of this, the embodiments of the present disclosure provide a simultaneous translation and interpretation method and system for audio and video calls, and a computer device, which can solve the problems existing in the prior art such as high translation cost, poor simultaneous translation accuracy, low synchronization rate, poor flexibility, and inability to meet the simultaneous translation and interpretation needs in different language environments.

[0005] In a first aspect, the embodiments of the present disclosure provide a method for simultaneous interpretation of an audio or video call, which adopts the following technical solution:

[0006] Establish a point-to-point voice call channel;

[0007] YY+242178P

[0008] Obtaining the voice information of the first call end;

[0009] Segmenting the voice information to obtain N conversation voice segments;

[0010] Converting the N conversation voice segments into N text segments in chronological order;

[0011] Based on the target language of the first call end, the N text segments are translated to obtain N text translation information;

[0012] Obtaining N target speech segments based on the N text translation information;

[0013] Based on the point-to-point voice call channel, sending the N target voice segments to the second call end in time sequence;

[0014] The second calling end plays the N target voice segments in sequence according to the time sequence.

[0015] Optionally, establishing a point-to-point voice call channel includes:

[0016] Authenticating the first call end and the second call end respectively;

[0017] The first calling end that meets the certification and the second calling end that meets the certification respectively establish a two-way streaming media channel with the streaming media forwarding server.

[0018] Optionally, the authentication method includes: authenticating by one or more of a text message verification code, an email verification code, biometric technology, a user name and a password.

[0019] Optionally, segmenting the voice information to obtain N conversation voice segments includes:

[0020] Acquire environmental information of the first call end based on the voice information; the environmental information includes a plurality of environmental sound signals;

[0021] obtaining environmental classification information based on the environmental information;

[0022] Determining a sounding state of the first call end based on the voice information and the environment classification information;

[0023] According to the utterance state and the voice pause setting information, the voice information is segmented to obtain N conversation voice segments;

[0024] The voice pause setting information includes one or more of a sentence pause duration and a maximum duration of a sentence without a pause; N≥1.

[0025] Optionally, obtaining environmental classification information based on the environmental information includes:

[0026] Performing noise reduction processing on the environmental information to obtain a first sound signal;

[0027] Preprocessing the first sound signal to obtain a second sound signal;

[0028] Acquire characteristic information of the second sound signal; the characteristic information includes one or more of sound frequency and sound loudness;

[0029] A preset classifier is trained using a machine learning algorithm, and the feature information is analyzed based on the trained preset classifier and a preset labeled data set to obtain environmental classification information.

[0030] Optionally, the determining the sounding state of the first call end based on the voice information and the environment classification information includes:

[0031] Continuously collecting at least two environmental sound samples in the voice information at a preset interval;

[0032] The environmental sound sample is analyzed using a preset strategy to determine the sound emission state; the sound emission state includes a sound state or a silent state.

[0033] Optionally, the adopting a preset strategy to analyze the environmental sound sample to determine the sound emission state includes:

[0034] Based on the environmental classification information, determining an environmental threshold;

[0035] The environmental sound sample is analyzed by using a continuous value method, and if the environmental values ​​corresponding to the environmental sound samples collected M times continuously are all greater than the environmental threshold, it is determined that the sound emission state is a sound state;

[0036] Alternatively, the environmental sound sample is analyzed by a probability value method, and if the environmental values ​​corresponding to P environmental sound samples among the N environmental sound samples collected continuously are all greater than the environmental threshold, it is determined that the sound emission state is a sound state;

[0037] N>M, P=N-1.

[0038] Optionally, if the environment classification information is a quiet environment class, the environment threshold is set to a first value;

[0039] If the environment classification information is a noisy environment type, the environment threshold is set to a second value, and the second value is greater than the first value.

[0040] Optionally, the sentence segmentation processing of the voice information according to the utterance state and the voice pause setting information includes:

[0041] If the continuous duration of the silent state exceeds the pause duration of the sentence, any point in the continuous stage of the silent state is used as a punctuation point for sentence punctuation processing;

[0042] The continuous duration is the product of the interval duration of the collected environmental sound samples and the number of collected samples.

[0043] Optionally, the method further includes: adjusting the voice pause setting information according to the professionalism of the content of the voice information.

[0044] Optionally, sending the N target voice segments to the second call end in chronological order based on the point-to-point voice call channel includes:

[0045] The N target speech segments are synthesized with the N conversation speech segments to obtain N superimposed speech segments;

[0046] Based on the point-to-point voice call channel, sending the N superimposed voice segments to the second call end in time sequence;

[0047] Among them, in the superimposed speech segment, the conversation speech segment is the background sound, the corresponding target speech segment is the main sound, and the set volume of the target speech segment is higher than the set volume of the conversation speech segment.

[0048] Optionally, the second calling end plays the N target voice segments in sequence according to the time sequence, including:

[0049] According to the setting requirements of the second call end, determine whether the background sound needs to be played, and if so, play the N superimposed voice segments in sequence according to the time sequence;

[0050] If not, the superimposed voice segments are separated to obtain N target voice segments, and the second calling end plays the N target voice segments in sequence according to the time sequence.

[0051] Optionally, a plurality of the point-to-point voice call channels are established, and the plurality of the point-to-point voice call channels are channels established between the plurality of the second call ends and the first call end;

[0052] The language can be set correspondingly at the second call end and the first call end.

[0053] Optionally, the simultaneous translation and interpretation method further includes:

[0054] Acquire language setting information of the first calling terminal and a plurality of the second calling terminals;

[0055] Based on the language setting information, the language with the largest number of settings is acquired, recorded as the main language, and the main language is used as the language of the target speech segment;

[0056] If the set language of the second call end is inconsistent with the main language, the N target voice segments and the N conversation voice segments are synthesized and processed separately to obtain N superimposed voice segments; based on the multiple point-to-point voice call channels, the N superimposed voice segments are sent to the multiple second call ends respectively; they are played in each second call end according to the time sequence; in the superimposed voice segment, the conversation voice segment is the background sound, the corresponding target voice segment is the main sound, and the set volume of the target voice segment is higher than the set volume of the conversation voice segment.

[0057] Optionally, the simultaneous translation and interpretation method further includes: sending the N target voice segments and the N text translation information to the second call end in chronological order based on the point-to-point voice call channel;

[0058] The second calling end plays the N target voice segments and the N text translation information in sequence according to time sequence; wherein each target voice segment is played synchronously with the corresponding text translation information.

[0059] In a second aspect, the embodiments of the present disclosure further provide a simultaneous translation and interpretation system for audio and video calls, including the following technical solutions:

[0060] The first conversation end is used to obtain voice information of the first conversation end, segment the voice information to obtain N conversation voice segments, convert the N conversation voice segments into N text segments in chronological order, translate the N text segments based on the target language of the first conversation end to obtain N text translation information, and obtain N target voice segments based on the N text translation information;

[0061] An information forwarding server, configured to establish a point-to-point voice call channel, and send the N target voice segments to the second call end in chronological order based on the point-to-point voice call channel;

[0062] The second conversation end is used for the second conversation end to play the N target voice segments in sequence according to the time sequence.

[0063] Optionally, the second conversation end is further used to broadcast the target voice segment according to a preset instruction based on a preset or operation of a user corresponding to the second conversation end.

[0064] Optionally, the simultaneous translation and interpretation system further includes an intelligent voice and semantic translation gateway;

[0065] The intelligent speech semantic translation gateway comprises:

[0066] Input and output module, used to receive voice information, receive the target language preset by the first call end, YY+242178P

[0067] Sending the target speech segment to the second conversation end;

[0068] A routing rule engine, used to determine a third-party translation interface to be called, and to translate the received text segment through the third-party translation interface to obtain text translation information;

[0069] A cache database is used to store text translation information obtained by calling a third-party translation interface;

[0070] A retrieval model, used to retrieve corresponding text translation information from the cache database;

[0071] The interface connection layer is used to exchange data with the third-party translation interface.

[0072] In a third aspect, the embodiments of the present disclosure further provide a computer device, which adopts the following technical solution:

[0073] The computer device comprises:

[0074] at least one processor; and,

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

[0076] The memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can execute any of the above-mentioned simultaneous interpretation and translation methods for audio and video calls.

[0077] In a fourth aspect, an embodiment of the present disclosure further provides a computer-readable storage medium, which stores computer instructions, and the computer instructions are used to enable a computer to execute any of the above-mentioned simultaneous translation and interpretation methods for audio and video calls.

[0078] In a fifth aspect, an embodiment of the present disclosure further provides a computer program product, including a computer program / instruction, which implements the steps of any of the above methods when executed by a processor.

[0079] The simultaneous interpretation method for audio and video calls disclosed in the present application can perform simultaneous interpretation and interpretation for point-to-point voice calls, solve the problem of language incompatibility, and meet the immediacy and fluency of call translation. Specifically, establishing a point-to-point voice call channel and obtaining voice information ensure the real-time and directness of communication. Sentence segmentation and conversion into text enable voice information to be instantly and accurately converted into a processable text form, thereby providing a solid foundation for subsequent translation. Text translation is performed based on the target language of the first call end, ensuring the accuracy and cultural adaptability of the translation. Such a processing method can effectively convey semantics and emotions and avoid information distortion or misunderstanding. A target voice segment is generated based on the translated text information, so that the translation result can be natural and fluent during voice playback, close to the expression habits and intonation of the local language. The target voice segment is sent and played in chronological order to ensure the orderly transmission and reception of information. This method not only ensures the continuity of information, but also improves the effect and experience of communication. The overall solution supports simultaneous interpretation and translation in multiple languages ​​to adapt to the communication needs in different language environments. This flexibility and efficiency greatly improve the convenience and practicality of cross-language communication.

[0080] The above description is only an overview of the technical solution of the present invention. In order to more clearly understand the technical means 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 present invention more obvious and easy to understand, the following preferred embodiments are specifically cited and described in detail with reference to the accompanying drawings. BRIEF DESCRIPTION OF THE DRAWINGS

[0081] In order to more clearly illustrate the technical solutions of the embodiments of the present disclosure, the drawings required for use in the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present disclosure. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.

[0082] Figure 1 A flowchart of a method for simultaneous translation and interpretation of an audio or video call provided in an embodiment of the present disclosure.

[0083] Figure 2 A flowchart of a method for establishing a point-to-point voice call channel provided in an embodiment of the present disclosure.

[0084] Figure 3 A flowchart of a method for acquiring conversational speech segments provided in an embodiment of the present disclosure.

[0085] Figure 4 A flowchart of a method for obtaining environmental classification information provided in an embodiment of the present disclosure.

[0086] Figure 5 A flowchart of a method for determining a sound state provided in an embodiment of the present disclosure.

[0087] Figure 6 A schematic flow chart of a method for analyzing environmental sound samples using a preset strategy provided in an embodiment of the present disclosure.

[0088] Figure 7 This is a principle block diagram of a simultaneous translation and interpretation system for audio and video calls provided in an embodiment of the present disclosure.

[0089] Figure 8 A schematic diagram of the structure of the intelligent speech semantic translation gateway provided in an embodiment of the present disclosure.

[0090] Fig. 9 A schematic diagram of the structure of a computer device provided in an embodiment of the present disclosure. DETAILED DESCRIPTION

[0091] The embodiments of the present disclosure are described in detail below with reference to the accompanying drawings.

[0092] It should be clear that the following embodiments of the present disclosure are described by specific specific examples, and those skilled in the art can easily understand other advantages and effects of the present disclosure from the contents disclosed in this specification. Obviously, the described embodiments are only a part of the embodiments of the present disclosure, rather than all of the embodiments. The present disclosure can also be implemented or applied through other different specific embodiments, and the details in this specification can also be modified or changed in various ways based on different viewpoints and applications without departing from the spirit of the present disclosure. It should be noted that the following embodiments and features in the embodiments can be combined with each other in the absence of conflict. Based on the embodiments in the present disclosure, all other embodiments obtained by ordinary technicians in the field without making creative work are within the scope of protection of the present disclosure.

[0093] It should be noted that various aspects of the embodiments within the scope of the appended claims are described below. It should be apparent that the aspects described herein may be embodied in a wide variety of forms, and any specific structure and / or function described herein is merely illustrative. Based on the present disclosure, it should be understood by those skilled in the art that an aspect described herein may be implemented independently of any other aspect, and two or more of these aspects may be combined in various ways. For example, any number of aspects described herein may be used to implement the device and / or practice the method. In addition, other structures and / or functionalities other than one or more of the aspects described herein may be used to implement this device and / or practice this method.

[0094] It should also be noted that the illustrations provided in the following embodiments are only schematic illustrations of the basic concept of the present disclosure. The drawings only show components related to the present disclosure rather than being drawn according to the number, shape and size of components in actual implementation. In actual implementation, the type, quantity and proportion of each component may be changed arbitrarily, and the component layout may also be more complicated.

[0095] Additionally, in the following description, specific details are provided to facilitate a thorough understanding of the examples. However, it will be understood by those skilled in the art that the aspects described may be practiced without these specific details.

[0096] Reference Figure 1 The first aspect of the present application discloses a method for simultaneous interpretation of audio and video calls, which specifically includes the following steps:

[0097] S100, establishing a point-to-point voice call channel.

[0098] In this embodiment, the two parties in a call are taken as an example, the two parties are the first call end and the second call end, and the first call end and the second call end that meet the authentication conditions respectively establish YY+242178P with the streaming media forwarding server.

[0099] A two-way streaming media channel.

[0100] In this step, the point-to-point call channel ensures the directness and real-time nature of communication, reduces the delay in information transmission, and facilitates the smooth progress of subsequent steps.

[0101] S200, obtaining voice information of the first calling end.

[0102] Acquiring voice information is the basis of the simultaneous interpretation process, ensuring that subsequent steps have an accurate input data source.

[0103] In this step, the collected voice information is saved, that is, the continuous voice stream of the preset time period is recorded.

[0104] S300, segment the voice information to obtain N conversation voice segments.

[0105] Wherein, N is a positive integer not less than 1.

[0106] Dividing speech information into small segments helps improve translation accuracy and speed, while allowing each segment to be processed and transmitted independently.

[0107] S400, converting N conversation voice segments into N text segments in chronological order.

[0108] Text transcription allows voice information to exist in text form, which is convenient for subsequent processing, storage and translation, as well as for comparison, proofreading and correction.

[0109] Specifically, the step of converting the conversation voice segments after sentence segmentation into text segments can save network resources and improve the efficiency of converting voice information into text. In this process, if the first call end has a voice-to-text function, the voice-to-text function of the first call end is used first. If the first call end does not have a voice-to-text function, or the voice-to-text conversion fails, the first call end can call the intelligent voice semantic translation gateway through the message forwarding server to convert the voice information (i.e., N conversation voice segments) into text information (i.e., N text segments).

[0110] S500: Translate N text segments based on the target language of the first call end to obtain N text translation information.

[0111] According to the target language of the first call end, that is, the language to be translated, N text segments are translated to obtain translation information of the N text segments, that is, the language received by the first call end is converted into another foreign language desired by the first user, which can be more flexible and meet more scenarios.

[0112] The target language of the first call end may be one or more languages, which may be obtained in any of the following ways: the first user (i.e., the user of the first call end) specifies one or more languages ​​when registering or setting a personal profile, or, dynamic language detection is performed to automatically analyze and identify the language used by the voice input by the first user in real time, and directly use it as the preset native language, or, a machine learning algorithm is used to learn the communication habits and language preferences of the first user, and output the preset native language of the first user. Considering that the first user knows multiple languages ​​and speaks in a mixed language during communication, the setting of multiple native languages ​​can meet the needs of the first user to speak in mixed languages.

[0113] Optionally, in a complex scenario, if the voice information sent by the first user includes a preset native language and other languages, only the first conversation voice information of the first user's fixed native language can be obtained, or the preset native language can be adjusted in real time through dynamic language detection to obtain the first conversation voice information in various languages.

[0114] In acquiring the first conversation voice information sent by the first user, a high-quality microphone and noise reduction technology may be used to collect the voice to ensure the clarity and accuracy of the voice information.

[0115] S600, obtaining N target speech segments based on N text translation information.

[0116] The target speech segment is regenerated based on the translated text information to ensure the accuracy and naturalness of the translation, making the final speech playback more in line with language habits and expression habits.

[0117] S700, sending N target voice segments to the second call end in time sequence based on the point-to-point voice call channel;

[0118] The second calling end plays the N target voice segments in sequence according to the time sequence.

[0119] In this step, the time sequence can ensure that the words spoken by the first user reach the second user first, ensuring the accuracy of communication; the second call end plays in sequence according to the time sequence, and can continuously translate and interpret the voice information sent by the first user, ensuring the timeliness of the simultaneous translation and interpretation.

[0120] Furthermore, sending and playing the target voice segments in chronological order ensures the orderly transmission and reception of information, avoiding information confusion and dislocation; real-time sending and playing makes the call process more coherent and smooth, enhancing the effect and experience of communication.

[0121] The simultaneous interpretation method for audio and video calls disclosed in the present application can perform simultaneous interpretation and interpretation for point-to-point voice calls, solve the problem of language incompatibility, and meet the immediacy and fluency of call translation. Specifically, establishing a point-to-point voice call channel and obtaining voice information ensure the real-time and directness of communication. Sentence segmentation and conversion into text enable voice information to be instantly and accurately converted into a processable text form, thereby providing a solid foundation for subsequent translation. Text translation is performed based on the target language of the first call end, ensuring the accuracy and cultural adaptability of the translation. Such a processing method can effectively convey semantics and emotions and avoid information distortion or misunderstanding. A target voice segment is generated based on the translated text information, so that the translation result can be natural and fluent during voice playback, close to the expression habits and intonation of the local language. The target voice segment is sent and played in chronological order to ensure the orderly transmission and reception of information. This method not only ensures the continuity of information, but also improves the effect and experience of communication. The overall solution supports simultaneous interpretation and translation in multiple languages ​​to adapt to the communication needs in different language environments. This flexibility and efficiency greatly improve the convenience and practicality of cross-language communication.

[0122] In summary, the simultaneous translation and interpretation method for audio and video calls disclosed in this embodiment realizes real-time, accurate and smooth cross-language communication through an efficient voice-to-text-to-voice conversion and translation process, providing users with reliable technical support and high-quality communication experience.

[0123] Reference Figure 2 , the method for establishing a point-to-point voice call channel specifically includes:

[0124] S110, authenticating the first calling end and the second calling end respectively.

[0125] Among them, the authentication methods include: authentication through one or more of SMS verification code, email verification code, biometric technology (such as fingerprint, facial recognition), user name and password, that is, any of the above methods can be used for authentication; in addition, in order to further improve security, multi-factor authentication can be performed, that is, a combination of two or more of the above authentication methods.

[0126] In this step, authentication can ensure that the identities of both parties on the call are legal and valid, reducing the risks of illegal access and communication security.

[0127] S120, establish a two-way streaming media channel between the first calling end that meets the authentication and the second calling end that meets the authentication and the streaming media forwarding server respectively.

[0128] Specifically, a long link is established between the first call end that meets the authentication and the streaming media forwarding server, and streaming media protocol data can be sent and received; a long link is established between the second call end that meets the authentication and the streaming media forwarding server, and streaming media protocol data can be sent and received. The streaming media server forwards the data received by the first call end to the second call end, and the streaming media server forwards the data received by the second call end to the first call end.

[0129] In this step, by directly establishing a channel with the streaming media server, the transmission delay of the intermediate nodes is reduced, the call quality is improved, the communication interruption caused by the failure of the intermediate nodes is avoided, the risk of eavesdropping during the transmission process is reduced, and the security of communication is improved.

[0130] The method for establishing a point-to-point voice call channel disclosed in this embodiment can provide a more stable, low-latency, and high-quality call experience through authentication and direct communication; authentication and direct communication reduce the risks of illegal access and eavesdropping, and ensure the security of call content.

[0131] In addition, the method for establishing a point-to-point voice call channel disclosed in this embodiment also includes: performing device security checks on the first call end and the second call end respectively, and authenticating the first call end and the second call end after the device security check respectively.

[0132] Performing device security checks on the first and second call ends respectively to ensure that the devices are free of malware or viruses to ensure communication security can further enhance the security and reliability of the point-to-point voice call channel: ensuring that the call devices are not infected or tampered with by malware to prevent possible device-level security vulnerabilities from affecting call quality and security. Performing authentication after the device security check can ensure that the identities of both parties to the call are legal and valid, avoid illegal or unauthorized devices from participating in the call, and further reduce communication security risks.

[0133] Equipment security inspection and authentication ensure the credibility of the call equipment, prevent intrusion or malicious attacks by unauthorized devices, and thus protect the privacy and confidentiality of the call content; by inspecting and authenticating the equipment, the possibility of call interruption or quality degradation due to equipment problems is reduced, and the stability and reliability of the call are improved; combining equipment security inspection, authentication and the previous streaming channel establishment steps, a comprehensive security protection system is formed to provide comprehensive security protection and a good user experience for point-to-point voice calls; the implementation of these steps can ensure that the call system operates in a safe, stable and high-quality environment, meeting user needs for communication security and service quality.

[0134] Reference Figure 3 , the method for obtaining the conversation voice segment specifically includes:

[0135] S310, obtaining environmental information of the first call end based on the voice information; the environmental information includes a plurality of environmental sound signals.

[0136] In this step, by acquiring environmental information, background noise or other environmental sounds can be identified and separated, which helps improve the clarity and accuracy of subsequent speech signals.

[0137] S320, obtaining environmental classification information based on the environmental information.

[0138] In this step, the environment classification information helps to distinguish different types of environmental sounds, such as quiet environment, noisy environment, etc., which helps to further improve the recognition and analysis accuracy of speech signals.

[0139] S330, determining the voice state of the first call end based on the voice information and the environment classification information.

[0140] In this step, determining the voicing state can help accurately capture the start and end of the speech segment and avoid misidentifying the non-speech part as speech, thereby improving the accuracy of speech segment extraction.

[0141] S340, segmenting the voice information according to the utterance state and the voice pause setting information to obtain N conversation voice segments;

[0142] The voice pause setting information includes one or more of a sentence pause duration and a maximum duration of a sentence without a pause; N≥1.

[0143] In this step, the speech information is divided into appropriate speech segments through sentence segmentation, which helps to improve the accuracy and efficiency of the subsequent speech recognition system. After the speech is segmented, the semantics and context of each speech segment can be analyzed more accurately, improving the overall speech comprehension ability. After the appropriate speech segments are extracted, the fluency of speech-to-text or other processing tasks can be ensured, thereby enhancing the user experience.

[0144] The method for acquiring conversational speech segments disclosed in this embodiment, combined with the analysis of environmental information and vocalization status, can accurately extract each speech segment and avoid unnecessary errors or repetitions; through reasonable sentence segmentation processing, the efficiency and speed of speech processing can be improved while ensuring accuracy; the extracted speech segments have clear context and semantics, which is helpful for optimizing the effects of subsequent speech recognition, understanding or other applications.

[0145] For example, some users speak faster, so the sentence pause time is set to be shorter, such as 1 second; some users speak slower, so the sentence pause time can be set to be longer, such as 2 seconds. The above maximum time for a sentence without pause can be adjusted according to the professionalism of the content of the first conversation voice information; if the current conversation discusses a more professional topic and some very long sentences often appear, then the maximum time for a sentence without pause can be set to be longer.

[0146] Reference Figure 4 , the method for obtaining environmental classification information specifically includes:

[0147] S321, performing noise reduction processing on the environmental information to obtain a first sound signal.

[0148] In this step, noise reduction processing can remove noise and interference in the environment, making the sound signal more

[0149] Clear, which is conducive to subsequent signal processing and feature extraction.

[0150] S322: Preprocess the first sound signal to obtain a second sound signal.

[0151] In this step, preprocessing can further optimize the quality of the sound signal, remove possible distortion or deformation, and make subsequent feature extraction more accurate and reliable.

[0152] S323, acquiring characteristic information of the second sound signal; the characteristic information includes one or more of sound frequency and sound loudness.

[0153] In this step, extracting characteristic information such as the frequency and loudness of the sound helps to describe the basic characteristics of the sound and provides an important basis for subsequent environmental classification.

[0154] Furthermore, filtering and Fourier transform can be used to extract feature information in order to analyze key features of the sound, such as frequency and loudness.

[0155] S324, using a machine learning algorithm to train a preset classifier, analyzing the feature information based on the trained preset classifier and the preset labeled data set to obtain environmental classification information.

[0156] In this step, by training the classifier through machine learning algorithms, environmental features and patterns can be learned from a large amount of data, and then the new feature information can be accurately classified, thereby improving the accuracy and reliability of environmental classification.

[0157] Among them, the preset classifier can be a support vector machine or a deep learning model.

[0158] In this embodiment, the environment classification information includes a quiet environment class, a noisy environment class, and the like.

[0159] The method for obtaining environmental classification information disclosed in this embodiment, combined with noise reduction processing, preprocessing and feature extraction, and the application of machine learning algorithms, can accurately classify different environments and provide more accurate environmental information for subsequent speech processing; the use of machine learning algorithms for environmental classification realizes the automated processing and analysis of environmental information, improves processing efficiency and accuracy, and reduces the workload of manual intervention; the training and use of preset classifiers make the system stable and scalable, and can adapt to the needs of different environments and application scenarios.

[0160] In summary, this method can effectively acquire and analyze environmental information through multi-step processing and the application of machine learning algorithms, and provide accurate environmental classification information for speech processing, thereby improving the performance of the speech processing system and user experience.

[0161] Reference Figure 5 , the method for determining the phonation state specifically includes:

[0162] S331, continuously collecting at least two environmental sound samples in the voice information at a preset interval.

[0163] In this step, continuously collecting environmental sound samples can help capture background sound changes in speech information, which can reflect the start and end time of the speech segment and help accurately determine the vocalization state.

[0164] S332, using a preset strategy to analyze the environmental sound sample to determine the sound state; the sound state includes a sound state or a silent state.

[0165] In this step, by analyzing the collected environmental sound samples, it is possible to determine whether the current speech segment is in a sound state (voice) or a silent state (silence) according to a preset strategy. This analysis is based on the continuity and changes of the sound and can accurately distinguish between speech and non-speech states.

[0166] The method for determining the vocal state disclosed in this embodiment, combined with the method for continuously collecting and analyzing environmental sound samples, can accurately determine the start and end of a speech segment, avoid misjudging background noise or silence as speech, and improve the recognition accuracy of the vocal state; the collection and analysis process can be carried out quickly, so that the system can respond to changes in the speech segment in real time, thereby showing good response speed and efficiency in real-time speech processing; accurately determining the vocal state helps to effectively segment speech information, providing clear and accurate speech segments for subsequent speech processing tasks, thereby improving the efficiency and quality of overall speech processing.

[0167] In summary, this method determines the vocal state by continuously collecting and analyzing environmental sound samples, effectively supports the accurate recognition and processing of voice information, and makes important contributions to improving the performance of speech processing systems and improving user experience.

[0168] Reference Figure 6 , using preset strategies to analyze environmental sound samples and determine the sound state, including:

[0169] S3321, determine the environmental threshold based on the environmental classification information.

[0170] In this step, the environmental threshold is determined based on the environmental classification information, and different thresholds can be set according to the characteristics of different environments. This can effectively distinguish speech signals under different background noise levels, thereby improving the accuracy and adaptability of voice state judgment.

[0171] If the environment classification information is a quiet environment, the environment threshold is set to a first value; if the environment classification information is a noisy environment, the environment threshold is set to a second value, and the second value is greater than the first value YY+242178P

[0172] Numeric value.

[0173] Furthermore, if the environment classification information is a quiet environment, the environment threshold can be set to a first value, such as 1 unit; if the environment classification information is a noisy environment, the environment threshold can be set to a second value, such as 3 units, that is, the higher the decibel value in the environment, the larger the threshold.

[0174] S3322, analyzing the environmental sound samples using a continuous value method, if the environmental values ​​corresponding to the M environmental sound samples collected continuously are all greater than the environmental threshold, determining that the sound state is a sound state;

[0175] Alternatively, the environmental sound samples are analyzed by using a probability value method. If the environmental values ​​corresponding to P environmental sound samples among the N environmental sound samples collected continuously are all greater than the environmental threshold, it is determined that the sound state is a sound state.

[0176] N>M, P=N-1.

[0177] In this step, the continuous value method or the probability value method is used for analysis to avoid the situation where the error caused by judging the sound environment and the silent environment based on only one sound sample collection is relatively large (such as the sound at the collection point is just relatively small, or the equipment is unstable, etc.). In actual application, the continuous value method and the probability value method can be used for two calculations respectively. As long as any error elimination method is met, the collected sound sample is considered valid, and the current sound state of the first user can be determined based on it.

[0178] Among them, the environmental value refers to the environmental decibel value.

[0179] In this embodiment, by combining the environmental threshold and continuous / probability value analysis method, the start and end of the speech segment can be accurately determined, ensuring that only the sound state is recognized as a speech signal, thereby improving the accuracy and reliability of the vocal state; through the threshold set based on environmental classification information and flexible analysis methods, it can adapt to the speech recognition needs under different background noise levels, and improve the performance and stability of the system in complex environments; the continuous collection and analysis method is adopted, so that the system can respond to changes in the speech segment in real time, improve the real-time and efficiency of speech processing, and is conducive to meeting the needs of rapid response and instant processing.

[0180] In summary, this method can effectively determine the vocalization state of a speech segment by combining environmental threshold setting and different analysis strategies, providing the speech processing system with accurate speech recognition and processing capabilities, thereby improving user experience and system performance.

[0181] Exemplarily, when the continuous value method is used to eliminate the sound collection error, if the sound threshold is collected three times in a row (that is, the numerical change relative to the silent state reaches the first value), then it is considered that the current state is sound; when the probability value method is used to eliminate the sound collection error, if the sound threshold is collected four times out of five consecutive samples, then it is considered that the current state is sound.

[0182] Specifically, the voice information is segmented according to the sound status and voice pause setting information, including: if the continuous duration of the silent state exceeds the sentence pause duration, any point in the continuous stage of the silent state is used as a segmentation point for segmentation; the continuous duration is the product of the interval duration of the collected ambient sound samples and the number of collected samples.

[0183] Furthermore, the specific sentence segmentation processing can adopt a sentence segmentation algorithm based on voice features and environmental noise; these sentence segmentation algorithms enable the sentence segmentation process to automatically segment the voice information without interrupting the speaker (i.e., the first user), and perform subsequent text conversion, translation, sending, etc. operations on a sentence basis.

[0184] For example, the pause duration of a sentence is set to 2 seconds, and the maximum duration of a sentence without pause is 30 seconds. When the silence lasts for more than 2 seconds, the sentence is segmented here, and the longest conversation voice segment obtained by this segmentation process can be 30 seconds.

[0185] In this embodiment, it is preferred to collect an ambient sound sample every 40 mm.

[0186] The simultaneous translation and interpretation method for audio and video calls disclosed in the present application also includes: adjusting the voice pause setting information according to the content professionalism of the voice information.

[0187] Specifically, the speech recognition system's understanding and response speed to pauses can be adjusted according to the technicality, professionalism and complexity of the speech content.

[0188] Further, the following methods can be adopted: 1) Content understanding and context analysis: Analyze the frequency and complexity of terms, industry terms or professional terms used in speech. If the speech content contains a large number of technical words or specific industry terms, the system can adjust the tolerance for pauses and allow slightly longer pauses to ensure accuracy; 2) Dynamic adjustment of speech speed and pauses: According to the rhythm and emotional changes of the speech content, the system can dynamically adjust the length of pauses. In tense or highly technical speech passages, pauses can be extended to ensure accuracy and fluency; 3) Optimization of speech recognition algorithm: For different content expertise, the parameter settings of the speech recognition algorithm can be optimized, for example, the speech segment length of the speech recognition model can be adjusted to better capture and understand complex sentence structures; 4) Real-time feedback and learning: Learning and adjustment can be carried out through the real-time feedback mechanism. When the system recognizes incorrect or incomprehensible speech pauses, they can be recorded and corrected and improved in subsequent speech analysis to improve the adaptability to content expertise.

[0189] Through the above solution, the simultaneous interpretation system can be made more intelligent and adaptable, and can more accurately process voice information in different professional fields, thereby improving the quality and efficiency of simultaneous interpretation services.

[0190] In another embodiment, the simultaneous interpretation method for audio and video calls disclosed in the present application sends N target voice segments to the second call end in time sequence based on a point-to-point voice call channel, including:

[0191] The N target speech segments are synthesized with the N conversation speech segments to obtain N superimposed speech segments;

[0192] Based on the point-to-point voice call channel, the N superimposed voice segments are sent to the second call end in time sequence;

[0193] Among them, in the superimposed speech segments, the conversation speech segment is the background sound (ie, the first layer of audio data), the corresponding target speech segment is the main sound (ie, the second layer of audio data), and the set volume of the target speech segment is higher than the set volume of the conversation speech segment.

[0194] In an embodiment, the voice sent through the point-to-point voice call channel includes both the translated voice and the original voice, and the voice sent from the first call end is the superimposed voice, that is, the original voice and the translated language are sent to the second call end together.

[0195] Furthermore, the second call end plays N target voice segments in sequence according to the time sequence, including: judging whether it is necessary to play the background sound according to the setting requirements of the second call end, and if so, playing the N superimposed voice segments in sequence according to the time sequence; if not, separating the superimposed voice segments to obtain N target voice segments, and the second call end plays the N target voice segments in sequence according to the time sequence.

[0196] Through the above scheme, the second call end can directly play the superimposed bilingual voice information sent from the first call end, or choose not to play the original voice and only play the target voice segment. When playing all the audio data, the first and second layers of sound are played at the same time, or only the first layer of audio data can be played, so that only the original sound is played, and similarly, only the second layer of audio data can be played, so that only the translated sound is played.

[0197] Specifically, the reverse separation technology may be used to separate the superimposed speech segments.

[0198] In a third embodiment, the simultaneous translation and interpretation method for audio and video calls disclosed in the present application further includes: sending N target voice segments and N text translation information to the second call end in chronological order based on a point-to-point voice call channel;

[0199] The second calling end plays N target voice segments and N text translation information in chronological order; wherein each target voice segment is played synchronously with the corresponding text translation information.

[0200] In this embodiment, whether to send subtitles can be set on the first call end. If subtitles are sent, N target voice segments and N text translation information will be sent to the second call end in the form of messages, and the text will be displayed synchronously in the operation interface of the second call end.

[0201] The method for simultaneous interpretation of audio and video calls disclosed in the present application also includes: multiple point-to-point voice call channels are established, and the multiple point-to-point voice call channels are channels established between multiple second call terminals and the first call terminal;

[0202] The language can be set on both the second call end and the first call end.

[0203] For example, if the user on the first call end is a teacher and the user on the second call end is a student, the caller can be simulated as a professional foreign teacher to teach other callers how to speak a foreign language. This scenario can include: parents teaching their children how to speak, colleagues teaching each other how to speak, and training in speaking before traveling abroad. The foreign teacher can also be simulated as a foreign teacher who is proficient in the spoken languages ​​of various countries, and can teach any native speaker to learn any foreign language.

[0204] Before starting teaching, you can set the teacher's native language, student's native language, and teaching foreign language. The teacher's native language refers to the teacher's native language, the student's native language refers to the student's native language, and the teaching foreign language refers to the language of spoken foreign language to be learned.

[0205] During the teaching process, there are two communication modes: oral mode and communication mode. Both modes can be switched on the teacher and student sides. The oral mode is used for teaching oral dialogues, and the communication mode is used for teaching explanations.

[0206] In the spoken language mode, the user at the teacher end (i.e., the first call end) speaks his or her native language, i.e., the teacher's native language, which is then translated into the spoken foreign language to be taught, and only the translated spoken foreign language is sent to the student end (multiple second call ends), and what the student end hears is the spoken foreign language (i.e., the teaching foreign language).

[0207] When the student end is the speaker, the student end becomes the first call end. The user on the student end speaks a foreign language. Through the method disclosed in this application, the foreign language spoken by the student end can be translated into the teacher's native language and sent to the teacher end together with the student's spoken language and subtitles. At this time, the teacher end becomes the second call end, and the teacher end can hear the foreign language spoken and the teacher's native language, and can see bilingual subtitles.

[0208] In the communication mode, the user at the teacher end (i.e., the first call end) speaks his or her native language, i.e., the teacher's native language. Through the disclosed method of the application, the teacher's native language will be translated into the student's native language, and the translated student's native language and subtitles will be sent to the student end (i.e., the second call end). The student end hears the student's native language and can see the text subtitles in the student's native language.

[0209] When the user at the student end (i.e., the first call end) speaks the student's native language, the student's native language will be translated into the teacher's native language through the method disclosed in the application, and the translated teacher's native language and subtitles will be sent to the teacher end (i.e., the second call end). The teacher end hears the teacher's native language and can see the subtitles in the teacher's native language.

[0210] If the teacher's native language is the same as the student's, then in the communication mode, the system will directly send the original audio and no translation is required.

[0211] Furthermore, the simultaneous translation and interpretation method for audio and video calls disclosed in the present application also includes:

[0212] Obtaining language setting information of a first calling end and a plurality of second calling ends;

[0213] Based on the language setting information, the language with the largest number of settings is obtained, recorded as the main language, and the main language is used as the language of the target speech segment;

[0214] If the set language of the second call end is inconsistent with the main language, the N target voice segments and the N conversation voice segments are synthesized and processed separately to obtain N superimposed voice segments; the N superimposed voice segments are sent to multiple second call ends respectively based on multiple point-to-point voice call channels; they are played in each second call end according to the time sequence; in the superimposed voice segments, the conversation voice segment is the background sound, the corresponding target voice segment is the main sound, and the set volume of the target voice segment is higher than the set volume of the conversation voice segment.

[0215] For example, in multi-person conference mode, it can be used for people speaking different languages ​​to communicate together.

[0216] Any end of a call can initiate a conference, and other ends of a call can join the conference. The information flow of each end of a call can be transmitted to all other ends of a call.

[0217] Before entering a meeting or during a meeting, each call end can set its own native language as needed, obtain the language setting information of the first call end and multiple second call ends, obtain the language with the largest number of settings based on the language setting information, record it as the main language, and use the main language as the language of the target voice segment, or the administrator can set the main language of the meeting.

[0218] When a user on any call end speaks, the speaking user end is regarded as the first call end, and the other people listening are regarded as the second call end. At this time, the native language voice of the first call end will be converted into the conference main language voice and conference main language text subtitles, and then the translated voice and text can be sent to other participating call ends (that is, multiple second call ends). If the native language of the second call end is consistent with the conference main language, the voice can be played directly and the subtitles can be displayed.

[0219] If the native language of the second call end is inconsistent with the main language of the conference, the text information of the main language of the conference can also be translated into the native language of the call end at the second call end, and then translated into the corresponding target voice segment, and played in the corresponding set native language at the second call end.

[0220] Furthermore, the obtained target speech segment can be superimposed with the main language of the conference (or the original speech), and the superimposed bilingual speech can be played at the second call end. Figure 7 The second aspect of the present application discloses a simultaneous translation and interpretation system for audio and video calls, comprising:

[0221] The first conversation terminal 11 is used to obtain the voice information of the first conversation terminal, segment the voice information to obtain N conversation voice segments, convert the N conversation voice segments into N text segments in chronological order, translate the N text segments based on the target language of the first conversation terminal, obtain N text translation information, and obtain N target voice segments based on the N text translation information;

[0222] The information forwarding server 12 is used to establish a point-to-point voice call channel, and send N target voice segments to the second call end 13 in time sequence based on the point-to-point voice call channel;

[0223] The second conversation terminal 13 is used for the second conversation terminal to play N target voice segments in sequence according to the time sequence. The second conversation terminal is also used to broadcast the target voice segment according to the preset instruction according to the preset or operation of the user corresponding to the second conversation terminal.

[0224] That is to say, the first conversation terminal 11 is the speaker of the conversation, which is used to collect the speaker's audio and convert it into text information, and generate text information in the target language to be transmitted to the other party; the second conversation terminal 21 is the listener of the conversation, which is used to receive the voice information transmitted from the first conversation terminal. In this embodiment, by default, the voice information sent to the second conversation terminal 21 is the voice information in the language desired by the second conversation terminal 21; in addition, the second conversation terminal 21 can also perform voice customized broadcasting in a personalized form according to its own settings.

[0225] The message forwarding server 21 is used to transmit messages between session ends. Session ends cannot directly send and receive messages, but send messages to the message forwarding server, which then sends the messages to the session end that needs to receive the messages.

[0226] Reference Figure 8 , the simultaneous translation and interpretation system also includes an intelligent speech semantic translation gateway; the intelligent speech semantic translation gateway includes: an input and output module 221, which is used to receive voice information, receive the target language preset by the first conversation end, and send the target speech segment to the second conversation end;

[0227] The routing rule engine 224 is used to determine the third-party translation interface to be called, and translate the received text segment through the third-party translation interface to obtain text translation information;

[0228] Cache database 222, used to store text translation information obtained by calling a third-party translation interface;

[0229] A retrieval model 223, used to retrieve corresponding text translation information from a cache database;

[0230] The interface connection layer 225 is used to exchange data with a third-party translation interface.

[0231] The interface connection layer 225 of the intelligent speech semantic translation gateway can pre-connect to multiple third-party intelligent AI translation interfaces to ensure the stability and efficiency of calling third-party interfaces. After the intelligent speech semantic translation gateway receives the service request through the input and output module 221, it will first search whether there are matching results in the cache database 222 according to the preset retrieval model 223. If it is retrieved, the result will be fed back. If no result is retrieved, the routing rule engine 224 will be called to decide which third-party translation interface to call for this translation service, and then the third-party translation interface will be called through the interface connection layer 225. The obtained result is stored in the cache database 222, and the final result is fed back to the caller (the first session end or the second session end) through the input and output module 221.

[0232] Optionally, the above intelligent speech semantic translation gateway can also provide speech-to-text and text-to-speech functions, so that when the first session end 11 and / or the second session end 12 do not have the conversion function or the conversion fails, the intelligent speech semantic translation gateway can be called through the message forwarding server 21 to achieve the effect of speech-to-text and text-to-speech. When the intelligent speech semantic translation gateway provides speech-to-text and text-to-speech functions, it can also be pre-connected to multiple third-party conversion interfaces. Its specific implementation process is similar to the above intelligent translation process. After the intelligent speech semantic translation gateway receives the service request through the input and output module 221, it will first search whether there is a matching result in the cache database 222 according to the preset retrieval model 223. If it is retrieved, the result is fed back. If the result cannot be retrieved, the routing rule engine 224 is called to determine which third-party conversion interface to call for this conversion service, and then the third-party conversion interface is called through the interface connection layer 225. The result is stored in the cache database 222, and the final result is fed back to the caller (the first session end or the second session end) through the input and output module 221.

[0233] The simultaneous translation and interpretation system for audio and video calls disclosed in the present application can output corresponding translation information according to the set target language, has strong flexibility and high translation efficiency, and can provide more personalized and practical services; the system can also make access to translation software or services simpler and faster, thereby improving user experience.

[0234] The system also includes: the translation service takes strict data protection measures to ensure user privacy when processing sensitive information.

[0235] The system can also combine multiple information such as voice, text and vision to provide more comprehensive translation services to meet different communication needs.

[0236] The method or system disclosed in this application can make voice calls in a multilingual environment more efficient, accurate and convenient in the future.

[0237] It should be noted that the details of each step in the above simultaneous translation and interpretation method for audio and video calls are applicable to the simultaneous translation and interpretation system for audio and video calls, and will not be repeated here.

[0238] The computer device according to the embodiment of the present disclosure includes a memory and a processor. The memory is used to store non-temporary computer-readable instructions. Specifically, the memory may include one or more computer program products, and the computer program product may include various forms of computer-readable storage media, such as volatile memory and / or non-volatile memory. The volatile memory may, for example, include a random access memory (RAM) and / or a cache memory (cache), etc. The non-volatile memory may, for example, include a read-only memory (ROM), a hard disk, a flash memory, etc.

[0239] The processor may be a central processing unit (CPU) or other forms of processing units with data processing capabilities and / or instruction execution capabilities, and may control other components in the computer device to perform desired functions. In one embodiment of the present disclosure, the processor is used to run the computer-readable instructions stored in the memory, so that the computer device performs all or part of the steps of the simultaneous interpretation method for audio and video calls in the aforementioned embodiments of the present disclosure.

[0240] Those skilled in the art should be able to understand that in order to solve the technical problem of how to obtain a good user experience, the present embodiment may also include well-known structures such as a communication bus and an interface, and these well-known structures should also be included in the protection scope of the present disclosure.

[0241] like Figure 8 A schematic diagram of the structure of a computer device provided in an embodiment of the present disclosure is shown, which is a schematic diagram of the structure of a computer device suitable for implementing the embodiment of the present disclosure. Figure 8 The computer device shown is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present disclosure.

[0242] like Figure 8As shown, the computer device may include a processor (e.g., a central processing unit, a graphics processing unit, etc.), which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) or a program loaded from a storage device into a random access memory (RAM). In the RAM, various programs and data required for the operation of the computer device are also stored. The processor, ROM, and RAM are connected to each other via a bus. An input / output (I / O) interface is also connected to the bus.

[0243] Typically, the following devices can be connected to the I / O interface: input devices such as sensors or visual information acquisition devices; output devices such as display screens; storage devices such as tapes, hard disks, etc.; and communication devices. The communication device can allow the computer device to communicate with other devices (such as edge computing devices) wirelessly or by wire to exchange data. Figure 8 A computer device having various devices is shown, but it should be understood that it is not required to implement or possess all of the devices shown. More or fewer devices may be implemented or possessed instead.

[0244] In particular, according to an embodiment of the present disclosure, the process described above with reference to the flowchart can be implemented as a computer software program. For example, an embodiment of the present disclosure includes a computer program product, which includes a computer program carried on a non-transitory computer-readable medium, and the computer program contains program code for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from a network through a communication device, or installed from a storage device, or installed from a ROM. When the computer program is executed by a processor, all or part of the steps of the simultaneous interpretation method for audio and video calls of the embodiment of the present disclosure are executed.

[0245] For detailed description of this embodiment, reference may be made to the corresponding descriptions in the aforementioned embodiments, which will not be repeated here.

[0246] According to the computer-readable storage medium of the embodiment of the present disclosure, non-transitory computer-readable instructions are stored thereon. When the non-transitory computer-readable instructions are executed by a processor, all or part of the steps of the simultaneous interpretation method for audio and video calls of the aforementioned embodiments of the present disclosure are executed.

[0247] The above-mentioned computer-readable storage media include, but are not limited to: optical storage media (e.g., CD-ROM and DVD), magneto-optical storage media (e.g., MO), magnetic storage media (e.g., magnetic tape or mobile hard disk), media with built-in rewritable non-volatile memory (e.g., memory card) and media with built-in ROM (e.g., ROM box).

[0248] For detailed description of this embodiment, reference may be made to the corresponding descriptions in the aforementioned embodiments, which will not be repeated here.

[0249] The basic principles of the present disclosure are described above in conjunction with specific embodiments. However, it should be noted that the advantages, strengths, effects, etc. mentioned in the present disclosure are only examples and not limitations, and it cannot be considered that these advantages, strengths, effects, etc. are required by each embodiment of the present disclosure. In addition, the specific details disclosed above are only for the purpose of illustration and ease of understanding, and are not limitations. The above details do not limit the present disclosure to the necessity of adopting the above specific details to be implemented.

[0250] In the present disclosure, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply that there is any such actual relationship or order between these entities or operations. The block diagrams of the devices, devices, equipment, and systems involved in the present disclosure are only illustrative examples and are not intended to require or imply that they must be connected, arranged, and configured in the manner shown in the block diagram. As will be appreciated by those skilled in the art, these devices, devices, equipment, and systems can be connected, arranged, and configured in any manner. Words such as "including", "comprising", "having", etc. are open words, referring to "including but not limited to", and can be used interchangeably with them. The words "or" and "and" used here refer to the words "and / or" and can be used interchangeably with them, unless the context clearly indicates otherwise. The words "such as" used here refer to the phrase "such as but not limited to", and can be used interchangeably with them.

[0251] Additionally, as used herein, "or" used in a list of items beginning with "at least one" means YY+242178P

[0252] The term "exemplary" does not mean that the described example is preferred or better than other examples.

[0253] It should also be noted that in the system and method of the present disclosure, each component or each step can be decomposed and / or recombined. Such decomposition and / or recombination should be regarded as equivalent solutions of the present disclosure.

[0254] Various changes, substitutions, and modifications of the techniques described herein may be made without departing from the teachings defined by the appended claims. Furthermore, the scope of the claims of the present disclosure is not limited to the specific aspects of the processes, machines, manufactures, compositions of events, means, methods, and actions described above. Currently existing or later to be developed processes, machines, manufactures, compositions of events, means, methods, or actions that perform substantially the same functions or achieve substantially the same results as the corresponding aspects described herein may be utilized. Thus, the appended claims include such processes, machines, manufactures, compositions of events, means, methods, or actions within their scope.

[0255] The above description of the disclosed aspects is provided to enable any person skilled in the art to make or use the present disclosure. Various modifications to these aspects will be readily apparent to those skilled in the art, and the general principles defined herein may be applied to other aspects without departing from the scope of the present disclosure. Therefore, the present disclosure is not intended to be limited to the aspects shown herein, but rather to the widest scope consistent with the principles and novel features disclosed herein.

[0256] The above description has been given for the purpose of illustration and description. In addition, this description is not intended to limit the embodiments of the present disclosure to the forms disclosed herein. Although multiple example aspects and embodiments have been discussed above, those skilled in the art will recognize certain variations, modifications, changes, additions and sub-combinations thereof.

Claims

1. A method for simultaneous interpretation of audio and video calls, characterized in that: include: Establish a point-to-point voice call channel; Obtaining the voice information of the first call end; Segmenting the voice information to obtain N conversation voice segments; Converting the N conversation voice segments into N text segments in chronological order; Based on the target language of the first call end, the N text segments are translated to obtain N text translation information; Obtaining N target speech segments based on the N text translation information; Based on the point-to-point voice call channel, sending the N target voice segments to the second call end in time sequence; The second calling end plays the N target voice segments in sequence according to the time sequence.

2. The method for simultaneous interpretation of audio and video calls according to claim 1, characterized in that: The step of establishing a point-to-point voice call channel includes: Authenticating the first call end and the second call end respectively; The first calling end that meets the certification and the second calling end that meets the certification respectively establish a two-way streaming media channel with the streaming media forwarding server.

3. The method for simultaneous interpretation of audio and video calls according to claim 2, characterized in that: The authentication method includes: authenticating by one or more of a text message verification code, an email verification code, biometric technology, a user name and a password.

4. The method for simultaneous interpretation of audio and video calls according to claim 1, characterized in that: The step of segmenting the voice information to obtain N conversation voice segments includes: Acquire environmental information of the first call end based on the voice information; the environmental information includes a plurality of environmental sound signals; obtaining environmental classification information based on the environmental information; Determining a sounding state of the first call end based on the voice information and the environment classification information; According to the utterance state and the voice pause setting information, the voice information is segmented to obtain N conversation voice segments; The voice pause setting information includes one or more of a sentence pause duration and a maximum duration of a sentence without a pause; N≥1.

5. The method for simultaneous interpretation of audio and video calls according to claim 4, characterized in that: The obtaining of environmental classification information based on the environmental information includes: Performing noise reduction processing on the environmental information to obtain a first sound signal; Preprocessing the first sound signal to obtain a second sound signal; Acquire characteristic information of the second sound signal; the characteristic information includes one or more of sound frequency and sound loudness; A preset classifier is trained using a machine learning algorithm, and the feature information is analyzed based on the trained preset classifier and a preset labeled data set to obtain environmental classification information.

6. The method for simultaneous interpretation of audio and video calls according to claim 5, characterized in that: The determining, based on the voice information and the environment classification information, the sounding state of the first call end includes: Continuously collecting at least two environmental sound samples in the voice information at a preset interval; The environmental sound sample is analyzed using a preset strategy to determine the sound emission state; the sound emission state includes a sound state or a silent state.

7. The method for simultaneous interpretation of audio and video calls according to claim 6, characterized in that: The adopting a preset strategy to analyze the environmental sound sample to determine the sound emission state includes: Based on the environmental classification information, determining an environmental threshold; The environmental sound sample is analyzed by using a continuous value method, and if the environmental values ​​corresponding to the environmental sound samples collected M times continuously are all greater than the environmental threshold, it is determined that the sound emission state is a sound state; Alternatively, the environmental sound sample is analyzed by a probability value method, and if the environmental values ​​corresponding to P environmental sound samples among the N environmental sound samples collected continuously are all greater than the environmental threshold, it is determined that the sound emission state is a sound state; N>M, P=N-1.

8. The method for simultaneous interpretation of audio and video calls according to claim 7, characterized in that: If the environment classification information is a quiet environment, setting the environment threshold to a first value; If the environment classification information is a noisy environment type, the environment threshold is set to a second value, and the second value is greater than the first value.

9. The method for simultaneous interpretation of audio and video calls according to claim 8, characterized in that: The sentence segmentation processing of the voice information according to the utterance state and the voice pause setting information includes: If the continuous duration of the silent state exceeds the pause duration of the sentence, any point in the continuous stage of the silent state is used as a punctuation point for sentence punctuation processing; The continuous duration is the interval duration of the collected environmental sound samples and the collected samples YY+242178P The product of this number.

10. The method for simultaneous interpretation of audio and video calls according to claim 9, characterized in that: The method also includes: adjusting the voice pause setting information according to the professionalism of the content of the voice information.

11. The method for simultaneous interpretation of audio and video calls according to claim 1, characterized in that: The sending the N target voice segments to the second call end in time sequence based on the point-to-point voice call channel includes: The N target speech segments are synthesized with the N conversation speech segments to obtain N superimposed speech segments; Based on the point-to-point voice call channel, sending the N superimposed voice segments to the second call end in time sequence; Among them, in the superimposed speech segment, the conversation speech segment is the background sound, the corresponding target speech segment is the main sound, and the set volume of the target speech segment is higher than the set volume of the conversation speech segment.

12. The method for simultaneous interpretation of audio and video calls according to claim 11, characterized in that: The second calling end plays the N target voice segments in sequence according to the time sequence, including: According to the setting requirements of the second call end, determine whether the background sound needs to be played, and if so, play the N superimposed voice segments in sequence according to the time sequence; If not, the superimposed voice segments are separated to obtain N target voice segments, and the second calling end plays the N target voice segments in sequence according to the time sequence.

13. The method for simultaneous interpretation of audio and video calls according to claim 1, characterized in that: There are multiple point-to-point voice call channels established, and the multiple point-to-point voice call channels are channels established between the second call end and the first call end; The language can be set correspondingly at the second call end and the first call end.

14. The method for simultaneous interpretation of audio and video calls according to claim 13, characterized in that: The simultaneous translation and interpretation method also includes: Acquire language setting information of the first calling terminal and a plurality of the second calling terminals; Based on the language setting information, the language with the largest number of settings is acquired, recorded as the main language, and the main language is used as the language of the target speech segment; If the set language of the second call end is inconsistent with the main language, the N target voice segments and the N conversation voice segments are synthesized and processed separately to obtain N superimposed voice segments; based on the multiple point-to-point voice call channels, the N superimposed voice segments are sent to the multiple second call ends respectively; they are played in each second call end according to the time sequence; in the superimposed voice segment, the conversation voice segment is the background sound, the corresponding target voice segment is the main sound, and the set volume of the target voice segment is higher than the set volume of the conversation voice segment.

15. The method for simultaneous interpretation of audio and video calls according to claim 1, characterized in that: The simultaneous translation and interpretation method also includes: Based on the point-to-point voice call channel, sending the N target voice segments and the N text translation information to the second call end in chronological order; The second calling end plays the N target voice segments and the N text translation information in sequence according to time sequence; wherein each target voice segment is played synchronously with the corresponding text translation information.

16. A simultaneous translation and interpretation system for audio and video calls, comprising: The first conversation end is used to obtain voice information of the first conversation end, segment the voice information to obtain N conversation voice segments, convert the N conversation voice segments into N text segments in chronological order, translate the N text segments based on the target language of the first conversation end to obtain N text translation information, and obtain N target voice segments based on the N text translation information; An information forwarding server, configured to establish a point-to-point voice call channel, and send the N target voice segments to the second call end in chronological order based on the point-to-point voice call channel; The second conversation end is used for the second conversation end to play the N target voice segments in sequence according to the time sequence.

17. The simultaneous translation and interpretation system for audio and video calls according to claim 16, characterized in that: The second conversation end is also used to broadcast the target voice segment according to a preset instruction based on a preset or operation of a user corresponding to the second conversation end.

18. The simultaneous translation and interpretation system for audio and video calls according to claim 16, characterized in that: The simultaneous translation and interpretation system also includes an intelligent voice and semantic translation gateway; The intelligent speech semantic translation gateway comprises: An input and output module, configured to receive voice information, receive a target language preset by the first conversation end, and send a target voice segment to the second conversation end; A routing rule engine, used to determine a third-party translation interface to be called, and to translate the received text segment through the third-party translation interface to obtain text translation information; Cache database, used to store text translations obtained by calling third-party translation interfaces YY+242178P information; A retrieval model, used to retrieve corresponding text translation information from the cache database; The interface connection layer is used to exchange data with the third-party translation interface.

19. A computer device, characterized in that: The computer device comprises: at least one processor; and, a memory communicatively connected to the at least one processor; wherein, The memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can execute the simultaneous translation and interpretation method for audio and video calls as described in any one of claims 1-15.

20. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer instructions, which are used to enable a computer to execute the simultaneous translation and interpretation method for audio and video calls as described in any one of claims 1-15.

21. A computer program product comprising computer instructions, characterized in that When the computer instructions are executed by a processor, the steps of the method according to any one of claims 1 to 15 are implemented.