Dual-mode bluetooth translation state switching method and system
Patent Information
- Application Number
- CN202511268193.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2025-09-05
- Publication Date
- 2026-10-30
- Estimated Expiration
- 2045-09-05
AI Technical Summary
本申请涉及耳机技术领域,具体提供了一种双模蓝牙的翻译状态切换方法及系统,翻译状态切换方法包括:当接收到移动终端下发的模式切换指令时,则基于模式切换指令确定所切换的翻译模式,并基于所切换的翻译模式确定待翻译音频数据的类型以及选择启用的通信链路;当待翻译音频数据为拾音数据,选择启用的通信链路为第一通信链路时,则通过第一通信链路将拾音数据发送至移动终端,以使移动终端对拾音数据进行翻译并显示;当待翻译音频为播音数据,选择启用的通信链路为第二通信链路时,则通过移动终端对播音数据进行翻译并显示,同时通过第二通信链路获取移动终端下发的播音数据以播放音频。本申请通过接收移动终端下发的模式切换指令,能够精准确定所切换的翻译模式,并依据该模式准确确定待翻译音频数据的类型以及选择启用的通信链路,避免了传统方法中通信链路选择不当造成音频资源冲突,确保了翻译流程的顺畅进行。并且,当待翻译音频数据为拾音数据且选择启用第一通信链路时,直接通过该链路将拾音数据发送至移动终端进行翻译和显示,减少了数据传输的中间环节,提高了拾音数据的传输效率,使得用户能够更快地获取翻译结果,提升了用户体验;对于播音数据,在通过移动终端进行翻译和显示的同时,利用第二通信链路获取移动终端下发的已翻译播音数据并播放音频,实现了翻译过程与音频播放的同步进行,避免了因数据传输延迟导致的翻译结果与音频播放不同步的问题,保证了翻译功能的实用性和准确性。
Smart Images

Figure CN121310221B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of headphone technology, specifically to a method and system for switching translation states in dual-mode Bluetooth. Background Technology
[0002] In recent years, with the development of mobile smart devices and the improvement of artificial intelligence speech recognition and natural language processing capabilities, portable translation devices have been widely used in tourism, business, education, and cross-border communications. As a crucial entry point for human-computer voice interaction, the sound pickup quality and audio channel configuration of headphones have a decisive impact on the accuracy and real-time performance of translations.
[0003] Most existing Bluetooth headsets use dual-mode Bluetooth technology, which supports both Bluetooth Classic (BT) and Bluetooth Low Energy (BLE). BT is commonly used for high-bandwidth audio data transmission, such as stereo playback under the A2DP (Advanced Audio Distribution Profile) protocol; BLE, due to its low power consumption and efficient control transmission characteristics, is widely used in scenarios such as device pairing, control command issuance, and lightweight data transmission.
[0004] However, the following key issues exist in current multilingual real-time translation applications: Firstly, most existing devices cannot switch between different translation scenarios, resulting in a limited translation experience and poor user experience.
[0005] Secondly, although some existing devices can switch between different translation scenarios, the operation is cumbersome, lacks a flexible switching mechanism, and the audio channel is fixed, lacking real-time and accuracy switching between different channels, which makes it impossible for the voice signal to be correctly transmitted to the translation engine.
[0006] Third, the lack of a unified scheduling mechanism for switching between different channels (such as switching between BLE and A2DP channels) leads to audio resource conflicts or inconsistent system behavior.
[0007] Application content To overcome the shortcomings of the prior art, this application provides a method and system for switching translation states in dual-mode Bluetooth, the specific technical solution of which is as follows: A method for switching translation states in dual-mode Bluetooth, applied to Bluetooth headsets, includes: When a mode switching instruction is received from a mobile terminal, the translation mode to be switched is determined based on the mode switching instruction, and the type of audio data to be translated and the communication link to be enabled are determined based on the switched translation mode. When the audio data to be translated is pickup data, and the first communication link is selected as the enabled communication link, the pickup data is sent to the mobile terminal through the first communication link so that the mobile terminal can translate and display the pickup data. When the audio to be translated is broadcast data, and the selected communication link is the second communication link, the broadcast data is translated and displayed through the mobile terminal, and the broadcast data sent by the mobile terminal is obtained through the second communication link to play the audio.
[0008] In one specific embodiment, the first communication link includes a BLE link; the second communication link includes a BT link or a combination of a BT link and a BLE link.
[0009] In one specific embodiment, the mode switching instruction includes a first switching instruction, a second switching instruction, and a third switching instruction. The process of determining the translation mode to be switched based on the mode switching instruction, and determining the type of audio data to be translated and selecting the enabled communication link based on the switched translation mode, includes: Based on the first switching instruction, the translation mode to be switched is determined to be dialogue translation mode, and based on the dialogue translation mode, the type of audio data to be translated is determined to be pickup data, and the communication link to be enabled is selected as BLE link; Based on the second switching instruction, the translation mode to be switched is determined to be media translation mode, and based on the media translation mode, the type of audio data to be translated is determined to be broadcast data, and the communication link to be enabled is a combination of BT link and BLE link; Based on the third switching instruction, the translation mode to be switched is determined to be the call translation mode, and based on the call translation mode, the type of audio data to be translated is determined to be broadcast data, and the communication link to be enabled is selected as the BT link.
[0010] In one specific embodiment, when the audio to be translated is broadcast data and the selected communication link is the second communication link, the broadcast data is translated and displayed through the mobile terminal, and the broadcast data sent by the mobile terminal is obtained through the second communication link to play the audio, including: When the audio to be translated is broadcast data, and the selected communication link is a combination of BT link and BLE link, a connection is established with the mobile terminal through the BLE link to monitor the change instructions issued by the mobile terminal in real time; at the same time, the broadcast data from the mobile terminal is received and played through the BT link, and the broadcast data is translated and displayed based on the mobile terminal. When the audio to be translated is broadcast data and the selected communication link is the BT link, the broadcast data from the mobile terminal is received and the audio is played through the BT link. At the same time, the mobile terminal translates and displays the broadcast data.
[0011] In one specific embodiment, the process of receiving the mode switching instruction from the mobile terminal includes: Establish a BT link connection with the mobile terminal via the standard Bluetooth protocol; It responds to BLE broadcast signals sent by the mobile terminal and establishes a BLE link connection with the mobile terminal based on the GATT protocol; The mode identifier data defining the translation mode is pre-stored so as to trigger the switching of the translation mode when the mode switching instruction is received; Provide the mobile terminal with a device identifier and communication feature handle so that the mobile terminal can record and implement interactive control.
[0012] In one specific embodiment, it further includes: When a reset command is received from the mobile terminal, the BLE link is disconnected and the BT link is started based on the reset command. The BLE link is then connected to the mobile device to obtain audio data for playback. At the same time, the pre-stored mode identifier data is cleared to restore the default audio state.
[0013] A method for switching translation states in dual-mode Bluetooth, applied to a mobile terminal, includes: Generate mode switching instructions based on user operation and determine the type of audio data to be translated; Send the mode switching command to the Bluetooth headset; When the audio data to be translated is obtained as pickup data and the Bluetooth headset activates the first communication link, the pickup data sent by the Bluetooth headset is received through the first communication link, and the pickup data is translated and displayed through the translation module. When the audio data to be translated is obtained as broadcast data and the Bluetooth headset enables the second communication link, the broadcast data is translated and the broadcast data is sent to the Bluetooth headset through the second communication link to play the audio.
[0014] A dual-mode Bluetooth translation state switching device, applied to a Bluetooth headset, comprising: The determination module is used to determine the translation mode to be switched based on the mode switching instruction sent by the mobile terminal when it receives the mode switching instruction, and to determine the type of audio data to be translated and select the enabled communication link based on the switched translation mode. The first processing module is used to send the audio data to the mobile terminal through the first communication link when the audio data to be translated is the audio data and the first communication link is selected as the enabled communication link, so that the mobile terminal can translate and display the audio data. The second processing module is used to translate and display the audio data to be translated via a mobile terminal when the audio to be translated is broadcast data and the second communication link is selected as the enabled communication link. At the same time, it obtains the broadcast data sent by the mobile terminal through the second communication link to play the audio.
[0015] In one specific embodiment, the mode switching instruction includes a first switching instruction, a second switching instruction, and a third switching instruction. The determining module includes: The first determining module is used to determine, based on the first switching instruction, that the switched translation mode is a dialogue translation mode, and based on the dialogue translation mode, to determine that the type of audio data to be translated is pickup data, and to select the enabled communication link as a BLE link. The second determining module is used to determine, based on the second switching instruction, that the switched translation mode is media translation mode, and based on the media translation mode, to determine that the type of audio data to be translated is broadcast data, and to select the enabled communication link as a combination of BT link and BLE link; The third determining module is used to determine, based on the third switching instruction, that the switched translation mode is the call translation mode, and based on the call translation mode, to determine that the type of audio data to be translated is broadcast data, and to select the enabled communication link as the BT link.
[0016] In one specific embodiment, the second processing module includes: The media translation module is used to establish a connection with the mobile terminal through the BLE link when the audio to be translated is broadcast data and the selected communication link is a combination of BT link and BLE link, so as to monitor the change instructions issued by the mobile terminal in real time; at the same time, it receives the broadcast data from the mobile terminal through the BT link and plays the audio, and translates and displays the broadcast data based on the mobile terminal. The call translation module is used to receive the broadcast data from the mobile terminal and play the audio through the BT link when the audio to be translated is broadcast data and the selected communication link is the BT link. At the same time, the mobile terminal translates and displays the broadcast data.
[0017] This application has at least the following beneficial effects: This application relates to the field of headphone technology, specifically providing a method and system for switching translation states in dual-mode Bluetooth. The method includes: when receiving a mode switching command from a mobile terminal, determining the switching translation mode based on the command, and determining the type of audio data to be translated and selecting the enabled communication link based on the switched translation mode; when the audio data to be translated is pickup data and the enabled communication link is the first communication link, the pickup data is sent to the mobile terminal through the first communication link so that the mobile terminal can translate and display the pickup data; when the audio data to be translated is broadcast data and the enabled communication link is the second communication link, the broadcast data is translated and displayed through the mobile terminal, and the broadcast data sent by the mobile terminal is obtained through the second communication link to play the audio. This application, by receiving a mode switching command from the mobile terminal, can accurately determine the switching translation mode and accurately determine the type of audio data to be translated and select the enabled communication link based on the mode, avoiding audio resource conflicts caused by improper communication link selection in traditional methods, and ensuring the smooth progress of the translation process. Furthermore, when the audio data to be translated is pickup data and the first communication link is selected to be enabled, the pickup data is directly sent to the mobile terminal for translation and display through this link. This reduces intermediate data transmission links, improves the transmission efficiency of pickup data, and enables users to obtain translation results faster, thus enhancing the user experience. For broadcast data, while translating and displaying through the mobile terminal, the second communication link is used to obtain the translated broadcast data sent by the mobile terminal and play the audio. This achieves synchronization between the translation process and audio playback, avoiding the problem of asynchronous translation results and audio playback due to data transmission delays, and ensuring the practicality and accuracy of the translation function. Attached Figure Description
[0018] To more clearly illustrate the technical solutions in the embodiments of this application, the accompanying drawings used in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0019] Figure 1 The flowchart of the dual-mode Bluetooth translation state switching method provided in Example 1 Figure 1 ; Figure 2 The flowchart of the dual-mode Bluetooth translation state switching method provided in Example 1 Figure 2 ; Figure 3 The flowchart of the dual-mode Bluetooth translation state switching method provided in Example 1 Figure 3 ; Figure 4The flowchart of the dual-mode Bluetooth translation state switching method provided in Example 2 Figure 1 ; Figure 5 This is a schematic diagram of the module for the dual-mode Bluetooth translation state switching device provided in Example 3. Detailed Implementation
[0020] Various embodiments of this application will be described more fully below. This application may have various embodiments, and adjustments and changes may be made therein. However, it should be understood that there is no intention to limit the various embodiments of this application to the specific embodiments disclosed herein, but rather this application should be understood to cover all adjustments, equivalents, and / or alternatives falling within the spirit and scope of the various embodiments of this application.
[0021] In the following, the terms “comprising” or “may include” as used in the various embodiments of this application indicate the presence of the disclosed functions, operations, or elements, and do not limit the addition of one or more functions, operations, or elements. Furthermore, as used in the various embodiments of this application, the terms “comprising,” “having,” and their cognates are intended only to indicate a particular feature, number, step, operation, element, component, or combination of the foregoing, and should not be construed as primarily excluding the presence of one or more other features, numbers, steps, operations, elements, components, or combinations of the foregoing, or the possibility of adding one or more combinations of features, numbers, steps, operations, elements, components, or combinations of the foregoing.
[0022] Example 1 like Figure 1 As shown, this application relates to the field of headphone technology, specifically providing a method for switching translation states in dual-mode Bluetooth, applied to Bluetooth headphones, including: When a mode switching instruction is received from a mobile terminal, the translation mode to be switched is determined based on the mode switching instruction, and the type of audio data to be translated and the communication link to be enabled are determined based on the switched translation mode. When the audio data to be translated is pickup data, and the first communication link is selected as the enabled communication link, the pickup data is sent to the mobile terminal through the first communication link so that the mobile terminal can translate and display the pickup data; When the audio to be translated is broadcast data, and the second communication link is selected as the enabled communication link, the broadcast data is translated and displayed through the mobile terminal, and the broadcast data sent by the mobile terminal is obtained through the second communication link to play the audio.
[0023] This application, by receiving mode switching instructions from a mobile terminal, can accurately determine the switched translation mode and, based on this mode, accurately determine the type of audio data to be translated and select the activated communication link. This avoids audio resource conflicts caused by improper communication link selection in traditional methods, ensuring a smooth translation process. Furthermore, when the audio data to be translated is pickup data and the first communication link is activated, the pickup data is directly sent to the mobile terminal for translation and display via this link, reducing intermediate data transmission steps, improving the transmission efficiency of pickup data, and enabling users to obtain translation results faster, thus enhancing the user experience. For broadcast data, while translating and displaying via the mobile terminal, the translated broadcast data sent by the mobile terminal is obtained using the second communication link and the audio is played, achieving synchronization between the translation process and audio playback. This avoids the problem of asynchronous translation results and audio playback due to data transmission delays, ensuring the practicality and accuracy of the translation function.
[0024] The first communication link includes a BLE link; the second communication link includes a BT link or a combination of a BT link and a BLE link.
[0025] This dual-mode Bluetooth translation state switching method is based on a precise design that includes a BLE link in the first communication link and a BT link or a combination of BT and BLE links in the second communication link. It can accurately select the most suitable communication link according to different translation modes and the type of audio data to be translated. The BLE link features low power consumption and fast connection, making it suitable for rapid transmission of audio data. This ensures that when receiving audio data and switching to the corresponding translation mode, the data can be efficiently sent to the mobile terminal for translation. The BT link, or its combination with the BLE link, has advantages in data transmission stability and bandwidth, meeting the requirements for data synchronization and high-quality transmission during broadcast data translation, thus ensuring the efficiency and stability of the entire translation state switching process.
[0026] Specifically, when the audio data to be translated is pickup data and the selected communication link is the BLE link, the pickup data is sent to the mobile terminal through the BLE link so that the mobile terminal can translate and display the pickup data. This fully utilizes the low latency characteristics of the BLE link, reduces the time loss during data transmission, and enables the pickup data to reach the mobile terminal quickly and accurately for translation, thus improving the real-time performance of the translation.
[0027] When the audio to be translated is broadcast data, and the selected communication link is a BT link or a combination of BT and BLE links, the broadcast data is translated and displayed via the mobile terminal. Simultaneously, the broadcast data sent by the mobile terminal is retrieved via the BT link or the combination of BT and BLE links for audio playback. The high bandwidth of the BT link ensures high-quality transmission of the broadcast data, while the combination with the BLE link enables rapid transmission of control commands and data status feedback, further improving the integrity and accuracy of data transmission and ensuring a superior translation experience for the user.
[0028] like Figure 2 As shown, the mode switching instructions include a first switching instruction, a second switching instruction, and a third switching instruction. The translation mode to be switched is determined based on the mode switching command, and the type of audio data to be translated and the selected communication link to be enabled are determined based on the switched translation mode: Based on the first switching instruction, the translation mode to be switched to is determined to be dialogue translation mode, and based on the dialogue translation mode, the type of audio data to be translated is determined to be pickup data, and the communication link to be enabled is selected as BLE link; Based on the second switching instruction, the translation mode to be switched is determined to be media translation mode, and based on the media translation mode, the type of audio data to be translated is determined to be broadcast data, and the communication link to be enabled is a combination of BT link and BLE link; Based on the third switching instruction, the translation mode to be switched to is determined to be the call translation mode, and based on the call translation mode, the type of audio data to be translated is determined to be broadcast data, and the communication link to be enabled is selected as the BT link.
[0029] This dual-mode Bluetooth translation mode switching method defines a first, second, and third switching command and establishes a precise mapping relationship between these commands and the dialogue translation mode, media translation mode, and call translation mode, achieving high accuracy and efficiency in translation mode switching. Simultaneously, in dialogue translation mode, by selecting the BLE link to transmit audio data, its low latency reduces data transmission time, ensuring real-time and smooth dialogue. In media translation mode, a combination of BT and BLE links is used. The high bandwidth of the BT link meets the needs of large-scale, high-quality transmission of broadcast data, while the BLE link enables rapid control command transmission and data status feedback, ensuring accurate data synchronization during media translation. In call translation mode, the BT link is selected to transmit broadcast data; its stable signal transmission capability ensures the integrity and accuracy of audio data during calls, providing users with a clear call translation experience.
[0030] This method offers greater system adaptability and flexibility. Different translation modes are designed for different application scenarios. For example, dialogue translation is suitable for everyday conversations, media translation is suitable for translating video, audio, and other media content, and call translation is suitable for telephone calls. This refined mode classification better meets users' translation needs in different scenarios. Furthermore, the system can automatically adjust communication links and data processing methods according to different modes, improving the system's intelligence and adaptability.
[0031] like Figure 3 As shown, when the audio to be translated is broadcast data and the second communication link is selected as the enabled communication link, the broadcast data is translated and displayed through the mobile terminal. Simultaneously, the broadcast data sent by the mobile terminal is obtained through the second communication link to play the audio, including: When the audio to be translated is broadcast data, and the selected communication link is a combination of BT link and BLE link, a connection is established with the mobile terminal through the BLE link to monitor the change instructions issued by the mobile terminal in real time; at the same time, the broadcast data from the mobile terminal is received and played through the BT link, and the broadcast data is translated and displayed based on the mobile terminal. When the audio to be translated is broadcast data and the selected communication link is the BT link, the broadcast data from the mobile terminal is received and the audio is played through the BT link. At the same time, the mobile terminal translates and displays the broadcast data.
[0032] This dual-mode Bluetooth translation state switching method precisely divides the processing of broadcast data under different communication links. When the combination of BT and BLE links is selected, the BLE link is dedicated to establishing a connection with the mobile terminal and monitoring the change commands issued by the mobile terminal in real time. This division of labor allows the system to respond promptly to changes in the mobile terminal's commands, such as adjusting the translation mode and volume, ensuring that user operations take effect quickly. The BT link focuses on receiving broadcast data from the mobile terminal and playing audio. Its high bandwidth characteristics can meet the needs of large-scale, high-quality transmission of broadcast data, ensuring the smoothness and clarity of audio playback. At the same time, the mobile terminal uses its powerful computing capabilities to translate and display the broadcast data, achieving high efficiency and accuracy in data processing. When only the BT link is selected, the BT link undertakes both data transmission and audio playback, while the mobile terminal still handles translation and display. This division of labor simplifies the system architecture and reduces system complexity while meeting basic functional requirements.
[0033] Before receiving the mode switching command from the mobile terminal, the following steps are included: Establish a BT link connection with the mobile terminal via the standard Bluetooth protocol; It responds to BLE broadcast signals sent by the mobile terminal and establishes a BLE link connection with the mobile terminal based on the GATT protocol; The mode identifier data that defines the translation mode is pre-stored so that the translation mode can be switched when a mode switching instruction is received; Provide the mobile terminal with a device identifier and communication feature handle so that the mobile terminal can record and implement interactive control.
[0034] This application first establishes a Bluetooth BT link connection with the mobile terminal via the standard Bluetooth protocol; then, in response to the BLE broadcast signal sent by the mobile terminal, it establishes a BLE link connection with the mobile terminal based on the GATT protocol, thus laying a stable communication foundation for subsequent selection and switching between the Bluetooth BT and BLE links. Furthermore, it pre-stores mode identifier data defining the translation mode to trigger a switching of the translation mode upon receiving a mode switching command. Simultaneously, it provides the mobile terminal with a device identifier and communication feature handle for recording and interactive control, thereby ensuring accurate mode switching and efficient interactive control.
[0035] The translation state switching methods for dual-mode Bluetooth also include: When a reset command is received from the mobile terminal, the BLE link is disconnected and the BT link is started based on the reset command. The BT link is then used to connect to the mobile device to obtain audio data for playback. At the same time, the pre-stored mode identifier data is cleared to restore the default audio state.
[0036] This application uses a reset command to quickly disconnect the Bluetooth headset's BLE (Bluetooth Low Energy) link, effectively cutting off any potential abnormal data transmissions or control signals. Simultaneously, the Bluetooth headset immediately initiates the BT link. By establishing a connection with the mobile device, the device can obtain audio data from the mobile device, providing a reliable data source for subsequent audio playback. During the link switch, the device clears pre-stored mode identifier data. This mode identifier data records the device's current translation mode; clearing this data ensures the device completely escapes the limitations of the current translation mode and returns to its initial default audio state, thereby improving the reliability and stability of the device switching method.
[0037] Example 2 like Figure 4 As shown, a method for switching translation states in dual-mode Bluetooth, applied to a mobile terminal, includes: Generate mode switching instructions based on user operation and determine the type of audio data to be translated; Send the mode switching command to the Bluetooth headset; When the audio data to be translated is obtained as pickup data and the Bluetooth headset enables the first communication link, the pickup data sent by the Bluetooth headset is received through the first communication link, and the pickup data is translated and displayed through the translation module. When the audio data to be translated is obtained as broadcast data and the Bluetooth headset enables the second communication link, the broadcast data is translated and the broadcast data is sent to the Bluetooth headset through the second communication link to play the audio.
[0038] This application generates a mode-switching command based on user operations on a mobile terminal, and simultaneously determines the type of audio data to be translated. The audio data is mainly divided into pickup data and playback data. Pickup data typically consists of sounds from the user's surroundings or the user's own voice input, while playback data includes music, audiobooks, video, and audio from the mobile terminal's internal storage or an external network. The generated mode-switching command is then sent to a Bluetooth headset. As the mobile terminal's audio output and input device, the Bluetooth headset, upon receiving the mode-switching command, adjusts its communication link and operating mode according to the command content. By flexibly switching between different communication links and processing different types of audio data, the translation function becomes more diversified and efficient.
[0039] The first communication link includes a BLE link; the second communication link includes a BT link or a combination of a BT link and a BLE link.
[0040] This dual-mode Bluetooth translation state switching method is based on a precise design that includes a BLE link in the first communication link and a BT link or a combination of BT and BLE links in the second communication link. It can accurately select the most suitable communication link according to different translation modes and the type of audio data to be translated. The BLE link features low power consumption and fast connection, making it suitable for rapid transmission of audio data. This ensures that when receiving audio data and switching to the corresponding translation mode, the data can be efficiently sent to the mobile terminal for translation. The BT link, or its combination with the BLE link, has advantages in data transmission stability and bandwidth, meeting the requirements for data synchronization and high-quality transmission during broadcast data translation, thus ensuring the efficiency and stability of the entire translation state switching process.
[0041] Specifically, when the audio data to be translated is acquired as pickup data and the Bluetooth headset has BLE link enabled, the pickup data sent by the Bluetooth headset is received through the BLE link, and the pickup data is translated and displayed through the translation module. This fully utilizes the low latency characteristics of the BLE link, reduces the time loss during data transmission, and enables the pickup data to be translated quickly and accurately, thus improving the real-time performance of the translation.
[0042] When the audio data to be translated is received as broadcast data and the Bluetooth headset is using a BT link or a combination of BT and BLE links, the broadcast data is translated and then transmitted back to the Bluetooth headset via the BT link or a combination of BT and BLE links for audio playback. The high bandwidth of the BT link ensures high-quality transmission of the broadcast data, while the combination with the BLE link enables rapid transmission of control commands and data status feedback, further improving the integrity and accuracy of data transmission and ensuring a superior translation experience for the user.
[0043] Example 3 like Figure 5 As shown, this application provides a dual-mode Bluetooth translation state switching device based on a dual-mode Bluetooth translation state switching method of Embodiment 1, for executing the dual-mode Bluetooth translation state switching method of Embodiment 1 described above.
[0044] A dual-mode Bluetooth translation state switching device, applied to a Bluetooth headset, comprising: The determination module 1 is used to determine the translation mode to be switched based on the mode switching instruction when it receives the mode switching instruction from the mobile terminal, and to determine the type of audio data to be translated and select the enabled communication link based on the switched translation mode. The first processing module 2 is used to send the audio data to the mobile terminal through the first communication link when the audio data to be translated is the sound data and the first communication link is selected as the enabled communication link, so that the mobile terminal can translate and display the sound data. The second processing module 3 is used to translate and display the broadcast data through the mobile terminal when the audio to be translated is broadcast data and the second communication link is selected as the enabled communication link. At the same time, it obtains the broadcast data sent by the mobile terminal through the second communication link to play the audio.
[0045] This application, through the coordination of module 1, first processing module 2, and second processing module 3, can accurately determine the switched translation mode and, based on this mode, accurately determine the type of audio data to be translated and select the enabled communication link. This avoids audio resource conflicts caused by improper communication link selection in traditional methods, ensuring a smooth translation process. Furthermore, when the audio data to be translated is pickup data and the first communication link is enabled, the pickup data is directly sent to the mobile terminal for translation and display via this link, reducing intermediate data transmission steps, improving the transmission efficiency of pickup data, and enabling users to obtain translation results faster, thus enhancing the user experience. For broadcast data, while translating and displaying via the mobile terminal, the second communication link is used to obtain the translated broadcast data sent by the mobile terminal and play the audio, achieving synchronization between the translation process and audio playback. This avoids the problem of asynchronous translation results and audio playback due to data transmission delays, ensuring the practicality and accuracy of the translation function.
[0046] like Figure 5 As shown, the mode switching instructions include a first switching instruction, a second switching instruction, and a third switching instruction. Module 1 includes: The first determining module 11 is used to determine the translation mode to be switched to as dialogue translation mode based on the first switching instruction, and to determine the type of audio data to be translated as pickup data based on the dialogue translation mode, and to select the enabled communication link as BLE link. The second determining module 12 is used to determine the translation mode to be switched to as media translation mode based on the second switching instruction, and to determine the type of audio data to be translated as broadcast data based on the media translation mode, and to select the enabled communication link as a combination of BT link and BLE link. The third determining module 13 is used to determine the translation mode to be switched to as call translation mode based on the third switching instruction, and to determine the type of audio data to be translated as broadcast data based on the call translation mode, and to select the enabled communication link as BT link.
[0047] This application, through the cooperation of the first determining module, the second determining module, and the third determining module, has stronger system adaptability and flexibility. Different translation modes are designed for different application scenarios. For example, dialogue translation is suitable for daily conversations, media translation is suitable for translating video, audio, and other media content, and call translation is suitable for telephone call scenarios. Through detailed mode classification, the system can better meet the translation needs of users in different scenarios. At the same time, the system can automatically adjust the communication link and data processing method according to different modes, thereby improving the system's intelligence level and adaptability.
[0048] Specifically, such as Figure 5 As shown, the first processing module 2 includes: The dialogue translation module 21 is used to send the audio data to the mobile terminal via the BLE link when the audio data to be translated is the sound data and the selected communication link is the BLE link, so that the mobile terminal can translate and display the sound data.
[0049] This application processes and sends the audio data through the dialogue translation module 21, enabling the mobile terminal to translate and display the audio data. This improves the transmission efficiency of the audio data, allowing users to obtain translation results faster in daily conversations and enhancing the user experience.
[0050] The second processing module 3 includes: The media translation module 31 is used to establish a connection with the mobile terminal through the BLE link when the audio to be translated is broadcast data and the selected communication link is a combination of BT link and BLE link, so as to monitor the change instructions issued by the mobile terminal in real time; at the same time, it receives the broadcast data from the mobile terminal through the BT link and plays the audio, and translates and displays the broadcast data based on the mobile terminal. The call translation module 32 is used to receive the broadcast data from the mobile terminal and play the audio through the BT link when the audio to be translated is broadcast data and the selected communication link is the BT link. At the same time, the mobile terminal translates and displays the broadcast data.
[0051] This application employs a precise division of labor in processing broadcast data across different communication links through media translation module 31 and call translation module 32. When a combination of BT and BLE links is selected, the BLE link is dedicated to establishing a connection with the mobile terminal and monitoring change commands issued by the mobile terminal in real time. This division of labor enables the system to respond promptly to changes in the mobile terminal's commands, such as adjusting the translation mode and volume, ensuring that user operations take effect quickly. The BT link, on the other hand, focuses on receiving broadcast data from the mobile terminal and playing audio. Its high bandwidth meets the needs of large-scale, high-quality transmission of broadcast data, ensuring smooth and clear audio playback. Simultaneously, the mobile terminal utilizes its powerful computing capabilities to translate and display the broadcast data, achieving high efficiency and accuracy in data processing. When only the BT link is selected, it handles both data transmission and audio playback, while the mobile terminal continues to handle translation and display. This division of labor simplifies the system architecture and reduces system complexity while meeting basic functional requirements.
[0052] In various embodiments of this application, the expression "or" or "at least one of A and / or B" includes any combination or all combinations of the words listed simultaneously. For example, the expression "A or B" or "at least one of A and / or B" may include A, may include B, or may include both A and B.
[0053] The terms used in the various embodiments of this application (such as "first," "second," etc.) may modify various constituent elements in the various embodiments, but do not limit the corresponding constituent elements. For example, the above terms do not limit the order and / or importance of the elements. The above terms are only used for the purpose of distinguishing one element from other elements. For example, a first user device and a second user device refer to different user devices, although both are user devices. For example, without departing from the scope of the various embodiments of this application, a first element may be referred to as a second element, and similarly, a second element may be referred to as a first element.
[0054] It should be noted that, in this application, unless otherwise explicitly specified and defined, terms such as "installation," "connection," and "fixation" should be interpreted broadly. For example, they can refer to a fixed connection, a detachable connection, or an integral connection; they can refer to a mechanical connection or an electrical connection; they can refer to a direct connection or an indirect connection through an intermediate medium; and they can refer to the internal connection of two components. Those skilled in the art can understand the specific meaning of the above terms in this application according to the specific circumstances.
[0055] In this application, those skilled in the art should understand that the terms indicating orientation or positional relationship are based on the orientation or positional relationship shown in the accompanying drawings and are only for the purpose of describing this application and simplifying the description, and are not intended to indicate or imply that the device or element referred to must have a specific orientation, or be constructed and operated in a specific orientation, and therefore should not be construed as a limitation of this application.
[0056] The terminology used in the various embodiments of this application is for the purpose of describing particular embodiments only and is not intended to limit the various embodiments of this application. As used herein, the singular form is intended to include the plural form as well, unless the context clearly indicates otherwise. Unless otherwise defined, all terms used herein (including technical and scientific terms) have the same meaning as commonly understood by one of ordinary skill in the art to which the various embodiments of this application pertain. The terms (such as those defined in a generally used dictionary) are to be interpreted as having the same meaning as in the context of the relevant technical field and are not to be interpreted as having an idealized or overly formal meaning, unless clearly defined in the various embodiments of this application.
Claims
1. A method for switching translation states in dual-mode Bluetooth, applied to Bluetooth headsets, characterized in that, include: When a mode switching instruction is received from a mobile terminal, the translation mode to be switched is determined based on the mode switching instruction, and the type of audio data to be translated and the communication link to be enabled are determined based on the switched translation mode. When the audio data to be translated is pickup data, and the first communication link is selected as the enabled communication link, the pickup data is sent to the mobile terminal through the first communication link so that the mobile terminal can translate and display the pickup data. When the audio data to be translated is broadcast data, and the second communication link is selected as the enabled communication link, the broadcast data is translated and displayed through the mobile terminal, and the broadcast data sent by the mobile terminal is obtained through the second communication link to play the audio. The first communication link includes a BLE link; the second communication link includes a BT link or a combination of a BT link and a BLE link. The mode switching instructions include a first switching instruction, a second switching instruction, and a third switching instruction. The process of determining the translation mode to be switched based on the mode switching instruction, and determining the type of audio data to be translated and selecting the enabled communication link based on the switched translation mode, includes: Based on the first switching instruction, the translation mode to be switched is determined to be dialogue translation mode, and based on the dialogue translation mode, the type of audio data to be translated is determined to be pickup data, and the communication link to be enabled is selected as BLE link; Based on the second switching instruction, the translation mode to be switched is determined to be media translation mode, and based on the media translation mode, the type of audio data to be translated is determined to be broadcast data, and the communication link to be enabled is a combination of BT link and BLE link; Based on the third switching instruction, the translation mode to be switched is determined to be the call translation mode, and based on the call translation mode, the type of audio data to be translated is determined to be broadcast data, and the communication link to be enabled is selected as the BT link.
2. The translation state switching method for dual-mode Bluetooth according to claim 1, characterized in that, When the audio to be translated is broadcast data, and the selected communication link is the second communication link, the broadcast data is translated and displayed through the mobile terminal, and the broadcast data sent by the mobile terminal is obtained through the second communication link to play the audio, including: When the audio to be translated is broadcast data, and the selected communication link is a combination of BT link and BLE link, a connection is established with the mobile terminal through the BLE link to monitor the change instructions issued by the mobile terminal in real time; at the same time, the broadcast data from the mobile terminal is received and played through the BT link, and the broadcast data is translated and displayed based on the mobile terminal. When the audio to be translated is broadcast data and the selected communication link is the BT link, the broadcast data from the mobile terminal is received and the audio is played through the BT link. At the same time, the mobile terminal translates and displays the broadcast data.
3. The translation state switching method for dual-mode Bluetooth according to claim 1, characterized in that, The process of receiving the mode switching instruction from the mobile terminal includes: Establish a BT link connection with the mobile terminal via the standard Bluetooth protocol; It responds to BLE broadcast signals sent by the mobile terminal and establishes a BLE link connection with the mobile terminal based on the GATT protocol; The mode identifier data defining the translation mode is pre-stored so as to trigger the switching of the translation mode when the mode switching instruction is received; Provide the mobile terminal with a device identifier and communication feature handle so that the mobile terminal can record and implement interactive control.
4. The translation state switching method for dual-mode Bluetooth according to claim 1, characterized in that, Also includes: When a reset command is received from the mobile terminal, the BLE link is disconnected and the BT link is started based on the reset command. The BLE link is then connected to the mobile device to obtain audio data for playback. At the same time, the pre-stored mode identifier data is cleared to restore the default audio state.
5. A method for switching translation states in dual-mode Bluetooth, applied to a mobile terminal, characterized in that, include: Generate mode switching instructions based on user operation and determine the type of audio data to be translated; Send the mode switching command to the Bluetooth headset; When the audio data to be translated is obtained as pickup data and the Bluetooth headset activates the first communication link, the pickup data sent by the Bluetooth headset is received through the first communication link, and the pickup data is translated and displayed through the translation module. When the audio data to be translated is obtained as broadcast data and the Bluetooth headset enables the second communication link, the broadcast data is translated and the broadcast data is sent to the Bluetooth headset through the second communication link to play the audio. The first communication link includes a BLE link; the second communication link includes a BT link or a combination of a BT link and a BLE link. The mode switching instructions include a first switching instruction, a second switching instruction, and a third switching instruction; Sending the mode switching command to the Bluetooth headset includes: The first switching command is sent to the Bluetooth headset so that the Bluetooth headset determines the switching translation mode as dialogue translation mode based on the first switching command, determines the type of audio data to be translated as sound pickup data based on the dialogue translation mode, and selects the enabled communication link as BLE link. The second switching command is sent to the Bluetooth headset, so that the Bluetooth headset determines the switched translation mode as media translation mode based on the second switching command, determines the type of audio data to be translated as broadcast data based on the media translation mode, and selects the enabled communication link as a combination of BT link and BLE link; The third switching command is sent to the Bluetooth headset so that the Bluetooth headset determines the switched translation mode as call translation mode based on the third switching command, determines the type of audio data to be translated as broadcast data based on the call translation mode, and selects the enabled communication link as BT link.
6. A dual-mode Bluetooth translation state switching device, applied to a Bluetooth headset, characterized in that, include: The determination module is used to determine the translation mode to be switched based on the mode switching instruction sent by the mobile terminal when it receives the mode switching instruction, and to determine the type of audio data to be translated and select the enabled communication link based on the switched translation mode. The first processing module is used to send the audio data to the mobile terminal through the first communication link when the audio data to be translated is the audio data and the first communication link is selected as the enabled communication link, so that the mobile terminal can translate and display the audio data. The second processing module is used to translate and display the broadcast data through a mobile terminal when the audio to be translated is broadcast data and the second communication link is selected as the enabled communication link. At the same time, it obtains the broadcast data sent by the mobile terminal through the second communication link to play the audio. The first communication link includes a BLE link. The second communication link includes a BT link or a combination of a BT link and a BLE link. The mode switching instructions include a first switching instruction, a second switching instruction, and a third switching instruction. The determining module includes: The first determining module is used to determine, based on the first switching instruction, that the switched translation mode is a dialogue translation mode, and based on the dialogue translation mode, to determine that the type of audio data to be translated is pickup data, and to select the enabled communication link as a BLE link. The second determining module is used to determine, based on the second switching instruction, that the switched translation mode is media translation mode, and based on the media translation mode, to determine that the type of audio data to be translated is broadcast data, and to select the enabled communication link as a combination of BT link and BLE link; The third determining module is used to determine, based on the third switching instruction, that the switched translation mode is the call translation mode, and based on the call translation mode, to determine that the type of audio data to be translated is broadcast data, and to select the enabled communication link as the BT link.
7. The dual-mode Bluetooth translation state switching device according to claim 6, characterized in that, The second processing module includes: The media translation module is used to establish a connection with the mobile terminal through the BLE link when the audio to be translated is broadcast data and the selected communication link is a combination of BT link and BLE link, so as to monitor the change instructions issued by the mobile terminal in real time; at the same time, it receives the broadcast data from the mobile terminal through the BT link and plays the audio, and translates and displays the broadcast data based on the mobile terminal. The call translation module is used to receive the broadcast data from the mobile terminal and play the audio through the BT link when the audio to be translated is broadcast data and the selected communication link is the BT link. At the same time, the mobile terminal translates and displays the broadcast data.
Citation Information
Patent Citations
Method and device for realizing intelligent voice translation based on dual-mode Bluetooth
CN110177361A
Translation method based on TWS Bluetooth headset, mobile terminal, TWS Bluetooth headset and storage medium
CN111314814A
