[go: up one dir, main page]

CN109151789B - Translation method, device, system, and Bluetooth headset - Google Patents

Translation method, device, system, and Bluetooth headset Download PDF

Info

Publication number
CN109151789B
CN109151789B CN201811163048.9A CN201811163048A CN109151789B CN 109151789 B CN109151789 B CN 109151789B CN 201811163048 A CN201811163048 A CN 201811163048A CN 109151789 B CN109151789 B CN 109151789B
Authority
CN
China
Prior art keywords
language
bluetooth headset
audio data
bluetooth
user
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
CN201811163048.9A
Other languages
Chinese (zh)
Other versions
CN109151789A (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 Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201811163048.9A priority Critical patent/CN109151789B/en
Publication of CN109151789A publication Critical patent/CN109151789A/en
Application granted granted Critical
Publication of CN109151789B publication Critical patent/CN109151789B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/80Services using short range communication, e.g. near-field communication [NFC], radio-frequency identification [RFID] or low energy communication
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/40Processing or translation of natural language
    • G06F40/58Use of machine translation, e.g. for multi-lingual retrieval, for server-side translation for client devices or for real-time translation
    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10LSPEECH ANALYSIS TECHNIQUES OR SPEECH SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING TECHNIQUES; SPEECH OR AUDIO CODING OR DECODING
    • G10L15/00Speech recognition
    • G10L15/02Feature extraction for speech recognition; Selection of recognition unit
    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10LSPEECH ANALYSIS TECHNIQUES OR SPEECH SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING TECHNIQUES; SPEECH OR AUDIO CODING OR DECODING
    • G10L15/00Speech recognition
    • G10L15/26Speech to text systems
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04RLOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
    • H04R1/00Details of transducers, loudspeakers or microphones
    • H04R1/10Earpieces; Attachments therefor ; Earphones; Monophonic headphones
    • H04R1/1041Mechanical or electronic switches, or control elements

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • Computational Linguistics (AREA)
  • Acoustics & Sound (AREA)
  • Health & Medical Sciences (AREA)
  • Human Computer Interaction (AREA)
  • Signal Processing (AREA)
  • Multimedia (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Artificial Intelligence (AREA)
  • General Health & Medical Sciences (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Telephone Function (AREA)
  • Machine Translation (AREA)

Abstract

本申请公开了一种翻译方法、装置、系统以及蓝牙耳机,涉及蓝牙耳机技术领域。该方法应用于蓝牙耳机,所述方法包括:蓝牙耳机接收电子设备传输的音频数据,判断该音频数据所对应的语言是否与蓝牙耳机对应的用户所使用的语言一致,当音频数据所对应的语言与蓝牙耳机对应的用户所使用的语言不一致时,将音频数据翻译为目标语言,其中,该目标语言与蓝牙耳机对应的用户所使用的语言一致。本申请实施例提供的翻译方法、装置、系统以及蓝牙耳机通过在蓝牙耳机接收到的音频数据对应的语言与用户使用的语言不一致时,将音频数据翻译为用户所使用的语言,使用方便,提升用户体验。

Figure 201811163048

The present application discloses a translation method, device, system and Bluetooth headset, and relates to the technical field of Bluetooth headsets. The method is applied to a Bluetooth headset, and the method includes: the Bluetooth headset receives audio data transmitted by an electronic device, and determines whether the language corresponding to the audio data is consistent with the language used by a user corresponding to the Bluetooth headset, and when the language corresponding to the audio data is used When the language used by the user corresponding to the Bluetooth headset is inconsistent, the audio data is translated into a target language, where the target language is consistent with the language used by the user corresponding to the Bluetooth headset. The translation method, device, system and Bluetooth headset provided by the embodiments of the present application translate the audio data into the language used by the user when the language corresponding to the audio data received by the Bluetooth headset is inconsistent with the language used by the user, which is convenient to use and improves user experience.

Figure 201811163048

Description

Translation method, device and system and Bluetooth headset
Technical Field
The present application relates to the field of bluetooth headsets, and more particularly, to a translation method, apparatus, system and bluetooth headset.
Background
With the development of science and technology, earphones have become one of the most common electronic products in people's daily life. Moreover, a user often makes a call, a voice chat, a video chat, or the like with another electronic device through an earphone connected to the electronic device, but when the user languages of the electronic device and the other electronic device are different, communication is easily hindered, and the user experience is poor.
Disclosure of Invention
In view of the above problems, the present application provides a translation method, apparatus, system and bluetooth headset to solve the above problems.
In a first aspect, an embodiment of the present application provides a translation method, which is applied to a bluetooth headset, where the method includes: the Bluetooth headset receives audio data transmitted by the electronic equipment; judging whether the language corresponding to the audio data is consistent with the language used by the user corresponding to the Bluetooth headset; and when the language corresponding to the audio data is not consistent with the language used by the user corresponding to the Bluetooth headset, translating the audio data into a target language, wherein the target language is consistent with the language used by the user corresponding to the Bluetooth headset.
In a second aspect, an embodiment of the present application provides a translation apparatus, which is applied to a bluetooth headset, and the apparatus includes: the receiving module is used for receiving audio data transmitted by the electronic equipment by the Bluetooth headset; the judging module is used for judging whether the language corresponding to the audio data is consistent with the language used by the user corresponding to the Bluetooth headset; the translation module is used for translating the audio data into a target language when the language corresponding to the audio data is not consistent with the language used by the user corresponding to the Bluetooth headset, wherein the target language is consistent with the language used by the user corresponding to the Bluetooth headset.
In a third aspect, an embodiment of the present application provides a translation system, where the translation system includes an electronic device and a bluetooth headset, and the bluetooth headset is connected to the electronic device, where: the electronic equipment is used for sending audio data to the Bluetooth headset; the Bluetooth headset is used for receiving the audio data and judging whether the language corresponding to the audio data is consistent with the language used by the user corresponding to the Bluetooth headset; the Bluetooth headset is used for translating the audio data into a target language when the language corresponding to the audio data is not consistent with the language used by the user corresponding to the Bluetooth headset, wherein the target language is consistent with the language used by the user corresponding to the Bluetooth headset.
In a fourth aspect, an embodiment of the present application provides a bluetooth headset, including a bluetooth module; a memory; one or more processors respectively coupled with the Bluetooth module and the memory; one or more programs, wherein the one or more application programs are stored in the memory and configured to be executed by the one or more processors, the one or more programs configured to perform the above-described methods.
Compared with the prior art, according to the scheme provided by the application, the Bluetooth headset receives the audio data transmitted by the electronic equipment, whether the language corresponding to the audio data is consistent with the language used by the user corresponding to the Bluetooth headset is judged, when the language corresponding to the audio data is inconsistent with the language used by the user corresponding to the Bluetooth headset, the audio data is translated into the target language, wherein the target language is consistent with the language used by the user corresponding to the Bluetooth headset, and therefore when the language corresponding to the audio data received by the Bluetooth headset is inconsistent with the language used by the user, the audio data is translated into the language used by the user, the use is convenient, and the user experience is improved.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
FIG. 1 is a schematic diagram illustrating an application environment provided by an embodiment of the application;
FIG. 2 is a schematic diagram illustrating another application environment provided by an embodiment of the application;
FIG. 3 is a schematic diagram illustrating another application environment provided by an embodiment of the application;
FIG. 4 is a flowchart illustrating a translation method provided by an embodiment of the present application;
FIG. 5 is a flow chart illustrating a translation method according to yet another embodiment of the present application;
FIG. 6 is a flowchart illustrating a translation method according to yet another embodiment of the present application;
FIG. 7 is a flowchart illustrating step S320 of the translation method provided by the embodiment illustrated in FIG. 6 of the present application;
FIG. 8 is a flowchart illustrating a translation method according to yet another embodiment of the present application;
FIG. 9 is a flowchart illustrating a translation method according to another embodiment of the present application;
FIG. 10 is a block diagram of a translation apparatus provided in an embodiment of the present application;
FIG. 11 shows a block diagram of an electronic device for performing a translation method according to an embodiment of the present application;
fig. 12 illustrates a storage unit for storing or carrying program code for implementing a translation method according to an embodiment of the present application.
Detailed Description
In order to make the technical solutions better understood by those skilled in the art, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application.
With the increase of the types of audio playing devices and the improvement of playing sound effects, more users can select to output audio data played by electronic devices such as mobile phones and tablet computers to the audio playing devices for playing. Common audio playing devices include a vehicle-mounted music player, a sound box, an earphone, and the like. Wherein, the earphone comprises a wired earphone or a wireless earphone.
Take an earphone as an example. If the earphone is a wired earphone, the wired earphone is connected with the electronic device through a physical line, and the electronic device transmits audio data to the wired earphone through the physical line so that the wired earphone can play audio conveniently.
In order to release the use of the earphone from the wired condition, the connection between the earphone and the electronic equipment is independent of a physical line, the use convenience of the earphone is improved, and the wireless earphone is produced. The wireless earphone establishes a communication link according to a wireless communication protocol commonly supported by the wireless earphone and the electronic equipment in advance, and then the electronic equipment transmits audio data to the wireless earphone through the communication link so that the wireless earphone can play audio. The wireless communication protocol may include a WLAN protocol, a bluetooth protocol, or a ZigBee protocol, and the wireless headset connected through the bluetooth protocol in the wireless headset is taken as an example for description, that is, the bluetooth headset is taken as an example for description.
In the embodiment of the present application, the headset that can establish a bluetooth connection with other devices such as an electronic device through a bluetooth protocol, a proprietary protocol, or other commands, and perform data transmission is defined as a bluetooth headset, such as a TWS (true Wireless stereo) headset, a TWS Plus headset, and the like. Of course, the bluetooth headset may also be bluetooth connected to other bluetooth headsets.
The electronic device can be connected with one Bluetooth headset or a plurality of Bluetooth headsets. Each bluetooth headset may also be connected to one other bluetooth headset or to a plurality of other bluetooth headsets. The plurality of bluetooth headsets may be two or more than two bluetooth headsets.
The electronic device and the bluetooth headset may form a data transmission system for data transmission, in which the electronic device may transmit data to the bluetooth headset connected to the bluetooth headset, and the bluetooth headset may also transmit data to the bluetooth headset connected to the bluetooth headset.
As a first embodiment, as shown in fig. 1, when the number of the bluetooth headsets is one, the electronic device 400 may bluetooth connect with one bluetooth headset 100 and perform data interaction with the bluetooth headset 100.
As a second embodiment, as shown in fig. 2, when the number of the bluetooth headsets is two or more, the electronic device 400 may respectively establish a connection with a plurality of bluetooth headsets, for example, a first bluetooth headset 110 and a second bluetooth headset 120, and then respectively establish a communication link with the first bluetooth headset 110 and the second bluetooth headset 120 based on the aforementioned wireless communication protocol, and respectively perform data interaction.
As a third embodiment, as shown in fig. 3, when the number of the bluetooth headsets is two or more, the electronic device 400 may establish a connection with one of the bluetooth headsets, and then establish a connection with another bluetooth headset through the connected bluetooth headset, for example, a first bluetooth headset 110 and a second bluetooth headset 120, so that the electronic device 400 may directly suggest a communication link with the first bluetooth headset 110 based on the aforementioned wireless communication protocol, and then establish a communication link with the second bluetooth headset 120 based on the aforementioned wireless communication protocol. And performs data interaction with the first bluetooth headset 110 and the second bluetooth headset 120.
However, in the process of data interaction between the electronic device and the bluetooth headset, if the language of the audio data input by the electronic device to the bluetooth headset is not the language used by the user of the bluetooth headset, the user may be easily unable to receive or communicate with the electronic device. In view of the above problems, the inventor finds, through long-term research, that the translation method, the translation device, the translation system, and the bluetooth headset provided in the embodiments of the present application are provided, and when a language corresponding to audio data received by the bluetooth headset is not consistent with a language used by a user, the audio data is translated into the language used by the user, so that the use is convenient, and the user experience is improved.
Examples
Referring to fig. 4, fig. 4 is a flowchart illustrating a translation method according to an embodiment of the present application. The translation method is used for translating the audio data into the language used by the user when the language corresponding to the audio data received by the Bluetooth headset is inconsistent with the language used by the user, is convenient to use and improves user experience. In a specific embodiment, the translation method is applied to the translation apparatus 200 shown in fig. 10 and the bluetooth headset 100 (fig. 11) equipped with the translation apparatus 200. As will be described in detail with respect to the flow shown in fig. 4, the translation method may specifically include the following steps:
step S110: and the Bluetooth headset receives audio data transmitted by the electronic equipment.
In this embodiment, the bluetooth headset may receive audio data.
As a first way, the audio data received by the bluetooth headset may be transmitted by the electronic device. In one embodiment, the connection state between the electronic device and the bluetooth headset is first detected, and it is understood that the connection state between the electronic device and the bluetooth headset may include a connected state and a disconnected state, wherein the disconnected state includes a disconnected state and a connected state. As one way, whether the electronic device and the bluetooth headset are in a connected state may be determined by checking a state value of the electronic device, and specifically, when the electronic device is connected to the bluetooth headset, a first state value is returned, and when the electronic device is disconnected from the bluetooth headset, a second state value is returned, so that whether the electronic device and the bluetooth headset are in a connected state may be determined by detecting the first state value and the second state value. As another mode, the Android system sends a broadcast when the bluetooth headset is connected or disconnected, so the electronic device can determine whether the electronic device is connected with the bluetooth headset in a broadcast monitoring mode. And when the electronic equipment is determined to be in a connection state with the Bluetooth headset, the Bluetooth headset receives audio data sent by the electronic equipment.
As a second mode, the audio data received by the bluetooth headset may also be sent by other bluetooth headsets, and in an embodiment, the connection state between the bluetooth headset and other bluetooth headsets is first detected, and a method for detecting the connection state between the bluetooth headset and other bluetooth headsets is similar to a method for detecting the connection state between the bluetooth headset and the electronic device, and is not described herein again. When detecting that the Bluetooth headset is in a connection state with other Bluetooth headsets, the Bluetooth headset receives audio data sent by other Bluetooth headsets.
Step S120: and judging whether the language corresponding to the audio data is consistent with the language used by the user corresponding to the Bluetooth headset.
Further, after the bluetooth headset receives the audio data, the language corresponding to the audio data is identified to obtain the language corresponding to the audio data, and it can be understood that the voice corresponding to the audio data includes at least one of, for example, the language corresponding to the audio data is english, the language corresponding to the audio data is chinese, the language corresponding to the audio data is french, the language corresponding to the audio data includes english and chinese, and the language corresponding to the audio data includes english, chinese, and french, and the like, which is not limited herein.
In addition, the language used by the user corresponding to the bluetooth headset can be preset by the bluetooth headset, for example, the user corresponding to the bluetooth headset is a Chinese, and the language used by the user is a Chinese; or the user corresponding to the Bluetooth headset is a American, and the language used by the user is English; or the user corresponding to the Bluetooth headset is a French person, and the language used by the user is French; or the user corresponding to the bluetooth headset is a Chinese, and the language used by the user is Chinese or English, etc.
In this embodiment, after the language corresponding to the audio data is obtained, the language corresponding to the audio data may be compared with a language used by a user preset by the bluetooth headset, so as to determine whether the language corresponding to the audio data is consistent with the language used by the user corresponding to the bluetooth headset. For example, when the language corresponding to the audio data is english, the user corresponding to the bluetooth headset is chinese, and the language used by the user is chinese, then the language corresponding to the audio data is inconsistent with the language used by the user corresponding to the bluetooth headset; when the language corresponding to the audio data is English, the user corresponding to the Bluetooth headset is Americans and the language used by the user is English, then the language corresponding to the audio data is consistent with the language used by the user corresponding to the Bluetooth headset; when the voice corresponding to the audio data is English, the user corresponding to the Bluetooth headset is Chinese and the voice used by the user is Chinese or English, then the language corresponding to the audio data is consistent with the language used by the user corresponding to the Bluetooth headset.
As a mode, before determining whether the language corresponding to the audio data is consistent with the language used by the user corresponding to the bluetooth headset, it may further be performed to detect whether the bluetooth headset is in a wearing state, and when it is determined that the bluetooth headset is in the wearing state, it is performed to determine whether the language corresponding to the audio data is consistent with the language used by the user corresponding to the bluetooth headset. When the Bluetooth headset is not placed on the ear of the user, the Bluetooth headset can be considered not to be in a wearing state. It will be appreciated that when the bluetooth headset is in the worn state, it is indicative that the user is receiving audio data through the bluetooth headset, that is, the user is using or desires to use the bluetooth headset; when the bluetooth is not in a wearing state, it is characterized that the user does not receive audio data through the bluetooth headset, that is, the user does not use or does not desire to use the bluetooth headset.
As one mode, the bluetooth headset may include a headset body and a contact sensor disposed on the headset body, wherein the contact sensor may be disposed on an outer surface of the headset body, and when the bluetooth headset is mounted on an ear of a user, the contact sensor contacts the ear of the user to generate a contact signal, so that whether the bluetooth headset is mounted on the ear of the user may be determined according to a contact parameter detected by the contact sensor, wherein the contact parameter may include a contact area and/or a contact point. That is, whether the bluetooth headset is mounted on the ear of the user may be determined by determining whether the contact area and/or the contact point detected by the contact sensor is consistent with a preset contact area and/or a preset contact point, where the preset contact area and/or the preset contact point are the contact area and the contact point when the bluetooth headset is mounted on the ear of the user.
Step S130: and when the language corresponding to the audio data is not consistent with the language used by the user corresponding to the Bluetooth headset, translating the audio data into a target language, wherein the target language is consistent with the language used by the user corresponding to the Bluetooth headset.
In this embodiment, when it is determined that the language corresponding to the audio data is not consistent with the language used by the user corresponding to the bluetooth headset, it may be considered that the user cannot understand or understand the audio data transmitted to the ear of the user through the bluetooth headset, which may cause a communication obstacle for the user. For example, when the language corresponding to the audio data is english, the user corresponding to the bluetooth headset is chinese, and the language used by the user is chinese, the audio data is translated into chinese, so that the user can acquire the audio data consistent with the voice used by the user, and understanding is facilitated.
According to the translation method provided by one embodiment of the application, the Bluetooth headset receives audio data transmitted by the electronic device, whether the language corresponding to the audio data is consistent with the language used by the user corresponding to the Bluetooth headset is judged, and when the language corresponding to the audio data is inconsistent with the language used by the user corresponding to the Bluetooth headset, the audio data is translated into the target language, wherein the target language is consistent with the language used by the user corresponding to the Bluetooth headset, so that when the language corresponding to the audio data received by the Bluetooth headset is inconsistent with the language used by the user, the audio data is translated into the language used by the user, the use is convenient, and the user experience is improved.
Referring to fig. 5, fig. 5 is a flowchart illustrating a translation method according to another embodiment of the present application. The translation method is applied to the Bluetooth headset. As will be described in detail with respect to the flow shown in fig. 5, the translation method may specifically include the following steps:
step S210: and the Bluetooth headset receives audio data transmitted by the electronic equipment.
For detailed description of step S210, please refer to step S110, which is not described herein again.
Step S220: the Bluetooth headset collects voice information input by a user.
In this embodiment, the bluetooth headset may include a headset body and a radio device disposed on the headset body, where the radio device is configured to receive voice information input by a user into the headset body in real time during a process of collecting the voice information by the bluetooth headset, and transmit the voice information to a processor of the bluetooth headset for analysis or transmit the voice information to an electronic device for analysis, so as to obtain voice content carried by the voice information. Wherein, this radio reception device can be for microphone, microphone etc. on the earphone body, and in this embodiment, bluetooth headset can include the voice call microphone at least, and wherein, the voice call microphone mainly used receives the speech information of input bluetooth headset, for example when the recording, records into the speech information of input earphone body, turns into the signal of telecommunication with speech information in real time to thereby this speech information of analysis obtains the speech content of this speech information.
Step S230: and identifying the voice information to obtain the language corresponding to the voice information.
Further, voice information collected by the bluetooth headset is recognized, wherein in this embodiment, a language corresponding to the voice information is recognized, so as to obtain the language corresponding to the voice information. It is understood that the language corresponding to the speech information obtained by the recognition may include one language or a combination of multiple languages, for example, the language for recognizing the obtained speech information is chinese, or includes chinese and english, which is not limited herein.
Step S240: and judging whether the language corresponding to the audio data is consistent with the language corresponding to the voice information.
It can be understood that the language corresponding to the identified and obtained voice information can be regarded as the language used by the user corresponding to the bluetooth headset, and therefore, the language corresponding to the audio data and the language corresponding to the voice information can be compared to judge whether the language corresponding to the audio data is consistent with the language corresponding to the voice information, wherein when the language corresponding to the audio data is consistent with the language corresponding to the voice information, it can be determined that the language corresponding to the audio data is consistent with the language used by the user corresponding to the bluetooth headset; when the language corresponding to the audio data is inconsistent with the language corresponding to the voice information, it can be determined that the language corresponding to the audio data is inconsistent with the language used by the user corresponding to the bluetooth headset.
Step S250: and sending prompt information when the language corresponding to the audio data is inconsistent with the voice corresponding to the voice information, wherein the prompt information is used for inquiring whether the user translates the audio data.
As a mode, when it is determined that the language corresponding to the audio data is not consistent with the language corresponding to the voice information, a prompt message is sent, where the prompt message may include a prompt sound sent by a bluetooth headset, a prompt flash sent by the bluetooth headset, or a prompt message sent by the bluetooth headset to the electronic device, so as to ask the user whether to translate the audio data through the prompt message, and indicate the user to select. Further, the user may also select a desired target language based on the prompt information, which is not limited herein.
Step S260: translating the audio data into the target language when the user is detected to indicate an instruction to translate the audio data.
It can be understood that the user may select based on the prompt information, that is, may select not to translate the audio data, select to translate the audio data, or select to translate the audio data into the target language desired by the user based on the prompt information, which is not limited herein. Further, the bluetooth headset, upon detecting a user instruction to translate audio data, responsively translates the audio data into a target language for input to the user's ear, wherein the target language is a language selected or used by the user.
Step S270: and when the language corresponding to the audio data is inconsistent with the voice corresponding to the voice information, translating the voice information into the language consistent with the language corresponding to the audio data, and transmitting the language to the electronic equipment.
In addition, when it is determined that the language corresponding to the audio data is not consistent with the language corresponding to the voice information, the language used by the user who represents the input audio data to the electronic device is not consistent with the language used by the user corresponding to the bluetooth headset. Therefore, in the embodiment, after the bluetooth headset collects the voice information, the voice information can be translated to acquire the language consistent with the language corresponding to the audio data, and then the translated voice information is transmitted to the electronic equipment.
In another embodiment of the present application, a bluetooth headset receives audio data transmitted by an electronic device, collects voice information input by a user, identifies the voice information, obtains a language corresponding to the voice information, determines whether the language corresponding to the audio data is consistent with the language corresponding to the voice information, sends a prompt message when the language corresponding to the audio data is inconsistent with the language corresponding to the voice information, translates the audio data into a target language when an instruction indicating that the user should translate the audio data is detected, and translates the voice information into a voice consistent with the language corresponding to the audio data and transmits the voice to the electronic device when the language corresponding to the audio data is inconsistent with the language corresponding to the voice information. Compared with the translation method shown in fig. 4, the embodiment can acquire the language used by the user by recognizing the voice information input by the user into the bluetooth headset, thereby improving the accuracy of translation; in addition, the voice information input by the user is translated into the language consistent with the audio data, so that the receiving party receives the language consistent with the language used by the receiving party, and meanwhile, the experience of the receiving party is improved.
Referring to fig. 6, fig. 6 is a schematic flowchart illustrating a translation method according to still another embodiment of the present application. The translation method is applied to the Bluetooth headset. As will be described in detail with respect to the flow shown in fig. 6, the translation method may specifically include the following steps:
step S310: and the Bluetooth headset receives audio data transmitted by the electronic equipment.
For detailed description of step S310, please refer to step S110, which is not described herein again.
Step S320: and when the Bluetooth headset is set to be in a conference mode, judging whether the language corresponding to the audio data is consistent with the language used by the user corresponding to the Bluetooth headset.
As one way, the bluetooth headset may be set to a plurality of different modes, for example, the bluetooth headset may be set to a conference mode, a KTV mode, an outdoor mode, an indoor mode, and the like. As a mode, the mode setting of the bluetooth headset may be triggered by a user on a function button or a function button of the bluetooth headset, and when the bluetooth headset detects a touch operation of the user on the function button or the function button, the mode setting may be set to a corresponding mode. As another mode, the mode setting of the bluetooth headset may also be set by the electronic device sending an instruction, and it can be understood that the instruction sent by the electronic device may be generated by a user at the electronic device, where when the bluetooth headset receives the instruction sent by the electronic device, the bluetooth headset is correspondingly set to the corresponding mode.
When the bluetooth headset is set to be in the conference mode, the user corresponding to the bluetooth headset is represented to be in a conference occasion, that is, a situation that people in different countries communicate with each other may exist, and therefore, whether the language corresponding to the audio data is consistent with the language used by the user corresponding to the bluetooth headset or not can be judged.
Referring to fig. 7, fig. 7 is a flowchart illustrating a step S320 of the translation method according to the embodiment shown in fig. 6 of the present application. As will be explained in detail with respect to the flow shown in fig. 7, the method may specifically include the following steps:
step S321: and when the Bluetooth headset is set to be in a conference mode, detecting the position information of the Bluetooth headset.
As one mode, when the bluetooth headset is set to the conference mode, the position information of the bluetooth headset is detected. Specifically, the bluetooth headset may further include a positioning module, and the bluetooth headset may acquire position information thereof by positioning through the positioning module. As one way, the location information of the bluetooth headset may be acquired through a Location Based Service (LBS) and/or a Global Positioning System (GPS), and it can be understood that, when the location of the bluetooth headset changes, the LBS and/or the GPS may acquire the location information of the bluetooth headset in real time according to the change of the location of the bluetooth headset.
Step S322: and determining other Bluetooth earphones which are located within the preset range of the Bluetooth earphones and are associated with the Bluetooth earphones based on the position information.
Further, after the position information of the bluetooth headset is determined, other bluetooth headsets within the preset range of the bluetooth headset can be acquired. As one mode, the preset range may be manually set by a user, may be configured by the bluetooth headset when the bluetooth headset leaves a factory, or may be configured by the bluetooth headset according to an environment, which is not limited herein, and meanwhile, the preset range may be 2 meters, 5 meters, 10 meters, and the like, which is not limited herein.
In this embodiment, after the preset range is determined, the other bluetooth headsets located in the preset range are correspondingly obtained, as a manner, the number of the other bluetooth headsets in the preset range may be one or multiple, and is not limited herein. After determining other bluetooth headsets, judging whether the other bluetooth headsets are associated with the bluetooth headset, wherein the association can be pre-established by a user, that is, the other bluetooth headsets which are pre-connected with the bluetooth headset can be considered to be associated with each other, it can be understood that the number of the other bluetooth headsets which are within the preset range of the bluetooth headset and are associated with the bluetooth headset can be one, can be multiple, and is not limited herein, wherein when the number of the other bluetooth headsets which are within the preset range of the bluetooth headset and are associated with the bluetooth headset is one, the other bluetooth headsets are taken as a reference; when the number of other bluetooth headsets associated with the bluetooth headset is more than one within the preset range of the bluetooth headset, one other bluetooth headset can be randomly selected from the other bluetooth headsets as a reference.
As one mode, other bluetooth headsets associated with the bluetooth headset are established in advance, and the language used by the user corresponding to the other bluetooth headset is represented to be consistent with the language used by the user corresponding to the bluetooth headset.
Step S323: and acquiring the languages corresponding to the other Bluetooth earphones, and judging whether the language corresponding to the audio data is consistent with the languages corresponding to the other Bluetooth earphones.
Further, since the language corresponding to the other bluetooth headset may be used as the language used by the user corresponding to the bluetooth headset, it may be determined whether the language corresponding to the audio data is consistent with the language corresponding to the other bluetooth headset by determining whether the language corresponding to the audio data is consistent with the language corresponding to the other bluetooth headset.
Step S330: and when the language corresponding to the audio data is not consistent with the languages corresponding to the other Bluetooth earphones, translating the audio data into a target language, wherein the target language is consistent with the language used by the user corresponding to the Bluetooth earphones.
For detailed description of step S330, please refer to step S130, which is not described herein again.
In another embodiment of the present application, a bluetooth headset receives audio data transmitted by an electronic device, when the bluetooth headset is set to a conference mode, determines whether a language corresponding to the audio data is consistent with a language used by a user corresponding to the bluetooth headset, and when the language corresponding to the audio data is consistent with the language used by the user corresponding to the bluetooth headset, translates the audio data into a target language. Compared with the translation method shown in fig. 4, in the embodiment, when the bluetooth headset is set to the conference mode, the determination operation is performed, so that the applicability of the bluetooth headset can be enhanced.
Referring to fig. 8, fig. 8 is a flowchart illustrating a translation method according to yet another embodiment of the present application. The translation method is applied to the Bluetooth headset. As will be described in detail with respect to the flow shown in fig. 8, the translation method may specifically include the following steps:
step S410: and the Bluetooth headset receives audio data transmitted by the electronic equipment.
For detailed description of step S410, please refer to step S110, which is not described herein again.
Step S420: detecting a selection operation acting on the Bluetooth headset, and determining the first target language based on the selection operation.
As one way, a plurality of selectable languages are set on the bluetooth headset, and the user can perform a selection operation based on the plurality of languages set on the bluetooth headset and determine a first target language therefrom, wherein the determined first target language is a language selected and desired by the user. Specifically, the selection operation may include a single-finger click, a multi-finger click, a single-finger long press, a multi-finger long press, a heavy press, multiple clicks, a sliding operation, and the like, where the single-finger click is an operation of clicking on a bluetooth headset by a single finger; the multi-finger clicking refers to the operation that multiple fingers click on the Bluetooth headset simultaneously; the single-finger long pressing means that the single finger presses on the Bluetooth headset for more than a preset time; the multi-finger long press means that the multi-finger simultaneously presses on the Bluetooth headset for more than a preset time; the heavy pressure means that the pressing force on the Bluetooth headset exceeds the preset force; the multiple clicks refer to the fact that the number of clicks exceeds the preset number within the preset time; the sliding operation refers to an operation of sliding on the bluetooth headset by a single finger.
It is to be understood that, when an operation in accordance with a preset operation is detected, the first target language may be determined based on the selection operation.
Step S430: and judging whether the language corresponding to the audio data is consistent with the first target language.
Step S440: and when the language corresponding to the audio data is inconsistent with the first target language, translating the audio data into the first target language.
For detailed description of steps S430 to S440, please refer to steps S120 to S130, which are not described herein again.
In another embodiment of the present application, a bluetooth headset receives audio data transmitted by an electronic device, detects a selection operation performed on the bluetooth headset, determines a first target language based on the selection operation, and translates the audio data into the first target language when a language corresponding to the audio data is inconsistent with the first target language. Compared with the translation method shown in fig. 4, the embodiment determines the first target language through the selection operation of the user, and translates the audio data into the first target language to satisfy the language selected by the user.
Referring to fig. 9, fig. 9 is a schematic flowchart illustrating a translation method according to another embodiment of the present application. The translation method is applied to the Bluetooth headset. As will be described in detail with respect to the flow shown in fig. 9, the translation method may specifically include the following steps:
step S510: and the Bluetooth headset receives audio data transmitted by the electronic equipment.
For detailed description of step S510, please refer to step S110, which is not described herein again.
Step S520: receiving instruction information sent by the electronic equipment, and determining the second target language based on the instruction information.
In this embodiment, a user may set a language desired to be acquired on an electronic device side connected to the bluetooth headset, specifically, the electronic device may display a plurality of selectable languages, the user may select the languages based on the display of the electronic device, after determining that the user selects the languages, the electronic device may generate instruction information based on the selection and send the instruction information to the bluetooth headset, and after receiving the instruction information, the bluetooth headset analyzes the instruction information, and may determine that a voice selected by the user is recorded as the second target language.
For example, the electronic device may display three choices of "english", "chinese", and "french", and when the user selects "chinese", the electronic device may generate instruction information instructing the bluetooth headset to translate audio data into chinese to the bluetooth headset based on the selection of the user, and the bluetooth headset may obtain the second target language as noon based on the instruction information after receiving the instruction information.
Step S530: and judging whether the language corresponding to the audio data is consistent with the second target language.
Step S540: and when the language corresponding to the audio data is inconsistent with the first target language, translating the audio data into the first target language.
For the detailed description of steps S530 to S540, refer to steps S120 to S130, which are not described herein again.
In the translation method provided by another embodiment of the present application, the bluetooth headset receives audio data transmitted by the electronic device, receives instruction information sent by the electronic device, determines a second target language based on the instruction information, determines whether a language corresponding to the audio data is consistent with the second target language, and translates the audio data into the second target language when the language corresponding to the audio data is inconsistent with the second target language. Compared with the translation method shown in fig. 4, in the embodiment, the first target language is determined by the instruction sent by the electronic device, and the audio data is translated into the second target language to satisfy the language selected by the user.
Referring to fig. 10, fig. 10 is a block diagram illustrating a translation apparatus 200 according to an embodiment of the present disclosure. The interpreting apparatus 200 is applied to the bluetooth headset 100 described above. As will be explained below with respect to the block diagram shown in fig. 10, the translation apparatus 200 includes: a receiving module 210, a determining module 220, and a translating module 230, wherein:
the receiving module 210 is used for the bluetooth headset to receive the audio data transmitted by the electronic device.
The determining module 220 is configured to determine whether a language corresponding to the audio data is consistent with a language used by a user corresponding to the bluetooth headset. Further, the determining module 220 includes: the voice information acquisition submodule, the voice information recognition submodule, the judgment submodule, the transmission submodule, the selection operation detection submodule and the instruction information receiving submodule, wherein:
and the voice information acquisition submodule is used for acquiring the voice information input by the user through the Bluetooth headset.
And the voice information identification submodule is used for identifying the voice information and obtaining the language corresponding to the voice information.
And the judging submodule is used for judging whether the language corresponding to the audio data is consistent with the language corresponding to the voice information.
The judgment sub-module is further configured to judge whether the language corresponding to the audio data is consistent with the language used by the user corresponding to the bluetooth headset when the bluetooth headset is set to the conference mode. Further, the audio data determination sub-module includes: position information detecting element, other bluetooth headset confirm unit and audio data judge the unit, wherein:
and the position information detection unit is used for detecting the position information of the Bluetooth headset when the Bluetooth headset is set to be in a conference mode.
And the other Bluetooth headset determining unit is used for determining other Bluetooth headsets which are positioned in the preset range of the Bluetooth headset and are associated with the Bluetooth headset based on the position information.
And the audio data judging unit is used for acquiring the languages corresponding to the other Bluetooth earphones and judging whether the language corresponding to the audio data is consistent with the languages corresponding to the other Bluetooth earphones.
And the transmission sub-module is used for translating the voice information into a language consistent with the language corresponding to the audio data when the language corresponding to the audio data is inconsistent with the voice corresponding to the voice information, and transmitting the language consistent with the language corresponding to the audio data to the electronic equipment.
A selection operation detection sub-module for detecting a selection operation acting on the Bluetooth headset, and determining the first target language based on the selection operation.
The judgment sub-module is further configured to judge whether a language corresponding to the audio data is consistent with the first target language.
And the instruction information receiving submodule is used for receiving the instruction information sent by the electronic equipment and determining the second target language based on the instruction information.
The judgment sub-module is further configured to judge whether the language corresponding to the audio data is consistent with the second target language.
The translating module 230 is configured to translate the audio data into a target language when a language corresponding to the audio data is not consistent with a language used by a user corresponding to the bluetooth headset, where the target language is consistent with the language used by the user corresponding to the bluetooth headset. Further, the translation module 230 includes: a prompt submodule and a translation submodule, wherein:
and the prompting submodule is used for sending out prompting information when the voice corresponding to the audio data is inconsistent with the voice used by the user corresponding to the Bluetooth headset, wherein the prompting information is used for inquiring whether the user translates the audio data.
And the translation sub-module is used for translating the audio data into the target language when the instruction that the user indicates to translate the audio data is detected.
The translation device that this application embodiment provided includes receiving module, judgment module and translation module, wherein, receiving module is used for bluetooth headset receives the audio data of electronic equipment transmission, and judgment module is used for judging whether the language that audio data corresponds with the language that the user that bluetooth headset corresponds used is unanimous, and translation module is used for working as the language that audio data corresponds with the language that the user that bluetooth headset corresponds used is inconsistent, will audio data translation is the target language, wherein, the target language with the language that the user that bluetooth headset corresponds used is unanimous to through the language that the audio data received at bluetooth headset corresponds with the language that the user used when inconsistent, translate audio data into the language that the user used, convenient to use promotes user experience.
It can be clearly understood by those skilled in the art that, for convenience and brevity of description, the specific working processes of the above-described apparatuses and modules may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the several embodiments provided in the present application, the coupling between the modules may be electrical, mechanical or other type of coupling.
In addition, functional modules in the embodiments of the present application may be integrated into one processing module, or each of the modules may exist alone physically, or two or more modules are integrated into one module. The integrated module can be realized in a hardware mode, and can also be realized in a software functional module mode.
Referring to fig. 1, fig. 2, or fig. 3 again, an embodiment of the present application further provides a translation system, where the translation system includes an electronic device 400 and a bluetooth headset 100, and the electronic device 400 is connected to the bluetooth headset 100. Specifically, the electronic device 400 is configured to send audio data to the bluetooth headset; the bluetooth headset 100 is configured to receive the audio data and determine whether a language corresponding to the audio data is consistent with a language used by a user corresponding to the bluetooth headset; the bluetooth headset 100 is configured to translate the audio data into a target language when a language corresponding to the audio data is inconsistent with a language used by a user corresponding to the bluetooth headset, where the target language is consistent with the language used by the user corresponding to the bluetooth headset.
Referring to fig. 11, a block diagram of a bluetooth headset 100 according to an embodiment of the present disclosure is shown. The bluetooth headset 100 may be an electronic device capable of running an application, such as a smart phone, a tablet computer, and an electronic book. The bluetooth headset 100 in the present application may include one or more of the following components: a processor 130, a memory 140, a bluetooth module 150, and one or more applications, wherein the one or more applications may be stored in the memory 140 and configured to be executed by the one or more processors 130, the one or more programs configured to perform the methods as described in the foregoing method embodiments.
Processor 130 may include one or more processing cores. The processor 130 connects various parts within the overall bluetooth headset 100 using various interfaces and lines, and performs various functions of the bluetooth headset 100 and processes data by executing or executing instructions, programs, code sets, or instruction sets stored in the memory 140 and calling up data stored in the memory 140. Alternatively, the processor 130 may be implemented in hardware using at least one of Digital Signal Processing (DSP), Field-Programmable Gate Array (FPGA), and Programmable Logic Array (PLA). The processor 130 may integrate one or more of a Central Processing Unit (CPU), a Graphics Processing Unit (GPU), a modem, and the like. Wherein, the CPU mainly processes an operating system, a user interface, an application program and the like; the GPU is used for rendering and drawing display content; the modem is used to handle wireless communications. It is understood that the modem may not be integrated into the processor 130, but may be implemented by a communication chip.
The Memory 140 may include a Random Access Memory (RAM) or a Read-Only Memory (Read-Only Memory). The memory 140 may be used to store instructions, programs, code sets, or instruction sets. The memory 140 may include a stored program area and a stored data area, wherein the stored program area may store instructions for implementing an operating system, instructions for implementing at least one function (such as a touch function, a sound playing function, an image playing function, etc.), instructions for implementing various method embodiments described below, and the like. The data storage area may also store data created by the bluetooth headset 100 during use (e.g., phone book, audio-video data, chat log data), etc.
The bluetooth module 150 is used for implementing bluetooth connection between the electronic device and two bluetooth headsets and data interaction between the electronic device and two bluetooth headsets, wherein the number of the bluetooth module 150 may be one, or may be multiple integrated together, which is not limited herein. Specifically, the bluetooth protocol may be used with the bluetooth device by 5.0/4.2/4.1/2.1/2.0, or may also be used by Bluetooth Low Energy (BLE), bluetooth Enhanced Data Rate (EDR), or bluetooth Basic Rate (BR). The basic circuit structure is similar to the WiFi module, and can also be composed of a power amplifier, a wireless transceiver, a transceiver switcher, a low noise amplifier, an antenna, and the like. The bluetooth module 150 may use a first communication frequency band, wherein the first communication frequency band may be 2.4 GHZ.
Referring to fig. 12, a block diagram of a computer-readable storage medium according to an embodiment of the present application is shown. The computer-readable storage medium 300 has stored therein program code that can be called by a processor to execute the method described in the above-described method embodiments.
The computer-readable storage medium 300 may be an electronic memory such as a flash memory, an EEPROM (electrically erasable programmable read only memory), an EPROM, a hard disk, or a ROM. Alternatively, the computer-readable storage medium 300 includes a non-volatile computer-readable storage medium. The computer readable storage medium 300 has storage space for program code 310 for performing any of the method steps of the method described above. The program code can be read from or written to one or more computer program products. The program code 310 may be compressed, for example, in a suitable form.
To sum up, according to the translation method, the translation device, the translation system, and the bluetooth headset provided in the embodiments of the present application, the bluetooth headset receives audio data transmitted by an electronic device, determines whether a language corresponding to the audio data is consistent with a language used by a user corresponding to the bluetooth headset, and translates the audio data into a target language when the language corresponding to the audio data is inconsistent with the language used by the user corresponding to the bluetooth headset, wherein the target language is consistent with the language used by the user corresponding to the bluetooth headset, so that the audio data is translated into the language used by the user when the language corresponding to the audio data received by the bluetooth headset is inconsistent with the language used by the user, which is convenient to use and improves user experience.
Finally, it should be noted that: the above embodiments are only used to illustrate the technical solutions of the present application, and not to limit the same; although the present application has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; such modifications and substitutions do not necessarily depart from the spirit and scope of the corresponding technical solutions in the embodiments of the present application.

Claims (9)

1.一种翻译方法,其特征在于,应用于蓝牙耳机,所述方法包括:1. a translation method, is characterized in that, is applied to bluetooth earphone, and described method comprises: 所述蓝牙耳机接收电子设备传输的音频数据;The Bluetooth headset receives audio data transmitted by the electronic device; 当所述蓝牙耳机设定为会议模式时,检测所述蓝牙耳机的位置信息;When the Bluetooth headset is set to the conference mode, detecting the location information of the Bluetooth headset; 基于所述位置信息,确定位于所述蓝牙耳机预设范围内且预先与所述蓝牙耳机建立关联的其他蓝牙耳机,其中,所述预设范围根据所述蓝牙耳机所处的环境确定,所述其他蓝牙耳机对应的用户所使用的语言与所述蓝牙耳机对应的用户所使用的语言一致;Based on the location information, other Bluetooth headsets located within a preset range of the Bluetooth headset and associated with the Bluetooth headset in advance are determined, wherein the preset range is determined according to the environment in which the Bluetooth headset is located, and the The language used by the users corresponding to other Bluetooth headsets is consistent with the language used by the users corresponding to the Bluetooth headset; 获取所述其他蓝牙耳机所对应的语言,判断所述音频数据所对应的语言是否与所述其他蓝牙耳机所对应的语言一致;Obtain the language corresponding to the other Bluetooth headsets, and determine whether the language corresponding to the audio data is consistent with the language corresponding to the other Bluetooth headsets; 当所述音频数据所对应的语言与所述蓝牙耳机对应的用户所使用的语言不一致时,将所述音频数据翻译为目标语言,其中,所述目标语言与所述蓝牙耳机对应的用户所使用的语言一致。When the language corresponding to the audio data is inconsistent with the language used by the user corresponding to the Bluetooth headset, translate the audio data into a target language, wherein the target language is the language used by the user corresponding to the Bluetooth headset language is consistent. 2.根据权利要求1所述的方法,其特征在于,所述判断所述音频数据所对应的语言是否与所述蓝牙耳机对应的用户所使用的语言一致,包括:2. The method according to claim 1, wherein the judging whether the language corresponding to the audio data is consistent with the language used by the user corresponding to the Bluetooth headset comprises: 所述蓝牙耳机采集用户输入的语音信息;The bluetooth headset collects the voice information input by the user; 对所述语音信息进行识别,获得所述语音信息所对应的语言;Recognizing the voice information to obtain a language corresponding to the voice information; 判断所述音频数据所对应的语言是否与所述语音信息所对应的语言一致。Determine whether the language corresponding to the audio data is consistent with the language corresponding to the voice information. 3.根据权利要求2所述的方法,其特征在于,所述判断所述音频数据所对应的语言是否与所述语音信息所对应的语言一致之后,还包括:3. The method according to claim 2, wherein after judging whether the language corresponding to the audio data is consistent with the language corresponding to the voice information, the method further comprises: 当所述音频数据所对应的语言与所述语音信息所对应的语音不一致时,将所述语音信息翻译为与所述音频数据所对应的语言一致的语言,并传输至所述电子设备。When the language corresponding to the audio data is inconsistent with the voice corresponding to the voice information, the voice information is translated into a language consistent with the language corresponding to the audio data, and transmitted to the electronic device. 4.根据权利要求1所述的方法,其特征在于,所述目标语言包括第一目标语言,所述判断所述音频数据所对应的语言是否与所述蓝牙耳机对应的用户所使用的语言一致,包括:4 . The method according to claim 1 , wherein the target language comprises a first target language, and it is determined whether the language corresponding to the audio data is consistent with the language used by the user corresponding to the Bluetooth headset. 5 . ,include: 检测作用于所述蓝牙耳机的选择操作,基于所述选择操作确定所述第一目标语言;Detecting a selection operation acting on the Bluetooth headset, and determining the first target language based on the selection operation; 判断所述音频数据所对应的语言是否与所述第一目标语言一致。Determine whether the language corresponding to the audio data is consistent with the first target language. 5.根据权利要求1所述的方法,其特征在于,所述目标语言还包括第二目标语言,所述判断所述音频数据所对应的语言是否与所述蓝牙耳机对应的用户所使用的语言一致,还包括:5 . The method according to claim 1 , wherein the target language further comprises a second target language, and it is determined whether the language corresponding to the audio data is the language used by the user corresponding to the Bluetooth headset. 6 . Consistent, also includes: 接收所述电子设备发送的指令信息,基于所述指令信息确定所述第二目标语言;receiving instruction information sent by the electronic device, and determining the second target language based on the instruction information; 判断所述音频数据所对应的语言是否与所述第二目标语言一致。It is judged whether the language corresponding to the audio data is consistent with the second target language. 6.根据权利要求1所述的方法,其特征在于,所述当所述音频数据所对应的语音与所述蓝牙耳机对应的用户所使用的语音不一致时,将所述音频数据翻译为目标语言,包括:6 . The method according to claim 1 , wherein when the voice corresponding to the audio data is inconsistent with the voice used by the user corresponding to the Bluetooth headset, the audio data is translated into a target language. 7 . ,include: 当所述音频数据所对应的语音与所述蓝牙耳机对应的用户所使用的语音不一致时,发出提示信息,其中,所述提示信息用于询问所述用户是否对所述音频数据进行翻译;When the voice corresponding to the audio data is inconsistent with the voice used by the user corresponding to the Bluetooth headset, a prompt message is issued, wherein the prompt message is used to ask the user whether to translate the audio data; 当检测到所述用户指示对所述音频数据进行翻译的指令时,将所述音频数据翻译为所述目标语言。Translating the audio data into the target language when the user's instruction to translate the audio data is detected. 7.一种翻译装置,其特征在于,应用于蓝牙耳机,所述装置包括:7. A translation device, characterized in that, applied to a Bluetooth headset, the device comprising: 接收模块,用于所述蓝牙耳机接收电子设备传输的音频数据;a receiving module, used for the Bluetooth headset to receive audio data transmitted by the electronic device; 位置信息检测单元,用于当所述蓝牙耳机设定为会议模式时,检测所述蓝牙耳机的位置信息;a location information detection unit, configured to detect the location information of the Bluetooth headset when the Bluetooth headset is set to the conference mode; 其他蓝牙耳机确定单元,用于基于所述位置信息,确定位于所述蓝牙耳机预设范围内且预先与所述蓝牙耳机建立关联的其他蓝牙耳机,其中,所述预设范围根据所述蓝牙耳机所处的环境确定,所述其他蓝牙耳机对应的用户所使用的语言与所述蓝牙耳机对应的用户所使用的语言一致;other Bluetooth headset determination unit, configured to determine other Bluetooth headsets located within a preset range of the Bluetooth headset and associated with the Bluetooth headset in advance based on the location information, wherein the preset range is based on the Bluetooth headset. The environment is determined, and the language used by the user corresponding to the other Bluetooth headset is consistent with the language used by the user corresponding to the Bluetooth headset; 音频数据判断单元,用于获取所述其他蓝牙耳机所对应的语言,判断所述音频数据所对应的语言是否与所述其他蓝牙耳机所对应的语言一致;an audio data judgment unit, configured to obtain the language corresponding to the other Bluetooth headsets, and determine whether the language corresponding to the audio data is consistent with the language corresponding to the other Bluetooth headsets; 翻译模块,用于当所述音频数据所对应的语言与所述蓝牙耳机对应的用户所使用的语言不一致时,将所述音频数据翻译为目标语言,其中,所述目标语言与所述蓝牙耳机对应的用户所使用的语言一致。A translation module, configured to translate the audio data into a target language when the language corresponding to the audio data is inconsistent with the language used by the user corresponding to the Bluetooth headset, wherein the target language and the Bluetooth headset The language used by the corresponding user is the same. 8.一种翻译系统,其特征在于,所述翻译系统包括电子设备和蓝牙耳机,所述蓝牙耳机和所述电子设备连接,其中:8. A translation system, wherein the translation system comprises an electronic device and a Bluetooth headset, and the Bluetooth headset is connected with the electronic device, wherein: 所述电子设备,用于发送音频数据至所述蓝牙耳机;the electronic device for sending audio data to the Bluetooth headset; 所述蓝牙耳机,用于接收所述音频数据,并当设定为会议模式时,检测位置信息,基于所述位置信息,确定位于所述蓝牙耳机预设范围内且预先与所述蓝牙耳机建立关联的其他蓝牙耳机,其中,所述预设范围根据所述蓝牙耳机所处的环境确定,所述其他蓝牙耳机对应的用户所使用的语言与所述蓝牙耳机对应的用户所使用的语言一致,获取所述其他蓝牙耳机所对应的语言,判断所述音频数据所对应的语言是否与所述其他蓝牙耳机所对应的语言一致;The bluetooth headset is used to receive the audio data, and when set to the conference mode, detect location information, and based on the location information, determine that it is within the preset range of the bluetooth headset and is pre-established with the bluetooth headset other associated Bluetooth headsets, wherein the preset range is determined according to the environment in which the Bluetooth headset is located, and the language used by the user corresponding to the other Bluetooth headset is consistent with the language used by the user corresponding to the Bluetooth headset, Obtain the language corresponding to the other Bluetooth headsets, and determine whether the language corresponding to the audio data is consistent with the language corresponding to the other Bluetooth headsets; 所述蓝牙耳机,用于当所述音频数据所对应的语言与所述蓝牙耳机对应的用户所使用的语言不一致时,将所述音频数据翻译为目标语言,其中,所述目标语言与所述蓝牙耳机对应的用户所使用的语言一致。The bluetooth headset is used to translate the audio data into a target language when the language corresponding to the audio data is inconsistent with the language used by the user corresponding to the bluetooth headset, wherein the target language and the The language used by the corresponding user of the Bluetooth headset is the same. 9.一种蓝牙耳机,其特征在于,包括:9. A bluetooth headset, comprising: 蓝牙模块;Bluetooth module; 存储器;memory; 一个或多个处理器,分别与所述蓝牙模块和所述存储器耦接;one or more processors, respectively coupled to the Bluetooth module and the memory; 一个或多个程序,其中,所述一个或多个应用程序被存储在所述存储器中并被配置为由所述一个或多个处理器执行,所述一个或多个程序配置用于执行如权利要求1-6任一项所述的方法。one or more programs, wherein the one or more application programs are stored in the memory and configured to be executed by the one or more processors, the one or more programs are configured to perform as The method of any one of claims 1-6.
CN201811163048.9A 2018-09-30 2018-09-30 Translation method, device, system, and Bluetooth headset Expired - Fee Related CN109151789B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811163048.9A CN109151789B (en) 2018-09-30 2018-09-30 Translation method, device, system, and Bluetooth headset

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811163048.9A CN109151789B (en) 2018-09-30 2018-09-30 Translation method, device, system, and Bluetooth headset

Publications (2)

Publication Number Publication Date
CN109151789A CN109151789A (en) 2019-01-04
CN109151789B true CN109151789B (en) 2021-08-17

Family

ID=64810632

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811163048.9A Expired - Fee Related CN109151789B (en) 2018-09-30 2018-09-30 Translation method, device, system, and Bluetooth headset

Country Status (1)

Country Link
CN (1) CN109151789B (en)

Families Citing this family (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110069788A (en) * 2019-04-04 2019-07-30 上海易景信息科技有限公司 Communication device, translation on line system and method based on bluetooth
CN111859993B (en) * 2019-04-30 2024-06-21 冠捷视听科技(深圳)有限公司 Monitoring type wireless translation method, system, terminal and wireless earphone
CN110381485B (en) * 2019-06-14 2021-01-29 华为技术有限公司 Bluetooth communication method, TWS (two way communication system) Bluetooth headset and terminal
CN110472254A (en) * 2019-08-16 2019-11-19 深圳传音控股股份有限公司 Voice translation method, communication terminal and computer readable storage medium
CN110602675A (en) * 2019-08-22 2019-12-20 歌尔股份有限公司 Earphone pair translation method and device, earphone pair and translation system
CN113743132B (en) * 2020-05-14 2024-12-13 大富科技(安徽)股份有限公司 Intelligent terminal, translation method thereof and storage medium
CN111866644B (en) * 2020-07-14 2022-02-22 歌尔科技有限公司 Bluetooth headset, detection method and device of Bluetooth headset and storage medium
CN116249048A (en) * 2023-03-23 2023-06-09 深圳市爱可音音频科技有限公司 A kind of multi-functional sliding cover earphone connected with dual system platform and translation method thereof

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104303177A (en) * 2012-04-25 2015-01-21 寇平公司 Instant translation system
CN105208479A (en) * 2015-10-27 2015-12-30 黑龙江聚拢华玺智能科技有限公司 Bluetooth earphone with automatic translation function
CN205158355U (en) * 2015-08-16 2016-04-13 徐月苗 Translation machine
CN107168959A (en) * 2017-05-17 2017-09-15 深圳市沃特沃德股份有限公司 Interpretation method and translation system
CN107220242A (en) * 2017-04-19 2017-09-29 广东小天才科技有限公司 Translation method, device and system based on translation pen
CN206807703U (en) * 2017-05-19 2017-12-26 中译语通科技(青岛)有限公司 A kind of bluetooth earphone with automatic translation function
CN107832309A (en) * 2017-10-18 2018-03-23 广东小天才科技有限公司 Language translation method and device, wearable device and storage medium
CN207589123U (en) * 2017-12-20 2018-07-06 河南宏达检测技术有限公司 A kind of bluetooth headset of automatic translation
CN207692013U (en) * 2018-01-24 2018-08-03 陈莎 A kind of bluetooth headset of Business English Translating

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110238407A1 (en) * 2009-08-31 2011-09-29 O3 Technologies, Llc Systems and methods for speech-to-speech translation
US20120330645A1 (en) * 2011-05-20 2012-12-27 Belisle Enrique D Multilingual Bluetooth Headset

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104303177A (en) * 2012-04-25 2015-01-21 寇平公司 Instant translation system
CN205158355U (en) * 2015-08-16 2016-04-13 徐月苗 Translation machine
CN105208479A (en) * 2015-10-27 2015-12-30 黑龙江聚拢华玺智能科技有限公司 Bluetooth earphone with automatic translation function
CN107220242A (en) * 2017-04-19 2017-09-29 广东小天才科技有限公司 Translation method, device and system based on translation pen
CN107168959A (en) * 2017-05-17 2017-09-15 深圳市沃特沃德股份有限公司 Interpretation method and translation system
CN206807703U (en) * 2017-05-19 2017-12-26 中译语通科技(青岛)有限公司 A kind of bluetooth earphone with automatic translation function
CN107832309A (en) * 2017-10-18 2018-03-23 广东小天才科技有限公司 Language translation method and device, wearable device and storage medium
CN207589123U (en) * 2017-12-20 2018-07-06 河南宏达检测技术有限公司 A kind of bluetooth headset of automatic translation
CN207692013U (en) * 2018-01-24 2018-08-03 陈莎 A kind of bluetooth headset of Business English Translating

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
浅谈无线耳机的发展;王雪莹;《音响技术》;20110630;全文 *

Also Published As

Publication number Publication date
CN109151789A (en) 2019-01-04

Similar Documents

Publication Publication Date Title
CN109151789B (en) Translation method, device, system, and Bluetooth headset
US10809964B2 (en) Portable intelligent voice interactive control device, method and system
CN107580113B (en) Prompting method, prompting device, storage medium and terminal
EP3664291A1 (en) Audio signal adjustment method and device, storage medium, and terminal
CN109379490B (en) Audio playing method and device, electronic equipment and computer readable medium
US10891938B2 (en) Processing method for sound effect of recording and mobile terminal
CN109445739A (en) Audio playing method and device, electronic equipment and computer readable medium
CN109284080B (en) Sound effect adjusting method and device, electronic equipment and storage medium
CN109104662B (en) Operation execution method, operation response method, terminal and earphone device
CN108959273B (en) Translation method, electronic device and storage medium
CN109561420B (en) A kind of emergency rescue method and related equipment
CN109379491A (en) Audio playback method, apparatus, electronic device, and computer-readable medium
CN108595003A (en) Function control method and related equipment
CN109067965B (en) Translation method, translation device, wearable device and storage medium
WO2019174492A1 (en) Voice call data detection method, device, storage medium and mobile terminal
CN107682553B (en) Call signal sending method and device, mobile terminal and storage medium
CN108600887B (en) Touch control method based on wireless earphone and related product
CN108923810A (en) Translation method and related equipment
CN109298846B (en) Audio transmission method, device, electronic device and storage medium
CN107659328A (en) Call control method, device, terminal, call system, and readable storage medium
KR101442027B1 (en) Sound processing system to recognize earphones for portable devices using sound patterns, mathod for recognizing earphone for portable devices using sound patterns, and mathod for sound processing using thereof
CN113194417B (en) Device connection method, device, computer device and storage medium
CN111556406B (en) Audio processing method, audio processing device and earphone
CN103873682B (en) A kind of information processing method and electronic equipment
US12230273B2 (en) Voice control method and apparatus for device, storage medium, and electronic apparatus

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
GR01 Patent grant
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20210817

CF01 Termination of patent right due to non-payment of annual fee