Wireless downloading method and realize the download system of this method
Technical field
The present invention relates to a kind of wireless downloading method and a kind of download system of realizing this wireless downloading method that utilizes various communication terminals to download the different resource material from the website by wireless mode connection internet.
Background technology
All have wireless communication module in present wireless communication terminal such as personal digital assistant PDA (Personal DigitalAssistant), notebook computer and the mobile phone, these wireless communication modules all have the function of wireless Internet access basically, therefore wireless communication terminal can be by various radio communication mold block access Internet networks, and carry out exchanges data with the Internet Internet resources.
Do not having on the radio communication terminal of wireless networking capabilities, usually using with the synchronous method of PC and solve the problem that Internet resources are downloaded, this method suitable inconvenience that operates, and require the user to have PC and dedicated connection.
Increased the wireless communication terminal of wireless communication module, just possessed the condition of down loading network resource material whenever and wherever possible, present normally used wireless downloading method has three kinds:
1, directly downloads by browser, this method need be installed WWW or WAP browser on wireless communication terminal, and some wireless communication terminal is all smaller as the display screen of PDA and mobile phone, concerning the user, use browser downloads, the interface is unfriendly, use inconvenience, also can't realize "one-stop services".And make and on the website, to make corresponding webpage in this way to support download service, webpage need use HTML (Hypertext Markup Language) HTML (Hyperlink Text Marked Language) or WAP Markup Language WML (Wireless Markup Language) to realize, the mark quantity of using is more, can cause the user's download redundant data, download efficiency is lower, the user all charges by flow mostly because get online without being tethered to a cable, so might pay extra-pay for this reason.
2, utilize air download technology OTA (Over the air) to download,, the not enough and limitation of himself is arranged also though use this method for down loading can solve the 1st kind of not enough problem in the method.This method and technology framework complexity needs the special OTA server of configuration, realize that concerning general production firm difficulty is bigger, and cost is higher.
3, download by specific download client, but the download system on wireless communication terminal has poor expandability, difficult problem of transplanting mostly at present.And, might cause the user blindly to download because technical scheme imappropriate can't inform in advance that before download the user wants the details of down loading network resource material, can cause user's download to arrive also unwanted data, thereby increase user's cost of use.
Summary of the invention
The present invention is by wireless communication module in the wireless communication terminal and the interconnection technique of Internet, for providing a kind of, the user can predict the situation of wanting the downloaded resources material in advance, make the user avoid repeated downloads, save the wireless downloading method that user's mail downloading charge is used, also proposed a kind of strong and portable strong wireless downloading system of extensibility that realizes this wireless downloading method simultaneously.
A kind of wireless downloading method, concrete steps are as follows:
(1) wireless communication terminal starts download system after receiving trigger pip;
(2) download system is from the updating mark of download server master configuration file;
(3) sign of the master configuration file of described updating mark of step (2) and wireless communication terminal is compared, after satisfying the condition of downloading master configuration file, download system upgrades the sign of the master configuration file of wireless communication terminal simultaneously from the download server master configuration file;
(4) download system is resolved the master configuration file constructing user interface of downloading, and shows the classification situation of downloaded resources on user interface;
(5) system to be downloaded receives whether the updating mark of judging behind the signal that triggers certain downloaded resources classification corresponding to the sub-configuration file of this downloaded resources classification is new, if for new then download sub-configuration file corresponding to this downloaded resources classification;
(6) download system is resolved the sub-configuration file constructing user interface of downloading, and shows the tabulation corresponding to all material file of this downloaded resources classification on user interface;
(7) after the signal that triggers certain material file was received by system to be downloaded, the detailed introduction of downloading this material file from Download Server was presented on the user interface;
(8) download system this material file from the download server to the wireless communication terminal.
Can further include the following step between above-mentioned steps (1) and the step (2):
(a) whether download system detection wireless communication terminal is connected with Internet, if connected direct execution in step (2); If do not connect, whether the download system inquiry connects Internet;
(b) if select to connect, then the wireless communication module in the download system triggering wireless communication terminal connects Internet; If select not connect, download system is resolved the master configuration file constructing user interface of the original storage of wireless communication terminal.
Above-mentioned steps (3) if in the discontented foot condition of carrying master configuration file, also further comprise step:
(I) download system judges whether wireless communication terminal stores the master configuration file of original download;
(II) store then the master configuration file of the original storage of download system parsing wireless communication terminal if having; If do not store download system from the download server master configuration file.
Described step (5) if in the updating mark judged corresponding to the sub-configuration file of this downloaded resources classification be old, also further comprise step:
(i) download system judges whether wireless communication terminal stores the sub-configuration file of original download;
Store then the sub-configuration file of the original storage of download system parsing wireless communication terminal if (ii) have; If do not store download system from the sub-configuration file of download server.
Master configuration file described in above-mentioned and sub-configuration file are write with expandable mark language XML (Extensible Markup Language).
Wherein the classification situation of the described downloaded resources of step (4) comprises the number of material file in the title of each downloaded resources classification and each downloaded resources classification.
The title of described downloaded resources classification comprises the tinkle of bells, electronic pictures, note commonly used, FLASH animation, recreation, music, e-book.
Wherein the title and the size of each material file listed in the tabulation of described all material file of step (6).
Wherein the detailed introduction of the described material file of step (7) comprise material file content description, size, author, whether need to pay and the paying pricing information.
Wherein in the downloading process of step (8), show download progress on user interface, wireless communication terminal can stop downloading process at any time.
After the downloading process of completing steps (8), the material file that wireless communication terminal can be selected to open the material file of download immediately or continue to download other.
A kind of download system of realizing the described wireless downloading method of claim 1, this download system comprises:
Mixed-media network modules mixed-media: be used to judge the connection state of wireless communication terminal and Internet and trigger wireless communication module be connected with Internet;
Download module: be used to connect Download Server, synthetic and send request command and give Download Server, and receive the downloaded resources data from Download Server;
Parsing module: be used to resolve master configuration file and the sub-configuration file downloaded, the downloaded resources data that parse are put in the data structure;
Display module: the user interface with the downloaded resources data configuration after the parsing that is placed in the data structure shows, and follow-up trigger pip is responded.
After adopting wireless downloading method of the present invention and wireless downloading system, just can predict the details of the downloaded resources of wanting before the user's download, allow the user download targetedly, avoided repeating and blindly downloading, for the user has saved mail downloading charge usefulness.Download system adopts modular design, and each module was both separate, can cooperatively interact again to finish whole wireless downloading function, had good portability.
Description of drawings
Fig. 1 is the process flow diagram of wireless downloading method of the present invention;
Fig. 2 is the interactional block diagram of intermodule of wireless downloading of the present invention system;
Fig. 3 is the workflow diagram of mixed-media network modules mixed-media;
Fig. 4 is the workflow diagram of download module;
Fig. 5 is the workflow diagram of parsing module;
Fig. 6 is the workflow diagram of display module.
Embodiment
Below in conjunction with accompanying drawing further sets forth in detail is done in concrete enforcement of the present invention.
Among Fig. 1, the user sends a trigger pip to wireless communication terminal by button or the touch-screen that triggers wireless communication terminal in step 10, make the download system of wireless communication terminal inside begin to start, whether download system at first detects wireless communication terminal and is connected with Internet in the step 11, do not enter the flow process that connects Internet if connect execution in step 12, whether download system inquiry user will connect Internet, if the user selects to connect, then download system triggering wireless communication module is connected with Internet, go execution in step 13 then, if the user selects not connect, then wireless communication terminal is resolved the master configuration file of originally having stored.If wireless communication terminal is connected with Internet in step 11, direct execution in step 13, download system sends the request of obtaining the master configuration file updating mark to Download Server, obtain the updating mark of master configuration file then from Download Server, compare with the sign of the master configuration file of wireless communication terminal, if the updating mark of the master configuration file that obtains from Download Server is greater than the sign of the master configuration file of wireless communication terminal, the updating mark that then shows the master configuration file on the Download Server is for new, execution in step 15 download systems are replaced the master configuration file of wireless communication terminal from the download server master configuration file, upgrade the sign of the master configuration file of wireless communication terminal simultaneously, if the updating mark of the master configuration file that obtains from Download Server in the step 13 is less than or equal to the sign of the master configuration file of wireless communication terminal, the updating mark that shows the master configuration file on the Download Server is old, execution in step 14 download systems judge whether wireless communication terminal stores the master configuration file of original download, if execution in step 28 wireless communication terminals are resolved the master configuration file of original storage, forward in the step 17 again, if otherwise forward step 15 download system to from the download server master configuration file, the master configuration file that download system is resolved after downloading in the step 16 utilizes the resource data of the master configuration file of downloading to carry out constructing user interface in step 17, the classification situation that shows downloaded resources on user interface comprises the number of material file in the title of downloaded resources classification and each downloaded resources classification.The user triggers the button of wireless communication terminal or touch-screen once more and sends one and select the trigger pip of downloaded resources classification to give download system in the step 18, after download system receives user's trigger pip in the step 19, distinguish the downloaded resources classification that is triggered earlier, judge then whether the updating mark to sub-configuration file that should the downloaded resources classification is new, if be old execution in step 20, download system judges whether wireless communication terminal stores the sub-configuration file of original download, if execution in step 29 wireless communication terminals are resolved the sub-configuration file of original storage, forward in the step 23 again, if otherwise forward step 21 download system to from the sub-configuration file of download server, if updating mark is new in the step 19, directly execution in step 21 is replaced the sub-configuration file of wireless communication terminal from the sub-configuration file of download server, download system is resolved the sub-configuration-system of downloading in step 22, resource data after the download system handle is resolved in step 23 then is put into and comes constructing user interface in the data structure, on user interface, show tabulation to all material file that should the downloaded resources classification, comprise the title of each material file and the size cases of each material file, the user imports the trigger pip that will download certain material file once more and gives download system in step 24, after download system receives this trigger pip, according to the material file that is triggered, the detailed introduction of downloading this material file from Download Server is resolved step 25 then and is shown to display interface, should introduce the description that comprises the material file content, the size of material file in detail, whether the author needs paying and expense pricing information etc.The user specifically is presented in step 26 and selects whether will download this material file according to the material file that shows, if the user agrees to download, download system is downloaded this material file from Download Server in step 27, in the downloading process, the display interface of wireless communication terminal shows download progress, and the user can stop downloading process at any time.After download was finished, the user can select to open immediately the material file of download, also can select to continue to download other material file, or withdraw from downloading process.
Above-mentioned master configuration file and sub-configuration file can be write with extendible mark language XML.
Fig. 2 is the block diagram of intermodule effect of realizing the download system of above-mentioned wireless downloading method, comprises mixed-media network modules mixed-media 30, download module 31, parsing module 32 and display module 33.
The main effect of mixed-media network modules mixed-media 30 is to judge whether wireless communication terminal is connected on the Internet network, judges network condition and trigger wireless communication module to connect the Internet network, and the main hardware equipment that mixed-media network modules mixed-media 30 is controlled is wireless communication module;
Fig. 3 describes mixed-media network modules mixed-media 30 and how to be connected with Internet, in the step 40, mixed-media network modules mixed-media 30 at first detects wireless communication terminal and whether has connected Internet, if connected direct execution in step 45, carry out exchanges data with the Internet network, whether to not connect Internet if connect execution in step 41 inquiry users, if the user selects not connect then withdraws from downloading process, if select to connect execution in step 42, the CPU of wireless communication terminal sends AT and instructs to wireless communication module, indication connects Internet, wireless communication module connects relevant base station BS or access point AP according to the AT instruction in the step 43, wireless communication terminal is set up data path by relevant base station BS or access point AP and Internet in the step 44, in step 45, can carry out mutual exchanges data, thereby finish being connected of wireless communication module and Internet by mixed-media network modules mixed-media 30.
The main effect of download module 31 is to connect Download Server, synthetic and send request command and give Download Server and receive the resource data of master configuration file, sub-configuration file and concrete material file from Download Server, and the main hardware equipment that download module 31 is controlled is the internal memory of wireless communication module and wireless communication terminal.Fig. 4 is the procedure chart of download module 31 downloaded resources data, step 50 download module 31 request of sending connects the signal of Download Server and gives wireless communication module, wireless communication module connects Download Server according to instruction then, judge in the step 51 whether Download Server responds, if not having response then pointing out the user's download server is response, request reconnects.If responded execution in step 52, download module 31 request download server resource datas, the resource data that download module 31 receptions are got off from download server in the step 53 is kept at the resource data that receives in the internal memory in step 54, finishes the downloading process of resource data.
Parsing module 32 mainly is to analyze master configuration file and the sub-configuration file of having downloaded, and the resource data that extracts is put in the specific data structure.The main hardware equipment that parsing module 32 is controlled is the internal memory of wireless communication terminal.The process of resolving configuration file has been described among Fig. 5, step 60 parsing module 32 at first reads the configuration file of download, in step 61, analyze the configuration file that reads then, resource data behind step 62 extraction and analysis, it is put in the specific data structure, thereby step 63 generation data structure is finished the resolving to configuration file.
Display module 33 is a main frame structure, comes constructing user interface with the resource data after the parsing that is placed in the data structure, and the follow-up trigger pip of user is responded.The main hardware equipment that display module 33 is controlled is wireless communication terminal internal memory, screen and input equipment (touch-screen or button).Fig. 6 is for showing the process of resource data, resource data after resolving in the step 60 display module 33 reading of data structures, in step 61, come constructing user interface, display module 33 control user interfaces are waited for follow-up trigger pip in step 62 then, next can execution in step 63 carry out the downloaded resources data or execution in step 64 reads the resource data of having downloaded according to the situation of trigger pip, also can execution in step 65 select withdraw from downloading process.
Above-mentioned described wireless communication terminal comprises personal digital assistant PDA, notebook computer and mobile phone etc.