Movatterモバイル変換


[0]ホーム

URL:


CN109067965B - Translation method, translation device, wearable device and storage medium - Google Patents

Translation method, translation device, wearable device and storage medium
Download PDF

Info

Publication number
CN109067965B
CN109067965BCN201810619139.2ACN201810619139ACN109067965BCN 109067965 BCN109067965 BCN 109067965BCN 201810619139 ACN201810619139 ACN 201810619139ACN 109067965 BCN109067965 BCN 109067965B
Authority
CN
China
Prior art keywords
wearable device
voice
audio
electronic device
application
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.)
Expired - Fee Related
Application number
CN201810619139.2A
Other languages
Chinese (zh)
Other versions
CN109067965A (en
Inventor
张海平
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp Ltd
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 Guangdong Oppo Mobile Telecommunications Corp LtdfiledCriticalGuangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201810619139.2ApriorityCriticalpatent/CN109067965B/en
Publication of CN109067965ApublicationCriticalpatent/CN109067965A/en
Application grantedgrantedCritical
Publication of CN109067965BpublicationCriticalpatent/CN109067965B/en
Expired - Fee Relatedlegal-statusCriticalCurrent
Anticipated expirationlegal-statusCritical

Links

Images

Classifications

Landscapes

Abstract

Translated fromChinese

本申请公开了一种翻译方法、翻译装置、可穿戴装置及存储介质,该翻译方法应用于可穿戴设备,该可穿戴装置包括第一可穿戴设备和第二可穿戴设备,第一可穿戴设备和第二可穿戴设备均与电子装置建立无线连接;第一可穿戴设备,用于接收电子装置发送的电子装置上运行的第一应用产生的第一音频,以及用于将第一音频翻译为第一语音,以及用于播放第一语音;第二可穿戴设备,用于接收电子装置发送的电子装置上运行的第二应用产生的第二音频,以及用于将第二音频翻译为第二语音,以及用于播放第二语音。采用本申请实施例可以实现两个可穿戴设备分别对电子装置中不同应用产生的音频进行翻译。

Figure 201810619139

The present application discloses a translation method, a translation device, a wearable device and a storage medium. The translation method is applied to a wearable device. The wearable device includes a first wearable device and a second wearable device. The first wearable device Both the second wearable device and the second wearable device establish a wireless connection with the electronic device; the first wearable device is used for receiving the first audio generated by the first application running on the electronic device sent by the electronic device, and for translating the first audio into a first voice, and used to play the first voice; a second wearable device, used to receive the second audio sent by the electronic device and generated by a second application running on the electronic device, and used to translate the second audio into the second audio voice, and for playing the second voice. By using the embodiments of the present application, two wearable devices can respectively translate audio generated by different applications in the electronic device.

Figure 201810619139

Description

Translated fromChinese
翻译方法、翻译装置、可穿戴装置及存储介质Translation method, translation device, wearable device and storage medium

技术领域technical field

本申请涉及电子技术领域,尤其涉及一种翻译方法、翻译装置、可穿戴装置及存储介质。The present application relates to the field of electronic technology, and in particular, to a translation method, a translation device, a wearable device, and a storage medium.

背景技术Background technique

随着无线技术的成熟,可穿戴设备通过无线技术连接手机等电子装置的场景越来越多。人们可以通过可穿戴设备实现听音乐、打电话等各种功能。With the maturity of wireless technology, there are more and more scenarios in which wearable devices are connected to electronic devices such as mobile phones through wireless technology. People can use wearable devices to achieve various functions such as listening to music and making calls.

发明内容SUMMARY OF THE INVENTION

本申请实施例提供一种翻译方法、翻译装置、可穿戴装置及存储介质,可以实现两个可穿戴设备分别进行翻译。Embodiments of the present application provide a translation method, a translation device, a wearable device, and a storage medium, which can implement translation by two wearable devices respectively.

第一方面,本申请实施例提供一种可穿戴装置,所述可穿戴装置包括第一可穿戴设备和第二可穿戴设备,所述第一可穿戴设备和所述第二可穿戴设备均与电子装置建立无线连接;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, the first wearable device and the second wearable device are The electronic device establishes a wireless connection;

所述第一可穿戴设备,用于接收所述电子装置发送的所述电子装置上运行的第一应用产生的第一音频,以及用于将所述第一音频翻译为第一语音,以及用于播放所述第一语音;The first wearable device is configured to receive a first audio sent by the electronic device and generated by a first application running on the electronic device, and to translate the first audio into a first voice, and use to play the first voice;

所述第二可穿戴设备,用于接收所述电子装置发送的所述电子装置上运行的第二应用产生的第二音频,以及用于将所述第二音频翻译为第二语音,以及用于播放所述第二语音。The second wearable device is configured to receive a second audio sent by the electronic device and generated by a second application running on the electronic device, and to translate the second audio into a second voice, and use to play the second voice.

第二方面,本申请实施例提供一种翻译方法,所述方法包括:In a second aspect, an embodiment of the present application provides a translation method, the method comprising:

第一可穿戴设备接收电子装置发送的所述电子装置上运行的第一应用产生的第一音频,将所述第一音频翻译为第一语音,播放所述第一语音;The first wearable device receives the first audio generated by the first application running on the electronic device sent by the electronic device, translates the first audio into a first voice, and plays the first voice;

第二可穿戴设备接收所述电子装置发送的所述电子装置上运行的第二应用产生的第二音频,将所述第二音频翻译为第二语音,播放所述第二语音;所述第一可穿戴设备和所述第二可穿戴设备均与所述电子装置建立无线连接。The second wearable device receives the second audio sent by the electronic device and generated by the second application running on the electronic device, translates the second audio into a second voice, and plays the second voice; the first Both a 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 playing unit, a second receiving unit, a second translation unit, and a The second playback unit, in which:

所述第一接收单元,用于接收电子装置发送的所述电子装置上运行的第一应用产生的第一音频;the first receiving unit, configured to receive the first audio generated by the first application running on the electronic device and sent by the electronic device;

所述第一翻译单元,用于将所述第一音频翻译为第一语音;the first translation unit, configured to translate the first audio into a first voice;

所述第一播放单元,用于播放所述第一语音;the first playing unit, for playing the first voice;

所述第二接收单元,用于接收所述电子装置发送的所述电子装置上运行的第二应用产生的第二音频;the second receiving unit, configured to receive the second audio sent by the electronic device and generated by a second application running on the electronic device;

所述第二翻译单元,用于将所述第二音频翻译为第二语音;the second translation unit for translating the second audio into a second voice;

所述第二播放单元,用于播放所述第二语音。The second playing unit is used to play the second voice.

第四方面,本申请实施例提供一种可穿戴设备,包括处理器、存储器、通信接口以及一个或多个程序,其中,上述一个或多个程序被存储在上述存储器中,并且被配置由上述处理器执行,上述程序包括用于执行本申请实施例第二方面任一方法中的步骤的指令。In a fourth aspect, embodiments of the present application provide 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 the processor, the above program includes instructions for executing steps in any method in the second aspect of the embodiments of the present application.

第五方面,本申请实施例提供了一种计算机可读存储介质,其中,上述计算机可读存储介质存储用于电子数据交换的计算机程序,其中,上述计算机程序使得可穿戴设备执行如本申请实施例第二方面任一方法中所描述的部分或全部步骤。In a fifth aspect, an embodiment of the present application provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program for electronic data exchange, wherein the computer program enables the wearable device to execute the implementation of the present application Examples include 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 cause the wearable device to execute the Part or all of the steps described in any method in the second aspect of the application examples. The computer program product may be a software installation package.

在本申请实施例中,可穿戴装置包括第一可穿戴设备和第二可穿戴设备,第一可穿戴设备和第二可穿戴设备均与电子装置建立无线连接;第一可穿戴设备用于接收电子装置发送的电子装置上运行的第一应用产生的第一音频,并将第一音频翻译为第一语音,以及播放第一语音;第二可穿戴设备用于接收电子装置发送的电子装置上运行的第二应用产生的第二音频,并将第二音频翻译为第二语音,以及播放第二语音。本申请实施例中,两个可穿戴设备(第一可穿戴设备和第二可穿戴设备)可以分别从电子装置接收音频并进行翻译,可以实现两个可穿戴设备分别对电子装置中不同应用产生的音频进行翻译。In this 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 for receiving The first audio generated by the first application running on the electronic device is sent by the electronic device, and the first audio is translated into the first voice, and the first voice is played; the second wearable device is used for receiving the electronic device sent by the electronic device. The running second application generates the second audio, translates the second audio into the second voice, and plays the second voice. In this embodiment of the present application, the two wearable devices (the first wearable device and the second wearable device) can respectively receive audio from the electronic device and perform translation, so that the two wearable devices can respectively generate different applications in the electronic device. audio for translation.

附图说明Description of drawings

为了更清楚地说明本申请实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the following briefly introduces the accompanying drawings required for the description of the embodiments or the prior art. Obviously, the drawings in the following description are only These are some embodiments of the present application. For those of ordinary skill in the art, other drawings can also be obtained based on these drawings without any creative effort.

图1a是本申请实施例公开的一种网络构架示意图;FIG. 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是本申请实施例公开的一种第一可穿戴设备的结构示意图;3 is a schematic structural diagram of a first wearable device disclosed in an embodiment of the present application;

图4是本申请实施例公开的一种第二可穿戴设备的结构示意图;4 is a schematic structural diagram of a second wearable device disclosed in an embodiment of the present application;

图5是本申请实施例公开的一种翻译方法的流程示意图;5 is a schematic flowchart of a translation method disclosed in an embodiment of the present application;

图6是本申请实施例公开的另一种翻译方法的流程示意图;6 is a schematic flowchart of another translation method disclosed in an embodiment of the present application;

图7是本申请实施例公开的一种可穿戴设备的结构示意图;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 apparatus disclosed in an embodiment of the present application.

具体实施方式Detailed ways

为了使本技术领域的人员更好地理解本申请方案,下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本申请一部分的实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都应当属于本申请保护的范围。In order to make those skilled in the art better understand the solutions of the present application, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present application. Obviously, the described embodiments are only The embodiments are part of the present application, but not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those of ordinary skill in the art without creative work shall fall within the scope of protection of the present application.

以下分别进行详细说明。Each of them will be described in detail below.

本申请的说明书和权利要求书及所述附图中的术语“第一”、“第二”、“第三”和“第四”等是用于区别不同对象,而不是用于描述特定顺序。此外,术语“包括”和“具有”以及它们任何变形,意图在于覆盖不排他的包含。例如包含了一系列步骤或单元的过程、方法、系统、产品或设备没有限定于已列出的步骤或单元,而是可选地还包括没有列出的步骤或单元,或可选地还包括对于这些过程、方法、产品或设备固有的其它步骤或单元。The terms "first", "second", "third" and "fourth" in the description 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 "comprising" and "having" and any variations thereof are intended to cover 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 also includes For other steps or units inherent to these processes, methods, products or devices.

在本文中提及“实施例”意味着,结合实施例描述的特定特征、结构或特性可以包含在本申请的至少一个实施例中。在说明书中的各个位置出现该短语并不一定均是指相同的实施例,也不是与其它实施例互斥的独立的或备选的实施例。本领域技术人员显式地和隐式地理解的是,本文所描述的实施例可以与其它实施例相结合。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 appearances of the phrase in various places in the specification are not necessarily all referring to the same embodiment, nor a separate or alternative embodiment that is mutually exclusive of other embodiments. It is explicitly and implicitly understood by those skilled in the art that the embodiments described herein may be combined with other embodiments.

下面对本申请实施例进行详细介绍。The embodiments of the present application will be described in detail below.

请参阅图1a,图1a是本申请实施例公开的一种网络构架示意图。在图1a 所示的网络构架中,可以包括第一可穿戴设备100、第二可穿戴设备200和电子装置300,其中,第一可穿戴设备100可以通过无线网络(例如,蓝牙、红外线或WiFi)与电子装置300建立通信连接,第二可穿戴设备200也可以通过无线网络与电子装置300建立通信连接。第一可穿戴设备100和第二可穿戴设备200 都可以包括扬声器、处理模块(比如,处理器和存储器)和通信模块(比如,蓝牙模块)。在图1a所示的网络构架中,第一可穿戴设备100和第二可穿戴设备200都具有语音翻译功能,第一可穿戴设备100和电子装置300之间可以实现语音数据传输,第二可穿戴设备200和电子装置300之间也可以实现语音数据传输。第一可穿戴设备100和第二可穿戴设备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 firstwearable device 100, a secondwearable device 200 and anelectronic device 300 may be included, wherein the first wearable device 100 ) to establish a communication connection with theelectronic device 300, and the secondwearable device 200 may also establish a communication connection with theelectronic device 300 through a wireless network. Both the firstwearable device 100 and the secondwearable device 200 may include a speaker, a processing module (eg, a processor and a memory), and a communication module (eg, a Bluetooth module). In the network architecture shown in FIG. 1a, both the firstwearable device 100 and the secondwearable device 200 have a voice translation function, and voice data transmission can be implemented between the firstwearable device 100 and theelectronic device 300, and the secondwearable device 100 can Voice data transmission can also be implemented between thewearable device 200 and theelectronic device 300 . The firstwearable device 100 and the secondwearable device 200 can respectively receive and translate audio from theelectronic device 300, so that the two wearable devices can respectively translate audio generated by different applications in the electronic device.

可穿戴设备可以是便携式收听设备(例如,无线耳机)、智能手环、智能耳环、智能头带、智能头盔等。为了便于说明,以下实施例中的可穿戴设备以无线耳机为例进行说明。The wearable device may be a portable listening device (eg, a wireless headset), a smart bracelet, a smart earring, a smart headband, a smart helmet, and the like. For the convenience of description, the wearable device in the following embodiments is described by taking a wireless earphone as an example.

无线耳机可以为挂耳式耳机,也可以为耳塞式耳机,也可以为头戴式耳机,本申请实施例不做限定。The wireless earphone may be a hanging earphone, an earplug type earphone, or a headphone, which is not limited in the embodiment of the present application.

无线耳机可以收纳在耳机盒中,耳机盒可以包括:两个接收腔(第一接收腔和第二接收腔),该两个接收腔的大小和形状设计成接收一对无线耳机(第一无线耳机和第二无线耳机);设置在盒内的一个或多个耳机外壳磁性部件,上述一个或多个耳机外壳磁性部件用于将一对无线耳机磁性吸引且分别磁性固定到两个接收腔中。耳机盒还可以包括耳机盖。其中,第一接收腔的大小和形状设计成接收第一无线耳机,第二接收腔的大小和形状设计成接收第二无线耳机。The wireless earphone can be accommodated in the earphone box, and the earphone box can include: two receiving cavities (a first receiving cavity and a 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). earphones and second wireless earphones); one or more earphone shell magnetic parts provided in the box, the above-mentioned one or more earphone case magnetic parts are used to magnetically attract and magnetically fix a pair of wireless earphones into two receiving cavities respectively . The earphone case may also include an earphone cover. The size and shape of the first receiving cavity is designed to receive the first wireless earphone, and the size and shape of the second receiving cavity is designed to receive the second wireless earphone.

无线耳机可以包括耳机外壳、设置在耳机外壳内的可循环充电的电池(例如,锂电池)、用于连接电池与充电装置的多个金属触点、包括驱动器单元和定向声音端口的扬声器组件,其中,驱动器单元包括磁体、音圈和隔膜,驱动器单元用于从定向声音端口发出声音,上述多个金属触点设置在耳机外壳的外部表面。A wireless headset may include a headset housing, a rechargeable battery (eg, 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 plurality of metal contacts are arranged on the outer surface of the earphone shell.

在一种可能的实现方式中,无线耳机还可以包括触摸区,该触摸区可以位于在耳机外壳的外部表面,触摸区内设置有至少一个触摸传感器,用于检测触摸操作,触摸传感器可以包括电容传感器。当用户触摸触摸区时,至少一个电容传感器可以检测到自身电容的变化从而识别触摸操作。In a possible implementation manner, the wireless headset may further include a touch area, and the touch area may be located on the outer surface of the earphone shell. At least one touch sensor is provided in the touch area for detecting a touch operation, and the touch sensor may include a capacitance sensor. When the user touches the touch area, at least one capacitive sensor can detect the change of its own capacitance so as to recognize the touch operation.

在一种可能的实现方式中,无线耳机还可以包括加速度传感器和三轴陀螺仪,加速度传感器和三轴陀螺仪可以设置在耳机外壳内,加速度传感器和三轴陀螺仪用于识别无线耳机的拿起动作和取下动作。In a possible implementation manner, the wireless headset may further include an acceleration sensor and a three-axis gyroscope, the acceleration sensor and the three-axis gyroscope may be arranged in the headset casing, and the acceleration sensor and the three-axis gyroscope are used to identify the holding of the wireless headset. Activate and remove.

在一种可能的实现方式中,无线耳机还可以包括至少一个气压传感器,气压传感器可以设置在耳机外壳的表面,用于在无线耳机佩戴后检测耳内气压。可以通过气压传感器检测无线耳机的佩戴松紧度。当检测到无线耳机佩戴较松时,无线耳机可以向与无线耳机连接的电子装置(比如,手机)发送提示信息,以提示用户该无线耳机有掉落风险。In a possible implementation manner, the wireless earphone may further include at least one air pressure sensor, and the air pressure sensor may be arranged on the surface of the earphone shell, and is used to detect the air pressure in the ear after the wireless earphone is worn. The tightness of the wireless earphone can be detected by the air pressure sensor. When it is detected that the wireless earphone is loosely worn, the wireless earphone can send a prompt message to an electronic device (eg, a mobile phone) connected to the wireless earphone, so as to remind the user that the wireless earphone is at risk of falling.

请参阅图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. Thewearable device 100 includes a storage andprocessing circuit 710, and acommunication circuit 720 and audio frequency connected to the storage andprocessing circuit 710.Component 740, wherein, in some specific wearable devices, adisplay component 730 or a touch component can also be provided.

可穿戴设备100可以包括控制电路,该控制电路可以包括存储和处理电路 710。该存储和处理电路710可以存储器,例如硬盘驱动存储器,非易失性存储器(例如闪存或用于形成固态驱动器的其它电子可编程只读存储器等),易失性存储器(例如静态或动态随机存取存储器等)等,本申请实施例不作限制。存储和处理电路710中的处理电路可以用于控制穿戴设备100的运转。该处理电路可以基于一个或多个微处理器,微控制器,数字信号处理器,基带处理器,功率管理单元,音频编解码器芯片,专用集成电路,显示驱动器集成电路等来实现。Wearable device 100 may include control circuitry, which may include storage andprocessing circuitry 710. The storage andprocessing circuit 710 may 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 solid state drives, etc.), volatile memory (such as static or dynamic random access memory, etc.) memory, etc.), etc., which are not limited in the embodiments of the present application. The processing circuit in the storage andprocessing circuit 710 may be used to control the operation of thewearable 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 andprocessing circuit 710 may be used to run software in thewearable device 100, such as Voice over Internet Protocol (VOIP) phone calling applications, simultaneous translation functions, media playback applications, operating system functions, and the like. These software can be used to perform some control operations, for example, camera-based image acquisition, ambient light measurement based on ambient light sensor, proximity sensor measurement based on proximity sensor, information based on status indicator implementation such as status indicators of light emitting diodes Display functions, touch sensor-based touch event detection, 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 and the like in 100 are not limited in this embodiment of the present application.

可穿戴设备100还可以包括输入-输出电路750。输入-输出电路750可用于使可穿戴设备100实现数据的输入和输出,即允许可穿戴设备100从外部设备接收数据和也允许可穿戴设备100将数据从可穿戴设备100输出至外部设备。输入-输出电路750可以进一步包括传感器770。传感器770可以包括环境光传感器,基于光和电容的接近传感器,触摸传感器(例如,基于光触摸传感器和/ 或电容式触摸传感器,其中,触摸传感器可以是触控显示屏的一部分,也可以作为一个触摸传感器结构独立使用),加速度传感器,和其它传感器等。Wearable device 100 may also include input-output circuitry 750 . The input-output circuit 750 may be used to enable thewearable device 100 to input and output data, ie, allowing thewearable device 100 to receive data from external devices and also allow thewearable device 100 to output data from thewearable device 100 to external devices. The input-output circuit 750 may further include asensor 770 .Sensors 770 may include ambient light sensors, light and capacitance-based proximity sensors, touch sensors (eg, light-based touch sensors and/or capacitive touch sensors, where the touch sensor may be part of a touch-sensitive display screen, or may be used as a The touch sensor structure is used independently), acceleration sensor, and other sensors.

输入-输出电路750还可以包括触摸传感器阵列(即,显示器730可以是触控显示屏)。触摸传感器可以是由透明的触摸传感器电极(例如氧化铟锡(ITO) 电极)阵列形成的电容式触摸传感器,或者可以是使用其它触摸技术形成的触摸传感器,例如音波触控,压敏触摸,电阻触摸,光学触摸等,本申请实施例不作限制。Input-output circuitry 750 may also include an array of touch sensors (ie,display 730 may be a touch display). The touch sensor can be a capacitive touch sensor formed from an array of transparent touch sensor electrodes, such as indium tin oxide (ITO) electrodes, or can be a touch sensor formed using other touch technologies, such as sonic touch, pressure sensitive touch, resistive touch Touch, optical touch, etc., are not limited in the embodiments of the present application.

可穿戴设备100还可以包括音频组件740。音频组件740可以用于为可穿戴设备100提供音频输入和输出功能。可穿戴设备100中的音频组件740可以包括扬声器,麦克风,蜂鸣器,音调发生器以及其它用于产生和检测声音的组件。Wearable device 100 may also includeaudio component 740 .Audio component 740 may be used to provide audio input and output functionality forwearable device 100 .Audio components 740 inwearable 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还可以包括蜂窝电话收发器和天线,无线局域网收发器电路和天线等。Thecommunication circuit 720 may be used to provide thewearable device 100 with the ability to communicate with external devices.Communication circuitry 720 may include analog and digital input-output interface circuitry, and wireless communication circuitry based on radio frequency signals and/or optical signals. Wireless communication circuitry incommunication circuitry 720 may include radio frequency transceiver circuitry, power amplifier circuitry, low noise amplifiers, switches, filters, and antennas. For example, wireless communication circuitry incommunication circuitry 720 may include circuitry for supporting Near Field Communication (NFC) by transmitting and receiving near-field coupled electromagnetic signals. For example, thecommunication circuit 720 may include a near field communication antenna and a near field communication transceiver.Communication circuitry 720 may also include cellular telephone transceivers and antennas, wireless local area network transceiver circuits and antennas, and the like.

可穿戴设备100还可以进一步包括电池,电力管理电路和其它输入-输出单元760。输入-输出单元760可以包括按钮,操纵杆,点击轮,滚动轮,触摸板,小键盘,键盘,照相机,发光二极管或其它状态指示器等。Thewearable device 100 may further include a battery, power management circuitry and other input-output units 760 . Input-output unit 760 may include buttons, joysticks, click wheels, scroll wheels, touch pads, keypads, keyboards, cameras, light emitting diodes or other status indicators, and the like.

用户可以通过输入-输出电路750输入命令来控制可穿戴设备100的操作,并且可以使用输入-输出电路750的输出数据以实现接收来自可穿戴设备100的状态信息和其它输出。The user may input commands through the input-output circuit 750 to control the operation of thewearable device 100 , and the output data of the input-output circuit 750 may be used to enable receiving status information and other outputs from thewearable device 100 .

基于图1a的网络构架,公开了一种可穿戴装置。请参阅图2,图2是本申请实施例公开的一种可穿戴装置的结构示意图,可穿戴装置10可以包括第一可穿戴设备100和第二可穿戴设备200,第一可穿戴设备100和第二可穿戴设备 200均与电子装置300建立无线连接;Based on the network architecture of 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. Thewearable device 10 may include a firstwearable device 100 and a secondwearable device 200. The firstwearable device 100 and The secondwearable device 200 establishes a wireless connection with theelectronic device 300;

第一可穿戴设备100,用于接收电子装置300发送的电子装置300上运行的第一应用产生的第一音频,以及用于将第一音频翻译为第一语音,以及用于播放第一语音;The firstwearable device 100 is used for receiving the first audio generated by the first application running on theelectronic device 300 and sent by theelectronic device 300, and for translating the first audio into the first voice, and for playing the first voice ;

第二可穿戴设备200,用于接收电子装置300发送的电子装置300上运行的第二应用产生的第二音频,以及用于将第二音频翻译为第二语音,以及用于播放第二语音。The secondwearable device 200 is configured to receive the second audio generated by the second application running on theelectronic device 300 and sent by theelectronic device 300 , to translate the second audio into the second voice, and to play the second voice .

本申请实施例中,第一可穿戴设备100可以将第一音频翻译为第一语音;第二可穿戴设备200可以将第二音频翻译为第二语音。其中,第一音频的语言类型与第一语音的语言类型不同;第二音频的语言类型与第二语音的语言类型不同。比如,第一音频的语言类型为英语,第一语音的语言类型为汉语;第二音频的语言类型为日语,第二语音的语言类型为英语。其中,第一音频的语言类型与第二音频的语言类型可以相同,也可以不同;第一语音的语言类型与第二语言的语言类型可以相同,也可以不同。In this embodiment of the present application, the firstwearable device 100 may translate the first audio into the first voice; the secondwearable device 200 may translate the second audio into the second voice. The language type of the first audio is different from the language type of the first voice; the language type of the second audio is different from the language type of the second voice. For example, the language type of the first audio is English, and the language type of the first voice is Chinese; the language type of the second audio is Japanese, and the language type of the second voice is English. The language type of the first audio and the language type of the second audio may be the same or different; the language type of the first voice and the language type of the second language may be the same or different.

举例来说,第一可穿戴设备100和第二可穿戴设备200可以组成一幅耳机。For example, the firstwearable device 100 and the secondwearable device 200 may form an earphone.

本申请实施例中,可以在第一可穿戴设备100和第二可穿戴设备200上设置语音翻译按键。下面以第一可穿戴设备100为例进行说明。In this embodiment of the present application, a voice translation button may be set on the firstwearable device 100 and the secondwearable device 200 . The firstwearable device 100 is taken as an example for description below.

当用户按压第一可穿戴设备100上设置的语音翻译按键时,即可触发第一可穿戴设备100进入语音翻译模式,当用户再次按压语音翻译按键时,即可退出语音翻译模式。进一步的,语音翻译按键还可以具有语言选择功能,上下按压语音翻译按键,可以打开或退出语音翻译模式,左右按压语音翻译按键,可以切换选择需要翻译的语言类型。并且在左右按压语音翻译按键时,可以在第一可穿戴设备100的扬声器输出选择需要翻译的语言类型的提示音。本申请实施例可以设置一个按键实现语音翻译开关以及语音翻译的语言类型的选择功能,节省第一可穿戴设备的按键使用数量,降低物料使用成本。When the user presses the voice translation button set on the firstwearable device 100, the firstwearable 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 and right, the speaker of the firstwearable device 100 can output a prompt tone for selecting the language type to be translated. In this embodiment of the present application, a button may be set to implement a voice translation switch and a language type selection function for voice translation, thereby saving the number of buttons used in the first wearable device and reducing the cost of material use.

可选的,第一可穿戴设备100,还用于接收用户输入的语音翻译指令,进入语音翻译模式;Optionally, the firstwearable device 100 is further configured to receive a voice translation instruction input by the user, and enter the voice translation mode;

第一可穿戴设备100,还用于接收用户选择的待翻译语音选择指令,选择第一语音对应的语言类型作为待翻译语音的语言类型。The firstwearable device 100 is further configured to receive a voice selection instruction to be translated selected by the 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通过扬声器输出提示音,以提示用户进入语音翻译模式。本申请实施例无需使用物理按键,可以节约第一可穿戴设备的空间,提高空间利用率。In this embodiment of the present application, the surface of the firstwearable device 100 may be set with a touch area for detecting a user's touch operation. For example, a pressure sensor can be set in a preset area on the surface of the firstwearable device 100, and the firstwearable device 100 can generate a corresponding control instruction according to the user's pressing duration and pressing force on the touch area to control whether to enter the voice Translation mode, and select the type of language that needs to be translated. For another example, the firstwearable device 100 may detect the number of taps by the user in the touch area within a unit time (eg, 1 second or two seconds), and generate corresponding control instructions according to the correspondence between the number of taps and the control instructions. For example, after one tap, the firstwearable device 100 outputs a prompt sound through the speaker to prompt the user to enter the voice translation mode. 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 secondwearable device 200 is further configured to receive a voice translation instruction input by the user, and enter the voice translation mode;

第二可穿戴设备200,还用于接收用户选择的待翻译语音选择指令,选择第二语音对应的语言类型作为待翻译语音的语言类型。The secondwearable device 200 is further configured to receive a voice selection instruction to be translated selected by the user, and select a language type corresponding to the second voice as the language type of the voice to be translated.

其中,上述第二可穿戴设备200选择待翻译语音的语言类型的具体实施方式可以参见上述第一可穿戴设备100选择待翻译语音的语言类型的相关描述。此处不再赘述。Wherein, for the specific implementation manner of selecting the language type of the speech to be translated by the secondwearable device 200, reference may be made to the above-mentioned description of the firstwearable device 100 selecting the language type of the speech to be translated. It will not be repeated here.

可选的,第一可穿戴设备100的表面还可以设置指纹检测区域,当用户按压指纹检测区域时,第一可穿戴设备100的指纹传感器开始工作,采集用户输入的指纹,并进行验证,当检测到用户输入的指纹与预先存储的指纹模板匹配时,确定验证通过,允许用户对第一可穿戴设备进行触控操作。本申请实施例可以进行指纹安全验证,防止陌生用户对第一可穿戴设备进行操控,提高第一可穿戴设备的安全性。Optionally, a fingerprint detection area may also be set on the surface of the firstwearable device 100. When the user presses the fingerprint detection area, the fingerprint sensor of the firstwearable device 100 starts to work, collects the fingerprint input by the user, and performs verification. When it is detected that the fingerprint input by the user matches the pre-stored fingerprint template, it is determined that the verification is passed, and the user is allowed to perform a touch operation on the first wearable device. The embodiments of the present application can perform fingerprint security verification, prevent unfamiliar users from manipulating the first wearable device, and improve the security of the first wearable device.

可选的,请参阅图3,图3是本申请实施例公开的一种第一可穿戴设备的结构示意图。如图3所示,第一可穿戴设备100可以包括第一通信模块11、第一扬声器12和第一控制器13,第一通信模块11、第一扬声器12连接第一控制器 13,其中:Optionally, please refer to FIG. 3 , which is a schematic structural diagram of a first wearable device disclosed in an embodiment of the present application. As shown in FIG. 3 , the firstwearable device 100 may include afirst communication module 11, afirst speaker 12 and afirst controller 13, and thefirst communication module 11 and thefirst speaker 12 are connected to thefirst controller 13, wherein:

第一通信模块11,用于接收电子装置300发送的电子装置300上运行的第一应用产生的第一音频。Thefirst communication module 11 is configured to receive the first audio generated by the first application running on theelectronic device 300 and sent by theelectronic device 300 .

第一控制器13,用于将第一音频翻译为第一语音。Thefirst controller 13 is used for translating the first audio into the first speech.

第一扬声器12,用于播放第一语音。Thefirst speaker 12 is used to play the first voice.

可选的,第一可穿戴设备100还可以包括至少一个第一麦克风,第一麦克风可以采集用户输入的语音。Optionally, the firstwearable device 100 may further include at least one first microphone, and the first microphone may collect the voice input by the user.

本申请实施例中,第一通信模块11可以包括第一蓝牙模块,第一可穿戴设备100可以通过第一蓝牙模块与电子装置300建立通信连接,并可以接收电子装置300发送的音频,以及将用户输入的语音发送给电子装置300。In this embodiment of the present application, thefirst communication module 11 may include a first Bluetooth module, and the firstwearable device 100 may establish a communication connection with theelectronic device 300 through the first Bluetooth module, and may receive audio sent by theelectronic device 300, and The voice input by the user is transmitted to theelectronic device 300 .

第一控制器13可以包括处理器和存储器,该处理器是第一可穿戴设备100 的控制中心,利用各种接口和线路连接整个可穿戴设备的各个部分,通过运行或执行存储在存储器内的软件程序和/或模块,以及调用存储在存储器内的数据,执行可穿戴设备的各种功能和处理数据,从而对可穿戴设备进行整体监控。可选的,处理器可集成应用处理器和调制解调处理器,其中,应用处理器主要处理操作系统、用户界面和应用程序等,调制解调处理器主要处理无线通信。可以理解的是,上述调制解调处理器也可以不集成到处理器中。Thefirst controller 13 may include a processor and a memory, the processor is the control center of the firstwearable device 100, uses various interfaces and lines to connect various parts of the entire wearable device, and runs or executes the stored in the memory. Software programs and/or modules, as well as calling data stored in the memory, perform 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 the operating system, user interface, and application programs, and the like, and the modem processor mainly processes wireless communication. It can be understood that, the above-mentioned modulation and demodulation processor may not be integrated into the processor.

其中,存储器可用于存储软件程序以及模块,处理器通过运行存储在存储器的软件程序以及模块,从而执行可穿戴设备的各种功能应用以及数据处理。存储器可主要包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需的应用程序等;存储数据区可存储根据可穿戴设备的使用所创建的数据等。此外,存储器可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件、闪存器件、或其他易失性固态存储器件。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 storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required for at least one function, and the like; the storage data area may store data created according to the use of the wearable device, and the like. Additionally, 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 device.

可选的,第一可穿戴设备100还可以设置声纹验证,仅在通过声纹验证后进入语音翻译模式。第一可穿戴设备100的麦克风采集用户输入的第一语音之后,第一控制器13对第一语音进行声纹验证,提取第一语音中的第一声纹特征,将第一声纹特征与预先存储的声纹特征模板进行匹配验证,当第一声纹特征与预先存储的声纹特征模板匹配时,确定验证通过,第一控制器13将第一语音翻译为第二语音,执行后续的操作。本申请实施例可以进行声纹验证,防止陌生用户对第一可穿戴设备进行操控,提高第一可穿戴设备的安全性。类似的,第二可穿戴设备200也可以设置声纹验证。Optionally, the firstwearable device 100 may also set voiceprint verification, and enter the voice translation mode only after passing the voiceprint verification. After the microphone of the firstwearable device 100 collects the first voice input by the user, thefirst controller 13 performs voiceprint verification on the first voice, extracts the first voiceprint feature in the first voice, and compares the first voiceprint feature with the first voiceprint feature. 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. Thefirst controller 13 translates the first voice into the second voice, and executes the subsequent operate. The embodiment of the present application can perform voiceprint verification, prevent unfamiliar users from manipulating the first wearable device, and improve the security of the first wearable device. Similarly, the secondwearable 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 FIG. 4 , the secondwearable device 200 may include asecond communication module 21, asecond speaker 22 and asecond controller 23, and thesecond communication module 21 and thesecond speaker 22 are connected to thesecond controller 23, wherein:

第二通信模块21,用于接收电子装置300发送的电子装置300上运行的第二应用产生的第二音频。Thesecond communication module 21 is configured to receive the second audio generated by the second application running on theelectronic device 300 and sent by theelectronic device 300 .

第二控制器23,用于将第二音频翻译为第二语音。Thesecond controller 23 is used for translating the second audio into the second speech.

第二扬声器22,用于播放第二语音。Thesecond speaker 22 is used for playing the second voice.

可选的,第二可穿戴设备200还可以包括至少一个第二麦克风,第二麦克风可以采集用户输入的语音。Optionally, the secondwearable device 200 may further include at least one second microphone, and the second microphone may collect the voice input by the user.

本申请实施例中,第二通信模块21可以包括第二蓝牙模块,第二可穿戴设备200可以通过第二蓝牙模块与电子装置300建立通信连接,并可以接收电子装置300发送的音频,以及将用户输入的语音发送给电子装置300。In this embodiment of the present application, thesecond communication module 21 may include a second Bluetooth module, and the secondwearable device 200 may establish a communication connection with theelectronic device 300 through the second Bluetooth module, and may receive audio sent by theelectronic device 300, and The voice input by the user is transmitted to theelectronic device 300 .

第二控制器23与第一控制器13类似,也可以包括处理器和存储器。第二控制器23的功能和原理可以参见上述第一控制器13的描述,此处不再赘述。Similar to thefirst controller 13, thesecond controller 23 may also include a processor and a memory. For the function and principle of thesecond controller 23, reference may be made to the description of thefirst controller 13, which is not repeated here.

本申请实施例中,电子装置300可以同时运行第一应用和第二应用。第一应用和第二应用可以分别产生音频。第一应用和第二应用可以是不同的APP,也可以是同一个APP的分屏应用。第一应用在运行的过程中可以产生音频,第二应用在运行的过程中也可以产生音频。第一应用和第二应用可以同时产生音频。In this embodiment of the present application, theelectronic device 300 may run the first application and the second application at the same time. The first application and the second application may separately generate audio. The first application and the second application may be different APPs, or may be split-screen applications of the same APP. The first application may generate audio during the running process, and the second application may also generate audio during the running process. The first application and the second application can generate audio at the same time.

可选的,第一应用可以与第一可穿戴设备100进行绑定,第二应用可以与第二可穿戴设备200进行绑定。当电子装置300与第一可穿戴设备100和第二可穿戴设备200 都建立通信连接后,电子装置300将第一应用产生的音频发送至第一可穿戴设备100,将第二应用产生的音频发送至第二可穿戴设备20。Optionally, the first application may be bound with the firstwearable device 100 , and the second application may be bound with the secondwearable device 200 . After theelectronic device 300 establishes a communication connection with both the firstwearable device 100 and the secondwearable device 200, theelectronic device 300 sends the audio generated by the first application to the firstwearable device 100, and transmits the audio generated by the second application to the firstwearable device 100. Sent to the second wearable device 20 .

可选的,用户可以将不同的应用与不同的可穿戴设备进行绑定。当电子装置300与第一可穿戴设备100和第二可穿戴设备200 都建立通信连接后,用户可以在电子装置300中选择将第一应用与第一可穿戴设备100进行绑定,选择将第二应用与第二可穿戴设备200进行绑定。此时,第一可穿戴设备100只能接收第一应用产生的音频,无法接收第二应用产生的音频;第二可穿戴设备200 只能接收第二应用产生的音频,无法接收第一应用产生的音频。Optionally, the user can bind different applications to different wearable devices. After theelectronic device 300 establishes a communication connection with both the firstwearable device 100 and the secondwearable device 200, the user can choose to bind the first application to the firstwearable device 100 in theelectronic device 300, and select to bind the first application to the firstwearable device 100. The second application is bound to the secondwearable device 200 . At this time, the firstwearable device 100 can only receive the audio generated by the first application, but cannot receive the audio generated by the second application; the secondwearable device 200 can only receive the audio generated by the second application, but cannot receive the audio generated by the first application. 's audio.

可选的,第一应用和第二应用均为视频播放应用。第一应用和第二应用可以在电子装置300上分屏显示。比如,第一应用和第二应用可以在电子装置300 的显示屏的两个不同的区域显示。本申请实施例适用于两个用户使用同一电子装置观看两个不同视频的场景。Optionally, both the first application and the second application are video playback applications. The first application and the second application may be displayed on theelectronic device 300 in a split screen. For example, the first application and the second application may be displayed in two different areas of the display screen of theelectronic device 300 . The embodiments of the present application are applicable to a scenario in which two users use the same electronic device to watch two different videos.

本申请实施例中,两个可穿戴设备可以分别从电子装置接收音频并进行翻译,可以实现两个可穿戴设备分别对电子装置中不同应用产生的音频进行翻译。In the embodiment of the present application, the two wearable devices can respectively receive audio from the electronic device and translate it, so that the two wearable devices can respectively translate the audio generated by different applications in the electronic device.

可选的,第一可穿戴设备100将第一音频翻译为第一语音,具体为:Optionally, the firstwearable device 100 translates the first audio into the first voice, specifically:

第一可穿戴设备100向翻译服务器发送翻译请求,该翻译请求携带第一音频以及第一语音标识,该翻译请求用于翻译服务器将第一音频翻译为第一语音标识对应的第一语音;The firstwearable device 100 sends a translation request to the translation server, where the translation request carries the first audio and the first voice identification, and the translation request is used by the translation server to translate the first audio into the first voice corresponding to the first voice identification;

第一可穿戴设备100接收翻译服务器返回的第一语音。The firstwearable device 100 receives the first voice returned by the translation server.

本申请实施例中,第一可穿戴设备100可以具有联网功能,第一可穿戴设备100可以连接蜂窝网络,第一可穿戴设备100可以通过基站访问翻译服务器,翻译服务器可以实现语音翻译功能。具体的,第一可穿戴设备100可以向翻译服务器发送翻译请求,该翻译请求携带第一音频以及第一语音标识,第一语音标识可以是根据第一用户在第一可穿戴设备100上选择的语言类型后生成的。翻译服务器将第一音频翻译为第一语音标识对应的第一语音,并将翻译后的第一语音发送给第一可穿戴设备100。In this embodiment of the present application, the firstwearable device 100 may have a networking function, the firstwearable device 100 may be connected to a cellular network, the firstwearable device 100 may access a translation server through a base station, and the translation server may implement a voice translation function. Specifically, the firstwearable device 100 may send a translation request to the translation server, where the translation request carries the first audio and the first voice identification, and the first voice identification may be selected according to the first user on the firstwearable 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 firstwearable device 100 .

翻译服务器将第一音频翻译为第一语音标识对应的第一语音,具体可以为:The translation server translates the first audio into the first voice corresponding to the first voice identifier, which may be specifically:

翻译服务器启动语音识别功能,将第一音频转换为第一文本,将第一文本翻译为第一语音标识对应的第二文本,根据第二文本生成第一语音。The translation server activates the speech recognition function, converts the first audio into the first text, translates the first text into the second text corresponding to the first voice identification, and generates the first voice according to the second text.

本申请实施例中,可穿戴设备可以具备连接蜂窝网络的功能,无需通过第三方设备(比如手机)作为语音翻译的中转,可以随时随地进行语音翻译,并且可以快速实现语音翻译,提高语音翻译的实时性,从而实现语音实时翻译。In the embodiment of the present application, the wearable device may have the function of connecting to a 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 and anywhere, and can quickly implement voice translation, improving the efficiency of voice translation. Real-time, so as to achieve real-time voice translation.

可选的,第二可穿戴设备200将第二音频翻译为第二语音,具体为:Optionally, the secondwearable device 200 translates the second audio into the second voice, specifically:

第二可穿戴设备200向翻译服务器发送翻译请求,该翻译请求携带第二音频以及第二语音标识,该翻译请求用于翻译服务器将第二音频翻译为第二语音标识对应的第二语音;The secondwearable device 200 sends a translation request to the translation server, where the translation request carries the second audio and the second voice identification, and the translation request is used by the translation server to translate the second audio into the second voice corresponding to the second voice identification;

第二可穿戴设备200接收翻译服务器返回的第二语音。The secondwearable device 200 receives the second voice returned by the translation server.

其中,第二可穿戴设备200将第二音频翻译为第二语音的具体实现方式可以参见上述第一可穿戴设备100将第一音频翻译为第一语音的具体实施,此处不再赘述。The specific implementation of the secondwearable device 200 translating the second audio into the second voice may refer to the above-mentioned specific implementation of the firstwearable device 100 translating the first audio into the first voice, which will not be repeated here.

可选的,第一应用和第二应用为电子装置300上同时运行的视频播放应用。Optionally, the first application and the second application are video playback applications running on theelectronic device 300 at the same time.

其中,第一应用和第二应用可以在电子装置300的显示屏的两个不同的区域显示。第一应用和第二应用可以是不同的APP,也可以是同一个APP的分屏应用。The first application and the second application may be displayed in two different areas of the display screen of theelectronic device 300 . The first application and the second application may be different APPs, or may be split-screen applications of the same APP.

可选的,第一可穿戴设备100,还用于接收用户输入的第一视频播放参数调节指令,第一视频播放参数调节指令用于调节电子装置300上运行的第一应用的视频播放参数;Optionally, the firstwearable device 100 is further configured to receive a first video playback parameter adjustment instruction input by the user, and the first video playback parameter adjustment instruction is used to adjust the video playback parameters of the first application running on theelectronic device 300;

第二可穿戴设备200,还用于接收用户输入的第二视频播放参数调节指令,第二视频播放参数调节指令用于调节电子装置300上运行的第二应用的视频播放参数。The secondwearable device 200 is further configured to receive a second video playback parameter adjustment instruction input by the user, where the second video playback parameter adjustment instruction is used to adjust the video playback parameters of the second application running on theelectronic device 300 .

本申请实施例中,用户可以通过设置在第一可穿戴设备100上的按键或者按钮来输入视频播放参数调节指令。用户也可以通过第一可穿戴设备100的表面上的触摸区域来触控输入视频播放参数调节指令。其中,视频播放参数调节指令可以用于调节电子装置300上运行的第一应用的视频播放参数。第一应用的视频播放参数包括视频播放的音量、视频亮度、视频快进快退等参数。其中,视频播放参数调节指令可以包括:视频播放音量调节指令、视频亮度调节指令、视频快进或快退量调节指令中的任一种。In this embodiment of the present application, the user may input a video playback parameter adjustment instruction through a key or button provided on the firstwearable device 100 . The user can also touch and input the video playback parameter adjustment instruction through the touch area on the surface of the firstwearable device 100 . The video playback parameter adjustment instruction may be used to adjust the video playback parameters of the first application running on theelectronic device 300 . The video playback parameters of the first application include parameters such as video playback volume, video brightness, and video fast forward and fast backward. The video playback parameter adjustment instruction may include any one of a video playback volume adjustment instruction, a video brightness adjustment instruction, and a video fast-forward or fast-rewind amount adjustment instruction.

举例来说,第一可穿戴设备100的表面可以设置用于检测用户触摸操作的触摸区域。例如,可以在第一可穿戴设备100的表面的预设区域设置压力传感器,第一可穿戴设备100可以根据用户在触摸区域的按压时长和按压力度来生成相应的视频播放参数调节指令。例如,第一可穿戴设备100可以检测触摸区域的第一子区域的按压力度来增加视频播放的音量,其中,第一子区域的按压力度越大,视频播放的音量增加量越大;第一可穿戴设备100可以检测触摸区域的第二子区域的按压力度来降低视频播放的音量,其中,第二子区域的按压力度越大,视频播放的音量减小量越大。其中,第一子区域和第二子区域没有重合区域。本申请实施例无需使用物理按键,可以节约第一可穿戴设备的空间,提高空间利用率。For example, the surface of the firstwearable device 100 may set a touch area for detecting a user's touch operation. For example, a pressure sensor may be set in a preset area on the surface of the firstwearable device 100, and the firstwearable device 100 may generate corresponding video playback parameter adjustment instructions according to the user's pressing duration and pressing force on the touch area. For example, the firstwearable device 100 can detect the pressing force of the first sub-region of the touch area to increase the volume of the video playback, wherein, the greater the pressing force of the first sub-region, the greater the volume increase of the video playback; Thewearable device 100 may detect the pressing force of the second sub-region of the touch area to reduce the volume of the video playback, wherein the greater the pressing force of the second sub-region, the greater the volume reduction of the video playback. Wherein, the first sub-region and the second sub-region do not have overlapping regions. 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.

本申请实施例中,第一可穿戴设备和第二可穿戴设备可以分别对电子装置上的第一应用和第二应用的视频播放参数进行调节,可以满足两个用户使用同一电子装置同时观看两个不同视频,并且可以实现两个可穿戴设备分别对电子装置中不同应用产生的音频进行翻译。In the embodiment of the present application, the first wearable device and the second wearable device can respectively adjust the video playback parameters of the first application and the second application on the electronic device, so that two users can use the same electronic device to watch two videos at the same time. different videos, and two wearable devices can respectively translate the audio generated by different applications in the electronic device.

请参阅图5,图5是本申请实施例公开的一种翻译方法的流程示意图。如图 5所示,该翻译方法包括如下步骤。Please refer to FIG. 5 , which 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. The first wearable device receives a first audio generated by a first application running on the electronic device and sent by the electronic device, translates the first audio into a first voice, and plays the first voice.

502,第二可穿戴设备接收电子装置发送的电子装置上运行的第二应用产生的第二音频,将第二音频翻译为第二语音,播放第二语音;第一可穿戴设备和第二可穿戴设备均与电子装置建立无线连接。502. The second wearable device receives the second audio sent by the electronic device and generated by the second application running on the electronic device, translates the second audio into the second voice, and plays the second voice; All wearable devices establish wireless connections with electronic devices.

其中,步骤501和步骤502可以同时执行,也可以步骤501在步骤502之后执行,也可以步骤501在步骤502之前执行,本申请实施例不做限定。Wherein,step 501 and step 502 may be performed simultaneously, or step 501 may be performed afterstep 502, or step 501 may be performed beforestep 502, which is not limited in this embodiment of the present application.

其中,步骤501可以将电子装置上运行的第一应用产生的所有音频逐一翻译并播放;步骤502可以将电子装置上运行的第二应用产生的所有音频逐一翻译并播放。Wherein, step 501 can translate and play all the audios generated by the first application running on the electronic device one by one; and step 502 can translate and play all the audios generated by the second application running on the electronic device one by one.

其中,电子装置可以周期性(比如,每隔两秒)的向第一可穿戴设备发送第一应用产生的音频,类似的,电子装置可以周期性(比如,每隔两秒)的向第二可穿戴设备发送第二应用产生的音频。The electronic device may periodically (for example, every two seconds) send the audio generated by the first application to the first wearable device. Similarly, the electronic device may periodically (for example, every two seconds) send the audio generated by the first application to the second wearable device. The wearable device transmits audio generated by the second application.

可选的,步骤501中,第一可穿戴设备将第一音频翻译为第一语音可以包括:步骤(11)和步骤(12)。Optionally, instep 501, translating the first audio into the first speech by the first wearable device may include steps (11) and (12).

(11)第一可穿戴设备向翻译服务器发送翻译请求,该翻译请求携带第一音频以及第一语音标识,该翻译请求用于翻译服务器将第一音频翻译为第一语音标识对应的第一语音;(11) The first wearable device sends a translation request to the translation server, where the translation request carries the first audio and the first voice identification, and the translation request is used by the translation server to translate the first audio into the first voice corresponding to the first voice identification ;

(12)第一可穿戴设备接收翻译服务器返回的第一语音。(12) The first wearable device receives the first voice returned by the translation server.

可选的,步骤502中,第二可穿戴设备将第二音频翻译为第二语音可以包括:步骤(21)和步骤(22)。Optionally, instep 502, translating the second audio into the second voice by the second wearable device may include steps (21) and (22).

(21)第二可穿戴设备向翻译服务器发送翻译请求,该翻译请求携带第二音频以及第二语音标识,该翻译请求用于翻译服务器将第二音频翻译为第二语音标识对应的第二语音;(21) The second wearable device sends a translation request to the translation server, where the translation request carries the second audio and the second voice identification, and the translation request is used by the translation server to translate the second audio into the second voice corresponding to the second voice identification ;

(22)第二可穿戴设备接收翻译服务器返回的第二语音。(22) The second wearable device receives the second voice returned by the translation server.

可选的,第一应用和第二应用为电子装置上同时运行的视频播放应用。Optionally, the first application and the second application are video playback applications running simultaneously on the electronic device.

可选的,图5还可以包括如下步骤:Optionally, Figure 5 may also include the following steps:

第一可穿戴设备接收用户输入的第一视频播放参数调节指令,该第一视频播放参数调节指令用于调节电子装置上运行的第一应用的视频播放参数;The first wearable device receives a first video playback parameter adjustment instruction input by the user, where the first video playback parameter adjustment instruction is used to adjust the video playback parameter of the first application running on the electronic device;

第二可穿戴设备接收用户输入的第二视频播放参数调节指令,该第二视频播放参数调节指令用于调节电子装置上运行的第二应用的视频播放参数。The second wearable device receives a second video playback parameter adjustment instruction input by the user, where the second video playback parameter adjustment instruction is used to adjust the video playback parameters of the second application running on the electronic device.

图5所示的方法的具体实施可以参见图1~图4所示的装置实施例,此处不再赘述。For the specific implementation of the method shown in FIG. 5 , reference may be made to the apparatus embodiments shown in FIG. 1 to FIG. 4 , and details are not repeated here.

本申请实施例中,两个可穿戴设备可以分别从电子装置接收音频并进行翻译,可以实现两个可穿戴设备分别对电子装置中不同应用产生的音频进行翻译。In the embodiment of the present application, the two wearable devices can respectively receive audio from the electronic device and translate it, so that the two wearable devices can respectively translate the audio generated by different applications in the electronic device.

请参阅图6,图6是本申请实施例公开的另一种翻译方法的流程示意图。图 6是在图5的基础上进一步优化得到的,如图6所示,该翻译方法包括如下步骤。Please refer to FIG. 6. FIG. 6 is a schematic flowchart of another translation method disclosed in an embodiment of the present application. Fig. 6 is obtained by further optimization on the basis of Fig. 5. As shown in Fig. 6, the translation method includes the following steps.

601,第一可穿戴设备接收用户输入的语音翻译指令,进入语音翻译模式。601. The first wearable device receives a voice translation instruction input by a user, and enters a voice translation mode.

602,第一可穿戴设备接收用户选择的待翻译语音选择指令,选择第一语音对应的语言类型作为待翻译语音的语言类型。602 , the first wearable device receives a voice selection instruction to be translated selected by the 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 and generated by the first application running on the electronic device, translates the first audio into the first voice, and plays the first voice.

604,第二可穿戴设备接收电子装置发送的电子装置上运行的第二应用产生的第二音频,将第二音频翻译为第二语音,播放第二语音;第一可穿戴设备和第二可穿戴设备均与电子装置建立无线连接。604. The second wearable device receives the second audio sent by the electronic device and generated by the second application running on the electronic device, translates the second audio into the second voice, and plays the second voice; All wearable devices establish wireless connections with electronic devices.

可选的,在执行步骤604之前,还可以执行如下步骤:Optionally, before performingstep 604, the following steps may also be performed:

第二可穿戴设备接收用户输入的语音翻译指令,进入语音翻译模式;The second wearable device receives the voice translation instruction input by the user, and enters the voice translation mode;

第二可穿戴设备接收用户选择的待翻译语音选择指令,选择第二语音对应的语言类型作为待翻译语音的语言类型。The second wearable device receives the voice selection instruction to be translated selected by the 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,此处不再赘述。Forstep 603 and step 604 in this embodiment of the present application, reference may be made 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 apparatus embodiments shown in FIG. 1 to FIG. 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 video playback parameters of the first application and the second application on the electronic device, so that two users can use the same electronic device to watch two videos at the same time. different videos, and two wearable devices can respectively translate the audio generated by different applications in the electronic device.

请参阅图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, thewearable device 700 includes aprocessor 701, amemory 702, a communication interface 703, and one or more programs , wherein the above-mentioned one or more programs are stored in the above-mentionedmemory 702 and configured to be executed by the above-mentionedprocessor 701, and the above-mentioned programs include instructions for performing the following steps:

接收电子装置发送的电子装置上运行的第一应用产生的第一音频,将第一音频翻译为第一语音,播放第一语音。The first audio generated by the first application running on the electronic device and sent by the electronic device is received, the first audio is translated into the first voice, and the first voice is played.

可选的,在将第一音频翻译为第一语音方面,上述程序具体用于执行以下步骤的指令:Optionally, in terms of translating the first audio into the first voice, the above program is specifically used to execute the instructions of the following steps:

向翻译服务器发送翻译请求,翻译请求携带第一音频以及第一语音标识,翻译请求用于翻译服务器将第一音频翻译为第一语音标识对应的第一语音;Send a translation request to the translation server, where the translation request carries the first audio and the first voice identification, and the translation request is used by the translation server to translate the first audio into the first voice corresponding to the first voice identification;

接收翻译服务器返回的第一语音。Receive the first speech returned by the translation server.

可选的,第一应用和第二应用为电子装置上同时运行的视频播放应用。Optionally, the first application and the second application are video playback applications running simultaneously on the electronic device.

可选的,上述程序包括还用于执行以下步骤的指令:Optionally, the above program includes instructions for performing the following steps:

接收用户输入的第一视频播放参数调节指令,第一视频播放参数调节指令用于调节电子装置上运行的第一应用的视频播放参数。The first video playback parameter adjustment instruction input by the user is received, and the first video playback parameter adjustment instruction is used to adjust the video playback parameters of the first application running on the electronic device.

可选的,上述程序包括还用于执行以下步骤的指令:Optionally, the above program includes instructions for performing the following steps:

接收用户输入的语音翻译指令,进入语音翻译模式;Receive the voice translation command input by the user and enter the voice translation mode;

接收用户选择的待翻译语音选择指令,选择第一语音对应的语言类型作为待翻译语音的语言类型。A voice selection instruction to be translated selected by the 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 apparatus shown in FIG. 7 , reference may be made to the apparatus embodiments shown in FIG. 1 to FIG. 4 , and details are not described herein again.

实施图7所示的可穿戴设备,可穿戴设备可以从电子装置接收音频并进行翻译。Implementing the wearable device shown in Figure 7, the wearable device can receive audio from the 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. Thetranslation device 800 includes afirst receiving unit 801, afirst translation unit 802, afirst playing unit 803, Thesecond receiving unit 804, thesecond translation unit 805 and thesecond playing unit 806, wherein:

第一接收单元801,用于接收电子装置发送的电子装置上运行的第一应用产生的第一音频。Thefirst receiving unit 801 is configured to receive the first audio generated by the first application running on the electronic device and sent by the electronic device.

第一翻译单元802,用于将第一音频翻译为第一语音。Thefirst translation unit 802 is configured to translate the first audio into the first speech.

第一播放单元803,用于播放第一语音。Thefirst playing unit 803 is used to play the first voice.

第二接收单元804,用于接收电子装置发送的电子装置上运行的第二应用产生的第二音频。Thesecond receiving unit 804 is configured to receive the second audio sent by the electronic device and generated by a second application running on the electronic device.

第二翻译单元805,用于将第二音频翻译为第二语音。Thesecond translation unit 805 is configured to translate the second audio into the second speech.

第二播放单元806,用于播放第二语音。Thesecond playing unit 806 is configured to play 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, thefirst translation unit 802 and thesecond translation unit 805 may be processors or controllers, (for example, may be central processing units (Central Processing Unit, CPU), general-purpose processors, digital signal processors (Digital Signal Processor, DSP) , Application-Specific Integrated Circuit (ASIC), Field Programmable Gate Array (FPGA) or other programmable logic devices, transistor logic devices, hardware components or any combination thereof. Thefirst receiving unit 801. Thesecond receiving unit 804 may be a wireless communication module (eg, a Bluetooth module), and thefirst playing unit 803 and thesecond playing unit 806 may be speakers.

图8所示的装置的具体实施可以参见图1~图4所示的装置实施例,此处不再赘述。For the specific implementation of the apparatus shown in FIG. 8 , reference may be made to the apparatus embodiments shown in FIG. 1 to FIG. 4 , which will not be repeated here.

实施图8所示的可穿戴设备,两个可穿戴设备可以分别从电子装置接收音频并进行翻译,可以实现两个可穿戴设备分别对电子装置中不同应用产生的音频进行翻译。By implementing the wearable device shown in FIG. 8 , the two wearable devices can respectively receive audio from the electronic device and translate it, so that the two wearable devices can respectively translate the audio generated by different applications in the electronic device.

本申请实施例还提供一种计算机存储介质,其中,该计算机存储介质存储用于电子数据交换的计算机程序,该计算机程序使得计算机执行如上述方法实施例中记载的任一方法的部分或全部步骤,上述计算机包括可穿戴设备。Embodiments of the present application further provide a computer storage medium, wherein the computer storage medium stores a computer program for electronic data exchange, and the computer program causes the computer to execute part or all of the steps of any method described in the above method embodiments , the above computer includes a wearable device.

本申请实施例还提供一种计算机程序产品,上述计算机程序产品包括存储了计算机程序的非瞬时性计算机可读存储介质,上述计算机程序可操作来使计算机执行如上述方法实施例中记载的任一方法的部分或全部步骤。该计算机程序产品可以为一个软件安装包,上述计算机包括可穿戴设备。Embodiments of the present application further provide a computer program product, where the computer program product includes a non-transitory computer-readable storage medium storing a computer program, and the computer program is operable to cause a computer to execute any one of the method embodiments described above. some or all of the steps of the method. The computer program product may be a software installation package, and the above-mentioned computer includes a wearable device.

需要说明的是,对于前述的各方法实施例,为了简单描述,故将其都表述为一系列的动作组合,但是本领域技术人员应该知悉,本申请并不受所描述的动作顺序的限制,因为依据本申请,某些步骤可以采用其他顺序或者同时进行。其次,本领域技术人员也应该知悉,说明书中所描述的实施例均属于优选实施例,所涉及的动作和模块并不一定是本申请所必须的。It should be noted that, for the sake of simple description, the foregoing method embodiments are all 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. Because in accordance with the present application, certain steps may be performed in other orders or concurrently. Secondly, those skilled in the art should also know that the embodiments described in the specification are all preferred embodiments, and the actions and modules involved are not necessarily required by the present application.

在上述实施例中,对各个实施例的描述都各有侧重,某个实施例中没有详述的部分,可以参见其他实施例的相关描述。In the above-mentioned embodiments, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, reference may be made to the relevant descriptions of other embodiments.

在本申请所提供的几个实施例中,应该理解到,所揭露的装置,可通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如上述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性或其它的形式。In the several embodiments provided in this application, it should be understood that the disclosed apparatus may be implemented in other manners. For example, the device embodiments described above are only illustrative. For example, the division of the above-mentioned units is only a logical function division. In actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated. to another system, or some features can be ignored, or not implemented. On the other hand, the shown or discussed mutual coupling or direct coupling or communication connection may be through some interfaces, indirect coupling or communication connection of devices or units, and may be in electrical or other forms.

上述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。The units described above as separate components may or may not be physically separated, and components shown as units may or may not be physical units, that is, may be located in one place, or may be distributed to multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution in this embodiment.

另外,在本申请各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically alone, or two or more units may be integrated into one unit. The above-mentioned integrated units may be implemented in the form of hardware, or may be implemented in the form of software functional units.

上述集成的单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储器中。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的全部或部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储器中,包括若干指令用以使得一台计算机设备(可为个人计算机、服务器或者网络设备等)执行本申请各个实施例上述方法的全部或部分步骤。而前述的存储器包括:U盘、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM, Random Access Memory)、移动硬盘、磁碟或者光盘等各种可以存储程序代码的介质。The above-mentioned integrated units, if implemented in the form of software functional units and sold or used as independent products, may be stored in a computer-readable memory. Based on this understanding, the technical solution of the present application can be embodied in the form of a software product in essence, or the part that contributes to the prior art, or all or part of the technical solution, and the computer software product is stored in a memory, Several instructions are included to cause a computer device (which may be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the above-mentioned methods in the 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 skilled in the art can understand that all or part of the steps in the various methods of the above embodiments can be completed by instructing relevant 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, referred to as: ROM), random access device (English: Random Access Memory, referred to as: RAM), magnetic disk or optical disk, etc.

以上对本申请实施例进行了详细介绍,本文中应用了具体个例对本申请的原理及实施方式进行了阐述,以上实施例的说明只是用于帮助理解本申请的方法及其核心思想;同时,对于本领域的一般技术人员,依据本申请的思想,在具体实现方式及应用范围上均会有改变之处,综上上述,本说明书内容不应理解为对本申请的限制。The embodiments of the present application have been introduced in detail above, and the principles and implementations of the present application are described in this paper by using specific examples. The descriptions of the above embodiments are only used to help understand the methods and core ideas of the present application; at the same time, for Persons of ordinary skill in the art, based on the idea of the present application, may have changes in the specific implementation manner and application scope. In summary, the contents of this specification should not be construed as limitations on the present application.

Claims (11)

CN201810619139.2A2018-06-152018-06-15 Translation method, translation device, wearable device and storage mediumExpired - Fee RelatedCN109067965B (en)

Priority Applications (1)

Application NumberPriority DateFiling DateTitle
CN201810619139.2ACN109067965B (en)2018-06-152018-06-15 Translation method, translation device, wearable device and storage medium

Applications Claiming Priority (1)

Application NumberPriority DateFiling DateTitle
CN201810619139.2ACN109067965B (en)2018-06-152018-06-15 Translation method, translation device, wearable device and storage medium

Publications (2)

Publication NumberPublication Date
CN109067965A CN109067965A (en)2018-12-21
CN109067965Btrue CN109067965B (en)2020-12-22

Family

ID=64821026

Family Applications (1)

Application NumberTitlePriority DateFiling Date
CN201810619139.2AExpired - Fee RelatedCN109067965B (en)2018-06-152018-06-15 Translation method, translation device, wearable device and storage medium

Country Status (1)

CountryLink
CN (1)CN109067965B (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN110058836B (en)*2019-03-182020-11-06维沃移动通信有限公司 An audio signal output method and terminal device
CN110213442A (en)*2019-05-292019-09-06努比亚技术有限公司Speech playing method, terminal and computer readable storage medium
CN111476040A (en)*2020-03-272020-07-31深圳光启超材料技术有限公司Language output method, head-mounted device, storage medium, and electronic device
CN111741394A (en)*2020-06-052020-10-02北京搜狗科技发展有限公司Data processing method and device and readable medium
CN111739538B (en)*2020-06-052022-04-26北京搜狗科技发展有限公司Translation method and device, earphone and server
CN115494936A (en)*2021-06-182022-12-20北京有竹居网络技术有限公司 An information interaction method, device, electronic device and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN105023593A (en)*2014-04-182015-11-04联想移动通信科技有限公司Terminal audio playing method, terminal audio playing device and terminal
CN106375563A (en)*2016-08-302017-02-01珠海市魅族科技有限公司Method and device for controlling audio output of terminal
CN106454605A (en)*2016-11-302017-02-22南京小脚印网络科技有限公司Intelligent translation earphone system
CN206452520U (en)*2017-02-282017-08-29广州市东声电子科技有限公司A kind of new simultaneous interpretation earphone

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN106131753A (en)*2016-06-282016-11-16乐视控股(北京)有限公司Audio output control method, device and terminal
CN106209130B (en)*2016-07-262019-01-04维沃移动通信有限公司A kind of wireless headset and the method using wireless headset output audio data
CN106817490A (en)*2017-01-122017-06-09努比亚技术有限公司A kind of terminal and sound playing method

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN105023593A (en)*2014-04-182015-11-04联想移动通信科技有限公司Terminal audio playing method, terminal audio playing device and terminal
CN106375563A (en)*2016-08-302017-02-01珠海市魅族科技有限公司Method and device for controlling audio output of terminal
CN106454605A (en)*2016-11-302017-02-22南京小脚印网络科技有限公司Intelligent translation earphone system
CN206452520U (en)*2017-02-282017-08-29广州市东声电子科技有限公司A kind of new simultaneous interpretation earphone

Also Published As

Publication numberPublication date
CN109067965A (en)2018-12-21

Similar Documents

PublicationPublication DateTitle
CN108710615B (en)Translation method and related equipment
CN109067965B (en) Translation method, translation device, wearable device and storage medium
US10466961B2 (en)Method for processing audio signal and related products
CN108810693B (en) A wearable device and device control device and method thereof
CN107580113B (en)Prompting method, prompting device, storage medium and terminal
EP3598435B1 (en)Method for processing information and electronic device
CN108966067B (en)Play control method and related product
CN108391206A (en)Signal processing method, device, terminal, earphone and readable storage medium storing program for executing
CN107683459A (en) Change companion communication device behavior based on wearable device state
CN108803859A (en)Information processing method, device, terminal, earphone and readable storage medium
EP3547711A1 (en)Method for input operation control and related products
WO2022033176A1 (en)Audio play control method and apparatus, and electronic device and storage medium
CN108683799A (en)wearable device searching method and related device
WO2021063249A1 (en)Control method for electronic device and electronic device
CN108922537A (en)Audio recognition method, device, terminal, earphone and readable storage medium
CN108540900A (en)Volume adjusting method and related product
CN108595003A (en)Function control method and related equipment
CN108923810A (en)Translation method and related equipment
CN107484082A (en)Method for controlling audio signal transmission based on sound channel and user terminal
CN108668018B (en) Mobile terminal, volume control method and related products
WO2023159717A1 (en)Earbud operation control method, ring earbuds, and storage medium
CN109040425B (en)Information processing method and related product
CN108683975A (en) an audio device
CN115037831B (en)Mode control method and device, electronic equipment and earphone
CN108958481B (en)Equipment control method and related product

Legal Events

DateCodeTitleDescription
PB01Publication
PB01Publication
SE01Entry into force of request for substantive examination
SE01Entry into force of request for substantive examination
GR01Patent grant
GR01Patent grant
CF01Termination of patent right due to non-payment of annual fee
CF01Termination of patent right due to non-payment of annual fee

Granted publication date:20201222


[8]ページ先頭

©2009-2025 Movatter.jp