CN104092721B - A kind of method and system for downloading resource - Google Patents

A kind of method and system for downloading resource Download PDF

Info

Publication number
CN104092721B
CN104092721B CN201410025471.8A CN201410025471A CN104092721B CN 104092721 B CN104092721 B CN 104092721B CN 201410025471 A CN201410025471 A CN 201410025471A CN 104092721 B CN104092721 B CN 104092721B
Authority
CN
China
Prior art keywords
terminal
resource
downloaded
mark
iidentification
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201410025471.8A
Other languages
Chinese (zh)
Other versions
CN104092721A (en
Inventor
王志华
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Tencent Technology Beijing Co Ltd
Original Assignee
Tencent Technology Beijing Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Tencent Technology Beijing Co Ltd filed Critical Tencent Technology Beijing Co Ltd
Priority to CN201410025471.8A priority Critical patent/CN104092721B/en
Publication of CN104092721A publication Critical patent/CN104092721A/en
Application granted granted Critical
Publication of CN104092721B publication Critical patent/CN104092721B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Information Transfer Between Computers (AREA)

Abstract

The invention discloses a kind of method and system for downloading resource, belong to internet arena.The described method includes:First terminal, which obtains the mark of resource to be downloaded and the terminal iidentification of second terminal and sends downloading request message, gives message forwarding services device, and downloading request message at least carries the mark of resource to be downloaded and the terminal iidentification of second terminal;Message forwarding services device sends downloading request message to second terminal according to the terminal iidentification of second terminal;Second terminal downloads resource to be downloaded according to the mark of resource to be downloaded.The system comprises:First terminal, message forwarding services device and second terminal.The present invention makes terminal download resource to be downloaded in advance, and when user needs to use resource to be downloaded, the resource to be downloaded downloaded can be used directly in terminal;The time of user is so saved, meets the timely demand of user.

Description

A kind of method and system for downloading resource
Technical field
The present invention relates to internet arena, more particularly to a kind of method and system for downloading resource.
Background technology
Currently, almost each user has the experience of the foradownloaded video from internet.User is after work or study Enrich oneself life, often foradownloaded video is watched from internet.
At present, user come foradownloaded video and can be watched by the following two kinds mode, including:
First way, user can first download complete portion's video from internet, then review the video of download.
The second way, user can by the way of side is broadcast below from internet one side foradownloaded video, while viewing Video.
And it is near, many users come off duty or classes are over etc. go back home after, may want to download and watch video.If user uses Video is downloaded and watched to first way, then after user needs first to have waited for downloads video, reviews the video of download, wait Time it is longer.
If downloading and watching video using the second way, when network environment is poor, then can not watch glibly Video.
The content of the invention
In order to save the time of user and meet the timely demand of user, the present invention provides a kind of method for downloading resource And system.The technical solution is as follows:
A kind of method for downloading resource, the described method includes:
First terminal obtains the mark of resource to be downloaded and the terminal iidentification of second terminal;
The first terminal sends downloading request message and gives message forwarding services device, and the downloading request message at least carries The mark of the resource to be downloaded and the terminal iidentification of the second terminal;
The message forwarding services device sends the downloading request message to institute according to the terminal iidentification of the second terminal State second terminal;
The second terminal downloads the resource to be downloaded according to the mark of the resource to be downloaded.
A kind of system for downloading resource, the system comprises:First terminal, message forwarding services device and second terminal;
The first terminal, for obtaining the mark of resource to be downloaded and the terminal iidentification of the second terminal, sends Downloading request message gives the message forwarding services device, and the downloading request message at least carries the mark of the resource to be downloaded Know the terminal iidentification with the second terminal;
The message forwarding services device, for sending the downloading request message according to the terminal iidentification of the second terminal To the second terminal;
The second terminal, the resource to be downloaded is downloaded for the mark according to the resource to be downloaded.
In embodiments of the present invention, first terminal sends terminal iidentification pair of the mark of resource to be downloaded to second terminal The second terminal answered, so that second terminal downloads resource to be downloaded according to the mark of resource to be downloaded.Use first terminal User can download resource to be downloaded in advance by second terminal, can be with when user needs to use resource to be downloaded The resource to be downloaded downloaded is used directly in second terminal;Otherwise, user can only start to download resource to be downloaded And when can just use the resource after having downloaded;So present invention saves the time of user, the timely of user is met Demand.
Brief description of the drawings
Fig. 1 is a kind of method flow diagram for download resource that the embodiment of the present invention 1 provides;
Fig. 2-1 is a kind of method flow diagram for download resource that the embodiment of the present invention 2 provides;
Fig. 2-2 is a kind of prompting frame schematic diagram that the embodiment of the present invention 2 provides;
Fig. 3 is a kind of method flow diagram for download resource that the embodiment of the present invention 3 provides;
Fig. 4 is a kind of system structure diagram for download resource that the embodiment of the present invention 4 provides.
Embodiment
To make the object, technical solutions and advantages of the present invention clearer, below in conjunction with attached drawing to embodiment party of the present invention Formula is described in further detail.
Embodiment 1
Referring to Fig. 1, an embodiment of the present invention provides a kind of method for downloading resource, including:
Step 101:First terminal obtains the mark of resource to be downloaded and the terminal iidentification of second terminal;
Step 102:First terminal sends downloading request message and gives message forwarding services device, and downloading request message at least carries The mark of resource to be downloaded and the terminal iidentification of second terminal;
Step 103:Message forwarding services device is whole to second according to the terminal iidentification of second terminal transmission downloading request message End;
Step 104:Second terminal downloads resource to be downloaded according to the mark of resource to be downloaded.
In embodiments of the present invention, first terminal sends terminal iidentification pair of the mark of resource to be downloaded to second terminal The second terminal answered, so that second terminal downloads resource to be downloaded according to the mark of resource to be downloaded.Use first terminal User can download resource to be downloaded in advance by second terminal, can be with when user needs to use resource to be downloaded The resource to be downloaded downloaded is used directly in second terminal;Otherwise, user can only start to download resource to be downloaded And when can just use the resource after having downloaded;So present invention saves the time of user, the timely of user is met Demand.
Embodiment 2
Referring to Fig. 2-1, an embodiment of the present invention provides a kind of method for downloading resource, including:
Step 201:First terminal obtains the mark of resource to be downloaded, and first terminal is to be connected with message forwarding services device Terminal in any terminal;
Specifically, can be by as follows(A-1)Extremely(A-4)The step of realize, including:
(A-1):First terminal sends the first request message and gives resource index server;Resource index server is used to store The mark of resource, the corresponding resource of mark of resource are stored in Resource Server;
(A-2):Resource index server receives the first request message, by the mark composition resource identification row of the resource of storage Table, sends the resource identifier lists to first terminal;
(A-3):First terminal receives and shows the resource identifier lists that resource index server is sent;
Corresponding first user of first terminal selects the mark of a resource in the resource identifier lists that first terminal is shown Know, and the mark of the resource of selection is submitted into first terminal.
(A-4):First terminal obtains the mark of the resource of the first user selection, and the mark for the resource that the first user is selected Know the mark as resource to be downloaded.
For example, the embodiment of the present invention can be applied to a kind of following scene, current first user is located at company, and it is desirable that returns A video can be watched after family, the first user is controlled positioned at the terminal downloads of the family video by first terminal at this time.First, First user starts first terminal, and first terminal is connected to video index server, sends and is used to obtain video identifier list Request message gives video index server.
Wherein, first terminal can be mobile phone, tablet computer or laptop etc..
Step 202:First terminal obtains the terminal iidentification of second terminal, and second terminal is to be connected with message forwarding services device Terminal in any terminal in addition to first terminal;
Specifically, can be by as follows(B-1)Extremely(B-5)The step of realize, including:
(B-1):First terminal sends the second request message and gives message forwarding services device, and the second request message carries first and uses The user identifier at family;
Wherein, first terminal is already connected to message forwarding services device, and first terminal is being connected to message forwarding services device When the user identifier of the first user is sent to message forwarding services device;Message forwarding services device is by the user identifier of the first user It is stored in the terminal iidentification of first terminal in the correspondence of user identifier and terminal iidentification.For other each terminals, together First terminal is the same to be connected to message forwarding services device in a manner described.
(B-2):Message forwarding services device receives the second request message, the first user's carried according to the second request message User identifier, obtains corresponding terminal iidentification;
Specifically, message forwarding services device receives the second request message, the first user carried according to the second request message User identifier, obtain corresponding terminal iidentification in the correspondence from stored user identifier with terminal iidentification.
(B-3):Message forwarding services device removes the terminal iidentification of first terminal from the terminal iidentification of acquisition, will be remaining Terminal iidentification compositing terminal identification list, and it is sent to first terminal;
(B-4):First terminal receives and display terminal identification list;
First user selects a terminal iidentification in the terminal identification list that first terminal is shown, and submits to first eventually End.
(B-5):First terminal obtains the terminal iidentification of the first user selection, and the terminal iidentification of the first user selection is made For the terminal iidentification of second terminal.
For example, first terminal is connected to message forwarding services device, message forwarding services device is sent a request message to, the request Message is used for the identification list for obtaining the terminal for connecting the message forwarding services device, it is assumed that the terminal identification list includes 4 ends The terminal iidentification at end, be respectively the terminal iidentification ID1 of terminal 1, the terminal iidentification ID2 of terminal 2, terminal 3 terminal iidentification ID3 and The terminal iidentification ID4 of terminal 4, and the first user selects the terminal mark of terminal 4 in the terminal identification list that first terminal is shown Know ID4, first terminal obtains the terminal iidentification ID4 of the terminal 4 of the first user selection, regard the terminal iidentification ID4 of terminal 4 as the The terminal iidentification of two terminals.
Step 203:First terminal sends downloading request message and carries to be downloaded to second terminal, the downloading request message The mark of resource and the terminal iidentification of second terminal;
This step can be completed by following first way or the second way, including:
First way, first terminal directly transmit downloading request message to second according to the terminal iidentification of second terminal Terminal.Or,
The second way, first terminal send downloading request message to second terminal by message forwarding services device.
, can be by as follows for the above-mentioned second way(C-1)With(C-2)Two steps realize, including:
(C-1):First terminal sends downloading request message and gives message forwarding services device, which carries and treat down The mark of the resource of load and the terminal iidentification of second terminal;
(C-2):Message forwarding services device receives the downloading request message, obtains the second end that the downloading request message includes The terminal iidentification at end, and the downloading request message is transmitted to by second terminal according to the terminal iidentification of second terminal.
Further, which can also carry download time stamp, so that second terminal is receiving download After request message, start to download resource to be downloaded in download time stamp according to the mark of resource to be downloaded.
Step 204:Second terminal receives the downloading request message that first terminal is sent;
After second terminal receives downloading request message, a prompting frame is shown, which includes being used to prompt first Terminal request downloads prompt message, the first button and the second button of resource to be downloaded, and the first button is used to inputting refusal the The refusal order of one user request, the second button are used to input the approval command for agreeing to the first user request.
For example, after second terminal receives downloading request message, a prompting frame as shown in Fig. 2-2, the prompting frame are shown " whether agree to download to be downloaded regard including the prompt message for prompting first terminal request to download video to be downloaded Frequently", " agreement " button and " refusal " button.
If second terminal is used by second user, and second user disagrees the request of the first user, then second User is whole to second by clicking on the input refusal order of the first button in the preset time after second terminal shows the prompting frame End, preset time can be 1 minute or 2 minutes etc..Second terminal receives the refusal order, sends the first notification message to first Terminal, the first notification message are used to notify the first user that its request is refused by second user.
If second user is with the request for being intended to the first user, second user is after second terminal shows the prompting frame Approval command is inputted to second terminal by clicking on the second button in preset time.Second terminal receives the approval command, sends To first terminal, second notification message is used to notify the first user that its request is agreed to by second user second notification message.
If second terminal is not used by a user, second terminal waits after showing the prompting frame, when the time of wait When reaching preset time, third notice message is sent to first terminal, and third notice message is used to notify the first user second eventually The end resource to be downloaded with its download is meant.
Step 205:The mark for the resources to be downloaded that second terminal is carried according to downloading request message downloads money to be downloaded Source.
Specifically, it is to be downloaded to Resource Server, downloading request message carrying to send downloading request message for second terminal Resource mark;Resource Server receives the downloading request message, the mark of resource to be downloaded is obtained, according to be downloaded The mark of resource obtains resource to be downloaded, sends the resource of acquisition to second terminal;Second terminal receives Resource Server hair The resource sent.
Wherein, if downloading request message also carries download time stamp, second terminal is according to the mark of resource to be downloaded Know and start to download resource to be downloaded in download time stamp.
For example, download time stamp is 16:00, second terminal is according to the mark of video to be downloaded 16:00 starts to download Video to be downloaded.
If downloading request message does not carry download time stamp, first terminal, which can also be sent, starts download instruction to second Terminal, second terminal receive this and start download instruction, then download resource to be downloaded according to the mark of resources to be downloaded.
Preferably, first terminal, which is sent, starts download instruction to second terminal, can pass through following first way or the Two kinds of modes are completed, including:
First way, first terminal directly transmit according to the terminal iidentification of second terminal and start download instruction to second Terminal.Or,
The second way, first terminal is sent by message forwarding services device starts download instruction to second terminal.
, can be by as follows for the above-mentioned second way(D-1)With(D-2)Two steps realize, including:
(D-1):First terminal sends beginning download instruction and gives message forwarding services device, this starts download instruction and carries second The terminal iidentification of terminal;
(D-2):Message forwarding services device receives this and starts download instruction, obtains this and starts the second end that download instruction includes The terminal iidentification at end, and this is started by download instruction according to the terminal iidentification of second terminal and is transmitted to second terminal.
Further, when second terminal starts to download resource to be downloaded, the 4th notification message is sent to first terminal, 4th notification message is used to start to download resource to be downloaded to first terminal notice second terminal.Second terminal is treated in download Download progress periodically can be fed back into first terminal during downloading resource;Wherein, feedback cycle can be 10 minutes, 15 minutes or 20 minutes etc., the present invention was not limited this.
Optionally, when second terminal has downloaded resource to be downloaded, according to the terminal iidentification of first terminal, send and download Complete resource to be downloaded is to first terminal.
For example, when second terminal receives beginning download instruction, second terminal is opened according to the mark of video to be downloaded Begin to download video to be downloaded, while a download progress was fed back to first terminal every 15 minutes.
In embodiments of the present invention, the mark of first terminal transmission resource to be downloaded is to second terminal, so that second is whole Resource to be downloaded is downloaded at end according to the mark and download instruction of resource to be downloaded, or is existed according to the mark of resource to be downloaded Download time stamp downloads resource to be downloaded, and in downloading process periodic feedback download progress to first terminal so that first User knows download progress.Resource to be downloaded can be downloaded in advance by second terminal using the first user of first terminal, When the first user needs to use resource to be downloaded, the money to be downloaded downloaded can be used directly in second terminal Source;Otherwise, the first user can only start to download resource to be downloaded and when can just use the resource after having downloaded;So Present invention saves the time of user, the timely demand of user is met.
Embodiment 3
Referring to Fig. 3, an embodiment of the present invention provides a kind of method for downloading resource, including:
Step 301:First terminal obtains the mark of resource to be downloaded, and first terminal is to be connected with message forwarding services device Terminal in any terminal;
Specifically, can be by as follows(A-1)Extremely(A-4)The step of realize, including:
(A-1):First terminal sends the first request message and gives resource index server;Resource index server is used to store The mark of resource, the corresponding resource of mark of resource are stored in Resource Server;
(A-2):Resource index server receives the first request message, by the mark composition resource identification row of the resource of storage Table, sends the resource identifier lists to first terminal;
(A-3):First terminal receives and shows the resource identifier lists that resource index server is sent;
Corresponding first user of first terminal selects the mark of a resource in the resource identifier lists that first terminal is shown Know, and the mark of the resource of selection is submitted into first terminal.
(A-4):First terminal obtains the mark of the resource of the first user selection, and the mark for the resource that the first user is selected Know the mark as resource to be downloaded.
Step 302:First terminal obtains each resource block in resource to be downloaded according to the mark of resource to be downloaded Mark;
Specifically, first terminal sends the second request message and gives resource index server, and the second request message is carried and treated down The mark of the resource of load;Resource index server receives the second request message, according to the mark of resource to be downloaded, from having stored The mark of resource to be downloaded with obtaining money to be downloaded in the correspondence of the mark of the resource block in resource to be downloaded The mark of resource block in source, first terminal is sent to by the mark of the resource block in the resource to be downloaded of acquisition;First eventually End receives the mark of the resource block in resource to be downloaded.
Step 303:First terminal obtains the terminal iidentification of second terminal and the terminal iidentification of at least one third terminal, the Two terminals are any terminal in addition to first terminal in the terminal that is connected with message forwarding services device, and third terminal is and message Any terminal in the terminal of forwarding server connection in addition to first terminal and second terminal;
Specifically, can be by as follows(B-1)Extremely(B-5)The step of realize, including:
(B-1):First terminal sends the 3rd request message and gives message forwarding services device, and the 3rd request message carries first and uses The user identifier at family;
Wherein, first terminal is already connected to message forwarding services device, and first terminal is being connected to message forwarding services device When the user identifier of the first user is sent to message forwarding services device;Message forwarding services device is by the user identifier of the first user It is stored in the terminal iidentification of first terminal in the correspondence of user identifier and terminal iidentification.For other each terminals, together First terminal is the same to be connected to message forwarding services device in a manner described.
(B-2):Message forwarding services device receives the 3rd request message, the first user's carried according to the 3rd request message User identifier, obtains corresponding terminal iidentification;
Specifically, message forwarding services device receives the 3rd request message, the first user carried according to the 3rd request message User identifier, obtain corresponding terminal iidentification in the correspondence from stored user identifier with terminal iidentification.
(B-3):Message forwarding services device removes the terminal iidentification of first terminal from the terminal iidentification of acquisition, will be remaining Terminal iidentification compositing terminal identification list, and it is sent to first terminal;
Terminal in terminal identification list can be the terminal that one family network includes, and the terminal that home network includes can Think smart television, computer and mobile phone etc..
(B-4):First terminal receives and display terminal identification list;
First user selects a terminal iidentification in the terminal identification list that first terminal is shown, and submits to first eventually End;First user selects at least one terminal iidentification in the terminal identification list that first terminal is shown again, and submits to first Terminal.
(B-5):The terminal iidentification and select for second at least one that first terminal the first user of acquisition selects for the first time Terminal iidentification, and the terminal iidentification using the terminal iidentification of the first user selection for the first time as second terminal, by the first user the Terminal iidentification of at least one terminal iidentification of second selecting as third terminal.
The smart television that first user can include home network is selected as second terminal, will be wrapped in home network Other the one or more terminals included are selected as third terminal.
For example, first terminal is connected to message forwarding services device, message forwarding services device is sent a request message to, the request Message is used for the identification list for obtaining the terminal for connecting the message forwarding services device, it is assumed that the terminal identification list includes 4 ends The terminal iidentification at end, be respectively the terminal iidentification ID1 of terminal 1, the terminal iidentification ID2 of terminal 2, terminal 3 terminal iidentification ID3 and The terminal iidentification ID4 of terminal 4, and the first user selects the terminal mark of terminal 4 in the terminal identification list that first terminal is shown Know ID4 and submit to first terminal, then the first user selects the end of terminal 1 in the terminal identification list that first terminal is shown The end mark ID1 and mark ID3 of terminal 3 simultaneously submits to first terminal;First terminal obtains the end of the terminal 4 of the first user selection End mark ID4, the terminal iidentification using the terminal iidentification ID4 of terminal 4 as second terminal, and obtain the end of the first user selection The terminal iidentification ID1 at the end 1 and terminal iidentification ID3 of terminal 3, by the terminal iidentification ID1 of terminal 1 and the terminal iidentification ID3 of terminal 3 Terminal iidentification as each third terminal.
Step 304:First terminal distributes corresponding resource block for second terminal and each third terminal;
Specifically, first terminal by the mark for each resource block that resource to be downloaded includes distribute to second terminal and Each third terminal in each third terminal.
Step 305:First terminal sends downloading request message and gives message forwarding services device, and downloading request message is carried and treated down The mark of the resource of load, the terminal iidentification of second terminal, the identifying of the corresponding resource block of second terminal, the end of each third terminal End identifies the mark of resource block corresponding with each third terminal;
Further, which can also carry download time stamp, so that second terminal and each 3rd is eventually End after downloading request message is received, according to the mark of corresponding resource block download time stamp start to download it is to be downloaded Resource in resource block.
Step 306:Message forwarding services device receives the downloading request message, sends the downloading request message to second terminal With each third terminal;
Specifically, message forwarding services device receives the downloading request message, and obtains second from the downloading request message The terminal iidentification of the terminal iidentification of terminal and each third terminal, disappears download request according to the terminal iidentification of each third terminal Breath is sent respectively to each third terminal, and downloading request message is sent to second terminal according to the terminal iidentification of second terminal.
Step 307:Second terminal receives downloading request message;
Step 308:Second terminal is downloaded according to the mark of the mark resource block corresponding with itself of resource to be downloaded and treated Resource block in the resource of download;
Specifically, it is to be downloaded to Resource Server, downloading request message carrying to send downloading request message for second terminal The mark of resource and the mark of the corresponding resource block of second terminal;Resource Server receives the downloading request message, from this under Carry request message and obtain the mark of resource and the mark of resource block to be downloaded, according to the mark of resource to be downloaded and the resource The mark of block obtains the resource block, sends the resource block to second terminal;Second terminal receives the resource that Resource Server is sent Block.
Wherein, if downloading request message also carries download time stamp, second terminal is according to itself corresponding resource block Mark download time stamp start to download resource to be downloaded in resource block.
For example, download time stamp is 16:00, second terminal is according to the mark of itself corresponding video block 16:00 starts Download the video block in video to be downloaded.
Further, when second terminal starts to download the resource block in resource to be downloaded, the 4th notification message is sent To first terminal, the 4th notification message is used to start to download the money in resource to be downloaded to first terminal notice second terminal Source block.Second terminal periodically can feed back to download progress during the resource block in downloading resource to be downloaded First terminal;Wherein, feedback cycle can be 10 minutes, 15 minutes or 20 minutes etc., and the present invention is not limited this.
For example, when second terminal starts to download the video in video to be downloaded according to the mark of itself corresponding video block During block, second terminal fed back a download progress every 15 minutes to first terminal.
Step 309:Third terminal receives downloading request message;
Step 310:Third terminal is downloaded according to the mark of the mark resource block corresponding with itself of resource to be downloaded and treated Resource block in the resource of download;
Specifically, it is to be downloaded to Resource Server, downloading request message carrying to send downloading request message for third terminal The mark of resource and the mark of the corresponding resource block of third terminal;Resource Server receives the downloading request message, from this under Carry request message and obtain the mark of resource and the mark of resource block to be downloaded, according to the mark of resource to be downloaded and the resource The mark of block obtains the resource block, sends the resource block to third terminal;Third terminal receives the resource that Resource Server is sent Block.
Wherein, if downloading request message also carries download time stamp, third terminal is according to itself corresponding resource block Mark download time stamp start to download resource to be downloaded in resource block.
For example, download time stamp is 16:00, third terminal is according to the mark of itself corresponding video block 16:00 starts Download the video block in video to be downloaded.
Further, when third terminal starts to download the resource block in resource to be downloaded, the 5th notification message is sent To first terminal, the 5th notification message is used to start to download the money in resource to be downloaded to first terminal notice third terminal Source block.Third terminal periodically can feed back to download progress during the resource block in downloading resource to be downloaded First terminal;Wherein, feedback cycle can be 10 minutes, 15 minutes or 20 minutes etc., and the present invention is not limited this.
For example, when third terminal starts to download the video in video to be downloaded according to the mark of itself corresponding video block During block, third terminal fed back a download progress every 15 minutes to first terminal.
Step 311:Third terminal sends the resource block downloaded to second terminal;
Other each third terminals equally perform operation of the above-mentioned steps 309 to step 311 with the third terminal, herein Just do not describe in detail one by one.
Step 312:Second terminal receives the resource block that third terminal is sent, and the resource block of reception is downloaded with itself Resource block forms resource to be downloaded.
, wherein it is desired to explanation, if downloading request message does not carry download time stamp, first terminal can also be sent Start download instruction and give message forwarding services device, this starts download instruction and carries the terminal iidentification and each 3rd of second terminal eventually The terminal iidentification at end, message forwarding services device, will according to the terminal iidentification of second terminal and the terminal iidentification of each third terminal Start download instruction and be sent to second terminal and each third terminal, second terminal starts to download it after receiving beginning download instruction Corresponding resource block, each third terminal start to download its corresponding resource block after receiving beginning download instruction.
In embodiments of the present invention, second terminal and each third terminal can be passed through using the first user of first terminal Download resource to be downloaded in advance, the mark of the resource block in resource to be downloaded is sent to second terminal and every by first terminal A third terminal, so that second terminal and each third terminal download the resource block in resource to be downloaded, second terminal respectively The resource block that the resource block itself downloaded and each third terminal are downloaded is formed into resource to be downloaded again.By resource to be downloaded In resource block distribute to different terminals and download at the same time, reduce the time for downloading resource to be downloaded, when the first user needs When using resource to be downloaded, the resource to be downloaded downloaded, otherwise, first can be used directly in second terminal User can only start to download resource to be downloaded and can just use the resource afterwards when having downloaded, so present invention saves The time of user, meets the timely demand of user.
Embodiment 4
Referring to Fig. 4, an embodiment of the present invention provides a kind of system for downloading resource, including the forwarding of first terminal 401, message Server 402 and second terminal 403;
First terminal 401, for obtaining the mark of resource to be downloaded and the terminal iidentification of second terminal, sends to download and asks Message is asked to give message forwarding services device, downloading request message at least carries the mark of resource to be downloaded and the terminal of second terminal Mark;
Message forwarding services device 402, it is whole to second for sending downloading request message according to the terminal iidentification of second terminal End;
Second terminal 403, resource to be downloaded is downloaded for the mark according to resource to be downloaded.
Further, system further includes at least one third terminal;
First terminal 401, for obtaining each resource block in resource to be downloaded according to the mark of resource to be downloaded Mark, obtains the terminal iidentification of at least one third terminal, is each 3rd in second terminal and at least one third terminal Terminal distributes corresponding resource block respectively, sends downloading request message and gives message forwarding services device, downloading request message is carried and treated The mark of the resource of download, the terminal iidentification of second terminal, the identifying of the corresponding resource block of second terminal, each third terminal The mark of terminal iidentification and the corresponding resource block of each third terminal.
Further, message forwarding services device 402, is additionally operable to download request according to the terminal iidentification of each third terminal Message is sent respectively to each third terminal, makes mark and corresponding money of each third terminal according to resource to be downloaded The mark of source block downloads corresponding resource block respectively;
Second terminal 403, is additionally operable to the mark of mark resource block corresponding with its according to resource to be downloaded, downloads it Corresponding resource block, receives the resource block that each third terminal is sent, the resource block being downloaded and the resource block composition received Resource to be downloaded.
Preferably, first terminal 401, take for sending the request message for being used to obtain resource identifier lists to resource index Business device, receives the resource identifier lists that resource index server is sent, and receives the resource that user selects in resource identifier lists Mark and as the mark of resource to be downloaded.
Preferably, first terminal 401, clothes are forwarded for sending the request message for being used to obtain terminal identification list to message Business device, receives the terminal identification list that message forwarding services device is sent, and terminal identification list includes connection message forwarding server Terminal terminal iidentification, receive the terminal iidentification of terminal that user selects in terminal identification list.
Preferably, downloading request message further includes download time stamp, so that second terminal starts to download in download time stamp Resource to be downloaded.
Further, first terminal 401, are additionally operable to transmission beginning download instruction and give message forwarding services device, start to download Instruction carries the terminal iidentification of second terminal;
Message forwarding services device 402, is additionally operable to receive beginning download instruction and is transmitted to the terminal iidentification pair of second terminal The second terminal answered;
Second terminal 403, is additionally operable to receive beginning download instruction, and starts to be downloaded according to the mark of resource to be downloaded and treat The resource of download.
In embodiments of the present invention, first terminal sends terminal iidentification pair of the mark of resource to be downloaded to second terminal The second terminal answered, so that second terminal downloads resource to be downloaded according to the mark of resource to be downloaded.Use first terminal User can download resource to be downloaded in advance by second terminal, can be with when user needs to use resource to be downloaded The resource to be downloaded downloaded is used directly in second terminal;Otherwise, user can only start to download resource to be downloaded And when can just use the resource after having downloaded;So present invention saves the time of user, the timely of user is met Demand.
One of ordinary skill in the art will appreciate that hardware can be passed through by realizing all or part of step of above-described embodiment To complete, relevant hardware can also be instructed to complete by program, the program can be stored in a kind of computer-readable In storage medium, storage medium mentioned above can be read-only storage, disk or CD etc..
The foregoing is merely presently preferred embodiments of the present invention, is not intended to limit the invention, it is all the present invention spirit and Within principle, any modification, equivalent replacement, improvement and so on, should all be included in the protection scope of the present invention.

Claims (10)

  1. A kind of 1. method for downloading resource, it is characterised in that the described method includes:
    First terminal obtains the mark of resource to be downloaded and the terminal iidentification of second terminal;
    The first terminal obtains each resource block in the resource to be downloaded according to the mark of the resource to be downloaded Mark;
    The first terminal obtains the terminal iidentification of at least one third terminal, is the second terminal and described at least one the Each third terminal in three terminals distributes corresponding resource block respectively;
    The first terminal sends downloading request message and gives message forwarding services device, is treated down described in the downloading request message carrying The identifying of the resource of load, the terminal iidentification of the second terminal, the corresponding resource block of the second terminal identify, described each The mark of the terminal iidentification of third terminal and the corresponding resource block of each third terminal;
    The message forwarding services device sends the downloading request message to described the according to the terminal iidentification of the second terminal Two terminals;
    The message forwarding services device sends out the downloading request message according to the terminal iidentification of each third terminal respectively Each third terminal is given, makes each third terminal according to the mark of the resource to be downloaded and corresponding The mark of resource block downloads corresponding resource block respectively;
    It is corresponding to download its according to the mark of mark resource block corresponding with its of the resource to be downloaded for the second terminal Resource block;
    The second terminal receives the resource block that each third terminal is sent, the resource block being downloaded and the resource received Block forms resource to be downloaded.
  2. 2. the method as described in claim 1, it is characterised in that the first terminal obtains the mark of resource to be downloaded, bag Include:
    The first terminal sends the request message for being used to obtain resource identifier lists and gives resource index server;
    The first terminal receives the resource identifier lists that the resource index server is sent;
    The first terminal receives the mark for the resource that user selects in the resource identifier lists and as money to be downloaded The mark in source.
  3. 3. the method as described in claim 1, it is characterised in that the first terminal obtains the terminal iidentification of second terminal, bag Include:
    The first terminal sends the request message for being used to obtain terminal identification list and gives message forwarding services device;
    The first terminal receives the terminal identification list that the message forwarding services device is sent, and the terminal identification list includes Connect the terminal iidentification of the terminal of the message forwarding services device;
    The first terminal receives the terminal iidentification for the terminal that user selects in the terminal identification list.
  4. 4. the method as described in claim 1, it is characterised in that the downloading request message further includes download time stamp, so that The second terminal starts to download its corresponding resource block in download time stamp.
  5. 5. the method as described in claim 1, it is characterised in that the first terminal sends downloading request message and forwarded to message After server, further include:
    The first terminal, which is sent, starts download instruction to the message forwarding services device, described to start described in download instruction carrying The terminal iidentification of second terminal;
    The message forwarding services device receives the terminal iidentification for starting download instruction and being transmitted to the second terminal and corresponds to Second terminal;
    The second terminal receives the beginning download instruction, and starts according to the mark of the resource to be downloaded and its correspondence Resource block mark, download its corresponding resource block.
  6. A kind of 6. system for downloading resource, it is characterised in that the system comprises:First terminal, message forwarding services device, second Terminal and at least one third terminal;
    The first terminal, for obtaining the mark of resource to be downloaded and the terminal iidentification of the second terminal;According to described The mark of resource to be downloaded obtains the mark of each resource block in the resource to be downloaded, obtains at least one third terminal Terminal iidentification, be the second terminal and at least one third terminal in each third terminal distribute respectively it is corresponding Resource block, sends downloading request message and gives message forwarding services device, the downloading request message carries the resource to be downloaded Identify, the identifying of the terminal iidentification of the second terminal, the corresponding resource block of the second terminal, each third terminal Terminal iidentification and each corresponding resource block of third terminal mark;
    The message forwarding services device, for sending the downloading request message to institute according to the terminal iidentification of the second terminal State second terminal;
    The message forwarding services device, is additionally operable to the downloading request message according to the terminal iidentification of each third terminal Each third terminal is sent respectively to, makes each third terminal according to the mark of the resource to be downloaded and each The mark of corresponding resource block downloads corresponding resource block respectively;
    The second terminal, for the mark of mark resource block corresponding with its according to the resource to be downloaded, downloads it Corresponding resource block, receives the resource block that each third terminal is sent, the resource block being downloaded and the resource block received Form resource to be downloaded.
  7. 7. system as claimed in claim 6, it is characterised in that
    The first terminal, gives resource index server for sending the request message for being used to obtain resource identifier lists, receives The resource identifier lists that the resource index server is sent, receive the resource that user selects in the resource identifier lists Identify and be used as the mark of the resource to be downloaded.
  8. 8. system as claimed in claim 6, it is characterised in that
    The first terminal, gives message forwarding services device for sending the request message for being used to obtain terminal identification list, receives The terminal identification list that the message forwarding services device is sent, the terminal identification list include connecting the message forwarding services The terminal iidentification of the terminal of device, receives the terminal iidentification for the terminal that user selects in the terminal identification list.
  9. 9. system as claimed in claim 6, it is characterised in that the downloading request message further includes download time stamp, so that The second terminal starts to download its corresponding resource block in download time stamp.
  10. 10. system as claimed in claim 6, it is characterised in that
    The first terminal, is additionally operable to send beginning download instruction to the message forwarding services device, the beginning download instruction Carry the terminal iidentification of the second terminal;
    The message forwarding services device, is additionally operable to receive the beginning download instruction and is transmitted to the terminal mark of the second terminal Know corresponding second terminal;
    The second terminal, is additionally operable to receive the beginning download instruction, and starts the mark according to the resource to be downloaded The mark of resource block corresponding with its, downloads its corresponding resource block.
CN201410025471.8A 2014-01-20 2014-01-20 A kind of method and system for downloading resource Active CN104092721B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410025471.8A CN104092721B (en) 2014-01-20 2014-01-20 A kind of method and system for downloading resource

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410025471.8A CN104092721B (en) 2014-01-20 2014-01-20 A kind of method and system for downloading resource

Publications (2)

Publication Number Publication Date
CN104092721A CN104092721A (en) 2014-10-08
CN104092721B true CN104092721B (en) 2018-05-11

Family

ID=51640401

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410025471.8A Active CN104092721B (en) 2014-01-20 2014-01-20 A kind of method and system for downloading resource

Country Status (1)

Country Link
CN (1) CN104092721B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106911654A (en) * 2015-12-23 2017-06-30 北京奇虎科技有限公司 A kind of data download method and device
CN106060111A (en) * 2016-05-09 2016-10-26 乐视控股(北京)有限公司 Resource downloading method and device and terminal device
CN107689994A (en) * 2017-08-29 2018-02-13 环球智达科技(北京)有限公司 A kind of mission bit stream processing method

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1825800A (en) * 2005-08-17 2006-08-30 深圳华为移动通信技术有限公司 Load method, load system and mobile station using load method
CN101184110A (en) * 2007-12-19 2008-05-21 深圳市迅雷网络技术有限公司 Resource download method, system and device
CN103384275A (en) * 2013-07-19 2013-11-06 贝壳网际(北京)安全技术有限公司 Cross-terminal downloading method, system cloud server and terminal

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7290066B2 (en) * 2004-03-18 2007-10-30 Lsi Corporation Methods and structure for improved transfer rate performance in a SAS wide port environment
CN102244668A (en) * 2010-05-14 2011-11-16 技嘉科技股份有限公司 Network communication device and applicable data transmission method thereof
CN103139173B (en) * 2011-11-30 2016-06-22 中国联合网络通信集团有限公司 Terminal unit, exchange network system, media business method for down loading and system

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1825800A (en) * 2005-08-17 2006-08-30 深圳华为移动通信技术有限公司 Load method, load system and mobile station using load method
CN101184110A (en) * 2007-12-19 2008-05-21 深圳市迅雷网络技术有限公司 Resource download method, system and device
CN103384275A (en) * 2013-07-19 2013-11-06 贝壳网际(北京)安全技术有限公司 Cross-terminal downloading method, system cloud server and terminal

Also Published As

Publication number Publication date
CN104092721A (en) 2014-10-08

Similar Documents

Publication Publication Date Title
CN107911437B (en) Screen sharing method and device, electronic equipment and storage medium
CN102665114B (en) Method, apparatus and system for intelligent device interaction
CN101394537B (en) Mobile phone television terminal implementing interactive chat and implementation method thereof
CN110891123B (en) Interactive information transmission method and device
CN103023916B (en) The resource share method of multimedia terminal
CN105208434A (en) Media projection method, media projection equipment, control terminal, and cloud server
CN102984213B (en) A kind of method of information sharing, Apparatus and system
CN101877719B (en) Method, system and B2BUA for realizing television interaction at mobile terminal
CN104092721B (en) A kind of method and system for downloading resource
CN104253872B (en) Synchronizing information update method, system and terminal
CN111147337A (en) Network distribution method of third-party equipment, terminal equipment and computer readable storage medium
CN109428738B (en) Dynamic filtering method for group communication
CN105095770A (en) Method and device for multi-screen interaction of multimedia resource
CN108199932A (en) Control method, server and the computer readable storage medium of home appliance
RU2392757C2 (en) Device, method and computer software for delivering service indicator for first broadcast/multicast system as program for second broadcast/multicast system
CN107786415B (en) Service processing method and related equipment and system
CN105959732A (en) Method and device for pushing television program
CN104202652A (en) Television set top box and playback control method thereof
CN105791736A (en) Inter-terminal communication method and device and video talkback platform
CN106656740A (en) Method for establishing friendly relationships, equipment and server
CN103546815A (en) Television social interaction system and implementation method thereof
CN114143586A (en) Split screen display sharing method, system, storage medium and intelligent screen
CN101646054A (en) System and method of IPTV terminal switched among a plurality of EPG servers
CN103957111B (en) Multimedia supplying system based on instant messaging
CN107529066B (en) The playing method and device of video

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant