CN103152410B - The method of mobile device downloading data and device - Google Patents
The method of mobile device downloading data and device Download PDFInfo
- Publication number
- CN103152410B CN103152410B CN201310059587.9A CN201310059587A CN103152410B CN 103152410 B CN103152410 B CN 103152410B CN 201310059587 A CN201310059587 A CN 201310059587A CN 103152410 B CN103152410 B CN 103152410B
- Authority
- CN
- China
- Prior art keywords
- mobile device
- data
- cooperation
- server
- cooperation mobile
- 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.)
- Expired - Fee Related
Links
- 238000000034 method Methods 0.000 title claims abstract description 11
- 238000012545 processing Methods 0.000 claims abstract description 30
- 230000002159 abnormal effect Effects 0.000 claims description 7
- 238000004891 communication Methods 0.000 description 7
- 238000012546 transfer Methods 0.000 description 5
- 238000005516 engineering process Methods 0.000 description 4
- 238000012360 testing method Methods 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000005540 biological transmission Effects 0.000 description 1
- 230000007812 deficiency Effects 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 238000010586 diagram Methods 0.000 description 1
- 239000000835 fiber Substances 0.000 description 1
- 230000003993 interaction Effects 0.000 description 1
Abstract
The invention discloses a kind of method and device of mobile device downloading data, the method comprises the steps: that main mobile device obtains the first data processing speed a of the first cooperation mobile device
1, and first cooperation mobile device and server between the first data bandwidth b
1; Main mobile device obtains the second data processing speed a of the second cooperation mobile device
2, and second cooperation mobile device and server between the second data bandwidth b
2; Main mobile device controls the first cooperation mobile device respectively and the second cooperation mobile device downloads the first data volume N from server
1with the second data volume N
2, wherein: N
1: N
2=min (a
1, b
1): min (a
2, b
2).The present invention can make full use of the data download capabilities of each mobile device as much as possible, to improve the speed that main mobile device obtains the data of server; Can download efficiency be ensured simultaneously, the download capabilities of each cooperation mobile device can be made full use of again.
Description
[technical field]
The present invention relates to the communications field, particularly relate to method and the device of mobile device downloading data.
[background technology]
The hardware advances speed of present handheld device is swift and violent, network Development is also like this, the rise of the technology such as 3G, LTE makes to use the speed goes of handheld device accesses network fast, but due to the restriction of the up-downgoing speed of single device and the speed restriction of 2G signal lower network, when needs are quick-downloading, often user's the set goal can not be reached.
[summary of the invention]
In order to overcome the deficiencies in the prior art, the invention provides a kind of method and device of mobile device downloading data, to utilize the download capabilities of the mobile device that cooperates fully, efficiently, realizing the object of mobile device from server high-speed downloads data.
A method for mobile device downloading data, comprises the steps:
Main mobile device obtains the first data processing speed a of the first cooperation mobile device
1, and first cooperation mobile device and server between the first data bandwidth b
1;
Main mobile device obtains the second data processing speed a of the second cooperation mobile device
2, and second cooperation mobile device and server between the second data bandwidth b
2;
Main mobile device controls the first cooperation mobile device respectively and the second cooperation mobile device downloads the first data volume N from server
1with the second data volume N
2, wherein: N
1: N
2=min (a
1, b
1): min (a
2, b
2).
Also comprise the steps:
Main mobile device obtains the 3rd data processing speed a of the 3rd cooperation mobile device
3, and the 3rd cooperation mobile device and server between the 3rd data bandwidth b
3, main mobile device controls the 3rd cooperation mobile device and downloads the 3rd data volume N from server
3, wherein N
1: N
2: N
3=min (a
1, b
1): min (a
2, b
2): min (a
3, b
3);
Main mobile device downloads the data that each cooperation mobile device is downloaded from server in real time;
If main mobile device has downloaded the first data volume N from the first cooperation mobile device
1before, detect that the first cooperation mobile device is abnormal, then main mobile device controls the second cooperation mobile device and the 3rd cooperation mobile device respectively increases download first from server and increases data volume N '
2data volume N ' is increased with second
3, wherein: N '
2: N '
3=min (a
2, b
2): min (a
3, b
3).
In order to solve the problems of the technologies described above, present invention also offers a kind of device of mobile device downloading data, comprising:
Cooperation mobile device processing speed acquisition module: for obtaining the first data processing speed a of the first cooperation mobile device and the second cooperation mobile device respectively
1with the second data processing speed a
2;
Cooperation mobile device speed of download acquisition module: for obtaining the first data bandwidth b between the first cooperation mobile device and server
1, and second cooperation mobile device and server between the second data bandwidth b
2;
Data volume distribute download module: for control respectively the first cooperation mobile device and second cooperation mobile device download the first data volume N from server
1with the second data volume N
2, wherein: N
1: N
2=min (a
1, b
1): min (a
2, b
2).
Described cooperation mobile device processing speed acquisition module is also for obtaining the 3rd data processing speed a of the 3rd cooperation mobile device
3;
Described cooperation mobile device speed of download acquisition module is also for obtaining the 3rd data bandwidth b between the 3rd cooperation mobile device and server
3;
Described data volume is distributed download module and is also downloaded the 3rd data volume N for controlling the 3rd cooperation mobile device from server
3, wherein N
1: N
2: N
3=min (a
1, b
1): min (a
2, b
2): min (a
3, b
3), and the real-time data downloaded each cooperation mobile device and download from server;
Described data volume is distributed download module and has been downloaded the first data volume N from the first cooperation mobile device
1before, detect that the first cooperation mobile device is abnormal, then described data volume is distributed download module and is controlled the second cooperation mobile device and the 3rd cooperation mobile device respectively and increase download first from server and increase data volume N '
2data volume N ' is increased with second
3, wherein: N '
2: N '
3=min (a
2, b
2): min (a
3, b
3).
The invention has the beneficial effects as follows: main mobile device is by obtaining the data processing speed of cooperation mobile device and the data bandwidth between cooperation mobile device and server, judge the data download capabilities of each cooperation mobile device, and then distribute downloading task according to download capabilities, make full use of the data download capabilities of each mobile device as much as possible, to improve the speed that main mobile device obtains the data of server; Detect the exception whether each cooperation mobile device occurs interrupt transfer data in real time simultaneously, if occur abnormal, namely the data allocations that the cooperation mobile device of this exception does not transfer is downloaded again to all the other mobile devices that cooperate normally, can download efficiency be ensured, the download capabilities of each cooperation mobile device can be made full use of again.
[accompanying drawing explanation]
Fig. 1 is the mobile device of an embodiment of the present invention, the system block diagram of cooperate mobile device and server composition;
Fig. 2 is the method for the mobile device downloading data of an embodiment of the present invention.
[embodiment]
Below with reference to accompanying drawing, specific embodiments of the invention are described in further detail.
As shown in Figure 1, main mobile device can cooperate with first mobile device 1, second cooperation mobile device 2 ... and n-th cooperation mobile device n carry out data communication, the standard of data communication can adopt short distance communication network as Wi-Fi, bluetooth etc., and the first cooperation mobile device 1, second cooperation mobile device 2 ... and n-th cooperation mobile device n also can by the communication network that is not quite similar and server data communication, such as the first cooperation mobile device 1 is connected with server by 3G network, second cooperation mobile device 2 is connected with server by LTE network, and the n-th cooperation mobile device is connected with server by fiber optic network.
As shown in Figure 2, when main mobile device needs from server during downloading data amount M, the method for mobile device downloading data is as follows:
(1) main mobile device sends acquisition first to the first cooperation mobile device 1 and to cooperate the first data processing speed a of mobile device 1
1instruction, the first cooperation mobile device 1 by detecting the hardware configuration information of self, thus obtains the data processing speed a of self
1, and by data processing speed a
1send to main mobile device.
(2) main mobile device sends the first data bandwidth b of the data network that acquisition first cooperates between mobile device 1 and server to the first cooperation mobile device 1
1instruction, first cooperation mobile device 1 obtain the first data bandwidth b by the data interaction between server
1the method of concrete calculated data bandwidth is a lot, such as the first cooperation mobile device 1 sends test tape wide instruction to server, server sends the packet of the test bandwidth containing transmitting time point to the first cooperation mobile device, after first cooperation mobile device 1 receives this packet, again by this Packet Generation to server, data bandwidth b can be calculated after server receives this packet
1, and by data bandwidth b
1send to the first cooperation mobile device 1, finally this data bandwidth b
1be sent to main mobile device.
(3) by the step identical with (2) with step (1), main mobile device obtains the second data processing speed a of the second cooperation mobile device 2 and the 3rd cooperation mobile device respectively
2with the 3rd data processing speed a
3, and obtain the second data bandwidth b between the second cooperation mobile device 2 and server respectively
2, the 3rd cooperation mobile device and server between the 3rd data bandwidth b
3.
(4) main mobile device pair and all mobile devices that cooperate of its data communication carry out the distribution of downloading data amount, that is: the data volume downloaded from server of the distribution of the first cooperation mobile device is the first data volume N
1the data volume downloaded from server of the distribution of the n-th cooperation mobile device n is N
n, it meets:
N
1:N
2:N
3...N
n=min(a
1,b
1):min(a
2,b
2):min(a
3,b
3)...min(a
n,b
n),
Wherein, a
nbe the n-th cooperation mobile device n data processing speed and, b
nbe the data bandwidth of the network between the n-th cooperation mobile device n and server, min (a
1, b
1) represent and get the first data processing speed a
1with the first data bandwidth b
1among reckling.
(5) data that the mobile device that cooperates is downloaded from server, these data download to main mobile device from each cooperation mobile device by main mobile device in real time, when transmitted data amount is completely transferred to before main mobile device, wherein some cooperation mobile devices occur abnormal, such as fall net, deadlock, power-off, waits for too long etc., the data volume be assigned with is caused not transmitted or do not transmitted to main mobile device, after main mobile device detects this exception, the data allocations do not transferred by this cooperation mobile device is to remaining mobile device that cooperates.If such as main mobile device passes through 3 cooperation mobile devices from server downloading data, when the first cooperation mobile device 1 is at download section divided data amount N '
1rear appearance is abnormal, remaining data volume (N
1-N '
1) then distribute to the second cooperation mobile device 2 and the 3rd cooperation mobile device, the second cooperation mobile device 2 and the 3rd cooperation mobile device increase data volume N ' from first of server increase download
2data volume N ' is increased with second
3meet following relation: N '
2: N '
3=min (a
2, b
2): min (a
3, b
3).
Main mobile device with the transmission means of data between mobile device that cooperates can also be: 1, use NFC technology to carry out transfer of data to main mobile device with the mobile device that cooperates; 2, USB port is used to carry out transfer of data, transfer of data is carried out by USB port between main mobile device and cooperation mobile device, use this mode to need by means of expansion port, realize realizing data cube computation with n the mobile device that cooperates as expanded equipment with the USB of a n mouth.
A device for mobile device downloading data, comprising:
Cooperation mobile device processing speed acquisition module: for obtaining the data processing speed of each cooperation mobile device respectively, such as: the first data processing speed a of the first cooperation mobile device and the second cooperation mobile device
1with the second data processing speed a
2;
Cooperation mobile device speed of download acquisition module: for obtaining the data bandwidth between each cooperation mobile device and server, such as, the first data bandwidth b between the first cooperation mobile device and server
1, and second cooperation mobile device and server between the second data bandwidth b
2;
Data volume distributes download module: distribute each data volume that cooperation mobile device is downloaded from server for controlling respectively, wherein: N
1: N
2: N
3... N
n=min (a
1, b
1): min (a
2, b
2): min (a
3, b
3) ... min (a
n, b
n), and the data that each cooperation mobile device of Real-time Obtaining is downloaded from server.
Claims (2)
1. a method for mobile device downloading data, is characterized in that, comprises the steps:
Main mobile device obtains the first data processing speed a of the first cooperation mobile device
1, and first cooperation mobile device and server between the first data bandwidth b
1;
Main mobile device obtains the second data processing speed a of the second cooperation mobile device
2, and second cooperation mobile device and server between the second data bandwidth b
2;
Main mobile device controls the first cooperation mobile device respectively and the second cooperation mobile device downloads the first data volume N from server
1with the second data volume N
2, wherein: N
1: N
2=min (a
1, b
1): min (a
2, b
2);
Also comprise the steps:
Main mobile device obtains the 3rd data processing speed a of the 3rd cooperation mobile device
3, and the 3rd cooperation mobile device and server between the 3rd data bandwidth b
3, main mobile device controls the 3rd cooperation mobile device and downloads the 3rd data volume N from server
3, wherein N
1: N
2: N
3=min (a
1, b
1): min (a
2, b
2): min (a
3, b
3);
Main mobile device downloads the data that each cooperation mobile device is downloaded from server in real time;
If main mobile device has downloaded the first data volume N from the first cooperation mobile device
1before, detect that the first cooperation mobile device is abnormal, then main mobile device controls the second cooperation mobile device and the 3rd cooperation mobile device respectively increases download first from server and increases data volume N'
2data volume N ' is increased with second
3, wherein: N'
2: N '
3=min (a
2, b
2): min (a
3, b
3).
2. a device for mobile device downloading data, is characterized in that, comprising:
Cooperation mobile device processing speed acquisition module: for obtaining the first data processing speed a of the first cooperation mobile device and the second cooperation mobile device respectively
1with the second data processing speed a
2;
Cooperation mobile device speed of download acquisition module: for obtaining the first data bandwidth b between the first cooperation mobile device and server
1, and second cooperation mobile device and server between the second data bandwidth b
2;
Data volume distribute download module: for control respectively the first cooperation mobile device and second cooperation mobile device download the first data volume N from server
1with the second data volume N
2, wherein: N
1: N
2=min (a
1, b
1): min (a
2, b
2);
Described cooperation mobile device processing speed acquisition module is also for obtaining the 3rd data processing speed a of the 3rd cooperation mobile device
3;
Described cooperation mobile device speed of download acquisition module is also for obtaining the 3rd data bandwidth b between the 3rd cooperation mobile device and server
3;
Described data volume is distributed download module and is also downloaded the 3rd data volume N for controlling the 3rd cooperation mobile device from server
3, wherein N
1: N
2: N
3=min (a
1, b
1): min (a
2, b
2): min (a
3, b
3), and the real-time data downloaded each cooperation mobile device and download from server;
Described data volume is distributed download module and has been downloaded the first data volume N from the first cooperation mobile device
1before, detect that the first cooperation mobile device is abnormal, then described data volume is distributed download module and is controlled the second cooperation mobile device and the 3rd cooperation mobile device respectively and increase download first from server and increase data volume N'
2data volume N ' is increased with second
3, wherein: N'
2: N '
3=min (a
2, b
2): min (a
3, b
3).
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310059587.9A CN103152410B (en) | 2013-02-25 | 2013-02-25 | The method of mobile device downloading data and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310059587.9A CN103152410B (en) | 2013-02-25 | 2013-02-25 | The method of mobile device downloading data and device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN103152410A CN103152410A (en) | 2013-06-12 |
CN103152410B true CN103152410B (en) | 2015-09-23 |
Family
ID=48550269
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201310059587.9A Expired - Fee Related CN103152410B (en) | 2013-02-25 | 2013-02-25 | The method of mobile device downloading data and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN103152410B (en) |
Families Citing this family (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103412795B (en) * | 2013-08-27 | 2016-12-28 | 中国科学院计算技术研究所 | A kind of collaborative downloading task dispatching method towards mobile intelligent terminal and system |
CN103514047A (en) * | 2013-10-14 | 2014-01-15 | 中国人民解放军理工大学 | Task load balancing method used for mobile social network |
CN107018192B (en) * | 2017-03-31 | 2019-05-21 | Oppo广东移动通信有限公司 | Upgrade method, device and the audio-frequence player device of audio frequency broadcast system |
CN112995693B (en) * | 2021-03-04 | 2023-04-28 | 深圳市欧瑞博科技股份有限公司 | Intelligent processing method of streaming media file, control panel and computer readable storage medium |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102045772A (en) * | 2009-10-21 | 2011-05-04 | 华为技术有限公司 | Data transmission method and device |
CN102571892A (en) * | 2010-12-30 | 2012-07-11 | 腾讯科技(深圳)有限公司 | Browser-based data communication method, client and browser-based data interaction system |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101193113A (en) * | 2006-11-29 | 2008-06-04 | 国际商业机器公司 | Content response and content request method and content responder and content requester |
-
2013
- 2013-02-25 CN CN201310059587.9A patent/CN103152410B/en not_active Expired - Fee Related
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102045772A (en) * | 2009-10-21 | 2011-05-04 | 华为技术有限公司 | Data transmission method and device |
CN102571892A (en) * | 2010-12-30 | 2012-07-11 | 腾讯科技(深圳)有限公司 | Browser-based data communication method, client and browser-based data interaction system |
Also Published As
Publication number | Publication date |
---|---|
CN103152410A (en) | 2013-06-12 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103152410B (en) | The method of mobile device downloading data and device | |
CN205005082U (en) | APP balance car controlling means and remote network control system | |
CN202870808U (en) | FPGA realization device of SPI serial port module | |
TW200637256A (en) | Asynchronous network system, information processing apparatus, data-transmission managing method, data-reception managing method, and program | |
RU2014115995A (en) | SYSTEMS AND METHODS OF REMOTE DATA TRANSFER | |
CN107041170B (en) | Data sending method, device and terminal | |
CN105210435B (en) | A kind of data transmission method and device, system | |
CN103746938A (en) | Method and device for transmitting data packet | |
CN108419246A (en) | Network side equipment and its frequency spectrum sharing method | |
US9794077B2 (en) | Control method, device and optical transceiver | |
CN103312824A (en) | Peer-to-peer (P2P) network intelligent speed governing method, device and system | |
JP2009033663A5 (en) | ||
CN108134645A (en) | Radar signal synchronization system | |
CN208768305U (en) | A kind of remote transport gateway based on LoRa technology | |
CN106162577B (en) | A kind of information push method and message pushing equipment | |
CN104243246A (en) | Method and device for Zigbee technology-based FlexRay bus test and optimization | |
CN111132386A (en) | Edge computing gateway based on narrowband Internet of things | |
CN103036804B (en) | The method and system of net control uploading speed | |
WO2014024175A3 (en) | Managing timers | |
CN106658608B (en) | A kind of method and device configuring transmission rate | |
CN109951309B (en) | Electric energy cloud acquisition system network node maintenance method and device | |
CN104022974A (en) | Telegraph keying signal transmission processing system having adjustable acquisition/reception frequencies and method | |
CN203299385U (en) | Gps receiver device | |
US20140029500A1 (en) | Shaping data packet traffic | |
CN104113899B (en) | A kind of terminal device automatically steps power-economizing method and system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant | ||
CP01 | Change in the name or title of a patent holder |
Address after: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18 Patentee after: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd. Address before: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18 Patentee before: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd. |
|
CP01 | Change in the name or title of a patent holder | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20150923 |
|
CF01 | Termination of patent right due to non-payment of annual fee |