CN114245358A - Bluetooth device driving method, device, Bluetooth device and terminal device - Google Patents
Bluetooth device driving method, device, Bluetooth device and terminal device Download PDFInfo
- Publication number
- CN114245358A CN114245358A CN202111567534.9A CN202111567534A CN114245358A CN 114245358 A CN114245358 A CN 114245358A CN 202111567534 A CN202111567534 A CN 202111567534A CN 114245358 A CN114245358 A CN 114245358A
- Authority
- CN
- China
- Prior art keywords
- vibration motor
- driving data
- speaker
- driving
- data
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W4/00—Services specially adapted for wireless communication networks; Facilities therefor
- H04W4/80—Services using short range communication, e.g. near-field communication [NFC], radio-frequency identification [RFID] or low energy communication
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04B—TRANSMISSION
- H04B5/00—Near-field transmission systems, e.g. inductive or capacitive transmission systems
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04B—TRANSMISSION
- H04B5/00—Near-field transmission systems, e.g. inductive or capacitive transmission systems
- H04B5/40—Near-field transmission systems, e.g. inductive or capacitive transmission systems characterised by components specially adapted for near-field transmission
- H04B5/48—Transceivers
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04R—LOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
- H04R1/00—Details of transducers, loudspeakers or microphones
- H04R1/20—Arrangements for obtaining desired frequency or directional characteristics
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04R—LOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
- H04R3/00—Circuits for transducers, loudspeakers or microphones
Landscapes
- Engineering & Computer Science (AREA)
- Signal Processing (AREA)
- Computer Networks & Wireless Communication (AREA)
- Physics & Mathematics (AREA)
- Acoustics & Sound (AREA)
- Telephone Function (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
The embodiment of the disclosure discloses a driving method and device of a Bluetooth device, the Bluetooth device and a terminal device. One embodiment of the method comprises: receiving driving data, wherein the driving data comprises speaker driving data and vibration motor driving data, one of a left channel and a right channel of the Bluetooth device is used for transmitting the speaker driving data, and the other channel is used for transmitting the vibration motor driving data; the speaker and the vibration motor of the bluetooth device are driven based on the speaker driving data and the vibration motor driving data, respectively. This embodiment enables the speaker and the vibration motor to be driven using the left and right sound channels of the bluetooth audio channel, respectively, so that the sound and tactile feedback of the bluetooth device can be presented synchronously.
Description
Technical Field
The embodiment of the disclosure relates to the technical field of computers, in particular to a driving method and device of a Bluetooth device, the Bluetooth device and a terminal device.
Background
Bluetooth is a standard of low-cost, low-power and short-distance wireless communication, and can be widely applied to various intelligent devices such as mobile phones. When a bluetooth device has both a speaker and a vibration motor, if the two are required to be driven synchronously, so as to realize simultaneous presentation of sound and vibration, the problem of synchronization of the speaker and the vibration motor is involved.
At present, the audio data and the vibration motor data are separately and independently transmitted, for example, BLE (bluetooth Low Energy) wireless channel is used to transmit the vibration motor data, and audio classic bluetooth wireless channel is used to transmit the audio data.
Disclosure of Invention
This disclosure is provided to introduce concepts in a simplified form that are further described below in the detailed description. This disclosure is not intended to identify key features or essential features of the claimed subject matter, nor is it intended to be used to limit the scope of the claimed subject matter.
The embodiment of the disclosure provides a driving method and device for a Bluetooth device, the Bluetooth device and a terminal device, so that a loudspeaker and a vibration motor are respectively driven by a left sound channel and a right sound channel of a Bluetooth audio channel, sound and touch feedback of the Bluetooth device can be synchronously displayed, and experience effects of sound and touch feedback of a user are enhanced.
In a first aspect, an embodiment of the present disclosure provides a driving method for a bluetooth device, where the bluetooth device includes a speaker and a vibration motor, the method includes: receiving driving data, wherein the driving data comprises speaker driving data and vibration motor driving data, one of a left channel and a right channel of the Bluetooth device is used for transmitting the speaker driving data, and the other channel is used for transmitting the vibration motor driving data; the speaker and the vibration motor of the bluetooth device are driven based on the speaker driving data and the vibration motor driving data, respectively.
In a second aspect, an embodiment of the present disclosure provides a driving method for a bluetooth device, which is applied to a paired terminal of the bluetooth device, where the bluetooth device includes a speaker and a vibration motor, and the method includes: synthesizing audio data for driving a loudspeaker and vibration data for driving a vibration motor to obtain driving data, wherein the driving data comprises the loudspeaker driving data and the vibration motor driving data, one of a left channel and a right channel of the Bluetooth device is used for transmitting the loudspeaker driving data, and the other channel is used for transmitting the vibration motor driving data; and transmitting the driving data to the paired Bluetooth equipment.
In a third aspect, an embodiment of the present disclosure provides a driving apparatus for a bluetooth device, where the driving apparatus is disposed in the bluetooth device, the bluetooth device includes a speaker and a vibration motor, and the apparatus includes: a receiving unit for receiving driving data, wherein the driving data includes speaker driving data and vibration motor driving data, one of a left channel and a right channel of the bluetooth device is used for transmitting the speaker driving data, and the other is used for transmitting the vibration motor driving data; and the driving unit is used for respectively driving the loudspeaker and the vibration motor of the Bluetooth equipment based on the loudspeaker driving data and the vibration motor driving data.
In a fourth aspect, an embodiment of the present disclosure provides a driving apparatus for a bluetooth device, which is disposed in a pairing terminal of the bluetooth device, where the bluetooth device includes a speaker and a vibration motor, and the apparatus includes: the device comprises a synthesis unit, a control unit and a control unit, wherein the synthesis unit is used for synthesizing audio data for driving a loudspeaker and vibration data for driving a vibration motor to obtain driving data, the driving data comprises loudspeaker driving data and vibration motor driving data, one of a left channel and a right channel of the Bluetooth device is used for transmitting the loudspeaker driving data, and the other channel is used for transmitting the vibration motor driving data; and the sending unit is used for sending the driving data to the paired Bluetooth equipment.
In a fifth aspect, an embodiment of the present disclosure provides a bluetooth device, including: a speaker and a vibration motor; one or more processors; storage means for storing one or more programs which, when executed by the one or more processors, cause the one or more processors to implement the driving method of the bluetooth device according to the first aspect.
In a sixth aspect, an embodiment of the present disclosure provides a terminal device, including: one or more processors; storage means for storing one or more programs which, when executed by the one or more processors, cause the one or more processors to implement the driving method of the bluetooth device according to the first aspect.
In a seventh aspect, the disclosed embodiments provide a computer readable medium, on which a computer program is stored, which when executed by a processor, implements the steps of the driving method of the bluetooth device according to the first and second aspects.
According to the driving method and device of the Bluetooth device, the Bluetooth device and the terminal device provided by the embodiment of the disclosure, by receiving driving data, the driving data comprises speaker driving data and vibration motor driving data, one of a left channel and a right channel of the Bluetooth device is used for transmitting the speaker driving data, and the other channel is used for transmitting the vibration motor driving data; and respectively driving the loudspeaker and the vibration motor of the Bluetooth equipment based on the loudspeaker driving data and the vibration motor driving data transmitted by the left channel and the right channel. Through the mode, the loudspeaker and the vibrating motor are driven by the left sound channel and the right sound channel of the Bluetooth audio channel respectively, so that the sound and the touch feedback of the Bluetooth equipment can be synchronously displayed, and the experience effect of the sound and the touch feedback of a user is enhanced.
Drawings
The above and other features, advantages and aspects of various embodiments of the present disclosure will become more apparent by referring to the following detailed description when taken in conjunction with the accompanying drawings. Throughout the drawings, the same or similar reference numbers refer to the same or similar elements. It should be understood that the drawings are schematic and that elements and features are not necessarily drawn to scale.
FIG. 1 is an exemplary system architecture diagram in which various embodiments of the present disclosure may be applied;
fig. 2 is a flowchart of one embodiment of a driving method of a bluetooth device according to the present disclosure;
fig. 3 is a schematic view of a structure of a bluetooth device according to a driving method of the bluetooth device of the present disclosure;
fig. 4 is a flowchart of still another embodiment of a driving method of a bluetooth device according to the present disclosure;
fig. 5 is a schematic configuration diagram of one embodiment of a driving apparatus of a bluetooth device according to the present disclosure;
fig. 6 is a schematic configuration diagram of still another embodiment of a driving apparatus of a bluetooth device according to the present disclosure;
FIG. 7 is a schematic block diagram of a computer system suitable for use in implementing an electronic device of an embodiment of the present disclosure.
Detailed Description
Embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. While certain embodiments of the present disclosure are shown in the drawings, it is to be understood that the present disclosure may be embodied in various forms and should not be construed as limited to the embodiments set forth herein, but rather are provided for a more thorough and complete understanding of the present disclosure. It should be understood that the drawings and embodiments of the disclosure are for illustration purposes only and are not intended to limit the scope of the disclosure.
It should be understood that the various steps recited in the method embodiments of the present disclosure may be performed in a different order, and/or performed in parallel. Moreover, method embodiments may include additional steps and/or omit performing the illustrated steps. The scope of the present disclosure is not limited in this respect.
The term "include" and variations thereof as used herein are open-ended, i.e., "including but not limited to". The term "based on" is "based, at least in part, 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". Relevant definitions for other terms will be given in the following description.
It should be noted that the terms "first", "second", and the like in the present disclosure are only used for distinguishing different devices, modules or units, and are not used for limiting the order or interdependence relationship of the functions performed by the devices, modules or units.
It is noted that references to "a", "an", and "the" modifications in this disclosure are intended to be illustrative rather than limiting, and that those skilled in the art will recognize that "one or more" may be used unless the context clearly dictates otherwise.
The names of messages or information exchanged between devices in the embodiments of the present disclosure are for illustrative purposes only, and are not intended to limit the scope of the messages or information.
Fig. 1 illustrates an exemplary system architecture 100 to which embodiments of the driving method of the bluetooth device of the present disclosure may be applied.
As shown in fig. 1, the system architecture 100 may include a pairing terminal 101 that pairs with a bluetooth device 103, a network 102, and the bluetooth device 103. The network 102 is a medium to provide a communication link between the counterpart terminal 101 and the bluetooth device 103. Here, the network 102 may include a wireless communication link, such as bluetooth. The bluetooth device 103 may include a speaker 1031 and a vibration motor 1032.
The user may use the counterpart terminal 101 to interact with the bluetooth device 103 through the network 102 to transmit or receive messages and the like, for example, the bluetooth device 103 may receive driving data transmitted by the counterpart terminal 101. Various communication client applications, such as an audio processing application, an audio synthesizing application, instant messaging software, and the like, may be installed on the pairing terminal 101.
The bluetooth device 103 may receive driving data, which may include speaker driving data and vibration motor driving data, one of a left channel and a right channel of the bluetooth device 103 being used to transmit the speaker driving data, and the other being used to transmit the vibration motor driving data; thereafter, the speaker 1031 and the vibration motor 1032 of the bluetooth device 103 may be driven based on the above speaker driving data and the above vibration motor driving data, respectively.
The bluetooth device 103 may be hardware or software. When the bluetooth device 103 is hardware, it may be various electronic devices having a speaker and a vibration motor and supporting information interaction, including but not limited to bluetooth glasses, bluetooth speakers, bluetooth handles, bluetooth watches, and the like. When the bluetooth device 103 is software, it can be installed in the electronic devices listed above. It may be implemented as multiple pieces of software or software modules (e.g., multiple pieces of software or software modules to provide distributed services) or as a single piece of software or software module. And is not particularly limited herein.
The counterpart terminal 101 may be a node in the internet that receives the data packets transmitted by the test apparatuses 1011, 1012, 1013.
The counterpart terminal 101 may synthesize audio data for driving the speaker 1031 and vibration data for driving the vibration motor 1032 to obtain driving data, where the driving data includes speaker driving data and vibration motor driving data, one of a left channel and a right channel of the bluetooth device 103 is used for transmitting the speaker driving data, and the other is used for transmitting the vibration motor driving data; thereafter, the above-described drive data may be transmitted to the paired bluetooth device 103.
The counterpart terminal 101 may be hardware or software. When the counterpart terminal 101 is hardware, it may be various electronic devices including, but not limited to, a smart phone, a tablet computer, a laptop portable computer, and the like. When the pairing terminal 101 is software, it can be installed in the electronic devices listed above. It may be implemented as multiple pieces of software or software modules (e.g., multiple pieces of software or software modules to provide distributed services) or as a single piece of software or software module. And is not particularly limited herein.
It should be noted that the driving method of the bluetooth device provided by the embodiment of the present disclosure may be executed by the bluetooth device 103, in this case, the driving apparatus of the bluetooth device is generally disposed in the bluetooth device 10. The driving method of the bluetooth device provided by the embodiment of the present disclosure may also be executed by the pairing terminal 101 paired with the bluetooth device 103, in this case, the driving apparatus of the bluetooth device is usually disposed in the pairing terminal 101.
It should be understood that the number of paired terminals, networks, bluetooth devices, speakers, and vibration motors in fig. 1 is merely illustrative. There may be any number of paired terminals, networks, bluetooth devices, speakers, and vibrating motors, as desired for implementation.
With continued reference to fig. 2, a flow 200 of one embodiment of a method of driving a bluetooth device in accordance with the present disclosure is shown. The driving method of the bluetooth device is generally applied to the bluetooth device, and comprises the following steps:
Here, the above bluetooth device generally includes a speaker and a vibration motor.
As shown in fig. 3, fig. 3 is a schematic view showing a configuration of a bluetooth device according to a driving method of the bluetooth device of the present disclosure. In fig. 3, the bluetooth device includes a battery 301, a power source 302, a processor 303, audio power amplifiers 3041 and 3042, a speaker 305, and a vibration motor 306. The battery 301 may power the bluetooth device. The power supply 302 may convert the battery voltage to a voltage suitable for the processor 303, the audio amplifiers 3041 and 3042, and the like. The processor 303 generally has a bluetooth communication function, and is configured to communicate with a paired terminal paired with a bluetooth device, mainly to convert received data. The audio power amplifiers 3041 and 3042 amplify the weak signals from the processor 303 to drive the speaker 305 and the vibration motor 306. Specifically, the audio power amplifier 3041 amplifies the speaker driving data transmitted from the left channel to drive the speaker 305, and the audio power amplifier 3042 amplifies the vibration motor driving data transmitted from the right channel to drive the vibration motor 306.
It should be noted that the schematic structural diagram of the bluetooth device in fig. 3 is only schematic, and in some cases, the positions of the speaker 305 and the vibration motor 306 may be changed, that is, the left channel is used for transmitting vibration motor driving data, and the audio power amplifier 3041 amplifies the vibration motor driving data transmitted from the left channel to drive the vibration motor 306; the right channel is used to transmit speaker driving data, and the audio amplifier 3042 amplifies the speaker driving data transmitted from the right channel to drive the speaker 305.
In the present embodiment, the execution subject of the driving method of the bluetooth device may receive the driving data. Here, the above-mentioned drive data generally includes speaker drive data and vibration motor drive data. The speaker driving data is usually audio data, and the bluetooth device may drive the speaker to play corresponding audio by using the speaker driving data. The vibration motor driving data may be used to drive a vibration motor.
Here, one of the left channel and the right channel of the bluetooth device may be used to transmit the speaker driving data, and the other may 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, 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, the left channel is used to transmit the vibration motor driving data.
It should be noted that whether the left channel and the right channel transmit the vibration motor driving data or the speaker driving data depends on the hardware connection. Specifically, if the speaker is connected to the left channel and the vibration motor is connected to the right channel, the left channel is used to transmit speaker driving data and the right channel is used to transmit vibration motor driving data; if the vibration motor is connected to the left channel and the speaker is connected to the right channel, the left channel is used to transmit vibration motor driving data and the right channel is used to transmit speaker driving data.
In this embodiment, the execution main body may drive the speaker and the vibration motor of the bluetooth device based on the speaker driving data and the vibration motor driving data, respectively. Specifically, the loudspeaker of the bluetooth headset is driven by the loudspeaker driving data to play audio, so that the electric signal can be converted into a sound signal. The vibration motor is used for touch feedback, and the vibration motor is driven to vibrate by utilizing the driving data of the vibration motor, so that the electric signals can be converted into kinetic energy.
The method provided by the above embodiment of the present disclosure is implemented by receiving driving data, where the driving data includes speaker driving data and vibration motor driving data, and one of a left channel and a right channel of the bluetooth device is used for transmitting the speaker driving data, and the other is used for transmitting the vibration motor driving data; and then, respectively driving the loudspeaker and the vibration motor of the Bluetooth equipment based on the loudspeaker driving data and the vibration motor driving data transmitted by the left channel and the right channel. Through the mode, the loudspeaker and the vibrating motor are driven by the left sound channel and the right sound channel of the Bluetooth audio channel respectively, so that the sound and the touch feedback of the Bluetooth equipment can be synchronously displayed, and the experience effect of the sound and the touch feedback of a user is enhanced.
In some alternative implementations, the driving data may be encoded driving data. The execution main body may further drive the speaker and the vibration motor of the bluetooth device based on the speaker driving data and the vibration motor driving data, respectively, as follows: the execution main body may decode the encoded driving data, and then may drive a speaker of the bluetooth device using the decoded speaker driving data, and may drive a vibration motor of the bluetooth device using the decoded vibration motor driving data.
In some optional implementations, the bluetooth device may include at least one of: bluetooth sound, bluetooth handle and bluetooth wrist-watch.
With further reference to fig. 4, a flow 400 of yet another embodiment of a method of driving a bluetooth device is shown. The driving method of the Bluetooth device is generally applied to a pairing terminal of the Bluetooth device, and comprises the following steps:
Here, the above bluetooth device generally includes a speaker and a vibration motor.
In this embodiment, the execution main body of the driving method of the bluetooth device may synthesize audio data for driving a speaker and vibration data for driving a vibration motor to obtain driving data. Specifically, the execution main body may synthesize the audio data for driving the speaker and the vibration data for driving the vibration motor using an existing audio file synthesis application. Taking the PCM (Pulse Code Modulation) audio data format as an example, the storage sequence of the dual-channel PCM audio data is LRLRLR …, and it is sufficient to put speaker driving data into L and vibration data of a vibration motor into R, and then arrange all the data in sequence. The above synthesis operation can be performed by using existing audio editing software, such as open-source Audacity software; or may be implemented autonomously programmed on a host paired with the bluetooth device. The PCM data may then be encoded for transmission to the bluetooth device via audio bluetooth.
Since the data of the left and right channels are sequentially arranged according to the LRLRLR, the delay between the two channels is mainly determined by the frequency of decoding and playing of the bluetooth device, and the delay is very small. For example, if the left and right channel audio sample rate is 48KHz and the quantization depth is 16bit, the delay between the LR is 1/96 milliseconds, which is hardly perceptible to the user.
As an example, one mono audio file may be selected for the left channel for driving the speaker and one sine wave file may be selected for the right channel for driving the vibration motor. The audio file and the sine wave file are synthesized into one stereo audio file, i.e., drive data.
In the present embodiment, the above-mentioned drive data generally includes speaker drive data and vibration motor drive data. The speaker driving data is usually audio data, and the bluetooth device may drive the speaker to play corresponding audio by using the speaker driving data. The vibration motor driving data may be used to drive a vibration motor.
Here, one of the left channel and the right channel of the bluetooth device may be used to transmit the speaker driving data, and the other may 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, 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, the left channel is used to transmit the vibration motor driving data.
In this embodiment, the execution main body may transmit the driving data to a paired bluetooth device. The bluetooth device may drive the speaker and the vibration motor of the bluetooth device, respectively, based on the speaker driving data and the vibration motor driving data. Specifically, the loudspeaker of the bluetooth headset is driven by the loudspeaker driving data to play audio, so that the electric signal can be converted into a sound signal. The vibration motor is used for touch feedback, and the vibration motor is driven to vibrate by utilizing the driving data of the vibration motor, so that the electric signals can be converted into kinetic energy.
The method provided by the above embodiment of the present disclosure obtains driving data by synthesizing audio data for driving a speaker and vibration data for driving a vibration motor, where the driving data includes speaker driving data and vibration motor driving data, and one of a left channel and a right channel of the bluetooth device is used for transmitting the speaker driving data, and the other is used for transmitting the vibration motor driving data; and then, the driving data is sent to the paired Bluetooth equipment, so that the Bluetooth equipment drives the loudspeaker and the vibration motor of the Bluetooth equipment respectively based on the loudspeaker driving data and the vibration motor driving data transmitted by the left channel and the right channel. Through the mode, the loudspeaker and the vibrating motor are driven by the left sound channel and the right sound channel of the Bluetooth audio channel respectively, so that the sound and the touch feedback of the Bluetooth equipment can be synchronously displayed, and the experience effect of the sound and the touch feedback of a user is enhanced.
In some optional implementations, the execution body may further send the driving data to a paired bluetooth device by: the execution main body may encode the driving data, and then, the execution main body may transmit the encoded driving data to the paired bluetooth devices.
In some optional implementations, the bluetooth device may include at least one of: bluetooth sound, bluetooth handle and bluetooth wrist-watch.
With further reference to fig. 5, as an implementation of the methods shown in the above figures, the present disclosure provides an embodiment of a driving apparatus of a bluetooth device, which corresponds to the method embodiment shown in fig. 2, and which may be particularly applied to a bluetooth device, which includes a speaker and a vibration motor.
As shown in fig. 5, the driving apparatus 500 of the bluetooth device of the present embodiment includes: a receiving unit 501 and a driving unit 502. The receiving unit 501 is configured to receive driving data, where the driving data includes speaker driving data and vibration motor driving data, one of a left channel and a 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; the driving unit 502 is configured 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.
In this embodiment, the specific processing of the receiving unit 501 and the driving unit 502 of the driving apparatus 500 of the bluetooth device may refer to step 201 and step 202 in the corresponding embodiment of fig. 2.
In some optional implementations, the driving data is encoded driving data; and the driving unit 502 may be further configured to drive the speaker and the vibration motor of the bluetooth device based on the speaker driving data and the vibration motor driving data, respectively, as follows: the driving unit 502 may decode the encoded driving data, and drive the speaker and the vibration motor of the bluetooth device using the decoded speaker driving data and vibration motor driving data, respectively.
In some optional implementations, the bluetooth device includes at least one of: bluetooth sound, bluetooth handle and bluetooth wrist-watch.
With further reference to fig. 6, as an implementation of the methods shown in the above figures, the present disclosure provides yet another embodiment of a driving apparatus of a bluetooth device, which corresponds to the method embodiment shown in fig. 3, and which may be applied in a pairing terminal of a bluetooth device, where the bluetooth device includes a speaker and a vibration motor.
As shown in fig. 6, the driving apparatus 600 of the bluetooth device of the present embodiment includes: combining section 601 and transmitting section 602. The synthesis unit 601 is configured to synthesize audio data for driving a speaker and vibration data for driving a vibration motor, so as to obtain driving data, where the driving data includes speaker driving data and vibration motor driving data, one of a left channel and a right channel of a bluetooth device is used for transmitting the speaker driving data, and the other is used for transmitting the vibration motor driving data; the transmitting unit 602 is configured to transmit driving data to the paired bluetooth device.
In some optional implementations, the sending unit 602 may be further configured to send the driving data to the paired bluetooth device by: the transmitting unit 602 may encode the driving data and transmit the encoded driving data to the paired bluetooth device.
In some optional implementations, the bluetooth device includes at least one of: bluetooth sound, bluetooth handle and bluetooth wrist-watch.
Referring now to fig. 7, a schematic diagram of an electronic device (e.g., the bluetooth device or the paired terminal shown in fig. 1) 700 suitable for use in implementing embodiments of the present disclosure is shown.
Bluetooth devices of the present disclosure may include, but are not limited to, bluetooth headsets, bluetooth glasses, bluetooth speakers, bluetooth handles, and bluetooth watches. The terminal device of the present disclosure may include, but is not limited to, a mobile terminal such as a mobile phone, a notebook computer, a PAD (tablet computer), a car terminal (e.g., car navigation terminal), etc., and a fixed terminal such as a digital TV, a desktop computer, etc.
The electronic device shown in fig. 7 is only an example, and should not bring any limitation to the functions and the scope of use of the embodiments of the present disclosure.
As shown in fig. 7, the electronic apparatus 700 includes a Central Processing Unit (CPU)701, a memory 702, an input unit 703, and an output unit 704, wherein the central processing unit 701, the memory 702, the input unit 703, and the output unit 704 are connected to each other through a bus 705. Here, the method according to an embodiment of the present disclosure may be implemented as a computer program and stored in the memory 702. If the electronic device 700 is a bluetooth device, at this time, the processing device 701 in the electronic device 700 calls the computer program stored in the memory 702 to implement the driving function of the bluetooth device defined in the method of the embodiment of the present disclosure. In some implementations, the output unit 704 can be a speaker or the like that can be used to play audio and a vibration motor or the like that can be used to vibrate the reminder. Thus, the processing device 701 may control the input unit 703 to acquire driving data from the outside and control the output unit 704 to play audio and vibration when calling the computer program to execute the driving function of the bluetooth apparatus.
The computer readable medium may be embodied in the electronic device; or may exist separately without being assembled into the electronic device. The computer readable medium carries one or more programs which, when executed by the electronic device, cause the electronic device to: receiving driving data, wherein the driving data comprises speaker driving data and vibration motor driving data, one of a left channel and a right channel of the Bluetooth device is used for transmitting the speaker driving data, and the other channel is used for transmitting the vibration motor driving data; the speaker and the vibration motor of the bluetooth device are driven based on the speaker driving data and the vibration motor driving data, respectively. The one or more programs, when executed by the electronic device, further cause the electronic device to: synthesizing audio data for driving a loudspeaker and vibration data for driving a vibration motor to obtain driving data, wherein the driving data comprises the loudspeaker driving data and the vibration motor driving data, one of a left channel and a right channel of the Bluetooth device is used for transmitting the loudspeaker driving data, and the other channel is used for transmitting the vibration motor driving data; and transmitting the driving data to the paired Bluetooth equipment.
Computer program code for carrying out operations for embodiments of the present disclosure may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, Smalltalk, C + +, and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet service provider).
The flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present disclosure. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
According to one or more embodiments of the present disclosure, there is provided a driving method of a bluetooth device, applied to a bluetooth device including a speaker and a vibration motor, the method including: receiving driving data, wherein the driving data comprises speaker driving data and vibration motor driving data, one of a left channel and a right channel of the Bluetooth device is used for transmitting the speaker driving data, and the other channel is used for transmitting the vibration motor driving data; the speaker and the vibration motor of the bluetooth device are driven based on the speaker driving data and the vibration motor driving data, respectively.
According to one or more embodiments of the present disclosure, the driving data is encoded driving data; and driving the speaker and the vibration motor of the bluetooth device, respectively, based on the speaker driving data and the vibration motor driving data, including: and decoding the encoded driving data, and driving a loudspeaker and a vibration motor of the Bluetooth device by using the decoded loudspeaker driving data and the decoded vibration motor driving data respectively.
In accordance with one or more embodiments of the present disclosure, a bluetooth device includes at least one of: bluetooth sound, bluetooth handle and bluetooth wrist-watch.
According to one or more embodiments of the present disclosure, there is provided a driving method of a bluetooth device, applied to a counterpart terminal of the bluetooth device, the bluetooth device including a speaker and a vibration motor, the method including: synthesizing audio data for driving a loudspeaker and vibration data for driving a vibration motor to obtain driving data, wherein the driving data comprises the loudspeaker driving data and the vibration motor driving data, one of a left channel and a right channel of the Bluetooth device is used for transmitting the loudspeaker driving data, and the other channel is used for transmitting the vibration motor driving data; and transmitting the driving data to the paired Bluetooth equipment.
According to one or more embodiments of the present disclosure, transmitting driving data to a paired bluetooth device includes: and coding the driving data, and sending the coded driving data to the paired Bluetooth equipment.
In accordance with one or more embodiments of the present disclosure, a bluetooth device includes at least one of: bluetooth sound, bluetooth handle and bluetooth wrist-watch.
According to one or more embodiments of the present disclosure, there is provided a driving apparatus of a bluetooth device, provided in the bluetooth device, the bluetooth device including a speaker and a vibration motor, the apparatus including: a receiving unit for receiving driving data, wherein the driving data includes speaker driving data and vibration motor driving data, one of a left channel and a right channel of the bluetooth device is used for transmitting the speaker driving data, and the other is used for transmitting the vibration motor driving data; and the driving unit is used for respectively driving the loudspeaker and the vibration motor of the Bluetooth equipment based on the loudspeaker driving data and the vibration motor driving data.
According to one or more embodiments of the present disclosure, the driving data is encoded driving data; the driving unit is further configured to drive the speaker and the vibration motor of the bluetooth device based on the speaker driving data and the vibration motor driving data, respectively, by: and decoding the encoded driving data, and driving a loudspeaker and a vibration motor of the Bluetooth device by using the decoded loudspeaker driving data and the decoded vibration motor driving data respectively.
In accordance with one or more embodiments of the present disclosure, a bluetooth device includes at least one of: bluetooth sound, bluetooth handle and bluetooth wrist-watch.
According to one or more embodiments of the present disclosure, there is provided a driving apparatus of a bluetooth device provided in a counterpart terminal of the bluetooth device, the bluetooth device including a speaker and a vibration motor, the apparatus including: the device comprises a synthesis unit, a control unit and a control unit, wherein the synthesis unit is used for synthesizing audio data for driving a loudspeaker and vibration data for driving a vibration motor to obtain driving data, the driving data comprises loudspeaker driving data and vibration motor driving data, one of a left channel and a right channel of the Bluetooth device is used for transmitting the loudspeaker driving data, and the other channel is used for transmitting the vibration motor driving data; and the sending unit is used for sending the driving data to the paired Bluetooth equipment.
According to one or more embodiments of the present disclosure, the transmitting unit is further configured to transmit the driving data to the paired bluetooth device by: and coding the driving data, and sending the coded driving data to the paired Bluetooth equipment.
In accordance with one or more embodiments of the present disclosure, a bluetooth device includes at least one of: bluetooth sound, bluetooth handle and bluetooth wrist-watch.
The units described in the embodiments of the present disclosure may be implemented by software or hardware. The described units may also be provided in a processor, and may be described as: a processor comprising a receiving unit and a driving unit, further describable as: a processor includes a synthesizing unit and a transmitting unit. Where the names of the units do not in some cases constitute a limitation of the unit itself, for example, a receiving unit may also be described as a "unit receiving drive data".
The foregoing description is only exemplary of the preferred embodiments of the disclosure and is illustrative of the principles of the technology employed. It will be appreciated by those skilled in the art that the scope of the invention in the embodiments of the present disclosure is not limited to the specific combination of the above-mentioned features, but also encompasses other embodiments in which any combination of the above-mentioned features or their equivalents is made without departing from the inventive concept as defined above. For example, the above features and (but not limited to) technical features with similar functions disclosed in the embodiments of the present disclosure are mutually replaced to form the technical solution.
Claims (11)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202111567534.9A CN114245358A (en) | 2021-12-20 | 2021-12-20 | Bluetooth device driving method, device, Bluetooth device and terminal device |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202111567534.9A CN114245358A (en) | 2021-12-20 | 2021-12-20 | Bluetooth device driving method, device, Bluetooth device and terminal device |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| CN114245358A true CN114245358A (en) | 2022-03-25 |
Family
ID=80759905
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN202111567534.9A Pending CN114245358A (en) | 2021-12-20 | 2021-12-20 | Bluetooth device driving method, device, Bluetooth device and terminal device |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN114245358A (en) |
Citations (8)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN1165598A (en) * | 1995-09-18 | 1997-11-19 | 卡西欧计算机株式会社 | Incoming calling system |
| US20070060195A1 (en) * | 2004-02-24 | 2007-03-15 | Hsiang Yueh W | Communication apparatus for playing sound signals |
| CN1953480A (en) * | 2005-10-20 | 2007-04-25 | 乐金电子(中国)研究开发中心有限公司 | Mobile communication terminal setting up multi-vibration and its operating method |
| CN101879375A (en) * | 2009-05-06 | 2010-11-10 | 鼎亿数码科技(上海)有限公司 | Mobile-phone game handle based on Bluetooth transmission and realization method thereof |
| CN203849565U (en) * | 2014-04-03 | 2014-09-24 | 深圳市威米通讯有限公司 | Bluetooth watch realizing dynamic cell phone alarm |
| KR20160012869A (en) * | 2014-11-17 | 2016-02-03 | 박내진 | Vibration method for bluetooth accessories with portable terminal upon disconnecting and the device thereof |
| US20160359766A1 (en) * | 2015-06-08 | 2016-12-08 | Intel Corporation | Systems, Methods, and Devices for Handling Wi-Fi and Bluetooth Audio |
| CN108366328A (en) * | 2018-02-11 | 2018-08-03 | 瑞声科技(新加坡)有限公司 | Electronic equipment |
-
2021
- 2021-12-20 CN CN202111567534.9A patent/CN114245358A/en active Pending
Patent Citations (8)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN1165598A (en) * | 1995-09-18 | 1997-11-19 | 卡西欧计算机株式会社 | Incoming calling system |
| US20070060195A1 (en) * | 2004-02-24 | 2007-03-15 | Hsiang Yueh W | Communication apparatus for playing sound signals |
| CN1953480A (en) * | 2005-10-20 | 2007-04-25 | 乐金电子(中国)研究开发中心有限公司 | Mobile communication terminal setting up multi-vibration and its operating method |
| CN101879375A (en) * | 2009-05-06 | 2010-11-10 | 鼎亿数码科技(上海)有限公司 | Mobile-phone game handle based on Bluetooth transmission and realization method thereof |
| CN203849565U (en) * | 2014-04-03 | 2014-09-24 | 深圳市威米通讯有限公司 | Bluetooth watch realizing dynamic cell phone alarm |
| KR20160012869A (en) * | 2014-11-17 | 2016-02-03 | 박내진 | Vibration method for bluetooth accessories with portable terminal upon disconnecting and the device thereof |
| US20160359766A1 (en) * | 2015-06-08 | 2016-12-08 | Intel Corporation | Systems, Methods, and Devices for Handling Wi-Fi and Bluetooth Audio |
| CN108366328A (en) * | 2018-02-11 | 2018-08-03 | 瑞声科技(新加坡)有限公司 | Electronic equipment |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN203289452U (en) | Wireless audio system based on acoustic wave communication pairing | |
| KR100935963B1 (en) | A communication device, which is a processor peripheral, and a system and method using the same | |
| CN107005800B (en) | Audio file transmission and receiving method, device, equipment and system | |
| CN107592592A (en) | Display panel, mobile terminal and screen sounding control method | |
| EP3174060A1 (en) | Method and apparatus for audio mixing and playing | |
| KR100367000B1 (en) | PC-based codec device for multichannel audio/speech and data with multimedia engine and input/output modules for multimedia data processing | |
| CN102652458B (en) | Method for sending objects between devices with multiple radio interfaces | |
| CN113314133B (en) | Audio transmission method and electronic device | |
| CN104066152A (en) | System and method for enabling devices to have access to wireless network | |
| CN113225644B (en) | Low-delay Bluetooth audio system and audio source end and audio receiving end thereof | |
| CN203219287U (en) | Media playing system and media emitting apparatus | |
| US20170178636A1 (en) | Method and electronic device for jointly playing high-fidelity sounds of multiple players | |
| CN105281811A (en) | Voice data transmission processing method and terminal | |
| CN117295043A (en) | Real-time Audio interaction method based on LE Audio multiple Bluetooth Audio equipment | |
| CN117356114B (en) | Spatial audio data exchange | |
| CN105049327A (en) | Touch vibration instant messaging method and system | |
| JP2015122709A (en) | Music playback device, music playback system, and music playback program | |
| CN104954078A (en) | Sound wave communication based control and response method and sound wave communication based control and response device | |
| TWI390859B (en) | Integrated wireless transceiver and audio processor | |
| CN106412767B (en) | Sound mixing method and sound mixing circuit | |
| CN114245358A (en) | Bluetooth device driving method, device, Bluetooth device and terminal device | |
| TW201328226A (en) | Method and device for information transmission | |
| CN105721698A (en) | Audio playing method, device and mobile terminal | |
| CN103220410B (en) | Frequency modulation (FM) broadcasting sharing method on mobile intelligent devices utilizing Bluetooth | |
| US20160196102A1 (en) | System for handheld portable high fidelity music playback with streaming and wifi routing ability |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| PB01 | Publication | ||
| PB01 | Publication | ||
| SE01 | Entry into force of request for substantive examination | ||
| SE01 | Entry into force of request for substantive examination |