CN105653237B - Audio play control method, audio broadcasting control system and terminal - Google Patents
Audio play control method, audio broadcasting control system and terminal Download PDFInfo
- Publication number
- CN105653237B CN105653237B CN201610069509.0A CN201610069509A CN105653237B CN 105653237 B CN105653237 B CN 105653237B CN 201610069509 A CN201610069509 A CN 201610069509A CN 105653237 B CN105653237 B CN 105653237B
- Authority
- CN
- China
- Prior art keywords
- audio
- terminal
- bluetooth module
- bluetooth
- digital
- 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.)
- Active
Links
- 238000000034 method Methods 0.000 title claims abstract description 62
- 238000006243 chemical reaction Methods 0.000 claims abstract description 76
- 230000008569 process Effects 0.000 claims abstract description 40
- 238000012545 processing Methods 0.000 claims abstract description 27
- 230000005540 biological transmission Effects 0.000 claims description 51
- 238000004891 communication Methods 0.000 claims description 36
- 230000001360 synchronised effect Effects 0.000 claims description 5
- 238000005516 engineering process Methods 0.000 description 12
- 238000010586 diagram Methods 0.000 description 10
- 230000000694 effects Effects 0.000 description 10
- 230000006870 function Effects 0.000 description 10
- 230000008901 benefit Effects 0.000 description 9
- 238000010295 mobile communication Methods 0.000 description 8
- 238000005070 sampling Methods 0.000 description 4
- 238000004088 simulation Methods 0.000 description 4
- 238000013461 design Methods 0.000 description 2
- 238000011161 development Methods 0.000 description 1
- 230000006872 improvement Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/16—Sound input; Sound output
- G06F3/162—Interface to dedicated audio devices, e.g. audio drivers, interface to CODECs
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/16—Sound input; Sound output
- G06F3/165—Management of the audio stream, e.g. setting of volume, audio stream path
-
- H04B5/72—
Abstract
The present invention provides a kind of audio play control method, audio broadcasting control system and terminals, wherein audio play control method includes: to carry out analog-to-digital conversion process to audio stream to be played;Audio stream Jing Guo analog-to-digital conversion process is transmitted to bluetooth module by pulse code modulation interface;Digital-to-analogue conversion processing is carried out to the audio stream Jing Guo analog-to-digital conversion process;Generate the corresponding radiofrequency signal of audio stream by digital-to-analogue conversion processing;Radiofrequency signal is sent to audio-frequence player device by bluetooth module.Technical solution through the invention improves broadcast sound volume, improves broadcasting sound quality, improves various applicability of terminal.
Description
Technical field
The present invention relates to field of terminal technology, play in particular to a kind of audio play control method, a kind of audio
Control system and a kind of terminal.
Background technique
With the development of terminal technology, the function that the terminals such as mobile phone can be realized is also more and more, than if any developer
A AndroidMic application is developed, audio sync software of the using terminal as wireless microphone needs to install PC simultaneously
Client and mobile phone terminal service software, but the limitation of the volume, cost and performance of terminal speaker module, the outer of terminal put function
Energy volume is limited, and sound quality is also general.
In the related art, Baffle Box of Bluetooth is gradually popularized as a kind of wireless audio devices, and Baffle Box of Bluetooth is because it is easy
Portability and sound quality volume is all significantly improved than terminal and is liked by user, but have no the relevant technologies and pass through bluetooth
The audio stream of the real-time playback terminal of speaker.
Therefore, how to design the new audio of one kind and play control program to realize terminal audio frequency stream in audio-frequence player device
Playing becomes technical problem urgently to be resolved.
Summary of the invention
The present invention is based at least one above-mentioned technical problem, proposes a kind of new audio broadcasting control program, leads to
It crosses and the audio stream after analog-to-digital conversion is transmitted to bluetooth module by pulse code modulation interface or voice gateways, will be right
The radiofrequency signal answered is sent to audio-frequence player device to play out, and solves the problems, such as that sound reproduction sound is lesser outside terminal device, mentions
High broadcasting sound quality, improves various applicability of terminal.
In view of this, the invention proposes a kind of audio play control methods, comprising: carry out mould to audio stream to be played
Number conversion process;Audio stream Jing Guo analog-to-digital conversion process is transmitted to bluetooth module by pulse code modulation interface;To warp
The audio stream for crossing analog-to-digital conversion process carries out digital-to-analogue conversion processing;Generate the corresponding radio frequency of audio stream by digital-to-analogue conversion processing
Signal;Radiofrequency signal is sent to audio-frequence player device by bluetooth module.
In the technical scheme, by the way that the audio stream after analog-to-digital conversion to be transmitted to by pulse code modulation interface
Bluetooth module generates radiofrequency signal after treatment and is sent to audio-frequence player device, played out, solved by audio-frequence player device
It has determined the lesser problem of sound of raising one's voice to its utmost outside terminal device, has improved broadcasting sound quality, improve various applicability of terminal.
Specifically, pulse code modulation (Pulse Code Modulation, PCM) refers to Time Continuous, a value
Continuous analog signal is transmitted in the channel after being transformed into the discrete digital signal of time discrete, value, wherein common PCM
Interface includes voice trunks interface, voice terminal interface, data-interface (RS-232 serial ports) and simulation four-wire interface, passes through sound
Frequency player (such as Media Player) opens audio file, calls Audio driving, after audio file is by decoding, by
The PCM input terminal that PCM is output to the bluetooth module of terminal is sent after the processing of bluetooth module by radio-frequency module
To audio-frequence player device.
In addition, the microphone module and loudspeaker module in using terminal may be implemented using terminal as the function of microphone,
But the playback of many terminal devices is simultaneously bad, and volume is limited, by connecting bluetooth loudspeaking equipment with terminal device
It connects, realizes function of the terminal as microphone, enhance the interest of terminal device application, the user experience is improved.
In the above-mentioned technical solutions, it is preferable that before carrying out analog-to-digital conversion process to collected audio stream, specifically include
Following steps: the Bluetooth communication connection between creation bluetooth module and audio-frequence player device.
In the technical scheme, it by establishing the connection between bluetooth module and audio-frequence player device, is played by audio
Audio on device plays terminal device, improves audio playback quality, improves the usage experience of user.
Specifically, by taking Baffle Box of Bluetooth as an example, Baffle Box of Bluetooth is the speaker that information transmission is carried out by Bluetooth transmission protocol, benefit
With " bluetooth " technology, it can effectively simplify the communication between mobile communication terminal device, data transmission becomes more high rapidly
Effect.
According to the second aspect of the invention, it is also proposed that a kind of audio play control method, comprising: to audio to be played
Stream carries out analog-to-digital conversion process;Carry out the registration table setting of voice gateways;After the service business of load voice gateways, pass through clothes
Audio is streamed to bluetooth module by the synchronization link of business business;Digital-to-analogue conversion is carried out to the audio stream Jing Guo analog-to-digital conversion process
Processing;Generate the corresponding radiofrequency signal of audio stream by digital-to-analogue conversion processing;Radiofrequency signal is sent to by bluetooth module
Audio-frequence player device.
In the technical scheme, by the way that the service of the voice gateways after load will be passed through by the audio stream after analog-to-digital conversion
Business is transmitted to bluetooth module, generates radiofrequency signal after treatment and is sent to audio-frequence player device, passes through audio-frequence player device
It plays out, solves the problems, such as that sound reproduction sound is lesser outside terminal device, improves broadcasting sound quality, the multiplicity for improving terminal is applicable in
Property.
Specifically, universal asynchronous receiving-transmitting transmitter (Universal Asynchronous Receiver/
Transmitter, UART) data is converted by making transmission between serial communication and parallel communications, become serial as parallel input
The chip of output is typically integrated into other communication interfaces, by setting registration table " HKEY_LOCAL_MACHINE Services
BTAGSVC ", so that " Is Enabled=1 ", makes to load voice gateways (AG) service when System guides automatically.
In the above-mentioned technical solutions, it is preferable that after the service business of load voice gateways, pass through the transmission of service business
Audio is streamed to bluetooth module by channel, specifically includes the following steps: creation bluetooth module is broadcast with audio according to user instructions
Put the async link between equipment;Address configuration, data bit configuration and time-out time configuration are carried out to synchronization link to be created,
To complete the creation of synchronization link.
In the technical scheme, by creation async link and synchronization link, received parallel data is turned by sampling
Serial data sending is turned to, real-time Transmission of the audio stream between terminal and audio-frequence player device is realized.
Specifically, established by manual configuration the bluetooth equipment of terminal Bluetooth equipment and audio-frequence player device ACL (towards
Connectionless async link) link, " IOCTL_AG_OPEN_ is then called in Application or Audio Driver
AUDIO " re-establishes the SCO (synchronous connection oriented link) of the bluetooth equipment of terminal Bluetooth equipment and audio-frequence player device
Link, voice gateways establish Audio to the channel between Bluetooth chip, that is, realize the transmission that audio flows to bluetooth module,
Audio stream is packaged via terminal bluetooth module and is sent via radio-frequency module.
In the above-mentioned technical solutions, it is preferable that before carrying out analog-to-digital conversion process to audio stream to be played, further includes:
Create the Bluetooth communication connection between bluetooth module and audio-frequence player device.
In the technical scheme, it by establishing the connection between bluetooth module and audio-frequence player device, is played by audio
Audio on device plays terminal device, improves audio playback quality, improves the usage experience of user.
Specifically, by taking Baffle Box of Bluetooth as an example, Baffle Box of Bluetooth is the speaker that information transmission is carried out by Bluetooth transmission protocol, benefit
With " bluetooth " technology, it can effectively simplify the communication between mobile communication terminal device, data transmission becomes more high rapidly
Effect.
According to the third aspect of the invention we, it is also proposed that a kind of audio broadcasting control system, comprising: modulation unit is used for
Analog-to-digital conversion process is carried out to audio stream to be played;Transmission unit, for passing through the audio stream for passing through analog-to-digital conversion process
Pulse code modulation interface is transmitted to bluetooth module;Modulation unit is also used to: being carried out to the audio stream Jing Guo analog-to-digital conversion process
Digital-to-analogue conversion processing;Audio broadcasting control system further include: generation unit, for generating the audio stream for passing through digital-to-analogue conversion processing
Corresponding radiofrequency signal;Transmission unit, for radiofrequency signal to be sent to audio-frequence player device by bluetooth module.
In the technical scheme, by the way that the audio stream after analog-to-digital conversion to be transmitted to by pulse code modulation interface
Bluetooth module generates radiofrequency signal after treatment and is sent to audio-frequence player device, played out, solved by audio-frequence player device
It has determined the lesser problem of sound of raising one's voice to its utmost outside terminal device, has improved broadcasting sound quality, improve various applicability of terminal.
Specifically, pulse code modulation (Pulse Code Modulation, PCM) refers to Time Continuous, a value
Continuous analog signal is transmitted in the channel after being transformed into the discrete digital signal of time discrete, value, wherein common PCM
Interface includes voice trunks interface, voice terminal interface, data-interface (RS-232 serial ports) and simulation four-wire interface, passes through sound
Frequency player (such as Media Player) opens audio file, calls Audio driving, after audio file is by decoding, by
The PCM input terminal that PCM is output to the bluetooth module of terminal is sent after the processing of bluetooth module by radio-frequency module
To audio-frequence player device.
In addition, the microphone module and loudspeaker module in using terminal may be implemented using terminal as the function of microphone,
But the playback of many terminal devices is simultaneously bad, and volume is limited, by connecting bluetooth loudspeaking equipment with terminal device
It connects, realizes function of the terminal as microphone, enhance the interest of terminal device application, the user experience is improved.
In the above-mentioned technical solutions, it is preferable that further include: creating unit is set for creating bluetooth module and audio broadcasting
Bluetooth communication connection between standby.
In the technical scheme, it by establishing the connection between bluetooth module and audio-frequence player device, is played by audio
Audio on device plays terminal device, improves audio playback quality, improves the usage experience of user.
Specifically, by taking Baffle Box of Bluetooth as an example, Baffle Box of Bluetooth is the speaker that information transmission is carried out by Bluetooth transmission protocol, benefit
With " bluetooth " technology, it can effectively simplify the communication between mobile communication terminal device, data transmission becomes more high rapidly
Effect.
According to the fourth aspect of the invention, it is also proposed that a kind of audio broadcasting control system, comprising: modulation unit is used for
Analog-to-digital conversion process is carried out to audio stream to be played;Setting unit, the registration table for carrying out voice gateways are arranged;Transmission is single
Member, for audio to be streamed to bluetooth mould by the synchronization link of service business after the service business of load voice gateways
Block;Modulation unit is also used to: carrying out digital-to-analogue conversion processing to the audio stream Jing Guo analog-to-digital conversion process;Audio broadcasting control system
Further include: generation unit, for generating the corresponding radiofrequency signal of audio stream for passing through digital-to-analogue conversion processing;Transmission unit is used for
Radiofrequency signal is sent to audio-frequence player device by bluetooth module.
In the technical scheme, by the way that the service of the voice gateways after load will be passed through by the audio stream after analog-to-digital conversion
Business is transmitted to bluetooth module, generates radiofrequency signal after treatment and is sent to audio-frequence player device, passes through audio-frequence player device
It plays out, solves the problems, such as that sound reproduction sound is lesser outside terminal device, improves broadcasting sound quality, the multiplicity for improving terminal is applicable in
Property.
Specifically, universal asynchronous receiving-transmitting transmitter (Universal Asynchronous Receiver/
Transmitter, UART) data is converted by making transmission between serial communication and parallel communications, become serial as parallel input
The chip of output is typically integrated into other communication interfaces, by setting registration table " HKEY_LOCAL_MACHINE Services
BTAGSVC ", so that " Is Enabled=1 ", makes to load voice gateways (AG) service when System guides automatically.
In any of the above-described technical solution, it is preferable that further include: the first creating unit, for creating according to user instructions
Build the async link between bluetooth module and audio-frequence player device;Second creating unit, for synchronization link to be created into
Row address configuration, data bit configuration and time-out time configuration, to complete the creation of synchronization link.
In the technical scheme, by creation async link and synchronization link, received parallel data is turned by sampling
Serial data sending is turned to, real-time Transmission of the audio stream between terminal and audio-frequence player device is realized.
Specifically, established by manual configuration the bluetooth equipment of terminal Bluetooth equipment and audio-frequence player device ACL (towards
Connectionless async link) link, then IOCTL_AG_OPEN_ is called in Application or Audio Driver
AUDIO re-establishes SCO (synchronous connection oriented link) chain of the bluetooth equipment of terminal Bluetooth equipment and audio-frequence player device
It connects, voice gateways establish Audio to the channel between Bluetooth chip, that is, realize the transmission that audio flows to bluetooth module, pass through
Audio stream is packaged by terminal bluetooth module and is sent via radio-frequency module.
In any of the above-described technical solution, it is preferable that further include: third creating unit, for create bluetooth module and
Bluetooth communication connection between audio-frequence player device.
In the technical scheme, it by establishing the connection between bluetooth module and audio-frequence player device, is played by audio
Audio on device plays terminal device, improves audio playback quality, improves the usage experience of user.
Specifically, by taking Baffle Box of Bluetooth as an example, Baffle Box of Bluetooth is the speaker that information transmission is carried out by Bluetooth transmission protocol, benefit
With " bluetooth " technology, it can effectively simplify the communication between mobile communication terminal device, data transmission becomes more high rapidly
Effect.
According to the fifth aspect of the invention, it is also proposed that a kind of terminal, the audio including such as any of the above-described play control
System, therefore, the terminal have technical effect identical with the audio broadcasting control system of any one of above-mentioned technical proposal,
This is repeated no more.
By above technical scheme, by that will be transmitted by the audio stream after analog-to-digital conversion by pulse code modulation interface
To bluetooth module, radiofrequency signal is generated after treatment and is sent to audio-frequence player device, is played out by audio-frequence player device,
Solve the problems, such as that sound reproduction sound is lesser outside terminal device, improves broadcasting sound quality, improves various applicability of terminal.
Detailed description of the invention
Fig. 1 shows the schematic flow diagram of audio play control method according to an embodiment of the invention;
Fig. 2 shows the schematic flow diagrams of audio play control method according to another embodiment of the invention;
Fig. 3 shows the schematic block diagram of audio broadcasting control system according to an embodiment of the invention;
Fig. 4 shows the schematic block diagram of audio broadcasting control system according to another embodiment of the invention;
Fig. 5 shows the schematic block diagram of the terminal of embodiment according to the present invention.
Specific embodiment
To better understand the objects, features and advantages of the present invention, with reference to the accompanying drawing and specific real
Applying mode, the present invention is further described in detail.It should be noted that in the absence of conflict, the implementation of the application
Feature in example and embodiment can be combined with each other.
In the following description, numerous specific details are set forth in order to facilitate a full understanding of the present invention, still, the present invention may be used also
To be different from implementing in a manner of third party described herein using third party, therefore, protection scope of the present invention is not by following
The limitation of disclosed specific embodiment.
Fig. 1 shows the schematic flow diagram of audio play control method according to an embodiment of the invention.
As shown in Figure 1, audio play control method according to an embodiment of the invention, comprising: step 102, treat
The audio stream of broadcasting carries out analog-to-digital conversion process;Step 104, the audio stream Jing Guo analog-to-digital conversion process is passed through into pulse code tune
Interface processed is transmitted to bluetooth module;Step 106, digital-to-analogue conversion processing is carried out to the audio stream Jing Guo analog-to-digital conversion process;Step
108, generate the corresponding radiofrequency signal of audio stream by digital-to-analogue conversion processing;Step 110, by bluetooth module by radiofrequency signal
It is sent to audio-frequence player device.
In the technical scheme, by the way that the audio stream after analog-to-digital conversion to be transmitted to by pulse code modulation interface
Bluetooth module generates radiofrequency signal after treatment and is sent to audio-frequence player device, played out, solved by audio-frequence player device
It has determined the lesser problem of sound of raising one's voice to its utmost outside terminal device, has improved broadcasting sound quality, improve various applicability of terminal.
Specifically, pulse code modulation (Pulse Code Modulation, PCM) refers to Time Continuous, a value
Continuous analog signal is transmitted in the channel after being transformed into the discrete digital signal of time discrete, value, wherein common PCM
Interface includes voice trunks interface, voice terminal interface, data-interface (RS-232 serial ports) and simulation four-wire interface, passes through sound
Frequency player (such as Media Player) opens audio file, calls Audio driving, after audio file is by decoding, by
The PCM input terminal that PCM is output to the bluetooth module of terminal is sent after the processing of bluetooth module by radio-frequency module
To audio-frequence player device.
In addition, the microphone module and loudspeaker module in using terminal may be implemented using terminal as the function of microphone,
But the playback of many terminal devices is simultaneously bad, and volume is limited, by connecting bluetooth loudspeaking equipment with terminal device
It connects, realizes function of the terminal as microphone, enhance the interest of terminal device application, the user experience is improved.
In the above-mentioned technical solutions, it is preferable that before carrying out analog-to-digital conversion process to collected audio stream, specifically include
Following steps: the Bluetooth communication connection between creation bluetooth module and audio-frequence player device.
In the technical scheme, it by establishing the connection between bluetooth module and audio-frequence player device, is played by audio
Audio on device plays terminal device, improves audio playback quality, improves the usage experience of user.
Specifically, by taking Baffle Box of Bluetooth as an example, Baffle Box of Bluetooth is the speaker that information transmission is carried out by Bluetooth transmission protocol, benefit
With " bluetooth " technology, it can effectively simplify the communication between mobile communication terminal device, data transmission becomes more high rapidly
Effect.
Fig. 2 shows the schematic flow diagrams of audio play control method according to another embodiment of the invention.
As shown in Fig. 2, audio play control method according to another embodiment of the invention, comprising: step 202, right
Audio stream to be played carries out analog-to-digital conversion process;Step 204, the registration table setting of voice gateways is carried out;Step 206, adding
After the service business for carrying voice gateways, audio is streamed to by bluetooth module by the synchronization link of service business;Step 208,
Digital-to-analogue conversion processing is carried out to the audio stream Jing Guo analog-to-digital conversion process;Step 210, the audio by digital-to-analogue conversion processing is generated
Flow corresponding radiofrequency signal;Step 212, radiofrequency signal is sent to by audio-frequence player device by bluetooth module.
In the technical scheme, by the way that the service of the voice gateways after load will be passed through by the audio stream after analog-to-digital conversion
Business is transmitted to bluetooth module, generates radiofrequency signal after treatment and is sent to audio-frequence player device, passes through audio-frequence player device
It plays out, solves the problems, such as that sound reproduction sound is lesser outside terminal device, improves broadcasting sound quality, the multiplicity for improving terminal is applicable in
Property.
Specifically, universal asynchronous receiving-transmitting transmitter (Universal Asynchronous Receiver/
Transmitter, UART) data is converted by making transmission between serial communication and parallel communications, become serial as parallel input
The chip of output is typically integrated into other communication interfaces, by setting registration table " HKEY_LOCAL_MACHINE Services
BTAGSVC ", so that " Is Enabled=1 ", makes to load voice gateways (AG) service when System guides automatically.
In the above-mentioned technical solutions, it is preferable that after the service business of load voice gateways, pass through the transmission of service business
Audio is streamed to bluetooth module by channel, specifically includes the following steps: creation bluetooth module is broadcast with audio according to user instructions
Put the async link between equipment;Address configuration, data bit configuration and time-out time configuration are carried out to synchronization link to be created,
To complete the creation of synchronization link.
In the technical scheme, by creation async link and synchronization link, received parallel data is turned by sampling
Serial data sending is turned to, real-time Transmission of the audio stream between terminal and audio-frequence player device is realized.
Specifically, established by manual configuration the bluetooth equipment of terminal Bluetooth equipment and audio-frequence player device ACL (towards
Connectionless async link) link, then IOCTL_AG_OPEN_ is called in Application or Audio Driver
AUDIO re-establishes SCO (synchronous connection oriented link) chain of the bluetooth equipment of terminal Bluetooth equipment and audio-frequence player device
It connects, voice gateways establish Audio to the channel between Bluetooth chip, that is, realize the transmission that audio flows to bluetooth module, pass through
Audio stream is packaged by terminal bluetooth module and is sent via radio-frequency module.
In the above-mentioned technical solutions, it is preferable that before carrying out analog-to-digital conversion process to audio stream to be played, further includes:
Create the Bluetooth communication connection between bluetooth module and audio-frequence player device.
In the technical scheme, it by establishing the connection between bluetooth module and audio-frequence player device, is played by audio
Audio on device plays terminal device, improves audio playback quality, improves the usage experience of user.
Specifically, by taking Baffle Box of Bluetooth as an example, Baffle Box of Bluetooth is the speaker that information transmission is carried out by Bluetooth transmission protocol, benefit
With " bluetooth " technology, it can effectively simplify the communication between mobile communication terminal device, data transmission becomes more high rapidly
Effect.
Fig. 3 shows the schematic block diagram of audio broadcasting control system according to an embodiment of the invention.
As shown in figure 3, audio broadcasting control system 300 according to an embodiment of the invention, comprising: modulation unit
302, for carrying out analog-to-digital conversion process to audio stream to be played;Transmission unit 304, for analog-to-digital conversion process will to be passed through
Audio stream is transmitted to bluetooth module by pulse code modulation interface;Modulation unit 302 is also used to: to by analog-to-digital conversion process
Audio stream carry out digital-to-analogue conversion processing;Audio broadcasting control system further include: generation unit 306 passes through digital-to-analogue for generating
The corresponding radiofrequency signal of the audio stream of conversion process;Transmission unit 308, for radiofrequency signal to be sent to sound by bluetooth module
Frequency playback equipment.
In the technical scheme, by the way that the audio stream after analog-to-digital conversion to be transmitted to by pulse code modulation interface
Bluetooth module generates radiofrequency signal after treatment and is sent to audio-frequence player device, played out, solved by audio-frequence player device
It has determined the lesser problem of sound of raising one's voice to its utmost outside terminal device, has improved broadcasting sound quality, improve various applicability of terminal.
Specifically, pulse code modulation (Pulse Code Modulation, PCM) refers to Time Continuous, a value
Continuous analog signal is transmitted in the channel after being transformed into the discrete digital signal of time discrete, value, wherein common PCM
Interface includes voice trunks interface, voice terminal interface, data-interface (RS-232 serial ports) and simulation four-wire interface, passes through sound
Frequency player (such as Media Player) opens audio file, calls Audio driving, after audio file is by decoding, by
The PCM input terminal that PCM is output to the bluetooth module of terminal is sent after the processing of bluetooth module by radio-frequency module
To audio-frequence player device.
In addition, the microphone module and loudspeaker module in using terminal may be implemented using terminal as the function of microphone,
But the playback of many terminal devices is simultaneously bad, and volume is limited, by connecting bluetooth loudspeaking equipment with terminal device
It connects, realizes function of the terminal as microphone, enhance the interest of terminal device application, the user experience is improved.
In the above-mentioned technical solutions, it is preferable that further include: creating unit 310 is played for creating bluetooth module and audio
Bluetooth communication connection between equipment.
In the technical scheme, it by establishing the connection between bluetooth module and audio-frequence player device, is played by audio
Audio on device plays terminal device, improves audio playback quality, improves the usage experience of user.
Specifically, by taking Baffle Box of Bluetooth as an example, Baffle Box of Bluetooth is the speaker that information transmission is carried out by Bluetooth transmission protocol, benefit
With " bluetooth " technology, it can effectively simplify the communication between mobile communication terminal device, data transmission becomes more high rapidly
Effect.
Fig. 4 shows the schematic block diagram of audio broadcasting control system according to another embodiment of the invention.
As shown in figure 4, audio broadcasting control system 400 according to another embodiment of the invention, comprising: modulation unit
402, for carrying out analog-to-digital conversion process to audio stream to be played;Setting unit 404, for carrying out the registration table of voice gateways
Setting;Transmission unit 406, for after the service business of load voice gateways, by the synchronization link of service business by audio
It is streamed to bluetooth module;Modulation unit 402 is also used to: being carried out at digital-to-analogue conversion to the audio stream Jing Guo analog-to-digital conversion process
Reason;Audio broadcasting control system 400 further include: generation unit 408, it is corresponding for generating the audio stream handled by digital-to-analogue conversion
Radiofrequency signal;Transmission unit 410, for radiofrequency signal to be sent to audio-frequence player device by bluetooth module.
In the technical scheme, by the way that the service of the voice gateways after load will be passed through by the audio stream after analog-to-digital conversion
Business is transmitted to bluetooth module, generates radiofrequency signal after treatment and is sent to audio-frequence player device, passes through audio-frequence player device
It plays out, solves the problems, such as that sound reproduction sound is lesser outside terminal device, improves broadcasting sound quality, the multiplicity for improving terminal is applicable in
Property.
Specifically, specifically, universal asynchronous receiving-transmitting transmitter (Universal Asynchronous Receiver/
Transmitter, UART) data is converted by making transmission between serial communication and parallel communications, become serial as parallel input
The chip of output is typically integrated into other communication interfaces, by setting registration table " HKEY_LOCAL_MACHINE Services
BTAGSVC ", so that " Is Enabled=1 ", makes to load voice gateways (AG) service when System guides automatically.
In any of the above-described technical solution, it is preferable that further include: the first creating unit 412, for according to user instructions
Create the async link between bluetooth module and audio-frequence player device;Second creating unit 414, for synchronization chain to be created
Road carries out address configuration, data bit configuration and time-out time configuration, to complete the creation of synchronization link.
In the technical scheme, by creation async link and synchronization link, received parallel data is turned by sampling
Serial data sending is turned to, real-time Transmission of the audio stream between terminal and audio-frequence player device is realized.
Specifically, established by manual configuration the bluetooth equipment of terminal Bluetooth equipment and audio-frequence player device ACL (towards
Connectionless async link) link, then IOCTL_AG_OPEN_ is called in Application or Audio Driver
AUDIO re-establishes SCO (synchronous connection oriented link) chain of the bluetooth equipment of terminal Bluetooth equipment and audio-frequence player device
It connects, voice gateways establish Audio to the channel between Bluetooth chip, that is, realize the transmission that audio flows to bluetooth module, pass through
Audio stream is packaged by terminal bluetooth module and is sent via radio-frequency module.
In any of the above-described technical solution, it is preferable that further include: third creating unit 416, for creating bluetooth module
Bluetooth communication connection between audio-frequence player device.
In the technical scheme, it by establishing the connection between bluetooth module and audio-frequence player device, is played by audio
Audio on device plays terminal device, improves audio playback quality, improves the usage experience of user.
Specifically, by taking Baffle Box of Bluetooth as an example, Baffle Box of Bluetooth is the speaker that information transmission is carried out by Bluetooth transmission protocol, benefit
With " bluetooth " technology, it can effectively simplify the communication between mobile communication terminal device, data transmission becomes more high rapidly
Effect.
Fig. 5 shows the schematic block diagram of the terminal of embodiment according to the present invention.
As shown in figure 5, the terminal 500 of embodiment according to the present invention, the audio including such as any of the above-described plays control
System 300 and/or audio broadcasting control system 400, therefore, which has broadcasts with the audio of any one of above-mentioned technical proposal
Control system 300 and/or the identical technical effect of audio broadcasting control system 400 are put, details are not described herein.
The technical scheme of the present invention has been explained in detail above with reference to the attached drawings, it is contemplated that how to design in the related technology a kind of new
Audio play control program with realize terminal audio frequency stream the broadcasting of audio-frequence player device the technical issues of, the invention proposes
A kind of new audio play control method, by the way that pulse code modulation interface or language will be passed through by the audio stream after analog-to-digital conversion
Sound gateway is transmitted to bluetooth module, and corresponding radiofrequency signal is being sent to audio-frequence player device to play out, is solving end
The sound reproduction lesser problem of sound, improves broadcasting sound quality, improves various applicability of terminal outside end equipment.
These are only the preferred embodiment of the present invention, is not intended to restrict the invention, for those skilled in the art
For member, the invention may be variously modified and varied.All within the spirits and principles of the present invention, it is made it is any modification,
Equivalent replacement, improvement etc., should all be included in the protection scope of the present invention.
Claims (11)
1. a kind of audio play control method, is suitable for terminal, the terminal can be connected to audio broadcasting by Bluetooth communication and be set
Standby, the terminal is provided with pulse code modulation interface, bluetooth module and radio-frequency module, which is characterized in that the audio plays
Control method includes:
Analog-to-digital conversion process is carried out to audio stream to be played;
Audio stream Jing Guo the analog-to-digital conversion process is transmitted to the bluetooth module by the pulse code modulation interface;
Digital-to-analogue conversion processing is carried out to the audio stream Jing Guo the analog-to-digital conversion process;
Generate the corresponding radiofrequency signal of audio stream by digital-to-analogue conversion processing;
The radiofrequency signal is sent to the audio-frequence player device by the bluetooth module.
2. audio play control method according to claim 1, which is characterized in that carrying out mould to collected audio stream
Before number conversion process, specifically includes the following steps:
Create the Bluetooth communication connection between the bluetooth module and the audio-frequence player device.
3. a kind of audio play control method, is suitable for terminal, the terminal can be connected to audio broadcasting by Bluetooth communication and be set
Standby, the terminal is provided with pulse code modulation interface, bluetooth module and radio-frequency module, which is characterized in that the audio plays
Control method includes:
Analog-to-digital conversion process is carried out to audio stream to be played;
Carry out the registration table setting of voice gateways;
After the service business of load institute's voice gateway, the audio stream is transmitted by the synchronization link of the service business
To the bluetooth module;
Digital-to-analogue conversion processing is carried out to the audio stream Jing Guo the analog-to-digital conversion process;
Generate the corresponding radiofrequency signal of audio stream by digital-to-analogue conversion processing;
The radiofrequency signal is sent to the audio-frequence player device by the bluetooth module.
4. audio play control method according to claim 3, which is characterized in that in the service of load institute's voice gateway
After business, the audio is streamed to by the bluetooth module by the transmission channel of the service business, is specifically included following
Step:
The async link between the bluetooth module and the audio-frequence player device is created according to user instructions;
Address configuration, data bit configuration and time-out time configuration are carried out to synchronization link to be created, to complete the synchronous chain
The creation on road.
5. audio play control method according to claim 3 or 4, which is characterized in that flowed into audio to be played
Before row analog-to-digital conversion process, further includes:
Create the Bluetooth communication connection between the bluetooth module and the audio-frequence player device.
6. a kind of audio broadcasting control system, is suitable for terminal, the terminal can be connected to audio broadcasting by Bluetooth communication and be set
Standby, the terminal is provided with pulse code modulation interface, bluetooth module and radio-frequency module, which is characterized in that the audio plays
Control system includes:
Modulation unit, for carrying out analog-to-digital conversion process to audio stream to be played;
Transmission unit, for the audio stream for passing through the analog-to-digital conversion process to be transmitted to by the pulse code modulation interface
The bluetooth module;
The modulation unit is also used to: carrying out digital-to-analogue conversion processing to the audio stream Jing Guo the analog-to-digital conversion process;
The audio broadcasting control system further include:
Generation unit, for generating the corresponding radiofrequency signal of audio stream by digital-to-analogue conversion processing;
Transmission unit, for the radiofrequency signal to be sent to the audio-frequence player device by the bluetooth module.
7. audio broadcasting control system according to claim 6, which is characterized in that further include:
Creating unit, for creating the connection of the Bluetooth communication between the bluetooth module and the audio-frequence player device.
8. a kind of audio broadcasting control system, is suitable for terminal, the terminal can be connected to audio broadcasting by Bluetooth communication and be set
Standby, the terminal is provided with pulse code modulation interface, bluetooth module and radio-frequency module, which is characterized in that the audio plays
Control system includes:
Modulation unit, for carrying out analog-to-digital conversion process to audio stream to be played;
Setting unit, the registration table for carrying out voice gateways are arranged;
Transmission unit, for being incited somebody to action by the synchronization link of the service business after the service business of load institute's voice gateway
The audio is streamed to the bluetooth module;
The modulation unit is also used to: carrying out digital-to-analogue conversion processing to the audio stream Jing Guo the analog-to-digital conversion process;
The audio broadcasting control system further include:
Generation unit, for generating the corresponding radiofrequency signal of audio stream by digital-to-analogue conversion processing;
Transmission unit, for the radiofrequency signal to be sent to the audio-frequence player device by the bluetooth module.
9. audio broadcasting control system according to claim 8, which is characterized in that further include:
First creating unit, it is asynchronous between the bluetooth module and the audio-frequence player device for creating according to user instructions
Link;
Second creating unit, for carrying out address configuration, data bit configuration and time-out time configuration to synchronization link to be created,
To complete the creation of the synchronization link.
10. audio broadcasting control system according to claim 8 or claim 9, which is characterized in that further include:
Third creating unit, for creating the connection of the Bluetooth communication between the bluetooth module and the audio-frequence player device.
11. a kind of terminal characterized by comprising the audio as described in any one of claim 6 to 10 plays control system
System.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610069509.0A CN105653237B (en) | 2016-02-01 | 2016-02-01 | Audio play control method, audio broadcasting control system and terminal |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610069509.0A CN105653237B (en) | 2016-02-01 | 2016-02-01 | Audio play control method, audio broadcasting control system and terminal |
Publications (2)
Publication Number | Publication Date |
---|---|
CN105653237A CN105653237A (en) | 2016-06-08 |
CN105653237B true CN105653237B (en) | 2019-03-22 |
Family
ID=56489217
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610069509.0A Active CN105653237B (en) | 2016-02-01 | 2016-02-01 | Audio play control method, audio broadcasting control system and terminal |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105653237B (en) |
Families Citing this family (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107894883B (en) * | 2017-11-22 | 2023-11-28 | 广州艾美网络科技有限公司 | Audio stream transmission method and sound card audio conversion circuit |
CN107948873B (en) * | 2017-11-27 | 2020-09-01 | 安徽威斯贝尔智能科技有限公司 | Automatic switching system and method for audio signals |
CN108540902A (en) * | 2018-04-18 | 2018-09-14 | 四川斐讯信息技术有限公司 | A kind of Bluetooth audio frequency playback method and system suitable for internet of things equipment |
CN110662205B (en) * | 2018-06-30 | 2023-04-11 | 中移(杭州)信息技术有限公司 | Bluetooth-based audio transmission method, device, medium and equipment |
CN109714487A (en) * | 2019-01-25 | 2019-05-03 | 合肥星空物联信息科技有限公司 | A kind of method that more equipment play audio simultaneously |
WO2020232631A1 (en) * | 2019-05-21 | 2020-11-26 | 深圳市汇顶科技股份有限公司 | Voice frequency division transmission method, source terminal, playback terminal, source terminal circuit and playback terminal circuit |
CN114157942B (en) * | 2021-11-30 | 2024-03-26 | 广州番禺巨大汽车音响设备有限公司 | Method and system for controlling sound system of real wireless stereo |
Citations (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN2757439Y (en) * | 2004-11-04 | 2006-02-08 | 金纯� | Blue teeth audio frequency adaptor |
CN2805232Y (en) * | 2005-03-02 | 2006-08-09 | 友旺科技股份有限公司 | Radio audio signal transmission device |
CN1997081A (en) * | 2005-12-31 | 2007-07-11 | 中兴通讯股份有限公司 | Wireless terminal access method based on the bluetooth interface and its device |
CN101110614A (en) * | 2007-07-27 | 2008-01-23 | 中兴通讯股份有限公司 | Method for implementing simultaneous talking among a plurality of blue tooth terminals |
US7386067B2 (en) * | 2001-08-28 | 2008-06-10 | Renesas Technology Corporation | Frequency offset cancellation circuit for data determination in wireless communications |
CN102097115A (en) * | 2009-12-11 | 2011-06-15 | 中兴通讯股份有限公司 | Audio frequency playing method and mobile terminal |
CN102149031A (en) * | 2010-12-06 | 2011-08-10 | 惠州Tcl移动通信有限公司 | Implementation method and system of mobile phone microphone, and mobile phone |
CN202085306U (en) * | 2011-03-28 | 2011-12-21 | 深圳市朵唯志远科技有限公司 | Sound output device, sound equipment and sound system |
CN102832968A (en) * | 2012-07-27 | 2012-12-19 | 武汉大学 | Method for performing communication between mobile phone and equipment by using audio interface |
CN202737862U (en) * | 2012-08-17 | 2013-02-13 | 杨辰 | Short-distance wireless communication system of portable mobile equipment |
-
2016
- 2016-02-01 CN CN201610069509.0A patent/CN105653237B/en active Active
Patent Citations (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7386067B2 (en) * | 2001-08-28 | 2008-06-10 | Renesas Technology Corporation | Frequency offset cancellation circuit for data determination in wireless communications |
CN2757439Y (en) * | 2004-11-04 | 2006-02-08 | 金纯� | Blue teeth audio frequency adaptor |
CN2805232Y (en) * | 2005-03-02 | 2006-08-09 | 友旺科技股份有限公司 | Radio audio signal transmission device |
CN1997081A (en) * | 2005-12-31 | 2007-07-11 | 中兴通讯股份有限公司 | Wireless terminal access method based on the bluetooth interface and its device |
CN101110614A (en) * | 2007-07-27 | 2008-01-23 | 中兴通讯股份有限公司 | Method for implementing simultaneous talking among a plurality of blue tooth terminals |
CN102097115A (en) * | 2009-12-11 | 2011-06-15 | 中兴通讯股份有限公司 | Audio frequency playing method and mobile terminal |
CN102149031A (en) * | 2010-12-06 | 2011-08-10 | 惠州Tcl移动通信有限公司 | Implementation method and system of mobile phone microphone, and mobile phone |
CN202085306U (en) * | 2011-03-28 | 2011-12-21 | 深圳市朵唯志远科技有限公司 | Sound output device, sound equipment and sound system |
CN102832968A (en) * | 2012-07-27 | 2012-12-19 | 武汉大学 | Method for performing communication between mobile phone and equipment by using audio interface |
CN202737862U (en) * | 2012-08-17 | 2013-02-13 | 杨辰 | Short-distance wireless communication system of portable mobile equipment |
Also Published As
Publication number | Publication date |
---|---|
CN105653237A (en) | 2016-06-08 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105653237B (en) | Audio play control method, audio broadcasting control system and terminal | |
CN102301336B (en) | Dynamically provisioning a device with audio processing capability | |
CN101286770B (en) | Method and system for automatically configuring audio encoding format transmitted by bluetooth A2DP | |
CN103312912B (en) | A kind of mixer system and method | |
CN102932567B (en) | Terminal and audio processing method | |
CN104426832A (en) | Multi-terminal multichannel independent playing method and device | |
CN107666534A (en) | Transcribe voice communication session | |
CN109714782A (en) | Method, apparatus and electronic equipment for smart machine distribution | |
WO2008022088A3 (en) | Method and system for communicating across telephone and data networks | |
TW200805901A (en) | Method and system for optimized architecture for bluetooth streaming audio applications | |
CN112689222B (en) | Wireless audio conversion device and method | |
CN108063874A (en) | A kind of information processing method, device, terminal and computer readable storage medium | |
CN104834623A (en) | Audio playing method and audio playing device | |
CN103402171A (en) | Method and terminal for sharing background music during communication | |
CN104363496A (en) | Method for achieving multiple scenario application of audio system in network set top box | |
US20090299735A1 (en) | Method for Transferring an Audio Stream Between a Plurality of Terminals | |
JP2008276476A (en) | Information processor | |
WO2008048557A3 (en) | Apparatus and method for making calls via internet | |
CN106878384A (en) | Data forwarding method, its device, bluetooth equipment and audio frequency transmission method | |
JP2013526125A (en) | Method and apparatus for performing high quality voice communications over a voice over internet protocol (VoIP) communications network | |
CN110366752B (en) | Voice frequency division transmission method, source terminal, play terminal, source terminal circuit and play terminal circuit | |
CN111225102A (en) | Bluetooth audio signal transmission method and device | |
CN109698926A (en) | A kind of satellite communication terminal for realizing voice and video telephone using mobile phone terminal | |
WO2006069059A3 (en) | An apparatus and method for a voice portal | |
CN105120049B (en) | A kind of home gateway and its method for realizing telephonograph |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |