Call method and device, electronic equipment and readable storage medium

By implementing the voice translation function in electronic devices, the problem of communication barriers caused by language barriers between the two parties in the call is solved and the call efficiency is improved.

CN119363881APending Publication Date: 2025-01-24VIVO MOBILE COMM CO LTD

Patent Information

Application Number
CN202411470212.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-10-21
Publication Date
2025-01-24

AI Technical Summary

Technical Problem

During the call, if both parties do not understand the other party’s language, there may be communication barriers, resulting in low call efficiency.

Method used

By implementing the voice translation function in electronic devices, the voice of one party is translated in real time to the language that the other party can understand, and the translated voice is sent to the corresponding call party, so that the two parties can directly understand the content of the other party's call.

Benefits of technology

Effectively avoided the communication obstacles caused by the language increasing language, which significantly improved the communication efficiency of the two parties.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119363881A_ABST
    Figure CN119363881A_ABST
Patent Text Reader

Abstract

The invention discloses a call method and device, electronic equipment and a readable storage medium, and belongs to the technical field of communication. The method comprises the following steps: under the condition that a first call party and a second call party communicate, executing at least one of the following steps: under the condition that a first voice of the first call party is received, sending the first voice of the first call party and a translated voice of the first voice or the translated voice of the first voice to the second call party; and playing the second voice and the translated voice of the second voice or the translated voice of the second voice under the condition that the second voice of the second call party is received.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application belongs to the field of communication technology, and specifically relates to a call method, device, electronic device and readable storage medium. Background Art

[0002] Currently, a user can collect voice through an electronic device, and then communicate with other users through the voice collected by the electronic device. For example, when a user is talking to another user, the electronic device can obtain the voice output by the user, and then send the voice to the electronic device of the other user, and receive the voice from the electronic device of the other user, thereby realizing the conversation with the other user.

[0003] However, if the two parties on a call do not understand each other's language, there may be a communication barrier, resulting in low communication efficiency between the two parties. Summary of the invention

[0004] The purpose of the embodiments of the present application is to provide a call method, device, electronic device and readable storage medium, which can improve the communication efficiency between the two parties of the call.

[0005] In a first aspect, an embodiment of the present application provides a calling method, which is applied to an electronic device corresponding to a first calling party. The calling method includes: when the first calling party and the second calling party are talking, performing at least one of the following: when a first voice of the first calling party is received, sending the first voice of the first calling party and a translated voice of the first voice, or the translated voice of the first voice to the second calling party; when a second voice of the second calling party is received, playing the second voice and the translated voice of the second voice, or the translated voice of the second voice.

[0006] In a second aspect, an embodiment of the present application provides a calling device, which is applied to an electronic device corresponding to a first calling party, and the calling device includes: a sending module and a playing module. The sending module is used to send the first voice of the first calling party and the translated voice of the first voice, or the translated voice of the first voice, to the second calling party when the first calling party and the second calling party are talking, upon receiving the first voice of the first calling party. The playing module is used to play the second voice and the translated voice of the second voice, or the translated voice of the second voice, upon receiving the second voice of the second calling party.

[0007] In a third aspect, an embodiment of the present application provides an electronic device, which includes a processor and a memory, wherein the memory stores programs or instructions that can be run on the processor, and when the program or instructions are executed by the processor, the steps of the method described in the first aspect are implemented.

[0008] In a fourth aspect, an embodiment of the present application provides a readable storage medium, on which a program or instruction is stored, and when the program or instruction is executed by a processor, the steps of the method described in the first aspect are implemented.

[0009] In a fifth aspect, an embodiment of the present application provides a chip, comprising a processor and a communication interface, wherein the communication interface is coupled to the processor, and the processor is used to run a program or instruction to implement the method described in the first aspect.

[0010] In a sixth aspect, an embodiment of the present application provides a computer program product, which is stored in a storage medium and is executed by at least one processor to implement the method described in the first aspect.

[0011] In an embodiment of the present application, when the first caller and the second caller are talking, at least one of the following is performed: when the first voice of the first caller is received, the first voice of the first caller and the translated voice of the first voice, or the translated voice of the first voice, are sent to the second caller; when the second voice of the second caller is received, the translated voice of the second voice and the second voice, or the translated voice of the second voice, is played. In this solution, since the second voice can be translated and the translated voice of the second voice is output, the first caller can clearly understand the content of the second caller's call directly based on the translated voice; and the translated voice of the first voice is sent to the second caller, so that the second caller can clearly understand the content of the first caller's call, thereby avoiding communication barriers between the two callers, thereby improving the communication efficiency of the two callers. BRIEF DESCRIPTION OF THE DRAWINGS

[0012] Figure 1 is a flow chart of a calling method provided by an embodiment of the present application;

[0013] Figure 2 This is an example diagram of an incoming call interface provided in an embodiment of the present application;

[0014] Figure 3 This is one of the example diagrams of a call interface provided in an embodiment of the present application;

[0015] Figure 4 This is a second example diagram of a call interface provided in an embodiment of the present application;

[0016] Figure 5 This is a third example diagram of a call interface provided in an embodiment of the present application;

[0017] Figure 6 This is a fourth example diagram of a call interface provided in an embodiment of the present application;

[0018] Figure 7It is a structural schematic diagram of a communication device provided in an embodiment of the present application;

[0019] Figure 8 This is one of the hardware structure diagrams of an electronic device provided in an embodiment of the present application;

[0020] Fig. 9 This is the second schematic diagram of the hardware structure of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0021] The following will be combined with the drawings in the embodiments of the present application to clearly describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, rather than all the embodiments. All other embodiments obtained by ordinary technicians in this field based on the embodiments in the present application belong to the scope of protection of this application.

[0022] The terms "first", "second", etc. in the specification and claims of the present application are used to distinguish similar objects, and are not used to describe a specific order or sequence. It should be understood that the terms used in this way are interchangeable where appropriate, so that the embodiments of the present application can be implemented in an order other than those illustrated or described herein, and the objects distinguished by "first", "second", etc. are generally of one type, and the number of objects is not limited. For example, the first object can be one or more. In addition, "and / or" in the specification and claims represents at least one of the connected objects, and the character " / " generally indicates that the objects associated with each other are in an "or" relationship.

[0023] The terms "at least one (item)", "at least one of" and the like in the specification and claims of the present application refer to any one, any two or a combination of more than two of the objects included therein. For example, at least one (item) of a, b, and c can be represented by: "a", "b", "c", "a and b", "a and c", "b and c" and "a, b and c", where a, b, and c can be single or multiple. Similarly, "at least two (items)" refers to two or more, and its meaning is similar to that of "at least one (item)".

[0024] The following, in conjunction with the accompanying drawings, describes in detail the call method, device, electronic device and storage medium provided in the embodiments of the present application through specific embodiments and their application scenarios.

[0025] The calling method, device, electronic device and storage medium provided in the embodiments of the present application can be applied to telephone call scenarios, video call scenarios, voice call scenarios, voice message receiving scenarios, voice recording scenarios, etc.

[0026] In one case, for a call scenario, such as the above-mentioned telephone call scenario, video call scenario or voice call scenario,

[0027] When user A is talking with user B, if the voice output by user A through electronic device 1 is Chinese voice, and the voice output by user B through electronic device 2 and received by electronic device 1 is English voice, then electronic device 1 can translate the English voice output by electronic device 2 to obtain the Chinese translated voice of the English voice, and then user A can understand the content of user B's call through the Chinese translated voice, and electronic device 1 can also translate the Chinese voice emitted by user A into English voice and send it to electronic device 2, so that user B can understand the content of user A's call through the English translation.

[0028] In another case, for a voice message receiving scenario, after an application in an electronic device (such as a chat application) receives a voice message, the message identifier of the voice message can be displayed in the chat interface. If the voice message contains English voice, the user can input the message identifier so that the electronic device can display a translation control; the user can continue to input the translation control so that the electronic device can translate the voice contained in the voice message, and then output the Chinese translated voice corresponding to the voice message.

[0029] In another case, for a voice recording scenario, the voice recorded by the user through the audio recording software in the electronic device is in English. If the user wants to change the language of the recorded voice, the user can long press and input the voice identifier corresponding to the English voice so that the electronic device can display at least one language control. If the user selects the Chinese language control among at least one language control, the electronic device can translate the English voice into Chinese.

[0030] The call method, device, electronic device and storage medium provided in the embodiments of the present application can translate the second voice and output the translated voice of the second voice, so that the first party can clearly understand the call content of the second party directly based on the translated voice; and the translated voice of the first voice is sent to the second party, so that the second party can clearly understand the call content of the first party, thereby avoiding communication barriers between the two parties of the call, thereby improving the communication efficiency of the two parties of the call.

[0031] The execution subject of the call method provided in the embodiment of the present application may be a call device, and the call device may be an electronic device, or a functional module in an electronic device. The technical solution provided in the embodiment of the present application is described below using an electronic device as an example.

[0032] The present application embodiment provides a calling method. Figure 1A flowchart of a calling method provided by an embodiment of the present application is shown, which is applied to an electronic device corresponding to the first calling party. Figure 1 As shown, the calling method provided in the embodiment of the present application may include the following step 201.

[0033] Step 201: When a first calling party and a second calling party are talking on the phone, at least one of the following is performed:

[0034] When the first voice of the first party is received, the first voice of the first party and the translated voice of the first voice, or the translated voice of the first voice, are sent to the second party; when the second voice of the second party is received, the second voice and the translated voice of the second voice, or the translated voice of the second voice, are played.

[0035] Optionally, in an embodiment of the present application, when a first party and a second party are talking on the phone and when a first voice of the first party is received, the electronic device may send the first voice of the first party and a translated voice of the first voice, or the translated voice of the first voice to the second party.

[0036] Optionally, in an embodiment of the present application, when a first party and a second party are talking on the phone and when a second voice from the second party is received, the electronic device may send a translated voice of the first voice to the second party; when the second voice from the second party is received, play the second voice and a translated voice of the second voice, or a translated voice of the second voice.

[0037] Optionally, in the embodiment of the present application, when the first caller and the second caller are talking, and when the first caller's first voice is received, the electronic device can send the first voice of the first caller and the translated voice of the first voice, or the translated voice of the first voice to the second caller; and when the second voice of the second caller is received, play the second voice and the translated voice of the second voice, or the translated voice of the second voice. The specific details can be determined according to actual use requirements, and the embodiment of the present application does not limit it.

[0038] Optionally, in the embodiments of the present application, the above-mentioned call process can be described in detail in the following embodiments, and will not be described again here to avoid repetition.

[0039] Optionally, in the embodiment of the present application, the above step 201 can be specifically implemented by the following step 201a.

[0040] Optionally, when the translated voice of the second voice of the second party is received, the second voice and the translated voice of the second voice, or the translated voice of the second voice is played.

[0041] Optionally, when the first party is the voice sender and the second party is the voice receiver, the electronic device corresponding to the first party can translate the first voice of the first party, and send the first voice of the first party and the translated voice of the first voice, or the translated voice of the first voice to the electronic device corresponding to the second party.

[0042] Optionally, when the first party is the voice sender and the second party is the voice receiver, the electronic device corresponding to the first party can send the first voice of the first party to the electronic device corresponding to the second party, and the electronic device corresponding to the second party can translate the first voice of the first party, play the first voice of the first party and the translated voice of the first voice, or the translated voice of the first voice.

[0043] Optionally, when the first party is the voice receiver and the second party is the voice sender, the electronic device corresponding to the first party can translate the second voice of the second party, play the second voice and the translated voice of the second voice, or the translated voice of the second voice.

[0044] Optionally, when the first party is the voice receiver and the second party is the voice sender, the electronic device corresponding to the second party can translate the second voice of the second party, and send the second voice of the second party and the translated voice of the second voice, or the translated voice of the second voice to the electronic device corresponding to the first party, and the electronic device corresponding to the first party plays the second voice and the translated voice of the second voice, or the translated voice of the second voice.

[0045] Step 201a: During a conversation between a first party and a second party, when the electronic device receives a first voice of the first party, the first voice of the first party and a translated voice of the first voice, or the translated voice of the first voice, is sent to the second party.

[0046] In the embodiment of the present application, the first calling party may be a user of an electronic device, and the second calling party may be a user of another electronic device.

[0047] Optionally, in an embodiment of the present application, the electronic device can establish a call connection with other electronic devices through the telephone numbers corresponding to the other electronic devices, and then have a call with the second call party.

[0048] Optionally, in an embodiment of the present application, the electronic device can establish a call connection with the electronic device of the second call party through the contact identifier in the instant messaging application, and then have a call with the second call party.

[0049] Exemplarily, an electronic device runs an instant messaging application and then displays an instant messaging interface, which includes at least one contact identifier. The first party can click to input a first contact identifier among the at least one contact identifier so that the electronic device can display a voice call control and a video call control; then, the first party can input the voice call control so that the electronic device can establish a voice call connection with the electronic device of the second party and then make a voice call with the second party; or, the first party can click to input the video call control so that the electronic device can establish a video call connection with the second electronic device of the second party and then make a video call with the second party.

[0050] Optionally, in the embodiment of the present application, the contact identifier may include any of the following: Chinese, English, image, special symbol or emoticon package, etc. The specific information may be determined according to actual use requirements, and the embodiment of the present application does not limit this.

[0051] In the embodiment of the present application, the first voice is an audio including the voice of the first call party.

[0052] In the embodiment of the present application, the first voice may be received by a microphone of the electronic device.

[0053] Optionally, in the embodiment of the present application, the microphone may be any one of the following: a condenser microphone, a piezoelectric microphone, a linear microphone, or a pressure difference microphone, etc. The specific configuration may be determined based on actual usage, and the embodiment of the present application does not impose any limitation thereto.

[0054] Optionally, in the embodiment of the present application, the above-mentioned call may be a voice call and a video call.

[0055] For example, when the first caller and the second caller are in a voice call, the first voice may be "Hello", "What are you doing" or "Have you finished your work today?" etc. The specific information may be determined according to actual use requirements, and the present application embodiment does not limit this.

[0056] Optionally, in an embodiment of the present application, the electronic device may send the first voice to the electronic device of the second call party via a wireless network.

[0057] Optionally, in the embodiment of the present application, the wireless network may be any one of the following: a mobile network or a Wireless Fidelity (WiFi) network.

[0058] Exemplarily, the mobile network may be any one of the following: a 4th generation mobile communication technology (4G) network or a 5th generation mobile communication technology (5G) network.

[0059] Optionally, in the embodiment of the present application, the above step 201 can be specifically implemented by the following step 201b.

[0060] Step 201b: During a conversation between the first party and the second party, when the electronic device receives a second voice of the second party, the second voice and a translated voice of the second voice, or a translated voice of the second voice, are played.

[0061] Optionally, in an embodiment of the present application, when the first party and the second party are on a call, the electronic device may receive the second voice through a telephone application; or, when the first party and the second party are on a call, the first electronic device may receive the second voice through a chat application.

[0062] For example, when the first caller and the second caller are talking, the second voice may be "Hello", "I'm working" or "I'll finish it soon", etc. The specific information may be determined according to actual usage requirements, and the embodiment of the present application does not limit this.

[0063] Optionally, in an embodiment of the present application, the electronic device may receive the second voice via a wireless network.

[0064] In the embodiment of the present application, the electronic device can output the second voice and the translated voice of the second voice, or the translated voice of the second voice through the microphone.

[0065] Optionally, in an embodiment of the present application, when an incoming call interface is displayed, the incoming call interface may display a language translation control, and the user may click on the language translation control so that the electronic device may translate the first voice and the second voice.

[0066] For example, Figure 2 As shown, taking the electronic device as a mobile phone as an example, the mobile phone displays an incoming call interface 10, which includes the incoming call number, the phone number location and the language translation control 11. The user can click and input the language translation control 11 so that the mobile phone can translate the voice of the first caller and the voice of the second caller when the call is answered.

[0067] In the call method provided in the embodiment of the present application, when the first caller and the second caller are talking, if the first voice of the first caller is received, the first voice of the first caller and the translated voice of the first voice, or the translated voice of the first voice, are sent to the second caller; if the second voice of the second caller is received, the translated voice of the second voice and the second voice, or the translated voice of the second voice, is played. In this solution, since the second voice can be translated to output the translated voice of the second voice, the first caller can directly understand the semantics of the received voice more clearly based on the translated voice by translating the second voice; and sending the translated voice of the first voice to the second caller can enable the second caller to directly understand the semantics of the received voice more clearly based on the translated voice, thereby avoiding communication barriers between the two callers and improving the communication efficiency of the two callers.

[0068] Optionally, in the embodiment of the present application, the calling method provided in the embodiment of the present application also includes the following step 301.

[0069] Step 301: The electronic device determines a translated voice of a first voice and the translated content of the first voice according to a language of a second call party.

[0070] In the embodiment of the present application, the above-mentioned translation content may be a translation text.

[0071] Optionally, in an embodiment of the present application, the language of the second party is determined based on at least one of the following: the Internet Protocol (IP) location of the second party, the second voice of the second party, the contact setting information of the second party, and the language selection control in the call interface between the first party and the second party.

[0072] In one example, the language of the second call party can be determined based on the second voice of the second call party: after receiving the second voice, the electronic device can determine the language of the second voice based on the second voice, and translate the first voice through the language of the second voice to obtain the translated voice of the first voice and the translated content of the first voice.

[0073] Optionally, in the embodiment of the present application, the above language may be any one of the following: Chinese, English, Russian, Spanish or German, etc. The specific language may be determined according to actual use requirements, and the embodiment of the present application does not limit it.

[0074] In the embodiment of the present application, the electronic device may input the second speech into a Hidden Markov Model (HMM) to determine the language of the second speech.

[0075] Exemplarily, the electronic device can input the second speech into the Hidden Markov Algorithm, the Hidden Markov Algorithm segments the speech to obtain at least one segment of speech, then extracts the Mel Frequency Cepstral Cofficients coefficient features in each segment of audio, then compares the Mel Frequency Cepstral Cofficients features of each segment of audio with the Mel Frequency Cepstral Cofficients features stored in the database, and then determines the language corresponding to the Mel Frequency Cepstral Coefficients feature. It should be noted that one Mel Frequency Cepstral Coefficient feature stored in the database corresponds to one language.

[0076] In an embodiment of the present application, the electronic device can input the first voice into a speech recognition algorithm, such as an automatic speech recognition (ASR) algorithm, to obtain text corresponding to the first voice, and then translate the text corresponding to the first voice according to the language of the second party through a language translation algorithm to obtain the translated text of the first voice.

[0077] Exemplarily, the electronic device can input the first speech into the ASR algorithm, and the ASR algorithm splits the first speech according to the audio frame, and converts the split audio frame into multi-dimensional vector information according to the characteristics of the human ear, and then combines the multi-dimensional vector information to form phonemes, and finally combines the phonemes into words and concatenates them into sentences, thereby obtaining the text corresponding to the first speech. Then, through the language translation algorithm, the semantic information of the text corresponding to the first speech is obtained, and the text representation of the semantic information in the language of the second speech is obtained according to the language of the second caller, thereby obtaining the translated text of the first speech.

[0078] For example, taking the second party's language as English, after receiving the first voice "Hello", the electronic device can first convert the first voice into a text representation, that is, "Hello"; then, the first electronic device can translate the "Hello" text into English to obtain the translated text "hello" of the first voice.

[0079] Optionally, in the embodiment of the present application, the electronic device may translate the first speech by using the first algorithm and the language of the second party to obtain a translated speech corresponding to the first speech.

[0080] Optionally, in the embodiment of the present application, the first algorithm may be any one of the following: an artificial intelligence (AI) algorithm, a neural network algorithm, a large model algorithm, etc. The specific algorithm may be determined according to actual usage, and the embodiment of the present application does not limit the algorithm.

[0081] In another example, the language of the second party of the call can be determined based on the language selection control in the call interface between the first party of the call and the second party of the call: at least one language control can be displayed in the call interface, and through the user's selection input of a first language control in the at least one language control, the language corresponding to the first language control is determined as the language of the second party of the call.

[0082] In the embodiment of the present application, each language control in the at least one language control is used to determine a language, that is, each language control in the at least one language control may correspond to a language.

[0083] Optionally, in an embodiment of the present application, the electronic device may display at least one language control in a blank area in the call interface; or, during a call, the first electronic device may display at least one language control in the call interface through a pop-up window.

[0084] In the embodiment of the present application, the selection input is used to select a first language control from at least one language control.

[0085] Optionally, in an embodiment of the present application, the above-mentioned selection input includes but is not limited to: a click input of the user on the first language control through a touch device such as a finger or a stylus, or a voice command input by the user, or a specific gesture input by the user, or other feasible input, which can be determined based on actual usage requirements and is not limited in the embodiment of the present application.

[0086] In some embodiments of the present application, the above-mentioned specific gesture can be any one of a single-click gesture, a sliding gesture, a drag gesture, a pressure recognition gesture, a long press gesture, an area change gesture, a double-press gesture, and a double-click gesture.

[0087] In some embodiments of the present application, the click input may be a single click input, a double click input, or any number of click inputs, etc., and may also be a long press input or a short press input. For example, the first input may be a single click input of the user to the first language control.

[0088] For example, Figure 3 As shown, the mobile phone can display three language controls in the call interface 12, and the three language controls display Chinese, English and Russian respectively. The user can click and input the English language control so that the electronic device can determine the language corresponding to the English language control as the language of the second call party.

[0089] In another example, the language for the second party of the call can be determined based on the contact setting information of the second party of the call: the electronic device displays a contact interface, the contact interface includes at least one contact identifier, the electronic device receives a third input of a target contact identifier among the at least one contact identifier, and in response to the second input, displays at least one language control corresponding to the target contact identifier, receives a fourth input of the user to a second language control among the at least one language control, and in response to the fourth input, determines the language corresponding to the second language control as the language of the second party of the call.

[0090] It can be understood that each contact identifier in the at least one contact identifier is used to indicate a contact.

[0091] Optionally, in the embodiment of the present application, the above-mentioned contact interface can be a contact interface in a telephone application or a contact interface in an instant messaging application.

[0092] For example, the electronic device may run the phone application and display the contact interface based on a user's click input on the phone application icon.

[0093] As another example, the electronic device may run a phone application and display a contact interface based on a user's click input on an instant messaging application icon.

[0094] In the embodiment of the present application, the third input is used to select a target contact identifier from at least one contact identifier.

[0095] Optionally, in an embodiment of the present application, the above-mentioned third input includes but is not limited to: a click input of the target contact identifier by the user through a touch device such as a finger or a stylus, or a voice command input by the user, or a specific gesture input by the user, or other feasible input, which can be determined based on actual usage requirements and is not limited in the embodiment of the present application.

[0096] Optionally, in an embodiment of the present application, the electronic device may display at least one language control corresponding to the target contact identifier in the contact interface; or, the electronic device may display at least one language control corresponding to the target contact identifier through a pop-up window.

[0097] In the embodiment of the present application, the fourth input is used to select a second language control from at least one language control.

[0098] Optionally, in an embodiment of the present application, the fourth input includes but is not limited to: a click input of the user on the second language control through a touch device such as a finger or a stylus, or a voice command input by the user, or a specific gesture input by the user, or other feasible input, which can be determined based on actual usage requirements and is not limited in the embodiment of the present application.

[0099] In the embodiment of the present application, the electronic device can set the language of the second call party in advance, so that during the call, the electronic device can directly translate the first voice according to the language of the second call party.

[0100] In another example, the language of the second party can be determined based on the second party's Internet Protocol (IP) location: when the electronic device determines that the IP location is Beijing, the electronic device can determine that the language of the second party is Chinese based on the rule that Beijing belongs to China and the common language in China is Chinese; or, when the electronic device determines that the IP location is Guangdong, the first electronic device can determine that the language of the second party is Chinese based on the rule that Guangdong belongs to China and the common language in China is Chinese.

[0101] In an embodiment of the present application, the electronic device can send the translated speech of the first speech to the second party of the call, so that the second party of the call can directly understand the semantics of the received speech more clearly based on the translated speech, thereby avoiding communication barriers between the two parties of the call, and thus improving the communication efficiency of the two parties of the call.

[0102] Optionally, in the embodiment of the present application, the calling method provided in the embodiment of the present application also includes the following step 401.

[0103] Step 401: The electronic device determines a translated voice of a second voice and the translated content of the second voice according to the language of a first call party.

[0104] Optionally, in an embodiment of the present application, the language of the first call party can be determined based on at least one of the following: the location of the subscriber identity module (SIM) of the electronic device, the first voice of the first call party, and the language selection control in the call interface between the first call party and the second call party.

[0105] It should be noted that the above specific implementation process can be found in the above embodiments, and will not be described again here to avoid repetition.

[0106] Optionally, in an embodiment of the present application, when the first party and the second party are talking on the call, at least one of the following items is displayed in the call interface between the first party and the second party: the voice content of the first voice, the translation content of the first voice, the voice content of the second voice, and the translation content of the second voice.

[0107] For example, Figure 4As shown, when the call interface 12 is displayed, the mobile phone can display the original text "Is there anything else I can help you with" corresponding to the first voice and the translated text "Is there anything I can help you with" corresponding to the first voice in the call interface 12. At this time, the second voice is "No more for now, thank you very much", so the mobile phone can display the Chinese words "No more for now, thank you very much" on the call interface 12, and display the translated text "No more for now Thank you very much" below the Chinese words "No more for now, thank you very much".

[0108] Optionally, in the embodiment of the present application, generally during a call, the electronic device is placed close to the ear of the first caller, and it may be inconvenient to view the translation content. If the electronic device detects that it is close to the ear, the translation content may not be displayed. If it detects that the electronic device is away from the ear, the translation content is displayed to save energy.

[0109] In the embodiment of the present application, since the second voice can be translated to output the translated voice of the second voice, the second voice can be translated so that the first party can directly understand the semantics of the received voice more clearly based on the translated voice, thereby avoiding communication barriers between the two parties and improving the communication efficiency between the two parties.

[0110] Optionally, in the embodiment of the present application, the number of the second call parties is at least two.

[0111] Exemplarily, before "the electronic device sends the first voice of the first party and the translated voice of the first voice, or the translated voice of the first voice to the second party" in the above step 201, the call method provided in the embodiment of the present application also includes the following step 501.

[0112] Step 501: The electronic device determines the translated speech of the first speech corresponding to each second call party according to the language of each second call party.

[0113] Optionally, in an embodiment of the present application, the language of each of the above-mentioned second call parties can be determined by at least one of the following: the Internet Protocol (IP) location of each of the second call parties, the second voice of each of the second call parties, the contact setting information of each of the second call parties, and the language selection control in the call interface between the first call party and each of the second call parties.

[0114] In the embodiment of the present application, the electronic device can translate the first voice according to the language of each second call party to obtain a translated voice corresponding to each second call party, and send the translated voice corresponding to each second call party to each second call party.

[0115] It should be noted that the specific implementation process can be found in the above embodiments, and will not be described again here to avoid repetition.

[0116] In an embodiment of the present application, the electronic device can send the translated speech of the first speech to each second call party, so that each second call party can directly understand the semantics of the received speech more clearly based on the translated speech, avoiding communication barriers in multi-party calls, thereby improving the communication efficiency of multi-party calls.

[0117] Optionally, in the embodiment of the present application, the number of the second call parties is at least two.

[0118] Exemplarily, before "the electronic device plays the second voice and the translated voice of the second voice, or the translated voice of the second voice" in the above step 201, the calling method provided in the embodiment of the present application further includes the following step 601.

[0119] Step 601: The electronic device determines the translated speech of the second speech corresponding to each second party according to the language of the first party.

[0120] In the embodiment of the present application, the electronic device can translate the second voices sent by each second party according to the language of the first party to obtain translated voices of the second voices corresponding to each second party.

[0121] It should be noted that the specific implementation process can be found in the above embodiments, and will not be described again here to avoid repetition.

[0122] In the embodiment of the present application, since each second voice can be translated to output the translated voice of each second voice, by translating each second voice, the first call party can directly understand the semantics of the received voice more clearly based on the translated voice, thereby avoiding communication barriers in multi-party calls and improving the communication efficiency of multi-party calls.

[0123] Optionally, in an embodiment of the present application, before "the electronic device sends the first voice of the first party and the translated voice of the first voice, or the translated voice of the first voice to the second party" in the above step 201, the call method provided in the embodiment of the present application also includes the following step 701.

[0124] Step 701: The electronic device generates a translated speech of a first speech according to a voiceprint feature of a first call party.

[0125] In the embodiment of the present application, the voiceprint feature may be a sound wave spectrum that carries speech information, and the voiceprint feature may represent the user's voice.

[0126] Optionally, in an embodiment of the present application, the above-mentioned speech information includes at least one of the following: timbre, pitch, sound intensity and sound length, etc.

[0127] Optionally, in an embodiment of the present application, the call interface includes a simultaneous interpretation control, and the first caller can input the simultaneous interpretation control so that the first electronic device can output the translated speech of the first speech based on the voiceprint features corresponding to the first speech.

[0128] Exemplarily, the electronic device may add the voiceprint feature to the AI ​​voice information to obtain a new voice, and then use the new voice as the voice of the translated voice of the first voice, and output the translated voice through the new voice.

[0129] Optionally, in an embodiment of the present application, when the first caller does not input the simultaneous interpretation control, the electronic device can output the translated voice of the first voice through AI voice.

[0130] In the embodiment of the present application, the electronic device can obtain the voiceprint feature corresponding to the first voice through the second algorithm.

[0131] Optionally, in an embodiment of the present application, the second algorithm may be any one of the following: an AI algorithm, a neural network algorithm, or a voiceprint extraction model.

[0132] Exemplarily, the first electronic device performs feature extraction on multiple audio frames in the first speech through a voiceprint extraction model to obtain multiple target frame features corresponding to the multiple audio frames; then, based on the multiple target frame features, obtain the covariance matrix, variance and mean corresponding to the multiple audio frames; perform dimensionality reduction processing on the covariance matrix corresponding to the multiple audio frames through the one-dimensional convolutional layer in the voiceprint extraction model to obtain the reduced dimension result, and perform vectorization operation on the reduced dimension result to obtain target one-dimensional preprocessed data; perform splicing operation on the variance corresponding to the multiple audio frames, the mean corresponding to the multiple audio frames and the target one-dimensional preprocessed data to obtain the target splicing result; perform voiceprint recognition processing on the target splicing result through the voiceprint extraction model to obtain the voiceprint features of the first speech.

[0133] In the embodiment of the present application, the electronic device outputs the translated speech of the first speech through the voiceprint feature corresponding to the first speech, which can make the output translated speech sound more natural, thereby improving the call experience.

[0134] Optionally, in an embodiment of the present application, when the electronic device receives the second voice of the second party, the translated voice of the second voice is played, and the original voice control in the call interface between the first party and the second party is in a closed state; or, when the electronic device receives the second voice of the second party, the second voice and the translated voice of the second voice are played, and the original voice control in the call interface between the first party and the second party is in an open state.

[0135] For example, in combination Figure 4 ,like Figure 5 As shown, the above-mentioned call interface 12 includes an original audio control 15 of the first call party and an original audio control 16 of the second call party. The user can click and input the original audio control 15 of the first call party so that the mobile phone can stop playing the original audio of the first call party; and the user can click and input the original audio control 16 of the second call party so that the mobile phone can stop playing the original audio of the second call party.

[0136] Optionally, in the embodiment of the present application, the calling method provided in the embodiment of the present application also includes the following step 801.

[0137] Step 801: The electronic device displays common phrases corresponding to the call scenario in the call interface between the first call party and the second call party.

[0138] In an embodiment of the present application, the electronic device can determine a call scenario based on the first voice and the second voice.

[0139] For example, if the second voice is: "Good evening sir, what cuisine would you like to order?" and the first voice is "Order Shandong cuisine", the mobile phone can determine the keywords "order, cuisine" based on the second voice and the first voice, thereby determining that the call scenario is a meal ordering scenario.

[0140] As another example, the second voice is: "What time do you want to check in?" and the first voice is "three o'clock in the afternoon". The mobile phone determines the keyword "check-in" based on the second voice and the first voice, thereby determining that the call scenario is a hotel booking scenario.

[0141] In the embodiment of the present application, there is an association relationship between the above-mentioned call scenarios and common words, that is, after the first electronic device determines the call scenario, the first electronic device can directly determine the common words according to the call scenario.

[0142] It can be understood that the above-mentioned common words are words frequently used by the first call party in a certain object scenario, and the common words may be one or more.

[0143] For example, taking the call scenario as a meal ordering scenario, the common words mentioned above may be “less salt, less oil”.

[0144] For example, Figure 6 As shown, when the first call party and the second call party are in a call, the mobile phone can display the common words "don't eat spicy food" and "want a private room" in the call interface according to the voice content of the two call parties.

[0145] As another example, taking the call scenario of booking a hotel as an example, the common word mentioned above may be “with window”.

[0146] Optionally, in an embodiment of the present application, when the electronic device detects that the call scene contains information such as time, place, people and events, the electronic device can automatically create a pending item and automatically create an alarm based on the above time to remind the first call party to process the pending item.

[0147] Optionally, in an embodiment of the present application, the above-mentioned call interface may further include a text input box, and the first call party may input text in the text input box so that the electronic device may send the text to the electronic device of the second call party.

[0148] Optionally, in an embodiment of the present application, the user can long press and input the common words mentioned above, so that the electronic device can display a common word editing interface, and the user can add, delete, or edit common words in the common word editing interface.

[0149] In the embodiment of the present application, the first party may be in a noisy environment, speak in a different way, or have other problems, which may lead to errors in the translation content or translation voice. To avoid such problems, the first party's common phrases are provided on the call interface, so that the first party can directly use the common phrases, so that the second party can clearly understand the first party's meaning.

[0150] Optionally, in the embodiment of the present application, the calling method provided in the embodiment of the present application also includes the following steps 901 and 902.

[0151] Step 901: An electronic device receives a first input of translation content of a first voice.

[0152] In the embodiment of the present application, the first input is an input for editing the translation content of the first voice.

[0153] Optionally, in an embodiment of the present application, the above-mentioned first input includes but is not limited to: text input of the translation content of the first voice by the user through a touch device such as a finger or a stylus, or a voice command input by the user, or a specific gesture input by the user, or other feasible input, which can be determined according to actual usage requirements and is not limited in the embodiment of the present application.

[0154] Step 902: The electronic device updates the translation content of the first speech and the translated speech of the first speech in response to the first input.

[0155] In the embodiment of the present application, the electronic device can update the translation content of the first voice through the user's editing of the translation content of the first voice, and then update the translated voice of the first voice through the updated translation content of the first voice.

[0156] In the embodiment of the present application, the electronic device can send the updated translation content of the first voice and the translated voice of the first voice to the second call party.

[0157] In the embodiment of the present application, the electronic device can correct the translation content of the first voice according to the user input, and send the corrected translation content of the first voice to the second call party, thereby improving the accuracy of the electronic device in translating the first voice.

[0158] Optionally, in the embodiment of the present application, the calling method provided in the embodiment of the present application also includes the following steps 1001 and 1002.

[0159] Step 1001: The electronic device receives a second input of a translation content of a second voice.

[0160] In the embodiment of the present application, the second input is an input for selecting the translation content of the first voice.

[0161] Optionally, in an embodiment of the present application, the second input includes but is not limited to: a user clicking on the translation content of the second voice through a touch device such as a finger or a stylus, or a voice command input by the user, or a specific gesture input by the user, or other feasible input, which can be determined based on actual usage requirements and is not limited in the embodiment of the present application.

[0162] Step 1002: The electronic device sends a repeated inquiry request to the second call party in response to the second input.

[0163] In the embodiment of the present application, after the electronic device sends a repeat inquiry request to the electronic device of the second call party, the second call party may resend the second voice.

[0164] In the embodiment of the present application, the electronic device sends a repeated inquiry request to the second call party so that the second call party can re-send the second voice so that the first call party can clearly understand the meaning of the second voice.

[0165] It should be noted that the calling method provided in the embodiment of the present application can be executed by a calling device. In the embodiment of the present application, the calling method is executed by a calling device as an example to illustrate the calling device provided in the embodiment of the present application.

[0166] Figure 7 A possible structural diagram of a communication device involved in an embodiment of the present application is shown. Figure 7 As shown, the communication device 70 may include: a sending module 71 and a playing module 72 .

[0167] The sending module 71 is used for sending the first voice of the first party and the translated voice of the first voice, or the translated voice of the first voice, to the second party when the first voice of the first party is received during the call. The playing module 72 is used for playing the second voice and the translated voice of the second voice, or the translated voice of the second voice, when the second voice of the second party is received.

[0168] In a possible implementation, the playing module 72 is further configured to play the second voice and the translated voice of the second voice, or the translated voice of the second voice, when receiving the translated voice of the second voice of the second party.

[0169] In a possible implementation, when a first party and a second party are talking on the call, at least one of the following items is displayed in a call interface between the first party and the second party: the voice content of the first voice, the translation content of the first voice, the voice content of the second voice, and the translation content of the second voice.

[0170] In a possible implementation, the playback device 70 provided in the embodiment of the present application further includes: a determination module. The determination module is used to determine the translation speech of the first speech and the translation content of the first speech according to the language of the second call party.

[0171] In a possible implementation, the playback device 70 provided in the embodiment of the present application further includes: a determination module. The determination module is used to determine the translated speech of the second speech and the translated content of the second speech according to the language of the first call party.

[0172] In a possible implementation, the number of the second call parties is at least two; the playback device 70 provided in the embodiment of the present application further includes: a determination module. The determination module is used to determine the translations of the first voice corresponding to each second call party according to the language of each second call party before sending the first voice and the translation of the first voice of the first call party, or the translation of the first voice to the second call party.

[0173] In a possible implementation, the number of the second call parties is at least two; the playback device 70 provided in the embodiment of the present application further includes: a determination module. The determination module is used to determine the translations of the second voice corresponding to each second call party according to the language of the first call party before playing the second voice and the translation of the second voice, or the translation of the second voice.

[0174] In a possible implementation, the playback device 70 provided in the embodiment of the present application further includes: a generation module. The generation module is used to generate the translated speech of the first speech according to the voiceprint feature of the first call party before sending the first speech and the translated speech of the first speech of the first call party, or the translated speech of the first speech to the second call party.

[0175] In one possible implementation, the language of the second party is determined based on at least one of the following: the IP address of the second party, the second voice of the second party, the contact setting information of the second party, and the language selection control in the call interface between the first party and the second party.

[0176] In one possible implementation, when the second voice of the second party is received, the translated voice of the second voice is played, and the original voice control in the call interface between the first party and the second party is in a closed state; when the second voice of the second party is received, the second voice and the translated voice of the second voice are played, and the original voice control in the call interface between the first party and the second party is in an opened state.

[0177] In a possible implementation, the playback device 70 provided in the embodiment of the present application further includes: a display module. The display module is configured to display common phrases corresponding to the call scenario in the call interface between the first call party and the second call party.

[0178] In a possible implementation, the playback device 70 provided in the embodiment of the present application further includes: a receiving module and an updating module. The receiving module is used to receive a first input of the translation content of the first speech. The updating module is used to update the translation content of the first speech and the translated speech of the first speech in response to the first input.

[0179] In a possible implementation, the playback device 70 provided in the embodiment of the present application further includes: a receiving module. The receiving module is used to receive a second input of the translation content of the second voice. The sending module is also used to send a repeat inquiry request to the second call party in response to the second input.

[0180] The embodiment of the present application provides a calling device, which can translate a second voice and output the translated voice of the second voice, so that the first party can clearly understand the call content of the second party directly based on the translated voice; and the translated voice of the first voice is sent to the second party, so that the second party can clearly understand the call content of the first party, thereby avoiding communication barriers between the two parties of the call, thereby improving the communication efficiency of the two parties of the call.

[0181] The calling device in the embodiment of the present application can be an electronic device, or a component in the electronic device, such as an integrated circuit or a chip. The electronic device can be a terminal, or a device other than a terminal. Exemplarily, the mobile electronic device can be a mobile phone, a tablet computer, a laptop computer, a PDA, a vehicle-mounted electronic device, a mobile Internet device (Mobile Internet Device, MID), an augmented reality (augmented reality, AR) / virtual reality (virtual reality, VR) device, a robot, a wearable device, an ultra-mobile personal computer (ultra-mobile personal computer, UMPC), a netbook or a personal digital assistant (personal digital assistant, PDA), etc. It can also be a server, a network attached storage (Network Attached Storage, NAS), a personal computer (personal computer, PC), a television (television, TV), a teller machine or a self-service machine, etc., which is not specifically limited in the embodiment of the present application.

[0182] The communication device in the embodiment of the present application may be a device having an operating system. The operating system may be an Android operating system, an iOS operating system, or other possible operating systems, which are not specifically limited in the embodiment of the present application.

[0183] The communication device provided in the embodiment of the present application can implement each process implemented in the above embodiment, and will not be described again here to avoid repetition.

[0184] Alternatively, if Figure 8 As shown, an embodiment of the present application further provides an electronic device 90, including a processor 91 and a memory 92, wherein the memory 92 stores programs or instructions that can be executed on the processor 91, and when the program or instructions are executed by the processor 91, the various steps of the above-mentioned information output method embodiment are implemented, and the same technical effect can be achieved. To avoid repetition, they are not described here.

[0185] It should be noted that the electronic devices in the embodiments of the present application include the mobile electronic devices and non-mobile electronic devices mentioned above.

[0186] Fig. 9 A schematic diagram of the hardware structure of an electronic device to implement an embodiment of the present application.

[0187] The electronic device 100 includes but is not limited to components such as a radio frequency unit 101, a network module 102, an audio output unit 103, an input unit 104, a sensor 105, a display unit 106, a user input unit 107, an interface unit 108, a memory 109, and a processor 110.

[0188] Those skilled in the art will appreciate that the electronic device 100 may also include a power source (such as a battery) for supplying power to various components, and the power source may be logically connected to the processor 110 through a power management system, thereby implementing functions such as managing charging, discharging, and power consumption management through the power management system. Fig. 9 The electronic device structure shown in the figure does not constitute a limitation on the electronic device. The electronic device may include more or fewer components than shown in the figure, or combine certain components, or arrange the components differently, which will not be described in detail here.

[0189] Among them, the processor 110 is used to execute at least one of the following when the first call party and the second call party are talking: when the first voice of the first call party is received, the first voice of the first call party and the translated voice of the first voice, or the translated voice of the first voice, are sent to the second call party; when the second voice of the second call party is received, the second voice and the translated voice of the second voice, or the translated voice of the second voice, are played.

[0190] Optionally, in the embodiment of the present application, the processor 110 is further configured to play the second voice and the translated voice of the second voice, or the translated voice of the second voice, upon receiving the translated voice of the second voice of the second party.

[0191] Optionally, in the embodiment of the present application, the processor 110 is further configured to determine a translated voice of the first voice and a translated content of the first voice according to a language of the second call party.

[0192] Optionally, in the embodiment of the present application, the processor 110 is further configured to determine the translated speech of the second speech and the translated content of the second speech according to the language of the first call party.

[0193] Optionally, in an embodiment of the present application, the number of the second call parties is at least two; the processor 110 is also used to determine the translated speech of the first speech corresponding to each second call party according to the language of each second call party before sending the first speech of the first call party and the translated speech of the first speech, or the translated speech of the first speech to the second call party.

[0194] Optionally, in an embodiment of the present application, the number of the second call parties is at least two; the processor 110 is also used to determine the translated voices of the second voice corresponding to each second call party according to the language of the first call party before playing the second voice and the translated voice of the second voice, or before playing the translated voice of the second voice.

[0195] Optionally, in an embodiment of the present application, the processor 110 is further configured to generate a translated speech of the first speech according to the voiceprint feature of the first party before sending the first speech of the first party and the translated speech of the first speech, or the translated speech of the first speech to the second party.

[0196] Optionally, in the embodiment of the present application, the display unit 106 is used to display common phrases corresponding to the call scenario in the call interface between the first call party and the second call party.

[0197] Optionally, in the embodiment of the present application, the user input unit 107 is further configured to receive a first input of the translation content of the first speech. The processor 110 is further configured to update the translation content of the first speech and the translated speech of the first speech in response to the first input.

[0198] Optionally, in the embodiment of the present application, the user input unit 107 is further configured to receive a second input of the translation content of the second voice. The processor 110 is further configured to send a repeat inquiry request to the second call party in response to the second input.

[0199] An embodiment of the present application provides an electronic device, which can translate a second voice and output the translated voice of the second voice, so that a first party can clearly understand the content of the second party's call directly based on the translated voice; and the translated voice of the first voice is sent to the second party, so that the second party can clearly understand the content of the first party's call, thereby avoiding communication barriers between the two parties and improving the communication efficiency of the two parties.

[0200] The electronic device provided in the embodiment of the present application can implement each process implemented in the above method embodiment and can achieve the same technical effect. To avoid repetition, it will not be described here.

[0201] The beneficial effects of various implementations in this embodiment can be specifically referred to the beneficial effects of the corresponding implementations in the above method embodiment. To avoid repetition, they will not be described again here.

[0202] It should be understood that in the embodiment of the present application, the input unit 104 may include a graphics processor (Graphics Processing Unit, GPU) 1041 and a microphone 1042, and the graphics processor 1041 processes the image data of a static picture or video obtained by an image capture device (such as a camera) in a video capture mode or an image capture mode. The display unit 106 may include a display panel 1061, and the display panel 1061 may be configured in the form of a liquid crystal display, an organic light emitting diode, etc. The user input unit 107 includes a touch panel 1071 and at least one of other input devices 1072. The touch panel 1071 is also called a touch screen. The touch panel 1071 may include two parts: a touch detection device and a touch controller. Other input devices 1072 may include, but are not limited to, a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a trackball, a mouse, and a joystick, which will not be repeated here.

[0203] The memory 109 can be used to store software programs and various data. The memory 109 may mainly include a first storage area for storing programs or instructions and a second storage area for storing data, wherein the first storage area may store an operating system, an application program or instructions required for at least one function (such as a sound playback function, an image playback function, etc.), etc. In addition, the memory 109 may include a volatile memory or a non-volatile memory, or the memory 109 may include both volatile and non-volatile memories. Among them, the non-volatile memory may be a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), or a flash memory. The volatile memory may be a random access memory (RAM), a static random access memory (SRAM), a dynamic random access memory (DRAM), a synchronous dynamic random access memory (SDRAM), a double data rate synchronous dynamic random access memory (DDRSDRAM), an enhanced synchronous dynamic random access memory (ESDRAM), a synchronous link dynamic random access memory (SLDRAM) and a direct memory bus random access memory (DRRAM). The memory 109 in the embodiment of the present application includes but is not limited to these and any other suitable types of memory.

[0204] The processor 110 may include one or more processing units; optionally, the processor 110 integrates an application processor and a modem processor, wherein the application processor mainly processes operations related to an operating system, a user interface, and application programs, and the modem processor mainly processes wireless communication signals, such as a baseband processor. It is understandable that the modem processor may not be integrated into the processor 110.

[0205] An embodiment of the present application also provides a readable storage medium, on which a program or instruction is stored. When the program or instruction is executed by a processor, the various processes of the above-mentioned method embodiment are implemented and the same technical effect can be achieved. To avoid repetition, it will not be repeated here.

[0206] The processor is the processor in the electronic device described in the above embodiment. The readable storage medium includes a computer readable storage medium, such as a computer read-only memory ROM, a random access memory RAM, a magnetic disk or an optical disk.

[0207] An embodiment of the present application further provides a chip, which includes a processor and a communication interface, wherein the communication interface is coupled to the processor, and the processor is used to run programs or instructions to implement the various processes of the above-mentioned method embodiment, and can achieve the same technical effect. To avoid repetition, it will not be repeated here.

[0208] It should be understood that the chip mentioned in the embodiments of the present application can also be called a system-level chip, a system chip, a chip system or a system-on-chip chip, etc.

[0209] An embodiment of the present application provides a computer program product, which is stored in a storage medium. The program product is executed by at least one processor to implement the various processes of the above-mentioned information output method embodiment and can achieve the same technical effect. To avoid repetition, it will not be repeated here.

[0210] It should be noted that, in this article, the terms "comprise", "include" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, an element defined by the sentence "comprises one..." does not exclude the presence of other identical elements in the process, method, article or device including the element. In addition, it should be noted that the scope of the method and device in the embodiment of the present application is not limited to performing functions in the order shown or discussed, and may also include performing functions in a substantially simultaneous manner or in reverse order according to the functions involved, for example, the described method may be performed in an order different from that described, and various steps may also be added, omitted, or combined. In addition, the features described with reference to certain examples may be combined in other examples.

[0211] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present application, or the part that contributes to the prior art, can be embodied in the form of a computer software product, which is stored in a storage medium (such as ROM / RAM, a disk, or an optical disk), and includes a number of instructions for a terminal (which can be a mobile phone, a computer, a server, or a network device, etc.) to execute the methods described in each embodiment of the present application.

[0212] The embodiments of the present application are described above in conjunction with the accompanying drawings, but the present application is not limited to the above-mentioned specific implementation methods. The above-mentioned specific implementation methods are merely illustrative and not restrictive. Under the guidance of the present application, ordinary technicians in this field can also make many forms without departing from the purpose of the present application and the scope of protection of the claims, all of which are within the protection of the present application.

Claims

1. A method for making a call, characterized in that: Applied to an electronic device corresponding to the first call party, the method includes: When the first calling party and the second calling party are in conversation, at least one of the following is performed: When receiving the first voice of the first call party, sending the first voice of the first call party and the translated voice of the first voice, or the translated voice of the first voice to the second call party; When the second voice of the second party is received, the second voice and a translated voice of the second voice, or a translated voice of the second voice is played.

2. The method according to claim 1, characterized in that The method further comprises: When the translated voice of the second voice of the second party is received, the second voice and the translated voice of the second voice, or the translated voice of the second voice is played.

3. The method according to claim 1, characterized in that: When the first calling party and the second calling party are in a call, at least one of the following items is displayed in a call interface between the first calling party and the second calling party: The speech content of the first speech, the translation content of the first speech, the speech content of the second speech, and the translation content of the second speech.

4. The method according to claim 3, characterized in that The method further comprises: determining, according to the language of the second call party, a translated voice of the first voice and a translated content of the first voice; A translated voice of the second voice and translated content of the second voice are determined according to the language of the first calling party.

5. The method according to claim 1, characterized in that The number of the second call parties is at least two; Before sending the first speech of the first call party and the translated speech of the first speech, or the translated speech of the first speech to the second call party, the method further includes: According to the languages ​​of the second call parties, translation voices of the first voices corresponding to the second call parties are determined.

6. The method according to claim 1, characterized in that The number of the second call parties is at least two; Before playing the second voice and the translated voice of the second voice, or the translated voice of the second voice, the method further includes: According to the language of the first call party, a translated speech of the second speech corresponding to each of the second call parties is determined.

7. The method according to claim 1, characterized in that Before sending the first speech of the first call party and the translated speech of the first speech, or the translated speech of the first speech to the second call party, the method further includes: A translated speech of the first speech is generated according to the voiceprint feature of the first call party.

8. The method according to claim 4, characterized in that The language of the second calling party is determined according to at least one of the following: the IP address of the second calling party, the second voice of the second calling party, the contact setting information of the second calling party, and the language selection control in the call interface between the first calling party and the second calling party.

9. The method according to claim 1, characterized in that: When the second voice of the second call party is received, the translated voice of the second voice is played, and the original voice control in the call interface between the first call party and the second call party is in a closed state; when the second voice of the second call party is received, the second voice and the translated voice of the second voice are played, and the original voice control in the call interface between the first call party and the second call party is in an opened state.

10. The method according to claim 3, characterized in that: The method further comprises: Common phrases corresponding to the call scenario are displayed in a call interface between the first call party and the second call party.

11. The method according to claim 3, characterized in that The method further comprises: receiving a first input of translation content of the first speech; In response to the first input, the translation content of the first speech and the translated speech of the first speech are updated.

12. The method according to claim 3, characterized in that The method further comprises: receiving a second input of the translation content of the second speech; In response to the second input, a repeat query request is sent to the second party.

13. A communication device, characterized in that: Applicable to an electronic device corresponding to a first call party, the call device comprises: a sending module and a playing module; The sending module is used for sending the first voice of the first caller and the translated voice of the first voice, or the translated voice of the first voice, to the second caller when the first caller receives the first voice of the first caller during the conversation between the first caller and the second caller; The playing module is used to play the second voice and the translated voice of the second voice, or the translated voice of the second voice when receiving the second voice of the second calling party.

14. An electronic device, characterized in that: The method comprises a processor, a memory, and a program or instruction stored in the memory and executable on the processor, wherein the program or instruction, when executed by the processor, implements the steps of the call method as claimed in any one of claims 1 to 12.

15. A readable storage medium, characterized in that: The readable storage medium stores a program or an instruction, and when the program or the instruction is executed by the processor, the steps of the communication method according to any one of claims 1 to 12 are implemented.

Citation Information

Patent Citations

  • Translation method and terminal

    CN109286725A

  • Translation method based on voice communication and electronic equipment

    CN109582976A

  • Real-time call translation system and method

    US20210312143A1

Cited By

  • Call method and apparatus, electronic device, and readable storage medium

    WO2026086680A1