Technical background
The webpage back operation is basic function of web browser, can allow the user turn back to the page of browsing before.
The framework difference of the page, it is different to have caused content of pages to be showed, from technological layer, each page all corresponding a DOM Document Object Model (this structure is determined the basic framework of the page for Document Object Model, DOM) structure.The effect of DOM is exactly to tell how browser program is operated and the various signs of display page.
In browsing pages, (browser) program can read elements corresponding (picture, sound etc.) from destination server according to page DOM structure, and these element files are downloaded, and is stored in local cache catalogue (such as the temp catalogue under the Windows).
In the page browsing process, the user is in case execution " retreating " is operated, and (browser) program can be come the reconstruct content of pages according to page DOM structure, and extracts elements corresponding and fill the page from local cache.If it is to need networking in real time obtain data that individual mark is arranged on the page, will obtain related data according to the mark networking again so, the page is exported once more after finishing reconstruct.Because the page topmost (picture, sound) element is directly to read from local cache, the sensation back operation of therefore giving the user is as there be not networking.
But on mobile browsing terminal, traditional fallback techniques has following shortcoming:
(1) present Webpage has adopted the DOM structure, need handle a plurality of files when therefore playing up the page, CSS configuration file for example, JS script file or the like, for these files, need become a pure content page according to the DOM structural remodeling when browser renders, this pure content page does not need to be reconstructed according to the DOM structure, can be by browser direct display.On common PC end, carry out aforesaid operations, because the data-handling capacity to Webpage on the PC end is stronger, the Network Transmission flow is unrestricted and the network bandwidth is higher, therefore the execution time is very short, the user is obviously perception not, but when on mobile communication equipment terminals, carrying out above-mentioned Webpage back operation, since mobile communication equipment terminals itself to the data-handling capacity of Webpage a little less than, add that Network Transmission flow resource utilization is not high and the network bandwidth is narrower, therefore the page is reformatted into a Webpage, need certain network data transmission and reformation time, during this period of time can be by the obvious perception of user.
(2) concerning some pages, when carrying out back operation, mobile communication equipment terminals meeting automatic re-networking obtains certain partial data of Webpage, thereby strengthened the lower network data transmission flow of original resource utilization, add under narrowband network inserts, prolong the reformation time of Webpage, finally influenced user's experience.
Summary of the invention
The invention provides a kind of browing system that is used for accelerating backspace operation of mobile communication equipment terminal, long technical matters consuming time when reforming with the Webpage of browsing before returning in the solution prior art.
Another object of the present invention is to provide the application process of this browing system.
In order to realize first purpose of the present invention, the technical scheme of employing is as follows:
The invention provides a kind of browing system that is used for accelerating backspace operation of mobile communication equipment terminal, this system is installed in mobile communication equipment terminals and is used to transmit the transfer server of request of access, and this system comprises:
The module that is installed in mobile communication equipment terminals comprises:
Storage module is used to store the pure content page that transfer server returns;
The rollback processing module is used to handle the rollback request;
Storage module is stored in mobile communication equipment terminals to pure content page;
The module that is installed in transfer server comprises:
Page processing module, the conversion of page that is used for that destination server is returned is pure content page.
Page processing module is connected by network with storage module, and the rollback processing module is connected with storage module.
It is to return to storage module after the pure content page that page processing module is carried out treatment conversion to the page that obtains from destination server, storage module is stored in mobile communication equipment terminals to pure content page, when the rollback button of user by mobile communication equipment terminals, when selecting rollback operation, the pure content page taking-up that rollback processing module handle from storage module is historical is also passed through browser display.
When the user selected rollback operation, the pure content page taking-up that rollback processing module handle from storage module is historical was also passed through browser display.
As a kind of preferred version, page processing module is conversion of page pure content page according to the DOM Document Object Model structure.Storage module is stored in pure content page the buffer area of mobile communication equipment terminals.
As preferred version further, the rollback processing module also comprises the real-time processing module that is used to handle real time data, and its workflow is as follows:
(41) judge the web page element of the pure content page from storage module, take out;
(42) if there is the web page element that need obtain from network again, then provide the real time data prompting.
As again one the step preferred version, in the above-mentioned steps (42):
Real time data prompts for and provides dialog box, and the prompting user refreshes again;
Real time data prompting can for:
Provide the hyperlink of the web page element that need obtain again;
It is expired perhaps to provide the prompting representation page.
When webpage was played up, whether real time data was loaded by user's decision, and the demonstration of webpage can not show because of having to load to finish real time data and delay, and has therefore both reduced network traffics, has accelerated the display speed of webpage simultaneously yet.
In order to realize second goal of the invention, the technical scheme of employing is as follows:
The invention provides a kind of application process that is used for the browing system of accelerating backspace operation of mobile communication equipment terminal, the steps include:
(801) mobile communication equipment terminals sends request of access to transfer server;
(802) transfer server obtains first page of being asked according to request of access from destination server;
(803) page processing module is handled the page that obtains, and is converted to the first pure content page;
(804) transfer server returns to mobile communication equipment terminals to the first pure content page;
(805) storage module is stored in mobile communication equipment terminals to the first pure content page that transfer server returns;
(806) mobile communication equipment terminals shows the first pure content page;
(807) mobile communication equipment terminals sends request of access to transfer server once more;
(808) transfer server obtains second page of being asked according to request of access from destination server;
(809) page processing module is handled the page that obtains, and is converted to the second pure content page;
(810) transfer server returns to mobile communication equipment terminals to the second pure content page;
(811) storage module is stored in mobile communication equipment terminals to the second pure content page that transfer server returns;
(812) when the user selects rollback operation, the rollback processing module is taken out the first pure content page from storage module and is passed through browser display.
As preferred version further, step (812) also comprises the steps:
(91) judge the web page element of the pure content page from storage module, take out;
(92) if there is the web page element that need obtain from network again, then provide the real time data prompting;
(93) real time data prompts for and provides dialog box prompting user and refresh again, perhaps for providing the hyperlink of the web page element that need obtain again, perhaps points out the page expired for providing.
The present invention is owing to be put into the work of playing up of the page on the transfer server, mobile communication equipment terminals has directly been preserved and has been played up later pure content page, therefore when the user carries out rollback operation, can directly read and show, play up operation and need not to carry out once more from the storage area.Therefore simultaneously,, do not obtain from network automatically, decide in its sole discretion, can significantly improve the display speed of mobile communication equipment terminals user webpage when carrying out back operation and give the user for the data that need real-time update.
Embodiment
The present invention is further detailed explanation below in conjunction with the drawings and specific embodiments.
Workflow of the present invention is as shown in Figure 1:
(S01) mobile communication equipment terminals 1 sends page a request of access to transfer server 2;
(S02) transfer server 2 obtains page data according to request of access to internet 3;
(S03) page processing module of transfer server 2 is handled the page data of receiving, page processing module is carried out page reconstruct according to the DOM of page A, various page datas such as CSS file, JS script file, picture, literal etc. are exported after reconstituting pure content page A1;
(S04) transfer server 2 returns to mobile communication equipment terminals 1 to pure content page A1;
(S05) storage module of mobile communication equipment terminals is kept at pure content page A1 the buffer area of mobile communication equipment terminals;
(S06) after browsing other pages, the user carries out rollback operation by the rollback button, when rollback returns A1, because the A1 page is pure content, so client can be extracted the data reconstruction page from local cache at once, need not be reconstructed, save the required time of page rendering greatly with page DOM structure;
(S07) for some need " in real time " to obtain the sign of content on the page, can do some judgements and corresponding operation is provided at server end: or allow the user carry out the page furbishing operation; Or identify originally according to the page and to set up new link and obtain content; Or the prompting page out-of-date (such as higher operations of some securities such as on-line payments) or the like.