CN108923810A - Translation method and related equipment - Google Patents
Translation method and related equipment Download PDFInfo
- Publication number
- CN108923810A CN108923810A CN201810618798.4A CN201810618798A CN108923810A CN 108923810 A CN108923810 A CN 108923810A CN 201810618798 A CN201810618798 A CN 201810618798A CN 108923810 A CN108923810 A CN 108923810A
- Authority
- CN
- China
- Prior art keywords
- voice
- wearable device
- audio
- translation
- electronic device
- Prior art date
- Legal status (The legal status 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 status listed.)
- Pending
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04B—TRANSMISSION
- H04B1/00—Details of transmission systems, not covered by a single one of groups H04B3/00 - H04B13/00; Details of transmission systems not characterised by the medium used for transmission
- H04B1/38—Transceivers, i.e. devices in which transmitter and receiver form a structural unit and in which at least one part is used for functions of transmitting and receiving
- H04B1/3827—Portable transceivers
- H04B1/385—Transceivers carried on the body, e.g. in helmets
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F40/00—Handling natural language data
- G06F40/40—Processing or translation of natural language
- G06F40/58—Use of machine translation, e.g. for multi-lingual retrieval, for server-side translation for client devices or for real-time translation
-
- G—PHYSICS
- G10—MUSICAL INSTRUMENTS; ACOUSTICS
- G10L—SPEECH ANALYSIS TECHNIQUES OR SPEECH SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING TECHNIQUES; SPEECH OR AUDIO CODING OR DECODING
- G10L15/00—Speech recognition
- G10L15/22—Procedures used during a speech recognition process, e.g. man-machine dialogue
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W4/00—Services specially adapted for wireless communication networks; Facilities therefor
- H04W4/80—Services using short range communication, e.g. near-field communication [NFC], radio-frequency identification [RFID] or low energy communication
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Computational Linguistics (AREA)
- Health & Medical Sciences (AREA)
- Audiology, Speech & Language Pathology (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- Acoustics & Sound (AREA)
- Multimedia (AREA)
- Artificial Intelligence (AREA)
- General Health & Medical Sciences (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Human Computer Interaction (AREA)
- Machine Translation (AREA)
Abstract
Description
技术领域technical field
本申请涉及电子技术领域,尤其涉及一种翻译方法及相关设备。The present application relates to the field of electronic technology, in particular to a translation method and related equipment.
背景技术Background technique
随着无线技术的成熟,可穿戴设备通过无线技术连接手机等电子装置的场景越来越多。人们可以通过可穿戴设备实现听音乐、打电话等各种功能。With the maturity of wireless technology, there are more and more scenarios where wearable devices are connected to electronic devices such as mobile phones through wireless technology. People can realize various functions such as listening to music and making calls through wearable devices.
发明内容Contents of the invention
本申请实施例提供一种翻译方法及相关设备,可以实现两个可穿戴设备对同一音频进行不同语言类型的语音翻译。Embodiments of the present application provide a translation method and related equipment, which can realize voice translation of the same audio in different languages by two wearable devices.
第一方面,本申请实施例提供一种可穿戴装置,所述可穿戴装置包括第一可穿戴设备和第二可穿戴设备,所述第一可穿戴设备和所述第二可穿戴设备均与所述电子装置建立无线连接;In a first aspect, an embodiment of the present application provides a wearable device, the wearable device includes a first wearable device and a second wearable device, and both the first wearable device and the second wearable device are compatible with The electronic device establishes a wireless connection;
所述第一可穿戴设备,用于接收所述电子装置发送的第一音频,将所述第一音频翻译为第一语音,播放所述第一语音;The first wearable device is configured to receive the first audio sent by the electronic device, translate the first audio into a first voice, and play the first voice;
所述第二可穿戴设备,用于接收所述电子装置发送的所述第一音频,将所述第一音频翻译为第二语音,播放所述第二语音;所述第一语音的语言类型与所述第二语音的语言类型不同。The second wearable device is configured to receive the first audio sent by the electronic device, translate the first audio into a second voice, and play the second voice; the language type of the first voice Different from the language type of the second voice.
第二方面,本申请实施例提供一种翻译方法,所述方法包括:In the second aspect, the embodiment of the present application provides a translation method, the method comprising:
第一可穿戴设备接收电子装置发送的第一音频,将所述第一音频翻译为第一语音,播放所述第一语音;The first wearable device receives the first audio sent by the electronic device, translates the first audio into a first voice, and plays the first voice;
第二可穿戴设备接收所述电子装置发送的所述第一音频,将所述第一音频翻译为第二语音,播放所述第二语音;所述第一语音的语言类型与所述第二语音的语言类型不同,所述第一可穿戴设备和所述第二可穿戴设备均与所述电子装置建立无线连接。The second wearable device receives the first audio sent by the electronic device, translates the first audio into a second voice, and plays the second voice; the language type of the first voice is the same as that of the second voice The language types of the voices are different, and both the first wearable device and the second wearable device establish a wireless connection with the electronic device.
第三方面,本申请实施例提供一种翻译装置,应用于可穿戴装置,所述翻译装置包括第一接收单元、第一翻译单元、第一播放单元、第二接收单元、第二翻译单元和第二播放单元,其中:In a third aspect, an embodiment of the present application provides a translation device, which is applied to a wearable device, and the translation device includes a first receiving unit, a first translation unit, a first playback unit, a second receiving unit, a second translation unit and The second playback unit, wherein:
所述第一接收单元,用于接收电子装置发送的第一音频;The first receiving unit is configured to receive the first audio sent by the electronic device;
所述第一翻译单元,用于将所述第一音频翻译为第一语音;The first translation unit is configured to translate the first audio into a first speech;
所述第一播放单元,用于播放所述第一语音;The first playback unit is configured to play the first voice;
所述第二接收单元,用于接收所述电子装置发送的所述第一音频;The second receiving unit is configured to receive the first audio sent by the electronic device;
所述第二翻译单元,用于将所述第一音频翻译为第二语音;The second translation unit is configured to translate the first audio into a second speech;
所述第二播放单元,用于播放所述第二语音;其中,所述第一语音的语言类型与所述第二语音的语言类型不同。The second playback unit is configured to play the second voice; wherein, the language type of the first voice is different from the language type of the second voice.
第四方面,本申请实施例提供一种可穿戴设备,包括处理器、存储器、通信接口以及一个或多个程序,其中,上述一个或多个程序被存储在上述存储器中,并且被配置由上述处理器执行,上述程序包括用于执行本申请实施例第二方面任一方法中的步骤的指令。In a fourth aspect, an embodiment of the present application provides a wearable device, including a processor, a memory, a communication interface, and one or more programs, wherein the one or more programs are stored in the memory and are configured by the above Executed by a processor, the above program includes instructions for executing the steps in any method of the second aspect of the embodiments of the present application.
第五方面,本申请实施例提供了一种计算机可读存储介质,其中,上述计算机可读存储介质存储用于电子数据交换的计算机程序,其中,上述计算机程序使得可穿戴设备执行如本申请实施例第二方面任一方法中所描述的部分或全部步骤。In the fifth aspect, the embodiment of the present application provides a computer-readable storage medium, wherein the above-mentioned computer-readable storage medium stores a computer program for electronic data exchange, wherein the above-mentioned computer program enables the wearable device to execute the For example, some or all of the steps described in any method of the second aspect.
第六方面,本申请实施例提供了一种计算机程序产品,其中,上述计算机程序产品包括存储了计算机程序的非瞬时性计算机可读存储介质,上述计算机程序可操作来使可穿戴装置执行如本申请实施例第二方面任一方法中所描述的部分或全部步骤。该计算机程序产品可以为一个软件安装包。In a sixth aspect, an embodiment of the present application provides a computer program product, wherein the computer program product includes a non-transitory computer-readable storage medium storing a computer program, and the computer program is operable to enable the wearable device to perform the following steps: Part or all of the steps described in any method of the second aspect of the application embodiment. The computer program product may be a software installation package.
在本申请实施例中,可穿戴装置包括第一可穿戴设备和第二可穿戴设备,第一可穿戴设备和第二可穿戴设备均与电子装置建立无线连接;第一可穿戴设备用于接收电子装置发送的第一音频,并将第一音频翻译为第一语音,以及播放第一语音;第二可穿戴设备用于接收电子装置发送的所述第一音频,并将第一音频翻译为第二语音,以及播放第二语音。本申请实施例中,两个可穿戴设备(第一可穿戴设备和第二可穿戴设备)可以从电子装置接收同一音频并进行不同语言类型的语音翻译,可以实现两个可穿戴设备对同一音频进行不同语言类型的语音翻译。In the embodiment of the present application, the wearable device includes a first wearable device and a second wearable device, and both the first wearable device and the second wearable device establish a wireless connection with the electronic device; the first wearable device is used to receive The first audio sent by the electronic device, and translate the first audio into the first voice, and play the first voice; the second wearable device is used to receive the first audio sent by the electronic device, and translate the first audio into the second voice, and play the second voice. In the embodiment of the present application, two wearable devices (the first wearable device and the second wearable device) can receive the same audio from the electronic device and perform voice translation in different languages, so that the two wearable devices can interpret the same audio Perform voice translation in different language types.
附图说明Description of drawings
为了更清楚地说明本申请实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions in the embodiments of the present application or the prior art, the following will briefly introduce the drawings that need to be used in the description of the embodiments or the prior art. Obviously, the accompanying drawings in the following description are only These are some embodiments of the present application. Those skilled in the art can also obtain other drawings based on these drawings without creative work.
图1a是本申请实施例公开的一种网络构架示意图;Figure 1a is a schematic diagram of a network architecture disclosed in an embodiment of the present application;
图1b是本申请实施例公开的一种可穿戴设备的结构示意图;Fig. 1b is a schematic structural diagram of a wearable device disclosed in an embodiment of the present application;
图2是本申请实施例公开的一种可穿戴装置的结构示意图;Fig. 2 is a schematic structural diagram of a wearable device disclosed in an embodiment of the present application;
图3是本申请实施例公开的一种第一可穿戴设备的结构示意图;Fig. 3 is a schematic structural diagram of a first wearable device disclosed in an embodiment of the present application;
图4是本申请实施例公开的一种第二可穿戴设备的结构示意图;Fig. 4 is a schematic structural diagram of a second wearable device disclosed in an embodiment of the present application;
图5是本申请实施例公开的一种翻译方法的流程示意图;Fig. 5 is a schematic flow chart of a translation method disclosed in the embodiment of the present application;
图6是本申请实施例公开的另一种翻译方法的流程示意图;Fig. 6 is a schematic flow chart of another translation method disclosed in the embodiment of the present application;
图7是本申请实施例公开的一种可穿戴设备的结构示意图;FIG. 7 is a schematic structural diagram of a wearable device disclosed in an embodiment of the present application;
图8是本申请实施例公开的一种翻译装置的结构示意图。Fig. 8 is a schematic structural diagram of a translation device disclosed in an embodiment of the present application.
具体实施方式Detailed ways
为了使本技术领域的人员更好地理解本申请方案,下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本申请一部分的实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都应当属于本申请保护的范围。In order to enable those skilled in the art to better understand the solution of the present application, the technical solution in the embodiment of the application will be clearly and completely described below in conjunction with the accompanying drawings in the embodiment of the application. Obviously, the described embodiment is only It is an embodiment of a part of the application, but not all of the embodiments. Based on the embodiments in this application, all other embodiments obtained by persons of ordinary skill in the art without creative efforts shall fall within the scope of protection of this application.
以下分别进行详细说明。Each will be described in detail below.
本申请的说明书和权利要求书及所述附图中的术语“第一”、“第二”、“第三”和“第四”等是用于区别不同对象,而不是用于描述特定顺序。此外,术语“包括”和“具有”以及它们任何变形,意图在于覆盖不排他的包含。例如包含了一系列步骤或单元的过程、方法、系统、产品或设备没有限定于已列出的步骤或单元,而是可选地还包括没有列出的步骤或单元,或可选地还包括对于这些过程、方法、产品或设备固有的其它步骤或单元。The terms "first", "second", "third" and "fourth" in the specification and claims of the present application and the drawings are used to distinguish different objects, rather than to describe a specific order . Furthermore, the terms "include" and "have", as well as any variations thereof, are intended to cover a non-exclusive inclusion. For example, a process, method, system, product or device comprising a series of steps or units is not limited to the listed steps or units, but optionally also includes unlisted steps or units, or optionally further includes For other steps or units inherent in these processes, methods, products or apparatuses.
在本文中提及“实施例”意味着,结合实施例描述的特定特征、结构或特性可以包含在本申请的至少一个实施例中。在说明书中的各个位置出现该短语并不一定均是指相同的实施例,也不是与其它实施例互斥的独立的或备选的实施例。本领域技术人员显式地和隐式地理解的是,本文所描述的实施例可以与其它实施例相结合。Reference herein to an "embodiment" means that a particular feature, structure, or characteristic described in connection with the embodiment can be included in at least one embodiment of the present application. The occurrences of this phrase in various places in the specification are not necessarily all referring to the same embodiment, nor are separate or alternative embodiments mutually exclusive of other embodiments. It is understood explicitly and implicitly by those skilled in the art that the embodiments described herein can be combined with other embodiments.
下面对本申请实施例进行详细介绍。The following describes the embodiments of the present application in detail.
请参阅图1a,图1a是本申请实施例公开的一种网络构架示意图。在图1a所示的网络构架中,可以包括第一可穿戴设备100、第二可穿戴设备200和电子装置300,其中,第一可穿戴设备100可以通过无线网络(例如,蓝牙、红外线或WiFi)与电子装置300建立通信连接,第二可穿戴设备200也可以通过无线网络与电子装置300建立通信连接。第一可穿戴设备100和第二可穿戴设备200都可以包括扬声器、处理模块(比如,处理器和存储器)和通信模块(比如,蓝牙模块)。在图1a所示的网络构架中,第一可穿戴设备100和第二可穿戴设备200都具有语音翻译功能,第一可穿戴设备100和电子装置300之间可以实现语音数据传输,第二可穿戴设备200和电子装置300之间也可以实现语音数据传输。第一可穿戴设备100和第二可穿戴设备200可以分别从电子装置300接收音频并进行翻译,从而可以实现两个可穿戴设备对同一音频进行不同语言类型的语音翻译。举例来说,如果第一可穿戴设备100和电子装置300之间建立蓝牙连接,第二可穿戴设备200和电子装置300之间建立蓝牙连接,则第一可穿戴设备100和电子装置300的蓝牙传输频段为第一蓝牙频段,第二可穿戴设备200和电子装置300的蓝牙传输频段为第二蓝牙频段,其中,第一蓝牙频段和第二蓝牙频段没有重合,第一蓝牙频段和第二蓝牙频段不相同。Please refer to FIG. 1a . FIG. 1a is a schematic diagram of a network architecture disclosed in an embodiment of the present application. In the network architecture shown in FIG. 1a, a first wearable device 100, a second wearable device 200, and an electronic device 300 may be included, wherein the first wearable device 100 may be connected via a wireless network (for example, Bluetooth, infrared or WiFi) ) to establish a communication connection with the electronic device 300, and the second wearable device 200 may also establish a communication connection with the electronic device 300 through a wireless network. Both the first wearable device 100 and the second wearable device 200 may include a speaker, a processing module (such as a processor and a memory), and a communication module (such as a Bluetooth module). In the network architecture shown in Figure 1a, both the first wearable device 100 and the second wearable device 200 have voice translation functions, voice data transmission can be realized between the first wearable device 100 and the electronic device 300, and the second wearable device 200 can Voice data transmission can also be realized between the wearable device 200 and the electronic device 300 . The first wearable device 100 and the second wearable device 200 can respectively receive audio from the electronic device 300 and translate it, so that the two wearable devices can perform voice translation of the same audio in different languages. For example, if a Bluetooth connection is established between the first wearable device 100 and the electronic device 300, and a Bluetooth connection is established between the second wearable device 200 and the electronic device 300, then the Bluetooth connection between the first wearable device 100 and the electronic device 300 The transmission frequency band is the first Bluetooth frequency band, and the Bluetooth transmission frequency band of the second wearable device 200 and the electronic device 300 is the second Bluetooth frequency band, wherein the first Bluetooth frequency band and the second Bluetooth frequency band do not overlap, and the first Bluetooth frequency band and the second Bluetooth frequency band The frequency bands are different.
可穿戴设备可以是便携式收听设备(例如,无线耳机)、智能手环、智能耳环、智能头带、智能头盔等。为了便于说明,以下实施例中的可穿戴设备以无线耳机为例进行说明。Wearable devices may be portable listening devices (eg, wireless headphones), smart bracelets, smart earrings, smart headbands, smart helmets, and the like. For ease of description, the wearable device in the following embodiments is described by taking a wireless earphone as an example.
无线耳机可以为挂耳式耳机,也可以为耳塞式耳机,也可以为头戴式耳机,本申请实施例不做限定。The wireless earphone may be an earphone, an earphone, or a headset, which is not limited in this embodiment of the present application.
无线耳机可以收纳在耳机盒中,耳机盒可以包括:两个接收腔(第一接收腔和第二接收腔),该两个接收腔的大小和形状设计成接收一对无线耳机(第一无线耳机和第二无线耳机);设置在盒内的一个或多个耳机外壳磁性部件,上述一个或多个耳机外壳磁性部件用于将一对无线耳机磁性吸引且分别磁性固定到两个接收腔中。耳机盒还可以包括耳机盖。其中,第一接收腔的大小和形状设计成接收第一无线耳机,第二接收腔的大小和形状设计成接收第二无线耳机。The wireless earphone can be stored in the earphone box, and the earphone box can include: two receiving cavities (the first receiving cavity and the second receiving cavity), the size and shape of the two receiving cavities are designed to receive a pair of wireless earphones (the first wireless earphone) earphone and a second wireless earphone); one or more magnetic parts of the earphone housing arranged in the box, and the above-mentioned one or more magnetic parts of the earphone housing are used to magnetically attract and magnetically fix a pair of wireless earphones into the two receiving cavities respectively . The earphone box can also include an earphone cover. Wherein, the size and shape of the first receiving cavity are designed to receive the first wireless earphone, and the size and shape of the second receiving cavity are designed to receive the second wireless earphone.
无线耳机可以包括耳机外壳、设置在耳机外壳内的可循环充电的电池(例如,锂电池)、用于连接电池与充电装置的多个金属触点、包括驱动器单元和定向声音端口的扬声器组件,其中,驱动器单元包括磁体、音圈和隔膜,驱动器单元用于从定向声音端口发出声音,上述多个金属触点设置在耳机外壳的外部表面。The wireless headset may include a headset housing, a rechargeable battery (e.g., a lithium battery) disposed within the headset housing, a plurality of metal contacts for connecting the battery to a charging device, a speaker assembly including a driver unit and a directional sound port, Wherein, the driver unit includes a magnet, a voice coil and a diaphragm, the driver unit is used to emit sound from the directional sound port, and the above-mentioned multiple metal contacts are arranged on the outer surface of the earphone shell.
在一种可能的实现方式中,无线耳机还可以包括触摸区,该触摸区可以位于在耳机外壳的外部表面,触摸区内设置有至少一个触摸传感器,用于检测触摸操作,触摸传感器可以包括电容传感器。当用户触摸触摸区时,至少一个电容传感器可以检测到自身电容的变化从而识别触摸操作。In a possible implementation manner, the wireless earphone can also include a touch area, which can be located on the outer surface of the earphone housing, and at least one touch sensor is arranged in the touch area to detect a touch operation, and the touch sensor can include a capacitor sensor. When the user touches the touch area, at least one capacitive sensor can detect the change of its own capacitance to identify the touch operation.
在一种可能的实现方式中,无线耳机还可以包括加速度传感器和三轴陀螺仪,加速度传感器和三轴陀螺仪可以设置在耳机外壳内,加速度传感器和三轴陀螺仪用于识别无线耳机的拿起动作和取下动作。In a possible implementation manner, the wireless earphone may further include an acceleration sensor and a three-axis gyroscope, the acceleration sensor and the three-axis gyroscope may be arranged in the earphone housing, and the acceleration sensor and the three-axis gyroscope are used to identify the holding position of the wireless earphone. Start action and remove action.
在一种可能的实现方式中,无线耳机还可以包括至少一个气压传感器,气压传感器可以设置在耳机外壳的表面,用于在无线耳机佩戴后检测耳内气压。可以通过气压传感器检测无线耳机的佩戴松紧度。当检测到无线耳机佩戴较松时,无线耳机可以向与无线耳机连接的电子装置(比如,手机)发送提示信息,以提示用户该无线耳机有掉落风险。In a possible implementation manner, the wireless earphone may further include at least one air pressure sensor, and the air pressure sensor may be disposed on the surface of the earphone shell to detect the air pressure in the ear after the wireless earphone is worn. The tightness of the wireless headset can be detected by the air pressure sensor. When it is detected that the wireless earphone is worn loosely, the wireless earphone may send a prompt message to an electronic device (for example, a mobile phone) connected to the wireless earphone, so as to remind the user that the wireless earphone may be dropped.
请参阅图1b,图1b是本申请实施例公开的一种可穿戴设备的结构示意图,可穿戴设备100包括存储和处理电路710,以及与所述存储和处理电路710连接的通信电路720和音频组件740,其中,在一些特定的可穿戴设备内,还可以设置显示组件730或触控组件。Please refer to FIG. 1b. FIG. 1b is a schematic structural diagram of a wearable device disclosed in an embodiment of the present application. The wearable device 100 includes a storage and processing circuit 710, and a communication circuit 720 and an audio circuit connected to the storage and processing circuit 710. Component 740, wherein, in some specific wearable devices, a display component 730 or a touch component may also be provided.
可穿戴设备100可以包括控制电路,该控制电路可以包括存储和处理电路710。该存储和处理电路710可以存储器,例如硬盘驱动存储器,非易失性存储器(例如闪存或用于形成固态驱动器的其它电子可编程只读存储器等),易失性存储器(例如静态或动态随机存取存储器等)等,本申请实施例不作限制。存储和处理电路710中的处理电路可以用于控制穿戴设备100的运转。该处理电路可以基于一个或多个微处理器,微控制器,数字信号处理器,基带处理器,功率管理单元,音频编解码器芯片,专用集成电路,显示驱动器集成电路等来实现。Wearable device 100 may include control circuitry, which may include storage and processing circuitry 710 . The storage and processing circuit 710 can be memory, such as hard disk drive memory, non-volatile memory (such as flash memory or other electronically programmable read-only memory used to form a solid-state drive, etc.), volatile memory (such as static or dynamic random access memory, etc.) access memory, etc.), etc., the embodiment of the present application is not limited. Processing circuitry in storage and processing circuitry 710 may be used to control the operation of wearable device 100 . The processing circuit may be implemented based on one or more microprocessors, microcontrollers, digital signal processors, baseband processors, power management units, audio codec chips, application specific integrated circuits, display driver integrated circuits, and the like.
存储和处理电路710可用于运行可穿戴设备100中的软件,例如互联网协议语音(Voice over Internet Protocol,VOIP)电话呼叫应用程序,同声翻译功能,媒体播放应用程序,操作系统功能等。这些软件可以用于执行一些控制操作,例如,基于照相机的图像采集,基于环境光传感器的环境光测量,基于接近传感器的接近传感器测量,基于诸如发光二极管的状态指示灯等状态指示器实现的信息显示功能,基于触摸传感器的触摸事件检测,与执行无线通信功能相关联的操作,与收集和产生音频信号相关联的操作,与收集和处理按钮按压事件数据相关联的控制操作,以及可穿戴设备100中的其它功能等,本申请实施例不作限制。The storage and processing circuit 710 can be used to run software in the wearable device 100, such as Voice over Internet Protocol (Voice over Internet Protocol, VOIP) telephone call application, simultaneous translation function, media player application, operating system functions, etc. These software can be used to perform control operations such as camera based image acquisition, ambient light measurement based on ambient light sensor, proximity sensor based measurement based on proximity sensor, information based on status indicators such as status indicators such as LEDs Display functions, touch event detection based on touch sensors, operations associated with performing wireless communication functions, operations associated with collecting and generating audio signals, control operations associated with collecting and processing button press event data, and wearable devices Other functions in 100 are not limited in this embodiment of the present application.
可穿戴设备100还可以包括输入-输出电路750。输入-输出电路750可用于使可穿戴设备100实现数据的输入和输出,即允许可穿戴设备100从外部设备接收数据和也允许可穿戴设备100将数据从可穿戴设备100输出至外部设备。输入-输出电路750可以进一步包括传感器770。传感器770可以包括环境光传感器,基于光和电容的接近传感器,触摸传感器(例如,基于光触摸传感器和/或电容式触摸传感器,其中,触摸传感器可以是触控显示屏的一部分,也可以作为一个触摸传感器结构独立使用),加速度传感器,和其它传感器等。The wearable device 100 may also include an input-output circuit 750 . The input-output circuit 750 can be used to enable the wearable device 100 to realize data input and output, that is, allow the wearable device 100 to receive data from external devices and also allow the wearable device 100 to output data from the wearable device 100 to external devices. The input-output circuit 750 may further include a sensor 770 . The sensor 770 can include an ambient light sensor, a proximity sensor based on light and capacitance, a touch sensor (for example, based on an optical touch sensor and/or a capacitive touch sensor, wherein the touch sensor can be part of the touch display or can be used as a The touch sensor structure is used independently), the acceleration sensor, and other sensors, etc.
输入-输出电路750还可以包括触摸传感器阵列(即,显示器730可以是触控显示屏)。触摸传感器可以是由透明的触摸传感器电极(例如氧化铟锡(ITO)电极)阵列形成的电容式触摸传感器,或者可以是使用其它触摸技术形成的触摸传感器,例如音波触控,压敏触摸,电阻触摸,光学触摸等,本申请实施例不作限制。Input-output circuitry 750 may also include a touch sensor array (ie, display 730 may be a touchscreen display). The touch sensor may be a capacitive touch sensor formed from an array of transparent touch sensor electrodes such as indium tin oxide (ITO) electrodes, or may be a touch sensor formed using other touch technologies such as acoustic touch, pressure sensitive touch, resistive touch Touch, optical touch, etc. are not limited in this embodiment of the application.
可穿戴设备100还可以包括音频组件740。音频组件740可以用于为可穿戴设备100提供音频输入和输出功能。可穿戴设备100中的音频组件740可以包括扬声器,麦克风,蜂鸣器,音调发生器以及其它用于产生和检测声音的组件。Wearable device 100 may also include an audio component 740 . The audio component 740 may be used to provide audio input and output functions for the wearable device 100 . The audio components 740 in the wearable device 100 may include speakers, microphones, buzzers, tone generators, and other components for generating and detecting sounds.
通信电路720可以用于为穿戴设备100提供与外部设备通信的能力。通信电路720可以包括模拟和数字输入-输出接口电路,和基于射频信号和/或光信号的无线通信电路。通信电路720中的无线通信电路可以包括射频收发器电路、功率放大器电路、低噪声放大器、开关、滤波器和天线。举例来说,通信电路720中的无线通信电路可以包括用于通过发射和接收近场耦合电磁信号来支持近场通信(Near Field Communication,NFC)的电路。例如,通信电路720可以包括近场通信天线和近场通信收发器。通信电路720还可以包括蜂窝电话收发器和天线,无线局域网收发器电路和天线等。The communication circuit 720 can be used to provide the wearable device 100 with the ability to communicate with external devices. The communication circuit 720 may include analog and digital input-output interface circuits, and wireless communication circuits based on radio frequency signals and/or optical signals. Wireless communication circuitry in communication circuitry 720 may include radio frequency transceiver circuitry, power amplifier circuitry, low noise amplifiers, switches, filters, and antennas. For example, the wireless communication circuit in the communication circuit 720 may include a circuit for supporting near field communication (Near Field Communication, NFC) by transmitting and receiving near field coupled electromagnetic signals. For example, communication circuitry 720 may include a near field communication antenna and a near field communication transceiver. Communications circuitry 720 may also include cellular telephone transceiver circuitry and antennas, wireless local area network transceiver circuitry and antennas, and the like.
可穿戴设备100还可以进一步包括电池,电力管理电路和其它输入-输出单元760。输入-输出单元760可以包括按钮,操纵杆,点击轮,滚动轮,触摸板,小键盘,键盘,照相机,发光二极管或其它状态指示器等。The wearable device 100 may further include a battery, a power management circuit and other input-output units 760 . The input-output unit 760 may include buttons, joystick, click wheel, scroll wheel, touch pad, keypad, keyboard, camera, light emitting diodes or other status indicators, and the like.
用户可以通过输入-输出电路750输入命令来控制可穿戴设备100的操作,并且可以使用输入-输出电路750的输出数据以实现接收来自可穿戴设备100的状态信息和其它输出。The user can input commands through the input-output circuit 750 to control the operation of the wearable device 100 , and can use the output data of the input-output circuit 750 to receive status information and other output from the wearable device 100 .
基于图1a的网络构架,公开了一种可穿戴装置。请参阅图2,图2是本申请实施例公开的一种可穿戴装置的结构示意图,可穿戴装置10可以包括第一可穿戴设备100和第二可穿戴设备200,第一可穿戴设备100和第二可穿戴设备200均与电子装置300建立无线连接;Based on the network architecture in Fig. 1a, a wearable device is disclosed. Please refer to FIG. 2. FIG. 2 is a schematic structural diagram of a wearable device disclosed in an embodiment of the present application. The wearable device 10 may include a first wearable device 100 and a second wearable device 200, the first wearable device 100 and the second wearable device 200. The second wearable device 200 establishes a wireless connection with the electronic device 300;
第一可穿戴设备100,用于接收电子装置300发送的第一音频,以及用于将第一音频翻译为第一语音,以及用于播放第一语音;The first wearable device 100 is configured to receive the first audio sent by the electronic device 300, and to translate the first audio into a first voice, and to play the first voice;
第二可穿戴设备200,用于接收电子装置300发送的第一音频,以及用于将第一音频翻译为第二语音,以及用于播放第二语音。The second wearable device 200 is used for receiving the first audio sent by the electronic device 300, for translating the first audio into a second voice, and for playing the second voice.
其中,第一语音的语言类型与第二语音的语言类型不同。语言类型指的是语言的种类,也可以简称语种,一般而言,世界上不同的地区的人说的语言类型大多不同,不同地区的人交流时,会出现语言沟通不畅的问题。本申请实施例可以通过可穿戴设备实现语音翻译,解决语言沟通不畅的问题。Wherein, the language type of the first voice is different from the language type of the second voice. Language type refers to the type of language, which can also be referred to as language. Generally speaking, people in different regions of the world speak different types of languages. When people from different regions communicate, there will be problems of poor language communication. In this embodiment of the present application, a wearable device can be used to realize voice translation, so as to solve the problem of poor language communication.
本申请实施例中,第一可穿戴设备100可以将第一音频翻译为第一语音;第二可穿戴设备200可以将第一音频翻译为第二语音。其中,第一音频的语言类型与第一语音的语言类型不同;第一音频的语言类型与第二语音的语言类型不同。比如,第一音频的语言类型为英语,第一语音的语言类型为汉语;第二语音的语言类型为日语。电子装置300向第一可穿戴设备100和第二可穿戴设备200发送的第一音频可以是电子装置300上运行的某一应用(APP)产生的音频。In the embodiment of the present application, the first wearable device 100 may translate the first audio into the first voice; the second wearable device 200 may translate the first audio into the second voice. Wherein, the language type of the first audio is different from the language type of the first voice; the language type of the first audio is different from the language type of the second voice. For example, the language type of the first audio is English, the language type of the first voice is Chinese; the language type of the second voice is Japanese. The first audio sent by the electronic device 300 to the first wearable device 100 and the second wearable device 200 may be audio generated by an application (APP) running on the electronic device 300 .
举例来说,两个语言不通的人(第一用户和第二用户)在电子装置300观看同一部视频时,第一用户佩戴第一可穿戴设备100,第二用户佩戴第二可穿戴设备200,第一用户擅长汉语,第二用户擅长日语,第一用户和第二用户均不擅长英语,而电子装置300上播放的视频的音频为英语,此时,可以采用本申请实施例的方案来满足第一用户和第二用户同时观看同一部视频的翻译需求。其中,第一可穿戴设备100和第二可穿戴设备200可以组成一幅耳机。For example, when two people (the first user and the second user) who do not understand the same language watch the same video on the electronic device 300, the first user wears the first wearable device 100, and the second user wears the second wearable device 200 , the first user is good at Chinese, the second user is good at Japanese, the first user and the second user are not good at English, and the audio of the video played on the electronic device 300 is English, at this time, the solution of the embodiment of the present application can be used to Meet the translation needs of the first user and the second user watching the same video at the same time. Wherein, the first wearable device 100 and the second wearable device 200 may form an earphone.
又例如,两个语言不通的人(第一用户和第二用户)在电子装置300上与第三用户进行语音通话或者视频通话时,第一用户佩戴第一可穿戴设备100,第二用户佩戴第二可穿戴设备200,第一用户擅长汉语,第二用户擅长日语,第三用户擅长英语,第一用户和第二用户均不擅长英语,第三用户不擅长汉语和日语,第三用户发出的第一音频(对应的语言类型为英语)到电子装置300后,电子装置300将第一音频发给第一可穿戴设备100和第二可穿戴设备200,第一可穿戴设备100将第一音频翻译为第一用户可以听懂的第一语音(对应的语言类型为汉语),第二可穿戴设备200将第一音频翻译为第二用户可以听懂的第二语音(对应的语言类型为日语)。此时,可以采用本申请实施例的方案来满足第一用户和第二用户同时与第三用户语音或视频聊天过程中的翻译需求。其中,第一可穿戴设备100和第二可穿戴设备200可以组成一幅耳机。For another example, when two people (the first user and the second user) who do not understand the language make a voice call or video call with the third user on the electronic device 300, the first user wears the first wearable device 100, and the second user wears the wearable device 100. For the second wearable device 200, the first user is good at Chinese, the second user is good at Japanese, the third user is good at English, the first user and the second user are not good at English, the third user is not good at Chinese and Japanese, and the third user sends After the first audio (the corresponding language type is English) is sent to the electronic device 300, the electronic device 300 sends the first audio to the first wearable device 100 and the second wearable device 200, and the first wearable device 100 transmits the first The audio is translated into a first voice that the first user can understand (the corresponding language type is Chinese), and the second wearable device 200 translates the first audio into a second voice that the second user can understand (the corresponding language type is Chinese). Japanese). At this time, the solutions of the embodiments of the present application can be used to meet the translation needs of the first user and the second user during voice or video chats with the third user at the same time. Wherein, the first wearable device 100 and the second wearable device 200 may form an earphone.
本申请实施例中,可以在第一可穿戴设备100和第二可穿戴设备200上设置语音翻译按键。下面以第一可穿戴设备100为例进行说明。In the embodiment of the present application, a voice translation button can be set on the first wearable device 100 and the second wearable device 200 . The following takes the first wearable device 100 as an example for description.
当用户按压第一可穿戴设备100上设置的语音翻译按键时,即可触发第一可穿戴设备100进入语音翻译模式,当用户再次按压语音翻译按键时,即可退出语音翻译模式。进一步的,语音翻译按键还可以具有语言选择功能,上下按压语音翻译按键,可以打开或退出语音翻译模式,左右按压语音翻译按键,可以切换选择需要翻译的语言类型。并且在左右按压语音翻译按键时,可以在第一可穿戴设备100的扬声器输出选择需要翻译的语言类型的提示音。本申请实施例可以设置一个按键实现语音翻译开关以及语音翻译的语言类型的选择功能,节省第一可穿戴设备的按键使用数量,降低物料使用成本。When the user presses the voice translation button set on the first wearable device 100, the first wearable device 100 can be triggered to enter the voice translation mode, and when the user presses the voice translation button again, the voice translation mode can be exited. Further, the voice translation button can also have a language selection function. Press the voice translation button up and down to open or exit the voice translation mode, and press the voice translation button left and right to switch and select the language type to be translated. And when the voice translation button is pressed left or right, the speaker of the first wearable device 100 can output a prompt sound for selecting the language type to be translated. In the embodiment of the present application, a button can be set to realize the voice translation switch and the language type selection function of the voice translation, which saves the number of buttons used on the first wearable device and reduces the cost of materials.
可选的,第一可穿戴设备100,还用于接收第一用户输入的语音翻译指令,进入语音翻译模式;Optionally, the first wearable device 100 is further configured to receive a voice translation instruction input by the first user, and enter a voice translation mode;
第一可穿戴设备100,还用于接收第一用户输入的待翻译语音选择指令,选择第一语音对应的语言类型作为待翻译语音的语言类型。The first wearable device 100 is further configured to receive an instruction for selecting a voice to be translated input by the first user, and select a language type corresponding to the first voice as the language type of the voice to be translated.
本申请实施例中,第一可穿戴设备100的表面可以设置用于检测第一用户触摸操作的触摸区域。例如,可以在第一可穿戴设备100的表面的预设区域设置压力传感器,第一可穿戴设备100可以根据第一用户在触摸区域的按压时长和按压力度来生成相应的控制指令,以控制是否进入语音翻译模式,以及选择需要翻译的语言类型。又例如,第一可穿戴设备100可以检测单位时间(比如:1秒或两秒)内第一用户在触摸区域内的敲击次数,根据敲击次数与控制指令的对应关系生成对应的控制指令。比如,敲击一次后,第一可穿戴设备100通过其内置的扬声器输出提示音,以提示第一用户进入语音翻译模式。又例如,第一可穿戴设备100可以检测单位时间(比如:1秒或两秒)内第一用户在触摸区域内的滑动轨迹来生成相应的待翻译语音选择指令。比如,第一用户可以在触摸区域向某一方向滑动来切换第一可穿戴设备100当前待翻译语音的语言类型,并且第一可穿戴设备100可以通过其内置的扬声器输出提示音,以提示第一用户当前选择的待翻译语音的语言类型。本申请实施例无需使用物理按键,可以节约第一可穿戴设备的空间,提高空间利用率。In the embodiment of the present application, the surface of the first wearable device 100 may be provided with a touch area for detecting a touch operation by the first user. For example, a pressure sensor can be set in a preset area on the surface of the first wearable device 100, and the first wearable device 100 can generate a corresponding control instruction according to the pressing time and pressing force of the first user on the touch area, so as to control whether Enter the voice translation mode and select the language type to be translated. For another example, the first wearable device 100 may detect the number of taps of the first user in the touch area within a unit time (for example: 1 second or 2 seconds), and generate corresponding control instructions according to the correspondence between the number of taps and the control instruction . For example, after tapping once, the first wearable device 100 outputs a prompt sound through its built-in speaker to prompt the first user to enter the speech translation mode. For another example, the first wearable device 100 may detect the sliding track of the first user in the touch area within a unit time (for example: 1 second or 2 seconds) to generate a corresponding voice selection instruction to be translated. For example, the first user can slide in a certain direction on the touch area to switch the language type of the voice to be translated by the first wearable device 100, and the first wearable device 100 can output a prompt sound through its built-in speaker to prompt the second A language type of the voice to be translated currently selected by the user. The embodiment of the present application does not need to use physical buttons, which can save the space of the first wearable device and improve the space utilization rate.
可选的,第二可穿戴设备200,还用于接收第二用户输入的语音翻译指令,进入语音翻译模式;Optionally, the second wearable device 200 is also configured to receive a voice translation instruction input by the second user, and enter a voice translation mode;
第二可穿戴设备200,还用于接收第二用户输入的待翻译语音选择指令,选择第二语音对应的语言类型作为待翻译语音的语言类型。The second wearable device 200 is further configured to receive an instruction for selecting a voice to be translated input by the second user, and select a language type corresponding to the second voice as the language type of the voice to be translated.
其中,上述第二可穿戴设备200选择待翻译语音的语言类型的具体实施方式与上述第一可穿戴设备100选择待翻译语音的语言类型的实施方式类似,可以参见上述第一可穿戴设备100选择待翻译语音的语言类型的相关描述。此处不再赘述。Wherein, the above-mentioned second wearable device 200 selects the language type of the speech to be translated in a specific implementation manner similar to the implementation of the above-mentioned first wearable device 100 to select the language type of the speech to be translated, please refer to the above-mentioned first wearable device 100 selection A description of the language type of the speech to be translated. I won't repeat them here.
可选的,第一可穿戴设备100的表面还可以设置指纹检测区域,当第一用户按压指纹检测区域时,第一可穿戴设备100的指纹传感器开始工作,采集第一用户输入的指纹,并进行验证,当检测到第一用户输入的指纹与预先存储的指纹模板匹配时,确定验证通过,允许第一用户对第一可穿戴设备进行触控操作。本申请实施例可以进行指纹安全验证,防止陌生用户对第一可穿戴设备进行操控,提高第一可穿戴设备的安全性。Optionally, a fingerprint detection area may also be set on the surface of the first wearable device 100. When the first user presses the fingerprint detection area, the fingerprint sensor of the first wearable device 100 starts to work, collects the fingerprint input by the first user, and Verification is performed, and when it is detected that the fingerprint input by the first user matches the pre-stored fingerprint template, it is determined that the verification is passed, and the first user is allowed to perform a touch operation on the first wearable device. In the embodiment of the present application, fingerprint security verification can be performed to prevent unfamiliar users from manipulating the first wearable device and improve the security of the first wearable device.
类似的,第二可穿戴设备200的表面还可以设置指纹检测区域来进行指纹安全验证,防止陌生用户对第二可穿戴设备进行操控,提高第二可穿戴设备的安全性。Similarly, a fingerprint detection area can also be set on the surface of the second wearable device 200 to perform fingerprint security verification, so as to prevent unfamiliar users from manipulating the second wearable device and improve the security of the second wearable device.
可选的,请参阅图3,图3是本申请实施例公开的一种第一可穿戴设备的结构示意图。如图3所示,第一可穿戴设备100可以包括第一通信模块11、第一扬声器12和第一控制器13,第一通信模块11、第一扬声器12连接第一控制器13,其中:Optionally, please refer to FIG. 3 . FIG. 3 is a schematic structural diagram of a first wearable device disclosed in an embodiment of the present application. As shown in FIG. 3 , the first wearable device 100 may include a first communication module 11, a first speaker 12 and a first controller 13, and the first communication module 11 and the first speaker 12 are connected to the first controller 13, wherein:
第一通信模块11,用于接收电子装置300发送的第一音频。The first communication module 11 is configured to receive the first audio sent by the electronic device 300 .
第一控制器13,用于将第一音频翻译为第一语音。The first controller 13 is configured to translate the first audio into a first voice.
第一扬声器12,用于播放第一语音。The first speaker 12 is used to play the first voice.
可选的,第一可穿戴设备100还可以包括至少一个第一麦克风,第一麦克风可以采集用户输入的语音。Optionally, the first wearable device 100 may further include at least one first microphone, and the first microphone may collect voice input by the user.
本申请实施例中,第一通信模块11可以包括第一蓝牙模块,第一可穿戴设备100可以通过第一蓝牙模块与电子装置300建立通信连接,并可以接收电子装置300发送的音频,以及将用户输入的语音发送给电子装置300。In the embodiment of the present application, the first communication module 11 may include a first Bluetooth module, and the first wearable device 100 may establish a communication connection with the electronic device 300 through the first Bluetooth module, and may receive audio sent by the electronic device 300, and The voice input by the user is sent to the electronic device 300 .
第一控制器13可以包括处理器和存储器,该处理器是第一可穿戴设备100的控制中心,利用各种接口和线路连接整个可穿戴设备的各个部分,通过运行或执行存储在存储器内的软件程序和/或模块,以及调用存储在存储器内的数据,执行可穿戴设备的各种功能和处理数据,从而对可穿戴设备进行整体监控。可选的,处理器可集成应用处理器和调制解调处理器,其中,应用处理器主要处理操作系统、用户界面和应用程序等,调制解调处理器主要处理无线通信。可以理解的是,上述调制解调处理器也可以不集成到处理器中。The first controller 13 may include a processor and a memory. The processor is the control center of the first wearable device 100. It uses various interfaces and lines to connect various parts of the entire wearable device. The software programs and/or modules, as well as calling the data stored in the memory, execute various functions of the wearable device and process data, so as to monitor the wearable device as a whole. Optionally, the processor may integrate an application processor and a modem processor, wherein the application processor mainly processes operating systems, user interfaces, and application programs, and the modem processor mainly processes wireless communications. It can be understood that the foregoing modem processor may not be integrated into the processor.
其中,存储器可用于存储软件程序以及模块,处理器通过运行存储在存储器的软件程序以及模块,从而执行可穿戴设备的各种功能应用以及数据处理。存储器可主要包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需的应用程序等;存储数据区可存储根据可穿戴设备的使用所创建的数据等。此外,存储器可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件、闪存器件、或其他易失性固态存储器件。Wherein, the memory can be used to store software programs and modules, and the processor executes various functional applications and data processing of the wearable device by running the software programs and modules stored in the memory. The memory may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application program required by at least one function, etc.; the data storage area may store data created according to use of the wearable device, etc. In addition, the memory may include high-speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid-state storage devices.
可选的,第一可穿戴设备100还可以设置声纹验证,仅在通过声纹验证后进入语音翻译模式。第一可穿戴设备100的麦克风采集用户输入的第一语音之后,第一控制器13对第一语音进行声纹验证,提取第一语音中的第一声纹特征,将第一声纹特征与预先存储的声纹特征模板进行匹配验证,当第一声纹特征与预先存储的声纹特征模板匹配时,确定验证通过,第一控制器13将第一语音翻译为第二语音,执行后续的操作。本申请实施例可以进行声纹验证,防止陌生用户对第一可穿戴设备进行操控,提高第一可穿戴设备的安全性。类似的,第二可穿戴设备200也可以设置声纹验证。Optionally, the first wearable device 100 can also set voiceprint verification, and only enter the voice translation mode after passing the voiceprint verification. After the microphone of the first wearable device 100 collects the first voice input by the user, the first controller 13 performs voiceprint verification on the first voice, extracts the first voiceprint feature in the first voice, and combines the first voiceprint feature with the The pre-stored voiceprint feature template is matched and verified. When the first voiceprint feature matches the pre-stored voiceprint feature template, it is determined that the verification is passed. The first controller 13 translates the first voice into a second voice, and executes the subsequent operate. In the embodiment of the present application, voiceprint verification can be performed to prevent unfamiliar users from manipulating the first wearable device and improve the security of the first wearable device. Similarly, the second wearable device 200 can also set voiceprint verification.
可选的,请参阅图4,图4是本申请实施例公开的一种第二可穿戴设备的结构示意图。如图4所示,第二可穿戴设备200可以包括第二通信模块21、第二扬声器22和第二控制器23,第二通信模块21、第二扬声器22连接第二控制器23,其中:Optionally, please refer to FIG. 4 , which is a schematic structural diagram of a second wearable device disclosed in an embodiment of the present application. As shown in Figure 4, the second wearable device 200 may include a second communication module 21, a second speaker 22 and a second controller 23, the second communication module 21 and the second speaker 22 are connected to the second controller 23, wherein:
第二通信模块21,用于接收电子装置300发送的第一音频。The second communication module 21 is configured to receive the first audio sent by the electronic device 300 .
第二控制器23,用于将第一音频翻译为第二语音。The second controller 23 is configured to translate the first audio into a second voice.
第二扬声器22,用于播放第二语音,其中,第一语音的语言类型与第二语音的语言类型不同。The second speaker 22 is used to play the second voice, wherein the language type of the first voice is different from the language type of the second voice.
可选的,第二可穿戴设备200还可以包括至少一个第二麦克风,第二麦克风可以采集用户输入的语音。Optionally, the second wearable device 200 may further include at least one second microphone, and the second microphone may collect voice input by the user.
本申请实施例中,第二通信模块21可以包括第二蓝牙模块,第二可穿戴设备200可以通过第二蓝牙模块与电子装置300建立通信连接,并可以接收电子装置300发送的音频,以及将用户输入的语音发送给电子装置300。In the embodiment of the present application, the second communication module 21 may include a second Bluetooth module, and the second wearable device 200 may establish a communication connection with the electronic device 300 through the second Bluetooth module, and may receive audio sent by the electronic device 300, and The voice input by the user is sent to the electronic device 300 .
第二控制器23与第一控制器13类似,也可以包括处理器和存储器。第二控制器23的功能和原理可以参见上述第一控制器13的描述,此处不再赘述。Similar to the first controller 13, the second controller 23 may also include a processor and a memory. For the function and principle of the second controller 23, reference may be made to the description of the first controller 13 above, and details will not be repeated here.
本申请实施例中,两个可穿戴设备可以从电子装置接收同一音频并进行不同语言类型的语音翻译,可以实现两个可穿戴设备对同一音频进行不同语言类型的语音翻译。In the embodiment of the present application, two wearable devices can receive the same audio from the electronic device and perform speech translation in different languages, so that two wearable devices can perform speech translation in different languages for the same audio.
可选的,第一可穿戴设备100将第一音频翻译为第一语音,具体为:Optionally, the first wearable device 100 translates the first audio into the first voice, specifically:
第一可穿戴设备100向翻译服务器发送翻译请求,该翻译请求携带第一音频以及第一语音标识,该翻译请求用于翻译服务器将第一音频翻译为第一语音标识对应的第一语音;The first wearable device 100 sends a translation request to the translation server, the translation request carries the first audio and the first voice identifier, and the translation request is used for the translation server to translate the first audio into the first voice corresponding to the first voice identifier;
第一可穿戴设备100接收翻译服务器返回的第一语音。The first wearable device 100 receives the first voice returned by the translation server.
本申请实施例中,第一可穿戴设备100可以具有联网功能,第一可穿戴设备100可以连接蜂窝网络,第一可穿戴设备100可以通过基站访问翻译服务器,翻译服务器可以实现语音翻译功能。具体的,第一可穿戴设备100可以向翻译服务器发送翻译请求,该翻译请求携带第一音频以及第一语音标识,第一语音标识可以是根据第一用户在第一可穿戴设备100上选择的语言类型后生成的。翻译服务器将第一音频翻译为第一语音标识对应的第一语音,并将翻译后的第一语音发送给第一可穿戴设备100。In the embodiment of the present application, the first wearable device 100 may have a networking function, the first wearable device 100 may be connected to a cellular network, the first wearable device 100 may access a translation server through a base station, and the translation server may implement a voice translation function. Specifically, the first wearable device 100 may send a translation request to the translation server, the translation request carries the first audio and the first voice identifier, and the first voice identifier may be selected by the first user on the first wearable device 100 generated after the language type. The translation server translates the first audio into a first voice corresponding to the first voice identifier, and sends the translated first voice to the first wearable device 100 .
翻译服务器将第一音频翻译为第一语音标识对应的第一语音,具体可以为:The translation server translates the first audio into the first voice corresponding to the first voice identifier, specifically:
翻译服务器启动语音识别功能,将第一音频转换为第一文本,将第一文本翻译为第一语音标识对应的第二文本,根据第二文本生成第一语音。The translation server activates the voice recognition function, converts the first audio into the first text, translates the first text into the second text corresponding to the first voice identifier, and generates the first voice according to the second text.
本申请实施例中,可穿戴设备可以具备连接蜂窝网络的功能,无需通过第三方设备(比如手机)作为语音翻译的中转,可以随时随地进行语音翻译,并且可以快速实现语音翻译,提高语音翻译的实时性,从而实现语音实时翻译。In the embodiment of this application, the wearable device can have the function of connecting to the cellular network, without using a third-party device (such as a mobile phone) as a relay for voice translation, and can perform voice translation anytime, anywhere, and can quickly realize voice translation, improving the efficiency of voice translation. Real-time, so as to realize real-time voice translation.
可选的,第二可穿戴设备200将第二音频翻译为第二语音,具体为:Optionally, the second wearable device 200 translates the second audio into the second voice, specifically:
第二可穿戴设备200向翻译服务器发送翻译请求,该翻译请求携带第一音频以及第二语音标识,该翻译请求用于翻译服务器将第一音频翻译为第二语音标识对应的第二语音;The second wearable device 200 sends a translation request to the translation server, the translation request carries the first audio and the second voice identifier, and the translation request is used for the translation server to translate the first audio into a second voice corresponding to the second voice identifier;
第二可穿戴设备200接收翻译服务器返回的第二语音。The second wearable device 200 receives the second voice returned by the translation server.
类似的,第二可穿戴设备200将第一音频翻译为第二语音的具体实现方式可以参见上述第一可穿戴设备100将第一音频翻译为第一语音的具体实施,此处不再赘述。Similarly, the specific implementation manner of the second wearable device 200 translating the first audio into the second voice can refer to the above-mentioned specific implementation of the first wearable device 100 translating the first audio into the first voice, which will not be repeated here.
可选的,第一可穿戴设备100,还用于接收第一用户输入的第一音量调节指令,第一音量调节指令用于调节第一语音的音量;Optionally, the first wearable device 100 is further configured to receive a first volume adjustment instruction input by the first user, where the first volume adjustment instruction is used to adjust the volume of the first voice;
第二可穿戴设备200,还用于接收第二用户输入的第二音量调节指令,第二音量调节指令用于调节第二语音的音量。The second wearable device 200 is further configured to receive a second volume adjustment instruction input by the second user, and the second volume adjustment instruction is used to adjust the volume of the second voice.
本申请实施例中,第一用户可以通过设置在第一可穿戴设备100上的按键或者按钮来输入第一音量调节指令。第一用户也可以通过第一可穿戴设备100的表面上的触摸区域来触控输入第一音量调节指令。其中,第一音量调节指令可以用于调节第一可穿戴设备100上播放的第一语音的音量。In the embodiment of the present application, the first user may input the first volume adjustment instruction through a key or a button provided on the first wearable device 100 . The first user may also touch and input the first volume adjustment instruction through the touch area on the surface of the first wearable device 100 . Wherein, the first volume adjustment instruction may be used to adjust the volume of the first voice played on the first wearable device 100 .
举例来说,第一可穿戴设备100的表面可以设置用于检测第一用户触摸操作的触摸区域。例如,可以在第一可穿戴设备100的表面的预设区域设置压力传感器,第一可穿戴设备100可以根据第一用户在触摸区域的按压时长和按压力度来生成相应的音量调节指令。例如,第一可穿戴设备100可以检测触摸区域的第一子区域的按压力度来增加第一语音的播放音量,其中,第一子区域的按压力度越大,第一语音的播放音量增加量越大;第一可穿戴设备100可以检测触摸区域的第二子区域的按压力度来降低第一语音的播放音量,其中,第二子区域的按压力度越大,第一语音的播放音量减小量越大。其中,第一子区域和第二子区域没有重合区域。本申请实施例无需使用物理按键,可以节约第一可穿戴设备的空间,提高空间利用率。For example, the surface of the first wearable device 100 may be provided with a touch area for detecting a touch operation by the first user. For example, a pressure sensor may be provided in a preset area on the surface of the first wearable device 100, and the first wearable device 100 may generate corresponding volume adjustment instructions according to the pressing time and pressing force of the first user on the touch area. For example, the first wearable device 100 may detect the pressure of the first sub-area of the touch area to increase the playback volume of the first voice, wherein the greater the pressure of the first sub-area, the greater the volume increase of the first voice. Large; the first wearable device 100 can detect the pressing force of the second sub-area of the touch area to reduce the playing volume of the first voice, wherein the greater the pressing force of the second sub-area, the lower the playing volume of the first voice bigger. Wherein, the first sub-area and the second sub-area do not overlap. The embodiment of the present application does not need to use physical buttons, which can save the space of the first wearable device and improve the space utilization rate.
第二用户可以通过设置在第二可穿戴设备200上的按键或者按钮来输入第二音量调节指令。第二用户也可以通过第二可穿戴设备200的表面上的触摸区域来触控输入第二音量调节指令。其中,第二音量调节指令可以用于调节第二可穿戴设备200上播放的第二语音的音量。The second user may input a second volume adjustment command through a key or a button provided on the second wearable device 200 . The second user may also touch and input the second volume adjustment command through the touch area on the surface of the second wearable device 200 . Wherein, the second volume adjustment instruction may be used to adjust the volume of the second voice played on the second wearable device 200 .
其中,第二用户也通过第二可穿戴设备200的表面上的触摸区域来触控输入第二音量调节指令的具体实现方式可以参见上述第一用户通过设置在第一可穿戴设备100上的按键或者按钮来输入第一音量调节指令的具体实施,此处不再赘述。Wherein, the specific implementation manner that the second user also touches and inputs the second volume adjustment command through the touch area on the surface of the second wearable device 200 can refer to the above-mentioned first user through the button set on the first wearable device 100 or the button to input the first volume adjustment instruction, which will not be repeated here.
本申请实施例中,第一可穿戴设备和第二可穿戴设备可以分别对翻译后的第一语音和第二语音的播放音量进行调节,可以满足两个用户使用同一电子装置接收同一音频并分别进行不同语言类型的语音翻译,可以实现两个可穿戴设备对同一音频进行不同语言类型的语音翻译。In the embodiment of the present application, the first wearable device and the second wearable device can respectively adjust the playback volume of the translated first voice and the second voice, which can satisfy two users using the same electronic device to receive the same audio and Translate voices in different languages, so that two wearable devices can perform voice translations in different languages on the same audio.
请参阅图5,图5是本申请实施例公开的一种翻译方法的流程示意图。如图5所示,该翻译方法包括如下步骤。Please refer to FIG. 5 . FIG. 5 is a schematic flowchart of a translation method disclosed in an embodiment of the present application. As shown in Figure 5, the translation method includes the following steps.
501,第一可穿戴设备接收电子装置发送的第一音频,将第一音频翻译为第一语音,播放第一语音。501. A first wearable device receives first audio sent by an electronic device, translates the first audio into a first voice, and plays the first voice.
502,第二可穿戴设备接收电子装置发送的第一音频,将第一音频翻译为第二语音,播放第二语音;第一语音的语言类型与第二语音的语言类型不同,第一可穿戴设备和第二可穿戴设备均与电子装置建立无线连接。502. The second wearable device receives the first audio sent by the electronic device, translates the first audio into a second voice, and plays the second voice; the language type of the first voice is different from the language type of the second voice, and the first wearable device Both the device and the second wearable device establish a wireless connection with the electronic device.
其中,步骤501和步骤502可以同时执行,也可以步骤501在步骤502之后执行,也可以步骤501在步骤502之前执行,本申请实施例不做限定。Wherein, step 501 and step 502 may be performed simultaneously, or step 501 may be performed after step 502, or step 501 may be performed before step 502, which is not limited in this embodiment of the present application.
其中,电子装置可以实时向第一可穿戴设备发送第一音频,类似的,电子装置可以实时向第二可穿戴设备发送第一音频。Wherein, the electronic device may send the first audio to the first wearable device in real time, and similarly, the electronic device may send the first audio to the second wearable device in real time.
可选的,步骤501中,第一可穿戴设备将第一音频翻译为第一语音可以包括:步骤(11)和步骤(12)。Optionally, in step 501, the first wearable device translating the first audio into the first voice may include: step (11) and step (12).
(11)第一可穿戴设备向翻译服务器发送翻译请求,该翻译请求携带第一音频以及第一语音标识,该翻译请求用于翻译服务器将第一音频翻译为第一语音标识对应的第一语音;(11) The first wearable device sends a translation request to the translation server, the translation request carries the first audio and the first voice identifier, and the translation request is used for the translation server to translate the first audio into the first voice corresponding to the first voice identifier ;
(12)第一可穿戴设备接收翻译服务器返回的第一语音。(12) The first wearable device receives the first voice returned by the translation server.
可选的,步骤502中,第二可穿戴设备将第一音频翻译为第二语音可以包括:步骤(21)和步骤(22)。Optionally, in step 502, the second wearable device translating the first audio into the second voice may include: step (21) and step (22).
(21)第二可穿戴设备向翻译服务器发送翻译请求,该翻译请求携带第一音频以及第二语音标识,该翻译请求用于翻译服务器将第一音频翻译为第二语音标识对应的第二语音;(21) The second wearable device sends a translation request to the translation server, the translation request carries the first audio and the second voice identifier, and the translation request is used for the translation server to translate the first audio into the second voice corresponding to the second voice identifier ;
(22)第二可穿戴设备接收翻译服务器返回的第二语音。(22) The second wearable device receives the second voice returned by the translation server.
可选的,图5还可以包括如下步骤:Optionally, Figure 5 may also include the following steps:
第一可穿戴设备接收第一用户输入的第一音量调节指令,第一音量调节指令用于调节第一语音的音量;The first wearable device receives a first volume adjustment instruction input by the first user, and the first volume adjustment instruction is used to adjust the volume of the first voice;
第二可穿戴设备接收第二用户输入的第二音量调节指令,第二音量调节指令用于调节第二语音的音量。The second wearable device receives a second volume adjustment instruction input by the second user, and the second volume adjustment instruction is used to adjust the volume of the second voice.
图5所示的方法的具体实施可以参见图1~图4所示的装置实施例,此处不再赘述。For the specific implementation of the method shown in FIG. 5 , reference may be made to the device embodiments shown in FIGS. 1 to 4 , which will not be repeated here.
本申请实施例中,第一可穿戴设备和第二可穿戴设备可以分别对翻译后的第一语音和第二语音的播放音量进行调节,可以满足两个用户使用同一电子装置接收同一音频并分别进行不同语言类型的语音翻译,可以实现两个可穿戴设备对同一音频进行不同语言类型的语音翻译。In the embodiment of the present application, the first wearable device and the second wearable device can respectively adjust the playback volume of the translated first voice and the second voice, which can satisfy two users using the same electronic device to receive the same audio and Translate voices in different languages, so that two wearable devices can perform voice translations in different languages on the same audio.
请参阅图6,图6是本申请实施例公开的另一种翻译方法的流程示意图。图6是在图5的基础上进一步优化得到的,如图6所示,该翻译方法包括如下步骤。Please refer to FIG. 6 . FIG. 6 is a schematic flowchart of another translation method disclosed in the embodiment of the present application. Fig. 6 is further optimized on the basis of Fig. 5. As shown in Fig. 6, the translation method includes the following steps.
601,第一可穿戴设备接收第一用户输入的语音翻译指令,进入语音翻译模式。601. A first wearable device receives a voice translation instruction input by a first user, and enters a voice translation mode.
602,第一可穿戴设备接收第一用户输入的待翻译语音选择指令,选择第一语音对应的语言类型作为待翻译语音的语言类型。602. The first wearable device receives a voice selection instruction to be translated input by the first user, and selects a language type corresponding to the first voice as the language type of the voice to be translated.
603,第一可穿戴设备接收电子装置发送的第一音频,将第一音频翻译为第一语音,播放第一语音。603. The first wearable device receives the first audio sent by the electronic device, translates the first audio into a first voice, and plays the first voice.
604,第二可穿戴设备接收电子装置发送的第一音频,将第一音频翻译为第二语音,播放第二语音;第一语音的语言类型与第二语音的语言类型不同,第一可穿戴设备和第二可穿戴设备均与电子装置建立无线连接。604. The second wearable device receives the first audio sent by the electronic device, translates the first audio into a second voice, and plays the second voice; the language type of the first voice is different from the language type of the second voice, and the first wearable device Both the device and the second wearable device establish a wireless connection with the electronic device.
可选的,在执行步骤604之前,还可以执行如下步骤:Optionally, before performing step 604, the following steps may also be performed:
第二可穿戴设备接收第二用户输入的语音翻译指令,进入语音翻译模式;The second wearable device receives the voice translation command input by the second user, and enters the voice translation mode;
第二可穿戴设备接收第二用户输入的待翻译语音选择指令,选择第二语音对应的语言类型作为待翻译语音的语言类型。The second wearable device receives the voice selection instruction to be translated input by the second user, and selects the language type corresponding to the second voice as the language type of the voice to be translated.
本申请实施例中的步骤603和步骤604可以参见图5所示的步骤501步骤502,此处不再赘述。Step 603 and step 604 in the embodiment of the present application may refer to step 501 and step 502 shown in FIG. 5 , and details are not repeated here.
图6所示的方法的具体实施可以参见图1~图4所示的装置实施例,此处不再赘述。For the specific implementation of the method shown in FIG. 6 , reference may be made to the device embodiments shown in FIGS. 1 to 4 , which will not be repeated here.
本申请实施例中,两个可穿戴设备可以从电子装置接收同一音频并进行不同语言类型的语音翻译,可以实现两个可穿戴设备对同一音频进行不同语言类型的语音翻译。In the embodiment of the present application, two wearable devices can receive the same audio from the electronic device and perform speech translation in different languages, so that two wearable devices can perform speech translation in different languages for the same audio.
请参阅图7,图7是本申请实施例公开的一种可穿戴设备的结构示意图,如图所示,该可穿戴设备700包括处理器701、存储器702、通信接口703以及一个或多个程序,其中,上述一个或多个程序被存储在上述存储器702中,并且被配置由上述处理器701执行,上述程序包括用于执行以下步骤的指令:Please refer to FIG. 7. FIG. 7 is a schematic structural diagram of a wearable device disclosed in an embodiment of the present application. As shown in the figure, the wearable device 700 includes a processor 701, a memory 702, a communication interface 703, and one or more programs , wherein the above-mentioned one or more programs are stored in the above-mentioned memory 702 and configured to be executed by the above-mentioned processor 701, the above-mentioned programs include instructions for performing the following steps:
接收电子装置发送的第一音频,将第一音频翻译为第一语音,播放第一语音。receiving the first audio sent by the electronic device, translating the first audio into a first voice, and playing the first voice.
可选的,在将第一音频翻译为第一语音方面,上述程序具体用于执行以下步骤的指令:Optionally, in terms of translating the first audio into the first speech, the above-mentioned program is specifically used to execute instructions for the following steps:
向翻译服务器发送翻译请求,翻译请求携带第一音频以及第一语音标识,翻译请求用于翻译服务器将第一音频翻译为第一语音标识对应的第一语音;Sending a translation request to the translation server, where the translation request carries the first audio and the first voice identifier, and the translation request is used for the translation server to translate the first audio into the first voice corresponding to the first voice identifier;
接收翻译服务器返回的第一语音。The first voice returned by the translation server is received.
可选的,上述程序包括还用于执行以下步骤的指令:Optionally, the above program includes instructions for performing the following steps:
接收第一用户输入的第一音量调节指令,第一音量调节指令用于调节第一语音的音量。A first volume adjustment instruction input by the first user is received, where the first volume adjustment instruction is used to adjust the volume of the first voice.
可选的,上述程序包括还用于执行以下步骤的指令:Optionally, the above program includes instructions for performing the following steps:
接收第一用户输入的语音翻译指令,进入语音翻译模式;receiving the voice translation command input by the first user, and entering the voice translation mode;
接收第一用户输入的待翻译语音选择指令,选择第一语音对应的语言类型作为待翻译语音的语言类型。A voice selection instruction to be translated input by the first user is received, and the language type corresponding to the first voice is selected as the language type of the voice to be translated.
图7所示的装置的具体实施可以参见图1~图4所示的装置实施例,此处不再赘述。For the specific implementation of the device shown in FIG. 7 , reference may be made to the device embodiments shown in FIGS. 1 to 4 , which will not be repeated here.
实施图7所示的可穿戴设备,可穿戴设备可以从电子装置接收音频并进行翻译。Implementing the wearable device shown in FIG. 7, the wearable device can receive audio from an electronic device and translate it.
请参阅图8,图8是本申请实施例公开的一种翻译装置的结构示意图,应用于可穿戴装置,翻译装置800包括第一接收单元801、第一翻译单元802、第一播放单元803、第二接收单元804、第二翻译单元805和第二播放单元806,其中:Please refer to FIG. 8. FIG. 8 is a schematic structural diagram of a translation device disclosed in an embodiment of the present application, which is applied to a wearable device. The translation device 800 includes a first receiving unit 801, a first translation unit 802, a first playback unit 803, The second receiving unit 804, the second translation unit 805 and the second playing unit 806, wherein:
第一接收单元801,用于接收电子装置发送的第一音频。The first receiving unit 801 is configured to receive the first audio sent by the electronic device.
第一翻译单元802,用于将第一音频翻译为第一语音。The first translating unit 802 is configured to translate the first audio into a first speech.
第一播放单元803,用于播放第一语音。The first playing unit 803 is configured to play the first voice.
第二接收单元804,用于接收电子装置发送的第二音频。The second receiving unit 804 is configured to receive the second audio sent by the electronic device.
第二翻译单元805,用于将第二音频翻译为第二语音。The second translating unit 805 is configured to translate the second audio into a second speech.
第二播放单元806,用于播放第二语音,其中,第一语音的语言类型与第二语音的语言类型不同。The second playing unit 806 is configured to play the second voice, wherein the language type of the first voice is different from the language type of the second voice.
其中,第一翻译单元802、第二翻译单元805可以是处理器或控制器,(例如可以是中央处理器(Central Processing Unit,CPU),通用处理器,数字信号处理器(DigitalSignal Processor,DSP),专用集成控制器(Application-Specific Integrated Circuit,ASIC),现场可编程门阵列(Field Programmable Gate Array,FPGA)或者其他可编程逻辑器件、晶体管逻辑器件、硬件部件或者其任意组合。第一接收单元801、第二接收单元804可以是无线通信模块(例如,蓝牙模块),第一播放单元803、第二播放单元806可以是扬声器。Wherein, the first translation unit 802 and the second translation unit 805 may be processors or controllers, (for example, may be a central processing unit (Central Processing Unit, CPU), a general purpose processor, a digital signal processor (DigitalSignal Processor, DSP) , Application-Specific Integrated Circuit (ASIC), Field Programmable Gate Array (Field Programmable Gate Array, FPGA) or other programmable logic devices, transistor logic devices, hardware components or any combination thereof. The first receiving unit 801. The second receiving unit 804 may be a wireless communication module (for example, a Bluetooth module), and the first playback unit 803 and the second playback unit 806 may be speakers.
图8所示的装置的具体实施可以参见图1~图4所示的装置实施例,此处不再赘述。For the specific implementation of the device shown in FIG. 8 , reference may be made to the device embodiments shown in FIGS. 1 to 4 , which will not be repeated here.
实施图8所示的可穿戴设备,两个可穿戴设备可以从电子装置接收同一音频并进行不同语言类型的语音翻译,可以实现两个可穿戴设备对同一音频进行不同语言类型的语音翻译。By implementing the wearable device shown in FIG. 8, two wearable devices can receive the same audio from the electronic device and perform speech translation in different languages, so that two wearable devices can perform speech translation in different languages for the same audio.
本申请实施例还提供一种计算机存储介质,其中,该计算机存储介质存储用于电子数据交换的计算机程序,该计算机程序使得计算机执行如上述方法实施例中记载的任一方法的部分或全部步骤,上述计算机包括可穿戴设备。An embodiment of the present application also provides a computer storage medium, wherein the computer storage medium stores a computer program for electronic data exchange, and the computer program enables the computer to execute some or all of the steps of any method described in the above method embodiments , the above computer includes a wearable device.
本申请实施例还提供一种计算机程序产品,上述计算机程序产品包括存储了计算机程序的非瞬时性计算机可读存储介质,上述计算机程序可操作来使计算机执行如上述方法实施例中记载的任一方法的部分或全部步骤。该计算机程序产品可以为一个软件安装包,上述计算机包括可穿戴设备。An embodiment of the present application also provides a computer program product, the computer program product includes a non-transitory computer-readable storage medium storing a computer program, and the computer program is operable to enable the computer to execute any one of the methods described in the above method embodiments. Some or all steps of the method. The computer program product may be a software installation package, and the above computer includes a wearable device.
需要说明的是,对于前述的各方法实施例,为了简单描述,故将其都表述为一系列的动作组合,但是本领域技术人员应该知悉,本申请并不受所描述的动作顺序的限制,因为依据本申请,某些步骤可以采用其他顺序或者同时进行。其次,本领域技术人员也应该知悉,说明书中所描述的实施例均属于优选实施例,所涉及的动作和模块并不一定是本申请所必须的。It should be noted that for the foregoing method embodiments, for the sake of simple description, they are expressed as a series of action combinations, but those skilled in the art should know that the present application is not limited by the described action sequence. Depending on the application, certain steps may be performed in other orders or simultaneously. Secondly, those skilled in the art should also know that the embodiments described in the specification belong to preferred embodiments, and the actions and modules involved are not necessarily required by this application.
在上述实施例中,对各个实施例的描述都各有侧重,某个实施例中没有详述的部分,可以参见其他实施例的相关描述。In the foregoing embodiments, the descriptions of each embodiment have their own emphases, and for parts not described in detail in a certain embodiment, reference may be made to relevant descriptions of other embodiments.
在本申请所提供的几个实施例中,应该理解到,所揭露的装置,可通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如上述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性或其它的形式。In the several embodiments provided in this application, it should be understood that the disclosed device can be implemented in other ways. For example, the device embodiments described above are only illustrative. For example, the division of the above units is only a logical function division. In actual implementation, there may be other division methods, for example, multiple units or components can be combined or integrated. to another system, or some features may be ignored, or not implemented. In another point, the mutual coupling or direct coupling or communication connection shown or discussed may be through some interfaces, and the indirect coupling or communication connection of devices or units may be in electrical or other forms.
上述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。The units described above as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or may be distributed to multiple network units. Part or all of the units can be selected according to actual needs to achieve the purpose of the solution of this embodiment.
另外,在本申请各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, each unit may exist separately physically, or two or more units may be integrated into one unit. The above-mentioned integrated units can be implemented in the form of hardware or in the form of software functional units.
上述集成的单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储器中。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的全部或部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储器中,包括若干指令用以使得一台计算机设备(可为个人计算机、服务器或者网络设备等)执行本申请各个实施例上述方法的全部或部分步骤。而前述的存储器包括:U盘、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、移动硬盘、磁碟或者光盘等各种可以存储程序代码的介质。If the above-mentioned integrated units are realized in the form of software function units and sold or used as independent products, they can be stored in a computer-readable memory. Based on this understanding, the technical solution of the present application is essentially or part of the contribution to the prior art, or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a memory. Several instructions are included to make a computer device (which may be a personal computer, server or network device, etc.) execute all or part of the steps of the above-mentioned methods in various embodiments of the present application. The aforementioned memory includes: U disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), mobile hard disk, magnetic disk or optical disk and other media that can store program codes.
本领域普通技术人员可以理解上述实施例的各种方法中的全部或部分步骤是可以通过程序来指令相关的硬件来完成,该程序可以存储于一计算机可读存储器中,存储器可以包括:闪存盘、只读存储器(英文:Read-Only Memory,简称:ROM)、随机存取器(英文:Random Access Memory,简称:RAM)、磁盘或光盘等。Those of ordinary skill in the art can understand that all or part of the steps in the various methods of the above-mentioned embodiments can be completed by instructing related hardware through a program, and the program can be stored in a computer-readable memory, and the memory can include: a flash disk , Read-only memory (English: Read-Only Memory, abbreviated: ROM), random access device (English: Random Access Memory, abbreviated: RAM), magnetic disk or optical disk, etc.
以上对本申请实施例进行了详细介绍,本文中应用了具体个例对本申请的原理及实施方式进行了阐述,以上实施例的说明只是用于帮助理解本申请的方法及其核心思想;同时,对于本领域的一般技术人员,依据本申请的思想,在具体实现方式及应用范围上均会有改变之处,综上上述,本说明书内容不应理解为对本申请的限制。The embodiments of the present application have been introduced in detail above, and specific examples have been used in this paper to illustrate the principles and implementation methods of the present application. The descriptions of the above embodiments are only used to help understand the methods and core ideas of the present application; meanwhile, for Those skilled in the art will have changes in specific implementation methods and application ranges based on the ideas of the present application. In summary, the contents of this specification should not be construed as limiting the present application.
Claims (13)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810618798.4A CN108923810A (en) | 2018-06-15 | 2018-06-15 | Translation method and related equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810618798.4A CN108923810A (en) | 2018-06-15 | 2018-06-15 | Translation method and related equipment |
Publications (1)
Publication Number | Publication Date |
---|---|
CN108923810A true CN108923810A (en) | 2018-11-30 |
Family
ID=64420379
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810618798.4A Pending CN108923810A (en) | 2018-06-15 | 2018-06-15 | Translation method and related equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108923810A (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111739538A (en) * | 2020-06-05 | 2020-10-02 | 北京搜狗科技发展有限公司 | Translation method and device, earphone and server |
CN111985252A (en) * | 2020-08-21 | 2020-11-24 | Oppo广东移动通信有限公司 | Dialogue translation method and device, storage medium and electronic equipment |
CN112614482A (en) * | 2020-12-16 | 2021-04-06 | 平安国际智慧城市科技股份有限公司 | Mobile terminal foreign language translation method, system and storage medium |
WO2021189652A1 (en) * | 2020-03-27 | 2021-09-30 | 深圳光启超材料技术有限公司 | Language output method, head-mounted device, storage medium, and electronic device |
Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104462070A (en) * | 2013-09-19 | 2015-03-25 | 株式会社东芝 | A speech translating system and a speech translating method |
CN104572635A (en) * | 2015-01-20 | 2015-04-29 | 郑州市中业科技有限公司 | Wearable translating device and control method thereof |
US20160283469A1 (en) * | 2015-03-25 | 2016-09-29 | Babelman LLC | Wearable translation device |
CN106415541A (en) * | 2014-05-29 | 2017-02-15 | 谷歌公司 | Techniques for real-time translation of a media feed from a speaker computing device and distribution to multiple listener computing devices in multiple different languages |
CN106412813A (en) * | 2016-11-30 | 2017-02-15 | 深圳市高为通信技术有限公司 | Real-time communication translation method with bluetooth headsets |
CN107515862A (en) * | 2017-09-01 | 2017-12-26 | 北京百度网讯科技有限公司 | Voice translation method, device and server |
CN207115409U (en) * | 2017-08-23 | 2018-03-16 | 成都宏软科技实业有限公司 | A kind of real-time multilingual says translation system |
CN107832309A (en) * | 2017-10-18 | 2018-03-23 | 广东小天才科技有限公司 | Language translation method and device, wearable device and storage medium |
-
2018
- 2018-06-15 CN CN201810618798.4A patent/CN108923810A/en active Pending
Patent Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104462070A (en) * | 2013-09-19 | 2015-03-25 | 株式会社东芝 | A speech translating system and a speech translating method |
CN106415541A (en) * | 2014-05-29 | 2017-02-15 | 谷歌公司 | Techniques for real-time translation of a media feed from a speaker computing device and distribution to multiple listener computing devices in multiple different languages |
CN104572635A (en) * | 2015-01-20 | 2015-04-29 | 郑州市中业科技有限公司 | Wearable translating device and control method thereof |
US20160283469A1 (en) * | 2015-03-25 | 2016-09-29 | Babelman LLC | Wearable translation device |
CN106412813A (en) * | 2016-11-30 | 2017-02-15 | 深圳市高为通信技术有限公司 | Real-time communication translation method with bluetooth headsets |
CN207115409U (en) * | 2017-08-23 | 2018-03-16 | 成都宏软科技实业有限公司 | A kind of real-time multilingual says translation system |
CN107515862A (en) * | 2017-09-01 | 2017-12-26 | 北京百度网讯科技有限公司 | Voice translation method, device and server |
CN107832309A (en) * | 2017-10-18 | 2018-03-23 | 广东小天才科技有限公司 | Language translation method and device, wearable device and storage medium |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2021189652A1 (en) * | 2020-03-27 | 2021-09-30 | 深圳光启超材料技术有限公司 | Language output method, head-mounted device, storage medium, and electronic device |
CN111739538A (en) * | 2020-06-05 | 2020-10-02 | 北京搜狗科技发展有限公司 | Translation method and device, earphone and server |
CN111739538B (en) * | 2020-06-05 | 2022-04-26 | 北京搜狗科技发展有限公司 | Translation method and device, earphone and server |
CN111985252A (en) * | 2020-08-21 | 2020-11-24 | Oppo广东移动通信有限公司 | Dialogue translation method and device, storage medium and electronic equipment |
CN111985252B (en) * | 2020-08-21 | 2024-05-07 | Oppo广东移动通信有限公司 | Dialogue translation method and device, storage medium and electronic device |
CN112614482A (en) * | 2020-12-16 | 2021-04-06 | 平安国际智慧城市科技股份有限公司 | Mobile terminal foreign language translation method, system and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108710615B (en) | Translation method and related equipment | |
CN107580113B (en) | Prompting method, prompting device, storage medium and terminal | |
EP3598435B1 (en) | Method for processing information and electronic device | |
CN109067965B (en) | Translation method, translation device, wearable device and storage medium | |
EP3664291A1 (en) | Audio signal adjustment method and device, storage medium, and terminal | |
CN109360549B (en) | Data processing method, wearable device and device for data processing | |
WO2021063249A1 (en) | Control method for electronic device and electronic device | |
EP2314077A2 (en) | Wearable headset with self-contained vocal feedback and vocal command | |
CN108803859A (en) | Information processing method, device, terminal, earphone and readable storage medium | |
WO2022033176A1 (en) | Audio play control method and apparatus, and electronic device and storage medium | |
CN108777827B (en) | Wireless earphone, volume adjustment method and related products | |
CN108922537A (en) | Audio recognition method, device, terminal, earphone and readable storage medium | |
CN108668009A (en) | Input operation control method, device, terminal, earphone and readable storage medium | |
CN108959273B (en) | Translation method, electronic device and storage medium | |
CN108966067A (en) | Control method for playing back and Related product | |
CN110457716B (en) | A voice output method and mobile terminal | |
CN108923810A (en) | Translation method and related equipment | |
CN108595003A (en) | Function control method and related equipment | |
CN107743178A (en) | A message playing method and mobile terminal | |
CN108566221A (en) | Call control method and relevant device | |
CN108270928B (en) | A kind of speech recognition method and mobile terminal | |
WO2021103449A1 (en) | Interaction method, mobile terminal and readable storage medium | |
CN108668018B (en) | Mobile terminal, volume control method and related products | |
CN108683975A (en) | an audio device | |
CN109040425B (en) | Information processing method and related product |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20181130 |
|
RJ01 | Rejection of invention patent application after publication |