CN110430285A - A kind of playback method of Baffle Box of Bluetooth and its online audio file - Google Patents
A kind of playback method of Baffle Box of Bluetooth and its online audio file Download PDFInfo
- Publication number
- CN110430285A CN110430285A CN201910795268.1A CN201910795268A CN110430285A CN 110430285 A CN110430285 A CN 110430285A CN 201910795268 A CN201910795268 A CN 201910795268A CN 110430285 A CN110430285 A CN 110430285A
- Authority
- CN
- China
- Prior art keywords
- audio file
- download
- speed
- file
- bluetooth
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/06—Protocols specially adapted for file transfer, e.g. file transfer protocol [FTP]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/10—Protocols in which an application is distributed across nodes in the network
- H04L67/104—Peer-to-peer [P2P] networks
- H04L67/1074—Peer-to-peer [P2P] networks for supporting data block transmission mechanisms
- H04L67/1078—Resource delivery mechanisms
- H04L67/108—Resource delivery mechanisms characterised by resources being split in blocks or fragments
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W4/00—Services specially adapted for wireless communication networks; Facilities therefor
- H04W4/80—Services using short range communication, e.g. near-field communication [NFC], radio-frequency identification [RFID] or low energy communication
Abstract
The invention discloses a kind of Baffle Box of Bluetooth and its playback method of online audio file, the playback method is applied to Baffle Box of Bluetooth, comprising: obtains the download online address of audio file;According to the sequence of audio file, audio file is successively divided into n one's share of expenses for a joint undertaking file;The speed of download of n one's share of expenses for a joint undertaking file is allocated, wherein the distribution principle of the speed of download are as follows: speed of download corresponding to the subfile close to audio file header is greater than speed of download corresponding to the subfile far from audio file header;N one's share of expenses for a joint undertaking file according to the obtained speed of download of distribution while being downloaded;According to the sequence of audio file, the subfile that downloading finishes is playd in order.Baffle Box of Bluetooth includes: to obtain module, division module, distribution module, download module and playing module.The present invention can reduce the delay situation of broadcasting, the online audio file of broadcasting that can be smooth.
Description
Technical field
The present invention relates to speaker technology field, in particular to the broadcasting side of a kind of Baffle Box of Bluetooth and its online audio file
Method.
Background technique
The method of the online audio file of existing Baffle Box of Bluetooth is: audio file is downloaded, after downloading,
The downloading audio file is then played, but after this broadcast mode needs to download audio file completely, then broadcast
It puts, depositing unstable when network is will have certain delay situation, finally makes the broadcasting audio that Baffle Box of Bluetooth can not be smooth
File.
Summary of the invention
The object of the present invention is to provide Baffle Box of Bluetooth and method that one kind can play online audio file glibly.
The solution that the present invention solves its technical problem is: a kind of broadcasting side of the online audio file of Baffle Box of Bluetooth
Method, the playback method are applied to Baffle Box of Bluetooth, comprising:
Obtain the download online address of audio file;
According to the sequence of audio file, audio file is successively divided into n one's share of expenses for a joint undertaking file, n is natural number, n >=3;
The speed of download of n one's share of expenses for a joint undertaking file is allocated, wherein the distribution principle of the speed of download are as follows: close to audio
Speed of download corresponding to the subfile of top of file is greater than speed of download corresponding to the subfile far from audio file header;
N one's share of expenses for a joint undertaking file according to the obtained speed of download of distribution while being downloaded;
According to the sequence of audio file, the subfile that downloading finishes is playd in order.
Further, the size of each one's share of expenses for a joint undertaking file is all the same.
Further, the format of the audio file include: MP3, MPEG-4, WMA, MPEG any one.
Further, speed of download difference corresponding between adjacent subfile is identical.
A kind of Baffle Box of Bluetooth, interior be equipped with of the Baffle Box of Bluetooth ontology obtain module, division module, distribution module, downloading mould
Block and playing module;
The download online address for obtaining module and being used to obtain audio file;
The division module is used for the sequence according to audio file, audio file is successively divided into n one's share of expenses for a joint undertaking file, n is
Natural number, n >=3;
The distribution module is for being allocated the speed of download of n one's share of expenses for a joint undertaking file, wherein the distribution of the speed of download
Principle are as follows: speed of download corresponding to the subfile close to audio file header is greater than the subfile institute far from audio file header
Corresponding speed of download;
The download module is used for n one's share of expenses for a joint undertaking file according to the obtained speed of download of distribution while being downloaded;
The playing module is used for the sequence according to audio file, plays in order the subfile that downloading finishes.
Further, the size of each one's share of expenses for a joint undertaking file is all the same.
Further, the format of the audio file include: MP3, MPEG-4, WMA, MPEG any one.
Further, speed of download difference corresponding between adjacent subfile is identical.
The beneficial effects of the present invention are: by the way that audio file is divided into n one's share of expenses for a joint undertaking file, and not to the distribution of n one's share of expenses for a joint undertaking file
Same speed of download.It realizes the function of playing in downloading, moreover, the file played is the file downloaded and finished, leads to
Such mode is crossed, delay situation is reduced, the online audio file of broadcasting that can be smooth.
Detailed description of the invention
To describe the technical solutions in the embodiments of the present invention more clearly, make required in being described below to embodiment
Attached drawing is briefly described.Obviously, described attached drawing is a part of the embodiments of the present invention, rather than is all implemented
Example, those skilled in the art without creative efforts, can also be obtained according to these attached drawings other designs
Scheme and attached drawing.
Fig. 1 is the step flow chart of the playback method of this online audio file;
Fig. 2 is the module diagram of Baffle Box of Bluetooth.
Specific embodiment
It is carried out below with reference to technical effect of the embodiment and attached drawing to design of the invention, specific structure and generation clear
Chu is fully described by, to be completely understood by the purpose of the present invention, feature and effect.Obviously, described embodiment is this hair
Bright a part of the embodiment, rather than whole embodiments, based on the embodiment of the present invention, those skilled in the art are not being paid
Other embodiments obtained, belong to the scope of protection of the invention under the premise of creative work.In addition, be previously mentioned in text
All connection/connection relationships not singly refer to that component directly connects, and referring to can be added deduct according to specific implementation situation by adding
Few couple auxiliary, Lai Zucheng more preferably coupling structure.Each technical characteristic in the invention, in not conflicting conflict
Under the premise of can be with combination of interactions.
Embodiment 1, referring to Fig. 1, a kind of playback method of the online audio file of Baffle Box of Bluetooth, this method is applied to bluetooth
Speaker, comprising:
Step S100, the download online address of audio file is obtained;
Step S200, according to the sequence of audio file, audio file is successively divided into n one's share of expenses for a joint undertaking file;
Step S300, the speed of download of n one's share of expenses for a joint undertaking file is allocated;
Wherein, the distribution principle of the speed of download are as follows: the speed of downloading corresponding to the subfile close to audio file header
Degree is greater than speed of download corresponding to the subfile far from audio file header;
Step S400, n one's share of expenses for a joint undertaking file according to the obtained speed of download of distribution while being downloaded;
Step S500, according to the sequence of audio file, the subfile that downloading finishes is playd in order.
It should be noted that the sequence of the audio file refer to being played according to audio file according to time shaft it is suitable
Sequence.N is natural number, and n >=3.The download online address can be internet address, or client mapped
Location.
This method it is creative by the way that audio file is divided into n one's share of expenses for a joint undertaking file, and to n one's share of expenses for a joint undertaking file distribute it is different under
Carry speed, wherein the speed of download close to the subfile of audio file header is greater than the subfile far from audio file header
Speed of download.Speed of download distribution principle in this way, so that the subfile close to audio file header is preferentially downloaded
It finishes, on a timeline due to the subfile close to audio file header, can be in preceding broadcasting, therefore, this method realizes side downloading
The function that side plays in this way, reduces delay moreover, the file played is the file downloaded and finished
Situation, the online audio file of broadcasting that can be smooth.
Audio file is successively divided into the identical subfile of n parts of sizes by embodiment as a further preference.Due to
The division mode of mean allocation is simplest in program realization, therefore division methods in this way, improves division speed
Degree, and then improve the execution speed of this method.
Embodiment as a further preference, the format of the audio file include: that MP3, MPEG-4, WMA, MPEG appoint
It anticipates one kind.
Embodiment as a further preference, corresponding speed of download difference is identical between adjacent subfile.Pass through
Equal difference distributes the mode of speed of download, so that distribution is effectively.
With reference to Fig. 2, the application provides a kind of Baffle Box of Bluetooth simultaneously, is equipped in Baffle Box of Bluetooth ontology and obtains module, divides mould
Block, distribution module, download module and playing module;
The download online address for obtaining module and being used to obtain audio file;
The division module is used for the sequence according to audio file, and audio file is successively divided into n one's share of expenses for a joint undertaking file;
The distribution module is for being allocated the speed of download of n one's share of expenses for a joint undertaking file, wherein the distribution of the speed of download
Principle are as follows: speed of download corresponding to the subfile close to audio file header is greater than the subfile institute far from audio file header
Corresponding speed of download;
The download module is used for n one's share of expenses for a joint undertaking file according to the obtained speed of download of distribution while being downloaded;
The playing module is used for the sequence according to audio file, plays in order the subfile that downloading finishes.
This Baffle Box of Bluetooth can at least execute a kind of embodiment of the playback method of above-mentioned online audio file, therefore
The beneficial effect of its playback method with above-mentioned online audio file, here just not repeated description.
As optimization, in division module, it is identical that n one's share of expenses for a joint undertaking file is divided into size by the division module.Due to flat
The division mode distributed is simplest in program realization, therefore the complexity by that can reduce division module, convenient
Exploitation.
As optimization, the format of the audio file include: MP3, MPEG-4, WMA, MPEG any one.
As optimization, corresponding speed of download difference is identical between adjacent subfile.
Better embodiment of the invention is illustrated above, but the invention is not limited to the implementation
Example, those skilled in the art can also make various equivalent modifications on the premise of without prejudice to spirit of the invention or replace
It changes, these equivalent variation or replacement are all included in the scope defined by the claims of the present application.
Claims (8)
1. a kind of playback method of the online audio file of Baffle Box of Bluetooth, the playback method is applied to Baffle Box of Bluetooth, feature
It is, comprising:
Obtain the download online address of audio file;
According to the sequence of audio file, audio file is successively divided into n one's share of expenses for a joint undertaking file, n is natural number, n >=3;To n one's share of expenses for a joint undertaking text
The speed of download of part is allocated, wherein the distribution principle of the speed of download are as follows: close to the subfile institute of audio file header
Corresponding speed of download is greater than speed of download corresponding to the subfile far from audio file header;
N one's share of expenses for a joint undertaking file according to the obtained speed of download of distribution while being downloaded;
According to the sequence of audio file, the subfile that downloading finishes is playd in order.
2. a kind of playback method of the online audio file of Baffle Box of Bluetooth according to claim 1, which is characterized in that each
The size of one's share of expenses for a joint undertaking file is all the same.
3. a kind of playback method of the online audio file of Baffle Box of Bluetooth according to claim 1, which is characterized in that described
The format of audio file include: MP3, MPEG-4, WMA, MPEG any one.
4. a kind of playback method of the online audio file of Baffle Box of Bluetooth according to claim 1, which is characterized in that adjacent
Corresponding speed of download difference is identical between subfile.
5. a kind of Baffle Box of Bluetooth, which is characterized in that be equipped in the Baffle Box of Bluetooth ontology and obtain module, division module, distribution mould
Block, download module and playing module;
The download online address for obtaining module and being used to obtain audio file;
The division module is used for the sequence according to audio file, audio file is successively divided into n one's share of expenses for a joint undertaking file, n is nature
Number, n >=3;
The distribution module is for being allocated the speed of download of n one's share of expenses for a joint undertaking file, wherein the distribution principle of the speed of download
Are as follows: speed of download corresponding to the subfile close to audio file header is greater than corresponding to the subfile far from audio file header
Speed of download;
The download module is used for n one's share of expenses for a joint undertaking file according to the obtained speed of download of distribution while being downloaded;
The playing module is used for the sequence according to audio file, plays in order the subfile that downloading finishes.
6. a kind of Baffle Box of Bluetooth according to claim 5, which is characterized in that the size of each one's share of expenses for a joint undertaking file is all the same.
7. a kind of Baffle Box of Bluetooth according to claim 5, which is characterized in that the format of the audio file includes:
MP3, MPEG-4, WMA, MPEG any one.
8. a kind of Baffle Box of Bluetooth according to claim 5, which is characterized in that corresponding downloading speed between adjacent subfile
It is identical to spend difference.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910795268.1A CN110430285A (en) | 2019-08-27 | 2019-08-27 | A kind of playback method of Baffle Box of Bluetooth and its online audio file |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910795268.1A CN110430285A (en) | 2019-08-27 | 2019-08-27 | A kind of playback method of Baffle Box of Bluetooth and its online audio file |
Publications (1)
Publication Number | Publication Date |
---|---|
CN110430285A true CN110430285A (en) | 2019-11-08 |
Family
ID=68416086
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910795268.1A Pending CN110430285A (en) | 2019-08-27 | 2019-08-27 | A kind of playback method of Baffle Box of Bluetooth and its online audio file |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110430285A (en) |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101621524A (en) * | 2009-07-29 | 2010-01-06 | 深圳市五巨科技有限公司 | System and method for receiving and playing video data on mobile terminal |
CN102821316A (en) * | 2012-05-14 | 2012-12-12 | 南京邮电大学 | Improved video on demand (VOD) transmission method based on peer-to-peer computing core algorithm |
CN103024593A (en) * | 2012-12-26 | 2013-04-03 | 人民搜索网络股份公司 | Online VOD (video on demand) acceleration system and online VOD playing method |
CN103237300A (en) * | 2013-04-28 | 2013-08-07 | 北京小米科技有限责任公司 | Method, device and system for downloading file |
CN104735115A (en) * | 2013-12-24 | 2015-06-24 | 乐视网信息技术(北京)股份有限公司 | P2P downloading method and device |
CN105635217A (en) * | 2014-11-03 | 2016-06-01 | 广州市动景计算机科技有限公司 | File download method and apparatus |
CN106060679A (en) * | 2016-06-27 | 2016-10-26 | 无锡天脉聚源传媒科技有限公司 | Video transmission method and device |
-
2019
- 2019-08-27 CN CN201910795268.1A patent/CN110430285A/en active Pending
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101621524A (en) * | 2009-07-29 | 2010-01-06 | 深圳市五巨科技有限公司 | System and method for receiving and playing video data on mobile terminal |
CN102821316A (en) * | 2012-05-14 | 2012-12-12 | 南京邮电大学 | Improved video on demand (VOD) transmission method based on peer-to-peer computing core algorithm |
CN103024593A (en) * | 2012-12-26 | 2013-04-03 | 人民搜索网络股份公司 | Online VOD (video on demand) acceleration system and online VOD playing method |
CN103237300A (en) * | 2013-04-28 | 2013-08-07 | 北京小米科技有限责任公司 | Method, device and system for downloading file |
CN104735115A (en) * | 2013-12-24 | 2015-06-24 | 乐视网信息技术(北京)股份有限公司 | P2P downloading method and device |
CN105635217A (en) * | 2014-11-03 | 2016-06-01 | 广州市动景计算机科技有限公司 | File download method and apparatus |
CN106060679A (en) * | 2016-06-27 | 2016-10-26 | 无锡天脉聚源传媒科技有限公司 | Video transmission method and device |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US20080263586A1 (en) | Method and media for virtual product placement | |
US11580941B2 (en) | Music compilation systems and related methods | |
CN103617803A (en) | Multi-sound-source automatic switching method and system on vehicle-mounted system | |
CN108302711A (en) | A kind of air conditioning control method, device, storage medium and air-conditioning | |
CN110768822B (en) | Method, system and storage medium for dynamically upgrading alliance chain organization structure | |
CN105898401A (en) | Live broadcasting method and apparatus | |
CN108282684A (en) | A kind of multimedia advertising broadcasting method based on scene or special object | |
CN103905343A (en) | Method for dynamically allocating broadband resources | |
CN102687535B (en) | For mixing the method for the microphone signal utilizing multiple microphone location | |
CN107872685A (en) | A kind of player method of multi-medium data, device and computer installation | |
CN110430285A (en) | A kind of playback method of Baffle Box of Bluetooth and its online audio file | |
JP4513644B2 (en) | Content distribution server | |
CN102130962A (en) | Method for screening network nodes for downloading acceleration based on cloud computing | |
US20180014139A1 (en) | Adaptive audio construction | |
CN109893855A (en) | Data processing method, device, storage medium and the electronic device of tinter | |
US20020133249A1 (en) | Dynamic audio buffer creation | |
CN102291833A (en) | Method and device for allocating uplink logic channel resources | |
CN111857473A (en) | Audio playing method and device and electronic equipment | |
CN111309345A (en) | Application store regional management and control method, device and system | |
CN105262797B (en) | Music file loading method and related equipment | |
JP7363795B2 (en) | Information processing device, method, and program | |
CN103680544A (en) | Method of automatically controlling volume of favorable songs in playing process | |
CN103560979B (en) | A kind of resource allocation methods and equipment | |
CN106804009A (en) | Barrage loading method and system | |
US7096081B2 (en) | Method of implementing a variable number of filter sections for digital signal processing |
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 | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20191108 |
|
RJ01 | Rejection of invention patent application after publication |