Driving method and device of bluetooth device, bluetooth device and terminal device

By using the left and right channels of the Bluetooth audio channel in the Bluetooth device to transmit the drive data of the speaker and vibration motor respectively, the problem of asynchronous drive between the speaker and vibration motor is solved, realizing the synchronous display of sound and tactile feedback and improving the user experience.

CN114245358BActive Publication Date: 2026-01-23BEIJING YOUZHUJU NETWORK TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202111567534.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-12-20
Publication Date
2026-01-23
Estimated Expiration
2041-12-20

AI Technical Summary

Technical Problem

In existing Bluetooth devices, the poor synchronization between the speaker and vibration motor leads to asynchrony between sound and tactile feedback.

Method used

The left and right channels of the Bluetooth audio channel transmit drive data for the speaker and vibration motor respectively, and drive the speaker and vibration motor respectively through the synthesis or receiving unit.

Benefits of technology

It achieves synchronized driving of the speaker and vibration motor, enhancing the user's synchronized experience of sound and tactile feedback.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114245358B_ABST
    Figure CN114245358B_ABST
Patent Text Reader

Abstract

The embodiments of the present disclosure disclose a driving method and device of a Bluetooth device, the Bluetooth device and a terminal device. A specific implementation of the method comprises: receiving driving data, wherein the driving data comprises speaker driving data and vibration motor driving data, one of the left channel and the right channel of the Bluetooth device is used to transmit the speaker driving data, and the other is used to transmit the vibration motor driving data; and driving the speaker and the vibration motor of the Bluetooth device based on the speaker driving data and the vibration motor driving data. The implementation makes the speaker and the vibration motor driven by the left and right channels of the Bluetooth audio channel respectively, so that the sound and the tactile feedback of the Bluetooth device can be synchronized.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This disclosure relates to the field of computer technology, and specifically to a driving method, apparatus, Bluetooth device, and terminal device for Bluetooth devices. Background Technology

[0002] Bluetooth is a low-cost, low-power, short-range wireless communication standard that can be widely used in various smart devices such as mobile phones. When a Bluetooth device has both a speaker and a vibration motor, if both need to be driven synchronously to achieve simultaneous sound and vibration, the synchronization of the speaker and vibration motor becomes an issue.

[0003] Currently, audio data and vibration motor data are transmitted independently. For example, vibration motor data is transmitted using a BLE (Blue Low Energy) wireless channel, while audio data is transmitted using a classic Bluetooth wireless channel. Because this method uses two separate Bluetooth wireless channels for data transmission, the vibration of the vibration motor and the sound emitted by the speaker may become out of sync. Summary of the Invention

[0004] This disclosure is provided to briefly introduce the concepts, which will be described in detail in the subsequent Detailed Description section. This disclosure is not intended to identify key or essential features of the claimed technical solution, nor is it intended to limit the scope of the claimed technical solution.

[0005] This disclosure provides a driving method, apparatus, Bluetooth device, and terminal device for a Bluetooth device, enabling the speaker and vibration motor to be driven by the left and right channels of the Bluetooth audio channel, respectively, so that the sound and haptic feedback of the Bluetooth device can be displayed synchronously, enhancing the user's experience of sound and haptic feedback.

[0006] In a first aspect, embodiments of this disclosure provide a driving method for a Bluetooth device, applied to a Bluetooth device including a speaker and a vibration motor. The method includes: receiving driving data, wherein the driving data includes speaker driving data and vibration motor driving data, one of the left and right channels of the Bluetooth device is used to transmit speaker driving data, and the other is used to transmit vibration motor driving data; and driving the speaker and vibration motor of the Bluetooth device respectively based on the speaker driving data and vibration motor driving data.

[0007] Secondly, embodiments of this disclosure provide a driving method for a Bluetooth device, applied to a pairing terminal of the Bluetooth device. The Bluetooth device includes a speaker and a vibration motor. The method includes: synthesizing audio data driving the speaker and vibration data driving the vibration motor to obtain driving data, wherein the driving data includes speaker driving data and vibration motor driving data, one of the left and right channels of the Bluetooth device is used to transmit speaker driving data, and the other is used to transmit vibration motor driving data; and sending the driving data to the paired Bluetooth device.

[0008] Thirdly, embodiments of this disclosure provide a driving device for a Bluetooth device, disposed in the Bluetooth device, which includes a speaker and a vibration motor. The device includes: a receiving unit for receiving driving data, wherein the driving data includes speaker driving data and vibration motor driving data, one of the left and right channels of the Bluetooth device is used to transmit speaker driving data, and the other is used to transmit vibration motor driving data; and a driving unit for driving the speaker and vibration motor of the Bluetooth device respectively based on the speaker driving data and the vibration motor driving data.

[0009] Fourthly, embodiments of this disclosure provide a driving device for a Bluetooth device, disposed in a pairing terminal of the Bluetooth device. The Bluetooth device includes a speaker and a vibration motor. The device includes: a synthesis unit for synthesizing audio data driving the speaker and vibration data driving the vibration motor to obtain driving data, wherein the driving data includes speaker driving data and vibration motor driving data, one of the left and right channels of the Bluetooth device is used to transmit speaker driving data, and the other is used to transmit vibration motor driving data; and a transmitting unit for transmitting the driving data to the paired Bluetooth device.

[0010] Fifthly, embodiments of this disclosure provide a Bluetooth device, including: a speaker and a vibration motor; one or more processors; and a storage device for storing one or more programs, which, when executed by the one or more processors, cause the one or more processors to implement the Bluetooth device driving method as described in the first aspect.

[0011] In a sixth aspect, embodiments of this disclosure provide a terminal device, including: one or more processors; and a storage device for storing one or more programs, wherein when the one or more programs are executed by the one or more processors, the one or more processors implement the Bluetooth device driving method as described in the first aspect.

[0012] In a seventh aspect, embodiments of this disclosure provide a computer-readable medium having a computer program stored thereon that, when executed by a processor, implements the steps of the Bluetooth device driving method as described in the first and second aspects.

[0013] The Bluetooth device driving method, apparatus, Bluetooth device, and terminal device provided in this disclosure receive driving data, including speaker driving data and vibration motor driving data. One of the left and right channels of the Bluetooth device is used to transmit the speaker driving data, and the other is used to transmit the vibration motor driving data. Based on the speaker driving data and vibration motor driving data transmitted from the left and right channels, the speaker and vibration motor of the Bluetooth device are driven respectively. In this way, the speaker and vibration motor are driven using the left and right channels of the Bluetooth audio channel respectively, enabling the sound and haptic feedback of the Bluetooth device to be displayed synchronously, enhancing the user's sound and haptic feedback experience. Attached Figure Description

[0014] The above and other features, advantages, and aspects of the embodiments of this disclosure will become more apparent from the accompanying drawings and the following detailed description. Throughout the drawings, the same or similar reference numerals denote the same or similar elements. It should be understood that the drawings are schematic, and the originals and elements are not necessarily drawn to scale.

[0015] Figure 1 These are exemplary system architecture diagrams to which the various embodiments of this disclosure can be applied;

[0016] Figure 2 This is a flowchart of one embodiment of a Bluetooth device driving method according to the present disclosure;

[0017] Figure 3 This is a schematic diagram of the structure of a Bluetooth device according to the Bluetooth device driving method disclosed herein;

[0018] Figure 4 This is a flowchart of yet another embodiment of the Bluetooth device driving method according to the present disclosure;

[0019] Figure 5 This is a schematic diagram of a structure of a driver device for a Bluetooth device according to an embodiment of the present disclosure;

[0020] Figure 6 This is a schematic diagram of the structure of yet another embodiment of the driving device for a Bluetooth device according to the present disclosure;

[0021] Figure 7 This is a schematic diagram of the structure of a computer system suitable for implementing the electronic device of the present disclosure. Detailed Implementation

[0022] Embodiments of this disclosure will now be described in more detail with reference to the accompanying drawings. While some embodiments of this disclosure are shown in the drawings, it should be understood that this disclosure can be implemented in various forms and should not be construed as limited to the embodiments set forth herein. Rather, these embodiments are provided to provide a more thorough and complete understanding of this disclosure. It should be understood that the accompanying drawings and embodiments of this disclosure are for illustrative purposes only and are not intended to limit the scope of protection of this disclosure.

[0023] It should be understood that the steps described in the method embodiments of this disclosure may be performed in different orders and / or in parallel. Furthermore, the method embodiments may include additional steps and / or omit the steps shown. The scope of this disclosure is not limited in this respect.

[0024] The term "comprising" and its variations as used herein are open-ended inclusions, meaning "including but not limited to". The term "based on" means "at least partially based on". The term "one embodiment" means "at least one embodiment"; the term "another embodiment" means "at least one additional embodiment"; the term "some embodiments" means "at least some embodiments". Definitions of other terms will be given in the description below.

[0025] It should be noted that the concepts of "first" and "second" mentioned in this disclosure are used only to distinguish different devices, modules or units, and are not used to limit the order of functions performed by these devices, modules or units or their interdependencies.

[0026] It should be noted that the terms "a" and "a plurality of" used in this disclosure are illustrative rather than restrictive, and those skilled in the art should understand that, unless otherwise expressly indicated in the context, they should be understood as "one or more".

[0027] The names of messages or information exchanged between multiple devices in the embodiments of this disclosure are for illustrative purposes only and are not intended to limit the scope of such messages or information.

[0028] Figure 1 An exemplary system architecture 100 is shown, which is an embodiment of the driving method for Bluetooth devices to which this disclosure can be applied.

[0029] like Figure 1 As shown, system architecture 100 may include a pairing terminal 101 paired with Bluetooth device 103, a network 102, and Bluetooth device 103. Network 102 serves as a medium for providing a communication link between pairing terminal 101 and Bluetooth device 103. Here, network 102 may include a wireless communication link, such as Bluetooth. Bluetooth device 103 may include a speaker 1031 and a vibration motor 1032.

[0030] Users can use the pairing terminal 101 to interact with the Bluetooth device 103 via the network 102 to send or receive messages, etc. For example, the Bluetooth device 103 can receive driver data sent by the pairing terminal 101. Various communication client applications can be installed on the pairing terminal 101, such as audio processing applications, audio synthesis applications, instant messaging software, etc.

[0031] Bluetooth device 103 can receive drive data, which may include speaker drive data and vibration motor drive data. One of the left and right channels of Bluetooth device 103 is used to transmit the speaker drive data, and the other is used to transmit the vibration motor drive data. Then, based on the speaker drive data and the vibration motor drive data, the speaker 1031 and the vibration motor 1032 of Bluetooth device 103 can be driven respectively.

[0032] The Bluetooth device 103 can be either hardware or software. When the Bluetooth device 103 is hardware, it can be various electronic devices with a speaker and vibration motor that support information interaction, including but not limited to Bluetooth glasses, Bluetooth speakers, Bluetooth gamepads, and Bluetooth watches. When the Bluetooth device 103 is software, it can be installed in the electronic devices listed above. It can be implemented as multiple software programs or software modules (e.g., multiple software programs or software modules used to provide distributed services) or as a single software program or software module. No specific limitations are made here.

[0033] The pairing terminal 101 can be a node on the Internet that receives data packets sent by test devices 1011, 1012, and 1013.

[0034] The pairing terminal 101 can synthesize the audio data of the driver speaker 1031 and the vibration data of the driver vibration motor 1032 to obtain driving data. The driving data includes speaker driving data and vibration motor driving data. One of the left and right channels of the Bluetooth device 103 is used to transmit the speaker driving data, and the other is used to transmit the vibration motor driving data. After that, the driving data can be sent to the paired Bluetooth device 103.

[0035] The pairing terminal 101 can be either hardware or software. When the pairing terminal 101 is hardware, it can be various electronic devices, including but not limited to smartphones, tablets, and laptops. When the pairing terminal 101 is software, it can be installed in the electronic devices listed above. It can be implemented as multiple software programs or software modules (e.g., multiple software programs or software modules used to provide distributed services) or as a single software program or software module. No specific limitations are made here.

[0036] It should be noted that the Bluetooth device driving method provided in this embodiment can be executed by the Bluetooth device 103. In this case, the Bluetooth device driver is usually located in the Bluetooth device 10. The Bluetooth device driving method provided in this embodiment can also be executed by the pairing terminal 101 paired with the Bluetooth device 103. In this case, the Bluetooth device driver is usually located in the pairing terminal 101.

[0037] It should be understood that Figure 1 The number of paired terminals, networks, Bluetooth devices, speakers, and vibration motors shown is merely illustrative. Any number of paired terminals, networks, Bluetooth devices, speakers, and vibration motors can be included depending on implementation requirements.

[0038] Continue to refer to Figure 2 The diagram illustrates a flow 200 of an embodiment of a Bluetooth device driving method according to the present disclosure. This Bluetooth device driving method, typically applied to Bluetooth devices, includes the following steps:

[0039] Step 201: Receive driver data.

[0040] Here, the aforementioned Bluetooth devices typically include a speaker and a vibration motor.

[0041] like Figure 3 As shown, Figure 3 A schematic diagram of a Bluetooth device according to the driving method of the Bluetooth device disclosed herein is shown. Figure 3 In this design, the Bluetooth device includes a battery 301, a power supply 302, a processor 303, audio amplifiers 3041 and 3042, a speaker 305, and a vibration motor 306. The battery 301 powers the Bluetooth device. The power supply 302 converts the battery voltage to a voltage suitable for the processor 303, audio amplifiers 3041 and 3042, and other components. The processor 303 typically has Bluetooth communication capabilities, used to communicate with paired terminals, primarily converting received data. Audio amplifiers 3041 and 3042 amplify the weak signal from the processor 303 to drive the speaker 305 and vibration motor 306. Specifically, audio amplifier 3041 amplifies the speaker drive data from the left channel to drive the speaker 305, and audio amplifier 3042 amplifies the vibration motor drive data from the right channel to drive the vibration motor 306.

[0042] It should be noted that, Figure 3The schematic diagram of the Bluetooth device is only illustrative. In some cases, the speaker 305 and the vibration motor 306 can be interchanged. That is, the left channel is used to transmit vibration motor drive data, and the audio amplifier 3041 amplifies the vibration motor drive data transmitted from the left channel to drive the vibration motor 306; the right channel is used to transmit speaker drive data, and the audio amplifier 3042 amplifies the speaker drive data transmitted from the right channel to drive the speaker 305.

[0043] In this embodiment, the execution body of the Bluetooth device driving method can receive driving data. Here, the driving data typically includes speaker driving data and vibration motor driving data. The speaker driving data is typically audio data; using this speaker driving data, the Bluetooth device can drive the speaker to play corresponding audio. The vibration motor driving data can be used to drive the vibration motor.

[0044] Here, one of the left and right channels of the aforementioned Bluetooth device can be used to transmit the speaker driving data, and the other can be used to transmit the vibration motor driving data. Specifically, if the left channel of the Bluetooth device is used to transmit the speaker driving data, then the right channel is used to transmit the vibration motor driving data. If the right channel of the Bluetooth device is used to transmit the speaker driving data, then the left channel is used to transmit the vibration motor driving data.

[0045] It should be noted that whether the left and right channels transmit vibration motor drive data or speaker drive data depends on the hardware connections. Specifically, if the speaker is connected to the left channel and the vibration motor is connected to the right channel, then the left channel is used to transmit speaker drive data, and the right channel is used to transmit vibration motor drive data; if the vibration motor is connected to the left channel and the speaker is connected to the right channel, then the left channel is used to transmit vibration motor drive data, and the right channel is used to transmit speaker drive data.

[0046] Step 202: Based on the speaker driving data and vibration motor driving data, drive the speaker and vibration motor of the Bluetooth device respectively.

[0047] In this embodiment, the execution entity can drive the speaker and vibration motor of the Bluetooth device respectively based on the speaker driving data and the vibration motor driving data. Specifically, using the speaker driving data to drive the speaker of the Bluetooth headset to play audio converts electrical signals into sound signals. The vibration motor is used for haptic feedback; using the vibration motor driving data to make the vibration motor vibrate converts electrical signals into kinetic energy.

[0048] The method provided in the above embodiments of this disclosure receives driving data, including speaker driving data and vibration motor driving data. One of the left and right channels of the Bluetooth device is used to transmit the speaker driving data, and the other is used to transmit the vibration motor driving data. Then, based on the speaker driving data and vibration motor driving data transmitted from the left and right channels, the speaker and vibration motor of the Bluetooth device are driven respectively. In this way, the speaker and vibration motor are driven using the left and right channels of the Bluetooth audio channel respectively, enabling the sound and haptic feedback of the Bluetooth device to be displayed synchronously, enhancing the user's sound and haptic feedback experience.

[0049] In some alternative implementations, the aforementioned driving data can be encoded driving data. The execution entity can further drive the speaker and vibration motor of the Bluetooth device based on the aforementioned speaker driving data and vibration motor driving data, respectively, in the following manner: the execution entity can decode the aforementioned encoded driving data, and then use the decoded speaker driving data to drive the speaker of the Bluetooth device, and use the decoded vibration motor driving data to drive the vibration motor of the Bluetooth device.

[0050] In some alternative implementations, the aforementioned Bluetooth device may include at least one of the following: a Bluetooth speaker, a Bluetooth gamepad, and a Bluetooth watch.

[0051] Further reference Figure 4 This illustrates flow 400 of another embodiment of a Bluetooth device driving method. This Bluetooth device driving method is typically applied to pairing terminals of Bluetooth devices and includes the following steps:

[0052] Step 401: The audio data driving the speaker and the vibration data driving the vibration motor are synthesized to obtain the driving data.

[0053] Here, the aforementioned Bluetooth devices typically include a speaker and a vibration motor.

[0054] In this embodiment, the execution entity of the Bluetooth device driving method can synthesize the audio data driving the speaker and the vibration data driving the vibration motor to obtain driving data. Specifically, the execution entity can use an existing audio file synthesis application to synthesize the audio data driving the speaker and the vibration data driving the vibration motor. Taking PCM (Pulse Code Modulation) audio data format as an example, the storage order of dual-channel PCM audio data is LRLRLR…, where the speaker driving data can be placed in L and the vibration motor vibration data in R, and then all data can be arranged sequentially. The above synthesis operation can be performed using existing audio editing software, such as the open-source Audacity software; or it can be implemented by self-programming on the host paired with the Bluetooth device. Then, the PCM data can be encoded and transmitted to the Bluetooth device via Bluetooth audio.

[0055] Since the data for the left and right channels is arranged in the order LRLRLR, the latency between them mainly depends on the decoding and playback frequency of the Bluetooth device, and this latency is very small. For example, if the audio sampling rate of the left and right channels is 48kHz and the quantization depth is 16bit, the latency between LR is 1 / 96 millisecond, which is almost imperceptible to the user.

[0056] As an example, a mono audio file can be selected for the left channel to drive the speaker, and a sine wave file can be selected for the right channel to drive the vibration motor. The audio file and the sine wave file are then combined into a single stereo audio file, which is the drive data.

[0057] In this embodiment, the aforementioned driving data typically includes speaker driving data and vibration motor driving data. The speaker driving data is typically audio data; using this data, the Bluetooth device can drive the speaker to play corresponding audio. The vibration motor driving data can be used to drive the vibration motor.

[0058] Here, one of the left and right channels of the aforementioned Bluetooth device can be used to transmit the speaker driving data, and the other can be used to transmit the vibration motor driving data. Specifically, if the left channel of the Bluetooth device is used to transmit the speaker driving data, then the right channel is used to transmit the vibration motor driving data. If the right channel of the Bluetooth device is used to transmit the speaker driving data, then the left channel is used to transmit the vibration motor driving data.

[0059] Step 402: Send the driver data to the paired Bluetooth device.

[0060] In this embodiment, the aforementioned execution entity can send the aforementioned driving data to the paired Bluetooth device. The Bluetooth device can drive its speaker and vibration motor respectively based on the aforementioned speaker driving data and vibration motor driving data. Specifically, using the aforementioned speaker driving data to drive the speaker of the Bluetooth headset to play audio converts electrical signals into sound signals. The vibration motor is used for haptic feedback; using the aforementioned vibration motor driving data to cause the vibration motor to vibrate converts electrical signals into kinetic energy.

[0061] The method provided in the above embodiments of this disclosure synthesizes audio data driving a speaker and vibration data driving a vibration motor to obtain driving data. This driving data includes speaker driving data and vibration motor driving data. One of the left and right channels of the Bluetooth device is used to transmit the speaker driving data, and the other is used to transmit the vibration motor driving data. Then, the driving data is sent to a paired Bluetooth device, causing the Bluetooth device to drive its speaker and vibration motor respectively based on the speaker driving data and vibration motor driving data transmitted from the left and right channels. In this way, the speaker and vibration motor are driven using the left and right channels of the Bluetooth audio channel, allowing the sound and haptic feedback of the Bluetooth device to be displayed synchronously, enhancing the user's sound and haptic feedback experience.

[0062] In some alternative implementations, the aforementioned execution entity may further send the aforementioned driver data to the paired Bluetooth device in the following manner: the aforementioned execution entity may encode the aforementioned driver data, and then send the encoded driver data to the paired Bluetooth device.

[0063] In some alternative implementations, the aforementioned Bluetooth device may include at least one of the following: a Bluetooth speaker, a Bluetooth gamepad, and a Bluetooth watch.

[0064] Further reference Figure 5 As an implementation of the methods shown in the above figures, this disclosure provides an embodiment of a driving device for a Bluetooth device, which is similar to... Figure 2 Corresponding to the method embodiment shown, the device can be specifically applied to a Bluetooth device, which includes a speaker and a vibration motor.

[0065] like Figure 5As shown, the driving device 500 of the Bluetooth device in this embodiment includes a receiving unit 501 and a driving unit 502. The receiving unit 501 is used to receive driving data, wherein the driving data includes speaker driving data and vibration motor driving data, one of the left channel and the right channel of the Bluetooth device is used to transmit speaker driving data, and the other is used to transmit vibration motor driving data; the driving unit 502 is used to drive the speaker and vibration motor of the Bluetooth device respectively based on the speaker driving data and the vibration motor driving data.

[0066] In this embodiment, the specific processing of the receiving unit 501 and the driving unit 502 of the Bluetooth device driving device 500 can be referred to Figure 2 The corresponding steps 201 and 202 in the embodiment.

[0067] In some alternative implementations, the aforementioned driving data is encoded driving data; and the aforementioned driving unit 502 can be further used to drive the speaker and vibration motor of the Bluetooth device respectively based on the aforementioned speaker driving data and the aforementioned vibration motor driving data in the following manner: the aforementioned driving unit 502 can decode the aforementioned encoded driving data, and use the decoded speaker driving data and vibration motor driving data to drive the speaker and vibration motor of the Bluetooth device respectively.

[0068] In some alternative implementations, the aforementioned Bluetooth device includes at least one of the following: a Bluetooth speaker, a Bluetooth gamepad, and a Bluetooth watch.

[0069] Further reference Figure 6 As an implementation of the methods shown in the above figures, this disclosure provides another embodiment of a driving device for a Bluetooth device, which is similar to... Figure 3 Corresponding to the method embodiment shown, the device can be specifically applied to a pairing terminal of a Bluetooth device, which includes a speaker and a vibration motor.

[0070] like Figure 6 As shown, the Bluetooth device driving device 600 of this embodiment includes a synthesis unit 601 and a transmission unit 602. The synthesis unit 601 is used to synthesize audio data driving a speaker and vibration data driving a vibration motor to obtain driving data, wherein the driving data includes speaker driving data and vibration motor driving data, and one of the left and right channels of the Bluetooth device is used to transmit speaker driving data, and the other is used to transmit vibration motor driving data; the transmission unit 602 is used to send the driving data to the paired Bluetooth device.

[0071] In some alternative implementations, the sending unit 602 can be further used to send driver data to the paired Bluetooth device in the following manner: the sending unit 602 can encode the driver data and send the encoded driver data to the paired Bluetooth device.

[0072] In some alternative implementations, the aforementioned Bluetooth device includes at least one of the following: a Bluetooth speaker, a Bluetooth gamepad, and a Bluetooth watch.

[0073] The following is for reference. Figure 7 It illustrates an electronic device suitable for implementing embodiments of the present disclosure (such as...). Figure 1 The diagram shows the structure of the Bluetooth device or pairing terminal 700.

[0074] The Bluetooth devices disclosed herein may include, but are not limited to, Bluetooth headsets, Bluetooth glasses, Bluetooth speakers, Bluetooth gamepads, and Bluetooth watches. The terminal devices disclosed herein may include, but are not limited to, mobile terminals such as mobile phones, laptops, tablets, and in-vehicle terminals (e.g., in-vehicle navigation terminals), as well as fixed terminals such as digital TVs and desktop computers.

[0075] Figure 7 The electronic device shown is merely an example and should not be construed as limiting the functionality and scope of the embodiments of this disclosure.

[0076] like Figure 7 As shown, the electronic device 700 includes a central processing unit (CPU) 701, a memory 702, an input unit 703, and an output unit 704, wherein the CPU 701, memory 702, input unit 703, and output unit 704 are interconnected via a bus 705. Here, the method according to an embodiment of this disclosure can be implemented as a computer program and stored in the memory 702. If the electronic device 700 is a Bluetooth device, the processing device 701 in the electronic device 700 implements the Bluetooth device driving function defined in the method of the embodiment of this disclosure by calling the aforementioned computer program stored in the memory 702. In some implementations, the output unit 704 can be a speaker or other device for playing audio, or a vibration motor or other device for vibration alerts. Therefore, when the processing device 701 calls the aforementioned computer program to execute the Bluetooth device driving function, it can control the input unit 703 to obtain driving data from the outside, and control the output unit 704 to play audio and vibrate.

[0077] The aforementioned computer-readable medium may be included in the aforementioned electronic device; or it may exist independently and not assembled into the electronic device. The aforementioned computer-readable medium carries one or more programs that, when executed by the electronic device, cause the electronic device to: receive drive data, wherein the drive data includes speaker drive data and vibration motor drive data, wherein one of the left and right channels of the Bluetooth device is used to transmit speaker drive data, and the other is used to transmit vibration motor drive data; and drive the speaker and vibration motor of the Bluetooth device respectively based on the speaker drive data and vibration motor drive data. When the aforementioned one or more programs are executed by the electronic device, the electronic device also causes to: synthesize the audio data driving the speaker and the vibration data driving the vibration motor to obtain drive data, wherein the drive data includes speaker drive data and vibration motor drive data, wherein one of the left and right channels of the Bluetooth device is used to transmit speaker drive data, and the other is used to transmit vibration motor drive data; and send the drive data to a paired Bluetooth device.

[0078] Computer program code for performing the operations of embodiments of this disclosure can be written in one or more programming languages ​​or a combination thereof, including object-oriented programming languages ​​such as Java, Smalltalk, and C++, and conventional procedural programming languages ​​such as the "C" language or similar programming languages. The program code can be executed entirely on the user's computer, partially on the user's computer, as a standalone software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In cases involving remote computers, the remote computer can be connected to the user's computer via any type of network—including a local area network (LAN) or a wide area network (WAN)—or can be connected to an external computer (e.g., via the Internet using an Internet service provider).

[0079] The flowcharts and block diagrams in the accompanying drawings illustrate the architecture, functionality, and operation of possible implementations of systems, methods, and computer program products according to various embodiments of this disclosure. In this regard, each block in a flowchart or block diagram may represent a module, segment, or portion of code containing one or more executable instructions for implementing a specified logical function. It should also be noted that in some alternative implementations, the functions indicated in the blocks may occur in a different order than those indicated in the drawings. For example, two consecutively indicated blocks may actually be executed substantially in parallel, and they may sometimes be executed in reverse order, depending on the functions involved. It should also be noted that each block in the block diagrams and / or flowcharts, and combinations of blocks in the block diagrams and / or flowcharts, can be implemented using a dedicated hardware-based system that performs the specified function or operation, or using a combination of dedicated hardware and computer instructions.

[0080] According to one or more embodiments of this disclosure, a driving method for a Bluetooth device is provided, applied to a Bluetooth device including a speaker and a vibration motor. The method includes: receiving driving data, wherein the driving data includes speaker driving data and vibration motor driving data, one of the left and right channels of the Bluetooth device is used to transmit speaker driving data, and the other is used to transmit vibration motor driving data; and driving the speaker and vibration motor of the Bluetooth device respectively based on the speaker driving data and vibration motor driving data.

[0081] According to one or more embodiments of this disclosure, the driving data is encoded driving data; and driving the speaker and vibration motor of the Bluetooth device based on speaker driving data and vibration motor driving data respectively includes: decoding the encoded driving data, and driving the speaker and vibration motor of the Bluetooth device respectively using the decoded speaker driving data and vibration motor driving data.

[0082] According to one or more embodiments of this disclosure, a Bluetooth device includes at least one of the following: a Bluetooth speaker, a Bluetooth gamepad, and a Bluetooth watch.

[0083] According to one or more embodiments of this disclosure, a driving method for a Bluetooth device is provided, applied to a pairing terminal of the Bluetooth device. The Bluetooth device includes a speaker and a vibration motor. The method includes: synthesizing audio data driving the speaker and vibration data driving the vibration motor to obtain driving data, wherein the driving data includes speaker driving data and vibration motor driving data, one of the left and right channels of the Bluetooth device is used to transmit speaker driving data, and the other is used to transmit vibration motor driving data; and sending the driving data to the paired Bluetooth device.

[0084] According to one or more embodiments of this disclosure, sending driver data to a paired Bluetooth device includes: encoding the driver data and sending the encoded driver data to the paired Bluetooth device.

[0085] According to one or more embodiments of this disclosure, a Bluetooth device includes at least one of the following: a Bluetooth speaker, a Bluetooth gamepad, and a Bluetooth watch.

[0086] According to one or more embodiments of this disclosure, a driving device for a Bluetooth device is provided, disposed in a Bluetooth device including a speaker and a vibration motor. The device includes: a receiving unit for receiving driving data, wherein the driving data includes speaker driving data and vibration motor driving data, one of the left and right channels of the Bluetooth device is used to transmit speaker driving data, and the other is used to transmit vibration motor driving data; and a driving unit for driving the speaker and vibration motor of the Bluetooth device respectively based on the speaker driving data and vibration motor driving data.

[0087] According to one or more embodiments of this disclosure, the driving data is encoded driving data; the driving unit is further configured to drive the speaker and vibration motor of the Bluetooth device respectively based on the speaker driving data and vibration motor driving data in the following manner: decoding the encoded driving data, and using the decoded speaker driving data and vibration motor driving data to drive the speaker and vibration motor of the Bluetooth device respectively.

[0088] According to one or more embodiments of this disclosure, a Bluetooth device includes at least one of the following: a Bluetooth speaker, a Bluetooth gamepad, and a Bluetooth watch.

[0089] According to one or more embodiments of this disclosure, a driving device for a Bluetooth device is provided, disposed in a pairing terminal of the Bluetooth device. The Bluetooth device includes a speaker and a vibration motor. The device includes: a synthesis unit for synthesizing audio data driving the speaker and vibration data driving the vibration motor to obtain driving data, wherein the driving data includes speaker driving data and vibration motor driving data, one of the left and right channels of the Bluetooth device is used to transmit speaker driving data, and the other is used to transmit vibration motor driving data; and a transmitting unit for transmitting the driving data to the paired Bluetooth device.

[0090] According to one or more embodiments of this disclosure, the transmitting unit is further configured to transmit drive data to the paired Bluetooth device by encoding the drive data and transmitting the encoded drive data to the paired Bluetooth device.

[0091] According to one or more embodiments of this disclosure, a Bluetooth device includes at least one of the following: a Bluetooth speaker, a Bluetooth gamepad, and a Bluetooth watch.

[0092] The units described in the embodiments of this disclosure can be implemented in software or hardware. The described units can also be located in a processor; for example, a processor may be described as including a receiving unit and a driving unit, or a processor may be described as including a synthesizing unit and a transmitting unit. The names of these units do not necessarily limit the unit itself; for example, a receiving unit may also be described as a "unit for receiving driving data".

[0093] The above description is merely a preferred embodiment of this disclosure and an explanation of the technical principles employed. Those skilled in the art should understand that the scope of the invention involved in the embodiments of this disclosure is not limited to technical solutions formed by specific combinations of the above-described technical features, but should also cover other technical solutions formed by arbitrary combinations of the above-described technical features or their equivalents without departing from the above-described inventive concept. For example, technical solutions formed by substituting the above-described features with (but not limited to) technical features with similar functions disclosed in the embodiments of this disclosure.

Claims

1. A driving method for a Bluetooth device, applied to a Bluetooth device, said Bluetooth device comprising at least one of the following: a Bluetooth speaker, a Bluetooth gamepad, and a Bluetooth watch, said Bluetooth device including a speaker and a vibration motor, characterized in that, include: The device receives drive data sent by the pairing terminal of the Bluetooth device. The drive data includes speaker drive data and vibration motor drive data. One of the left and right channels of the Bluetooth device is used to transmit the speaker drive data, and the other is used to transmit the vibration motor drive data. The drive data is obtained by synthesizing the audio data driving the speaker and the vibration data driving the vibration motor. The drive data is obtained by synthesizing the audio data and the vibration data into a stereo audio format. Based on the speaker driving data and the vibration motor driving data, the speaker and vibration motor of the Bluetooth device are driven respectively.

2. The method according to claim 1, characterized in that, The driving data is the encoded driving data; as well as The step of driving the speaker and vibration motor of the Bluetooth device based on the speaker driving data and the vibration motor driving data includes: The encoded drive data is decoded, and the decoded speaker drive data and vibration motor drive data are used to drive the speaker and vibration motor of the Bluetooth device, respectively.

3. A driving method for a Bluetooth device, applied to a pairing terminal of a Bluetooth device, wherein the Bluetooth device includes at least one of the following: a Bluetooth speaker, a Bluetooth gamepad, and a Bluetooth watch, and the Bluetooth device includes a speaker and a vibration motor, characterized in that, include: The audio data driving the speaker and the vibration data driving the vibration motor are synthesized to obtain driving data, wherein the driving data includes speaker driving data and vibration motor driving data. One of the left and right channels of the Bluetooth device is used to transmit the speaker driving data, and the other is used to transmit the vibration motor driving data. The driving data is obtained by synthesizing the audio data and the vibration data into a stereo audio format. Send the driver data to the paired Bluetooth device.

4. The method according to claim 3, characterized in that, Sending the driver data to the paired Bluetooth device includes: The driver data is encoded and sent to the paired Bluetooth device.

5. A driving device for a Bluetooth device, disposed in the Bluetooth device, the Bluetooth device comprising at least one of the following: a Bluetooth speaker, a Bluetooth handset, and a Bluetooth watch, the Bluetooth device including a speaker and a vibration motor, characterized in that, include: The receiving unit is configured to receive drive data sent by the pairing terminal of the Bluetooth device. The drive data includes speaker drive data and vibration motor drive data. One of the left and right channels of the Bluetooth device is used to transmit the speaker drive data, and the other is used to transmit the vibration motor drive data. The drive data is obtained by synthesizing the audio data driving the speaker and the vibration data driving the vibration motor. The drive data is obtained by synthesizing the audio data and the vibration data into a stereo audio format. The driving unit is used to drive the speaker and the vibration motor of the Bluetooth device respectively based on the speaker driving data and the vibration motor driving data.

6. A driving device for a Bluetooth device, disposed in a pairing terminal of the Bluetooth device, the Bluetooth device comprising at least one of the following: a Bluetooth speaker, a Bluetooth handset, and a Bluetooth watch, the Bluetooth device including a speaker and a vibration motor, characterized in that, include: A synthesis unit is used to synthesize audio data driving a speaker and vibration data driving a vibration motor to obtain driving data. The driving data includes speaker driving data and vibration motor driving data. One of the left and right channels of the Bluetooth device is used to transmit the speaker driving data, and the other is used to transmit the vibration motor driving data. The driving data is obtained by synthesizing the audio data and the vibration data into a stereo audio format. The transmitting unit is used to send the driving data to the paired Bluetooth device.

7. A Bluetooth device, characterized in that, include: Speakers and vibration motors; One or more processors; Storage device, on which one or more programs are stored, When the one or more programs are executed by the one or more processors, the one or more processors implement the method as described in any one of claims 1-2.

8. A terminal device, characterized in that, include: One or more processors; Storage device, on which one or more programs are stored, When the one or more programs are executed by the one or more processors, the one or more processors implement the method as described in any one of claims 3-4.

9. A computer-readable medium having a computer program stored thereon, characterized in that, When the program is executed by the processor, it implements the method as described in any one of claims 1-2, 3-4.

Citation Information

Patent Citations

  • Electronic device

    CN108366328A

  • Communication apparatus for playing sound signals

    US20070060195A1