Can Android mobile phone be able to implement BT file side-to-bottom broadcast?

Source: Internet
Author: User

Tagged with: Peer technology BT Edge-to-peer Android BT download

Can Android mobile phone be able to implement BT file side-to-bottom broadcast? An analysis of the feasibility of a PC-like download-side playback technology for Android mobile phones

PC-side implementation of the BT file side download side play function, has been a long time, but also in many areas have been very good application, especially in the distribution of video files transmission. But with the mobile phone becoming a new trend, can it be possible to implement a PC-side download-side-by-side playback technology on the Android phone? Small section below and everyone together under analysis, because BT is one of peer technology, in the next article, do not make a distinction, the meaning of the same.

In fact, the peer-to-side and the client side is the PC or Android mobile phone or Apple phone, strictly speaking, not much of a relationship. Because many of the peers are developed in the cross-platform mode of C + +, the protocols and algorithms are actually generic.
We know that peer-to technology was born and carried forward in the PC era, but in recent years, Mobile has also started to have some use of peer technology. In mobile applications, most of the features and PC can do basically the same, including download speed. This is mainly due to the current mobile phone performance improvement, even more than 10几 years ago Celeron 1G, 128M memory of the computer is much better. And BT is actually born in the 512M CPU, 128M memory of the age. Impression, small series at that time, the university began to contact the download speed of BT, when the feeling is fast, and that period of the computer is actually a Celeron 1g+128m memory +40g hard disk of the antique, but in that era, running BT is very smooth.

And now whether it is Android phones or Apple phones in fact, the hardware is much better than the Celeron at the time, the current market of ordinary mobile phones are basically 4g+32g, better or even 6g+128g even more. So, the hardware performance of the mobile side and so on support peer-to technology is no problem. According to small series analysis in the early years of peer technology in Android mobile phones and other mobile applications are less likely to be mainly in the following points:
1) Tariff: The mobile end of the previous years, is a large number of 3G, 4G of the Internet mode, this mode of user tariffs are relatively high, you let users through peer-to upload to others, users will scold Si people. And many of these years are unlimited traffic, and WiFi network is also more up, so in recent years, peer in the mobile side of the improvement.
2) Storage: 2006 years or so the smartphone was Dopod, based on the Windows Mobile system. At that time, in fact, a small part of the development of a BT download software, transplanted into the Dopod phone inside, run up function, performance and PC is similar, and is the same set of code. But at that time Zui big problem is the storage is too small, the entire cell phone storage seems to be less than 1G, can be used to download the movie, The big movie is not saved one, so at that time can only be a try and do small-scale use.
If there is no storage, the user to use peer to download completed quickly deleted, just download the process in the sharing, download after the completion of not share, so the share rate is very low.
These years of mobile phones, has been 64G, 128G storage, so this problem is gradually improving, 128G can save several TV dramas.
3) User habits: In fact, this is very important, because the early years have been the PC era, the user's usage habits, viewing habits are mostly under the PC, so this situation to do mobile application of the human motivation is insufficient.
In recent years, chatting with friends, making a software, their general first reaction is: Do not first on the PC,PC amount is very small, first do Android, if the experience is good, then on iOS. So this also reflects the user's habit of the inevitable.
4) Power and heat: use peer-to-peer software if the download is completed, but also continue to upload, is generally resident backstage, prone to electricity and heat big problem, but the small series optimized BT Download (peer-to technology) these can be through the software settings, user experience settings to improve, such as under the charge +wifi low-speed upload and so on.
So with some of the above changes in the situation, I zui in recent years, the discovery is that the peer technology slowly on the phone also began to warm up and application. This includes the peer-to-edge bottom-up technology discussed in this article.

In summary, the peer-to-edge technology under Android mobile phone, is completely and PC-like code can be, this is a small part of their products have been confirmed (from the PC to Android and iOS phones can) the approximate principle is the realization of this:
1) When playing the magnetic chain, or torrrent file, the player calls the small product of the peer engine, the peer engine through the torrent or magnetic chain information, to the tracker, DHT to find the surrounding peer neighbors, and then obtain data.
2) peer gets to the data, through the player can support the protocol, back to the player, the player to see, this is a standard mp4/flv and other video files, so it can play normally
3) When the player is dragging, the peer engine automatically switches the download location and returns the data.
These are not the Android, iOS or PC, but on the mobile side may download speed, detect whether WiFi and other strategic differences.
So what are the advantages of using peer-to-edge playback?
1) Save Server bandwidth: This is a well-known advantage of peer, here is not more than repeat.
2) can be multi-source download: This is often overlooked, people often ask the small said: if only one person to download, at this time BT download is not a good thing. In fact, this is not right. Even if only one person to download, if the user with ordinary HTTP, usually from a single server download, if you encounter this server is slow, he can only endure. But if it is peer-to-peer system, the back end can have more than one server, such as you buy 10 of several servers, bandwidth and cheap, but also unlimited traffic, this mode, download is from 10 servers together download, speed or fast, and even if a server down, also does not affect the download, This is also a great benefit to peer. When the server is operational, the upper and lower lines have no effect on the user.
3) Natural anti-theft chain: Peer-to-peer protocol if you do not use the standard BT protocol, it is entirely possible to customize some private transfer protocols. This kind of agreement, the user can hardly go to hotlinking your resources, unless he writes a peer software of the same protocol, so the advantage is much better than HTTP.
4) users download faster than http: because the multi-source download, so the natural speed than the single-server mode speed can be faster.
5) Low cost: different from the HTTP mode, the server using the peer technology does not need to put high-quality room, can only a small number of room. Many servers can use low-priced servers, 1G bandwidth of one months to more than 1000 yuan, this price is very advantageous. Therefore, the peer is very suitable for audio-visual on-demand, video on the side of the broadcast.

The above also mentions how to implement the principle. If you are want to quickly get a complete peer audio and video products, to operate on their own, may also consider the direct use of finished software, basically only need to modify the interface directly on-line operation, to seize the time advantage. Of course, if the technology is very good can also develop their own, it is recommended to study the BT protocol, how the player plays the data. BT will need some optimization if it is converted to peer-to-peer playback, because the original design of BT is based on file distribution, not streaming, and the response to drag and start is not good enough. Well, the above is a small series on the peer-to-side and under the Android phone is not possible to achieve some of the small experience, share to discuss together!

Can Android mobile phone be able to implement BT file side-to-bottom broadcast?

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.