WO2018161284A1 - 一种多终端协同的翻译方法和终端 - Google Patents

一种多终端协同的翻译方法和终端 Download PDF

Info

Publication number
WO2018161284A1
WO2018161284A1 PCT/CN2017/075999 CN2017075999W WO2018161284A1 WO 2018161284 A1 WO2018161284 A1 WO 2018161284A1 CN 2017075999 W CN2017075999 W CN 2017075999W WO 2018161284 A1 WO2018161284 A1 WO 2018161284A1
Authority
WO
WIPO (PCT)
Prior art keywords
terminal
language
language type
content
type
Prior art date
Application number
PCT/CN2017/075999
Other languages
English (en)
French (fr)
Inventor
李自军
Original Assignee
华为技术有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 华为技术有限公司 filed Critical 华为技术有限公司
Priority to PCT/CN2017/075999 priority Critical patent/WO2018161284A1/zh
Priority to CN201780038124.0A priority patent/CN109313669A/zh
Publication of WO2018161284A1 publication Critical patent/WO2018161284A1/zh

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/40Processing or translation of natural language

Definitions

  • the present application relates to the field of electronic terminals, and in particular, to a multi-terminal collaborative translation method and terminal.
  • translation technology has been able to be used in applications that communicate across languages.
  • the translation technology can translate the voice, text and the like of the dialogue initiator into content that can be recognized by the conversation recipient, which greatly facilitates cross-language communication.
  • the existing translation technology is shown in Figure 1.
  • the user manually sets the language used by the user on the chat client and the language used by the other party.
  • the translation module on the chat client translates the input content into the other party.
  • the content of the language is shown in Figure 1.
  • the prior art requires the user to manually set the type of the input language and the type of the output language, which requires the user to perform additional settings before the communication, and does not naturally perform cross-language communication, which increases the workload of the setting; secondly, if both parties If you set the language type, there may be inconsistencies between the two settings, and conflicts occur. Moreover, if you are chatting by multiple people and the participants have more than two languages, set the language of the two parties one by one. It is more obvious to increase the workload of the setup, and it is also easy to cause conflicts in settings.
  • the present application provides a multi-terminal collaborative translation method and terminal, which can solve the problem that the manual setting of the translation language type in the translation technology is labor-intensive and easily causes setting conflicts.
  • a multi-terminal collaborative translation method including: receiving, by a first terminal, first language content input by a first terminal user; and detecting, by the first terminal, a first language type of the first terminal, and acquiring a second terminal a second language type; the first terminal translates the first language content of the first language type to be sent into the second language content of the second language type, and transmits the second language content of the second language type to the second terminal.
  • the first terminal can translate the first language content of the first language type into the second language content of the second language type that the second terminal can recognize and send to the second terminal, so as to facilitate the user of the first terminal.
  • Users of the second terminal can communicate with each other in different language types of the conversation.
  • the acquiring the second language type of the second terminal includes: the first terminal sending a capability negotiation request message to the second terminal, where the capability negotiation request message includes a first language type of the first terminal; The response message sent by the second terminal, the response message including the second language type of the second terminal.
  • the first terminal may send a capability negotiation request message to the second terminal to receive, by the second terminal, a response message of the second language type carrying the second terminal, so that the first terminal is in the first language type and the second language type.
  • the language content of the first terminal user and the language content of the second terminal user are translated in different situations.
  • the method further includes: the first terminal receiving the second terminal user input The third language content; the first terminal translates the third language content into the fourth language content of the first language type; the first terminal displays the fourth language content of the first language type.
  • the first terminal can translate the third language content sent by the second terminal into the four language content of the first language type, so that the user of the first terminal and the user of the second terminal can be different in language type. mutual communication.
  • the detecting, by the first terminal, the first language type of the first terminal comprises: the first terminal identifying the language type of the language content input by the first terminal text input interface or the microphone as the first language of the first terminal.
  • the first terminal receives the content of the speech of the second terminal, the first terminal identifies the language type of the operating system of the first terminal as the first language type of the first terminal; or the text of the first terminal by the first terminal
  • the language type of the text input in the input interface is identified as the first language type of the first terminal; or the first terminal identifies the language type of the web content of the browser of the first terminal as the first language type of the first terminal; or
  • the terminal identifies the language type of the application of the first terminal as the first language type of the first terminal; or the first terminal identifies the language type of the voice input in the microphone of the first terminal as the first language type of the first terminal Or the first terminal identifies the language type that the translation module of the first terminal can translate as the first language type of the first terminal.
  • the first terminal may also identify the first language type of the first terminal by using other methods, which is not limited in this embodiment. If the language type detected by the first terminal is different from the language type of the language content input by the first terminal user, the language type input by the first terminal user may be used as the first language type of the first terminal to facilitate the first terminal user and The second end user communicates.
  • the method further includes: receiving, by the first terminal, an update message sent by the second terminal, where the update message includes a third language type after the second terminal is updated, and the third language type is different from the second language type.
  • the first terminal can learn that the language type supported by the second terminal is updated to the third language type, and the first terminal can translate the first language content of the first language type into the second language content of the third language type.
  • the first terminal may also receive the third language content of the third language type sent by the second terminal, and translate the third language content of the third language type into the fourth language content of the first language type, so as to facilitate the first terminal.
  • the user communicates with the user of the second terminal.
  • a method for translation of a multi-terminal collaboration including: receiving, by a first terminal, first language content input by a first terminal user; and detecting, by the first terminal, a first language type of the first terminal and a first translation capability, a translation capability is used to indicate that the first terminal is capable of translating the language content of the third language type and the language content of the first language type, and the first terminal acquires the second language type and the second translation capability of the second terminal,
  • the second translation capability is used to instruct the second terminal to translate the language content of the third language type and the language content of the second language type; the first terminal translates the first language content of the first language type into the third language type
  • the second language content transmits the second language content of the third language type to the second terminal, so that the second terminal translates the second language content of the third language type into the third language content of the second language type.
  • the first terminal may translate the first language content of the first language type into the second language content of the third language type and send it to the second terminal.
  • the second terminal may translate the second language content of the third language type into the third language content of the second language type, so that the user of the first terminal and the user of the second terminal may be different in language type In the case of this, intermediate language types of the third language type communicate with each other.
  • the first terminal and the second language type and the second translation capability of the second terminal include: the first terminal sends a capability negotiation request message to the second terminal, where the capability negotiation request message includes the first terminal The first language type and the first translation capability; the first terminal receives the response message sent by the second terminal, and the response message includes the second language type and the second translation capability of the second terminal. That is, the first terminal may send a capability negotiation request message to the second terminal to notify the second terminal of the first language type and the first translation capability of the first terminal, and may receive the response message sent by the second terminal, thereby Obtaining a second language type and a second translation capability of the second terminal, so that the first terminal can determine an intermediate language type that the first terminal user and the second terminal user can translate.
  • the method further includes: the first terminal receives the fourth language content of the third language type sent by the second terminal, and the fourth language content of the third language type is the second terminal type of the second language
  • the fifth language content is translated into the fourth language content of the third language type;
  • the first terminal translates the fourth language content of the third language type into the sixth language content of the first language type;
  • the sixth language content of a language type In this way, the first terminal may translate the fourth language content sent by the second terminal into the sixth language content of the first language type, that is, the first terminal may translate the fourth language content sent by the second terminal into the first language.
  • the sixth language content that the user of the terminal can understand, so that the user of the first terminal and the user of the second terminal can communicate under different language types.
  • the detecting, by the first terminal, the first language type of the first terminal comprises: the first terminal identifying the language type of the language content input by the first terminal text input interface or the microphone as the first language of the first terminal
  • the first terminal identifies the language type of the operating system of the first terminal as the first language type of the first terminal; or the text of the first terminal by the first terminal
  • the language type of the text input in the input interface is identified as the first language type of the first terminal; or the first terminal identifies the language type of the web content of the browser of the first terminal as the first language type of the first terminal; or
  • the terminal identifies the language type of the application of the first terminal as the first language type of the first terminal; or the first terminal identifies the language type of the voice input in the microphone of the first terminal as the first language type of the first terminal Or the first terminal identifies the language type that the translation module of the first terminal can translate as the first language type of the first terminal.
  • the first terminal identifies the language type that the translation module of the first terminal can
  • the method further includes: receiving, by the first terminal, an update message sent by the second terminal, where the update message includes a fourth language type after the second terminal is updated, and the fourth language type is different from the second language type.
  • the first terminal can learn that the language type supported by the second terminal is updated to the fourth language type, and the first terminal can translate the first language content of the first language type into the second language content of the fourth language type.
  • the second terminal is provided so that the user of the first terminal and the user of the second terminal can communicate with each other in different language types.
  • a multi-terminal collaborative translation method including: after the server acquires the first language type of the first terminal and determines the second terminal that is in conversation with the first terminal, the server requests the second terminal to obtain the second The second language type of the terminal; the server receives the first user input The one language content translates the first language content of the first language type into the second language content of the second language type, and transmits the second language content of the second language type to the second terminal.
  • the server may translate the first language content of the first language type sent by the first terminal into the second language content of the second language type that the second terminal user can recognize, and the second language content of the second language type.
  • the second terminal is sent so that the user of the first terminal and the user of the second terminal can communicate with each other in different language types.
  • the method further includes: the server receiving the first message of the first terminal, where the first message includes a first language type of the first terminal and an identifier of the second terminal that is in conversation with the first terminal, according to The identifier of the second terminal requests to acquire the second language type of the second terminal; the server receives the third language content input by the second terminal user, and translates the third language content of the second language type into the fourth language content of the first language type And transmitting the fourth language content of the first language type to the first terminal.
  • the server can receive the third language content input by the second terminal user, translate the third language content of the second language type into the fourth language content of the first language type, and convert the fourth language of the first language type.
  • the content is sent to the first terminal, so that the user of the first terminal and the user of the second terminal can communicate with each other in different language types.
  • a multi-terminal collaborative translation method comprising: receiving, by a first terminal, first language content input by a first terminal user; the first terminal detecting a first language type of the first terminal; The language type and the identifier of the second terminal establishing a dialogue relationship with the first terminal are sent to the server; the first terminal sends the first language content to the server, so that the server translates the first language content of the first language type into the second language type The second language content is then sent to the second terminal.
  • the first terminal may translate the first language content of the first language type into the second language content of the second language type by the server, and then send the content to the second terminal, so as to facilitate the user of the first terminal and the second terminal. Users can communicate with each other in different language types.
  • the method further includes: the first terminal receives the third language content of the first language type sent by the server, and the third language content of the first language type is the second language sent by the server to the second terminal.
  • the fourth language content of the type is translated after being translated into the third language content of the first language type; the first terminal displays the third language content of the first language type.
  • the first terminal may receive the third language content of the first language type that the server translates the fourth language content sent by the second terminal, that is, the server may translate the fourth language content sent by the second terminal into the first language content.
  • the third language content that the user of the terminal can understand, so that the user of the first terminal and the user of the second terminal can communicate with each other in different language types.
  • the detecting, by the first terminal, the first language type of the first terminal comprises: the first terminal identifying the language type of the language content input in the first terminal text input interface or the microphone as the first of the first terminal a language type; or when the first terminal receives the content of the second terminal, the first terminal identifies the language type of the operating system of the first terminal as the first language type of the first terminal; or the first terminal
  • the language type of the text input in the text input interface is identified as the first language type of the first terminal; or the first terminal identifies the language type of the web content of the browser of the first terminal as the first language type of the first terminal; or
  • the first terminal identifies the language type of the application of the first terminal as the first language type of the first terminal; or the first terminal will be in the microphone of the first terminal
  • the language type of the input voice is identified as the first language type of the first terminal; or the first terminal identifies the language type that the translation module of the first terminal can translate as the first language type of the first terminal.
  • the first terminal
  • a first terminal comprising: a content input/output module, configured to receive first language content input by a first terminal user; and a language type detecting module, configured to receive the first content in the content input/output module Detecting a first language type of the first terminal and acquiring a second language type of the second terminal; and a translation module, configured to translate the first language content of the first language type to be sent detected by the language type detecting module
  • the communication module is configured to send the second language content of the second language type translated by the translation module to the second terminal.
  • the language type detecting module is configured to send a capability negotiation request message to the second terminal by using the communication module, where the capability negotiation request message includes a first language type of the first terminal, and the second terminal sends the second terminal through the communication module.
  • the response message includes a second language type of the second terminal.
  • the communication module is further configured to use the third language content input by the second terminal user; the translation module is further configured to: translate the third language content received by the communication module into the fourth language type.
  • the language content; the content input/output module is further configured to display the fourth language content of the first language type after the translation module is translated.
  • the language type detecting module is configured to: identify a language type of the language content input by the first terminal text input interface or the microphone as the first language type of the first terminal; or operate the operating system of the first terminal
  • the language type is identified as the first language type of the first terminal; or the language type of the text input in the text input interface of the first terminal is identified as the first language type of the first terminal; or the browser of the first terminal is
  • the language type of the webpage content is identified as the first language type of the first terminal; or the language type of the application of the first terminal is identified as the first language type of the first terminal; or the voice input in the microphone of the first terminal
  • the language type is identified as the first language type of the first terminal; or the language type that the translation module of the first terminal can translate is identified as the first language type of the first terminal.
  • the communication module is further configured to: receive an update message sent by the second terminal, where the update message includes a third language type after the second terminal is updated, and the third language type is different from the second language type.
  • a first terminal comprising: a content input/output module, configured to receive first language content input by a first terminal user; and a language type detecting module, configured to receive the first content in the content input/output module Detecting a first language type of the first terminal and a first translation capability, the first translation capability is used to indicate that the first terminal is capable of translating the language content of the third language type and the language content of the first language type, and Obtaining a second language type and a second translation capability of the second terminal, where the second translation capability is used to indicate that the second terminal is capable of translating the language content of the third language type and the language content of the second language type; Translating, by the language type detecting module, the first language content of the first language type into the second language content of the third language type, the communication module, and the second language content of the third language type translated by the translation module Sent to the second The terminal causes the second terminal to translate the second language content of the third language type into the third language content of the second language type.
  • the language type detecting module is configured to: send, by the communication module, a capability negotiation request message to the second terminal, where the capability negotiation request message includes the first language type of the first terminal and the first translation capability; Receiving a response message sent by the second terminal, where the response message includes a second language type and a second translation capability of the second terminal.
  • the communication module is further configured to: receive a fourth language content of a third language type sent by the second terminal, where the fourth language content of the third language type is a second terminal type of the second language type
  • the translation is performed after the translation of the five language content into the fourth language content of the third language type;
  • the translation module is further configured to: translate the fourth language content of the third language type received by the communication module into the sixth language content of the first language type
  • the content input/output module is also used to display the sixth language content of the first language type after translation of the translation module.
  • the language type detecting module is configured to: identify a language type of the language content input by the first terminal text input interface or the microphone as the first language type of the first terminal; or operate the operating system of the first terminal
  • the language type is identified as the first language type of the first terminal; or the language type of the text input in the text input interface of the first terminal is identified as the first language type of the first terminal; or the browser of the first terminal is
  • the language type of the webpage content is identified as the first language type of the first terminal; or the language type of the application of the first terminal is identified as the first language type of the first terminal; or the voice input in the microphone of the first terminal
  • the language type is identified as the first language type of the first terminal; or the language type that the translation module of the first terminal can translate is identified as the first language type of the first terminal.
  • the communication module is further configured to: receive an update message sent by the second terminal, where the update message includes a third language type after the second terminal is updated, and the third language type is different from the second language type.
  • a server comprising: a language type recording module, after acquiring a first language type of the first terminal and determining a second terminal that is in conversation with the first terminal, requesting the second terminal to acquire the second terminal a second language type; a communication module, configured to receive first language content input by the first terminal user; and a translation module, configured to translate the first language content of the first language type received by the communication module into a second language type The second language content; the communication module is further configured to send the second language content of the second language type translated by the translation module to the second terminal.
  • the language type recording module is configured to: receive, by the communication module, a first message of the first terminal, where the first message includes a first language type of the first terminal and a second terminal that is in conversation with the first terminal And the identifier is configured to acquire the second language type of the second terminal according to the identifier request of the second terminal; the communication module is further configured to receive the third language content input by the second terminal user, and the translation module is further configured to receive the second language received by the communication module.
  • the third language content of the language type is translated into the fourth language content of the first language type, and the communication module is further configured to send the fourth language content of the first language type translated by the translation module to the first terminal.
  • a first terminal comprising: a content input/output module for receiving first language content input by a first terminal user; and a language type detecting module for inputting/outputting content
  • the module detects the first language type of the first terminal when receiving the first language content
  • the communication module is configured to send the first language type detected by the language type detecting module and the identifier of the second terminal that establishes a dialogue relationship with the first terminal.
  • the communication module is further configured to: send the first language content received by the content input/output module to the server, so that the server translates the first language content of the first language type into the second language content of the second language type Send to the second terminal.
  • the communication module is further configured to: receive third language content of a first language type sent by the server, where the third language content of the first language type is a second language type sent by the server to the second terminal.
  • the fourth language content is translated after being translated into the third language content of the first language type; the content input/output module is further configured to display the third language content of the first language type received by the communication module.
  • the language type detecting module is configured to: identify a language type of the language content input in the first terminal text input interface or the microphone as a first language type of the first terminal; or operate the first terminal
  • the language type of the system is identified as the first language type of the first terminal; or the language type of the text input in the text input interface of the first terminal is identified as the first language type of the first terminal; or the browser of the first terminal is
  • the language type of the webpage content is identified as the first language type of the first terminal; or the language type of the application of the first terminal is identified as the first language type of the first terminal; or the voice input in the microphone of the first terminal
  • the language type is identified as the first language type of the first terminal; or the language type that the translation module of the first terminal can translate is identified as the first language type of the first terminal.
  • a first terminal including: an input/output device, configured to receive first language content input by a first terminal user; and a processor configured to detect when the input/output device receives the first language content a first language type of the first terminal, and acquiring a second language type of the second terminal; the processor is further configured to translate the first language content of the first language type to be sent into the second language content of the second language type; And a radio frequency (RF) circuit, configured to send the second language content of the second language type translated by the processor to the second terminal.
  • RF radio frequency
  • the processor is configured to: send, by using an RF circuit, a capability negotiation request message to the second terminal, where the capability negotiation request message includes a first language type of the first terminal, and receive, by using the RF circuit, a response message sent by the second terminal.
  • the response message includes a second language type of the second terminal.
  • the RF circuit is further configured to receive third language content input by the second end user; the processor is further configured to: translate the third language content received by the RF circuit into the first language type The four-language content; the first terminal further includes a display screen for displaying the fourth language content of the first language type translated by the processor.
  • the processor is configured to: identify a language type of the language content input by the first terminal text input interface or the microphone as a first language type of the first terminal; or a language type of the operating system of the first terminal Recognizing the first language type as the first terminal; or identifying the language type of the text input in the text input interface of the first terminal as the first language type of the first terminal; or the web content of the browser of the first terminal
  • the language type is identified as the first language type of the first terminal; or the language type of the application of the first terminal is recognized as the first language type of the first terminal; or the language type of the voice input in the microphone of the first terminal is recognized
  • the RF circuit is further configured to: receive an update message sent by the second terminal, where the update message includes a third language type updated by the second terminal, where the third language type is different from the second language type.
  • a first terminal including: an input/output device, configured to receive first language content input by a first terminal user; and a processor configured to detect when the input/output device receives the first language content a first language type of the first terminal and a first translation capability, the first translation capability is used to instruct the first terminal to translate the language content of the third language type and the language content of the first language type, and acquire the second terminal a second language type and a second translation capability, the second translation capability is used to indicate that the second terminal is capable of translating the language content of the third language type and the language content of the second language type; the processor is further configured to: process The first language content of the first language type detected by the device is translated into the second language content of the third language type; the RF circuit is configured to send the second language content of the third language type translated by the processor to the second terminal And causing the second terminal to translate the second language content of the third language type into the third language content of the second language type.
  • the processor is configured to: send, by using an RF circuit, a capability negotiation request message to the second terminal, where the capability negotiation request message includes a first language type of the first terminal and a first translation capability; and the second circuit is received by the RF circuit.
  • the response message sent by the terminal the response message including the second language type and the second translation capability of the second terminal.
  • the RF circuit is further configured to: receive a fourth language content of a third language type sent by the second terminal, where the fourth language content of the third language type is a second terminal type of the second language type
  • the fifth language content is translated into the fourth language content of the third language type
  • the processor is further configured to: translate the fourth language content of the third language type received by the RF circuit into the sixth language content of the first language type
  • the first terminal further includes a display screen for displaying the sixth language content of the first language type translated by the processor.
  • the processor is configured to: identify a language type of the language content input by the first terminal text input interface or the microphone as a first language type of the first terminal; or a language type of the operating system of the first terminal Recognizing the first language type as the first terminal; or identifying the language type of the text input in the text input interface of the first terminal as the first language type of the first terminal; or the web content of the browser of the first terminal
  • the language type is identified as the first language type of the first terminal; or the language type of the application of the first terminal is recognized as the first language type of the first terminal; or the language type of the voice input in the microphone of the first terminal is recognized
  • the RF circuit is further configured to: receive an update message sent by the second terminal, where the update message includes a third language type updated by the second terminal, where the third language type is different from the second language type.
  • a server including: a processor, after acquiring a first language type of the first terminal and determining a second terminal that is in conversation with the first terminal, requesting the second terminal to obtain the second terminal a second language type of the terminal; the transceiver is configured to receive the first language content input by the first terminal user; the processor is further configured to: translate the first language content of the first language type received by the transceiver into the second language type The second language content; the transceiver is further configured to send the second language content of the second language type translated by the processor to the second terminal.
  • the processor is configured to: receive, by the transceiver, a first message of the first terminal, where the first message includes a first language type of the first terminal and an identifier of the second terminal that is in conversation with the first terminal, Obtaining, according to the identifier request of the second terminal, the second language type of the second terminal; the transceiver is further configured to receive the third language content input by the second terminal user, and the processor is further configured to receive the second language type received by the transceiver The third language content is translated into the fourth language content of the first language type, and the transceiver is further configured to send the fourth language content of the first language type translated by the processor to the first terminal.
  • a first terminal including: an input/output device, configured to receive first language content input by a first terminal user; and a processor configured to detect when the input/output device receives the first language content a first language type of the first terminal; an RF circuit, configured to send, to the server, the first language type detected by the processor and the identifier of the second terminal that establishes a dialogue relationship with the first terminal; the RF circuit is further configured to input The first language content received by the output device is sent to the server, and the server translates the first language content of the first language type into the second language content of the second language type and sends the content to the second terminal.
  • the RF circuit is further configured to: receive third language content of a first language type sent by the server, where the third language content of the first language type is a second language type sent by the server to the second terminal.
  • the fourth language content is transmitted after being translated into the third language content of the first language type; the first terminal further includes a display screen for displaying the third language content of the first language type received by the RF circuit.
  • the processor is configured to: identify a language type of the language content input in the first terminal text input interface or the microphone as a first language type of the first terminal; or a language of the operating system of the first terminal
  • the type is identified as the first language type of the first terminal; or the language type of the text input in the text input interface of the first terminal is identified as the first language type of the first terminal; or the web content of the browser of the first terminal is
  • the language type is identified as the first language type of the first terminal; or the language type of the application of the first terminal is identified as the first language type of the first terminal; or the language type of the voice input in the microphone of the first terminal
  • the embodiment of the present application provides a computer storage medium for storing computer software instructions used by the first terminal, which includes a program designed to perform the above aspects.
  • the embodiment of the present application provides a computer storage medium for storing computer software instructions used by the server, which includes a program designed to execute the above aspects.
  • the first terminal may receive the first language content input by the first terminal user, and detect that the language type of the first language content is the first language type, and acquire the second language type of the second terminal.
  • the first terminal may translate the first language content of the first language type to be sent into the second language type
  • the second language content is sent to the second terminal of the second language content of the second language type.
  • the first terminal may receive the first language content input by the first terminal user, detect the language type of the first language content as the first language type, and detect the first translation capability of the first terminal.
  • the first terminal may acquire the second language type of the second terminal and the second translation capability of the second terminal.
  • the first terminal may translate the first language content of the first language type into the second language content of the third language type and send the second language content to the second terminal, so that the second terminal may translate the second language content of the third language type.
  • Third language content for the second language type may receive the first language content input by the first terminal user, and detect that the language type of the first language content is the first language type.
  • the first terminal may send the first language type and the identifier of the second terminal that establishes a dialogue relationship with the first terminal to the server.
  • the first terminal may send the first language content to the server, and cause the server to translate the first language content of the first language type into the second language content of the second language type and send the content to the second terminal.
  • the user needs to manually set the language type before communicating under different language types.
  • the embodiment of the present application can detect the language type by the terminal, and solves the problem that the workload of additionally setting the language type is large and the setting conflict is easily caused.
  • FIG. 1 is a schematic diagram of a user manually setting an input language on a chat client in the prior art
  • FIG. 2 is a schematic diagram of a communication system according to an embodiment of the present application.
  • FIG. 3 is a schematic structural diagram of a system for implementing language translation according to an embodiment of the present application
  • FIG. 4 is a schematic structural diagram of a system for implementing language translation according to an embodiment of the present application.
  • FIG. 5 is a schematic structural diagram of a system for implementing language translation according to an embodiment of the present application.
  • FIG. 6 is a schematic diagram of an internal structure of a terminal according to an embodiment of the present disclosure.
  • FIG. 7 is a schematic diagram of a user chat interface according to an embodiment of the present application.
  • FIG. 8 is a schematic structural diagram of a communication system according to an embodiment of the present application.
  • FIG. 9 is a schematic diagram of an internal structure of a server according to an embodiment of the present application.
  • the embodiment of the present application can be applied to a scenario in which a terminal and a terminal communicate with each other in a close distance, for example, at least two terminals establish a close-range chat relationship through Bluetooth, a Wireless Local Area Network (WLAN), and the like.
  • the language communication can also be applied to the scenario where the Internet is remotely communicated for cross-language communication.
  • the remote cross-language communication is performed between the at least two terminals through the instant communication system, which is not limited in the embodiment of the present application.
  • the communication system of the embodiment of the present application may include a first terminal 20 and a second terminal 30.
  • the first terminal 20 initiates a conversation with the second terminal 30
  • the first terminal 20 may be an originating terminal
  • the second terminal 30 may be a receiving terminal.
  • the second terminal 30 initiates a conversation with the first terminal 20
  • the second terminal 30 may be an originating terminal
  • the first terminal 20 may be a receiving terminal.
  • the originating terminal and the receiving terminal can perform data transmission through a network connection, and the network can be either a wide area network (for example, the Internet or a cellular network), or a local area network or a point-to-point short-distance communication method (for example, Bluetooth).
  • the first terminal 20 and the second terminal 30 may be a personal computer (PC), a tablet (pad), and a smart device. Can learn equipment, smart game consoles, smart TVs, smart glasses and smart watches and other equipment or devices.
  • the first terminal and the second terminal in the embodiment of the present application may be multiple, and the embodiment of the present application is not limited.
  • the first terminal may have the translation capability, and the second terminal does not have the translation capability.
  • the first terminal may translate the language content of the local terminal to the second terminal, or may receive the second terminal.
  • the language content is translated so that the user of the first terminal can communicate with the user of the second terminal freely; or the first terminal and the second terminal both have translation capabilities, and the first terminal can translate the local language content into the second terminal.
  • the language content of the terminal is more easily translated, so that the user of the second terminal understands the translated language content of the second terminal, and vice versa.
  • FIG. 3 it is a schematic diagram of a system architecture for implementing language translation.
  • the system can include a first terminal and a second terminal.
  • the first terminal may include a language type detecting module 301, a content input/output module 302, and a translation module 303.
  • the second terminal can include a language type detection module 304 and a content input/output module 305.
  • the first terminal may further include a communication module 306, and the second terminal may further include a communication module 307, which is not shown in FIG.
  • the first terminal supports language translation, and a dialogue between two terminals can be implemented.
  • the first terminal can serve as an initiating terminal, and the second terminal can serve as a receiving terminal.
  • the user of the first terminal may first input the first language content through the content input/output module 302.
  • the language type detecting module 301 of the first terminal may be configured to detect that the language type of the first language content is the first language type.
  • the communication module 306 can be configured to send a request to the second terminal to obtain a second language type of the second terminal.
  • the first language type and the second language type may be the same or different.
  • the translation module 303 in the first terminal is configured to translate the first language content of the first language type into the second language of the second language type. content.
  • the communication module 306 of the first terminal is configured to send the translated second language content of the second language type to the second terminal.
  • the second language content of the second language type is displayed to the user through the content input/output module 305.
  • the user of the second terminal can reply to the user of the first terminal, that is, the user of the second terminal can input the third language content through the content input/output module 305.
  • the second terminal may send the third language content input by the user to the first terminal through the communication module 307.
  • the translation module 303 of the first terminal is further configured to translate the third language content sent by the second terminal into the fourth language content of the first language type, where the content input and output module 302 can be used to display in the first terminal. Fourth language content of the first language type.
  • the content input/output module 302 of the first terminal is configured to receive the first language content input by the user of the first terminal.
  • the language type detecting module 301 of the first terminal is configured to detect the first language type.
  • the communication module 306 can be configured to send a capability negotiation request to the second terminal, where the capability negotiation request is used to acquire a second language type of the second terminal.
  • the language type detecting module 304 of the second terminal is configured to detect the second language type of the second terminal.
  • the communication module 307 is configured to send a response message to the first terminal, where the response message includes a second language type.
  • the translation module 303 of the first terminal is configured to translate the first language content of the first language type into the second language content of the second language type.
  • the communication module 306 is configured to send the second language content of the second language type after the translation to the second terminal.
  • the content input/output module 305 of the second terminal is configured to display the second language type Second language content.
  • the user of the second terminal can reply to the user of the first terminal, that is, the content input/output module 305 of the second terminal can be used to receive the third language content input by the user.
  • the communication module 307 of the second terminal is configured to send the third language content to the first terminal.
  • the translation module 303 in the first terminal is configured to translate the third language content into the fourth language content of the first language type that the user of the first terminal can recognize.
  • the content input/output module 302 of the first terminal is configured to display the fourth language content of the first language type.
  • the content input/output module 305 of the second terminal can be configured to receive the first language content of the user input of the second terminal.
  • the language type detecting module 304 in the second terminal is configured to detect that the language type of the first language content is the second language type.
  • the communication module 307 is configured to send the first language content of the second language type and the second language type to the first terminal.
  • the language type detecting module 301 of the first terminal is configured to detect the first language type of the first terminal.
  • the translation module 303 in the first terminal is configured to translate the first language content of the second language type into the second language content of the first language type.
  • the content input/output module of the first terminal is configured to display the second language content of the first language type so that the user of the first terminal can recognize the language content input by the user of the second terminal.
  • the user of the first terminal can reply to the user of the second terminal, that is, the content input/output module 302 of the first terminal is configured to receive the third language content input by the user of the first terminal.
  • the language type detecting module 301 of the first terminal is configured to detect that the language type of the third language content is the first language type.
  • the translation module 303 of the first terminal is configured to translate the third language content of the first language type into the fourth language content of the second language type.
  • the communication module 306 of the first terminal is configured to send the fourth language content of the second language type after the translation to the second terminal.
  • the content input/output module of the second terminal may be configured to display the fourth language content of the second language type so that the user of the second terminal can recognize the language content input by the user of the first terminal.
  • the content input/output module 302 of the first terminal is configured to receive the first language content input by the user of the first terminal, and the language type detecting module 301 of the first terminal is configured to detect the content of the first language.
  • the language type is the first language type.
  • the language type detecting module 301 of the first terminal is configured to detect that the language type of the second language content is the first
  • the language type detecting module 301 of the first terminal updates the language type supported by the first terminal from the first language type to the third language type.
  • FIG. 4 it is a schematic diagram of a system architecture for implementing language translation.
  • the system can include a first terminal and a second terminal.
  • the first terminal may include a language type detecting module 401, a content input/output module 402, and a translation module 403.
  • the second terminal can include a language type detection module 404, a content input/output module 405, and a translation module 406.
  • the first terminal may further include a communication module 407, and the second terminal may further include a communication module 408, which is not shown in FIG.
  • both the first terminal and the second terminal support language translation, and a dialogue between the two terminals can be implemented.
  • the user of the first terminal can first input the first language content.
  • the language type detecting module 401 of the first terminal may be configured to detect that the language type of the first language content is the first language type.
  • the communication module 407 of the first terminal may be configured to send a request to the second terminal to obtain the second language type of the second terminal and the translation capability of the second terminal, and the translation of the second terminal
  • the capability is used to indicate that the translation module 406 of the second terminal can be used to translate the language content of the third language type and the language content of the second language type. If the first language type and the second language type are different, the translation module 403 of the first terminal can be used to translate the first language content of the first language type into the second language content of the third language type.
  • the communication module 407 of the first terminal may be configured to send the second language content of the third language type to the second terminal.
  • the translation module 406 of the second terminal can be used to translate the second language content of the third language type into the third language content of the second language type.
  • the content input/output module 405 of the second terminal can be used to display the third language content of the second language type so that the user of the second terminal can understand the language content input by the user of the first terminal.
  • the content input/output module 402 of the first terminal can be used to receive the first language content input by the user of the first terminal.
  • the language type detecting module 401 of the first terminal is configured to detect a first language type of the first terminal and a translation capability of the first terminal, where the translation capability of the first terminal is used to indicate that the translation module 403 of the first terminal can perform the third language type.
  • the language content and the language content of the first language type are translated.
  • the communication module 407 of the first terminal is configured to send a capability negotiation request to the second terminal, where the capability negotiation request may carry the first language type and the translation capability of the first terminal.
  • the capability negotiation request is used to instruct the second terminal to feed back the second language type of the second terminal and the translation capability of the second terminal, and the translation capability of the second terminal is used to indicate that the translation module 403 of the second terminal can speak the language of the third language type.
  • the content and the language content of the second language type are translated.
  • the language type detecting module 404 of the second terminal is configured to detect the second language type of the second terminal and the translation capability of the second terminal.
  • the communication module 408 of the second terminal is configured to send a response message to the first terminal, where the response message includes a second language type and a translation capability of the second terminal.
  • the translation module 403 of the first terminal is configured to translate the first language content of the first language type into the second language content of the third language type.
  • the communication module 407 of the first terminal is configured to send the translated second language content of the third language type to the second terminal.
  • the translation module 406 of the second terminal is configured to translate the second language content of the third language type into the third language content of the second language type.
  • the content input/output module 405 of the second terminal is configured to display the third language content of the second language type so that the user of the second terminal can understand the language content input by the user of the first terminal.
  • the user of the second terminal can reply to the user of the first terminal, and the content input/output module 405 of the second terminal can be used to receive the fourth language content input by the user of the second terminal.
  • the language type detecting module 404 of the second terminal is configured to detect that the fourth language content is the second language type.
  • the translation module 406 of the second terminal can be used to translate the fourth language content of the second language type into the fifth language content of the third language type.
  • the communication module 408 of the second terminal may transmit the fifth language content of the third language type to the first terminal.
  • the translation module 403 of the first terminal can be used to translate the fifth language content of the third language type into the sixth language content of the first language type.
  • the content input/output module 402 of the first terminal is configured to display the sixth language content of the first language type so that the user of the first terminal can understand the language content input by the user of the second terminal.
  • the translation module 403 of the first terminal can also be used to translate the first language content of the first language type into the second language content of the second language type.
  • the translation module 406 of the second terminal can make the user of the second terminal understand the first language content input by the user of the first terminal without translating.
  • the translation module 406 of the second terminal can also be used to translate the third language content of the second language type into the fourth language content of the first language type. In this way, the first The translation module 403 of a terminal can also enable the user of the first terminal to understand the third language content input by the user of the second terminal without translation.
  • the above two embodiments are all one or two of the terminals participating in the dialogue for the translation of the language content.
  • the communication system of the embodiment of the present application may further include: the communication system includes the first terminal, the second terminal, and the server.
  • FIG. 5 it is a schematic diagram of a system architecture for implementing language translation.
  • the first terminal may include a language type detecting module 501 and a content input/output module 502.
  • the server may include a translation module 503 and a language type recording module 504.
  • the second terminal can include a language type detection module 505 and a content input/output module 506.
  • the first terminal may further include a communication module 507, the server may further include a communication module 508, and the second terminal may further include a communication module 509, which is not shown in FIG.
  • the server supports language translation, which enables dialogue between two terminals.
  • the user of the first terminal may first input the first language content.
  • the language type detecting module 501 of the first terminal may be configured to detect that the language type of the first language content is the first language type.
  • the communication module 507 can be configured to send the first language type to the server.
  • the language type detecting module 505 of the second terminal may be configured to detect the second language type of the second terminal.
  • the communication module 509 can be used to send the second language type to the server.
  • the language type recording module 504 of the server can be used to record the first language type and/or the second language type.
  • the content input/output 502 module of the first terminal is configured to receive the first language content input by the user.
  • the communication module 507 is configured to send the first language content of the first language type to the server.
  • the translation module 503 of the server is for translating the first language content of the first language type into the second language content of the second language type.
  • the communication module 508 is configured to send the translated second language content of the second language type to the second terminal.
  • the content input/output module 506 of the second terminal is configured to display the second language content of the second language type so that the user of the second terminal can understand the first language content input by the user of the first terminal.
  • the content input/output module 502 of the first terminal can be used to receive first language content input by the user.
  • the language type detecting module 501 of the first terminal is configured to detect the first language type.
  • the communication module 507 of the first terminal is configured to send, to the server, a first language type and an identifier of the second terminal that establishes a dialogue relationship with the first terminal.
  • the communication module 508 of the server is configured to send a request message to the second terminal to obtain a second language type of the second terminal.
  • the language type detecting module 505 of the second terminal is configured to detect the second language type of the second terminal.
  • the communication module 509 of the second terminal is configured to send a second language type to the server.
  • the communication module 507 of the first terminal is further configured to send the first language content of the first language type to the server.
  • the translation module 503 of the server is for translating the first language content of the first language type into the second language content of the second language type.
  • the communication module 508 is configured to send the translated second language content of the second language type to the second terminal.
  • the content input/output module 505 of the second terminal is configured to display the translated second language content of the second language type.
  • the user of the second terminal can reply to the user of the first terminal, and the content input/output module of the second terminal can be used to receive the third language content input by the user.
  • the communication module 509 of the second terminal can be used to send the third language content to the server.
  • the translation module 503 of the server is for translating the third language content of the second language type into the fourth language content of the first language type.
  • the communication module 508 is configured to send the translated fourth language content of the first language type to the first terminal.
  • the content input/output module 502 of the first terminal is configured to display the fourth language of the translated first language type Word content.
  • the content input/output module 502 of the first terminal is configured to receive the first language content input by the user of the first terminal, and the language type detecting module 501 of the first terminal is configured to detect the content of the first language.
  • the language type is the first language type.
  • the language type detecting module 501 of the first terminal is configured to detect that the language type of the second language content is the first.
  • the three-language type the communication module 507 of the first terminal can be used to send the third language type to the server.
  • the language type recording module 504 of the server may be configured to update the first language type of the recorded first terminal to a third language type. If the language of the second terminal is updated, refer to the implementation of the first terminal.
  • FIG. 6 shows a partial structural diagram of the terminal 600.
  • the terminal 600 may include an RF circuit 610, a memory 620, other input devices 630, a display screen 640, a sensor 650, an audio circuit 660, an input/output (I/O) subsystem 670, and a processor. 680, and components such as processor 690.
  • the terminal structure shown in FIG. 6 does not constitute a limitation of the terminal, and may include more or less components than those illustrated, or combine some components, or split some components, or Different parts are arranged.
  • display screen 640 belongs to a User Interface (UI) and that terminal 600 may include a user interface that is smaller than illustrated or less.
  • UI User Interface
  • the components of the terminal 600 will be specifically described below with reference to FIG. 6:
  • the RF circuit 610 can be used for transmitting and receiving information or during a call, and receiving and transmitting the signal. Specifically, after receiving the downlink information of the base station, the processor 680 processes the data. In addition, the uplink data is designed to be sent to the base station.
  • RF circuits include, but are not limited to, an antenna, at least one amplifier, a transceiver, a coupler, an LNA (Low Noise Amplifier), a duplexer, and the like.
  • RF circuitry 110 can also communicate with the network and other devices via wireless communication. The wireless communication may use any communication standard or protocol, including but not limited to GSM (Global System of Mobile communication), GPRS (General Packet Radio Service), CDMA (Code Division Multiple Access).
  • GSM Global System of Mobile communication
  • GPRS General Packet Radio Service
  • CDMA Code Division Multiple Access
  • the RF circuit 610 can also be used to establish a communication link between the originating terminal and the receiving terminal, and a data transmission channel based on the word (for example, HyperText Transfer Protocol (HTTP). / Transmission Control Protocol (TCP) / User Datagram Protocol (UDP), etc.
  • HTTP HyperText Transfer Protocol
  • TCP Transmission Control Protocol
  • UDP User Datagram Protocol
  • Bluetooth and WLAN that can support short-range communication as communication links; also support communication links that enable the originating terminal or receiving terminal to access the Internet, such as wireless cellular networks and cable Broadband and so on.
  • the RF circuit 610 may be configured to receive a language type sent by the peer end, and receive the language content corresponding to the language type, and send the translated language content of the language content corresponding to the language type to the peer end, Or can be used to send the language content corresponding to the language type of the terminal to which the RF circuit 610 belongs to the peer end to the peer end.
  • the memory 620 can be used to store software programs and modules, and the processor 680 executes various functional applications and data processing of the terminal 600 by running software programs and modules stored in the memory 620.
  • the memory 620 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application required for at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may be stored. Data created according to the use of the terminal 600 (such as audio data, phone book, etc.) and the like.
  • memory 620 can include high speed random access memory, and can also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.
  • the memory 620 may be used to store the terminal to which the memory 620 belongs and the language type of the peer end, and may also be used to store a software program or the like for translating the language content, for the processor 680 to translate the language content. transfer.
  • Other input devices 630 can be used to receive input numeric or character information, as well as to generate key signal inputs related to user settings and function control of terminal 600.
  • other input devices 630 may include, but are not limited to, physical keyboards, function keys (such as volume control buttons, switch buttons, etc.), trackballs, mice, joysticks, and light mice (the light mouse is not sensitive to display visual output) One or more of a surface, or an extension of a touch sensitive surface formed by a touch screen.
  • Other input devices 630 are coupled to other input device controllers 671 of I/O subsystem 670 for signal interaction with processor 680 under the control of other device input controllers 671.
  • the user can input the language content that is to be expressed by using other input devices 630, for example, the user inputs the language content by using a physical keyboard to display the language content in the display screen.
  • the display screen 640 can be used to display information entered by the user or information provided to the user as well as various menus of the terminal 600, and can also accept user input.
  • the specific display screen 640 can include a display panel 641 and a touch panel 642.
  • the display panel 641 can be configured by using an LCD (Liquid Crystal Display), an OLED (Organic Light-Emitting Diode), or the like.
  • the touch panel 642, also referred to as a touch screen, a touch sensitive screen, etc., can collect contact or non-contact operations on or near the user (eg, the user uses any suitable object or accessory such as a finger, a stylus, etc. on the touch panel 642.
  • the operation in the vicinity of the touch panel 642 may also include a somatosensory operation; the operation includes a single point control operation, a multi-point control operation, and the like, and drives the corresponding connection device according to a preset program.
  • the touch panel 642 can include two parts: a touch detection device and a touch controller. Wherein, the touch detection device detects the touch orientation and posture of the user, and detects a signal brought by the touch operation, and transmits a signal to the touch controller; the touch controller receives the touch information from the touch detection device, and converts the signal into a processor. The processed information is sent to processor 680 and can receive commands from processor 680 and execute them.
  • the touch panel 642 can be implemented by using various types such as resistive, capacitive, infrared, and surface acoustic waves, and the touch panel 642 can be implemented by any technology developed in the future. Further, the touch panel 642 can cover the display panel 641, and the user can display the content according to the display panel 641.
  • the display includes, but is not limited to, a soft keyboard, a virtual mouse, a virtual button, an icon, etc., and operates on or near the touch panel 642 covered on the display panel 641, and the touch panel 642 detects on or near it.
  • the touch panel 642 and the display panel 641 are two independent components to implement the input and input functions of the terminal 600, in some embodiments, the touch panel 642 may be integrated with the display panel 641.
  • the input and output functions of the terminal 600 are implemented.
  • the display screen 640 can display the chat window, the language content input by the terminal to which the display screen 640 belongs, and can also be used to display the translated language content received from the peer end and the like.
  • Terminal 600 may also include at least one type of sensor 650, such as a light sensor, motion sensor, and other sensors.
  • the light sensor may include an ambient light sensor and a proximity sensor, wherein the ambient light sensor may adjust the brightness of the display panel 641 according to the brightness of the ambient light, and the proximity sensor may close the display panel 641 when the terminal 600 moves to the ear. / or backlight.
  • the accelerometer sensor can detect the magnitude of acceleration in all directions (usually three axes). When it is stationary, it can detect the magnitude and direction of gravity.
  • attitude of the terminal such as horizontal and vertical screen switching, related Game, magnetometer attitude calibration), vibration recognition related functions (such as pedometer, tapping), etc.; as for the terminal 600 can also be configured with gyroscopes, barometers, hygrometers, thermometers, infrared sensors and other sensors, here Let me repeat.
  • Audio circuit 660, speaker 661, microphone 662 can provide an audio interface between the user and terminal 600.
  • the audio circuit 660 can transmit the converted audio data to the speaker 661 for conversion to the sound signal output by the speaker 661.
  • the microphone 662 converts the collected sound signal into a signal, which is received by the audio circuit 660.
  • the audio data is converted to audio data, which is then output to the RF circuit 908 for transmission to, for example, another terminal, or the audio data is output to the memory 620 for further processing.
  • the microphone 662 can convert the collected sound signal into a signal, receive it by the audio circuit 660, convert it into audio data, and then send the audio data output value RF circuit 108 to the processor 680 for translation output.
  • the RF circuit 610 is sent to the opposite end through the RF circuit 610. Conversely, the audio data sent by the opposite end received by the RF circuit 610 can also be sent to the processor 680 for translation and then transmitted to the audio circuit 660. The audio circuit 660 The translated audio data is then converted into a sound signal and played through the speaker 661.
  • the I/O subsystem 670 is used to control external devices for input and output, and may include other device input controllers 671, sensor controllers 672, and display controllers 673.
  • one or more other input control device controllers 671 receive signals from other input devices 630 and/or send signals to other input devices 630, which may include physical buttons (press buttons, rocker buttons, etc.) , dial, slide switch, joystick, click wheel, light mouse (light mouse is a touch-sensitive surface that does not display visual output, or an extension of a touch-sensitive surface formed by a touch screen). It is worth noting that other input control device controllers 671 can be connected to any one or more of the above devices.
  • Display controller 673 in I/O subsystem 670 receives signals from display screen 640 and/or transmits signals to display screen 640. After the display screen 640 detects the user input, the display controller 673 converts the detected user input into an interaction with the user interface object displayed on the display screen 640, ie, implements human-computer interaction.
  • Sensor controller 672 can receive signals from one or more sensors 650 and/or send signals to one or more sensors 650.
  • other input device controllers 671 in I/O subsystem 670 receive language content input by other input devices 630, and I/O subsystem 670 can send the language content to processor 680 for translation.
  • the display controller 673 sends it to the display screen 640 to display the language content input by the other input device 630 in the display screen 640.
  • Processor 680 is the control center of terminal 600, which connects various portions of the entire terminal using various interfaces and lines, by running or executing software programs and/or modules stored in memory 620, and recalling data stored in memory 620, The various functions and processing data of the terminal 600 are performed to perform overall monitoring of the terminal.
  • the processor 680 may include one or more processing units; optionally, the processor 680 may integrate an application processor and a modem processor, where the application processor mainly processes an operating system, a user interface, and an application. Etc.
  • the modem processor primarily handles wireless communications. It will be appreciated that the above described modem processor may also not be integrated into the processor 680.
  • the processor 680 can invoke the cross-language communication application stored in the memory 620 to translate the language of the terminal or the language sent by the peer.
  • the terminal 600 also includes a processor 690 (such as a battery) that supplies power to the various components.
  • a processor 690 such as a battery
  • the power source can be logically coupled to the processor 680 through a power management system to manage functions such as charging, discharging, and power consumption through the power management system.
  • the terminal 600 may further include a camera, a Bluetooth module, and the like, and details are not described herein.
  • the processor 680 in the first terminal has translation capability
  • the processor 680 in the second terminal does not have translation capability.
  • the first terminal may receive the first language content input by the user at the first terminal and detect the first language type, and acquire the second language type of the second terminal. In a case where the first language type and the second language type are different, the first terminal may translate the first language content into the second language content of the second language type and send the content to the second terminal. Or the first terminal may receive the third language content sent by the second terminal, and translate the second language content into the fourth language content of the first language type.
  • the processor 680 calls the application of the client in the memory 620, and controls the display 640 to display the display through the display controller 673 in the I/O subsystem.
  • Client The first terminal may send a request message requesting to establish a conversation relationship to the second terminal by using the RF circuit 610 of the first terminal, and the RF circuit 610 of the second terminal receives the request message and the processor 680 of the second terminal agrees to establish a conversation relationship.
  • the first terminal establishes a dialogue relationship with the second terminal.
  • the user of the first terminal selects the user of the second terminal as the conversation object in the buddy list of the conversation software, and after the first terminal successfully establishes the conversation relationship with the second terminal through the RF circuit 610, the processor 680 in the first terminal receives the When the information of the RF circuit 610 of the first terminal is instructed, the processor 680 controls the display screen 640 in the first terminal to display the first terminal and the second terminal through the display controller 673 in the I/O subsystem 670 in the first terminal. Conversation window. Similarly, a dialog window with the user of the first terminal is also displayed in the second terminal.
  • the other input devices 630 in the first terminal can detect the first language content input by the user, for example, the physical keyboard in the first terminal detects the language content input and passes through the processor 680 and the I/O subsystem.
  • the display controller 673 controls the display screen 640 of the first terminal to start displaying in the dialog box, the processor 680 in the first terminal detects the first language type, or the audio circuit 660 in the first terminal detects the input of the sound signal by the microphone 662
  • the audio circuit 660 transmits the voice content processed voice content to the processor 680, and the processor 680 detects the first language type.
  • the display screen 640 of the first terminal transmits the language content to the processor through the display controller 673 of the I/O subsystem 670. 680.
  • the processor 680 detects the first language type. It should be noted that, the embodiment of the present application does not limit the time when the first terminal detects the language type, and may also detect the language type before the first terminal starts to establish the conversation relationship, for example, the first terminal may operate the first terminal.
  • the language type of the system is identified as the first language type of the first terminal; or the first terminal identifies the language type of the web content of the browser of the first terminal as the first language type; or the application of the first terminal by the first terminal.
  • the language type is identified as the first language type; or the first terminal identifies the language type that the processor 680 of the first terminal can translate as the first language type, which is not limited in this application.
  • the first terminal may send a capability negotiation request message to the second terminal by using the RF circuit 610 of the first terminal, where the capability negotiation request message may include a first language type of the first terminal, and is used to instruct the second terminal to feed back the second terminal. Second language type.
  • the RF circuit 610 of the second terminal After receiving the capability negotiation request message, the RF circuit 610 of the second terminal transmits the capability negotiation request message to the processor 680 of the second terminal, and the processor 680 of the second terminal detects the second terminal.
  • the second language type the second terminal may identify the language type input in the other input device 630 of the second terminal as the second language type by the processor 680; or the processor 680 of the second terminal may operate the operating system of the second terminal
  • the language type is identified as the second language type of the second terminal; or the processor 680 of the second terminal can identify the language type of the web content of the browser of the second terminal as the second language type of the second terminal; or the second The processor 680 of the terminal may identify the language type of the application of the second terminal as the second language type of the second terminal; or the processor 680 of the second terminal may pass the microphone of the second terminal through the audio circuit 660 of the second terminal
  • the language type of the voice input in 662 is identified as the second language type of the second terminal; or the language type
  • the processor 680 in the second terminal may also be used according to the language type of the operating system of the second terminal, the language type of the web content of the browser, the language type of the application, the language type of the voice input in the microphone, and the translation.
  • the weight of the language type that the module can translate determines the second language type of the second terminal. For example, it can be determined that the language type with the highest weight is the language type of the terminal. For example, if the language content is entered in the microphone or dialog box, the language type of the two languages is the highest weight, then the language type of the second terminal is the language type of the language content in the microphone or the dialog box.
  • the language type of the language content input by the second terminal in the current dialog box may be different from the language type detected before the second terminal establishes the dialog box, and the second terminal may enter the dialog box.
  • the language type of the language content is recognized as the second language type.
  • the processor 680 in the second terminal may send a response message to the first terminal by using the RF circuit 610 in the second terminal, where the response message includes the second terminal of the second terminal.
  • Language type the second terminal
  • the response message may only carry the second language type.
  • the first terminal may default that the processor of the second terminal does not have translation capability and the current language type of the second terminal is the second language type;
  • the second terminal may generate, according to whether the processor 680 in the second terminal has the translation capability, the indication information for indicating whether the translation capability is available, and in response to the case where the processor 680 of the second terminal does not have the translation capability, the response The message may carry the second language type of the second terminal and the indication information without translation capability.
  • the first terminal may determine, by the processor 680, that the first language type and the second language type are different, and translate the first language content input by the user into the second language type.
  • the second language content is then sent to the second terminal so that the user of the second terminal can understand the first language content input by the user of the first terminal.
  • the processor 680 of the first terminal when the user inputs "How” of the first language content "How are you?" in the dialog box of the first terminal display screen 640.
  • the first language type can be detected as English, and when the second language type of the second terminal is Chinese, the processor 680 of the first terminal translates "How are you?" when the first terminal input is completed into Chinese.
  • the second language content "How are you” is sent to the second terminal via RF circuit 610.
  • the second terminal may display the second language content of the Chinese language received from the first terminal in the display screen 640 of the second terminal, that is, the dialog box of the display screen 640 of the second terminal displays "How are you?".
  • the user of the second terminal can input the third language content "not bad” in the dialog box of the display screen 640 of the second terminal, and the processor 680 of the second terminal sends the third language content "not bad” through the RF circuit 610.
  • the processor 680 of the first terminal may translate the third language content received by the RF circuit 610 of the first terminal into The fourth language content of the first language type translates “not bad” into “I am fine” and displays the translated fourth language content "I am fine” through the display 640 of the first terminal.
  • the first language type and the second language type may also be the same.
  • the processor 680 of the first terminal may pass.
  • the RF circuit 610 transmits the first language content directly to the second terminal.
  • the second terminal when the second terminal sends the second language content input by the user through the RF circuit 610, the second language content may be directly sent to the first terminal without being translated.
  • the processor 680 of the first terminal may translate the second language content received by the RF circuit 610 of the first terminal into the first language type.
  • the third language content is such that the user of the first terminal can understand the language content of the second terminal.
  • first language type and the second language type may also be the same, and the processor 680 of the first terminal does not need to translate the language content sent by the RF circuit 610 of the second terminal.
  • the RF circuit 610 of the first terminal receives the update message sent by the RF circuit 610 of the second terminal, and the update message includes the updated language class of the second terminal.
  • Type the updated language type is different from the second language type.
  • the processor 680 of the second terminal may send the RF circuit 610 to the RF circuit 610 of the first terminal.
  • the update message includes the updated language type of the second terminal.
  • the processor 680 of the first terminal may translate the first language content input by the user into the updated language type.
  • the second language content is then sent to the second terminal through the RF circuit 610, so that the user of the second terminal can understand the language content input by the user of the first terminal in time.
  • the processor 680 of the first terminal may translate the third language content of the updated language type sent by the second terminal into the first language type.
  • the fourth language content is such that the user of the first terminal can recognize the language content input by the user of the second terminal in time.
  • the processor 680 of the first terminal may not have translation capability, but the processor 680 of the second terminal has translation capability.
  • the processor 680 of the first terminal may detect that the language type of the first language content is the first language type, and then send the first language type by using the RF circuit 610 of the first terminal.
  • the capability negotiation request message is sent to the second terminal, and after the RF circuit 610 of the second terminal receives the capability negotiation request message, the processor 680 of the second terminal detects the second language type.
  • the processor 680 of the second terminal When the second terminal receives the first language content of the first language type sent by the RF circuit 610 of the first terminal, the processor 680 of the second terminal translates the first language content of the first language type into the second language type.
  • the second language content is such that the user of the second terminal can understand the first language content input by the first terminal user.
  • the user of the second terminal can reply to the user of the first terminal, and the user of the second terminal inputs the third language content to be sent in the dialog box of the display screen 640 of the second terminal, and the processor of the second terminal can control through the display.
  • the 673 extracts the third language content of the second language type input in the dialog box of the display screen 640, and translates the third language content of the second language type into the fourth language content of the first language type and sends the content to the first language terminal.
  • the processor 680 of the first terminal when the other input device or the audio circuit of the first terminal detects the input of the first language content, the processor of the first terminal can detect the dialog box of the display screen. Inputting a language content or a first language type of the language content in the microphone, and receiving, by the RF circuit, a second language type sent by the second terminal, so that the processor of the first terminal can translate the first language content of the first language type into The second language content of the second language type is then sent to the second terminal via the RF circuit.
  • the processor 680 of the first terminal may translate the received third language content of the second language type into the fourth language type.
  • the language content so that the user of the first terminal and the user of the second terminal communicate normally under different language types.
  • the manual setting of the language type is required, and the language type of the other party may be incorrectly set, thereby generating a conflict.
  • the embodiment of the present application can implement the terminal to automatically detect the language type, and solve the problem of additionally setting the language type manually.
  • the workload is large and can easily cause problems with setting conflicts.
  • the user of the first terminal inputs the first language content, and the first terminal can detect the first language type and Obtain a second language type of the second terminal.
  • the processor 680 in the first terminal may translate the first language content of the first language type into the second language content of the third language type and then send the second language content to the second language content.
  • the terminal, the second terminal may translate the second language content of the third language type into the third language content of the second language type.
  • the user of the second terminal may reply to the user of the first terminal, and the second terminal may translate the fourth language content of the second language type into the fifth language content of the third language type and send the content to the first terminal, where the first terminal may The fifth language content of the third language type is translated into the sixth language content of the first language type. That is to say, the first terminal and the second terminal can implement communication between users through an intermediate language, that is, a third language type.
  • the processor 680 of the first terminal detects the first language type of the first language content entered in the dialog box of the display screen 640 through the display controller 673 of the I/O subsystem 670, or the processor 680 of the first terminal.
  • the first language type of the language content recorded in the microphone 662 is detected by the audio circuit 660, and then the capability negotiation request message is transmitted to the second terminal through the RF circuit 610 of the first terminal.
  • the capability negotiation request message includes a first language type of the first terminal and a first translation capability, and the first translation capability is used to indicate that the first terminal is capable of translating the language content of the third language type and the language content of the first language type.
  • the third language type of the first terminal may be Japanese.
  • the third language type can also include multiple language types.
  • the capability negotiation request message may be further used to instruct the second terminal to feed back the second language type of the second terminal and the second translation capability of the second terminal.
  • the timing and manner of detecting the first language type and the third language type by the first terminal may refer to the previous embodiment, and details are not described herein again.
  • the processor 680 of the second terminal can detect the second language type of the second terminal. Then, the processor of the second terminal sends a response message to the first terminal through the RF circuit 610, the response message includes a second language type and a second translation capability of the second terminal, and the second translation capability is used to indicate the processor of the second terminal. 680 is capable of translating language content of a third language type and language content of a second language type.
  • the processor 680 of the second terminal determines that the second language type is Chinese, and the processor 680 of the second terminal can translate the English into Chinese, and the third language type can be English.
  • the third language type can also include multiple language types.
  • the second terminal may refer to the foregoing embodiment, and details are not described herein again.
  • the processor 680 of the first terminal determines the second language type included in the response message received by the RF circuit 610 and the processor 680 of the first terminal.
  • the processor 680 of the first terminal may translate the first language content input by the user into the second language content or the second language content of the third language type, and then pass the RF circuit 610. Sending the second language content to the second terminal.
  • the processor 680 of the first terminal can translate the first language content of the first language type into a third The second language content of the language type, since the processor 680 of the first terminal translates the language content of the first language type into the language content of the second language type, and it is easier to translate the language content of the first language type.
  • the language content of the third language type so the processor 680 of the first terminal can translate the language content of the first language type into the language content of the third language type and then send it to the second terminal through the RF circuit 610, the second terminal
  • the processor 680 then translates the language content of the third language type into the language content of the second language type and displays the translated language content through the display controller of the I/O subsystem 670 to display the translated language content for the first terminal.
  • the user of the second terminal communicates with the third terminal type as an intermediate language type.
  • the processor 680 of the first terminal detects that the first language type is Chinese, and receives, by the RF circuit 610 of the first terminal, the second language type sent by the second terminal is German, and the second terminal
  • the third language type that the processor 680 can translate is English.
  • the processor 680 of the first terminal is easier to translate Chinese into English than the Chinese translation into German, and the processor 680 of the first terminal can input the Chinese input by the user.
  • After being translated into English it is sent to the second terminal through the RF circuit 610, so that the processor 680 of the second terminal translates the language content of the English language received from the RF circuit 610 into the language content of the German language, thereby realizing the user of the first terminal and Normal communication of the user of the second terminal.
  • the processor 680 of the first terminal may also The translation of the language content into the second language content of the second language type is sent to the second terminal.
  • the processor 680 of the second terminal can directly display the second language content of the second language type received from the RF circuit 610 through the display controller control display screen 640 of the I/O subsystem 670 without re-translating. Therefore, the user of the first terminal and the user of the second terminal can communicate normally.
  • the processor 680 of the second terminal may translate the first language content of the second language type before the second terminal transmits the first language content of the second language type to the first terminal through the RF circuit 610.
  • the second language content of the first language type or the third language type is sent to the first terminal.
  • the processor 680 of the second terminal may translate the first language content input by the user into the second language content of the third language type, because the third language type is an intermediate language type that the first terminal can translate, that is, the first language type
  • a terminal processor 680 can translate the intermediate language type and the first language type. For example, assume that the processor 680 of the first terminal determines through the display controller 673 of the I/O subsystem 670 that the first language type of the language content input by the user in the dialog box of the display screen 640 is English, the first translation capability indication
  • the processor 680 of the first terminal can translate Chinese and English, that is, the third language type can be Chinese.
  • the processor 680 of the second terminal may transmit the language content from Korean to Chinese and then transmit it to the first terminal through the RF circuit 610.
  • the processor 680 of the first terminal can translate the Chinese sent by the RF circuit 610 of the second terminal into English, so that the user of the first terminal can recognize the language content input in the dialog box of the display screen 640 of the second terminal.
  • the processor 680 of the second terminal may also translate the first language content of the second language type into the second language content of the first language type, and then send the first language content to the first terminal through the RF circuit 610, so that The user of one terminal and the user of the second terminal can communicate normally.
  • the processor 680 of the second terminal changes the second language type of the input language content in the dialog box of the display screen 640 detected by the display controller of the I/O subsystem 670
  • the processor 680 of the second terminal The update message may be sent to the first terminal by the RF circuit 610.
  • the update message includes the updated language type of the second terminal, and the updated language type is different from the second language type.
  • the language type of the language content input by the user for the first time in the dialog box of the display screen 640 in the second terminal is English language content, and then the user re-enters the language content of the French language, and the processor of the second terminal
  • the second language type of the input language content in the dialog box of the display screen 640 that can be detected by the display controller of the I/O subsystem 670 is updated from English to French, and the processor 680 of the second terminal passes through the RF circuit 610.
  • a terminal sends an update message for indicating that the language content entered in the dialog box of the display screen 640 of the second terminal is updated from English to French.
  • the first language type and the first translation capability of the first terminal can be automatically detected by the processor 680 of the first terminal, and the second language type and the second translation capability of the second terminal are obtained, so that the first terminal is
  • the processor 680 detects the language content input in the dialog box of the display screen 640 detected by the display controller of the I/O subsystem 670, the first language content of the first language type of the first terminal can be translated into the intermediate language type.
  • the second language content that is, the second language content of the third language type, is transmitted to the second terminal through the RF circuit 610 of the first terminal.
  • the processor 680 of the second terminal then translates the second language content of the third language type received by the RF circuit 610 into the third language content of the second language type, thereby implementing the user of the first terminal and the user of the second terminal.
  • the intermediate language type is used for normal communication. Compared with the prior art, the language type needs to be manually set, and the extra labor is required, and the language type of the other party may be set incorrectly, thereby generating a conflict.
  • the processing of the first terminal in this embodiment of the present application is The processor 680 and the processor 680 of the second terminal can automatically detect their own language type, solve the problem that the extra settings are large in workload and easily cause setting conflicts.
  • the communication system of the embodiment of the present application may further include a first terminal, a second terminal, and a server, as shown in FIG. 8.
  • the structure of the first terminal and the second terminal may refer to the schematic diagram of FIG. 6. Different from the first terminal and the second terminal in the foregoing communication system, the processor of the first terminal and the processor of the second terminal are not Have translation skills.
  • FIG. 9 is a schematic diagram of an internal structure of a server 900 in the embodiment of the present application.
  • the server may include a processor 901, a transceiver 902, and a memory 903.
  • the processor 901 is configured to control various parts of the server, hardware devices, application software, and the like.
  • the transceiver 902 is configured to receive commands sent by other devices by using a communication method such as Long Term Evolution (LTE) or wifi, and may also send data of the server to other devices.
  • the memory 903 is used to execute storage of a software program of a server, storage of data, operation of software, and the like.
  • the server may translate the language content sent by the first terminal into the language content that can be recognized by the second terminal, and then send the language content sent by the second terminal to the first terminal. The recognized language content is then sent to the first terminal.
  • the first terminal and the second terminal do not have translation capabilities, and the server is used as an intermediate device for language translation as an example. Said that the server can acquire the first language type of the first terminal and the second language type of the second terminal. Transmitting, by the server, the first language content sent by the first terminal to the second language type from the first language type to the second terminal; or the server translating the second language content sent by the second terminal from the second language type to the first The language type is sent to the first terminal.
  • the server acquires, by the transceiver 902, the first language type sent by the first terminal through the RF circuit 610 and the second language type sent by the second terminal through the RF circuit 610.
  • the processor 680 of the first terminal detects the first language type of the first terminal and sends it to the server through the RF circuit 610, and the processor 680 of the second terminal Detecting the second language type of the second terminal and transmitting it to the server through the RF circuit 610; or when the user starts to input the language content in the dialog box of the display screen 640 of the first terminal, the processor 680 of the first terminal passes the I/O.
  • the display controller of subsystem 670 detects that the language type of the first language content entered in the dialog of display 640 is the first language type and sends a request message to the server via RF circuitry 610.
  • the request message includes an identifier and a network address of the second terminal to which the first terminal is to establish a conversation relationship, and the transceiver 902 of the server triggers the processor 680 of the second terminal to detect the second terminal by sending a trigger message to the second terminal.
  • the two language types are sent to the server via RF circuitry 610.
  • the server knows and records the first language type of the first terminal and the second language type of the second terminal.
  • the processor 901 of the server When the first terminal transmits the input first language content of the first language type to the server through the RF circuit 610, the processor 901 of the server translates the first language content of the first language type sent by the first terminal into the second language type. The second language content is then sent to the second terminal via transceiver 902. Similarly, when the second terminal transmits the input third language content of the second language type to the server through the RF circuit 610, the processor 901 of the server translates the third language content of the second language type sent by the second terminal into the first The fourth language content of a language type is then sent to the first terminal.
  • the processor 901 of the server may translate the first language content of the first language type sent by the first terminal into the second language content of the second language type of the second terminal, and convert the translated second language type through the transceiver 902.
  • the second language content is sent to the first terminal to facilitate the language content sent by the first terminal that the user of the second terminal can recognize.
  • the processor 680 of the first terminal detects that the first language type of the first language content is changed in the dialog box of the display screen 640 through the display controller of the I/O subsystem 670, or the processor 680 of the second terminal passes the I
  • the display controller of the /O subsystem 670 detects that the second language type of the second language content is changed in the dialog box of the display screen 640
  • the processor 680 of the first terminal and the second terminal may detect through the RF circuit 610.
  • the new language type is sent to the server so that the processor 901 of the server updates the first language type and the second language type stored in the memory 903.
  • the user inputs the Chinese language content in the dialog box of the display screen 640 of the first terminal for the first time, and the user displays the display screen 640 of the first terminal for the second time.
  • the language content of the English is input in the dialog box, and the first terminal can send the language type of the English to the server through the RF circuit 610, so that the processor 901 of the server is based on the English language.
  • the language type of the first terminal's RF circuit 610 can be translated from English to French and then sent to the second terminal; or the processor 901 of the server timely sends the language content sent by the second terminal received by the transceiver 902. It is translated into French by French and then transmitted to the first terminal through the transceiver 902.
  • the first terminal can detect the first language type of the first terminal and send it to the server
  • the second terminal detects the second language type of the second terminal and sends the second language type to the server
  • the server can receive the received first terminal. Transmitting the first language content of the first language type into the second language content of the second language type, and transmitting the second language content of the second language type to the second terminal.
  • the server may also translate the received third language content of the second terminal into the fourth language content of the first language type, and then send the fourth language content of the first language type to the first terminal, so that the second terminal
  • the user and the user of the first terminal can communicate normally in different language types.
  • the embodiment of the present application may be automatically performed by the processor 680 of the first terminal and the second terminal. Detecting your own language type, solves the problem of large workloads and easy setup conflicts.
  • the functions described herein can be implemented in hardware, software, firmware, or any combination thereof.
  • the functions may be stored in a computer readable medium or transmitted as one or more instructions or code on a computer readable medium.
  • Computer readable media includes both computer storage media and communication media including any medium that facilitates transfer of a computer program from one location to another.
  • a storage medium may be any available media that can be accessed by a general purpose or special purpose computer.

Abstract

本申请实施例提供一种多终端协同的翻译方法和装置,涉及通信领域,能够解决翻译技术中手工设置翻译语言种类工作量大和容易引起设置冲突的问题。其方法为:第一终端接收第一终端用户输入的第一语言内容;第一终端检测第一终端的第一语言类型,并获取第二终端的第二语言类型;第一终端将待发送的第一语言类型的第一语言内容翻译为第二语言类型的第二语言内容,将第二语言类型的第二语言内容发送给第二终端。本申请实施例应用于近距离跨语言的交流或互联网远程交流。

Description

一种多终端协同的翻译方法和终端 技术领域
本申请涉及电子终端领域,尤其涉及一种多终端协同的翻译方法和终端。
背景技术
目前,翻译技术已经能够运用在跨语言交流的应用程序中。例如即时消息类应用,对话的双方使用不同的语言时,通过翻译技术可以将对话发起方的语音、文本等内容翻译为对话接收方所能识别的内容,极大地方便了跨语言交流。
现有翻译技术如图1所示,是用户手工在聊天客户端上设置自己所用的语言和对方所用的语言,在进行对话时,由聊天客户端上的翻译模块将自身的输入内容翻译为对方语言所的内容。
现有技术需要用户手工设置输入语言的种类和输出语言的种类,这使得用户在交流之前还需要进行额外的设置,不能自然地进行跨语言交流,增加了设置的工作量;其次,如果对话双方都进行语言种类的设置,就可能会出现二者设置不一致,产生冲突;而且,如果是多人聊天,且参与方的语言种类超过两种,此时逐个地设置两两交流方的语言,会更明显地增加设置的工作量,同时也容易引起设置的冲突。
发明内容
本申请提供一种多终端协同的翻译方法和终端,能够解决翻译技术中手工设置翻译语言种类工作量大和容易引起设置冲突的问题。
一方面,提供一种多终端协同的翻译方法,包括:第一终端接收第一终端用户输入的第一语言内容;第一终端检测第一终端的第一语言类型,并获取第二终端的第二语言类型;第一终端将待发送的第一语言类型的第一语言内容翻译为第二语言类型的第二语言内容,将第二语言类型的第二语言内容发送给第二终端。这样一来,第一终端可以将第一语言类型的第一语言内容翻译为第二终端能够识别的第二语言类型的第二语言内容并发送给第二终端,以便于第一终端的用户和第二终端的用户可以在对话的语言类型不同的情况下相互交流。
在一种可能的设计中,获取第二终端的第二语言类型包括:第一终端向第二终端发送能力协商请求消息,能力协商请求消息包括第一终端的第一语言类型;第一终端接收第二终端发送的响应消息,响应消息包括第二终端的第二语言类型。这样一来,第一终端可以向第二终端发送能力协商请求消息以接收第二终端发送携带第二终端的第二语言类型的响应消息,以便第一终端在第一语言类型和第二语言类型不同的情况下对第一终端用户的语言内容和第二终端用户的语言内容进行翻译。
在一种可能的设计中,该方法还包括:第一终端接收第二终端用户输入 的第三语言内容;第一终端将第三语言内容翻译为第一语言类型的第四语言内容;第一终端显示第一语言类型的第四语言内容。这样一来,第一终端可以将第二终端发送的第三语言内容翻译为第一语言类型的四语言内容,以便于第一终端的用户和第二终端的用户可以在语言类型不同的情况下相互交流。
在一种可能的设计中,第一终端检测第一终端的第一语言类型包括:第一终端将第一终端文本输入界面或麦克风输入的语言内容的语言类型识别为第一终端的第一语言类型;或第一终端接收到第二终端的发言内容时,第一终端将第一终端的操作系统的语言类型识别为第一终端的第一语言类型;或第一终端将第一终端的文本输入界面中输入的文本的语言类型识别为第一终端的第一语言类型;或第一终端将第一终端的浏览器的网页内容的语言类型识别为第一终端的第一语言类型;或第一终端将第一终端的应用程序的语言类型识别为第一终端的第一语言类型;或第一终端将第一终端的麦克风中输入的语音的语言类型识别为第一终端的第一语言类型;或第一终端将第一终端的翻译模块可以翻译的语言类型识别为第一终端的第一语言类型。当然,第一终端还可以通过其他方式来识别第一终端的第一语言类型,本申请实施例不做限定。如果第一终端检测得到的语言类型与第一终端用户输入的语言内容的语言类型不同,可以将第一终端用户输入的语言类型作为第一终端的第一语言类型,以方便第一终端用户与第二终端用户交流。
在一种可能的设计中,该方法还包括:第一终端接收第二终端发送的更新消息,更新消息包括第二终端更新后的第三语言类型,第三语言类型与第二语言类型不同。这样一来,第一终端可以得知第二终端支持的语言类型更新为第三语言类型,第一终端可以将第一语言类型的第一语言内容翻译为第三语言类型的第二语言内容发送给第二终端。第一终端也可以接收第二终端发送的第三语言类型的第三语言内容,并将该第三语言类型的第三语言内容翻译为第一语言类型的第四语言内容,以便于第一终端的用户和第二终端的用户进行交流。
另一方面,提供一种多终端协同的翻译方法,包括:第一终端接收第一终端用户输入的第一语言内容;第一终端检测第一终端的第一语言类型以及第一翻译能力,第一翻译能力用于指示第一终端能够对第三语言类型的语言内容和第一语言类型的语言内容进行互译,第一终端并获取第二终端的第二语言类型和第二翻译能力,第二翻译能力用于指示第二终端能够对第三语言类型的语言内容和第二语言类型的语言内容进行互译;第一终端将第一语言类型的第一语言内容翻译为第三语言类型的第二语言内容,将第三语言类型的第二语言内容发送给第二终端,使第二终端将第三语言类型的第二语言内容翻译为第二语言类型的第三语言内容。也就是说,第一终端可以将第一语言类型的第一语言内容翻译为第三语言类型的第二语言内容并发送给第二终端。第二终端可以将第三语言类型的第二语言内容翻译为第二语言类型的第三语言内容,以便于第一终端的用户和第二终端的用户可以在语言类型不同 的情况下,通过第三语言类型这种中间语言类型相互交流。
在一种可能的设计中,第一终端并获取第二终端的第二语言类型和第二翻译能力包括:第一终端向第二终端发送能力协商请求消息,能力协商请求消息包括第一终端的第一语言类型以及第一翻译能力;第一终端接收第二终端发送的响应消息,响应消息包括第二终端的第二语言类型和第二翻译能力。也就是说,第一终端可以向第二终端发送能力协商请求消息从而将第一终端的第一语言类型和第一翻译能力通知给第二终端,并且可以接收第二终端发送的响应消息,从而获取第二终端的第二语言类型和第二翻译能力,以便第一终端可以确定第一终端用户和第二终端用户能够互译的中间语言类型。
在一种可能的设计中,该方法还包括:第一终端接收第二终端发送的第三语言类型的第四语言内容,第三语言类型的第四语言内容是第二终端将第二语言类型的第五语言内容翻译为第三语言类型的第四语言内容后发送的;第一终端将第三语言类型的第四语言内容翻译为第一语言类型的第六语言内容;第一终端显示第一语言类型的第六语言内容。这样一来,第一终端可以将第二终端发送的第四语言内容翻译为第一语言类型的第六语言内容,也就是第一终端可以将第二终端发送的第四语言内容翻译为第一终端的用户可以理解的第六语言内容,以便于第一终端的用户和第二终端的用户可以在语言类型不同的情况下进行交流。
在一种可能的设计中,第一终端检测第一终端的第一语言类型包括:第一终端将第一终端文本输入界面或麦克风输入的语言内容的语言类型识别为第一终端的第一语言类型;或第一终端接收到第二终端的发言内容时,第一终端将第一终端的操作系统的语言类型识别为第一终端的第一语言类型;或第一终端将第一终端的文本输入界面中输入的文本的语言类型识别为第一终端的第一语言类型;或第一终端将第一终端的浏览器的网页内容的语言类型识别为第一终端的第一语言类型;或第一终端将第一终端的应用程序的语言类型识别为第一终端的第一语言类型;或第一终端将第一终端的麦克风中输入的语音的语言类型识别为第一终端的第一语言类型;或第一终端将第一终端的翻译模块可以翻译的语言类型识别为第一终端的第一语言类型。当然,第一终端还可以通过其他方式来识别第一终端的第一语言类型,本申请实施例不做限定。
在一种可能的设计中,该方法还包括:第一终端接收第二终端发送的更新消息,更新消息包括第二终端更新后的第四语言类型,第四语言类型与第二语言类型不同。这样一来,第一终端可以得知第二终端支持的语言类型更新为第四语言类型,第一终端可以将第一语言类型的第一语言内容翻译为第四语言类型的第二语言内容发送给第二终端,以便于第一终端的用户和第二终端的用户可以在语言类型不同的情况下相互交流。
再一方面,提供一种多终端协同的翻译方法,包括:服务器在获取到第一终端的第一语言类型并确定与第一终端对话的第二终端后,服务器向第二终端请求获取第二终端的第二语言类型;服务器接收第一终端用户输入的第 一语言内容,将第一语言类型的第一语言内容翻译为第二语言类型的第二语言内容,将第二语言类型的第二语言内容发送给第二终端。这样一来,服务器可以将第一终端发送的第一语言类型的第一语言内容翻译为第二终端用户能够识别的第二语言类型的第二语言内容,将第二语言类型的第二语言内容发送给第二终端,以便第一终端的用户和第二终端的用户可以在语言类型不同的情况下相互交流。
在一种可能的设计中,该方法还包括:服务器接收第一终端的第一消息,第一消息包括第一终端的第一语言类型以及与第一终端对话的第二终端的标识,以根据第二终端的标识请求获取第二终端的第二语言类型;服务器接收第二终端用户输入的第三语言内容,将第二语言类型的第三语言内容翻译为第一语言类型的第四语言内容,并将第一语言类型的第四语言内容发送给第一终端。这样一来,服务器可以接收第二终端用户输入的第三语言内容,将第二语言类型的第三语言内容翻译为第一语言类型的第四语言内容,并将第一语言类型的第四语言内容发送给第一终端,以便于第一终端的用户和第二终端的用户可以在语言类型不同的情况下相互交流。
再一方面,提供一种多终端协同的翻译方法,包括:第一终端接收第一终端用户输入的第一语言内容;第一终端检测第一终端的第一语言类型;第一终端将第一语言类型以及与第一终端建立对话关系的第二终端的标识发送给服务器;第一终端将第一语言内容发送给服务器,使服务器将第一语言类型的第一语言内容翻译为第二语言类型的第二语言内容后发送给第二终端。这样一来,第一终端可以通过服务器将第一语言类型的第一语言内容翻译为第二语言类型的第二语言内容后发送给第二终端,以便于第一终端的用户和第二终端的用户可以在语言类型不同的情况下相互交流。
在一种可能的设计中,该方法还包括:第一终端接收服务器发送的第一语言类型的第三语言内容,第一语言类型的第三语言内容是服务器将第二终端发送的第二语言类型的第四语言内容翻译为第一语言类型的第三语言内容后发送的;第一终端显示第一语言类型的第三语言内容。这样一来,第一终端可以接收服务器将第二终端发送的第四语言内容翻译为的第一语言类型的第三语言内容,也就是服务器可以将第二终端发送的第四语言内容翻译为第一终端的用户可以理解的第三语言内容,以便于第一终端的用户和第二终端的用户可以在语言类型不同的情况下相互交流。
在一种可能的设计中,第一终端检测第一终端的第一语言类型包括:第一终端将第一终端文本输入界面或麦克风中输入的语言内容的语言类型识别为第一终端的第一语言类型;或第一终端接收到第二终端的发言内容时,第一终端将第一终端的操作系统的语言类型识别为第一终端的第一语言类型;或第一终端将第一终端的文本输入界面中输入的文本的语言类型识别为第一终端的第一语言类型;或第一终端将第一终端的浏览器的网页内容的语言类型识别为第一终端的第一语言类型;或第一终端将第一终端的应用程序的语言类型识别为第一终端的第一语言类型;或第一终端将第一终端的麦克风中 输入的语音的语言类型识别为第一终端的第一语言类型;或第一终端将第一终端的翻译模块可以翻译的语言类型识别为第一终端的第一语言类型。当然,第一终端还可以通过其他方式来识别第一终端的第一语言类型,本申请实施例不做限定。
再一方面,提供一种第一终端,包括:内容输入/输出模块,用于接收第一终端用户输入的第一语言内容;语言类型检测模块,用于在内容输入/输出模块接收到第一语言内容时检测第一终端的第一语言类型,并获取第二终端的第二语言类型;翻译模块,用于将语言类型检测模块检测出的待发送的第一语言类型的第一语言内容翻译为第二语言类型的第二语言内容,通信模块,用于将翻译模块翻译后的第二语言类型的第二语言内容发送给第二终端。
在一种可能的设计中,语言类型检测模块用于:通过通信模块向第二终端发送能力协商请求消息,能力协商请求消息包括第一终端的第一语言类型;通过通信模块接收第二终端发送的响应消息,响应消息包括第二终端的第二语言类型。
在一种可能的设计中,通信模块还用于第二终端用户输入的第三语言内容;翻译模块还用于:将通信模块接收到的将第三语言内容翻译为第一语言类型的第四语言内容;内容输入/输出模块还用于显示翻译模块翻译后的第一语言类型的第四语言内容。
在一种可能的设计中,语言类型检测模块用于:将第一终端文本输入界面或麦克风输入的语言内容的语言类型识别为第一终端的第一语言类型;或将第一终端的操作系统的语言类型识别为第一终端的第一语言类型;或将第一终端的文本输入界面中输入的文本的语言类型识别为第一终端的第一语言类型;或将第一终端的浏览器的网页内容的语言类型识别为第一终端的第一语言类型;或将第一终端的应用程序的语言类型识别为第一终端的第一语言类型;或将第一终端的麦克风中输入的语音的语言类型识别为第一终端的第一语言类型;或将第一终端的翻译模块可以翻译的语言类型识别为第一终端的第一语言类型。
在一种可能的设计中,通信模块还用于:接收第二终端发送的更新消息,更新消息包括第二终端更新后的第三语言类型,第三语言类型与第二语言类型不同。
再一方面,提供一种第一终端,包括:内容输入/输出模块,用于接收第一终端用户输入的第一语言内容;语言类型检测模块,用于在内容输入/输出模块接收到第一语言内容时检测第一终端的第一语言类型以及第一翻译能力,第一翻译能力用于指示第一终端能够对第三语言类型的语言内容和第一语言类型的语言内容进行互译,并获取第二终端的第二语言类型和第二翻译能力,第二翻译能力用于指示第二终端能够对第三语言类型的语言内容和第二语言类型的语言内容进行互译;翻译模块,用于将语言类型检测模块检测到的第一语言类型的第一语言内容翻译为第三语言类型的第二语言内容,通信模块,用于将翻译模块翻译后的第三语言类型的第二语言内容发送给第二 终端,使第二终端将第三语言类型的第二语言内容翻译为第二语言类型的第三语言内容。
在一种可能的设计中,语言类型检测模块用于:通过通信模块向第二终端发送能力协商请求消息,能力协商请求消息包括第一终端的第一语言类型以及第一翻译能力;通过通信模块接收第二终端发送的响应消息,响应消息包括第二终端的第二语言类型和第二翻译能力。
在一种可能的设计中,通信模块还用于:接收第二终端发送的第三语言类型的第四语言内容,第三语言类型的第四语言内容是第二终端将第二语言类型的第五语言内容翻译为第三语言类型的第四语言内容后发送的;翻译模块还用于:将通信模块接收到的第三语言类型的第四语言内容翻译为第一语言类型的第六语言内容;内容输入/输出模块还用于显示翻译模块翻译后的第一语言类型的第六语言内容。
在一种可能的设计中,语言类型检测模块用于:将第一终端文本输入界面或麦克风输入的语言内容的语言类型识别为第一终端的第一语言类型;或将第一终端的操作系统的语言类型识别为第一终端的第一语言类型;或将第一终端的文本输入界面中输入的文本的语言类型识别为第一终端的第一语言类型;或将第一终端的浏览器的网页内容的语言类型识别为第一终端的第一语言类型;或将第一终端的应用程序的语言类型识别为第一终端的第一语言类型;或将第一终端的麦克风中输入的语音的语言类型识别为第一终端的第一语言类型;或将第一终端的翻译模块可以翻译的语言类型识别为第一终端的第一语言类型。
在一种可能的设计中,通信模块还用于:接收第二终端发送的更新消息,更新消息包括第二终端更新后的第三语言类型,第三语言类型与第二语言类型不同。
再一方面,提供一种服务器,包括:语言类型记录模块,在获取到第一终端的第一语言类型并确定与第一终端对话的第二终端后,向第二终端请求获取第二终端的第二语言类型;通信模块,用于接收第一终端用户输入的第一语言内容;翻译模块,用于将通信模块接收到的第一语言类型的第一语言内容翻译为第二语言类型的第二语言内容;通信模块还用于将翻译模块翻译后的第二语言类型的第二语言内容发送给第二终端。
在一种可能的设计中,语言类型记录模块用于:通过通信模块接收第一终端的第一消息,第一消息包括第一终端的第一语言类型以及与第一终端对话的第二终端的标识,以根据第二终端的标识请求获取第二终端的第二语言类型;通信模块还用于接收第二终端用户输入的第三语言内容,翻译模块还用于将通信模块接收到的第二语言类型的第三语言内容翻译为第一语言类型的第四语言内容,通信模块还用于将翻译模块翻译后的第一语言类型的第四语言内容发送给第一终端。
再一方面,提供一种第一终端,包括:内容输入/输出模块,用于接收第一终端用户输入的第一语言内容;语言类型检测模块,用于在内容输入/输出 模块接收到第一语言内容时检测第一终端的第一语言类型;通信模块,用于将语言类型检测模块检测到的第一语言类型以及与第一终端建立对话关系的第二终端的标识发送给服务器;通信模块还用于,将内容输入/输出模块接收到的第一语言内容发送给服务器,使服务器将第一语言类型的第一语言内容翻译为第二语言类型的第二语言内容后发送给第二终端。
在一种可能的设计中,通信模块还用于:接收服务器发送的第一语言类型的第三语言内容,第一语言类型的第三语言内容是服务器将第二终端发送的第二语言类型的第四语言内容翻译为第一语言类型的第三语言内容后发送的;内容输入/输出模块还用于显示通信模块接收到的第一语言类型的第三语言内容。
在一种可能的设计中,语言类型检测模块用于:将第一终端文本输入界面或麦克风中输入的语言内容的语言类型识别为第一终端的第一语言类型;或将第一终端的操作系统的语言类型识别为第一终端的第一语言类型;或将第一终端的文本输入界面中输入的文本的语言类型识别为第一终端的第一语言类型;或将第一终端的浏览器的网页内容的语言类型识别为第一终端的第一语言类型;或将第一终端的应用程序的语言类型识别为第一终端的第一语言类型;或将第一终端的麦克风中输入的语音的语言类型识别为第一终端的第一语言类型;或将第一终端的翻译模块可以翻译的语言类型识别为第一终端的第一语言类型。
再一方面,提供一种第一终端,包括:输入/输出设备,用于接收第一终端用户输入的第一语言内容;处理器,用于在输入/输出设备接收到第一语言内容时检测第一终端的第一语言类型,并获取第二终端的第二语言类型;处理器还用于将待发送的第一语言类型的第一语言内容翻译为第二语言类型的第二语言内容;射频(Radio Frequency,RF)电路,用于将处理器翻译后的第二语言类型的第二语言内容发送给第二终端。
在一种可能的设计中,处理器用于:通过RF电路向第二终端发送能力协商请求消息,能力协商请求消息包括第一终端的第一语言类型;通过RF电路接收第二终端发送的响应消息,响应消息包括第二终端的第二语言类型。
在一种可能的设计中,RF电路还用于接收第二终端用户输入的第三语言内容;处理器还用于:将RF电路接收到的将第三语言内容翻译为第一语言类型的第四语言内容;第一终端还包括显示屏,用于显示处理器翻译后的第一语言类型的第四语言内容。
在一种可能的设计中,处理器用于:将第一终端文本输入界面或麦克风输入的语言内容的语言类型识别为第一终端的第一语言类型;或将第一终端的操作系统的语言类型识别为第一终端的第一语言类型;或将第一终端的文本输入界面中输入的文本的语言类型识别为第一终端的第一语言类型;或将第一终端的浏览器的网页内容的语言类型识别为第一终端的第一语言类型;或将第一终端的应用程序的语言类型识别为第一终端的第一语言类型;或将第一终端的麦克风中输入的语音的语言类型识别为第一终端的第一语言类 型;或将第一终端的处理器可以翻译的语言类型识别为第一终端的第一语言类型。
在一种可能的设计中,RF电路还用于:接收第二终端发送的更新消息,更新消息包括第二终端更新后的第三语言类型,第三语言类型与第二语言类型不同。
再一方面,提供一种第一终端,包括:输入/输出设备,用于接收第一终端用户输入的第一语言内容;处理器,用于在输入/输出设备接收到第一语言内容时检测第一终端的第一语言类型以及第一翻译能力,第一翻译能力用于指示第一终端能够对第三语言类型的语言内容和第一语言类型的语言内容进行互译,并获取第二终端的第二语言类型和第二翻译能力,第二翻译能力用于指示第二终端能够对第三语言类型的语言内容和第二语言类型的语言内容进行互译;处理器还用于:将处理器检测到的第一语言类型的第一语言内容翻译为第三语言类型的第二语言内容;RF电路,用于将处理器翻译后的第三语言类型的第二语言内容发送给第二终端,使第二终端将第三语言类型的第二语言内容翻译为第二语言类型的第三语言内容。
在一种可能的设计中,处理器用于:通过RF电路向第二终端发送能力协商请求消息,能力协商请求消息包括第一终端的第一语言类型以及第一翻译能力;通过RF电路接收第二终端发送的响应消息,响应消息包括第二终端的第二语言类型和第二翻译能力。
在一种可能的设计中,RF电路还用于:接收第二终端发送的第三语言类型的第四语言内容,第三语言类型的第四语言内容是第二终端将第二语言类型的第五语言内容翻译为第三语言类型的第四语言内容后发送的;处理器还用于:将RF电路接收到的第三语言类型的第四语言内容翻译为第一语言类型的第六语言内容;第一终端还包括显示屏,用于显示处理器翻译后的第一语言类型的第六语言内容。
在一种可能的设计中,处理器用于:将第一终端文本输入界面或麦克风输入的语言内容的语言类型识别为第一终端的第一语言类型;或将第一终端的操作系统的语言类型识别为第一终端的第一语言类型;或将第一终端的文本输入界面中输入的文本的语言类型识别为第一终端的第一语言类型;或将第一终端的浏览器的网页内容的语言类型识别为第一终端的第一语言类型;或将第一终端的应用程序的语言类型识别为第一终端的第一语言类型;或将第一终端的麦克风中输入的语音的语言类型识别为第一终端的第一语言类型;或将第一终端的处理器可以翻译的语言类型识别为第一终端的第一语言类型。
在一种可能的设计中,RF电路还用于:接收第二终端发送的更新消息,更新消息包括第二终端更新后的第三语言类型,第三语言类型与第二语言类型不同。
再一方面,提供一种服务器,包括:处理器,在获取到第一终端的第一语言类型并确定与第一终端对话的第二终端后,向第二终端请求获取第二终 端的第二语言类型;收发器,用于接收第一终端用户输入的第一语言内容;处理器还用于:将收发器接收到的第一语言类型的第一语言内容翻译为第二语言类型的第二语言内容;收发器还用于将处理器翻译后的第二语言类型的第二语言内容发送给第二终端。
在一种可能的设计中,处理器用于:通过收发器接收第一终端的第一消息,第一消息包括第一终端的第一语言类型以及与第一终端对话的第二终端的标识,以根据第二终端的标识请求获取第二终端的第二语言类型;收发器还用于接收第二终端用户输入的第三语言内容,处理器还用于将收发器接收到的第二语言类型的第三语言内容翻译为第一语言类型的第四语言内容,收发器还用于将处理器翻译后的第一语言类型的第四语言内容发送给第一终端。
再一方面,提供一种第一终端,包括:输入/输出设备,用于接收第一终端用户输入的第一语言内容;处理器,用于在输入/输出设备接收到第一语言内容时检测第一终端的第一语言类型;RF电路,用于将处理器检测到的第一语言类型以及与第一终端建立对话关系的第二终端的标识发送给服务器;RF电路还用于,将输入/输出设备接收到的第一语言内容发送给服务器,使服务器将第一语言类型的第一语言内容翻译为第二语言类型的第二语言内容后发送给第二终端。
在一种可能的设计中,RF电路还用于:接收服务器发送的第一语言类型的第三语言内容,第一语言类型的第三语言内容是服务器将第二终端发送的第二语言类型的第四语言内容翻译为第一语言类型的第三语言内容后发送的;第一终端还包括显示屏,用于显示RF电路接收到的第一语言类型的第三语言内容。
在一种可能的设计中,处理器用于:将第一终端文本输入界面或麦克风中输入的语言内容的语言类型识别为第一终端的第一语言类型;或将第一终端的操作系统的语言类型识别为第一终端的第一语言类型;或将第一终端的文本输入界面中输入的文本的语言类型识别为第一终端的第一语言类型;或将第一终端的浏览器的网页内容的语言类型识别为第一终端的第一语言类型;或将第一终端的应用程序的语言类型识别为第一终端的第一语言类型;或将第一终端的麦克风中输入的语音的语言类型识别为第一终端的第一语言类型;或将第一终端的处理器可以翻译的语言类型识别为第一终端的第一语言类型。
再一方面,本申请实施例提供了一种计算机存储介质,用于储存为上述第一终端所用的计算机软件指令,其包含用于执行上述方面所设计的程序。
再一方面,本申请实施例提供了一种计算机存储介质,用于储存为上述服务器所用的计算机软件指令,其包含用于执行上述方面所设计的程序。
这样一来,第一终端可以接收第一终端用户输入的第一语言内容,并检测第一语言内容的语言类型为第一语言类型,获取第二终端的第二语言类型。第一终端可以将待发送的第一语言类型的第一语言内容翻译为第二语言类型 的第二语言内容,再将第二语言类型的第二语言内容发送给第二终端。或者,第一终端可以接收第一终端用户输入的第一语言内容,检测第一语言内容的语言类型为第一语言类型,并检测第一终端的第一翻译能力。第一终端可以获取第二终端的第二语言类型和第二终端的第二翻译能力。而后,第一终端可以将第一语言类型的第一语言内容翻译为第三语言类型的第二语言内容并发送给第二终端,使第二终端可以将第三语言类型的第二语言内容翻译为第二语言类型的第三语言内容。或者,第一终端可以接收第一终端用户输入的第一语言内容,检测第一语言内容的语言类型为第一语言类型。第一终端可以将第一语言类型以及与第一终端建立对话关系的第二终端的标识发送给服务器。第一终端可以将第一语言内容发送给服务器,使服务器将第一语言类型的第一语言内容翻译为第二语言类型的第二语言内容后发送给第二终端。相比现有技术,用户在语言类型不同的情况下进行交流前,需要人工设置语言类型。本申请实施例可以由终端检测语言类型,解决了额外进行人工设置语言类型的工作量大和容易引起设置冲突的问题。
附图说明
图1为现有技术的一种用户在聊天客户端手工设置输入语言的示意图;
图2为本申请实施例提供的一种通信系统的示意图;
图3为本申请实施例提供的一种实现语言翻译的系统架构示意图;
图4为本申请实施例提供的一种实现语言翻译的系统架构示意图;
图5为本申请实施例提供的一种实现语言翻译的系统架构示意图;
图6为本申请实施例提供的一种终端的内部结构示意图;
图7为本申请实施例提供的一种用户聊天界面示意图;
图8为本申请实施例提供的一种通信系统架构示意图;
图9为本申请实施例提供的一种服务器的内部结构示意图。
具体实施方式
本申请实施例可以应用于终端与终端之间进行近距离跨语言交流的场景,例如至少两个终端之间通过蓝牙、无线局域网(Wireless Local Area Network,WLAN)等建立近距离聊天关系后进行跨语言交流,也可以应用于互联网远程交进行跨语言交流的场景,例如至少两个终端之间通过即时通信系统进行远程跨语言交流,本申请实施例不做限定。
如图2所示,本申请实施例的通信系统可以包括第一终端20和第二终端30。所述第一终端20向所述第二终端30发起对话时,所述第一终端20可以是发起终端,所述第二终端30可以是接收终端。类似的,所述第二终端30向所述第一终端20发起对话时,所述第二终端30可以是发起终端,所述第一终端20可以是接收终端。发起终端和接收终端之间可以通过网络连接进行数据传输,网络既可以是广域网(例如,互联网、蜂窝网),也可以是局域网或者点对点的近距离通信方式(例如,蓝牙)。所述第一终端20和所述第二终端30可以是个人计算机(Personal Computer,PC)、平板电脑(pad)、智 能学习机、智能游戏机、智能电视、智能眼镜以及智能手表等设备或装置。本申请实施例中的第一终端和第二终端可以为多个,本申请实施例并不作限定。在本申请实施例中,第一终端可以具有翻译能力,第二终端不具有翻译能力,第一终端可以将本端的语言内容翻译后发送给第二终端,也可以对从第二终端接收到的语言内容进行翻译,以使得第一终端的用户与第二终端的用户自如交流;或者,第一终端和第二终端都具有翻译能力,可以是第一终端能够将本端的语言内容翻译为第二终端更容易进行翻译的语言内容,使得第二终端的用户理解第二终端翻译后的语言内容,反之亦然。
在本发明的一些实施例中,如图3所示,为一种实现语言翻译的系统架构示意图。该系统可以包括第一终端和第二终端。其中,所述第一终端可以包括语言类型检测模块301、内容输入/输出模块302以及翻译模块303。第二终端可以包括语言类型检测模块304以及内容输入/输出模块305。第一终端还可以包括通信模块306,第二终端还可以包括通信模块307,图3中均未示出。在该系统中,所述第一终端支持语言翻译,可以实现两个终端之间的对话。第一终端可以作为发起终端,第二终端可以作为接收终端。第一终端的用户可以首先通过内容输入/输出模块302输入第一语言内容。第一终端的语言类型检测模块301可以用于检测第一语言内容的语言类型为第一语言类型。通信模块306可以用于向第二终端发送请求以获取第二终端的第二语言类型。所述第一语言类型和所述第二语言类型可以相同也可以不同。所述第一语言类型和所述第二语言类型不同的情况下,所述第一终端中的翻译模块303用于将第一语言类型的第一语言内容翻译为第二语言类型的第二语言内容。第一终端的通信模块306用于将翻译后的第二语言类型的第二语言内容发送给第二终端。所述第二终端接收到第二语言类型的第二语言内容后,通过内容输入/输出模块305将第二语言类型的第二语言内容显示给用户。所述第二终端的用户可以对第一终端的用户进行回复,即第二终端的用户可以通过内容输入/输出模块305输入第三语言内容。第二终端可以通过通信模块307将用户输入的第三语言内容发送给所述第一终端。所述第一终端的翻译模块303还用于将第二终端发送的第三语言内容翻译为第一语言类型的第四语言内容,内容输入输出模块302可以用于在所述第一终端中显示第一语言类型的第四语言内容。
在一种可能的设计中,结合图3所示,第一终端的内容输入/输出模块302用于接收到第一终端的用户输入的第一语言内容。第一终端的语言类型检测模块301用于检测第一语言类型。通信模块306可以用于向第二终端发送能力协商请求,所述能力协商请求用于获取第二终端的第二语言类型。第二终端的语言类型检测模块304用于检测第二终端的第二语言类型。通信模块307用于向第一终端发送响应消息,响应消息包括第二语言类型。第一终端的翻译模块303用于将第一语言类型的第一语言内容翻译为第二语言类型的第二语言内容。通信模块306用于将翻译之后的第二语言类型的第二语言内容发送给第二终端。第二终端的内容输入/输出模块305用于显示第二语言类型的 第二语言内容。所述第二终端的用户可以对第一终端的用户进行回复,即第二终端的内容输入/输出模块305可以用于接收用户输入的第三语言内容。所述第二终端的通信模块307用于将第三语言内容发送给第一终端。第一终端中的翻译模块303用于将第三语言内容翻译为第一终端的用户能够识别的第一语言类型的第四语言内容。所述第一终端的内容输入/输出模块302用于显示所述第一语言类型的第四语言内容。
结合图3,在一种可能的设计中,第二终端的内容输入/输出模块305可以用于接收第二终端的用户输入的第一语言内容。第二终端中的语言类型检测模块304用于检测第一语言内容的语言类型为第二语言类型。通信模块307用于将第二语言类型和第二语言类型的第一语言内容发送给第一终端。第一终端的语言类型检测模块301用于检测第一终端的第一语言类型。第一终端中的翻译模块303用于将第二语言类型的第一语言内容翻译为第一语言类型的第二语言内容。第一终端的内容输入/输出模块用于显示第一语言类型的第二语言内容,以便第一终端的用户能够识别第二终端的用户输入的语言内容。第一终端的用户可以对第二终端的用户进行回复,即第一终端的内容输入/输出模块302用于接收第一终端的用户输入的第三语言内容。第一终端的语言类型检测模块301用于检测第三语言内容的语言类型为第一语言类型。第一终端的翻译模块303用于将第一语言类型的第三语言内容翻译为第二语言类型的第四语言内容。第一终端的通信模块306用于将翻译之后的第二语言类型的第四语言内容发送给第二终端。第二终端的内容输入/输出模块可以用于显示第二语言类型的第四语言内容,以便第二终端的用户能够识别第一终端的用户输入的语言内容。
在一种可能的设计中,第一终端的内容输入/输出模块302用于接收第一终端的用户输入的第一语言内容,第一终端的语言类型检测模块301用于检测第一语言内容的语言类型为第一语言类型。此后,如果第一终端的内容输入/输出模块302用于接收到第一终端的用户输入的第二语言内容,第一终端的语言类型检测模块301用于检测第二语言内容的语言类型为第三语言类型,第一终端的语言类型检测模块301将第一终端支持的语言类型从第一语言类型更新为第三语言类型。
在本发明的一些实施例中,如图4所示,为一种实现语言翻译的系统架构示意图。该系统可以包括第一终端和第二终端。其中,第一终端可以包括语言类型检测模块401、内容输入/输出模块402以及翻译模块403。第二终端可以包括语言类型检测模块404、内容输入/输出模块405以及翻译模块406。第一终端还可以包括通信模块407,第二终端还可以包括通信模块408,图4中均未示出。在该系统中,所述第一终端和所述第二终端都支持语言翻译,可以实现两个终端之间的对话。第一终端的用户可以首先输入第一语言内容。第一终端的语言类型检测模块401可以用于检测第一语言内容的语言类型为第一语言类型。第一终端的通信模块407可以用于向第二终端发送请求以获取第二终端的第二语言类型和第二终端的翻译能力,第二终端的翻译 能力用于指示第二终端的翻译模块406能够用于对第三语言类型的语言内容和第二语言类型的语言内容互译。如果第一语言类型和第二语言类型不同,那么第一终端的翻译模块403可以用于将第一语言类型的第一语言内容翻译为第三语言类型的第二语言内容。第一终端的通信模块407可以用于将第三语言类型的第二语言内容发送给第二终端。第二终端的翻译模块406可以用于将第三语言类型的第二语言内容翻译为第二语言类型的第三语言内容。第二终端的内容输入/输出模块405可以用于显示第二语言类型的第三语言内容,以便第二终端的用户可以理解第一终端的用户输入的语言内容。
在一种可能的设计中,根据图4所示,第一终端的内容输入/输出模块402可以用于接收第一终端的用户输入的第一语言内容。第一终端的语言类型检测模块401用于检测第一终端的第一语言类型和第一终端的翻译能力,第一终端的翻译能力用于指示第一终端的翻译模块403可以对第三语言类型的语言内容和第一语言类型的语言内容互译。第一终端的通信模块407用于向第二终端发送能力协商请求,能力协商请求可以携带第一语言类型和第一终端的翻译能力。能力协商请求用于指示第二终端反馈第二终端的第二语言类型和第二终端的翻译能力,第二终端的翻译能力用于指示第二终端的翻译模块403可以对第三语言类型的语言内容和第二语言类型的语言内容互译。第二终端的语言类型检测模块404用于检测第二终端的第二语言类型和第二终端的翻译能力。第二终端的通信模块408用于向第一终端发送响应消息,响应消息包括第二语言类型和第二终端的翻译能力。第一终端的翻译模块403用于将第一语言类型的第一语言内容翻译为第三语言类型的第二语言内容。第一终端的通信模块407用于将翻译后的第三语言类型的第二语言内容发送给第二终端。第二终端的翻译模块406用于将第三语言类型的第二语言内容翻译为第二语言类型的第三语言内容。第二终端的内容输入/输出模块405用于显示第二语言类型的第三语言内容,以便第二终端的用户可以理解第一终端的用户输入的语言内容。第二终端的用户可以对第一终端的用户进行回复,此时第二终端的内容输入/输出模块405可以用于接收第二终端的用户输入的第四语言内容。第二终端的语言类型检测模块404用于检测第四语言内容为第二语言类型。第二终端的翻译模块406可以用于将第二语言类型的第四语言内容翻译为第三语言类型的第五语言内容。第二终端的通信模块408可以将第三语言类型的第五语言内容发送给第一终端。第一终端的翻译模块403可以用于将第三语言类型的第五语言内容翻译为第一语言类型的第六语言内容。第一终端的内容输入/输出模块402用于显示第一语言类型的第六语言内容,以便第一终端的用户可以理解第二终端的用户输入的语言内容。
在一种可能的设计中,第一终端的翻译模块403也可以用于将第一语言类型的第一语言内容翻译为第二语言类型的第二语言内容。这样一来,第二终端的翻译模块406可以不用翻译就可以使得第二终端的用户理解第一终端的用户输入的第一语言内容。第二终端的翻译模块406也可以用于将第二语言类型的第三语言内容翻译为第一语言类型的第四语言内容。这样一来,第 一终端的翻译模块403也可以不用翻译就可以使得第一终端的用户理解第二终端的用户输入的第三语言内容。
以上两个实施例均是参与对话的终端中的一个或两个进行语言内容的翻译,本申请实施例的通信系统还可以为:通信系统包括第一终端、第二终端以及服务器。如图5所示,为一种实现语言翻译的系统架构示意图。其中,第一终端可以包括语言类型检测模块501和内容输入/输出模块502。服务器可以包括翻译模块503和语言类型记录模块504。第二终端可以包括语言类型检测模块505和内容输入/输出模块506。第一终端还可以包括通信模块507,服务器还可以包括通信模块508,第二终端还可以包括通信模块509,图5中均未示出。在该系统中,服务器支持语言翻译,可以实现两个终端之间的对话。第一终端的用户可以首先输入第一语言内容,此时第一终端的语言类型检测模块501可以用于检测第一语言内容的语言类型为第一语言类型。通信模块507可以用于将第一语言类型发送给服务器。第二终端的语言类型检测模块505可以用于检测第二终端的第二语言类型。通信模块509可以用于将第二语言类型发送给服务器。服务器的语言类型记录模块504可以用于记录第一语言类型和/或第二语言类型。第一终端的内容输入/输出502模块用于接收用户输入的第一语言内容。通信模块507用于将第一语言类型的第一语言内容发送给服务器。服务器的翻译模块503用于将第一语言类型的第一语言内容翻译为第二语言类型的第二语言内容。通信模块508用于将翻译后的第二语言类型的第二语言内容发送给第二终端。第二终端的内容输入/输出模块506用于显示第二语言类型的第二语言内容,以便第二终端的用户可以理解第一终端的用户输入的第一语言内容。
在一种可能的设计中,根据图5所示,第一终端的内容输入/输出模块502可以用于接收用户输入的第一语言内容。第一终端的语言类型检测模块501用于检测第一语言类型。第一终端的通信模块507用于向服务器发送第一语言类型以及与第一终端建立对话关系的第二终端的标识。服务器的通信模块508用于向第二终端发送请求消息以获取第二终端的第二语言类型。第二终端的语言类型检测模块505用于检测第二终端的第二语言类型。第二终端的通信模块509用于向服务器发送第二语言类型。第一终端的通信模块507还用于将第一语言类型的第一语言内容发送给服务器。服务器的翻译模块503用于将第一语言类型的第一语言内容翻译为第二语言类型的第二语言内容。通信模块508用于将翻译后的第二语言类型的第二语言内容发送给第二终端。第二终端的内容输入/输出模块505用于显示翻译后的第二语言类型的第二语言内容。第二终端的用户可以对第一终端的用户进行回复,此时第二终端的内容输入/输出模块可以用于接收用户输入的第三语言内容。第二终端的通信模块509可以用于将第三语言内容发送给服务器。服务器的翻译模块503用于将第二语言类型的第三语言内容翻译为第一语言类型的第四语言内容。通信模块508用于将翻译后的第一语言类型的第四语言内容发送给第一终端。第一终端的内容输入/输出模块502用于显示翻译后的第一语言类型的第四语 言内容。
在一种可能的设计中,第一终端的内容输入/输出模块502用于接收第一终端的用户输入的第一语言内容,第一终端的语言类型检测模块501用于检测第一语言内容的语言类型为第一语言类型。此后,如果第一终端的内容输入/输出模块502用于接收到第一终端的用户输入的第二语言内容,第一终端的语言类型检测模块501用于检测第二语言内容的语言类型为第三语言类型,第一终端的通信模块507可以用于将第三语言类型发送给服务器。服务器的语言类型记录模块504可以用于将所记录的第一终端的第一语言类型更新为第三语言类型。第二终端若发生语言类型的更新,可以参考第一终端的实现方式。
以上实施例均是从虚拟装置的角度对本申请的三种可能的实施例进行了阐述,与上述虚拟装置的实施例相对应的,本申请实施例再从实体装置的角度分别对上述三种实施例进行阐述。下面先对终端的实体装置的结构进行说明。
以图6为例,对本申请实施例的终端结构进行说明。图6示出终端600的部分结构示意图。参考图6,终端600可以包括RF电路610、存储器620、其他输入设备630、显示屏640、传感器650、音频电路660、输入/输出端口(input/output,I/O)子系统670、处理器680、以及处理器690等部件。本领域技术人员可以理解,图6中示出的终端结构并不构成对终端的限定,可以包括比图示更多或更少的部件,或者组合某些部件,或者拆分某些部件,或者不同的部件布置。本领领域技术人员可以理解显示屏640属于用户界面(UI,User Interface),且终端600可以包括比图示或者更少的用户界面。
下面结合图6对终端600的各个构成部件进行具体的介绍:
RF电路610可用于收发信息或通话过程中,信号的接收和发送,特别地,将基站的下行信息接收后,给处理器680处理;另外,将设计上行的数据发送给基站。通常,RF电路包括但不限于天线、至少一个放大器、收发信机、耦合器、LNA(Low Noise Amplifier,低噪声放大器)、双工器等。此外,RF电路110还可以通过无线通信与网络和其他设备通信。所述无线通信可以使用任一通信标准或协议,包括但不限于GSM(Global System of Mobile communication,全球移动通讯系统)、GPRS(General Packet Radio Service,通用分组无线服务)、CDMA(Code Division Multiple Access,码分多址)、WCDMA(Wideband Code Division Multiple Access,宽带码分多址)、LTE(Long Term Evolution,长期演进)、电子邮件、SMS(Short Messaging Service,短消息服务)等。在本申请实施例中,RF电路610还可以用于建立发起终端和接收终端之间的通讯链路,以及在词基础上的数据传输通道(例如:超文本传输协议(HyperText Transfer Protocol,HTTP)/传输控制协议(Transmission Control Protocol,TCP)/用户数据报协议(User Datagram Protocol,UDP)等)。可以支持近距离通讯的蓝牙和WLAN等作为通讯链路;也可以支持使发起终端或接收终端能够访问互联网的通讯链路,例如无线蜂窝网络和有线 宽带等。在本申请实施例中,RF电路610可以用于接收对端发送的语言类型,并接收该语言类型对应的语言内容,以及将该语言类型对应的语言内容翻译后的语言内容发送给对端,或可以用于向对端发送所述RF电路610所属的终端的语言类型对应的语言内容给对端。
存储器620可用于存储软件程序以及模块,处理器680通过运行存储在存储器620的软件程序以及模块,从而执行终端600的各种功能应用以及数据处理。存储器620可主要包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需的应用程序(比如声音播放功能、图象播放功能等)等;存储数据区可存储根据终端600的使用所创建的数据(比如音频数据、电话本等)等。此外,存储器620可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件、闪存器件、或其他易失性固态存储器件。在本申请实施例中,存储器620可以用于存储所述存储器620所属的终端以及对端的语言类型,还可以用于存储用于翻译语言内容的软件程序等,以供处理器680翻译语言内容时调用。
其他输入设备630可用于接收输入的数字或字符信息,以及产生与终端600的用户设置以及功能控制有关的键信号输入。具体地,其他输入设备630可包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)、轨迹球、鼠标、操作杆、光鼠(光鼠是不显示可视输出的触摸敏感表面,或者是由触摸屏形成的触摸敏感表面的延伸)等中的一种或多种。其他输入设备630与I/O子系统670的其他输入设备控制器671相连接,在其他设备输入控制器671的控制下与处理器680进行信号交互。在本申请实施例中,例如用户可以利用其他输入设备630输入想要表达的语言内容,例如用户利用物理键盘输入语言内容,以将语言内容显示在显示屏中。
显示屏640可用于显示由用户输入的信息或提供给用户的信息以及终端600的各种菜单,还可以接受用户输入。具体的显示屏640可包括显示面板641,以及触控面板642。其中显示面板641可以采用LCD(Liquid Crystal Display,液晶显示器)、OLED(Organic Light-Emitting Diode,有机发光二极管)等形式来配置显示面板641。触控面板642,也称为触摸屏、触敏屏等,可收集用户在其上或附近的接触或者非接触操作(比如用户使用手指、触笔等任何适合的物体或附件在触控面板642上或在触控面板642附近的操作,也可以包括体感操作;该操作包括单点控制操作、多点控制操作等操作类型。),并根据预先设定的程式驱动相应的连接装置。可选的,触控面板642可包括触摸检测装置和触摸控制器两个部分。其中,触摸检测装置检测用户的触摸方位、姿势,并检测触摸操作带来的信号,将信号传送给触摸控制器;触摸控制器从触摸检测装置上接收触摸信息,并将它转换成处理器能够处理的信息,再送给处理器680,并能接收处理器680发来的命令并加以执行。此外,可以采用电阻式、电容式、红外线以及表面声波等多种类型实现触控面板642,也可以采用未来发展的任何技术实现触控面板642。进一步的,触控面板642可覆盖显示面板641,用户可以根据显示面板641显示的内容(该显 示内容包括但不限于,软键盘、虚拟鼠标、虚拟按键、图标等等),在显示面板641上覆盖的触控面板642上或者附近进行操作,触控面板642检测到在其上或附近的操作后,通过I/O子系统670传送给处理器680以确定用户输入,随后处理器680根据用户输入通过I/O子系统670在显示面板641上提供相应的视觉输出。虽然在图6中,触控面板642与显示面板641是作为两个独立的部件来实现终端600的输入和输入功能,但是在某些实施例中,可以将触控面板642与显示面板641集成而实现终端600的输入和输出功能。在本申请实施例中,显示屏640可以显示聊天窗口、显示屏640所属的终端输入的语言内容,也可以用于显示从对端接收到的翻译后的语言内容等。
终端600还可包括至少一种传感器650,比如光传感器、运动传感器以及其他传感器。具体地,光传感器可包括环境光传感器及接近传感器,其中,环境光传感器可根据环境光线的明暗来调节显示面板641的亮度,接近传感器可在终端600移动到耳边时,关闭显示面板641和/或背光。作为运动传感器的一种,加速计传感器可检测各个方向上(一般为三轴)加速度的大小,静止时可检测出重力的大小及方向,可用于识别终端姿态的应用(比如横竖屏切换、相关游戏、磁力计姿态校准)、振动识别相关功能(比如计步器、敲击)等;至于终端600还可配置的陀螺仪、气压计、湿度计、温度计、红外线传感器等其他传感器,在此不再赘述。
音频电路660、扬声器661,麦克风662可提供用户与终端600之间的音频接口。音频电路660可将接收到的音频数据转换后的信号,传输到扬声器661,由扬声器661转换为声音信号输出;另一方面,麦克风662将收集的声音信号转换为信号,由音频电路660接收后转换为音频数据,再将音频数据输出至RF电路908以发送给比如另一终端,或者将音频数据输出至存储器620以便进一步处理。在本申请实施例中,例如,麦克风662可以将收集的声音信号转换为信号,由音频电路660接收后转换为音频数据,再将音频数据输出值RF电路108发送给处理器680进行翻译后输出至RF电路610,以通过RF电路610发送给对端;相反的,也可以将RF电路610接收到的对端发送的音频数据发送至处理器680进行翻译后传输到音频电路660,音频电路660再将翻译后的音频数据转换为声音信号通过扬声器661播放出来。
I/O子系统670用来控制输入输出的外部设备,可以包括其他设备输入控制器671、传感器控制器672、显示控制器673。可选的,一个或多个其他输入控制设备控制器671从其他输入设备630接收信号和/或者向其他输入设备630发送信号,其他输入设备630可以包括物理按钮(按压按钮、摇臂按钮等)、拨号盘、滑动开关、操纵杆、点击滚轮、光鼠(光鼠是不显示可视输出的触摸敏感表面,或者是由触摸屏形成的触摸敏感表面的延伸)。值得说明的是,其他输入控制设备控制器671可以与任一个或者多个上述设备连接。所述I/O子系统670中的显示控制器673从显示屏640接收信号和/或者向显示屏640发送信号。显示屏640检测到用户输入后,显示控制器673将检测到的用户输入转换为与显示在显示屏640上的用户界面对象的交互,即实现人机交互。 传感器控制器672可以从一个或者多个传感器650接收信号和/或者向一个或者多个传感器650发送信号。在本申请实施例中,例如I/O子系统670中的其他输入设备控制器671接收到其他输入设备630输入的语言内容,I/O子系统670可以将语言内容发送至处理器680进行翻译后发送给RF电路610,以通过RF电路610将翻译后的语言内容传输给对端,同时,I/O子系统670中的其他输入设备控制器671将接收到其他输入设备630输入的语言内容发送给显示控制器673,显示控制器673处理后发送给显示屏640,以将其他输入设备630输入的语言内容显示在显示屏640中。
处理器680是终端600的控制中心,利用各种接口和线路连接整个终端的各个部分,通过运行或执行存储在存储器620内的软件程序和/或模块,以及调用存储在存储器620内的数据,执行终端600的各种功能和处理数据,从而对终端进行整体监控。可选的,处理器680可包括一个或多个处理单元;可选的,处理器680可集成应用处理器和调制解调处理器,其中,应用处理器主要处理操作系统、用户界面和应用程序等,调制解调处理器主要处理无线通信。可以理解的是,上述调制解调处理器也可以不集成到处理器680中。在本申请实施例中,处理器680可以调用存储器620中存储的跨语言通信的应用程序对本终端的语言或接收到的对端发送的语言进行翻译。
终端600还包括给各个部件供电的处理器690(比如电池),优选的,电源可以通过电源管理系统与处理器680逻辑相连,从而通过电源管理系统实现管理充电、放电、以及功耗等功能。
尽管未示出,终端600还可以包括摄像头、蓝牙模块等,在此不再赘述。
下面结合图6对本申请实施例进行说明。以第一终端中的处理器680具有翻译能力、第二终端中的处理器680不具有翻译能力为例。简要来说,第一终端可以接收用户在第一终端输入的第一语言内容并检测第一语言类型,获取第二终端的第二语言类型。在第一语言类型和第二语言类型不同的情况下,第一终端可以将第一语言内容翻译为第二语言类型的第二语言内容后发送给第二终端。或第一终端可以接收第二终端发送的第三语言内容,并将第二语言内容翻译为第一语言类型的第四语言内容。
进一步的,第一终端接收到用于打开进行对话的客户端的指令时,处理器680调用存储器620中客户端的应用程序,并通过I/O子系统中的显示控制器673控制显示屏640显示该客户端。第一终端可以通过第一终端的RF电路610向第二终端发送请求建立对话关系的请求消息,第二终端的RF电路610接收到该请求消息且第二终端的处理器680同意建立对话关系时,第一终端与第二终端建立对话关系完成。例如第一终端的用户在对话软件的好友列表中选取第二终端的用户为对话对象,第一终端通过RF电路610与第二终端成功建立对话关系后,第一终端中的处理器680接收到第一终端的RF电路610的指示信息时,处理器680通过第一终端中的I/O子系统670中的显示控制器673控制第一终端中的显示屏640显示第一终端与第二终端的对话窗口。类似的,第二终端中也会显示与第一终端的用户的对话窗口。
在建立对话窗口后,第一终端中的其他输入设备630可以检测用户输入的第一语言内容,例如第一终端中的物理键盘检测语言内容输入并通过处理器680以及I/O子系统中的显示控制器673控制第一终端的显示屏640开始显示在对话框中,第一终端中的处理器680检测第一语言类型,或者第一终端中的音频电路660检测到麦克风662输入声音信号时,该音频电路660将声音信号处理后的语音内容传输给处理器680,处理器680检测第一语言类型。或者第一终端的显示屏640中的触控面板642检测到用户手指触摸显示屏640输入语言内容时,该显示屏640通过I/O子系统670的显示控制器673将语言内容传输给处理器680,处理器680检测第一语言类型。需要说明的是,本申请实施例不限定第一终端检测语言类型的时间,也可以是第一终端开机后未建立对话关系之前进行语言类型的检测,例如第一终端可以将第一终端的操作系统的语言类型识别为第一终端的第一语言类型;或第一终端将第一终端的浏览器的网页内容的语言类型识别为第一语言类型;或第一终端将第一终端的应用程序的语言类型识别为第一语言类型;或第一终端将第一终端的处理器680可以翻译的语言类型识别为第一语言类型,本申请不做限定。
而后,第一终端可以通过第一终端的RF电路610向第二终端发送能力协商请求消息,能力协商请求消息可以包括第一终端的第一语言类型,用于指示第二终端反馈第二终端的第二语言类型。
第二终端的RF电路610接收到能力协商请求消息后,第二终端中RF电路610将该能力协商请求消息传输至第二终端的处理器680,第二终端的处理器680检测第二终端的第二语言类型,第二终端可以通过处理器680将第二终端的其他输入设备630中输入的语言类型识别为第二语言类型;或第二终端的处理器680可以将第二终端的操作系统的语言类型识别为第二终端的第二语言类型;或第二终端的处理器680可以将第二终端的浏览器的网页内容的语言类型识别为第二终端的第二语言类型;或第二终端的处理器680可以将第二终端的应用程序的语言类型识别为第二终端的第二语言类型;或第二终端的处理器680可以通过第二终端的音频电路660将第二终端的麦克风662中输入的语音的语言类型识别为第二终端的第二语言类型;或第二终端将第二终端的处理器680可以翻译的语言类型识别为第二终端的第二语言类型。
另外,第二终端中的处理器680也可以用于根据第二终端的操作系统的语言类型、浏览器的网页内容的语言类型、应用程序的语言类型、麦克风中输入的语音的语言类型和翻译模块可以翻译的语言类型中的权重来确定第二终端的第二语言类型。例如,可以确定权重最高的语言类型为终端的语言类型。譬如麦克风或者对话框中输入有语言内容,这两种语言内容的语言类型为最高权重,那么第二终端的语言类型就为麦克风或对话框中的语言内容的语言类型。
也可以实现的是,第二终端在当前对话框中输入语言内容的语言类型可以与第二终端建立对话框之前所检测到的语言类型不同,此时可以将第二终端的对话框中输入的语言内容的语言类型识别为第二语言类型。
第二终端确定出第二终端的第二语言类型时,第二终端中的处理器680可以通过第二终端中的RF电路610向第一终端发送响应消息,响应消息包括第二终端的第二语言类型。
可选的,响应消息中可以只携带第二语言类型,此时第一终端可默认为第二终端的处理器不具有翻译能力且第二终端当前的语言类型为第二语言类型;可选的,第二终端可以根据第二终端中的处理器680自身是否具有翻译能力生成用于指示是否具有翻译能力的指示信息,此时在第二终端的处理器680不具有翻译能力的情况下,响应消息可以携带第二终端的第二语言类型以及不具有翻译能力的指示信息。
第一终端的RF电路610接收到响应消息时,第一终端通过处理器680可以确定出第一语言类型和第二语言类型不同,并将用户输入的第一语言内容翻译为第二语言类型的第二语言内容后发送给第二终端,以便第二终端的用户可以理解第一终端的用户输入的第一语言内容。
从用户感知的角度来讲,如图7所示,假设用户在第一终端显示屏640的对话框输入的第一语言内容“How are you?”的“How”时第一终端的处理器680可以检测到第一语言类型为英文,并在获取到第二终端的第二语言类型为中文时,第一终端的处理器680将第一终端输入完成时的“How are you?”翻译为中文的第二语言内容“你好吗”,并通过RF电路610发送给第二终端。第二终端可以将从第一终端接收到的中文的第二语言内容显示在第二终端的显示屏640中,即第二终端的显示屏640的对话框显示“你好吗?”。而后第二终端的用户可以在第二终端的显示屏640的对话框输入第三语言内容“还不错”,第二终端的处理器680通过RF电路610将该第三语言内容“还不错”发送给第一终端。在第一终端的RF电路610接收到第二终端的RF电路610发送的“还不错”时,第一终端的处理器680可以将第一终端的RF电路610接收到的第三语言内容翻译为第一语言类型的第四语言内容,即将“还不错”翻译为“I am fine”,并将翻译后的第四语言内容“I am fine”通过第一终端的显示屏640显示出来。
当然,第一语言类型和第二语言类型也可以相同,此时第一终端确定用户在第一终端的显示屏640的对话框中输入第一语言内容后,第一终端的处理器680可以通过RF电路610将所述第一语言内容直接发送给第二终端。对于第二终端来说,第二终端通过RF电路610发送用户输入的第二语言内容时,可以将第二语言内容不经过翻译直接发送给第一终端。第一终端通过RF电路610接收到第二终端发送的第二语言内容时,第一终端的处理器680可以将第一终端的RF电路610接收到的第二语言内容翻译为第一语言类型的第三语言内容,以便第一终端的用户可以理解第二终端的发送的语言内容。
当然,第一语言类型和第二语言类型也可以相同,第一终端的处理器680无需翻译第二终端的RF电路610发送的语言内容。
第二终端的第二语言类型发生改变时,第一终端的RF电路610接收第二终端的RF电路610发送的更新消息,更新消息包括第二终端更新后的语言类 型,更新后的语言类型与第二语言类型不同。
例如,第二终端的显示屏640的对话框中输入的语言类型相对于上一次反馈的语言类型发生变化时,第二终端的处理器680可以通过RF电路610向第一终端的RF电路610发送更新消息,更新消息中包括第二终端更新后的语言类型。
第一终端的RF电路610接收到第二终端的RF电路610发送的更新后的语言类型后,第一终端的处理器680可以将用户输入的第一语言内容翻译为更新后的语言类型的第二语言内容后通过RF电路610发送给第二终端,以便第二终端的用户可以及时理解第一终端的用户输入的语言内容。第一终端的RF电路610接收第二终端发送的第三语言内容时,第一终端的处理器680可以将第二终端发送的更新后的语言类型的第三语言内容翻译为第一语言类型的第四语言内容,以便第一终端的用户可以及时识别第二终端的用户输入的语言内容。
可以理解的是,类似的,第一终端的处理器680可以不具有翻译能力,而是第二终端的处理器680具有翻译能力。第一终端的用户输入第一语言内容时,第一终端的处理器680可以检测第一语言内容的语言类型为第一语言类型,而后通过第一终端的RF电路610发送携带第一语言类型的能力协商请求消息给第二终端,第二终端的RF电路610接收到能力协商请求消息后,第二终端的处理器680检测第二语言类型。第二终端接收到第一终端的RF电路610发送的第一语言类型的第一语言内容时,第二终端的处理器680将该第一语言类型的第一语言内容翻译为第二语言类型的第二语言内容,以便第二终端的用户可以理解第一终端用户输入的第一语言内容。第二终端的用户可以回复第一终端的用户,第二终端的用户在第二终端的显示屏640的对话框中输入待发送的第三语言内容时,第二终端的处理器可以通过显示控制器673提取显示屏640的对话框中输入的第二语言类型的第三语言内容,并将该第二语言类型的第三语言内容翻译为第一语言类型的第四语言内容后发送给第一终端。
这样一来,在第一终端的处理器680有翻译能力时,第一终端的其他输入设备或音频电路检测到第一语言内容输入时,第一终端的处理器可以检测显示屏的对话框中输入语言内容或麦克风中收录语言内容的第一语言类型,并通过RF电路接收第二终端发送的第二语言类型,以便第一终端的处理器可以将第一语言类型的第一语言内容翻译为第二语言类型的第二语言内容后通过RF电路发送给第二终端。第一终端的RF电路610接收到第二终端发送的第三语言内容时,第一终端的处理器680可以将接收到的第二语言类型的第三语言内容翻译为第一语言类型的第四语言内容,从而实现第一终端的用户和第二终端的用户在语言类型不同的情况下正常交流。相较现有技术,需要人工付出多余的劳动设置语言类型,且可能将对方的语言类型设置错误,从而产生冲突,本申请实施例可以实现终端自动检测语言类型,解决了额外进行人工设置语言类型的工作量大和容易引起设置冲突的问题。
下面结合图6对本申请的实施例进行说明。以第一终端中的处理器680和第二终端中的处理器680都有翻译能力为例,简要来说,第一终端的用户输入第一语言内容,第一终端可以检测第一语言类型并获取第二终端的第二语言类型。在第一语言类型和第二语言类型不同的情况下,第一终端中的处理器680可以将第一语言类型的第一语言内容翻译为第三语言类型的第二语言内容后发送给第二终端,第二终端可以将第三语言类型的第二语言内容翻译为第二语言类型的第三语言内容。第二终端的用户可以回复第一终端的用户,第二终端可以将第二语言类型的第四语言内容翻译为第三语言类型的第五语言内容后发送给第一终端,第一终端可以将第三语言类型的第五语言内容翻译为第一语言类型的第六语言内容。也就是说,第一终端和第二终端可以通过一种中间语言即第三语言类型来实现用户间的交流。
进一步的,第一终端的处理器680通过I/O子系统670的显示控制器673检测显示屏640的对话框中输入的第一语言内容的第一语言类型,或第一终端的处理器680通过音频电路660检测到麦克风662中收录的语言内容的第一语言类型,而后通过第一终端的RF电路610向第二终端发送能力协商请求消息。能力协商请求消息包括第一终端的第一语言类型和第一翻译能力,第一翻译能力用于指示第一终端能够对第三语言类型的语言内容和第一语言类型的语言内容互译。
举例来说,假设第一终端的处理器680确定第一终端的第一语言类型为韩文,且第一终端的处理器680能够将日文翻译为韩文,第一终端的第三语言类型可以为日文。当然,第三语言类型也可以包括多种语言类型。
其中,能力协商请求消息还可以用于指示第二终端反馈第二终端的第二语言类型和第二终端的第二翻译能力。这里第一终端检测第一语言类型和第三语言类型的时机和方式可以参照上一实施例,这里不再赘述。
第二终端的RF电路610接收到能力请求消息后,第二终端的处理器680可以检测第二终端的第二语言类型。而后,第二终端的处理器通过RF电路610向第一终端发送响应消息,响应消息包括第二终端的第二语言类型和第二翻译能力,第二翻译能力用于指示第二终端的处理器680能够对第三语言类型的语言内容和第二语言类型的语言内容互译。
举例来说,假设第二终端的处理器680确定第二语言类型为中文,且第二终端的处理器680能够将英文翻译为中文,第三语言类型可以为英文。当然,第三语言类型也可以包括多种语言类型。第二终端检测第二语言类型和第三语言类型的时机和方式可以参照上述实施例,这里不再赘述。
第一终端的RF电路610接收到第二终端发送的响应消息后,在第一终端的处理器680确定RF电路610接收到的响应消息中包括的第二语言类型和第一终端的处理器680检测出的第一语言类型不同的情况下,第一终端的处理器680可以将用户输入的第一语言内容翻译为第二语言类型或第三语言类型的第二语言内容后,通过RF电路610向第二终端发送第二语言内容。
第一终端的处理器680可以将第一语言类型的第一语言内容翻译为第三 语言类型的第二语言内容,这是由于:第一终端的处理器680相比将第一语言类型的语言内容翻译为第二语言类型的语言内容,更容易将第一语言类型的语言内容翻译为第三语言类型的语言内容,因此第一终端的处理器680可以将第一语言类型的语言内容翻译为第三语言类型的语言内容后通过RF电路610发送给第二终端,第二终端的处理器680再将第三语言类型的语言内容翻译为第二语言类型的语言内容并通过I/O子系统670的显示控制器控制显示屏640将翻译后的语言内容显示出来,以便第一终端的用户和第二终端的用户通过第三语言类型作为中间语言类型进行交流。
示例性的,假设第一终端的处理器680检测到第一语言类型为中文,并通过第一终端的RF电路610接收到第二终端发送的第二语言类型为德文,而且第二终端的处理器680能够翻译的第三语言类型为英文,第一终端的处理器680比起将中文翻译成德文,更容易将中文翻译为英文,第一终端的处理器680可以将用户输入的中文翻译为英文后通过RF电路610发送给第二终端,以便第二终端的处理器680将从RF电路610接收到的英语的语言内容翻译为德文的语言内容,从而实现第一终端的用户与第二终端的用户的正常交流。
当然,第一终端的处理器680能够将第一语言类型的第一语言内容翻译为第二语言类型的第二语言内容的情况下,第一终端的处理器680也可以将第一终端的第一语言内容翻译为第二语言类型的第二语言内容后发送给第二终端。此时,第二终端的处理器680无需再翻译直接可以将从RF电路610接收到的第二语言类型的第二语言内容通过I/O子系统670的显示控制器控制显示屏640显示出来,以便第一终端的用户和第二终端的用户能够正常进行交流。
对于第二终端来说,在第二终端通过RF电路610向第一终端发送第二语言类型的第一语言内容前,第二终端的处理器680可以将第二语言类型的第一语言内容翻译为第一语言类型或第三语言类型的第二语言内容后发送给第一终端。
其中,第二终端的处理器680可以将用户输入的第一语言内容翻译为第三语言类型的第二语言内容可以是由于:第三语言类型是第一终端能够翻译的中间语言类型,即第一终端的处理器680可以对该中间语言类型和第一语言类型互译。举例来说,假设第一终端的处理器680通过I/O子系统670的显示控制器673确定用户在显示屏640的对话框输入的语言内容的第一语言类型为英文,第一翻译能力指示第一终端的处理器680可以对中文和英文互译,即第三语言类型可以为中文。如果第二终端的第二语言类型为韩文,第二终端的处理器680可以将语言内容从韩文翻译为中文后通过RF电路610发送给第一终端。第一终端的处理器680可以将第二终端的RF电路610发送的中文翻译为英文,以便第一终端的用户可以识别第二终端的显示屏640的对话框中输入的语言内容。
如果第二终端的处理器680有能力将第二语言类型的语言内容翻译为第 一语言类型的语言内容,第二终端的处理器680也可以将第二语言类型的第一语言内容翻译为第一语言类型的第二语言内容后通过RF电路610发送给第一终端,以便第一终端的用户和第二终端的用户可以正常交流。
在第二终端的处理器680通过I/O子系统670的显示控制器检测出的显示屏640的对话框中输入语言内容的第二语言类型发生变化的情况下,第二终端的处理器680可以通过RF电路610向第一终端发送更新消息,更新消息包括第二终端更新后的语言类型,更新后的语言类型与第二语言类型不同。
举例来说,用户第一次在第二终端内的显示屏640的对话框中输入的语言内容的语言类型为英语的语言内容,而后用户又重新输入法语的语言内容,第二终端的处理器680可以通过I/O子系统670的显示控制器检测出的显示屏640的对话框中输入语言内容的第二语言类型由英语更新为法语,第二终端的处理器680通过RF电路610向第一终端发送更新消息,更新消息用于指示第二终端的显示屏640的对话框中输入的语言内容从英语更新为法语。
这样一来,可以由第一终端的处理器680自动检测第一终端的第一语言类型和第一翻译能力,并获取第二终端的第二语言类型和第二翻译能力,以便第一终端的处理器680通过I/O子系统670的显示控制器检测出的显示屏640的对话框中有语言内容输入时,可以将第一终端的第一语言类型的第一语言内容翻译为中间语言类型的第二语言内容,即第三语言类型的第二语言内容,并通过第一终端的RF电路610发送给第二终端。然后第二终端的处理器680将通过RF电路610接收到的第三语言类型的第二语言内容翻译为第二语言类型的第三语言内容,从而实现第一终端的用户和第二终端的用户通过中间语言类型来正常交流,相较现有技术,需要人工设置语言类型,需要付出多余的劳动,且可能将对方的语言类型设置错误,从而产生冲突,本申请实施例中第一终端的处理器680和第二终端的处理器680可以自动检测自身的语言类型,解决了额外设置的工作量大和容易引起设置冲突的问题。
本申请实施例的通信系统还可以如图8所示,包括第一终端、第二终端以及服务器。其中第一终端和第二终端的结构可以参考图6的示意图,与上述通信系统中的第一终端和第二终端不同的是,这里的第一终端的处理器和第二终端的处理器不具有翻译能力。图9为本申请实施例中服务器900的一种内部结构示意图,在本发明中,服务器可以包括处理器901、收发器902和存储器903。其中,处理器901用于控制服务器的各部分硬件装置和应用程序软件等。收发器902用于可使用长期演进(Long Term Evolution,LTE)、wifi等通讯方式接受其它设备发送的指令,也可以将服务器的数据发送给其它设备。存储器903用于执行服务器的软件程序的存储、数据的存储和软件的运行等。在本申请实施例中,服务器可以将第一终端发送的语言内容翻译为第二终端能够识别的语言内容后发送给第二终端,也可以将第二终端发送的语言内容翻译为第一终端能够识别的语言内容后发送给第一终端。
下面结合图8为本申请的又一种实施例进行说明。以第一终端和第二终端都不具有翻译能力,而以服务器作为中间设备进行语言翻译为例,简要来 说,服务器可以获取第一终端的第一语言类型和第二终端的第二语言类型。服务器将第一终端发送的第一语言内容由第一语言类型翻译为第二语言类型后发送给第二终端;或服务器将第二终端发送的第二语言内容由第二语言类型翻译为第一语言类型后发送给第一终端。
进一步的,服务器通过收发器902获取第一终端通过RF电路610发送的第一语言类型和第二终端通过RF电路610发送的第二语言类型。示例性地,可以是第一终端与第二终端建立对话关系后,第一终端的处理器680检测第一终端的第一语言类型并通过RF电路610发送给服务器,第二终端的处理器680检测第二终端的第二语言类型并通过RF电路610发送给服务器;也可以是用户在第一终端的显示屏640的对话框开始输入语言内容时,第一终端的处理器680通过I/O子系统670的显示控制器检测出显示640的对话框中输入的第一语言内容的语言类型为第一语言类型,并通过RF电路610发送请求消息给服务器。请求消息中包括第一终端待建立对话关系的第二终端的标识和网络地址,而后服务器的收发器902通过向第二终端发送触发消息,触发第二终端的处理器680检测第二终端的第二语言类型并通过RF电路610发送给服务器。于是,服务器获知并记录了第一终端的第一语言类型和第二终端的第二语言类型。
第一终端将输入的第一语言类型的第一语言内容通过RF电路610发送至服务器时,服务器的处理器901将第一终端发送的第一语言类型的第一语言内容翻译为第二语言类型的第二语言内容后通过收发器902发送给第二终端。同样地,第二终端将输入的第二语言类型的第三语言内容通过RF电路610发送给服务器时,服务器的处理器901将第二终端发送的第二语言类型的第三语言内容翻译为第一语言类型的第四语言内容后发送给第一终端。
也即,服务器的处理器901通过存储器903记录了第一终端和第二终端的语言类型且服务器的处理器901确定第一终端的第一语言类型与第二终端的第二语言类型不同时,服务器的处理器901可以将第一终端发送的第一语言类型的第一语言内容翻译为第二终端的第二语言类型的第二语言内容,并通过收发器902将翻译后的第二语言类型的第二语言内容发送给第一终端,以便于第二终端的用户能够识别的第一终端发送的语言内容。
第一终端的处理器680通过I/O子系统670的显示控制器检测出显示屏640的对话框中输入第一语言内容的第一语言类型发生变化,或第二终端的处理器680通过I/O子系统670的显示控制器检测出显示屏640的对话框中输入第二语言内容的第二语言类型发生变化时,第一终端和第二终端的处理器680可以通过RF电路610将检测到的新的语言类型发送给服务器,以便服务器的处理器901更新存储在存储器903中的第一语言类型和第二语言类型。
举例来说,假设第二终端的第二语言类型为法语,用户第一次在第一终端的显示屏640的对话框中输入中文的语言内容,用户第二次在第一终端的显示屏640的对话框中输入英文的语言内容,第一终端可以通过RF电路610将英文这种语言类型发送给服务器,以便服务器的处理器901根据英文的语 言类型可以及时将第一终端的RF电路610发送的语言内容由英文翻译为法语后发送给第二终端;或服务器的处理器901及时将通过收发器902接收到的第二终端发送的语言内容由法语翻译为英语后再通过收发器902发送给第一终端。
这样一来,可以由第一终端检测第一终端的第一语言类型并发送给服务器,第二终端检测第二终端的第二语言类型并发送给服务器,服务器可以将接收到的第一终端的发送第一语言类型的第一语言内容翻译为第二语言类型的第二语言内容,并将第二语言类型的第二语言内容发送给第二终端。服务器也可以将接收到的第二终端的第三语言内容翻译为第一语言类型的第四语言内容后,再将第一语言类型的第四语言内容发送给第一终端,以便第二终端的用户和第一终端的用户可以在语言类型不同的情况下正常交流。相较现有技术,需要人工设置语言类型,需要付出多余的劳动,且可能将对方的语言类型设置错误,从而产生冲突,本申请实施例可以由第一终端和第二终端的处理器680自动检测自身的语言类型,解决了额外设置的工作量大和容易引起设置冲突的问题。
本领域技术人员应该可以意识到,在上述一个或多个示例中,本发明所描述的功能可以用硬件、软件、固件或它们的任意组合来实现。当使用软件实现时,可以将这些功能存储在计算机可读介质中或者作为计算机可读介质上的一个或多个指令或代码进行传输。计算机可读介质包括计算机存储介质和通信介质,其中通信介质包括便于从一个地方向另一个地方传送计算机程序的任何介质。存储介质可以是通用或专用计算机能够存取的任何可用介质。
以上所述的具体实施方式,对本发明的目的、技术方案和有益效果进行了进一步详细说明,所应理解的是,以上所述仅为本发明的具体实施方式而已,并不用于限定本发明的保护范围,凡在本发明的技术方案的基础之上,所做的任何修改、等同替换、改进等,均应包括在本发明的保护范围之内。

Claims (45)

  1. 一种多终端协同的翻译方法,其特征在于,包括:
    第一终端接收第一终端用户输入的第一语言内容;
    所述第一终端检测所述第一终端的第一语言类型,并获取第二终端的第二语言类型;
    所述第一终端将待发送的第一语言类型的第一语言内容翻译为所述第二语言类型的第二语言内容,将所述第二语言类型的第二语言内容发送给所述第二终端。
  2. 根据权利要求1所述的方法,其特征在于,所述获取第二终端的第二语言类型包括:
    所述第一终端向所述第二终端发送能力协商请求消息,所述能力协商请求消息包括所述第一终端的第一语言类型;
    所述第一终端接收所述第二终端发送的响应消息,所述响应消息包括所述第二终端的第二语言类型。
  3. 根据权利要求1或2所述的方法,其特征在于,所述方法还包括:
    所述第一终端接收所述第二终端用户输入的第三语言内容;
    所述第一终端将所述第三语言内容翻译为所述第一语言类型的第四语言内容;
    所述第一终端显示所述第一语言类型的第四语言内容。
  4. 根据权利要求1-3任一项所述的方法,其特征在于,所述第一终端检测所述第一终端的第一语言类型包括:
    所述第一终端将所述第一终端文本输入界面或麦克风输入的语言内容的语言类型识别为所述第一终端的第一语言类型;或
    所述第一终端接收到所述第二终端的发言内容时,所述第一终端将所述第一终端的操作系统的语言类型识别为所述第一终端的第一语言类型;或
    所述第一终端将所述第一终端的文本输入界面中输入的文本的语言类型识别为所述第一终端的第一语言类型;或
    所述第一终端将所述第一终端的浏览器的网页内容的语言类型识别为所述第一终端的第一语言类型;或
    所述第一终端将所述第一终端的应用程序的语言类型识别为所述第一终端的第一语言类型;或
    所述第一终端将所述第一终端的麦克风中输入的语音的语言类型识别为所述第一终端的第一语言类型;或
    所述第一终端将所述第一终端的翻译模块可以翻译的语言类型识别为所述第一终端的第一语言类型。
  5. 根据权利要求1-3任一项所述的方法,其特征在于,所述方法还包括:
    所述第一终端接收所述第二终端发送的更新消息,所述更新消息包括所述第二终端更新后的第三语言类型,所述第三语言类型与所述第二语言类型不同。
  6. 一种多终端协同的翻译方法,其特征在于,包括:
    第一终端接收第一终端用户输入的第一语言内容;
    所述第一终端检测所述第一终端的第一语言类型以及第一翻译能力,所述第一翻译能力用于指示所述第一终端能够对第三语言类型的语言内容和第一语言类型的语言内容进行互译,所述第一终端并获取第二终端的第二语言类型和第二翻译能力,所述第二翻译能力用于指示所述第二终端能够对第三语言类型的语言内容和第二语言类型的语言内容进行互译;
    所述第一终端将所述第一语言类型的第一语言内容翻译为所述第三语言类型的第二语言内容,将所述第三语言类型的第二语言内容发送给所述第二终端,使所述第二终端将所述第三语言类型的第二语言内容翻译为所述第二语言类型的第三语言内容。
  7. 根据权利要求6所述的方法,其特征在于,所述第一终端并获取第二终端的第二语言类型和第二翻译能力包括:
    所述第一终端向所述第二终端发送能力协商请求消息,所述能力协商请求消息包括所述第一终端的所述第一语言类型以及所述第一翻译能力;
    所述第一终端接收所述第二终端发送的响应消息,所述响应消息包括所述第二终端的所述第二语言类型和所述第二翻译能力。
  8. 根据权利要求6或7所述的方法,其特征在于,所述方法还包括:
    所述第一终端接收所述第二终端发送的所述第三语言类型的第四语言内容,所述第三语言类型的第四语言内容是所述第二终端将所述第二语言类型的第五语言内容翻译为所述第三语言类型的第四语言内容后发送的;
    所述第一终端将所述第三语言类型的第四语言内容翻译为所述第一语言类型的第六语言内容;
    所述第一终端显示所述第一语言类型的第六语言内容。
  9. 根据权利要求6-8任一项所述的方法,其特征在于,所述第一终端检测所述第一终端的第一语言类型包括:
    所述第一终端将所述第一终端文本输入界面或麦克风输入的语言内容的语言类型识别为所述第一终端的第一语言类型;或
    所述第一终端接收到所述第二终端的发言内容时,所述第一终端将所述第一终端的操作系统的语言类型识别为所述第一终端的第一语言类型;或
    所述第一终端将所述第一终端的文本输入界面中输入的文本的语言类型识别为所述第一终端的第一语言类型;或
    所述第一终端将所述第一终端的浏览器的网页内容的语言类型识别为所述第一终端的第一语言类型;或
    所述第一终端将所述第一终端的应用程序的语言类型识别为所述第一终端的第一语言类型;或
    所述第一终端将所述第一终端的麦克风中输入的语音的语言类型识别为所述第一终端的第一语言类型;或
    所述第一终端将所述第一终端的翻译模块可以翻译的语言类型识别为所 述第一终端的第一语言类型。
  10. 根据权利要求6-8任一项所述的方法,其特征在于,所述方法还包括:
    所述第一终端接收所述第二终端发送的更新消息,所述更新消息包括所述第二终端更新后的第四语言类型,所述第四语言类型与所述第二语言类型不同。
  11. 一种多终端协同的翻译方法,其特征在于,包括:
    服务器在获取到第一终端的第一语言类型并确定与所述第一终端对话的第二终端后,所述服务器向所述第二终端请求获取所述第二终端的第二语言类型;
    所述服务器接收所述第一终端用户输入的第一语言内容,将所述第一语言类型的第一语言内容翻译为所述第二语言类型的第二语言内容,将所述第二语言类型的第二语言内容发送给所述第二终端。
  12. 根据权利要求11所述的方法,其特征在于,所述方法还包括:
    所述服务器接收所述第一终端的第一消息,所述第一消息包括所述第一终端的所述第一语言类型以及与所述第一终端对话的第二终端的标识,以根据所述第二终端的标识请求获取所述第二终端的第二语言类型;
    所述服务器接收所述第二终端用户输入的第三语言内容,将所述第二语言类型的第三语言内容翻译为所述第一语言类型的第四语言内容,并将所述第一语言类型的第四语言内容发送给所述第一终端。
  13. 一种多终端协同的翻译方法,其特征在于,包括:
    第一终端接收第一终端用户输入的第一语言内容;
    第一终端检测所述第一终端的第一语言类型;
    所述第一终端将所述第一语言类型以及与所述第一终端建立对话关系的第二终端的标识发送给服务器;
    所述第一终端将所述第一语言内容发送给所述服务器,使所述服务器将所述第一语言类型的第一语言内容翻译为第二语言类型的第二语言内容后发送给所述第二终端。
  14. 根据权利要求13所述的方法,其特征在于,所述方法还包括:
    所述第一终端接收所述服务器发送的第一语言类型的第三语言内容,所述第一语言类型的第三语言内容是所述服务器将所述第二终端发送的所述第二语言类型的第四语言内容翻译为所述第一语言类型的第三语言内容后发送的;
    所述第一终端显示所述第一语言类型的第三语言内容。
  15. 根据权利要求13或14所述的方法,其特征在于,所述第一终端检测所述第一终端的第一语言类型包括:
    所述第一终端将所述第一终端文本输入界面或麦克风中输入的语言内容的语言类型识别为所述第一终端的第一语言类型;或
    所述第一终端接收到所述第二终端的发言内容时,所述第一终端将所述第一终端的操作系统的语言类型识别为所述第一终端的第一语言类型;或
    所述第一终端将所述第一终端的文本输入界面中输入的文本的语言类型 识别为所述第一终端的第一语言类型;或
    所述第一终端将所述第一终端的浏览器的网页内容的语言类型识别为所述第一终端的第一语言类型;或
    所述第一终端将所述第一终端的应用程序的语言类型识别为所述第一终端的第一语言类型;或
    所述第一终端将所述第一终端的麦克风中输入的语音的语言类型识别为所述第一终端的第一语言类型;或
    所述第一终端将所述第一终端的翻译模块可以翻译的语言类型识别为所述第一终端的第一语言类型。
  16. 一种第一终端,其特征在于,包括:
    内容输入/输出模块,用于接收第一终端用户输入的第一语言内容;
    语言类型检测模块,用于在所述内容输入/输出模块接收到所述第一语言内容时检测所述第一终端的第一语言类型,并获取第二终端的第二语言类型;
    翻译模块,用于将所述语言类型检测模块检测出的待发送的第一语言类型的第一语言内容翻译为所述第二语言类型的第二语言内容;
    通信模块,用于将所述翻译模块翻译后的所述第二语言类型的第二语言内容发送给所述第二终端。
  17. 根据权利要求16所述的第一终端,其特征在于,所述语言类型检测模块用于:
    通过所述通信模块向所述第二终端发送能力协商请求消息,所述能力协商请求消息包括所述第一终端的第一语言类型;
    通过所述通信模块接收所述第二终端发送的响应消息,所述响应消息包括所述第二终端的第二语言类型。
  18. 根据权利要求16或17所述的第一终端,其特征在于,所述通信模块还用于:接收所述第二终端用户输入的第三语言内容;
    所述翻译模块还用于:将所述通信模块接收到的所述第三语言内容翻译为所述第一语言类型的第四语言内容;
    所述内容输入/输出模块还用于显示所述翻译模块翻译后的所述第一语言类型的第四语言内容。
  19. 根据权利要求16-18任一项所述的第一终端,其特征在于,所述语言类型检测模块用于:
    将所述第一终端文本输入界面或麦克风输入的语言内容的语言类型识别为所述第一终端的第一语言类型;或
    将所述第一终端的操作系统的语言类型识别为所述第一终端的第一语言类型;或
    将所述第一终端的文本输入界面中输入的文本的语言类型识别为所述第一终端的第一语言类型;或
    将所述第一终端的浏览器的网页内容的语言类型识别为所述第一终端的第一语言类型;或
    将所述第一终端的应用程序的语言类型识别为所述第一终端的第一语言类型;或
    将所述第一终端的麦克风中输入的语音的语言类型识别为所述第一终端的第一语言类型;或
    将所述第一终端的翻译模块可以翻译的语言类型识别为所述第一终端的第一语言类型。
  20. 根据权利要求16-18任一项所述的第一终端,其特征在于,所述通信模块还用于:
    接收所述第二终端发送的更新消息,所述更新消息包括所述第二终端更新后的第三语言类型,所述第三语言类型与所述第二语言类型不同。
  21. 一种第一终端,其特征在于,包括:
    内容输入/输出模块,用于接收第一终端用户输入的第一语言内容;
    语言类型检测模块,用于在所述内容输入/输出模块接收到所述第一语言内容时检测所述第一终端的第一语言类型以及第一翻译能力,所述第一翻译能力用于指示所述第一终端能够对第三语言类型的语言内容和第一语言类型的语言内容进行互译,并获取第二终端的第二语言类型和第二翻译能力,所述第二翻译能力用于指示所述第二终端能够对第三语言类型的语言内容和第二语言类型的语言内容进行互译;
    翻译模块,用于将所述语言类型检测模块检测到的所述第一语言类型的第一语言内容翻译为所述第三语言类型的第二语言内容;
    通信模块,用于将所述翻译模块翻译后的所述第三语言类型的第二语言内容发送给所述第二终端,使所述第二终端将所述第三语言类型的第二语言内容翻译为所述第二语言类型的第三语言内容。
  22. 根据权利要求21所述的第一终端,其特征在于,所述语言类型检测模块用于:
    通过所述通信模块向所述第二终端发送能力协商请求消息,所述能力协商请求消息包括所述第一终端的所述第一语言类型以及所述第一翻译能力;
    通过所述通信模块接收所述第二终端发送的响应消息,所述响应消息包括所述第二终端的所述第二语言类型和所述第二翻译能力。
  23. 根据权利要求21或22所述的第一终端,其特征在于,所述通信模块还用于:接收所述第二终端发送的所述第三语言类型的第四语言内容,所述第三语言类型的第四语言内容是所述第二终端将所述第二语言类型的第五语言内容翻译为所述第三语言类型的第四语言内容后发送的;
    所述翻译模块还用于:将所述通信模块接收到的所述第三语言类型的第四语言内容翻译为所述第一语言类型的第六语言内容;
    所述内容输入/输出模块还用于显示所述翻译模块翻译后的所述第一语言类型的第六语言内容。
  24. 根据权利要求21-23任一项所述的第一终端,其特征在于,所述语言类型检测模块用于:
    将所述第一终端文本输入界面或麦克风输入的语言内容的语言类型识别为所述第一终端的第一语言类型;或
    将所述第一终端的操作系统的语言类型识别为所述第一终端的第一语言类型;或
    将所述第一终端的文本输入界面中输入的文本的语言类型识别为所述第一终端的第一语言类型;或
    将所述第一终端的浏览器的网页内容的语言类型识别为所述第一终端的第一语言类型;或
    将所述第一终端的应用程序的语言类型识别为所述第一终端的第一语言类型;或
    将所述第一终端的麦克风中输入的语音的语言类型识别为所述第一终端的第一语言类型;或
    将所述第一终端的翻译模块可以翻译的语言类型识别为所述第一终端的第一语言类型。
  25. 根据权利要求21-23任一项所述的第一终端,其特征在于,所述通信模块还用于:
    接收所述第二终端发送的更新消息,所述更新消息包括所述第二终端更新后的第四语言类型,所述第四语言类型与所述第二语言类型不同。
  26. 一种服务器,其特征在于,包括:
    语言类型记录模块,在获取到第一终端的第一语言类型并确定与所述第一终端对话的第二终端后,向所述第二终端请求获取所述第二终端的第二语言类型;
    通信模块,用于接收所述第一终端用户输入的第一语言内容;
    翻译模块,用于将所述通信模块接收到的所述第一语言类型的第一语言内容翻译为所述第二语言类型的第二语言内容;
    通信模块还用于将所述翻译模块翻译后的所述第二语言类型的第二语言内容发送给所述第二终端。
  27. 根据权利要求26所述的服务器,其特征在于,所述语言类型记录模块用于:通过所述通信模块接收所述第一终端的第一消息,所述第一消息包括所述第一终端的所述第一语言类型以及与所述第一终端对话的第二终端的标识,以根据所述第二终端的标识请求获取所述第二终端的第二语言类型;
    所述通信模块还用于接收所述第二终端用户输入的第三语言内容,所述翻译模块还用于将所述通信模块接收到的所述第二语言类型的第三语言内容翻译为所述第一语言类型的第四语言内容,所述通信模块还用于将所述翻译模块翻译后的所述第一语言类型的第四语言内容发送给所述第一终端。
  28. 一种第一终端,其特征在于,包括:
    内容输入/输出模块,用于接收第一终端用户输入的第一语言内容;
    语言类型检测模块,用于在所述内容输入/输出模块接收到所述第一语言内容时检测所述第一终端的第一语言类型;
    通信模块,用于将所述语言类型检测模块检测到的所述第一语言类型以及与所述第一终端建立对话关系的第二终端的标识发送给服务器;
    所述通信模块还用于,将所述内容输入/输出模块接收到的所述第一语言内容发送给所述服务器,使所述服务器将所述第一语言类型的第一语言内容翻译为第二语言类型的第二语言内容后发送给所述第二终端。
  29. 根据权利要求28所述的第一终端,其特征在于,所述通信模块还用于:
    接收所述服务器发送的第一语言类型的第三语言内容,所述第一语言类型的第三语言内容是所述服务器将所述第二终端发送的所述第二语言类型的第四语言内容翻译为所述第一语言类型的第三语言内容后发送的;
    所述内容输入/输出模块还用于显示所述通信模块接收到的所述第一语言类型的第三语言内容。
  30. 根据权利要求28或29所述的第一终端,其特征在于,所述语言类型检测模块用于:
    将所述第一终端文本输入界面或麦克风中输入的语言内容的语言类型识别为所述第一终端的第一语言类型;或
    将所述第一终端的操作系统的语言类型识别为所述第一终端的第一语言类型;或
    将所述第一终端的文本输入界面中输入的文本的语言类型识别为所述第一终端的第一语言类型;或
    将所述第一终端的浏览器的网页内容的语言类型识别为所述第一终端的第一语言类型;或
    将所述第一终端的应用程序的语言类型识别为所述第一终端的第一语言类型;或
    将所述第一终端的麦克风中输入的语音的语言类型识别为所述第一终端的第一语言类型;或
    将所述第一终端的翻译模块可以翻译的语言类型识别为所述第一终端的第一语言类型。
  31. 一种第一终端,其特征在于,包括:
    输入/输出设备,用于接收第一终端用户输入的第一语言内容;
    处理器,用于在所述输入/输出设备接收到所述第一语言内容时检测所述第一终端的第一语言类型,并获取第二终端的第二语言类型;
    所述处理器还用于,将所述处理器检测出的待发送的第一语言类型的第一语言内容翻译为所述第二语言类型的第二语言内容;
    射频RF电路,用于将所述处理器翻译后的所述第二语言类型的第二语言内容发送给所述第二终端。
  32. 根据权利要求31所述的第一终端,其特征在于,所述处理器用于:
    通过所述RF电路向所述第二终端发送能力协商请求消息,所述能力协商请求消息包括所述第一终端的第一语言类型;
    通过所述RF电路接收所述第二终端发送的响应消息,所述响应消息包括所述第二终端的第二语言类型。
  33. 根据权利要求31或32所述的第一终端,其特征在于,所述RF电路还用于:接收所述第二终端用户输入的第三语言内容;
    所述处理器还用于:将所述RF电路接收到的所述第三语言内容翻译为所述第一语言类型的第四语言内容;
    所述第一终端还包括显示屏,用于显示所述处理器翻译后的所述第一语言类型的第四语言内容。
  34. 根据权利要求31-33任一项所述的第一终端,其特征在于,所述处理器用于:
    将所述第一终端文本输入界面或麦克风输入的语言内容的语言类型识别为所述第一终端的第一语言类型;或
    将所述第一终端的操作系统的语言类型识别为所述第一终端的第一语言类型;或
    将所述第一终端的文本输入界面中输入的文本的语言类型识别为所述第一终端的第一语言类型;或
    将所述第一终端的浏览器的网页内容的语言类型识别为所述第一终端的第一语言类型;或
    将所述第一终端的应用程序的语言类型识别为所述第一终端的第一语言类型;或
    将所述第一终端的麦克风中输入的语音的语言类型识别为所述第一终端的第一语言类型;或
    将可以翻译的语言类型识别为所述第一终端的第一语言类型。
  35. 根据权利要求31-33所述的第一终端,其特征在于,所述RF电路还用于:
    接收所述第二终端发送的更新消息,所述更新消息包括所述第二终端更新后的第三语言类型,所述第三语言类型与所述第二语言类型不同。
  36. 一种第一终端,其特征在于,包括:
    输入/输出设备,用于接收第一终端用户输入的第一语言内容;
    处理器,用于在所述输入/输出设备接收到所述第一语言内容时检测所述第一终端的第一语言类型以及第一翻译能力,所述第一翻译能力用于指示所述第一终端能够对第三语言类型的语言内容和第一语言类型的语言内容进行互译,并获取第二终端的第二语言类型和第二翻译能力,所述第二翻译能力用于指示所述第二终端能够对第三语言类型的语言内容和第二语言类型的语言内容进行互译;
    所述处理器还用于将检测到的所述第一语言类型的第一语言内容翻译为所述第三语言类型的第二语言内容;
    射频RF电路,用于将所述处理器翻译后的所述第三语言类型的第二语言内容发送给所述第二终端,使所述第二终端将所述第三语言类型的第二语言内 容翻译为所述第二语言类型的第三语言内容。
  37. 根据权利要求36所述的第一终端,其特征在于,所述处理器用于:
    通过所述RF电路向所述第二终端发送能力协商请求消息,所述能力协商请求消息包括所述第一终端的所述第一语言类型以及所述第一翻译能力;
    通过所述RF电路接收所述第二终端发送的响应消息,所述响应消息包括所述第二终端的所述第二语言类型和所述第二翻译能力。
  38. 根据权利要求36或37所述的第一终端,其特征在于,所述RF电路还用于:接收所述第二终端发送的所述第三语言类型的第四语言内容,所述第三语言类型的第四语言内容是所述第二终端将所述第二语言类型的第五语言内容翻译为所述第三语言类型的第四语言内容后发送的;
    所述处理器还用于:将所述RF电路接收到的所述第三语言类型的第四语言内容翻译为所述第一语言类型的第六语言内容;
    所述第一终端还包括显示屏,用于显示所述处理器翻译后的所述第一语言类型的第六语言内容。
  39. 根据权利要求36-38任一项所述的第一终端,其特征在于,所述处理器用于:
    将所述第一终端文本输入界面或麦克风输入的语言内容的语言类型识别为所述第一终端的第一语言类型;或
    将所述第一终端的操作系统的语言类型识别为所述第一终端的第一语言类型;或
    将所述第一终端的文本输入界面中输入的文本的语言类型识别为所述第一终端的第一语言类型;或
    将所述第一终端的浏览器的网页内容的语言类型识别为所述第一终端的第一语言类型;或
    将所述第一终端的应用程序的语言类型识别为所述第一终端的第一语言类型;或
    将所述第一终端的麦克风中输入的语音的语言类型识别为所述第一终端的第一语言类型;或
    将可以翻译的语言类型识别为所述第一终端的第一语言类型。
  40. 根据权利要求36-38任一项所述的第一终端,其特征在于,所述RF电路还用于:
    接收所述第二终端发送的更新消息,所述更新消息包括所述第二终端更新后的第四语言类型,所述第四语言类型与所述第二语言类型不同。
  41. 一种服务器,其特征在于,包括:
    处理器,在获取到第一终端的第一语言类型并确定与所述第一终端对话的第二终端后,向所述第二终端请求获取所述第二终端的第二语言类型;
    收发器,用于接收所述第一终端用户输入的第一语言内容;
    所述处理器还用于将所述收发器接收到的所述第一语言类型的第一语言内容翻译为所述第二语言类型的第二语言内容;
    所述收发器还用于将所述处理器翻译后的所述第二语言类型的第二语言内容发送给所述第二终端。
  42. 根据权利要求41所述的服务器,其特征在于,所述处理器用于:通过所述收发器接收所述第一终端的第一消息,所述第一消息包括所述第一终端的所述第一语言类型以及与所述第一终端对话的第二终端的标识,以根据所述第二终端的标识请求获取所述第二终端的第二语言类型;
    所述收发器还用于接收所述第二终端用户输入的第三语言内容,所述处理器还用于将所述收发器接收到的所述第二语言类型的第三语言内容翻译为所述第一语言类型的第四语言内容,所述收发器还用于将所述处理器翻译后的所述第一语言类型的第四语言内容发送给所述第一终端。
  43. 一种第一终端,其特征在于,包括:
    输入/输出设备,用于接收第一终端用户输入的第一语言内容;
    处理器,用于在所述输入/输出设备接收到所述第一语言内容时检测所述第一终端的第一语言类型;
    射频RF电路,用于将所述处理器检测到的所述第一语言类型以及与所述第一终端建立对话关系的第二终端的标识发送给服务器;
    所述RF电路还用于将所述输入/输出设备接收到的所述第一语言内容发送给所述服务器,使所述服务器将所述第一语言类型的第一语言内容翻译为第二语言类型的第二语言内容后发送给所述第二终端。
  44. 根据权利要求43所述的第一终端,其特征在于,所述RF电路还用于:
    接收所述服务器发送的第一语言类型的第三语言内容,所述第一语言类型的第三语言内容是所述服务器将所述第二终端发送的所述第二语言类型的第四语言内容翻译为所述第一语言类型的第三语言内容后发送的;
    所述第一终端还包括显示屏,用于显示所述RF电路接收到的所述第一语言类型的第三语言内容。
  45. 根据权利要求43或44所述的第一终端,其特征在于,所述处理器用于:
    将所述第一终端文本输入界面或麦克风中输入的语言内容的语言类型识别为所述第一终端的第一语言类型;或
    将所述第一终端的操作系统的语言类型识别为所述第一终端的第一语言类型;或
    将所述第一终端的文本输入界面中输入的文本的语言类型识别为所述第一终端的第一语言类型;或
    将所述第一终端的浏览器的网页内容的语言类型识别为所述第一终端的第一语言类型;或
    将所述第一终端的应用程序的语言类型识别为所述第一终端的第一语言类型;或
    将所述第一终端的麦克风中输入的语音的语言类型识别为所述第一终端的第一语言类型;或
    将可以翻译的语言类型识别为所述第一终端的第一语言类型。
PCT/CN2017/075999 2017-03-08 2017-03-08 一种多终端协同的翻译方法和终端 WO2018161284A1 (zh)

Priority Applications (2)

Application Number Priority Date Filing Date Title
PCT/CN2017/075999 WO2018161284A1 (zh) 2017-03-08 2017-03-08 一种多终端协同的翻译方法和终端
CN201780038124.0A CN109313669A (zh) 2017-03-08 2017-03-08 一种多终端协同的翻译方法和终端

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2017/075999 WO2018161284A1 (zh) 2017-03-08 2017-03-08 一种多终端协同的翻译方法和终端

Publications (1)

Publication Number Publication Date
WO2018161284A1 true WO2018161284A1 (zh) 2018-09-13

Family

ID=63447187

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2017/075999 WO2018161284A1 (zh) 2017-03-08 2017-03-08 一种多终端协同的翻译方法和终端

Country Status (2)

Country Link
CN (1) CN109313669A (zh)
WO (1) WO2018161284A1 (zh)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101072168A (zh) * 2007-06-22 2007-11-14 腾讯科技(深圳)有限公司 一种多语言即时通讯终端及其系统和方法
CN101494621A (zh) * 2009-03-16 2009-07-29 西安六度科技有限公司 一种多语言即时通讯终端翻译系统和翻译方法
US20100198578A1 (en) * 2009-01-30 2010-08-05 Kabushiki Kaisha Toshiba Translation apparatus, method, and computer program product
US20140358516A1 (en) * 2011-09-29 2014-12-04 Google Inc. Real-time, bi-directional translation
CN104317787A (zh) * 2014-10-23 2015-01-28 迎新科技有限公司 即时通讯终端及其信息翻译方法和装置
CN105512113A (zh) * 2015-12-04 2016-04-20 青岛冠一科技有限公司 交流式语音翻译系统及翻译方法

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102740249A (zh) * 2012-06-19 2012-10-17 深圳市金立通信设备有限公司 一种手机信息传送过程中自动转为目标信息的方法
CN103838714A (zh) * 2012-11-22 2014-06-04 北大方正集团有限公司 一种语音信息转换方法及装置
CN103534751B (zh) * 2013-05-27 2016-05-18 华为技术有限公司 语音同步方法及装置
CN105635291B (zh) * 2015-12-31 2019-06-25 联想(北京)有限公司 信息推送方法及装置、信息显示方法及装置
CN106407187A (zh) * 2016-11-15 2017-02-15 上海传英信息技术有限公司 短信翻译方法和短信翻译装置

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101072168A (zh) * 2007-06-22 2007-11-14 腾讯科技(深圳)有限公司 一种多语言即时通讯终端及其系统和方法
US20100198578A1 (en) * 2009-01-30 2010-08-05 Kabushiki Kaisha Toshiba Translation apparatus, method, and computer program product
CN101494621A (zh) * 2009-03-16 2009-07-29 西安六度科技有限公司 一种多语言即时通讯终端翻译系统和翻译方法
US20140358516A1 (en) * 2011-09-29 2014-12-04 Google Inc. Real-time, bi-directional translation
CN104317787A (zh) * 2014-10-23 2015-01-28 迎新科技有限公司 即时通讯终端及其信息翻译方法和装置
CN105512113A (zh) * 2015-12-04 2016-04-20 青岛冠一科技有限公司 交流式语音翻译系统及翻译方法

Also Published As

Publication number Publication date
CN109313669A (zh) 2019-02-05

Similar Documents

Publication Publication Date Title
WO2021109926A1 (zh) 应用分享方法、电子设备及计算机可读存储介质
WO2016107501A1 (zh) 智能设备控制方法及装置
CN108540655B (zh) 一种来电显示处理方法及移动终端
EP4071606A1 (en) Application sharing method, first electronic device and computer-readable storage medium
US10956025B2 (en) Gesture control method, gesture control device and gesture control system
EP3691235A1 (en) Display method and mobile terminal
WO2016150270A1 (zh) 群组会话消息处理方法和装置
CN106973330B (zh) 一种屏幕直播方法、装置和系统
WO2016119580A1 (zh) 一种开启终端的语音输入功能的方法、装置和终端
JP7403648B2 (ja) 同期方法及び電子機器
WO2018161353A1 (zh) 一种分享照片的方法和装置
WO2020024770A1 (zh) 确定通讯对象的方法及移动终端
CN106293486B (zh) 一种终端之间的交互方法及装置
WO2019007414A1 (zh) 实现应用程序支持多语言的方法、存储设备及移动终端
WO2021104232A1 (zh) 显示方法及电子设备
WO2021115220A1 (zh) 信息共享方法、电子设备及计算机可读存储介质
WO2020042815A1 (zh) 文本编辑方法及移动终端
WO2021078215A1 (zh) 一种云游戏跨终端切换的方法和相关装置
CN110673770A (zh) 消息展示方法及终端设备
TW201541337A (zh) 移動終端中訊息的顯示方法、裝置和系統
JP2023508185A (ja) アプリケーション共有方法、第1電子機器及びコンピュータ可読記憶媒体
WO2018119630A1 (zh) 一种交互方法和终端
WO2014026581A1 (zh) 信息管理的方法、客户端及移动终端
WO2015078349A1 (zh) 麦克风收音状态的切换方法和装置
CN109543193B (zh) 一种翻译方法、装置及终端设备

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 17899442

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 17899442

Country of ref document: EP

Kind code of ref document: A1