CN108540842A - Audio-frequence player device, audio frequency playing method, equipment and storage medium - Google Patents
Audio-frequence player device, audio frequency playing method, equipment and storage medium Download PDFInfo
- Publication number
- CN108540842A CN108540842A CN201810348086.5A CN201810348086A CN108540842A CN 108540842 A CN108540842 A CN 108540842A CN 201810348086 A CN201810348086 A CN 201810348086A CN 108540842 A CN108540842 A CN 108540842A
- Authority
- CN
- China
- Prior art keywords
- audio
- format
- serial bus
- universal serial
- bus interface
- 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.)
- Granted
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/41—Structure of client; Structure of client peripherals
- H04N21/414—Specialised client platforms, e.g. receiver in car or embedded in a mobile appliance
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F13/00—Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
- G06F13/38—Information transfer, e.g. on bus
- G06F13/42—Bus transfer protocol, e.g. handshake; Synchronisation
- G06F13/4282—Bus transfer protocol, e.g. handshake; Synchronisation on a serial bus, e.g. I2C bus, SPI bus
-
- 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
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/43—Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
- H04N21/439—Processing of audio elementary streams
- H04N21/4398—Processing of audio elementary streams involving reformatting operations of audio signals
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/80—Generation or processing of content or additional data by content creator independently of the distribution process; Content per se
- H04N21/81—Monomedia components thereof
- H04N21/8106—Monomedia components thereof involving special audio data, e.g. different tracks for different languages
- H04N21/8113—Monomedia components thereof involving special audio data, e.g. different tracks for different languages comprising music, e.g. song in MP3 format
Abstract
The embodiment of the present application provides a kind of audio-frequence player device, audio frequency playing method, equipment and storage medium, is related to multi-media processing field, which includes:Universal Serial Bus Interface, storage chip, microcontroller chip and printed circuit board;Microcontroller chip, the read-write requests for receiving playback terminal transmission;Microcontroller chip, for target audio file to be converted to the second audio format from the first audio format, the second audio format is the audio format that can be played on playback terminal;Microcontroller chip, for the target audio file of the second audio format to be sent to playback terminal.The application is converted by the target audio file to the first audio format, obtain the target audio file of the second audio format, the audio format that target audio file can not be played from playback terminal is converted into the audio format that playback terminal can play, i.e. playback terminal can be well on to the audio file that script playback terminal can not play in audio-frequence player device broadcasting.
Description
Technical field
This application involves multi-media processing field, more particularly to a kind of audio-frequence player device, audio frequency playing method, equipment and
Storage medium.
Background technology
Vehicle-mounted sound box is the equipment played out to audio on automobile, and the vehicle-mounted sound box is theoretical by sound chamber and vibration wave
Audio file is played out, and when sound chamber is larger, the high audio file of sound quality, usual vehicle-mounted sound can be played with higher sound quality
The sound chamber of case is larger, it is sufficient to play the high audio file of sound quality, such as:The audio file of lossless sound quality.
In general, user on mobile phone to being downloaded by the audio file of lossless compression, and by by mobile phone with it is vehicle-mounted
Speaker passes through bluetooth (English:BlueTooth after) being attached, to the audio of the lossless compression on mobile phone text on vehicle-mounted sound box
Part plays out.
However, due to lossless sound quality audio file file size more than general sound quality audio file file size
Big, so it is the audio file by lossless compression usually to download obtained audio file, and vehicle-mounted sound box mostly can not be right
The audio file of lossless compression plays out, and vehicle-mounted sound box is caused to can not be successfully the audio file for playing lossless sound quality.
Invention content
The embodiment of the present application provides a kind of audio-frequence player device, audio frequency playing method, equipment and storage medium, can solve
Certainly vehicle-mounted sound box can not be successfully the problem of audio file for playing lossless sound quality.The technical solution is as follows:
On the one hand, a kind of audio-frequence player device is provided, which includes:It is Universal Serial Bus Interface, storage chip, micro-
Control chip and printed circuit board;
The Universal Serial Bus Interface, the storage chip and the microcontroller chip are welded on the printed circuit board;
The microcontroller chip should for receiving the read-write requests that playback terminal is sent by the Universal Serial Bus Interface
Read-write requests are for asking read-write target audio file;
The microcontroller chip is additionally operable to be converted to the target audio file from the first audio format according to the read-write requests
Second audio format, second audio format are the audio formats that can be played on the playback terminal;
The microcontroller chip is additionally operable to target audio by second audio format by the Universal Serial Bus Interface
File is sent to the playback terminal.
In an alternative embodiment, the microcontroller chip is additionally operable to through the storage chip to the second audio lattice
The target audio file of formula is cached;
The microcontroller chip is additionally operable to determine the target audio file of second audio format according to the read-write requests
Cache location;
The microcontroller chip, is additionally operable to according to the cache location, by the Universal Serial Bus Interface by second audio
The target audio file of format is sent to the playback terminal.
In an alternative embodiment, the microcontroller chip meets for passing through Universal Serial Bus Interface reception
The read-write requests of first agreement;
Wherein, which is that mass memory unit is assisted by the data transmission that Universal Serial Bus Interface is communicated
View.
In an alternative embodiment, microcontroller chip, for sending descriptor, the descriptor to the playback terminal
For indicating that the audio-frequence player device supports the mass memory unit to be passed by the data that Universal Serial Bus Interface is communicated
Defeated agreement.
In an alternative embodiment, which further includes:Wireless communication chips;
The wireless communication chips, for generating hotspot, for being communicated with terminal, which is the hotspot
The equipment interconnected by the hotspot with the audio-frequence player device;
The microcontroller chip is additionally operable to receive the target audio file that the terminal is sent by the hotspot.
On the other hand, a kind of audio frequency playing method is provided, this method includes:
The read-write requests that playback terminal is sent are received by Universal Serial Bus Interface, which reads and writes for asking
Target audio file;
The target audio file is converted into the second audio format from the first audio format according to the read-write requests, this second
Audio format is the audio format that can be played on the playback terminal;
The target audio file of second audio format is sent to broadcasting end by the Universal Serial Bus Interface
End.
In an alternative embodiment, this turns the target audio file from the first audio format according to the read-write requests
It is changed to after the second audio format, further includes:
The target audio file of second audio format is cached;
The cache location of the target audio file of second audio format is determined according to the read-write requests;
The target audio file of second audio format is sent to the broadcasting by this by the Universal Serial Bus Interface
Terminal, including:
According to the cache location, by the Universal Serial Bus Interface by the target audio file of second audio format
It is sent to the playback terminal.
In an alternative embodiment, the read-write that playback terminal is sent should be received by Universal Serial Bus Interface to ask
It asks, including:
It is received by the Universal Serial Bus Interface and meets the read-write requests of the first agreement, wherein first agreement is
The Data Transport Protocol that mass memory unit is communicated by Universal Serial Bus Interface.
In an alternative embodiment, the read-write requests that playback terminal is sent should be received by Universal Serial Bus Interface
Before, further include:
Descriptor is sent to the playback terminal, the descriptor is for indicating that the audio-frequence player device supports the mass memory to set
The standby Data Transport Protocol communicated by Universal Serial Bus Interface.
In an alternative embodiment, the read-write requests that playback terminal is sent should be received by Universal Serial Bus Interface
Before, further include:
Hotspot is generated, for the hotspot for being communicated with terminal, which is to pass through with audio-frequence player device
The equipment of hotspot interconnection;
Receive the target audio file that the terminal is sent by the hotspot.
In an alternative embodiment, which is Lossless Audio Compression coded format;Second audio
Format is wav formats, and the data in the target audio file of second audio format are pulse code modulation data;
The target audio file of second audio format is sent to the broadcasting by this by the Universal Serial Bus Interface
Terminal, including:
The data in the target audio file of second audio format are sent to this by the Universal Serial Bus Interface
Playback terminal.
On the other hand, a kind of computer readable storage medium is provided, at least one instruction is stored in the storage medium,
The instruction is loaded by processor and executed is appointed with realizing in first aspect and its alternative embodiment such as above-mentioned the embodiment of the present application
One audio frequency playing method being somebody's turn to do.
The advantageous effect of technical solution provided by the embodiments of the present application is:
It is converted by the target audio file to the first audio format, obtains the target audio text of the second audio format
Part, since the first audio format is typically the audio format that playback terminal can not play, that is, target audio file is whole from playing
The audio format that can not be played is held to be converted to the audio format that playback terminal can play, i.e. playback terminal can play audio
The audio file that script playback terminal can not play in equipment is well on broadcasting.
Description of the drawings
The drawings herein are incorporated into the specification and forms part of this specification, and shows the implementation for meeting the application
Example, and in the specification together principle for explaining the application.
Fig. 1 is the implementation environment schematic diagram for the audio frequency playing method that one exemplary embodiment of the application provides;
Fig. 2 is the structural schematic diagram for the audio-frequence player device that one exemplary embodiment of the application provides;
Fig. 3 is the flow chart for the audio frequency playing method that one exemplary embodiment of the application provides;
Fig. 4 is the flow chart of the audio frequency playing method of the application another exemplary embodiment offer;
Fig. 5 is the structural schematic diagram of the audio-frequence player device of the application another exemplary embodiment offer;
Fig. 6 is the flow chart of the audio frequency playing method of the application another exemplary embodiment offer.
Specific implementation mode
Example embodiments are described in detail here, and the example is illustrated in the accompanying drawings.Following description is related to
When attached drawing, unless otherwise indicated, the same numbers in different drawings indicate the same or similar elements.Following exemplary embodiment
Described in embodiment do not represent all embodiments consistent with the application.On the contrary, they be only with it is such as appended
The example of consistent device and method of some aspects be described in detail in claims, the application.
Fig. 1 is the implementation environment schematic diagram for the audio frequency playing method that one exemplary embodiment of the application provides, such as Fig. 1 institutes
Show, which includes:Playback terminal 11, audio-frequence player device 12 and terminal 13;
Wherein, playback terminal 11 is used to be read out target audio file, and by loud speaker to target audio file
It plays out, optionally, which can be vehicle mounted playing apparatus, recorder, portable laptops, desktop computer
At least one of, optionally, which connects including universal serial bus (Universal Serial Bus, USB)
Mouth 111, playback terminal 11 receive target audio file by the USB interface and are played out to the target audio file.It is optional
Ground, the target audio file are the audio file that can be played out on playback terminal 11, optionally, the target audio file
Can be the audio file of lossless sound quality, optionally, which can be carried out to the audio file of lossless compression
The audio file of the lossless sound quality obtained after decoding.
Audio-frequence player device 12 is for storing target audio file, optionally, when the audio of target audio file
When format is the first audio format, which is additionally operable to the audio format of target audio file from the first audio
Format conversion is the second audio format, wherein the first audio format is usually the sound that cannot be played out on playback terminal 11
Frequency format, the second audio format are the audio formats that can be played out on playback terminal 11.Optionally, audio-frequence player device
12 and playback terminal 11 be attached by USB interface, optionally, in audio-frequence player device 12 also include USB interface, due to
USB interface is divided into male and female interface, and the USB interface in the audio-frequence player device 12 is public access mouth, the USB interface on playback terminal 11
USB interface for maternal interface, the i.e. audio-frequence player device 12 can be inserted in the USB interface of playback terminal 11, when audio plays
After equipment 12 and playback terminal 11 are attached by USB interface, audio-frequence player device 12 and playback terminal 11 can pass through USB
Interface is communicated.Optionally, the USB interface of audio-frequence player device 12 and the USB interface of playback terminal 11 are mutually matched, i.e. sound
After the USB interface of frequency playback equipment 12 is connect with the USB interface of playback terminal 11, audio-frequence player device 12 can with playback terminal 11
To be communicated.
Optionally, above-mentioned audio-frequence player device 12 can also generate hot spot (English:Hot spot), terminal 13 passes through the heat
After point is connected with audio-frequence player device 12, target audio file can be sent to audio-frequence player device 12 by terminal 13, the target
Audio file can be the audio file that the audio file of the first audio format can also be the second audio format.
In conjunction with the implementation environment schematic diagram of audio frequency playing method shown in FIG. 1, Fig. 2 is one exemplary embodiment of the application
The structural schematic diagram of the audio-frequence player device of offer, as shown in Fig. 2, the audio-frequence player device 12 includes:USB interface 21, storage
Chip 22, microcontroller chip (MicroController Unit, MCU) 23 and printed circuit board 24;
Optionally, USB interface 21, storage chip 22 and microcontroller chip 23 are arranged on printed circuit board 24.
Optionally, USB interface 21, storage chip 22 and microcontroller chip 23 can be arranged and print by welding
On circuit board 24.
Optionally, which can be Mini USB interfaces, can also be Micro USB interfaces, the embodiment of the present application
The type of USB interface is not construed as limiting.
Wherein, microcontroller chip 23 is used to receive the read-write requests that playback terminal is sent by USB interface 21, which asks
It asks for asking read-write target audio file;
Microcontroller chip 23 is additionally operable to be converted to second from the first audio format to target audio file according to read-write requests
Audio format, wherein the first audio format is typically the audio format that can not be played on playback terminal, and the second audio format is
The audio format that can be played on playback terminal;
Microcontroller chip 23 is additionally operable to that the target audio file of second audio format is sent to broadcasting by USB interface 21
Terminal.
Implementation environment schematic diagram in conjunction with audio frequency playing method shown in FIG. 1 and audio-frequence player device shown in Fig. 2
Structural schematic diagram illustrates audio frequency playing method provided by the embodiments of the present application, and Fig. 3 is one exemplary implementation of the application
The flow chart for the audio frequency playing method that example provides, is applied with the audio frequency playing method in audio-frequence player device 12 as shown in Figure 1
On, it is illustrated so that playback terminal is vehicle mounted playing apparatus as an example, as shown in figure 3, the audio frequency playing method includes:
Step 301, the read-write requests that vehicle mounted playing apparatus is sent are received by Universal Serial Bus Interface.
Optionally, vehicle mounted playing apparatus can obtain playlist from audio-frequence player device, and select to broadcast from list
After the audio file put is as target audio file, read-write requests are sent to audio-frequence player device;It can also give tacit consent to from audio and broadcast
Putting in the playlist of equipment sequentially selects audio file as target audio file;Last of last time broadcasting can also be read
A audio file, and using next audio file of the audio file as target audio file.
Optionally, file allocation table (File Allocation Table, FAT), vehicle are installed in the audio-frequence player device
Playlist can be obtained by this document allocation table from audio-frequence player device by carrying playback equipment, and schematically, vehicle-mounted broadcasting is set
It is standby to obtain request to audio-frequence player device transmission playlist, it is logical after audio-frequence player device receives playlist acquisition request
It crosses after file allocation table determines playlist, which is sent to vehicle mounted playing apparatus.
Optionally, which reads and writes above-mentioned target audio file for asking.
Optionally, audio-frequence player device is connected with vehicle mounted playing apparatus by USB interface, since USB interface is generally divided into
Male and female interface, the USB interface on vehicle mounted playing apparatus are maternal interface, and the USB interface on audio-frequence player device is public access mouth, then will
After the USB interface of audio-frequence player device is inserted into the USB interface of vehicle mounted playing apparatus, audio-frequence player device and vehicle mounted playing apparatus
Communication connection can be established.
Step 302, target audio file is converted into the second audio format from the first audio format according to read-write requests.
Optionally, the second audio format is the audio format that can be played on vehicle mounted playing apparatus.Optionally, this first
Audio format is usually the audio format that can not be played on vehicle mounted playing apparatus.
Optionally, the target audio file of first audio format is the audio file by lossless compression, the second audio
The target audio file of format is the audio file without overcompression, wherein the target audio file can be lossless sound quality
Audio file.Audio-frequence player device can be decoded to obtain the second audio by the target audio file to the first audio format
The target audio file of format.
Optionally, which is the audio file being stored in advance in the audio-frequence player device.Optionally, sound
The mode that frequency playback equipment obtains the target audio file includes such as at least one of under type:
First, which is passed through into Universal Serial Bus Interface and desktop computer or portable laptops
It is attached, and the target audio file in desktop computer either portable laptops is passed through into the side replicating or shear
Formula, in the storage chip for pasting audio-frequence player device;
Second, hotspot is generated by audio-frequence player device, the audio-frequence player device and terminal are passed through into hotspot
It is attached, and the target audio file in terminal is sent in audio-frequence player device by the hotspot.
Optionally, audio/video decoding software is also equipped in audio-frequence player device, audio-frequence player device can pass through the sound
Target audio file is converted to the second audio format by video decoding software from the first audio format, and schematically, audio plays
The target audio file of first audio format is inputted the audio/video decoding software and is decoded by equipment, obtains the second audio lattice
Data in the target audio file of formula.
Step 303, the target audio file of the second audio format is sent to by vehicle-mounted broadcast by Universal Serial Bus Interface
Put equipment.
Optionally, after vehicle mounted playing apparatus receives the target audio file of second audio format, pass through loud speaker pair
The target audio file of second audio format plays out.
In conclusion audio frequency playing method provided in this embodiment, passes through the target audio file to the first audio format
Converted, obtain the target audio file of the second audio format, due to the first audio format be typically vehicle mounted playing apparatus without
The audio format that method plays, that is, be converted to the audio format that target audio file can not be played from vehicle mounted playing apparatus vehicle-mounted
The audio format that playback equipment can play, i.e. vehicle mounted playing apparatus can be to script vehicle mounted playing apparatus in audio-frequence player device
The audio file that can not be played is well on broadcasting.
In an alternative embodiment, above-mentioned microcontroller chip shown in Fig. 2 23 is additionally operable to through storage chip pair
The target audio file of two audio formats is cached, which is additionally operable to determine the second audio according to read-write requests
The cache location of the target audio file of format, microcontroller chip 23 are additionally operable to, according to cache location, pass through universal serial bus
The target audio file of second audio format is sent to playback terminal by interface.
In an alternative embodiment, microcontroller chip 23 is additionally operable to meet by the reception of Universal Serial Bus Interface 21
The read-write requests of first agreement, wherein the first agreement is what mass memory unit was communicated by Universal Serial Bus Interface
Data Transport Protocol.
In an alternative embodiment, microcontroller chip 23 is additionally operable to send descriptor, the description to playback terminal 11
Accord with the data for supporting mass memory unit to be communicated by Universal Serial Bus Interface for indicating the audio-frequence player device 12
Transport protocol.
Fig. 4 is the flow chart of the audio frequency playing method of the application another exemplary embodiment offer, is played with the audio
Method is applied in audio-frequence player device 12 as shown in Figure 1 and Figure 2, is carried out so that playback terminal is vehicle mounted playing apparatus as an example
Illustrate, as shown in figure 4, the audio frequency playing method includes:
Step 401, descriptor is sent to vehicle mounted playing apparatus.
Optionally, after audio-frequence player device is connected with vehicle mounted playing apparatus by USB interface, audio-frequence player device can be to
Vehicle mounted playing apparatus sends descriptor.The descriptor is for indicating that audio-frequence player device supports mass memory unit to pass through general string
The Data Transport Protocol that row bus interface is communicated.
Optionally, after audio-frequence player device is connected with vehicle mounted playing apparatus by USB interface, audio-frequence player device can be to
Vehicle mounted playing apparatus sends descriptor, which is identified as mass memory by vehicle mounted playing apparatus according to the descriptor
Equipment, such as:The audio-frequence player device is identified as USB flash drive (USB flash disk, USB flash disk), movement by vehicle mounted playing apparatus
The mass memory units such as hard disk, such mass memory unit with vehicle mounted playing apparatus when carrying out data transmission, the data of transmission
It needs to meet the Data Transport Protocol that mass memory unit is communicated by Universal Serial Bus Interface.
It is worth noting that, audio-frequence player device is identified as mass memory unit by vehicle mounted playing apparatus, and the audio is broadcast
It puts equipment and deposits substantial difference in structure with common U disk or mobile hard disk, but due to vehicle mounted playing apparatus and audio
Data interaction or communication are only carried out between playback equipment, so vehicle mounted playing apparatus is to the audio inside audio-frequence player device
The variation of the audio format of file is simultaneously unknowable.
Step 402, the read-write requests for meeting the first agreement are received by Universal Serial Bus Interface.
Optionally, which is the data transmission that mass memory unit is communicated by Universal Serial Bus Interface
Agreement, after being connected by USB interface with vehicle mounted playing apparatus due to audio-frequence player device, audio-frequence player device can be to vehicle-mounted broadcasting
Equipment sends descriptor, which is identified as mass memory unit by vehicle mounted playing apparatus according to the descriptor, institute
With between audio-frequence player device and vehicle mounted playing apparatus data transmission or communication be required for meeting mass memory unit and pass through
The Data Transport Protocol that Universal Serial Bus Interface is communicated.
Optionally, the Data Transport Protocol which is communicated by Universal Serial Bus Interface can be
At least one of Bulk-only agreements, UFI agreements, CBI transport protocols and ATA agreements.
Step 403, target audio file is converted into the second audio format from the first audio format according to read-write requests.
Optionally, which is the audio format that can not be played on vehicle mounted playing apparatus, the second audio lattice
Formula is the audio format that can be played on vehicle mounted playing apparatus.
Optionally, the target audio file of first audio format is the audio file by lossless compression, the second audio
The target audio file of format is the audio file without overcompression, wherein the target audio file can be lossless sound quality
Audio file.Audio-frequence player device can be decoded to obtain the second audio by the target audio file to the first audio format
The target audio file of format.
Optionally, which is the audio file being stored in advance in the audio-frequence player device.Optionally, sound
The mode that frequency playback equipment obtains the target audio file includes such as at least one of under type:
First, which is passed through into Universal Serial Bus Interface and desktop computer or portable laptops
It is attached, and the target audio file in desktop computer either portable laptops is passed through into the side replicating or shear
Formula, in the storage chip for pasting audio-frequence player device;
Second, hotspot is generated by audio-frequence player device, the audio-frequence player device and terminal are passed through into hotspot
It is attached, and the target audio file in terminal is sent in audio-frequence player device by the hotspot.
Step 404, the target audio file of the second audio format is cached.
Optionally, the buffer area cached to audio file to be played is provided in audio-frequence player device, by first
After the target audio file of audio format is converted to the target audio file of the second audio format, audio-frequence player device by this second
The target audio file of audio format is cached into above-mentioned buffer area.
Step 405, the cache location of the target audio file of the second audio format is determined according to read-write requests.
Optionally, the target audio file of the first audio format is converted to the target audio file of the second audio format,
And after being cached to the target audio file of the second audio format, audio-frequence player device further according to read-write requests determine this second
The cache location of the target audio file of audio format.
Step 406, the target audio file of the second audio format is sent to by vehicle-mounted broadcast by Universal Serial Bus Interface
Put equipment.
Optionally, the target audio file of second audio format is being sent to vehicle mounted playing apparatus by audio-frequence player device
When, the target audio file of second audio format, which needs to meet above-mentioned mass memory unit in transmission process, passes through general string
The Data Transport Protocol that row bus interface is communicated.
Optionally, after vehicle mounted playing apparatus receives the target audio file of second audio format, pass through loud speaker pair
The target audio file of second audio format plays out.
In conclusion audio frequency playing method provided in this embodiment, passes through the target audio file to the first audio format
It is converted, obtains the target audio file of the second audio format, the sound that target audio file can not be played from playback terminal
Frequency format conversion is the audio format that playback terminal can play, i.e. playback terminal can be to playing originally in audio-frequence player device
The audio file that terminal can not play is well on broadcasting.
Audio frequency playing method provided in this embodiment, audio-frequence player device with playback terminal after being connected by USB, audio
Playback equipment sends descriptor to playback terminal, and audio-frequence player device is identified as mass memory by playback terminal according to the descriptor
Equipment is then communicated by mass memory unit by Universal Serial Bus Interface between audio-frequence player device and playback terminal
Data Transport Protocol communicated, it is other without the data transmission setting between audio-frequence player device and playback terminal
Data Transport Protocol, convenient data transmission between audio-frequence player device and playback terminal.
In an alternative embodiment, further include wireless communication chips in audio-frequence player device 12 as shown in Figure 1, figure
5 be the structural schematic diagram of the audio-frequence player device of the application another exemplary embodiment offer, as shown in figure 5, the audio is broadcast
It puts equipment 12 and increases wireless communication chips 55 relative to audio-frequence player device as shown in Figure 2;
Optionally, for generating hotspot, which is used to be communicated with terminal the wireless communication chips 55,
The terminal is the equipment interconnected by hotspot with audio-frequence player device;
The microcontroller chip 22 is additionally operable to receive the target audio file that terminal is sent by hotspot.
In an alternative embodiment, the target audio file in audio-frequence player device is that terminal is sent out by hotspot
It sending to audio-frequence player device, Fig. 6 is the flow chart of the audio frequency playing method of the application another exemplary embodiment offer, with
The audio frequency playing method is applied in such as Fig. 1 and audio-frequence player device shown in fig. 5 12, is that vehicle-mounted broadcasting is set with playback terminal
It is illustrated for standby, as shown in fig. 6, the audio frequency playing method includes:
Step 601, hotspot is generated.
Optionally, for the hotspot for being communicated with terminal, which is to pass through wireless heat with audio-frequence player device
The equipment of point interconnection.
It is alternatively possible to connection password is arranged to the hotspot, it, can be in WiFi after opening WiFi function in terminal
The hotspot is found in list, the terminal-pair hotspot is selected, and inputting terminal attaches after corresponding password should
Hotspot, then terminal and audio-frequence player device pass through hotspot foundation and communicate to connect.
Step 602, the target audio file that terminal is sent by hotspot is received.
Optionally, application program corresponding with the audio-frequence player device is installed, when terminal attaches audio is broadcast in the terminal
After putting the hotspot of equipment, target audio file is sent to by audio-frequence player device by the application program.Such as:In terminal
The application program is opened, and uploads target audio file in the application, this uploads target audio file in the application
Process be the process of audio-frequence player device of being sent to target audio file.
Optionally, which is the target audio file of the first audio format, which is nothing
The audio format that method plays on vehicle mounted playing apparatus.
Step 603, descriptor is sent to vehicle mounted playing apparatus.
Optionally, after audio-frequence player device is connected with vehicle mounted playing apparatus by USB interface, audio-frequence player device can be to
Vehicle mounted playing apparatus sends descriptor.The descriptor is for indicating that audio-frequence player device supports mass memory unit to pass through general string
The Data Transport Protocol that row bus interface is communicated.
Optionally, after audio-frequence player device is connected with vehicle mounted playing apparatus by USB interface, audio-frequence player device can be to
Vehicle mounted playing apparatus sends descriptor, which is identified as mass memory by vehicle mounted playing apparatus according to the descriptor
Equipment, such as:The audio-frequence player device is identified as USB flash drive (USB flash disk, USB flash disk), movement by vehicle mounted playing apparatus
The mass memory units such as hard disk, such mass memory unit with vehicle mounted playing apparatus when carrying out data transmission, the data of transmission
It needs to meet the Data Transport Protocol that mass memory unit is communicated by Universal Serial Bus Interface.
It is worth noting that, above-mentioned steps 603 can execute after step 602, can also execute step 601 it
Before, the embodiment of the present application is not construed as limiting the specific execution moment of step 603.
Step 604, the read-write requests for meeting the first agreement are received by Universal Serial Bus Interface.
Optionally, which is the data transmission that mass memory unit is communicated by Universal Serial Bus Interface
Agreement, after being connected by USB interface with vehicle mounted playing apparatus due to audio-frequence player device, audio-frequence player device can be to vehicle-mounted broadcasting
Equipment sends descriptor, which is identified as mass memory unit by vehicle mounted playing apparatus according to the descriptor, institute
With between audio-frequence player device and vehicle mounted playing apparatus data transmission or communication be required for meeting mass memory unit and pass through
The Data Transport Protocol that Universal Serial Bus Interface is communicated.
Optionally, the Data Transport Protocol which is communicated by Universal Serial Bus Interface can be
At least one of Bulk-only agreements, UFI agreements, CBI transport protocols and ATA agreements.
Step 605, target audio file is converted into the second audio format from the first audio format according to read-write requests.
Optionally, which is the audio format that can not be played on vehicle mounted playing apparatus, the second audio lattice
Formula is the audio format that can be played on vehicle mounted playing apparatus.
Optionally, the target audio file of first audio format is the audio file by lossless compression, the second audio
The target audio file of format is the audio file without overcompression, wherein the target audio file can be lossless sound quality
Audio file.Optionally, which can be Lossless Audio Compression coded format (Free Lossless Audio
Codec, FLAC format) or APE lossless compression music format (English names:Monkey's audio).
Audio-frequence player device can be decoded to obtain the second audio by the target audio file to the first audio format
The target audio file of format.
Optionally, the first audio format is FLAC formats, and the second audio format is wav formats, second audio format
Data in target audio file are pulse code modulation data (Pulse Code Modulation, PCM).
Step 606, the target audio file of the second audio format is cached.
Optionally, the buffer area cached to audio file to be played is provided in audio-frequence player device, by first
After the target audio file of audio format is converted to the target audio file of the second audio format, audio-frequence player device by this second
The target audio file of audio format is cached into above-mentioned buffer area.
Step 607, the cache location of the target audio file of the second audio format is determined according to read-write requests.
Optionally, the target audio file of the first audio format is converted to the target audio file of the second audio format,
And after being cached to the target audio file of the second audio format, audio-frequence player device further according to read-write requests determine this second
The cache location of the target audio file of audio format.
Step 608, the data in the target audio file of the second audio format are sent by Universal Serial Bus Interface
To vehicle mounted playing apparatus.
Optionally, audio-frequence player device the data in the target audio file of second audio format are sent to it is vehicle-mounted
When playback equipment, the data in the target audio file of second audio format, which need to meet above-mentioned magnanimity in transmission process, deposits
The Data Transport Protocol that storage equipment is communicated by Universal Serial Bus Interface.
Optionally, after vehicle mounted playing apparatus receives the target audio file of second audio format, pass through loud speaker pair
The target audio file of second audio format plays out.
In conclusion audio frequency playing method provided in this embodiment, passes through the target audio file to the first audio format
It is converted, obtains the target audio file of the second audio format, target audio file can not be played from vehicle mounted playing apparatus
Audio format be converted to the audio format that vehicle mounted playing apparatus can play, i.e., vehicle mounted playing apparatus can play audio and set
The audio file that standby middle script vehicle mounted playing apparatus can not play is well on broadcasting.
Audio frequency playing method provided in this embodiment, audio-frequence player device with playback terminal after being connected by USB, audio
Playback equipment sends descriptor to playback terminal, and audio-frequence player device is identified as mass memory by playback terminal according to the descriptor
Equipment is then communicated by mass memory unit by Universal Serial Bus Interface between audio-frequence player device and playback terminal
Data Transport Protocol communicated, it is other without the data transmission setting between audio-frequence player device and playback terminal
Data Transport Protocol, convenient data transmission between audio-frequence player device and playback terminal.
Audio frequency playing method provided in this embodiment passes through after generating hotspot by audio-frequence player device with terminal
The hotspot is communicated, and target audio file directly can be sent to audio broadcasting by the hotspot and set by terminal
It is standby, and realize and the target audio file is played out on playback terminal, when script is not stored with this in audio-frequence player device
When target audio file, easily the target audio file can also be played out.
Audio frequency playing method provided in this embodiment is powered since audio-frequence player device is small by USB, is being used
The space occupied is less in the process, and not will produce complicated line, is influenced on interior decoration also smaller.
The embodiment of the present application also provides a kind of audio-frequence player device, the audio-frequence player device includes processor and storage
Device, at least one instruction is stored in the memory, and described instruction is loaded by the processor and executed to realize such as Fig. 3 extremely
Any audio frequency playing method in Fig. 6.
The embodiment of the present application also provides a kind of computer readable storage medium, at least one is stored in the storage medium
Item instructs, and described instruction is loaded by processor and executed to realize the audio frequency playing method as described in any in Fig. 3 to Fig. 6.
Those skilled in the art after considering the specification and implementing the invention disclosed here, will readily occur to its of the application
Its embodiment.This application is intended to cover any variations, uses, or adaptations of the application, these modifications, purposes or
Person's adaptive change follows the general principle of the application and includes the undocumented common knowledge in the art of the application
Or conventional techniques.The description and examples are only to be considered as illustrative, and the true scope and spirit of the application are by following
Claim is pointed out.
It should be understood that the application is not limited to the precision architecture for being described above and being shown in the accompanying drawings, and
And various modifications and changes may be made without departing from the scope thereof.Scope of the present application is only limited by the accompanying claims.
Claims (12)
1. a kind of audio-frequence player device, which is characterized in that the equipment includes:Universal Serial Bus Interface, storage chip, micro-control
Coremaking piece and printed circuit board;
The Universal Serial Bus Interface, the storage chip and microcontroller chip setting are on the printed circuit board;
The microcontroller chip, for receiving the read-write requests that playback terminal is sent, institute by the Universal Serial Bus Interface
State read-write requests for ask read-write target audio file;
The microcontroller chip is additionally operable to be converted the target audio file from the first audio format according to the read-write requests
For the second audio format, second audio format is the audio format that can be played on the playback terminal;
The microcontroller chip is additionally operable to the target of second audio format through the Universal Serial Bus Interface
Audio file is sent to the playback terminal.
2. equipment according to claim 1, which is characterized in that
The microcontroller chip is additionally operable to the target audio file to second audio format by the storage chip
It is cached;
The microcontroller chip is additionally operable to determine the target audio text of second audio format according to the read-write requests
The cache location of part;
The microcontroller chip, is additionally operable to according to the cache location, by the Universal Serial Bus Interface by described second
The target audio file of audio format is sent to the playback terminal.
3. equipment according to claim 1, which is characterized in that
The microcontroller chip, the read-write for meeting the first agreement by Universal Serial Bus Interface reception are asked
It asks;
Wherein, first agreement is that mass memory unit is assisted by the data transmission that Universal Serial Bus Interface is communicated
View.
4. equipment according to claim 3, which is characterized in that
The microcontroller chip, for sending descriptor to the playback terminal, the descriptor is for indicating that the audio is broadcast
Put the Data Transport Protocol that equipment supports the mass memory unit to be communicated by Universal Serial Bus Interface.
5. equipment according to claim 1, which is characterized in that the equipment further includes:Wireless communication chips;
The wireless communication chips, for generating hotspot, the hotspot with terminal for being communicated, the terminal
For the equipment interconnected by the hotspot with the audio-frequence player device;
The microcontroller chip is additionally operable to receive the target audio file that the terminal is sent by the hotspot.
6. a kind of audio frequency playing method, which is characterized in that the method includes:
The read-write requests that playback terminal is sent are received by Universal Serial Bus Interface, the read-write requests are for asking read-write mesh
Mark with phonetic symbols frequency file;
The target audio file is converted into the second audio format from the first audio format according to the read-write requests, described
Two audio formats are the audio formats that can be played on the playback terminal;
The target audio file of second audio format is sent to described broadcast by the Universal Serial Bus Interface
Put terminal.
7. according to the method described in claim 6, it is characterized in that, described literary to the target audio according to the read-write requests
Part further includes after the first audio format is converted to the second audio format:
The target audio file of second audio format is cached;
The cache location of the target audio file of second audio format is determined according to the read-write requests;
It is described that the target audio file of second audio format is sent to by institute by the Universal Serial Bus Interface
Playback terminal is stated, including:
According to the cache location, by the Universal Serial Bus Interface by the target audio of second audio format
File is sent to the playback terminal.
8. the method according to the description of claim 7 is characterized in that described receive playback terminal by Universal Serial Bus Interface
The read-write requests of transmission, including:
The read-write requests for meeting the first agreement are received by the Universal Serial Bus Interface, wherein first agreement
It is the Data Transport Protocol that mass memory unit is communicated by Universal Serial Bus Interface.
9. according to any method of claim 6 to 8, which is characterized in that described to be received by Universal Serial Bus Interface
Before the read-write requests that playback terminal is sent, further include:
Descriptor is sent to the playback terminal, the descriptor is for indicating that the audio-frequence player device supports the magnanimity to deposit
The Data Transport Protocol that storage equipment is communicated by Universal Serial Bus Interface.
10. according to any method of claim 6 to 8, which is characterized in that described to be received by Universal Serial Bus Interface
Before the read-write requests that playback terminal is sent, further include:
Hotspot is generated, for the hotspot for being communicated with terminal, the terminal is to pass through with audio-frequence player device
The equipment of the hotspot interconnection;
Receive the target audio file that the terminal is sent by the hotspot.
11. according to any method of claim 6 to 8, which is characterized in that first audio format is lossless audio pressure
Contracting coded format;Second audio format is wav formats, and the data in the target audio file of second audio format are
Pulse code modulation data;
It is described that the target audio file of second audio format is sent to by institute by the Universal Serial Bus Interface
Playback terminal is stated, including:
The data in the target audio file of second audio format are sent to institute by the Universal Serial Bus Interface
State playback terminal.
12. a kind of computer readable storage medium, which is characterized in that be stored at least one instruction, institute in the storage medium
Instruction is stated to be loaded by processor and executed to realize the audio frequency playing method as described in claim 6 to 11 is any.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810348086.5A CN108540842B (en) | 2018-04-18 | 2018-04-18 | Audio playing device, audio playing method, audio playing device and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810348086.5A CN108540842B (en) | 2018-04-18 | 2018-04-18 | Audio playing device, audio playing method, audio playing device and storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN108540842A true CN108540842A (en) | 2018-09-14 |
CN108540842B CN108540842B (en) | 2021-02-12 |
Family
ID=63480463
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810348086.5A Active CN108540842B (en) | 2018-04-18 | 2018-04-18 | Audio playing device, audio playing method, audio playing device and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108540842B (en) |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109766984A (en) * | 2019-02-13 | 2019-05-17 | 深圳市捷美斯实业有限公司 | A kind of USB flash disk audio booster |
CN109890018A (en) * | 2019-01-29 | 2019-06-14 | 深圳傲智天下信息科技有限公司 | Blue-tooth transmission method, bluetooth transceiver and the computer readable storage medium of audio |
CN110007893A (en) * | 2019-03-13 | 2019-07-12 | 青岛海信传媒网络技术有限公司 | A kind of method and electronic equipment of audio output |
CN111128193A (en) * | 2019-12-27 | 2020-05-08 | 科大讯飞股份有限公司 | Voice interaction method, network analysis end and client |
CN111696591A (en) * | 2020-05-08 | 2020-09-22 | 广州微算互联信息技术有限公司 | Cloud mobile phone audio data processing method and system |
CN113590079A (en) * | 2021-08-05 | 2021-11-02 | 广州飞傲电子科技有限公司 | Music playing control method and device and computer readable storage medium |
Citations (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101286770A (en) * | 2007-04-09 | 2008-10-15 | 艾威梯软件技术(北京)有限公司 | Method and system for automatically configuring audio encoding format transmitted by bluetooth A2DP |
CN101480036A (en) * | 2006-07-27 | 2009-07-08 | 艾瑞赞公司 | Method for playing audio files on a portable electronic device |
CN101958139A (en) * | 2010-08-10 | 2011-01-26 | 闫天时 | High definition lossless audio playing (HDAP) system |
US20130243078A1 (en) * | 2010-11-23 | 2013-09-19 | Zte Corporation | Online terminal |
CN103561286A (en) * | 2013-11-05 | 2014-02-05 | 中国联合网络通信集团有限公司 | Method, device and system for medium distribution |
CN103716684A (en) * | 2013-12-30 | 2014-04-09 | 深圳Tcl新技术有限公司 | Audio processing method and system |
CN104219567A (en) * | 2014-09-05 | 2014-12-17 | 四川长虹电器股份有限公司 | System and method for remotely monitoring DTV (digital television) audio in real time via mobile terminal |
CN104731540A (en) * | 2013-12-20 | 2015-06-24 | 通用汽车环球科技运作有限责任公司 | Methods and systems for an adapter device between vehicle infotainment systems and electronic devices |
CN104754406A (en) * | 2013-12-31 | 2015-07-01 | 罗斯青 | Method and device for playing Internet video and audio contents by use of IPTV set-top box |
CN106254912A (en) * | 2016-08-22 | 2016-12-21 | 乐视控股(北京)有限公司 | Playing audio/video and audio-video frequency playing system |
-
2018
- 2018-04-18 CN CN201810348086.5A patent/CN108540842B/en active Active
Patent Citations (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101480036A (en) * | 2006-07-27 | 2009-07-08 | 艾瑞赞公司 | Method for playing audio files on a portable electronic device |
CN101286770A (en) * | 2007-04-09 | 2008-10-15 | 艾威梯软件技术(北京)有限公司 | Method and system for automatically configuring audio encoding format transmitted by bluetooth A2DP |
CN101958139A (en) * | 2010-08-10 | 2011-01-26 | 闫天时 | High definition lossless audio playing (HDAP) system |
US20130243078A1 (en) * | 2010-11-23 | 2013-09-19 | Zte Corporation | Online terminal |
CN103561286A (en) * | 2013-11-05 | 2014-02-05 | 中国联合网络通信集团有限公司 | Method, device and system for medium distribution |
CN104731540A (en) * | 2013-12-20 | 2015-06-24 | 通用汽车环球科技运作有限责任公司 | Methods and systems for an adapter device between vehicle infotainment systems and electronic devices |
CN103716684A (en) * | 2013-12-30 | 2014-04-09 | 深圳Tcl新技术有限公司 | Audio processing method and system |
CN104754406A (en) * | 2013-12-31 | 2015-07-01 | 罗斯青 | Method and device for playing Internet video and audio contents by use of IPTV set-top box |
CN104219567A (en) * | 2014-09-05 | 2014-12-17 | 四川长虹电器股份有限公司 | System and method for remotely monitoring DTV (digital television) audio in real time via mobile terminal |
CN106254912A (en) * | 2016-08-22 | 2016-12-21 | 乐视控股(北京)有限公司 | Playing audio/video and audio-video frequency playing system |
Cited By (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109890018A (en) * | 2019-01-29 | 2019-06-14 | 深圳傲智天下信息科技有限公司 | Blue-tooth transmission method, bluetooth transceiver and the computer readable storage medium of audio |
CN109766984A (en) * | 2019-02-13 | 2019-05-17 | 深圳市捷美斯实业有限公司 | A kind of USB flash disk audio booster |
CN110007893A (en) * | 2019-03-13 | 2019-07-12 | 青岛海信传媒网络技术有限公司 | A kind of method and electronic equipment of audio output |
CN110007893B (en) * | 2019-03-13 | 2022-07-01 | 青岛海信传媒网络技术有限公司 | Audio output method and electronic equipment |
CN111128193A (en) * | 2019-12-27 | 2020-05-08 | 科大讯飞股份有限公司 | Voice interaction method, network analysis end and client |
CN111128193B (en) * | 2019-12-27 | 2023-06-02 | 科大讯飞股份有限公司 | Voice interaction method, network analysis end and client |
CN111696591A (en) * | 2020-05-08 | 2020-09-22 | 广州微算互联信息技术有限公司 | Cloud mobile phone audio data processing method and system |
CN113590079A (en) * | 2021-08-05 | 2021-11-02 | 广州飞傲电子科技有限公司 | Music playing control method and device and computer readable storage medium |
CN113590079B (en) * | 2021-08-05 | 2024-03-22 | 广州飞傲电子科技有限公司 | Music playing control method, device and computer readable storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN108540842B (en) | 2021-02-12 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108540842A (en) | Audio-frequence player device, audio frequency playing method, equipment and storage medium | |
JP3756799B2 (en) | Music playback system | |
JP2007102168A (en) | Method of dubbing music data | |
US20060030961A1 (en) | Wireless streaming audio apparatus | |
US20110072166A1 (en) | Storage device and driving method thereof | |
US20090037006A1 (en) | Device, medium, data signal, and method for obtaining audio attribute data | |
JP2007511182A5 (en) | ||
CN201114350Y (en) | Portable multimedia playing device with ultra-heavy and low-voice | |
CN101452727B (en) | Vehicle-mounted media playing system and method | |
JP2007213772A (en) | Recording/transferring program, recording/transferring apparatus, and recording/transferring method | |
US20040254661A1 (en) | Wireless sound apparatus having a MP3 encoder/decoder/recorder IC unit | |
US20070186257A1 (en) | Set top box, multimedia player and system capable of playing Web TV and method of integrating set top box and multimedia player | |
TWI251982B (en) | Digital music transformer | |
JP4935386B2 (en) | Content playback method and content playback system | |
JP2004310058A (en) | Media processing apparatus | |
KR20030003465A (en) | A file reproduction system using a set-top box and the file reproducing method | |
JP3130747U (en) | Audio player that can save memory space | |
JP4178962B2 (en) | Karaoke equipment | |
US20080282010A1 (en) | Apparatus for digital/analog audio storage and playback | |
CN201114354Y (en) | Portable multimedia playing device with iPod interface | |
CN201114353Y (en) | Portable multimedia playing device with high-capacity hard disk | |
JP2005100311A (en) | Portable data storage device | |
JP2008047196A (en) | Content transfer system, content recorder, content transfer device, and program therefor | |
KR20050041603A (en) | Method for producing oudio contents having video data and system for decoding the same | |
JP2006343740A (en) | Audio information conversion apparatus and method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |