WO2016062073A1 - 即时通讯终端及其信息翻译方法和装置 - Google Patents

即时通讯终端及其信息翻译方法和装置 Download PDF

Info

Publication number
WO2016062073A1
WO2016062073A1 PCT/CN2015/078975 CN2015078975W WO2016062073A1 WO 2016062073 A1 WO2016062073 A1 WO 2016062073A1 CN 2015078975 W CN2015078975 W CN 2015078975W WO 2016062073 A1 WO2016062073 A1 WO 2016062073A1
Authority
WO
WIPO (PCT)
Prior art keywords
information
instant messaging
voice
text
language type
Prior art date
Application number
PCT/CN2015/078975
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 迎新科技有限公司
Publication of WO2016062073A1 publication Critical patent/WO2016062073A1/zh

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor

Definitions

  • the present application relates to the field of network communication technologies, and in particular, to an instant messaging terminal and an information translation method and apparatus thereof.
  • IM instant messaging
  • the existing instant messaging platform includes a client (or terminal) and an instant messaging server used by the user, and the client connects to the instant messaging server through the Internet; the client transmits information to each other through the instant messaging server and other clients, and the instant messaging server does not message to the message.
  • the content itself is processed in any way, and only the information content is transparently transmitted. For example, when a client A sends an instant message command "here is a message, pass it on", the processing performed by the instant messaging server simply passes the above information itself to the client B through the instant messaging server (client A selects The message is sent to the object).
  • the two parties of the instant messaging may have communication problems due to different languages.
  • the user generally adopts the following processing method: a translation tool is configured on the client, and the message received by the instant messaging tool is copied into the translation tool and translated into a language that is familiar to them.
  • the disadvantages of the above method are: the user operation process is complicated and the use is very inconvenient; in addition, the operation process requires a lot of time, can not understand the content of the other party in time, causing a delay in reply, seriously affecting the effect of instant messaging, the user The experience is poor.
  • the application provides an information translation method applied to an instant messaging platform, and one of the purposes is to solve
  • the existing instant messaging platform has a complicated message translation operation process and a poor user experience.
  • the present application also provides an instant messaging terminal and an information translation apparatus thereof, and one of the purposes is to ensure the application of the above method in practice.
  • An information translation method includes: acquiring first information received by an instant messaging terminal; analyzing a language type of the first information; determining whether a language type of the first information is consistent with a default language type of the instant messaging terminal If not, using the first information as a query condition, searching for a second information corresponding to the default language type from a preset multi-language text comparison dictionary, and presenting the second through the instant messaging terminal information.
  • the first information is a text
  • the method for analyzing the language type of the first information specifically includes: determining, by using the Unicode encoding of the first information, a language type of the first information; or, from the A string of a preset length is intercepted in a message, and a language type corresponding to the string is searched from a preset multi-language comparison text dictionary library.
  • the second information is voice; the method further includes: receiving voice response information collected by the instant messaging terminal; converting the voice response information into text response information, and transmitting the voice response information to the corresponding instant messaging terminal.
  • the method for converting the voice response information into text response information specifically includes: identifying a voice category of the voice response information, where the voice category includes a male voice, a female voice, and a child voice; according to the default of the instant messaging terminal
  • the multi-language text dictionary library includes a first dictionary library respectively deployed on the instant messaging terminal and a second dictionary library deployed on the server; the searching order is: first searching in the first dictionary library, if If the first information or the corresponding second information cannot be found, a further search is performed from the second dictionary library.
  • a computer readable recording medium having recorded thereon a program for executing the above method.
  • An information translation apparatus comprising: an information receiving unit configured to acquire first information received by an instant messaging terminal; an information type analyzing unit configured to analyze a language type of the first information; and a type comparing unit configured to determine Whether the language type of the first information is consistent with the default language type of the instant messaging terminal; when the language type of the first information is the default language of the instant messaging terminal When the types are consistent, the first information is directly displayed; when the language type of the first information is inconsistent with the default language type of the instant messaging terminal, the scheduling information translation unit translates the first information into the second information. Displaying, the information translation unit is configured to use the first information as a query condition, and search for a second information corresponding to the default language type from a preset multi-language comparison text dictionary library, and pass the instant messaging terminal Presenting the second information.
  • the device further includes: a voice information acquiring unit configured to receive voice response information collected by the instant messaging terminal; and a phonetic text converting unit configured to: when the first information is text and the second information is voice
  • the voice response information received by the voice information acquiring unit is converted into text response information, and sent to other instant messaging terminals.
  • the conversion method is specifically: identifying a voice category of the voice response information, where the voice category includes a male a sound, a female voice, and a child voice; identifying a continuous voice passage according to a sound method corresponding to the default language type of the instant messaging terminal, and segmenting the sentence to obtain a segmented text in units of words or sentences;
  • the multi-language text dictionary library is searched for the text information corresponding to the segmentation text.
  • the device further includes: an information multiple selection unit configured to temporarily store a plurality of target words or sentences selected by the user, scheduling the information translation unit to display the translated content after translation; and/or, the background content translation unit, and configuring To extract background customization information of the instant messaging terminal, the scheduling category comparison unit and the information translation unit translate the customized information that needs to be translated into a default language type.
  • an information multiple selection unit configured to temporarily store a plurality of target words or sentences selected by the user, scheduling the information translation unit to display the translated content after translation
  • the background content translation unit and configuring
  • the scheduling category comparison unit and the information translation unit translate the customized information that needs to be translated into a default language type.
  • an instant messaging terminal including the information translation apparatus as described above.
  • the instant messaging terminal is a smart phone, a tablet computer or a personal computer.
  • the instant messaging terminal can determine whether the language type of the information received by the instant messaging terminal is consistent with the default language type set by the terminal, and when inconsistent, can automatically search from the preset multi-language comparison text dictionary library.
  • the corresponding translation information can effectively solve the problem that when the message content needs to be translated in the existing instant messaging platform, the user operation process is complicated, and if the user cannot understand the content of the other party in time, the effect of the instant communication is seriously affected.
  • the received text information can be converted into voice information playback, and the collected voice information is converted into text information of a corresponding language type and then sent to other terminals, so that one user is not suitable for voice communication. (such as during a meeting), the other party is not convenient for keyboard operations (such as In the case of driving, it is also possible to communicate without barriers, and the user experience is greatly improved.
  • FIG. 1 is a flowchart of a first embodiment of an information translation method of the present application
  • FIG. 2 is a flowchart of a second embodiment of an information translation method of the present application.
  • FIG. 3 is a flowchart of a third embodiment of an information translation method of the present application.
  • FIG. 4 is a schematic structural diagram of an embodiment of an information translation apparatus according to the present application.
  • FIG. 1 a flow of a first embodiment of an information translation method of the present application is shown, and an execution subject is a terminal (client) in an instant messaging platform.
  • an execution subject is a terminal (client) in an instant messaging platform.
  • the information transmitted by both parties is taken as an example.
  • the method embodiment includes the following steps:
  • Step S101 Acquire text information received by the instant messaging terminal
  • Step S102 analyzing a language type of the text information
  • the language type can be determined by the Unicode encoding of the text information; a string of a preset length (such as the first 30 characters) can also be intercepted from the text information, and then from the preset multi-language. Find the language type corresponding to the string in the comparison text dictionary library.
  • the dictionary library is a comparison table preset by the translator, and may include two or more language (including national language and national language) text control as needed, and may also include text and voice comparison in one or more languages.
  • the dictionary library may also adopt a hierarchical setting manner, for example, a secondary setting manner may be adopted, and specifically, the first setting is set in the instant messaging terminal.
  • the dictionary library stores only the text and voice comparison tables of two or more languages that the user is interested in; the second dictionary library is set in the instant messaging server, and the text comparison table and the voice comparison table of multiple languages are comprehensively stored.
  • the order of use is: first query in the local first dictionary library, if the matching is unsuccessful, then query in the second dictionary library on the instant messaging server.
  • Step S103 determining the language type of the text information and the default language type of the instant messaging terminal Whether it is consistent; if yes, go to step S104; otherwise, go to step S105;
  • the language type (character set type) of the terminal operating system can be used as the default language type, or the language type set by the user for the instant messaging client software can be used as the default language type of the instant messaging platform. .
  • Step S104 directly displaying the text information on the instant messaging terminal
  • Step S105 Searching the text information as a query condition, searching for the translation information corresponding to the default language type from the preset multi-language comparison text dictionary library, and displaying the translation information on the instant messaging terminal.
  • the present application can automatically translate the received text information according to the setting (for example, it can be set as follows: as long as the type of the received information text is inconsistent with the local default language type, the received information is translated and displayed)
  • the utility model effectively solves the problem that the prior art requires the client to copy and paste the content to be translated into the online dictionary translation, and the process is complicated and the operation is incoherent (the need to focus on the communication platform interface and the dictionary operation interface when viewing the instant information), delay Longer problems caused by the impact of instant messaging.
  • the information received and sent by the terminal performing the method is text, and the information displayed locally (ie, translated).
  • the following information is used as an example for the voice information and the collected information (the information that needs to be sent after processing); the embodiment of the method specifically includes the following steps:
  • Step S201 Acquire text information received by the instant messaging terminal
  • Step S202 analyzing a language type of the text information
  • Step S203 determining whether the language type of the text information is consistent with the default language type of the instant messaging terminal; if yes, go to step S204; otherwise, go to step S205;
  • Step S204 Searching for corresponding voice information from a preset multi-language comparison text dictionary library, and playing the voice information on the instant messaging terminal;
  • Step S205 Search for the voice translation information corresponding to the default language type from the preset multi-language comparison text dictionary library, and play the voice translation information on the instant messaging terminal;
  • step S204 and S205 the text-to-speech conversion needs to be performed regardless of whether the language type of the received text information is the same as the default language type of the local terminal.
  • the difference between step S204 and S205 is that the corresponding columns of the text information in the dictionary library are different.
  • Step S206 Receive voice response information collected by the instant messaging terminal.
  • Step S207 After converting the voice response information into text response information, the information is sent to the corresponding instant messaging terminal.
  • step S207 specifically includes:
  • Step S207-1 identifying a voice category of the voice response information
  • the voice categories include male voices, female voices, and child voices;
  • Step S207-2 Identify successive speech passages according to the sound method corresponding to the default language type of the instant messaging terminal, and perform segmentation on the segments to obtain a segmentation text in units of words or sentences;
  • Step S207-3 Searching for text information corresponding to the segmentation text from a preset multi-language control text dictionary library
  • Step S207-4 Send the text information.
  • the method of the present method can solve the problem that the prior art process is complicated, the operation is incoherent, the delay is long, and the like, which seriously affects the effect of the instant communication, and can also convert the received text information into the voice information playback. And converting the collected voice information into text information of a corresponding language type and transmitting it to other terminals, so that one user is not suitable for using voice communication (such as during a meeting), or one user is inconvenient to perform keyboard operations (such as when driving) In the case of the situation, it is also possible to communicate without barriers, and the user experience is greatly improved.
  • the information transmitted by the two parties is the voice information.
  • the method embodiment includes the following steps:
  • Step S301 Acquire voice information received by the instant messaging terminal
  • Step S302 analyzing a language type of the voice information
  • a preset length of the voice segment (such as the first 10 seconds of data) may be intercepted from the voice information, and then the language type corresponding to the voice segment is searched from the preset multi-language comparison text dictionary library.
  • Step S303 determining whether the language type of the voice information is consistent with the default language type of the instant messaging terminal; if yes, go to step S304; otherwise, go to step S305;
  • Step S304 directly playing the voice information on the instant messaging terminal
  • Step S305 using the voice information as a query condition, from a preset multi-language text dictionary Searching for voice translation information corresponding to the above default language type in the library, and playing the voice translation information on the instant messaging terminal;
  • step S305 specifically includes:
  • Step S305-1 Identify a voice category of the voice information
  • the above voice categories include male voices, female voices, and children's voices
  • Step S305-2 Identify a continuous speech segment according to the sound method corresponding to the obtained speech information in step S302, and perform segmentation on the segmentation to obtain a segmentation text in units of words or sentences;
  • Step S305-3 Searching for the voice translation information corresponding to the segmentation text from the preset multi-language control text dictionary library
  • Step S305-4 playing the voice translation information on the instant messaging terminal.
  • the present application can automatically translate the received voice information according to the setting (for example, it can be set as follows: as long as the type of the received voice information is inconsistent with the local default language type, the received information is translated and played back) It effectively solves the problem that the prior art requires the client to copy the voice file to be translated into a related tool (such as an online dictionary), resulting in complicated process, inconsistent operation, and long delay, which seriously affect the effect of instant communication.
  • a related tool such as an online dictionary
  • the present application also discloses a computer readable recording medium on which a program for executing the methods of the above-described first to third embodiments is recorded.
  • the computer readable recording medium includes any mechanism configured to store or transfer information in a form readable by a computer (for example, a computer).
  • a machine-readable medium includes read only memory (ROM), random access memory (RAM), magnetic disk storage media, optical storage media, flash storage media, electrical, optical, acoustic, or other forms of propagation signals (eg, carrier waves) , infrared signals, digital signals, etc.).
  • FIG. 4 a schematic structural diagram of an embodiment of an information translation apparatus of the present application is shown, including:
  • the information receiving unit 41 is configured to obtain first information received by the instant messaging terminal
  • An information type analyzing unit 42 configured to analyze a language type of the first information
  • the type comparison unit 43 is configured to determine whether the language type of the first information is consistent with the default language type of the instant messaging terminal; when the language type of the first information is consistent with the default language type of the instant messaging terminal Directly displaying the first information; when the language type of the first information is inconsistent with the default language type of the instant messaging terminal, the scheduling information translation unit 44 displays the first information into the second information and displays it. ;
  • the information translation unit 44 is configured to use the first information as a query condition to search for a second information corresponding to the default language type from a preset multi-language text dictionary, and display the information through the instant messaging terminal. Describe the second information;
  • the voice information acquiring unit 45 is configured to receive voice response information collected by the instant messaging terminal;
  • the voice text conversion unit 46 is configured to convert the voice response information received by the voice information acquiring unit 45 into text response information when the first information is text and the second information is voice, and send the message to other instant messaging terminals.
  • the conversion method is specifically: identifying a voice category of the voice response information, the voice category including a male voice, a female voice, and a child voice; and identifying a continuous voice according to a sound method corresponding to a default language type of the instant messaging terminal a paragraph, and segmentation thereof, to obtain a segmentation text in units of words or sentences; searching for text information corresponding to the segmentation text from a preset multi-language contrast text dictionary library;
  • the information multiple selection unit 47 is configured to temporarily store a plurality of target words or sentences selected by the user, and the scheduling information translation unit translates and displays the translated content;
  • the background content translation unit 48 is configured to extract the background customization information of the instant messaging terminal, and the scheduling category comparison unit 43 and the information translation unit 44 translate the customized information that needs to be translated into the default language type.
  • the background customization information in this embodiment may be Is the information of the life circle in the instant messaging client or other service information of the subscription.
  • the present application also provides an instant messaging terminal, including the information translation apparatus in the above embodiment.
  • the instant messaging terminal can be a smart phone, a tablet or a personal computer provided with instant messaging client software.
  • the language type of the terminal operating system may be used as the default language type of the instant messaging platform, and the language type set by the user for the instant messaging client software may be used as the default language type of the instant messaging platform.

Abstract

一种即时通讯终端及其信息翻译方法和装置,其中,所述方法包括:获取即时通讯终端收到的文字信息(S101);分析所述文字信息的语言类型(S102);判断所述文字信息的语言类型与即时通讯终端的默认语言类型是否一致(S103);若是:在即时通讯终端上直接显示所述文字信息(S104);若否,从预设的多语言对照文本字典库中查找对应于上述默认语言类型的译文信息,并在即时通讯终端上显示该译文信息(S105)。通过上述手段,可以检测并自动翻译与本终端语言类型不一致的即时信息,解决了现有技术流程复杂、即时通讯效果不佳的问题。

Description

即时通讯终端及其信息翻译方法和装置
本申请要求2014年10月23日提交的申请号为“201410569682.8”、发明名称为“即时通讯终端及其信息翻译方法和装置”的中国发明专利申请的优先权,其全文引用在此供参考。
技术领域
本申请涉及网络通信技术领域,特别地,涉及一种即时通讯终端及其信息翻译方法和装置。
背景技术
随着互联网技术、特别是移动互联网技术的发展,QQ、微信、飞信、MSN、Skype等即时通讯(IM,Instant Message)软件已经成为人们日常生活中必不可少的网络应用工具。即时通讯工具使人们能够超越空间与亲人、朋友、工作伙伴进行文字聊天、语音对话、视频会议等即时交流,满足人们在移动互联网时代的沟通、社交、娱乐等需求。
现有即时通讯平台包括用户使用的客户端(或终端)和即时通讯服务器,客户端通过因特网连接到即时通讯服务器;客户端通过即时通讯服务器和其他客户端互发信息,即时通讯服务器并不对消息内容本身作任何处理,仅仅对信息内容进行透明传递。例如,当某客户端A发送一个即时信息命令“here is a message,pass it on”时,即时通讯服务器所作的处理仅仅是将上述信息本身通过即时通讯服务器传递给客户端B(客户端A选择的消息发送对象)。
由于现有即时通讯平台并不对信息内容本身进行处理,因此即时通讯的双方可能会因为语言不同而出现沟通障碍的问题。这种情况下,用户一般采用如下处理方法:在客户端配置一个翻译工具,将即时通讯工具收到的消息复制到翻译工具中翻译成自己熟悉的语言。但上述方法的缺点是:用户操作流程复杂,使用非常不方便;另外,操作过程需要耗费较多的时间,不能及时理解对方的要表达的内容,造成回复延迟,严重影响了即时通讯效果,用户使用体验较差。
发明内容
本申请提供一种应用于即时通讯平台的信息翻译方法,目的之一在于解决 现有即时通讯平台中消息翻译操作过程复杂、用户使用体验差的问题。
本申请还提供了一种即时通讯终端及其信息翻译装置,目的之一在于保证上述方法在实际中的应用。
一种信息翻译方法,包括:获取即时通讯终端收到的第一信息;分析所述第一信息的语言类型;判断所述第一信息的语言类型与所述即时通讯终端的默认语言类型是否一致;若否,将所述第一信息作为查询条件,从预设的多语言对照文本字典库中查找对应于所述默认语言类型的第二信息,并通过所述即时通讯终端展现所述第二信息。
优选的,所述第一信息为文字;分析所述第一信息的语言类型的方法具体包括:通过所述第一信息的Unicode编码判断所述第一信息的语言类型;或,从所述第一信息中截取预设长度的字符串,从预设的多语言对照文本字典库中查找所述字符串对应的语言类型。
优选的,所述第二信息为语音;所述方法还包括:接收即时通讯终端采集的语音应答信息;将所述语音应答信息转换为文字应答信息后,发送至相应的即时通讯终端。
优选的,将所述语音应答信息转换为文字应答信息的方法具体包括:识别所述语音应答信息的语音类别,所述语音类别包括男性声音、女性声音和童声;根据所述即时通讯终端的默认语言类型对应的音法,识别连续的语音段落,并对其进行断句切分,得到以词或句子为单位的切分文本;从预设的多语言对照文本字典库中查找对应于所述切分文本的文字信息。
优选的,所述多语言对照文本字典库包括分别部署在即时通讯终端上的第一字典库和部署在服务器上的第二字典库;查找顺序为:先在所述第一字典库查找,若不能找到所述第一信息或对应的第二信息,则从所述第二字典库进行进一步的查找。
一种在其上记录有用于执行上述方法的程序的计算机可读记录介质。
一种信息翻译装置,包括:信息接收单元,配置为获取即时通讯终端收到的第一信息;信息类型分析单元,配置为分析所述第一信息的语言类型;类型比较单元,配置为判断所述第一信息的语言类型与所述即时通讯终端的默认语言类型是否一致;当所述第一信息的语言类型与所述即时通讯终端的默认语言 类型一致时,直接展现所述第一信息;当所述第一信息的语言类型与所述即时通讯终端的默认语言类型不一致时,调度信息翻译单元将所述第一信息翻译成第二信息后展现出来;信息翻译单元,配置为将所述第一信息作为查询条件,从预设的多语言对照文本字典库中查找对应于所述默认语言类型的第二信息,并通过所述即时通讯终端展现所述第二信息。
优选的,所述装置还包括:语音信息获取单元,配置为接收即时通讯终端采集的语音应答信息;音文转换单元,配置为当所述第一信息为文字、所述第二信息为语音时,将所述语音信息获取单元接收的语音应答信息转换为文字应答信息,并发送至其他即时通讯终端;其中,转换方法具体为:识别所述语音应答信息的语音类别,所述语音类别包括男性声音、女性声音和童声;根据所述即时通讯终端的默认语言类型对应的音法,识别连续的语音段落,并对其进行断句切分,得到以词或句子为单位的切分文本;从预设的多语言对照文本字典库中查找对应于所述切分文本的文字信息。
优选的,所述装置还包括:信息多选单元,配置为暂存用户选择的多个目标词或句子,调度所述信息翻译单元翻译后显示译文内容;和/或,后台内容翻译单元,配置为提取所述即时通讯终端的后台定制信息,调度类别比较单元和信息翻译单元将需要翻译的定制信息翻译成默认语言类型。
依据本申请的还一优选实施例,公开了一种即时通讯终端,包括如上所述的信息翻译装置。
优选的,所述即时通讯终端为智能手机、平板电脑或个人电脑。
与现有技术相比,本申请具有以下优点:
本申请优选实施例公开的方案中,即时通讯终端能够判断其接收的信息的语言类型与终端设置的默认语言类型是否一致,当不一致时,能够自动从预设的多语言对照文本字典库中查找对应的翻译信息,可有效解决现有即时通讯平台中当需要翻译消息内容时,用户操作流程复杂,如果用户不能及时理解对方的要表达的内容而严重影响即时通讯效果的问题。
在进一步的优选实施例中,可以将收到的文字信息转换为语音信息播放,并将采集到的语音信息转换为相应语言类型的文字信息后发送给其他终端,使一方用户不适合使用语音交流(如开会时)、另一方用户不方便进行键盘操作(如 开车时)的情况下也能够无障碍的进行交流,较大程度的提高了用户的使用体验。
附图说明
图1为本申请信息翻译方法第一实施例的流程图;
图2为本申请信息翻译方法第二实施例的流程图;
图3为本申请信息翻译方法第三实施例的流程图;
图4为本申请信息翻译装置一实施例的结构示意图。
具体实施方式
为使本申请的上述目的、特征和优点能够更加明显易懂,下面结合附图和具体实施方式对本申请作进一步详细的说明。
参照图1,示出了本申请信息翻译方法第一实施例的流程,执行主体为即时通讯平台中的终端(客户端)。在本优选实施例中,以通信双方传递的信息均为文字为例进行说明,本方法实施例包括以下步骤:
步骤S101:获取即时通讯终端收到的文字信息;
步骤S102:分析所述文字信息的语言类型;
在本优选实施例中,可以通过所述文字信息的Unicode编码判断其语言类型;也可以从该文字信息中截取预设长度的字符串(如前30个字符),然后从预设的多语言对照文本字典库中查找该字符串对应的语言类型。
字典库是由翻译人员预先设置的对照表,根据需要可以包括2种或多种语言(含国家语言和民族语言)文字对照,也可以包括1种或多种语言的文字和语音对照。
在进一步的优选实施例中,为降低即时通讯终端的存储负担,提高查询效率,字典库还可以采用分级设置方式,如,可以采用二级设置方式,具体的,在即时通讯终端中设置第一字典库,仅存储用户感兴趣的2种或多种语言的文字和语音对照表;在即时通讯服务器中设置第二字典库,全面存储多种语言的文字对照表及语音对照表。使用顺序为:首先在本地第一字典库中查询,如果匹配不成功,再到即时通讯服务器上的第二字典库中查询。
步骤S103:判断所述文字信息的语言类型与即时通讯终端的默认语言类型 是否一致;若是,转步骤S104;否则,转步骤S105;
关于即时通讯终端的默认语言类型,可以将终端操作系统的语言类型(字符集类型)作为其默认语言类型,也可以将用户为即时通讯客户端软件设置的语言类型作为即时通讯平台的默认语言类型。
步骤S104:在即时通讯终端上直接显示所述文字信息;
步骤S105:将所述文字信息作为查询条件,从预设的多语言对照文本字典库中查找对应于上述默认语言类型的译文信息,并在即时通讯终端上显示该译文信息。
本申请通过上述技术手段,可根据设置自动翻译收到的文字信息(例如,可以设置成:只要收到信息文本的类型与本地的默认语言类型不一致,就将收到的信息翻译后显示出来),有效解决了现有技术需要客户将待翻译的内容复制、粘贴到网上字典翻译造成的流程复杂、操作不连贯(看即时信息时需要将焦点在通信平台界面与字典操作界面交叉变换)、延迟较长等造成的严重影响即时通讯效果的问题。
参照图2,示出了本申请信息翻译方法第二实施例的流程,在本优选实施例中,以执行所述方法的终端收到和发送的信息为文字,在本地展现的信息(即翻译后的信息)和采集的信息(需要处理后发送的信息)为语音信息为例进行说明;本方法实施例具体包括以下步骤:
步骤S201:获取即时通讯终端收到的文字信息;
步骤S202:分析所述文字信息的语言类型;
步骤S203:判断所述文字信息的语言类型与即时通讯终端的默认语言类型是否一致;若是,转步骤S204;否则,转步骤S205;
步骤S204:从预设的多语言对照文本字典库中查找对应的语音信息,并在即时通讯终端上播放该语音信息;
步骤S205:从预设的多语言对照文本字典库中查找对应于上述默认语言类型的语音翻译信息,并在即时通讯终端上播放该语音翻译信息;
需要说明的是,在本优选实施例中,无论收到的文字信息的语言类型与本地终端的默认语言类型是否相同,都需要执行文字到语音的转换。步骤S204与S205的区别在于,文字信息在字典库中对应的列是不同的。
步骤S206:接收即时通讯终端采集的语音应答信息;
步骤S207:将所述语音应答信息转换为文字应答信息后,发送至相应的即时通讯终端。
在进一步的优选实施例中,步骤S207具体包括:
步骤S207-1:识别所述语音应答信息的语音类别;
在本优选实施例中,所述语音类别包括男性声音、女性声音和童声;
步骤S207-2:根据所述即时通讯终端的默认语言类型对应的音法,识别连续的语音段落,并对其进行断句切分,得到以词或句子为单位的切分文本;
步骤S207-3:从预设的多语言对照文本字典库中查找对应于所述切分文本的文字信息;
步骤S207-4:将所述文字信息发送出去。
本方法实施例通过上述手段,除了能够解决现有技术流程复杂、操作不连贯、延迟较长等造成的严重影响即时通讯效果的问题之外,还可以将收到的文字信息转换为语音信息播放,并将采集到的语音信息转换为相应语言类型的文字信息后发送给其他终端,使一方用户不适合使用语音交流(如开会时)、或一方用户不方便进行键盘操作(如开车时)的情况下也能够无障碍的进行交流,较大程度的提高了用户的使用体验。
参照图3,示出了本申请信息翻译方法第三实施例的流程,在本优选实施例中,以通信双方传递的信息均为语音信息为例进行说明,本方法实施例具体包括以下步骤:
步骤S301:获取即时通讯终端收到的语音信息;
步骤S302:分析所述语音信息的语言类型;
本优选实施例中,可以从该语音信息中截取预设长度的语音片段(如前10秒数据),然后从预设的多语言对照文本字典库中查找该语音片段对应的语言类型。
步骤S303:判断所述语音信息的语言类型与即时通讯终端的默认语言类型是否一致;若是,转步骤S304;否则,转步骤S305;
步骤S304:在即时通讯终端上直接播放所述语音信息;
步骤S305:将所述语音信息作为查询条件,从预设的多语言对照文本字典 库中查找对应于上述默认语言类型的语音翻译信息,并在即时通讯终端上播放该语音翻译信息;
在进一步的优选实施例中,步骤S305具体包括:
步骤S305-1:识别所述语音信息的语音类别;
上述语音类别包括男性声音、女性声音和童声;
步骤S305-2:根据步骤S302分析获得的所述语音信息对应的音法,识别连续的语音段落,并对其进行断句切分,得到以词或句子为单位的切分文本;
步骤S305-3:从预设的多语言对照文本字典库中查找对应于所述切分文本的语音翻译信息;
步骤S305-4:在即时通讯终端上播放该语音翻译信息。
本申请通过上述技术手段,可根据设置自动翻译收到的语音信息(例如,可以设置成:只要收到语音信息的类型与本地的默认语言类型不一致,就将收到的信息翻译后播放出来),有效解决了现有技术需要客户将待翻译的语音文件复制到相关工具(如网上字典)翻译造成的流程复杂、操作不连贯、延迟较长等造成的严重影响即时通讯效果的问题。
本申请还公开了一种在其上记录有用于执行上述实施例一~三所述方法的程序的计算机可读记录介质。所述计算机可读记录介质包括配置为以计算机(以计算机为例)可读的形式存储或传送信息的任何机制。例如,机器可读介质包括只读存储器(ROM)、随机存取存储器(RAM)、磁盘存储介质、光存储介质、闪速存储介质、电、光、声或其他形式的传播信号(例如,载波、红外信号、数字信号等)等。
参照图4,示出了本申请信息翻译装置一实施例的结构示意图,包括:
信息接收单元41,配置为获取即时通讯终端收到的第一信息;
信息类型分析单元42,配置为分析所述第一信息的语言类型;
类型比较单元43,配置为判断所述第一信息的语言类型与所述即时通讯终端的默认语言类型是否一致;当所述第一信息的语言类型与所述即时通讯终端的默认语言类型一致时,直接展现所述第一信息;当所述第一信息的语言类型与所述即时通讯终端的默认语言类型不一致时,调度信息翻译单元44将所述第一信息翻译成第二信息后展现出来;
信息翻译单元44,配置为将所述第一信息作为查询条件,从预设的多语言对照文本字典库中查找对应于所述默认语言类型的第二信息,并通过所述即时通讯终端展现所述第二信息;
语音信息获取单元45,配置为接收即时通讯终端采集的语音应答信息;
音文转换单元46,配置为当所述第一信息为文字、所述第二信息为语音时,将语音信息获取单元45接收的语音应答信息转换为文字应答信息,并发送至其他即时通讯终端;其中,转换方法具体为:识别所述语音应答信息的语音类别,所述语音类别包括男性声音、女性声音和童声;根据所述即时通讯终端的默认语言类型对应的音法,识别连续的语音段落,并对其进行断句切分,得到以词或句子为单位的切分文本;从预设的多语言对照文本字典库中查找对应于所述切分文本的文字信息;
信息多选单元47,配置为暂存用户选择的多个目标词或句子,调度信息翻译单元翻译后显示译文内容;
后台内容翻译单元48,配置为提取即时通讯终端的后台定制信息,调度类别比较单元43和信息翻译单元44将需要翻译的定制信息翻译成默认语言类型;其中,本实施例中的后台定制信息可以是即时通讯客户端中的生活圈的信息或订阅的其他服务信息。
另外,本申请还提供了一种即时通讯终端,包括有上述实施例中的信息翻译装置。该即时通讯终端可以是设置有即时通讯客户端软件的智能手机、平板电脑或个人电脑等。在上述即时通讯终端中,可以将终端操作系统的语言类型作为即时通讯平台的默认语言类型,也可以将用户为即时通讯客户端软件设置的语言类型作为即时通讯平台的默认语言类型。
需要说明的是,上述装置实施例属于优选实施例,所涉及的单元并不一定是本申请所必须的。
本说明书中的各个实施例均采用递进的方式描述,每个实施例重点说明的都是与其他实施例的不同之处,各个实施例之间相同相似的部分互相参见即可。对于本申请的装置实施例而言,由于其与方法实施例基本相似,所以描述的比较简单,相关之处参见方法实施例的部分说明即可。
以上对本申请所提供的一种即时通讯终端及其信息翻译方法和装置,进行 了详细介绍,本文中应用了具体个例对本申请的原理及实施方式进行了阐述,以上实施例的说明只是用于帮助理解本申请的方法及其核心思想;同时,对于本领域的一般技术人员,依据本申请的思想,在具体实施方式及应用范围上均会有改变之处,综上所述,本说明书内容不应理解为对本申请的限制。

Claims (11)

  1. 一种信息翻译方法,包括:
    获取即时通讯终端收到的第一信息;
    分析所述第一信息的语言类型;
    判断所述第一信息的语言类型与所述即时通讯终端的默认语言类型是否一致;
    若否,将所述第一信息作为查询条件,从预设的多语言对照文本字典库中查找对应于所述默认语言类型的第二信息,并通过所述即时通讯终端展现所述第二信息。
  2. 如权利要求1所述的方法,其中,所述第一信息为文字;分析所述第一信息的语言类型的方法具体包括:
    通过所述第一信息的Unicode编码判断所述第一信息的语言类型;
    或,
    从所述第一信息中截取预设长度的字符串,从预设的多语言对照文本字典库中查找所述字符串对应的语言类型。
  3. 如权利要求2所述的方法,其中,所述第二信息为语音;所述方法还包括:
    接收即时通讯终端采集的语音应答信息;
    将所述语音应答信息转换为文字应答信息后,发送至相应的即时通讯终端。
  4. 如权利要求3所述的方法,其中,将所述语音应答信息转换为文字应答信息的方法具体包括:
    识别所述语音应答信息的语音类别,所述语音类别包括男性声音、女性声音和童声;
    根据所述即时通讯终端的默认语言类型对应的音法,识别连续的语音段落,并对其进行断句切分,得到以词或句子为单位的切分文本;
    从预设的多语言对照文本字典库中查找对应于所述切分文本的文字信息。
  5. 如权利要求1或2所述的方法,其中,所述多语言对照文本字典库包括分别部署在即时通讯终端上的第一字典库和部署在服务器上的第二字典库;查找顺序为:先在所述第一字典库查找,若不能找到所述第一信息或对应的第二 信息,则从所述第二字典库进行进一步的查找。
  6. 一种信息翻译装置,包括:
    信息接收单元,配置为获取即时通讯终端收到的第一信息;
    信息类型分析单元,配置为分析所述第一信息的语言类型;
    类型比较单元,配置为判断所述第一信息的语言类型与所述即时通讯终端的默认语言类型是否一致;当所述第一信息的语言类型与所述即时通讯终端的默认语言类型一致时,直接展现所述第一信息;当所述第一信息的语言类型与所述即时通讯终端的默认语言类型不一致时,调度信息翻译单元将所述第一信息翻译成第二信息后展现出来;
    信息翻译单元,配置为将所述第一信息作为查询条件,从预设的多语言对照文本字典库中查找对应于所述默认语言类型的第二信息,并通过所述即时通讯终端展现所述第二信息。
  7. 如权利要求6所述的装置,其中,所述装置还包括:
    语音信息获取单元,配置为接收即时通讯终端采集的语音应答信息;
    音文转换单元,配置为当所述第一信息为文字、所述第二信息为语音时,将所述语音信息获取单元接收的语音应答信息转换为文字应答信息,并发送至其他即时通讯终端;其中,转换方法具体为:识别所述语音应答信息的语音类别,所述语音类别包括男性声音、女性声音和童声;根据所述即时通讯终端的默认语言类型对应的音法,识别连续的语音段落,并对其进行断句切分,得到以词或句子为单位的切分文本;从预设的多语言对照文本字典库中查找对应于所述切分文本的文字信息。
  8. 如权利要求6所述的装置,其中,所述装置还包括:
    信息多选单元,配置为暂存用户选择的多个目标词或句子,调度所述信息翻译单元翻译后显示译文内容;
    和/或,
    后台内容翻译单元,配置为提取所述即时通讯终端的后台定制信息,调度类别比较单元和信息翻译单元将需要翻译的定制信息翻译成默认语言类型。
  9. 一种即时通讯终端,其特征在于,包括如权利要求6~8任一所述的信息翻译装置。
  10. 如权利要求9所述的即时通讯终端,其特征在于,所述即时通讯终端为智能手机、平板电脑或个人电脑。
  11. 一种在其上记录有用于执行权利要求1~5任一所述方法的程序的计算机可读记录介质。
PCT/CN2015/078975 2014-10-23 2015-05-14 即时通讯终端及其信息翻译方法和装置 WO2016062073A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201410569682.8 2014-10-23
CN201410569682.8A CN104317787A (zh) 2014-10-23 2014-10-23 即时通讯终端及其信息翻译方法和装置

Publications (1)

Publication Number Publication Date
WO2016062073A1 true WO2016062073A1 (zh) 2016-04-28

Family

ID=52373020

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2015/078975 WO2016062073A1 (zh) 2014-10-23 2015-05-14 即时通讯终端及其信息翻译方法和装置

Country Status (2)

Country Link
CN (1) CN104317787A (zh)
WO (1) WO2016062073A1 (zh)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109448699A (zh) * 2018-12-15 2019-03-08 深圳壹账通智能科技有限公司 语音转换文本方法、装置、计算机设备及存储介质
CN109710949A (zh) * 2018-12-04 2019-05-03 深圳市酷达通讯有限公司 一种翻译方法及翻译机
CN110457717A (zh) * 2019-08-07 2019-11-15 深圳市博音科技有限公司 远程翻译系统及方法
CN113222788A (zh) * 2021-05-17 2021-08-06 广西安怡臣信息技术有限公司 一种智能阅卷方法
US11115355B2 (en) 2017-09-30 2021-09-07 Alibaba Group Holding Limited Information display method, apparatus, and devices

Families Citing this family (19)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104317787A (zh) * 2014-10-23 2015-01-28 迎新科技有限公司 即时通讯终端及其信息翻译方法和装置
CN105573988A (zh) * 2015-04-28 2016-05-11 宇龙计算机通信科技(深圳)有限公司 一种语音转换的方法及终端
CN105843794A (zh) * 2016-03-21 2016-08-10 广东欧珀移动通信有限公司 适应性聊天方法及装置
CN105955967A (zh) * 2016-06-27 2016-09-21 乐视控股(北京)有限公司 数据处理方法及装置
CN106057193A (zh) * 2016-07-13 2016-10-26 深圳市沃特沃德股份有限公司 基于电话会议的会议记录生成方法和装置
CN106528548A (zh) * 2016-11-15 2017-03-22 上海传英信息技术有限公司 短信显示方法和移动终端
WO2018161284A1 (zh) * 2017-03-08 2018-09-13 华为技术有限公司 一种多终端协同的翻译方法和终端
CN107248947B (zh) * 2017-05-22 2019-01-08 腾讯科技(深圳)有限公司 表情处理方法及装置、计算机设备及存储介质
CN107729325A (zh) * 2017-08-29 2018-02-23 捷开通讯(深圳)有限公司 一种智能翻译方法、存储设备及智能终端
CN107729315A (zh) * 2017-09-28 2018-02-23 努比亚技术有限公司 音频文件的显示方法、终端和计算机存储介质
CN109240775A (zh) * 2018-04-28 2019-01-18 上海触乐信息科技有限公司 一种聊天界面信息翻译方法、装置及终端设备
CN108833256A (zh) * 2018-05-04 2018-11-16 毛勇 一种即时通讯方法及系统
CN108848019A (zh) * 2018-05-04 2018-11-20 毛勇 一种即时通讯方法及系统
CN110908744B (zh) * 2018-09-17 2023-07-07 福建天泉教育科技有限公司 即时通讯软件系统消息多语言支持方法、存储介质
CN110428804A (zh) * 2019-09-04 2019-11-08 广东以诺通讯有限公司 一种智能通信方法及系统
CN111142965A (zh) * 2019-12-16 2020-05-12 深圳市优必选科技股份有限公司 语言配置方法、装置、电子设备及存储介质
CN111274828B (zh) * 2020-01-21 2021-02-02 陈刚 基于留言的语言翻译方法、系统、计算机程序和手持终端
CN112347794B (zh) * 2020-10-27 2023-06-09 深圳前海微众银行股份有限公司 数据翻译方法、装置、设备及计算机存储介质
CN112328348A (zh) * 2020-11-05 2021-02-05 深圳壹账通智能科技有限公司 应用程序多语言支持方法、装置、计算机设备及存储介质

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1612620A (zh) * 2003-10-31 2005-05-04 乐金电子(中国)研究开发中心有限公司 一种将文字短信转换为语音短信的系统及方法
CN101072168A (zh) * 2007-06-22 2007-11-14 腾讯科技(深圳)有限公司 一种多语言即时通讯终端及其系统和方法
CN102360347A (zh) * 2011-09-30 2012-02-22 宇龙计算机通信科技(深圳)有限公司 一种语音翻译方法、系统及语音翻译服务器
CN104010267A (zh) * 2013-02-22 2014-08-27 三星电子株式会社 支持基于翻译的通信服务方法和系统和支持该服务的终端
CN104317787A (zh) * 2014-10-23 2015-01-28 迎新科技有限公司 即时通讯终端及其信息翻译方法和装置

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1780267B (zh) * 2004-11-26 2010-05-12 中国移动通信集团公司 一种即时消息与语音通讯方式互通的方法及系统
CN101841564A (zh) * 2010-04-20 2010-09-22 赵峰 不同语种网络同步通讯技术
CN102340457A (zh) * 2010-07-22 2012-02-01 英业达股份有限公司 提供多种语言同时进行翻译转换的即时通讯系统及其方法
CN103179018A (zh) * 2011-12-23 2013-06-26 腾讯科技(深圳)有限公司 一种实现跨语言沟通的方法和服务器
CN102760122A (zh) * 2012-06-12 2012-10-31 上海量明科技发展有限公司 针对共用语言交互内容进行翻译的方法、客户端及系统
CN102740249A (zh) * 2012-06-19 2012-10-17 深圳市金立通信设备有限公司 一种手机信息传送过程中自动转为目标信息的方法

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1612620A (zh) * 2003-10-31 2005-05-04 乐金电子(中国)研究开发中心有限公司 一种将文字短信转换为语音短信的系统及方法
CN101072168A (zh) * 2007-06-22 2007-11-14 腾讯科技(深圳)有限公司 一种多语言即时通讯终端及其系统和方法
CN102360347A (zh) * 2011-09-30 2012-02-22 宇龙计算机通信科技(深圳)有限公司 一种语音翻译方法、系统及语音翻译服务器
CN104010267A (zh) * 2013-02-22 2014-08-27 三星电子株式会社 支持基于翻译的通信服务方法和系统和支持该服务的终端
CN104317787A (zh) * 2014-10-23 2015-01-28 迎新科技有限公司 即时通讯终端及其信息翻译方法和装置

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US11115355B2 (en) 2017-09-30 2021-09-07 Alibaba Group Holding Limited Information display method, apparatus, and devices
CN109710949A (zh) * 2018-12-04 2019-05-03 深圳市酷达通讯有限公司 一种翻译方法及翻译机
CN109710949B (zh) * 2018-12-04 2023-06-23 深圳市酷达通讯有限公司 一种翻译方法及翻译机
CN109448699A (zh) * 2018-12-15 2019-03-08 深圳壹账通智能科技有限公司 语音转换文本方法、装置、计算机设备及存储介质
CN110457717A (zh) * 2019-08-07 2019-11-15 深圳市博音科技有限公司 远程翻译系统及方法
CN110457717B (zh) * 2019-08-07 2023-04-07 深圳市博音科技有限公司 远程翻译系统及方法
CN113222788A (zh) * 2021-05-17 2021-08-06 广西安怡臣信息技术有限公司 一种智能阅卷方法

Also Published As

Publication number Publication date
CN104317787A (zh) 2015-01-28

Similar Documents

Publication Publication Date Title
WO2016062073A1 (zh) 即时通讯终端及其信息翻译方法和装置
US11036920B1 (en) Embedding location information in a media collaboration using natural language processing
KR101909807B1 (ko) 메시지 입력 방법 및 장치
CN110730952B (zh) 处理网络上的音频通信的方法和系统
US10991380B2 (en) Generating visual closed caption for sign language
JP6233798B2 (ja) データを変換する装置及び方法
US20150254061A1 (en) Method for user training of information dialogue system
US20140278377A1 (en) Automatic note taking within a virtual meeting
JP6987124B2 (ja) 通訳装置及び方法(device and method of translating a language)
JP2019534492A (ja) 通訳装置及び方法(device and method of translating a language into another language)
KR20170030297A (ko) 자연어 처리 시스템, 자연어 처리 장치, 자연어 처리 방법 및 컴퓨터 판독가능 기록매체
US20180013718A1 (en) Account adding method, terminal, server, and computer storage medium
JP2017111190A (ja) 対話テキスト要約装置及び方法
KR20160011620A (ko) 상호 작용하는 합성 캐릭터 대화 시스템 및 방법
JP2023539820A (ja) インタラクティブ情報処理方法、装置、機器、及び媒体
US20150066935A1 (en) Crowdsourcing and consolidating user notes taken in a virtual meeting
CN110493123B (zh) 即时通讯方法、装置、设备及存储介质
JPWO2015037073A1 (ja) 音声検索システム、音声検索方法、及びコンピュータ読み取り可能な記憶媒体
KR102348084B1 (ko) 영상표시장치, 영상표시장치의 구동방법 및 컴퓨터 판독가능 기록매체
WO2022134698A1 (zh) 视频处理方法及装置
CN106713111B (zh) 一种添加好友的处理方法、终端及服务器
WO2018205577A1 (zh) 即时通信应用中的文件发送
JP2017004270A (ja) 会議支援システム、及び会議支援方法
JP2012181358A (ja) テキスト表示時間決定装置、テキスト表示システム、方法およびプログラム
CN104484370B (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: 15851946

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 15/09/2017)

122 Ep: pct application non-entry in european phase

Ref document number: 15851946

Country of ref document: EP

Kind code of ref document: A1