CN101540784B - File download method, download response server and file sever - Google Patents

File download method, download response server and file sever Download PDF

Info

Publication number
CN101540784B
CN101540784B CN 200910082306 CN200910082306A CN101540784B CN 101540784 B CN101540784 B CN 101540784B CN 200910082306 CN200910082306 CN 200910082306 CN 200910082306 A CN200910082306 A CN 200910082306A CN 101540784 B CN101540784 B CN 101540784B
Authority
CN
China
Prior art keywords
download
file
terminal
chained address
force
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
CN 200910082306
Other languages
Chinese (zh)
Other versions
CN101540784A (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.)
China United Network Communications Group Co Ltd
Original Assignee
China United Network Communications Group 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 China United Network Communications Group Co Ltd filed Critical China United Network Communications Group Co Ltd
Priority to CN 200910082306 priority Critical patent/CN101540784B/en
Publication of CN101540784A publication Critical patent/CN101540784A/en
Application granted granted Critical
Publication of CN101540784B publication Critical patent/CN101540784B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Information Transfer Between Computers (AREA)

Abstract

The invention discloses a file download method, a terminal, a download response server and a file sever; wherein the file download method comprises the following steps of: sending a download request message to the download response server; receiving a link address of a forced download file returned by the download response server or a link address of a file description table; and downloading the file according to the link address of the forced download file or the link address of the file description table. The file download method, the terminal, the download response server and the file sever meet download requirements of the terminal to different files and realize part of management of the terminal to file download.

Description

Document down loading method and terminal, download response server, file server
Technical field
The present invention relates to the communication technology, particularly a kind of document down loading method and terminal, download response server, file server.
Background technology
The file of prior art is downloaded and is mainly used in the download system file to carry out the software upgrading of terminal equipment.Current software upgrading mainly comprises the subsidiary software upgrading of specific transactions platform, such as TV broadcasting service (the Internet Protocol Television based on the IP agreement, hereinafter to be referred as: IPTV) the subsidiary software upgrading function of business platform, and the software upgrading under the remote management platform.Existing method for upgrading software generally all is the upgrading of the passive reception software version of terminal, and whole process is finished automatically by the terminal backstage.Fig. 1 is the flow chart of prior art method for upgrading software, and as shown in Figure 1, the software upgrading flow process of prior art mainly may further comprise the steps:
Step 101, terminal send to download response server and download connection request.Download response server is the response unit that file is downloaded, and can be the part of terminal remote management system, also can be that the file that is embedded in the business platform is downloaded the response part, and its function is suitable.This download response server can be according to the strategy file download command of initiating terminal initiatively, file download request that also can response terminal.
Step 102, download response server return to download to connect to terminal and reply, and show to connect correctly.Terminal is set up to download with download response server and is connected.
Step 103, after correctly connecting, terminal is sent empty a connection to download response server again.
Step 104, download response server send the version querying request to terminal, and inquiry terminal device software version information is in order to judge whether need to be to this terminal staging.Download response server also can further be inquired about the other-end attribute.
Step 105, terminal send the version querying result to download response server, such as the software version descriptor of terminal equipment.Terminal also can send to download response server the other-end attribute of its requesting query in step 104.The step of this inquiry terminal software version can be omitted.
Step 106, download response server send Download Info to terminal.
In the situation of above-mentioned inquiry terminal software version, download response server compares the terminal software version that inquires and the recent software version in the file server, and judging whether need to be to this terminal staging; Only at needs during to this terminal staging, download response server just sends Download Info to terminal, and normally (Uniform Resource Locator is hereinafter to be referred as URL) chained address for the URL(uniform resource locator) of update version document.If omit step 104 and 105, namely do not carry out the query manipulation of terminal software version, then download response server is not done above-mentioned judgement, directly terminal is carried out the software release upgrade operation.
Step 107, terminal are returned the download response message to download response server.Behind the correct reception of terminal and the parsing Download Info, connect according to this URL chained address and file server, finish the download of update version document, and return replying of successfully receiving to download response server.
Step 108, terminal are according to the Download Info that obtains, reorientation is connected to file server, use HTML (Hypertext Markup Language) (Hyper Text Transfer Protocol, hereinafter to be referred as: HTTP) or file transfer protocol (FTP) (File Transfer Protocol, hereinafter to be referred as: FTP) set up download and connect download file.
Step 109, terminal downloads file finish and successful Application after, send to download to download response server and finish notice.
Step 110, download response server return to download to finish to terminal and reply.Download response server provides and replys after notice is finished in the download that receives the terminal transmission.If necessary, can again carry out the operation of terminal device software version querying, judge whether software application is correct.So far, the upgrading flow process is finished end session.
The file of prior art is downloaded the file download demand that flow process is difficult to adapt to terminal, mainly there is following defective in it: it is less that the file of prior art is downloaded Downloadable file extent, substantially be limited in the download of equipment software upgrading file, general file download problem to terminal does not have clear and definite discussion, and whole process does not allow the user to participate in.But, raising along with Intelligent Terminal, terminal is downloaded file and has been proposed more complicated requirement, the file of terminal is downloaded expanded demand on the one hand, not only be limited in the download of equipment software upgrading file, also may there be simultaneously other further demands, such as the executable program that needs can move under the download terminal platform (such as Java game), even other general files such as media file, text; On the other hand, terminal wishes to obtain the part management function of software upgrading, and does not wish fully passive accepting device software upgrading; But obtain outside the part administration authority in terminal, also need to keep force download to guarantee the immediately up-to-date of device version.
Existing software upgrading mode is applicable to the download of Single document or a small amount of upgrade file, generally be with unified download the after the upgrade file packing compression, but might occur download to omit and cause and to use for the multifile form, therefore, existing method for upgrading software can not be supported or support very poor to the upgrade file of multifile form of not packing.To sum up, the document down loading method range of application of prior art is less, and all is force download, and what user file was downloaded is personalized not enough.
Summary of the invention
The invention provides a kind of document down loading method and terminal, download response server, file server, download the problem of the little and personalized deficiency of scope in order to solve the prior art File, satisfy the download demand of terminal to Miscellaneous Documents, and realized the part management that terminal is downloaded file.
The invention provides a kind of document down loading method, comprising:
Send downloading request message to download response server, carry the download sign for sign download file type in the described downloading request message;
Receive described download response server and identify the chained address of the force download file that returns or the chained address of file description table according to described download; The chained address that comprises optional download file in the described file description table, described optional download file comprises non-key edition upgrading file, executable program, media file and text;
According to the chained address of described force download file or the chained address of file description table, carry out file and download.
The present invention provides again a kind of document down loading method, comprising:
The downloading request message that receiving terminal sends is carried the download sign for sign download file type in the described downloading request message;
If described download is designated the force download sign, then return the download response message to described terminal, the chained address of carrying the force download file in the described download response message;
If described download is designated optional download sign, then return the download response message to described terminal, the chained address of carrying file description table in the described download response message comprises the chained address of optional download file in the described file description table; Described optional download file comprises non-key edition upgrading file, executable program, media file and text.
The invention provides a kind of terminal, comprising:
The first sending module is used for sending downloading request message to download response server, carries the download sign for sign download file type in the described downloading request message;
The first receiver module is used for receiving described download response server and identifies the chained address of the force download file that returns or the chained address of file description table according to described download; The chained address that comprises optional download file in the described file description table, described optional download file comprises non-key edition upgrading file, executable program, media file and text;
Download module is used for according to the chained address of described force download file or the chained address of file description table, carries out file and downloads.
The invention provides a kind of download response server, comprising:
The second receiver module is used for the downloading request message that receiving terminal sends, and carries the download sign for sign download file type in the described downloading request message;
Judge module, the download sign that is used for carrying according to described downloading request message is judged the download file type;
The second sending module is used for the judged result according to judge module, if described download is designated the force download sign, then returns the download response message to described terminal, the chained address of carrying the force download file in the described download response message; If described download is designated optional download sign, then return the download response message to described terminal, the chained address of carrying file description table in the described download response message comprises the chained address of optional download file in the described file description table; Described optional download file comprises non-key edition upgrading file, executable program, media file and text.
The invention provides a kind of file server, comprising:
Generation module is used for the chained address according to optional download file spanned file description list and described file description table;
Memory module is used for storing described file description table, force download file and/or optional download file; Described optional download file comprises non-key edition upgrading file, executable program, media file and text;
The 3rd sending module is used for the chained address of described file description table is sent to download response server.
The invention provides a kind of file download system, comprise terminal, download response server and file server,
Described terminal is used for sending downloading request message to described download response server, carries the download sign for sign download file type in the described downloading request message; And the chained address of the chained address of the force download file that returns according to download response server or file description table is carried out file and is downloaded;
Described download response server is used for identifying according to described download after receiving downloading request message, returns the chained address of force download file or the chained address of file description table to described terminal;
Described file server is used for storing described force download file and/or described optional download file and described file description table; Described optional download file comprises non-key edition upgrading file, executable program, media file and text.
Document down loading method of the present invention and terminal, download response server, file server are downloaded sign by carrying in the downloading request message that sends to download response server in terminal, and download file is divided into force download file and optional download file, realize the part management that terminal is downloaded file, and satisfied the download demand of terminal to different files; By in the download of optional download file, adopting file description table, satisfied the file of multifile form and downloaded demand.
Description of drawings
Fig. 1 is the flow chart of prior art method for upgrading software;
Fig. 2 is the flow chart of document down loading method the first embodiment of the present invention;
Fig. 3 is the flow chart of document down loading method the second embodiment of the present invention;
Fig. 4 is the flow chart of document down loading method the 3rd embodiment of the present invention;
Fig. 5 is the flow chart of document down loading method the 4th embodiment of the present invention;
Fig. 6 is the signaling diagram of document down loading method the 5th embodiment of the present invention;
Fig. 7 is the signaling diagram of document down loading method the 6th embodiment of the present invention;
Fig. 8 is the signaling diagram of document down loading method the 7th embodiment of the present invention;
Fig. 9 is the structural representation of terminal the first embodiment of the present invention;
Figure 10 is the structural representation of terminal the second embodiment of the present invention;
Figure 11 is the structural representation of download response server the first embodiment of the present invention;
Figure 12 is the structural representation of download response server the second embodiment of the present invention;
Figure 13 is the structural representation of file server embodiment of the present invention;
Figure 14 is the structural representation of file download system embodiment of the present invention.
Embodiment
Below by drawings and Examples, technical scheme of the present invention is described in further detail.
Fig. 2 is the flow chart of document down loading method the first embodiment of the present invention, and as shown in Figure 2, the present embodiment document down loading method may further comprise the steps:
Step 201, send downloading request message to download response server, carry the download sign for sign download file type in the described downloading request message.
Terminal sends downloading request message to download response server, carries the download sign for sign download file type in this downloading request message.This download sign comprises force download sign and optional download sign, if this promoter who downloads flow process is terminal, then terminal is carried optional download sign in downloading request message; If this promoter who downloads flow process is download response server, then terminal is carried the force download sign in downloading request message.
Step 202, reception download response server identify the chained address of the force download file that returns or the chained address of file description table according to described download.
After terminal sent downloading request message to download response server, download response server returned different file chaining addresses according to the download sign of carrying in the downloading request message to terminal.Be designated the force download sign if download, represent that then the file that terminal will be downloaded is the force download file, the chained address of the force download file that terminal reception download response server returns, this force download sign is that terminal is behind the download Indication message that receives the download response server transmission, send downloading request message according to this download Indication message to download response server, and be carried in the downloading request message; Be designated optional download sign if download, represent that then the file that terminal will be downloaded is optional download file, the chained address of the file description table that terminal reception download response server returns.
Step 203, according to the chained address of described force download file or the chained address of file description table, carry out file and download.
If what download response server returned is the chained address of force download file, then terminal is according to this chained address download force download file; If download response server returns is the chained address of file description table, then terminal is according to this chained address download file description list, and carries out file according to the information in the file description table and download.
The present embodiment document down loading method is downloaded sign by carrying in downloading request message, and download file divided into force download file and optional download file, terminal is downloaded file had the partly function of management, satisfied the different file of terminal and downloaded demand.
Fig. 3 is the flow chart of document down loading method the second embodiment of the present invention, and as shown in Figure 3, on the basis of above-mentioned the first embodiment, if in step 203, what terminal received is the chained address of force download file, and then execution in step 204; If what terminal received is the chained address of file description table, then execution in step 205.
Step 204, download the force download file according to the chained address of force download file.
After terminal receives the chained address of the force download file that download response server returns, be connected to file server according to this chained address and download the force download file, this force download file will be for will produce to terminal equipment the crucial edition upgrading file of material impact.
Step 205, according to the chained address download file description list of file description table, and download this optional download file according to the chained address of the optional download file that comprises in the file description table.
After terminal receives the chained address of the file description table that download response server returns, according to the chained address download file description list of this file description table, download this optional download file according to the chained address of the optional download file that comprises in the file description table more first.This optional download file comprises non-key edition upgrading file, executable program, media file and text at least.
The present embodiment document down loading method is downloaded sign by carrying in downloading request message, and download file divided into force download file and optional download file, terminal is downloaded file had the partly function of management, satisfied the different file of terminal and downloaded demand.
Fig. 4 is the flow chart of document down loading method the 3rd embodiment of the present invention, and as shown in Figure 4, the present embodiment document down loading method may further comprise the steps:
The downloading request message that step 301, receiving terminal send is carried the download sign for sign download file type in the described downloading request message;
The downloading request message that the download response server receiving terminal sends, the download sign of carrying in this downloading request message comprises force download sign and optional download sign, the file that force download sign expression terminal will be downloaded is the force download file, and the file that optional download sign expression terminal will be downloaded is optional download file.Wherein, the situation that the download that download response server receives is designated the force download sign is, download response server sends to terminal first and downloads Indication message, terminal is downloaded Indication message according to this, send downloading request message to download response server, and in this downloading request message, carry the force download sign.
Step 302, judge the download file type according to the download of carrying in downloading request message sign, and return the download response message to terminal, carry different download file chained addresses in this download response message.
Be designated the force download sign if download response server is judged to download, then execution in step 303; Be designated optional download sign if download response server is judged to download, then execution in step 304.
Step 303, return the download response message to terminal, the chained address of carrying the force download file in this download response message.
The download sign that download response server carries in receiving downloading request message, and judge when this download is designated the force download sign, the file that the expression terminal will be downloaded is the force download file, then download response server returns the chained address of force download file to terminal, and this force download file is to produce the clearly crucial edition upgrading file of impact to terminal equipment.
Step 304, return the download response message to terminal, the chained address of carrying file description table in this download response message comprises the chained address of optional download file in this document description list.
The download sign that download response server carries in receiving downloading request message, and judge when this download is designated optional download sign, the file that the expression terminal will be downloaded is optional download file, then download response server comprises the chained address of optional download file to the chained address of terminal backspace file description list in this document description list.
The present embodiment document down loading method is by identifying according to the different download of carrying in the downloading request message, download file is divided into force download file and optional download file, return different download file chained addresses to terminal, terminal is downloaded file had the partly function of management, satisfied the different file of terminal and downloaded demand.
Fig. 5 is the flow chart of document down loading method the 4th embodiment of the present invention, as shown in Figure 5, on the basis of above-mentioned the 3rd embodiment, before step 303, can also comprise step 305, whether download response server can at first need upgrading to this terminal software version of terminal inquiry; If described terminal software version needs upgrading, then execution in step 303; If described terminal software version does not need upgrading, then do not continue to carry out the download flow process.
The present embodiment document down loading method is by identifying according to the different download of carrying in the downloading request message, download file is divided into force download file and optional download file, return different download file chained addresses to terminal, terminal is downloaded file had the partly function of management, satisfied the different file of terminal and downloaded demand.
Fig. 6 is the signaling diagram of document down loading method the 5th embodiment of the present invention, and as shown in Figure 6, the present embodiment document down loading method may further comprise the steps:
Step 401, download response server send to described terminal and download Indication message, indicate described terminal to send downloading request message to described download response server.
Store the chained address of some files in the download response server, these files are terminal equipment to be produced the crucial edition upgrading file of material impact, this key edition upgrading file is defined as the force download file, need terminal must download this force download file when carrying out device upgrade when downloading response server, then send to terminal and download Indication message, notification terminal carries out file and downloads.
Step 402, terminal send downloading request message to download response server, carry the force download sign in this downloading request message.
After terminal was received the download Indication message of download response server transmission, the promoter who namely judges this download request was download response server, then sent downloading request message to download response server, carried the force download sign in this downloading request message.
Step 403, download response server return download to terminal and connect response message after receiving the downloading request message that terminal sends, and notification terminal should be downloaded and connect correctly.
Step 404, terminal send empty connection message to download response server.
Step 405, download response server return the download response message to terminal, the chained address of carrying the force download file in this download response message.Download response server judges that according to the download sign that receives this time download is the force download type, then returns the chained address of force download file to terminal, and this chained address is the URL chained address.
After step 406, terminal correctly receive and resolve the chained address of this force download file, send and receive response message to download response server, this chained address of notice download response server is correctly received.
The chained address of the force download file that step 407, terminal basis receive, the file server that is located by connecting links with file server foundation, downloads the force download file from file server.This download can be used HTTP or File Transfer Protocol to set up and download and connect also download file.
After step 408, terminal downloads file are finished, file is carried out validity judges, write respective storage areas and successful Application after, send to download to download response server and finish message.
Step 409, download response server receive download finish message after, return to download to terminal and finish response message.Download response server also can continue to terminal inquiry device software version, judges whether software application is correct.So far, the force download flow process finishes.
The present embodiment document down loading method has defined force download file and method for down loading thereof, has guaranteed upgrading in time of equipment, and it is mandatory to have guaranteed that the terminal key version issues, and in time providing of key business ability is provided.
Fig. 7 is the signaling diagram of document down loading method the 6th embodiment of the present invention, and as shown in Figure 7, the present embodiment document down loading method may further comprise the steps:
Step 501, download response server send to described terminal and download Indication message, indicate described terminal to send downloading request message to described download response server.
Store the chained address of some files in the download response server, these files are terminal equipment to be produced the crucial edition upgrading file of material impact, this key edition upgrading file is defined as the force download file, need terminal must download this force download file when carrying out device upgrade when downloading response server, then send to terminal and download Indication message, notification terminal carries out file and downloads.
Step 502, terminal send downloading request message to download response server, carry the force download sign in this downloading request message.
After terminal was received the download Indication message of download response server transmission, the promoter who namely judges this download request was download response server, then sent downloading request message to download response server, carried the force download sign in this downloading request message.
Step 503, download response server return download to terminal and connect response message after receiving the downloading request message that terminal sends, and notification terminal should be downloaded and connect correctly.
Step 504, terminal send empty connection message to download response server.
Step 505, download response server send the version querying request message to terminal, and the device software version of requesting query terminal is in order to judge whether and need to upgrade to this terminal device software.Also further other attributes of inquiry terminal in the step of this inquiry terminal device software version such as other programs beyond the non-main program, such as load driver program and games etc., if existed, then need not force terminal to be downloaded again.
Step 506, terminal are returned the version querying results messages to download response server.This version querying results messages is the descriptor of terminal device software version, such as the version number of existing terminal device software.
Step 507, download response server receive the version querying result, obtain the version number of the existing software of terminal, compare with latest edition in the file server, judge whether and need to upgrade to terminal device software.If two versions are consistent, then finish this force download flow process; If two versions are inconsistent, need to upgrade to terminal device software, then execution in step 508.
This version querying flow process can use digital subscriber line (Digital Subscriber Line, hereinafter to be referred as: DSL) the terminal remote management related protocol of the TR069 in forum definition also can be the privately owned interaction protocol of business platform definition.
Step 508, download response server return the download response message to terminal, the chained address of carrying the force download file in this download response message.Download response server judges that according to the download sign that receives this time download is the force download type, then returns the chained address of force download file to terminal, and this chained address is the URL chained address.
After step 509, terminal correctly receive and resolve the chained address of this force download file, send and receive response message to download response server, this chained address of notice download response server is correctly received.
The chained address of the force download file that step 510, terminal basis receive, the file server that is located by connecting links with file server foundation, downloads the force download file from file server.This download can be used HTTP or File Transfer Protocol to set up and download and connect also download file.
After step 511, terminal downloads file are finished, file is carried out validity judges, write respective storage areas and successful Application after, send to download to download response server and finish message.
Step 512, download response server receive download finish message after, return to download to terminal and finish response message.Download response server also can continue to terminal inquiry device software version, judges whether software application is correct.So far, the force download flow process finishes.
The present embodiment document down loading method has not only defined force download file and method for down loading thereof, has guaranteed upgrading in time of equipment, and it is mandatory to have guaranteed that the terminal key version issues, and in time providing of key business ability is provided; And judge whether and need to upgrade to terminal device software by inquiry terminal device software version, avoided unnecessary download flow process.
Fig. 8 is the signaling diagram of document down loading method the 7th embodiment of the present invention, and as shown in Figure 8, present embodiment may further comprise the steps:
Step 601, terminal send downloading request message to download response server, carry optional download sign in this downloading request message.
Terminal is in the situation of not receiving the download Indication message that download response server sends in the present embodiment, initiatively send downloading request message to download response server, namely the promoter of this downloading request message is terminal, and then terminal is carried optional download sign in this downloading request message.It is the subjective wishes of User that terminal in the present embodiment sends download request to download response server, and the user can utilize this terminal to send download request at any time.
Step 602, download response server return download to terminal and connect response message after receiving the downloading request message that terminal sends, and notification terminal should be downloaded and connect correctly.
Step 603, terminal send empty connection message to download response server.
Step 604, download response server return the download response message to terminal, the chained address of carrying file description table in this download response message.Download response server judges this time to download according to the download that receives sign and is optional type of download, then to the URL chained address of terminal backspace file description list.
This document description list can be that other equipment in file server, download response server or this download system generate according to optional download file, its memory location also can be file server, download response server or other equipment, just the chained address of this table is kept in the download response server, when receiving the downloading request message of terminal the chained address of this file description table is offered terminal by download response server, terminal is applied according to this chained address download file description list again.Hypothesis this document description list is that file server generates in the present embodiment, and is kept in the file server, and its chained address is kept in the download response server.
At least the file chaining address that comprises optional download file in the file description table in the present embodiment, the information such as file name, file type, the file that can also comprise this optional download file simply described, file applications mode, wherein, optional download file can comprise non-key edition upgrading file, executable program, media file and text.The generating mode of this document description list, can be when uploading described optional download file by the management system of file server, the fields such as keeper's input file is simply described, file applications mode, management system by file server generates and renewal automatically, and file server can be according to the spanned file chained address, memory location of the described optional download file of uploading; Also can be after having uploaded described optional download file, administrator hand is upgraded, according to the agreement form, the information such as typing file name, file are simply described, file applications mode and file chaining address, file server is after should table information being stored in a certain memory location, can generate according to this memory location the chained address of this document description list, and this chained address is sent to download response server.
After step 605, terminal correctly receive and resolve the chained address of this document description list, send and receive response message to download response server, this chained address of notice download response server is correctly received.
The chained address of the file description table that step 606, terminal basis receive is connected to file server and downloads described file description table.This download can be used HTTP or FTP to set up and download and connect also download file description list.
Step 607, terminal are connected to file server according to the chained address of the optional download file in the described file description table and download described optional download file.
Terminal in the present embodiment can have for set-top box, video telephone etc. the user terminal of good interactive interface.The file description table that terminal parses is downloaded, can provide the title of optional file of download and file description etc. to show by interactive interface, request is selected in the download that receives user's optional download file, offer user selection, use successively corresponding optional download file chained address to be connected to file server and download optional download file.Terminal can also according in this document description list such as file applications mode field designated program installation site or file storage location, carry out the download of optional download file and automatically preserve and use in order to terminal after the user determine to select.
After step 608, terminal downloads file are finished, file is carried out validity judges, write respective storage areas and successful Application after, send to download to download response server and finish message.
Step 609, download response server receive download finish message after, return to download to terminal and finish response message.So far, optional download flow process finishes.
The present embodiment document down loading method has defined optional download file and method for down loading thereof, the function of the file download section being divided management is provided to terminal, reached the personalized purpose of using of terminal, and by adopting file description table, satisfied the demand that the terminal multifile is downloaded, and can reduce the interaction times of terminal and download response server in the downloading process, for the user provides good interactive experience.
Fig. 9 is the structural representation of terminal the first embodiment of the present invention, and as shown in Figure 9, the present embodiment terminal comprises the first sending module 701, the first receiver module 702 and download module 703.Wherein, the first sending module 701 is used for sending downloading request message to download response server, carries the download sign for sign download file type in the described downloading request message; The first receiver module 702 is used for receiving described download response server and identifies the chained address of the force download file that returns or the chained address of file description table according to described download; Download module 703 is used for according to the chained address of described force download file or the chained address of file description table, carries out file and downloads.
Particularly, the first sending module 701 sends downloading request message to download response server, carry the download sign of sign download file type in this downloading request message, this download sign is divided into the force download sign and optional download identifies two kinds, if downloading the promoter is download response server, then carrying the force download sign, is terminal if download the promoter, then carries optional download sign; Download response server is downloaded sign according to this and is judged that terminal is with the file type of downloading, if force download sign, then download response server returns the chained address of force download file to terminal, and this force download file is the crucial edition upgrading file that terminal equipment is had material impact; If optional download sign, then download response server is to the chained address of terminal backspace file description list, the information such as filename, file link address, the description of file applications mode that can comprise optional download file in this document description list, the chained address of described force download file or the chained address of file description table are all received by the first receiver module 702 in the terminal; Download module 703 is connected to file server download force download file according to the chained address of the force download file that the first receiver module 702 receives, perhaps according to the chained address download file description list of file description table, carry out file according to the information in the file description table again and download.
Present embodiment is downloaded sign by increasing in downloading request message, satisfied the download demand of terminal to Miscellaneous Documents, and the function of the file download section being divided management is provided for terminal.
Figure 10 is the structural representation of terminal the second embodiment of the present invention, and as shown in figure 10, on the basis of the first embodiment, the first receiver module 702 of this terminal also comprises the first receiving element 7021, the second receiving element 7022 and indication receiving element 7023.Wherein, the first receiving element 7021 is used for receiving described download response server identifies the described force download file that returns according to force download chained address; The second receiving element 7022 is used for receiving described download response server identifies the file description table that returns according to optional download chained address; Indication receiving element 7023 is used for receiving the download Indication message that described download response server sends, and described download Indication message is used to indicate described terminal and sends downloading request message to described download response server.Download module 703 can also comprise the first download unit 7031 and the second download unit 7032.Wherein, the first download unit 7031 is used for downloading described force download file according to the chained address of described force download file; The second download unit 7032 is used for the chained address download file description list according to described file description table, and downloads described optional download file according to the chained address of the optional download file that comprises in the described file description table.
Particularly, after indication receiving element 7023 receives the download Indication message of download response server transmission, the first sending module 701 sends downloading request message according to this download Indication message to download response server, and carries the force download sign in downloading request message; Then, the first receiving element 7021 can receive the chained address of the force download file that download response server returns according to force download sign, and the chained address of the force download file that the first download unit 7031 receives according to the first receiving element 7021 is connected to file server and downloads the force download file.Be optional type of download if this is downloaded, then the first sending module 701 directly sends downloading request message to download response server, and carries optional download sign in the downloading request message, and need not receive the download Indication message of download response server; The second receiving element 7022 can receive download response server identifies the file description table that returns according to optional download chained address; The chained address download file description list of the file description table that the second download unit 7032 receives according to the second receiving element 7022, and download optional download file according to the chained address of the optional download file that comprises in the file description table.
Present embodiment is downloaded sign by increasing in downloading request message, satisfied the download demand of terminal to Miscellaneous Documents, and the function of the file download section being divided management is provided for terminal.
Figure 11 is the structural representation of download response server the first embodiment of the present invention, and as shown in figure 11, the download response server of present embodiment comprises the second receiver module 801, judge module 802 and the second sending module 803.Wherein, the second receiver module 801 is used for the downloading request message that receiving terminal sends, and carries in this downloading request message and downloads sign, and this is downloaded sign and is used for sign download file type; The download sign that judge module 802 is used for carrying according to downloading request message is judged the download file type; The judged result that the second sending module 803 is used for according to judge module 802 when download is designated the force download sign, is returned the download response message to terminal, the chained address of carrying the force download file in this download response message; When download is designated optional download sign, return the download response message to terminal, the chained address of carrying file description table in this download response message comprises the chained address of optional download file in this document description list.
Figure 12 is the structural representation of download response server the second embodiment of the present invention, and as shown in figure 12, on the basis of the first embodiment, the present embodiment download response server also comprises enquiry module 804, is used for inquiring about described terminal software version and whether needs upgrading.The second sending module 803 comprises the first transmitting element 8031, the second transmitting element 8032 and indicating member 8033, wherein, the judged result that the first transmitting element 8031 is used for according to judge module 802, if described download is designated the force download sign, then return the download response message to described terminal, the chained address of carrying the force download file in the described download response message; The judged result that the second transmitting element 8032 is used for according to judge module 802, if described download is designated optional download sign, then return the download response message to described terminal, the chained address of carrying file description table in the described download response message comprises the chained address of optional download file in the described file description table; Indicating member 8033 is used for sending the download Indication message to terminal, and indicating terminal sends downloading request message to download response server and downloads to carry out file.The present embodiment download response server also comprises address receiver module 805, is used for receiving file server according to the chained address of the described file description table that comprises the file chaining address of optional download file generation.
Particularly, when the download response server needed terminal downloads force download file, indicating member 8033 sent to terminal first and downloads Indication message, and indicating terminal sends downloading request message to it; Then, receive the downloading request message that terminal sends at the second receiver module 801, and judge module 802 judge carry in these downloading request message be the force download sign time, whether enquiry module 804 at first needs upgrading with terminal interaction inquiry terminal software version, if the terminal software version needs upgrading, then the first transmitting element 8031 returns the download response message of the chained address of carrying the force download file to described terminal; If the terminal software version does not need upgrading, then this downloads the flow process end.If downloading, this is optional download, then the address receiver module 805 of download response server can receive first file server according to the chained address of the file description table that comprises the file chaining address of optional download file generation, when the second receiver module 801 receives the downloading request message that terminal sends, and judge module 802 judge carry in these downloading request message be optional download sign the time, the second transmitting element 8032 sends to terminal with the chained address of this file description table, comprises the chained address of optional download file in this document description list.
Figure 11 returns different file download address according to downloading sign to terminal with download response server embodiment shown in Figure 12, and the download file type of terminal is divided into force download file and optional download file, satisfied the download demand of terminal to Miscellaneous Documents, the function of the file download section being divided management is provided for terminal.
Figure 13 is the structural representation of file server embodiment of the present invention, and as shown in figure 13, the file server in the present embodiment comprises generation module 901, memory module 902 and the 3rd sending module 903.Wherein, generation module 901 is for the chained address according to optional download file spanned file description list and described file description table; Memory module 902 is used for storing described file description table, force download file and/or optional download file; The 3rd sending module 903 is used for the chained address of described file description table is sent to download response server.
Particularly, generation module 901 is according to the optional download file spanned file description list that is uploaded to file server, the information such as this document description list can comprise that the file name of optional download file, file are simply described, file applications mode, file chaining address and file type, and this document description list, force download file and/or optional download file be stored in the memory module 902; Generation module 901 generates the chained address of described file description table according to the memory location of this document description list; Then, the 3rd sending module 903 sends to download response server with the chained address of the file description table that generation module 901 generates, so that download response server is when receiving the optional download request of terminal, the chained address of this file description table is sent to terminal.
The file server of present embodiment has satisfied the demand that the terminal multifile is downloaded by the spanned file description list, has reduced the interaction times of terminal and download response server, and provides the function of the file download section being divided management for terminal.
Figure 14 is the structural representation of file download system embodiment of the present invention, and as shown in figure 14, the present embodiment file download system comprises terminal 1001, download response server 1002 and file server 1003.
Wherein, terminal 1001 is used for sending downloading request message to download response server, carries the download sign for sign download file type in the described downloading request message; And the chained address of the chained address of the force download file that returns according to download response server or file description table is carried out file and is downloaded; Download response server 1002 is used for identifying according to downloading after receiving downloading request message, returns the chained address of force download file or the chained address of file description table to terminal; File server 1003 is used for storage force download file and/or optional download file.In the implementation, terminal 1001 can adopt Fig. 9 or structure shown in Figure 10, and download response server 1002 can adopt Figure 11 or structure shown in Figure 12, and file server 1003 can adopt structure shown in Figure 13, does not repeat them here.
The present embodiment file download system is downloaded sign by carrying in the downloading request message that sends to download response server in terminal, download file type to terminal is distinguished, and by the generation module spanned file description list at download response server, for terminal provides optional download, satisfy the download demand of terminal to Miscellaneous Documents, provide the function of the file download section being divided management for terminal simultaneously.
It should be noted that at last: above embodiment is only in order to technical scheme of the present invention to be described but not limit it, although with reference to preferred embodiment the present invention is had been described in detail, those of ordinary skill in the art is to be understood that: it still can be made amendment or be equal to replacement technical scheme of the present invention, and these modifications or be equal to replacement and also can not make amended technical scheme break away from the spirit and scope of technical solution of the present invention.

Claims (19)

1. a document down loading method is characterized in that, comprising:
Send downloading request message to download response server, carry the download sign for sign download file type in the described downloading request message;
Receive described download response server and identify the chained address of the force download file that returns or the chained address of file description table according to described download; The chained address that comprises optional download file in the described file description table, described optional download file comprises non-key edition upgrading file, executable program, media file and text;
According to the chained address of described force download file or the chained address of file description table, carry out file and download.
2. document down loading method according to claim 1 is characterized in that, the described download response server of described reception identifies the chained address of the force download file that returns according to described download or the chained address of file description table comprises:
Receive described download response server identifies the described force download file that returns according to force download chained address; Or
Receive described download response server identifies the file description table that returns according to optional download chained address.
3. document down loading method according to claim 1 and 2 is characterized in that, and is described according to the chained address of described force download file or the chained address of file description table, carries out the file download and comprises:
Download described force download file according to the chained address of described force download file; Or
According to the chained address download file description list of described file description table, and download described optional download file according to the chained address of the optional download file that comprises in the described file description table.
4. document down loading method according to claim 2, it is characterized in that, describedly send downloading request message to download response server, and comprise before receiving the chained address of the described force download file that described download response server returns according to the force download sign:
Receive the download Indication message that described download response server sends, send downloading request message according to described download Indication message to described download response server, carry described force download sign.
5. a document down loading method is characterized in that, comprising:
The downloading request message that the download response server receiving terminal sends is carried the download sign for sign download file type in the described downloading request message;
If described download is designated the force download sign, then return the download response message to described terminal, download so that described terminal is carried out file according to the chained address of described force download file the chained address of carrying the force download file in the described download response message;
If described download is designated optional download sign, then return the download response message to described terminal, the chained address of carrying file description table in the described download response message comprises the chained address of optional download file in the described file description table; Described optional download file comprises non-key edition upgrading file, executable program, media file and text, downloads so that described terminal is carried out file according to the chained address of described file description table.
6. document down loading method according to claim 5 is characterized in that, also comprises before the downloading request message that described receiving terminal sends:
Send the download Indication message to described terminal, indicate described terminal to send downloading request message to described download response server.
7. according to claim 5 or 6 described document down loading methods, it is characterized in that, if described download is designated the force download sign, then returns to described terminal and download response message and comprise:
Whether the software version of inquiring about described terminal needs upgrading;
If the software version of described terminal needs upgrading, then return the download response message to described terminal, the chained address of carrying the force download file in the described download response message.
8. document down loading method according to claim 7 is characterized in that, also comprises: if the software version of described terminal does not need upgrading, then do not continue to carry out this and download flow process.
9. document down loading method according to claim 5 is characterized in that, if described download is designated optional download sign, then also comprises before described terminal is returned the download response message:
Receive file server and press the address according to the chain of the described file description table of described optional download file generation, described file description table comprises the chained address of described optional download file.
10. terminal is characterized in that comprising:
The first sending module is used for sending downloading request message to download response server, carries the download sign for sign download file type in the described downloading request message;
The first receiver module is used for receiving described download response server and identifies the chained address of the force download file that returns or the chained address of file description table according to described download; The chained address that comprises optional download file in the described file description table, described optional download file comprises non-key edition upgrading file, executable program, media file and text;
Download module is used for according to the chained address of described force download file or the chained address of file description table, carries out file and downloads.
11. terminal according to claim 10 is characterized in that, described the first receiver module comprises:
The first receiving element is used for receiving described download response server identifies the described force download file that returns according to force download chained address; And/or
The second receiving element is used for receiving described download response server identifies the file description table that returns according to optional download chained address.
12. terminal according to claim 11 is characterized in that, described the first receiver module also comprises:
The indication receiving element is used for receiving the download Indication message that described download response server sends, and described download Indication message is used to indicate described terminal and sends downloading request message to described download response server.
13. terminal according to claim 10 is characterized in that, described download module comprises:
The first download unit is used for downloading described force download file according to the chained address of described force download file; And/or
The second download unit is used for the chained address download file description list according to described file description table, and downloads described optional download file according to the chained address of the optional download file that comprises in the described file description table.
14. a download response server is characterized in that, comprising:
The second receiver module is used for the downloading request message that receiving terminal sends, and carries the download sign for sign download file type in the described downloading request message;
Judge module, the download sign that is used for carrying according to described downloading request message is judged the download file type;
The second sending module, be used for the judged result according to judge module, if described download is designated the force download sign, then return the download response message to described terminal, download so that described terminal is carried out file according to the chained address of described force download file the chained address of carrying the force download file in the described download response message; If described download is designated optional download sign, then return the download response message to described terminal, the chained address of carrying file description table in the described download response message comprises the chained address of optional download file in the described file description table; Described optional download file comprises non-key edition upgrading file, executable program, media file and text, downloads so that described terminal is carried out file according to the chained address of described file description table.
15. download response server according to claim 14 is characterized in that, described the second sending module comprises:
The first transmitting element is used for returning the download response message to described terminal, the chained address of carrying the force download file in the described download response message;
The second transmitting element is used for returning the download response message to described terminal, and the chained address of carrying file description table in the described download response message comprises the chained address of optional download file in the described file description table.
16. download response server according to claim 15 is characterized in that, described the second sending module also comprises:
Indicating member is used for sending the download Indication message to described terminal, indicates described terminal to send downloading request message to described download response server.
17. download response server according to claim 14 is characterized in that, also comprises:
Whether enquiry module needs upgrading for the software version of inquiring about described terminal.
18. download response server according to claim 14 is characterized in that, also comprises:
The address receiver module is used for receiving file server according to the chained address of the described file description table of the chained address that comprises described optional download file of optional download file generation.
19. a file download system comprises terminal, download response server and file server, it is characterized in that,
Described terminal is used for sending downloading request message to described download response server, carries the download sign for sign download file type in the described downloading request message; And the chained address of the chained address of the force download file that returns according to download response server or file description table is carried out file and is downloaded;
Described download response server is used for identifying according to described download after receiving downloading request message, returns the chained address of force download file or the chained address of file description table to described terminal;
Described file server is used for storing described force download file and/or described optional download file and file description table; Described optional download file comprises non-key edition upgrading file, executable program, media file and text.
CN 200910082306 2009-04-13 2009-04-13 File download method, download response server and file sever Active CN101540784B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 200910082306 CN101540784B (en) 2009-04-13 2009-04-13 File download method, download response server and file sever

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 200910082306 CN101540784B (en) 2009-04-13 2009-04-13 File download method, download response server and file sever

Publications (2)

Publication Number Publication Date
CN101540784A CN101540784A (en) 2009-09-23
CN101540784B true CN101540784B (en) 2013-03-20

Family

ID=41123770

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 200910082306 Active CN101540784B (en) 2009-04-13 2009-04-13 File download method, download response server and file sever

Country Status (1)

Country Link
CN (1) CN101540784B (en)

Families Citing this family (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102088629A (en) * 2009-12-02 2011-06-08 深圳Tcl新技术有限公司 Method for displaying information in real time of Internet television set
EP2378472A1 (en) * 2010-04-15 2011-10-19 HTC Corporation Method and system for providing online services corresponding to multiple mobile devices, server, mobile device, and computer program product
US10085128B2 (en) 2010-04-15 2018-09-25 Htc Corporation File download method for mobile device, server and mobile device thereof, and computer-readable medium
CN102546765B (en) * 2011-12-20 2015-07-08 福建新大陆电脑股份有限公司 Method, device and system for upgrading electronic scale
CN103391213A (en) * 2012-05-11 2013-11-13 中兴通讯股份有限公司 Application deployment method, CPE (Customer Premises Equipment) and application deployment system
CN102932778A (en) * 2012-10-29 2013-02-13 东莞宇龙通信科技有限公司 Method and system for wirelessly upgrading mobile phone terminal
CN104883398B (en) * 2015-05-18 2019-07-23 百度在线网络技术(北京)有限公司 A kind of document down loading method, apparatus and system
CN110677443A (en) * 2018-07-02 2020-01-10 中兴通讯股份有限公司 Data transmitting and receiving method, transmitting end, receiving end, system and storage medium
CN114745368B (en) * 2022-03-31 2024-04-09 广州极飞科技股份有限公司 File downloading method, device, computer equipment and computer readable storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101132573A (en) * 2006-08-23 2008-02-27 中兴通讯股份有限公司 Method for implementing terminal batch upgrading
CN101150830A (en) * 2007-10-17 2008-03-26 中兴通讯股份有限公司 Software packet upgrade method and device
CN101188626A (en) * 2007-12-26 2008-05-28 华为技术有限公司 Data downloading system, device and method

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101132573A (en) * 2006-08-23 2008-02-27 中兴通讯股份有限公司 Method for implementing terminal batch upgrading
CN101150830A (en) * 2007-10-17 2008-03-26 中兴通讯股份有限公司 Software packet upgrade method and device
CN101188626A (en) * 2007-12-26 2008-05-28 华为技术有限公司 Data downloading system, device and method

Also Published As

Publication number Publication date
CN101540784A (en) 2009-09-23

Similar Documents

Publication Publication Date Title
CN101540784B (en) File download method, download response server and file sever
CA2577638C (en) Methods and apparatus to integrate mobile communications device management with web browsing
CN102129378B (en) A kind of software menu updating method and device
US20110302274A1 (en) Architecture of a network device for processing applications, and control method for the network device
CN101170675B (en) Method and system for managing J2ME application in network TV system
CN102075539B (en) Data delivery system and method
CN101114980B (en) Method and system for establishing instant communication relation
US20020116407A1 (en) Conversion apparatus and method, accounting method, and script conversion system and method
WO2006044046A2 (en) Method and apparatus for management of video on demand client service
CN101420325A (en) Automatic deployment method, apparatus and system for software package
US9053324B2 (en) IPTV devices and methods adapted for such devices
CN101980503B (en) Method, device and system for managing widget application
CN103354563A (en) Method of customizing EPG (electronic program guide) interface based on Internet television client and apparatus thereof
KR100974472B1 (en) Dynamic ui system to remote control legacy device and the method thereof
CN101132391B (en) System and method for controlling application
CN101170442B (en) Software online upgrade method and system
CN101360009A (en) Set-top box application management method and system
KR100883372B1 (en) System and Method of Downloading Service Module in a Communication Network
KR100524588B1 (en) succeeding method of data in mobile
US20090037493A1 (en) Method and device for updating an object with copyright attribute
CN102904742B (en) To method of operation and the system of executable node
CN104065678A (en) Dual-mode data reception and access method based on embedded browser
CN103733596A (en) Method for managing access to a set of resources delivered via an electronic device
CN102457552A (en) System, device, and method used for acquiring service of provider
CN100372311C (en) Radio searching method for terminal management in synchronous marking language

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