CN106155708A - A kind of dynamic load and the method and system of renewal content of pages - Google Patents

A kind of dynamic load and the method and system of renewal content of pages Download PDF

Info

Publication number
CN106155708A
CN106155708A CN201510129389.4A CN201510129389A CN106155708A CN 106155708 A CN106155708 A CN 106155708A CN 201510129389 A CN201510129389 A CN 201510129389A CN 106155708 A CN106155708 A CN 106155708A
Authority
CN
China
Prior art keywords
file
content
pages
subpage frame
renewal
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.)
Granted
Application number
CN201510129389.4A
Other languages
Chinese (zh)
Other versions
CN106155708B (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.)
TCL Corp
Original Assignee
TCL Corp
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 TCL Corp filed Critical TCL Corp
Priority to CN201510129389.4A priority Critical patent/CN106155708B/en
Publication of CN106155708A publication Critical patent/CN106155708A/en
Application granted granted Critical
Publication of CN106155708B publication Critical patent/CN106155708B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Information Transfer Between Computers (AREA)

Abstract

A kind of dynamic load provided by the present invention and the method and system of renewal content of pages, by being divided into main interface file, single page layout's file and location contents file by content of pages file according to predetermined layout in advance;After receiving the instruction that user loads content of pages, single page layout's file and location contents file that first main interface file, user select the page load, then the single page layout's file and location contents file selecting page adjacent page with user is progressively being loaded, and whether having renewal to detect the content of pages file loaded at predetermined time intervals simultaneously;If detecting, content of pages file has renewal, then the renewal file of content of pages file is loaded, it is achieved thereby that progressively content of pages file is loaded, dynamically update the purpose of content of pages, due to the content of pages file that first main load interface file and user select, therefore can shorten the waiting time of user, provide convenient to user's browsing pages.

Description

A kind of dynamic load and the method and system of renewal content of pages
Technical field
The present invention relates to the information communications field, a kind of dynamic load and the method and system of renewal content of pages.
Background technology
For comprising complex figure interface application, the loading of traditional multi-page display content, if once having loaded multi-page, so load time is long, user needs to wait, and after having loaded multi-page, if the single page has renewal again, or certain page local content has renewal, then need again long-time whole updating.
The loading of traditional multi-page display content, if only load current page every time, user reloads new page after switching the page.After being switched to new page, it is also desirable to wait the new page to be loaded, cause wait for a long time, and bring inconvenience therefore to the use of user.
Therefore, prior art awaits further improving.
Summary of the invention
In view of above-mentioned weak point of the prior art, it is an object of the invention to provide the user a kind of dynamic load and update the method and system of content of pages, to solve prior art disposably to load multiple webpages or when there is renewal certain page local in multi-page, load or the time of renewal is longer, need the defect that user waits as long for.
For solving above-mentioned technical problem, the present invention program includes:
A kind of dynamic load and the method updating content of pages, wherein, including:
A, in advance content of pages file is divided into main interface file, single page layout's file and location contents file according to predetermined layout;
B, receiving user and load the instruction of content of pages, single page layout's file and location contents file that main interface file, user select subpage frame successively load;
After C, the subpage frame selected as user have loaded, then putting in order according to subpage frame, single page layout's file and the location contents file of subpage frame before being arranged in the subpage frame that user selectes and/or after arrangement are progressively loaded;
D, renewal whether there is is to detect the content of pages file loaded at predetermined time intervals;If detecting, content of pages file has renewal, then perform step E;
E, down loading updating file, load the file in content of pages file with update content according to the order of main interface file, single page layout's file and single page content file.
Described dynamic load and the method updating content of pages, wherein, described step C also includes:
Whether it is arranged with subpage frame before C1, the subpage frame that user is selected to detect;If having, then perform C2, otherwise perform step C3;
C2, loads single page layout's file and the location contents file being arranged in front subpage frame, after having loaded, performs step C3;
Whether C3, be arranged with subpage frame and detect after the subpage frame selecting user;If having, then performing step C4, if not having, then performing step C5;
C4, load and be arranged in single page layout's file and the location contents file of rear subpage frame;And to whether there is subpage frame after it detect;If existing, the most progressively load page layout file and the content of pages file of subpage frame thereafter;If not existing, then perform step C5;
C5, detecting whether being arranged with subpage frame before the subpage frame loaded in step C2, if being arranged with, progressively loading page layout file and the content of pages file arranging subpage frame before it;Otherwise load and terminate.
Described dynamic load and the method updating content of pages, wherein, described step D also includes:
The renewal time of content of pages file on D1, acquisition network, and it was compared with the latest update time of local page content file, when the time of content of pages file latest update is later than the renewal time of content of pages file on network, then the renewal file of the content of pages file on download network.
Described dynamic load and the method updating content of pages, wherein, described step D also includes:
D2, whether it is updated detecting to main interface file, single page layout's file and location contents file successively, skips the content of pages file being the most updated over when loading and updating file.
Described dynamic load and the method updating content of pages, it is characterised in that described step C also includes:
C6, when detect user load specify subpage frame instruction time, then the single page layout's file and the location contents file that detect this appointment subpage frame have loaded, if not loaded, the most preferentially load this appointment subpage frame;If having loaded, the most directly skip the loading procedure of this appointment subpage frame.
A kind of dynamic load and the system of renewal content of pages, wherein, including: content of pages document definition module, the first load-on module, the second load-on module, renewal detection module and renewal load-on module;
Described content of pages document definition module, in advance content of pages file being divided into main interface file, single page layout's file and location contents file according to predetermined layout;
Described first load-on module, loading the instruction of content of pages for receiving user, single page layout's file and location contents file that main interface file, user select subpage frame successively load;
Described second load-on module, after the subpage frame selected as user has loaded, then putting in order according to subpage frame, progressively loads single page layout's file of subpage frame and location contents file before being arranged in the subpage frame that user selectes and/or after arrangement;
Described renewal detection module, for whether having renewal to detect the content of pages file loaded at predetermined time intervals;
If described renewal load-on module, for detecting that content of pages file has renewal, then down loading updating file, according to the order of main interface file, single page layout's file and single page content file, the file in content of pages file with update content is loaded.
Described dynamic load and the system of renewal content of pages, wherein, described second load-on module also includes: front page detection unit, front page loading unit, rear page detection unit, rear page loading unit and the front page progressively loading unit;
Described front page detection unit, before subpage frame that user is selected, whether it is arranged with subpage frame detects;
Described front page loading unit, for loading single page layout's file and the location contents file being arranged in front subpage frame;
Whether described rear page detection unit, be arranged with subpage frame before the subpage frame selecting user and detect;
The described rear page progressively loading unit, it is arranged in single page layout's file and the location contents file of rear subpage frame for loading;And to whether there is subpage frame after it detect;If having, the most progressively load page layout file and the content of pages file of subpage frame thereafter;
The described front page progressively loading unit, for detecting whether being arranged with subpage frame before the subpage frame loaded in front page loading unit, if having, the most progressively load page layout file and the content of pages file arranging subpage frame before it;Otherwise load and terminate.
Described dynamic load and the system of renewal content of pages, wherein, described renewal detection module includes: update detection download unit;
Described renewal detects download unit, for obtaining the renewal time of content of pages file on network, and it was compared with the latest update time of local page content file, when the time of content of pages file latest update is later than the renewal time of content of pages file on network, then the renewal file of the content of pages file on download network.
Described dynamic load and the system of renewal content of pages, wherein, described renewal detection module includes: update file loading unit;
Described renewal file loading unit, for whether being updated detecting to main interface file, single page layout's file and location contents file successively, skips the content of pages file being the most updated over when loading and updating file.
Described dynamic load and the system of renewal content of pages, wherein, described second load-on module also includes: specified page loading unit;
Described specified page loading unit, for when detect user load specify subpage frame instruction time, then the single page layout's file and the location contents file that detect this appointment subpage frame have loaded, if not loaded, the most preferentially load this specified page;If having loaded, the most directly skip the loading procedure of this specified page.
Beneficial effect, a kind of dynamic load provided by the present invention and the method and system of renewal content of pages, by being divided into main interface file, single page layout's file and location contents file by content of pages file according to predetermined layout in advance;After receiving the instruction that user loads content of pages, single page layout's file and location contents file that main interface file, user select the page the most successively load, then the single page layout's file and location contents file selecting page adjacent page with user is progressively being loaded, and whether having renewal to detect the content of pages file loaded at predetermined time intervals simultaneously;If detecting, content of pages file has renewal, then the renewal file of content of pages file is loaded, it is achieved thereby that progressively content of pages file is loaded, dynamically update the purpose of content of pages, due to the content of pages file that first main load interface file and user select, therefore can shorten the waiting time of user, provide convenient to user's browsing pages.
Accompanying drawing explanation
Fig. 1 is a kind of dynamic load that the present invention provides and the method step flow chart updating content of pages.
Fig. 2 is the content of pages display schematic diagram after in Fig. 1 being defined content of pages file.
Fig. 3 is the content of pages loading sequence flow chart in Fig. 1.
Fig. 4 is the flow chart that the loading in Fig. 1 closes on content of pages file.
Fig. 5 is a kind of dynamic load that the present invention provides and the system principle structural representation updating content of pages.
Detailed description of the invention
For making the purpose of the present invention, technical scheme and advantage clearer, clear and definite, the present invention is described in more detail for the embodiment that develops simultaneously referring to the drawings.Should be appreciated that specific embodiment described herein is used only for explaining the present invention, be not intended to limit the present invention.
The invention provides a kind of dynamic load and the method updating content of pages, as it is shown in figure 1, described method includes step:
S1, in advance content of pages file is divided into main interface file, single page layout's file and location contents file according to predetermined layout.
In order to content file is gradually loaded by the level difference enabled according to content of pages file distribution, it is defined firstly the need of to content of pages file, distinguish which belong to main interface file, which belong to page layout file, and which belongs to location contents file, such that it is able to according to the difference of page interface layout, file is loaded successively.
As shown in Figure 2, after content of pages file is defined by this step, at the main interface file that the page demonstrates, the location contents file of single page layout's file and this single page thereof, concrete, in the schematic diagram shown in Fig. 2, it is to illustrate as a example by 5 pages, it is i.e. that this graphical interfaces application software has 5 subpage frames, the label of subpage frame is respectively as follows: video display, education, game, application and prefecture, it is shown that as this main interface, and containing video display under this main interface, education, game, apply and these 5 different subpage frames of prefecture, and on these 5 different subpage frames, all contain different location contents, and described location contents presents according to location contents file.
Main interface file: describe main interface and contain 5 subpage frames, the title of each subpage frame, ID, renewal time etc. altogether.
The file setting this main interface file is entitled: main.xml.This main interface file includes herein below:
<main>
<id>010</id>
<time>201501151005</time>
<page>
<name>video display</name>
<id>110</id>
<time>201501151005</time>
</page>
<page>
<name>education</name>
<id>111</id>
<time>201501151005</time>
</page>
</main>
Can be seen that from above-mentioned code, main interface file in examples detailed above includes: No. ID be 010 the title of subpage frame: video display, it updates the time: 201501151005, including the title of the subpage frame that No. ID is 110: education, and it updates the time: 201501151005 etc. information.
Single page layout's file: describe location layout's information of all location contents of the single page.
The file setting this single page layout's file is entitled: page110.xml, and this single page layout's file includes herein below:
<page>
<name>video display</name>
<id>110</id>
<time>201501151005</time>
< layout>
<absolutelayout >
<node>
<id>210</id>
<time>201501151005</time>
<x>0</x>
<y>0</y>
<w>90</w>
<h>90</h>
</node>
<node>
<id>211</id>
<time>201501151005</time>
<x>100</x>
<y>0</y>
<w>90</w>
<h>90</h>
</node>
</absolutelayout>
</layout>
</page>
From above-mentioned code it can be seen that said units topology file includes the title in this unit, the ID of this single page, the coordinate information of the renewal time of this single page, this single page content.
Location contents file: describe display content and the ancillary data of unit.Because unit is a lot, so depositing according to banking, each page has a corresponding location contents file.
The file setting this location contents file is entitled: nodes010.xml, and this location contents file includes herein below:
<nodes>
<node>
<id>210</id>
<time>201501151005</time>
<type>poster</type>
<img1>http://www.tcl.com/1.png</img1>
<img2>http://www.tcl.com/2.png </img2>
<name>my poster<name>
</node>
<node>
</node>
</nodes>
Can be seen that from the code instance of said units content file, location contents file includes display content and the ancillary data describing this unit, described ancillary data includes: the ID of sub-single page described in this location contents file, the renewal time of this location contents file, and the title of this location contents file etc., owing to location contents is a lot, described depositing according to banking, each page has a corresponding location contents file.
S2, receiving user and load the instruction of content of pages, single page layout's file and location contents file that main interface file, user select subpage frame successively load.
In specific implementation process, after user is by double-clicking the icon of graphical interfaces application software or passing through to select to open the application of described graphic interface in the actions menu of graphical interfaces application software, graphical interfaces application receives user and loads the instruction of content of pages, first main interface file is loaded, demonstrate that this graphical interfaces applies the content at main interface, then single page layout's file of subpage frame is selected loading user, location contents file user then selecting single page layout's file of subpage frame corresponding loads, such that it is able to allow user first browse to the main interface of this website, after avoiding the disposable full content file loading these website and webpage, just demonstrate web site contents, the defect waited as long for is brought to user.
After S3, the page selected as user have loaded, then putting in order according to single page layout's file, the single page layout's file and location contents file being arranged in the page before or after it is progressively loaded.
After the content of pages file of user's specified page has loaded, then can start the content file of other pages is loaded.Concrete, when the system is idle, the content of pages file that then explanation user specifies has loaded, can be using the parameter of system operation as reference, such as: when currently displaying frame per second being detected>25, and CPU occupancy<70%, then explanation system be in idle condition, now can carry out user's specified page adjacent page content of pages file load.Adjacent page described here can define its loading and judge sequence number defined in specific data structure, and judge whether the page is adjacent page according to described sequence number.Such as, the application in Fig. 2, prefecture subpage frame can be the adjacent page of game subpage frame.
In order to preferably its adjacent page content file be loaded, concrete, described step S3 also includes:
Whether it is arranged with subpage frame before S31, the subpage frame that user is selected to detect;If having, then perform S32, otherwise perform step S33;
S32, loads single page layout's file and the location contents file being arranged in front subpage frame, after having loaded, performs step S33;
Whether S33, be arranged with subpage frame and detect after the subpage frame selecting user;If having, then perform step S34, otherwise perform step S35;
S34, load and be arranged in single page layout's file and the location contents file of rear subpage frame;And to whether there is subpage frame after it detect;If having, the most progressively load page layout file and the content of pages file of the page thereafter;If not existing, then perform step S35;
S35, whether the page before the page loaded in step S32 being existed and detects, if existing, progressively loading page layout file and the content of pages file of its front page;If not existing, loading and terminating.
Said method step S31-S35, whether its process is i.e. first to exist user instruction page adjacent page to detect, when detecting that the page exists, then load, if not existing, then enter the loading of the content of pages file detecting the presence of the page, its process be first detection before, then detection after, when all before this user's specified page the page all loaded, after it, the page has all loaded, then this loading terminates.
S4, renewal whether there is is to detect the content of pages file loaded at predetermined time intervals;If detecting, content of pages file has renewal;Then perform step S5.
In order to enable faster renewal file to be loaded, first it is that first whether detection content of pages file has renewal.
In a particular embodiment, if having renewal file, then down loading updating file, the most further comprising the steps of:
The renewal time of content of pages file on S41, acquisition network, and it was compared with the latest update time of local page content file, when the time of content of pages file latest update is later than the renewal time of content of pages file on network, then the renewal file of the content of pages file on download network.
S42, whether it is updated detecting to main interface file, single page layout's file and location contents file successively, skips the content of pages file being the most updated over when loading and updating file.
Concrete, if above-mentioned three kinds of pagefiles update based on the Internet, then the renewal of the main interface file of regular check.The inquiry server main interface file latest update time, update the time just understands whether have renewal according to local file.If there being main interface file to have renewal, then download and need new main interface file.Resolve new master page file, check which page layout file has renewal, download the single page layout's file and content file updated.After all renewal file download complete, start page loading procedure.In page loading procedure, if this subpage frame or location contents had loaded latest edition, then no longer load, directly skip and carry out next step.So, new loading procedure, only can load the page of renewal and the content element of renewal.
S5, down loading updating file, load the file in content of pages file with update content according to the order of main interface file, single page layout's file and single page content file.
If renewal file having been detected in step s 4, then the content of pages file with renewal file is updated, otherwise skip need not update content of pages file, it is to avoid again it is loaded, give update file complete add the unnecessary waiting time.
Owing to, during user's browsing pages, user may carry out page turning, therefore also includes in described step S3:
S36, when detect user load specify subpage frame instruction time, then the single page layout's file and the location contents file that detect this appointment subpage frame have loaded, if not loaded, the most preferentially load this specified page;If having loaded, then the loading procedure of direct this specified page of skip load.
Concrete, as it is shown on figure 3, be the loading sequence flow chart of step S2 and step S3:
K1, after receiving the loading instruction that user sends, enter step K2;
K2, main load interface file and user select page layout file and the location contents file of subpage frame;
K3, detecting system is the most idle, when detecting that system is idle, then performs step K4, otherwise carries out the detection that system is the most idle;
K4, loading and close on page layout file and the location contents file of subpage frame, when whole subpage frames have all loaded, then enter k5, loading terminates.
Concrete, after it is for first having loaded the topology file that user specifies subpage frame, start to load the content file of this subpage frame again, and gradually carry out having loaded the loading of the subpage frame before subpage frame and the content of pages file of subpage frame afterwards, as shown in Figure 4, for having loaded after user specifies subpage frame, the specific embodiment flow chart that the content of pages file of subpage frame before and after it is loaded.
H1, start to load user and specify the adjacent subpage frame of subpage frame.
If the number of putting in order that H2 N is current subpage frame, another J=1, then judge whether the subpage frame of serial number N-J exists, be i.e. to judge whether the prevpage adjacent with current subpage frame (user specifies subpage frame) exists, if existence, then perform step H3, otherwise perform step H4;
H3, the subpage frame of loading serial number N-J, including its topology file and content file, after having loaded, perform step H4;
H4, judging whether the subpage frame of serial number N+J exists, be i.e. to judge whether the next page adjacent with current subpage frame (user's specified page) exists, if existing, then performing step H5, otherwise execution step H6;
H5, the page of loading serial number N+J, including its topology file and content file, after having loaded, perform step H6;
H6, loading judge whether the subpage frame of serial number N-J-1 exists, i.e. it is whether the prevpage judging the prevpage adjacent with current subpage frame (user's specified page) exists, and circulate successively, judge whether the subpage frame of N+J+1 exists, if detecting, subpage frame exists, then load, otherwise detect whether progressively other adjacent page exist;
H7, when detecting that N-J subpage frame and N+J subpage frame (now J=J+1) do not exist, then this loading terminates.
The method of the invention, by the loading sequence of above-mentioned content of pages file, loads successively to content of pages file, it is achieved thereby that progressively load each file, reduces the purpose of period of reservation of number.
Based on the above method, present invention also offers a kind of dynamic load and update the system of content of pages, as it is shown in figure 5, described system includes: content of pages document definition module the 110, first load-on module the 120, second load-on module 130, renewal detection module 140 and renewal load-on module 150;
Described content of pages document definition module 110, in advance content of pages file being divided into main interface file, single page layout's file and location contents file according to predetermined layout;
Described first load-on module 120, loading the instruction of content of pages for receiving user, single page layout's file and location contents file that main interface file, user select subpage frame successively load;
Described second load-on module 130, after the subpage frame selected as user has loaded, then putting in order according to subpage frame, progressively loads single page layout's file of subpage frame and location contents file before being arranged in the subpage frame that user selectes and/or after arrangement;
Described renewal detection module 140, for whether having renewal to detect the content of pages file loaded at predetermined time intervals;
If described renewal load-on module 150, for detecting that content of pages file has renewal, then down loading updating file, according to the order of main interface file, single page layout's file and single page content file, the file in content of pages file with update content is loaded.
Described second load-on module also includes: front page detection unit, front page loading unit, rear page detection unit, rear page loading unit and the front page progressively loading unit;
Described front page detection unit, before subpage frame that user is selected, whether it is arranged with subpage frame detects;
Described front page loading unit, for loading single page layout's file and the location contents file being arranged in front subpage frame;
Whether described rear page detection unit, be arranged with subpage frame before the subpage frame selecting user and detect;
The described rear page progressively loading unit, it is arranged in single page layout's file and the location contents file of rear subpage frame for loading;And to whether there is subpage frame after it detect;If having, the most progressively load page layout file and the content of pages file of subpage frame thereafter;
The described front page progressively loading unit, for detecting whether being arranged with subpage frame before the subpage frame loaded in front page loading unit, if having, the most progressively load page layout file and the content of pages file arranging subpage frame before it;Otherwise load and terminate.
Described renewal detection module includes: update detection download unit;
Described renewal detects download unit, for obtaining the renewal time of content of pages file on network, and it was compared with the latest update time of local page content file, when the time of content of pages file latest update is later than the renewal time of content of pages file on network, then the renewal file of the content of pages file on download network.
Described renewal detection module includes: update file loading unit;
Described renewal file loading unit, for whether being updated detecting to main interface file, single page layout's file and location contents file successively, skips the content of pages file being the most updated over when loading and updating file.
Described second load-on module also includes: specified page loading unit;
Described specified page loading unit, for when detect user load specify subpage frame instruction time, then the single page layout's file and the location contents file that detect this appointment subpage frame have loaded, if not loaded, the most preferentially load this specified page;If having loaded, the most directly skip the loading procedure of this specified page.
A kind of dynamic load provided by the present invention and the method and system of renewal content of pages, by being divided into main interface file, single page layout's file and location contents file by content of pages file according to predetermined layout in advance;After receiving the instruction that user loads content of pages, single page layout's file and location contents file that main interface file, user select the page the most successively load, then the single page layout's file and location contents file selecting page adjacent page with user is progressively being loaded, and whether having renewal to detect the content of pages file loaded at predetermined time intervals simultaneously;If detecting, content of pages file has renewal, then the renewal file of content of pages file is loaded, it is achieved thereby that progressively content of pages file is loaded, dynamically update the purpose of content of pages, due to the content of pages file that first main load interface file and user select, therefore can shorten the waiting time of user, provide convenient to user's browsing pages.
It is understood that for those of ordinary skills, can be according to technical scheme and inventive concept thereof in addition equivalent or change, and all these change or replace the protection domain that all should belong to appended claims of the invention.

Claims (10)

1. a dynamic load and the method for renewal content of pages, it is characterised in that including:
A, in advance content of pages file is divided into main interface file, single page layout's file and location contents file according to predetermined layout;
B, receiving user and load the instruction of content of pages, single page layout's file and location contents file that main interface file, user select subpage frame successively load;
After C, the subpage frame selected as user have loaded, then putting in order according to subpage frame, single page layout's file and the location contents file of subpage frame before being arranged in the subpage frame that user selectes and/or after arrangement are progressively loaded;
D, renewal whether there is is to detect the content of pages file loaded at predetermined time intervals;If detecting, content of pages file has renewal, then perform step E;
E, down loading updating file, load the file in content of pages file with update content according to the order of main interface file, single page layout's file and single page content file.
Dynamic load and the method for renewal content of pages the most according to claim 1, it is characterised in that described step C also includes:
Whether it is arranged with subpage frame before C1, the subpage frame that user is selected to detect;If having, then perform C2, otherwise perform step C3;
C2, loads single page layout's file and the location contents file being arranged in front subpage frame, after having loaded, performs step C3;
Whether C3, be arranged with subpage frame and detect after the subpage frame selecting user;If having, then performing step C4, if not having, then performing step C5;
C4, load and be arranged in single page layout's file and the location contents file of rear subpage frame;And to whether there is subpage frame after it detect;If existing, the most progressively load page layout file and the content of pages file of subpage frame thereafter;If not existing, then perform step C5;
C5, detecting whether being arranged with subpage frame before the subpage frame loaded in step C2, if being arranged with, progressively loading page layout file and the content of pages file arranging subpage frame before it;Otherwise load and terminate.
Dynamic load and the method for renewal content of pages the most according to claim 1, it is characterised in that described step D also includes:
The renewal time of content of pages file on D1, acquisition network, and it was compared with the latest update time of local page content file, when the time of content of pages file latest update is later than the renewal time of content of pages file on network, then the renewal file of the content of pages file on download network.
Dynamic load and the method for renewal content of pages the most according to claim 3, it is characterised in that described step D also includes:
D2, whether it is updated detecting to main interface file, single page layout's file and location contents file successively, skips the content of pages file being the most updated over when loading and updating file.
Dynamic load and the method for renewal content of pages the most according to claim 2, it is characterised in that described step C also includes:
C6, when detect user load specify subpage frame instruction time, then the single page layout's file and the location contents file that detect this appointment subpage frame have loaded, if not loaded, the most preferentially load this appointment subpage frame;If having loaded, the most directly skip the loading procedure of this appointment subpage frame.
6. a dynamic load and the system of renewal content of pages, it is characterised in that including: content of pages document definition module, the first load-on module, the second load-on module, renewal detection module and renewal load-on module;
Described content of pages document definition module, in advance content of pages file being divided into main interface file, single page layout's file and location contents file according to predetermined layout;
Described first load-on module, loading the instruction of content of pages for receiving user, single page layout's file and location contents file that main interface file, user select subpage frame successively load;
Described second load-on module, after the subpage frame selected as user has loaded, then putting in order according to subpage frame, progressively loads single page layout's file of subpage frame and location contents file before being arranged in the subpage frame that user selectes and/or after arrangement;
Described renewal detection module, for whether having renewal to detect the content of pages file loaded at predetermined time intervals;
If described renewal load-on module, for detecting that content of pages file has renewal, then down loading updating file, according to the order of main interface file, single page layout's file and single page content file, the file in content of pages file with update content is loaded.
Dynamic load and the system of renewal content of pages the most according to claim 6, it is characterized in that, described second load-on module also includes: front page detection unit, front page loading unit, rear page detection unit, rear page loading unit and the front page progressively loading unit;
Described front page detection unit, before subpage frame that user is selected, whether it is arranged with subpage frame detects;
Described front page loading unit, for loading single page layout's file and the location contents file being arranged in front subpage frame;
Whether described rear page detection unit, be arranged with subpage frame after the subpage frame selecting user and detect;
The described rear page progressively loading unit, it is arranged in single page layout's file and the location contents file of rear subpage frame for loading;And to whether there is subpage frame after it detect;If having, the most progressively load page layout file and the content of pages file of subpage frame thereafter;
The described front page progressively loading unit, for detecting whether being arranged with subpage frame before the subpage frame loaded in front page loading unit, if having, the most progressively load page layout file and the content of pages file arranging subpage frame before it;Otherwise load and terminate.
Dynamic load and the system of renewal content of pages the most according to claim 6, it is characterised in that described renewal detection module includes: update detection download unit;
Described renewal detects download unit, for obtaining the renewal time of content of pages file on network, and it was compared with the latest update time of local page content file, when the time of content of pages file latest update is later than the renewal time of content of pages file on network, then the renewal file of the content of pages file on download network.
Dynamic load and the system of renewal content of pages the most according to claim 8, it is characterised in that described renewal detection module includes: update file loading unit;
Described renewal file loading unit, for whether being updated detecting to main interface file, single page layout's file and location contents file successively, skips the content of pages file being the most updated over when loading and updating file.
Dynamic load and the system of renewal content of pages the most according to claim 7, it is characterised in that described second load-on module also includes: specified page loading unit;
Described specified page loading unit, for when detect user load specify subpage frame instruction time, then the single page layout's file and the location contents file that detect this appointment subpage frame have loaded, if not loaded, the most preferentially load this specified page;If having loaded, the most directly skip the loading procedure of this specified page.
CN201510129389.4A 2015-03-24 2015-03-24 A kind of method and system of dynamically load and update content of pages Active CN106155708B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510129389.4A CN106155708B (en) 2015-03-24 2015-03-24 A kind of method and system of dynamically load and update content of pages

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510129389.4A CN106155708B (en) 2015-03-24 2015-03-24 A kind of method and system of dynamically load and update content of pages

Publications (2)

Publication Number Publication Date
CN106155708A true CN106155708A (en) 2016-11-23
CN106155708B CN106155708B (en) 2019-11-12

Family

ID=58063169

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510129389.4A Active CN106155708B (en) 2015-03-24 2015-03-24 A kind of method and system of dynamically load and update content of pages

Country Status (1)

Country Link
CN (1) CN106155708B (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106874035A (en) * 2017-01-11 2017-06-20 深圳中顺易金融服务有限公司 One kind is applied for updating(app)The method and its framework of built-in H5
CN106933640A (en) * 2017-04-26 2017-07-07 携程旅游网络技术(上海)有限公司 The method and system of Web page are loaded in the browser of mobile terminal
CN107391169A (en) * 2017-06-09 2017-11-24 口碑控股有限公司 The dynamic updating method and device of the Android page
CN109408191A (en) * 2018-11-06 2019-03-01 深圳乐信软件技术有限公司 Method for updating pages, device, equipment and storage medium
CN111580873A (en) * 2020-04-01 2020-08-25 北京小米松果电子有限公司 Page updating method and device, terminal and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103023941A (en) * 2011-09-26 2013-04-03 腾讯科技(深圳)有限公司 Terminal application program updating method and system based on Web page
CN103488504A (en) * 2013-09-12 2014-01-01 天脉聚源(北京)传媒科技有限公司 Method and device for loading data
CN104104707A (en) * 2013-04-12 2014-10-15 腾讯科技(深圳)有限公司 Webpage data update method, terminal, cache server and system
CN104166569A (en) * 2014-08-15 2014-11-26 北京彩云动力教育科技有限公司 Front-end page loading method and system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103023941A (en) * 2011-09-26 2013-04-03 腾讯科技(深圳)有限公司 Terminal application program updating method and system based on Web page
CN104104707A (en) * 2013-04-12 2014-10-15 腾讯科技(深圳)有限公司 Webpage data update method, terminal, cache server and system
CN103488504A (en) * 2013-09-12 2014-01-01 天脉聚源(北京)传媒科技有限公司 Method and device for loading data
CN104166569A (en) * 2014-08-15 2014-11-26 北京彩云动力教育科技有限公司 Front-end page loading method and system

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106874035A (en) * 2017-01-11 2017-06-20 深圳中顺易金融服务有限公司 One kind is applied for updating(app)The method and its framework of built-in H5
CN106874035B (en) * 2017-01-11 2020-06-30 深圳中顺易金融服务有限公司 Method for updating application (app) built-in H5 and framework thereof
CN106933640A (en) * 2017-04-26 2017-07-07 携程旅游网络技术(上海)有限公司 The method and system of Web page are loaded in the browser of mobile terminal
CN106933640B (en) * 2017-04-26 2020-12-25 携程旅游网络技术(上海)有限公司 Method and system for loading Web page in browser of mobile terminal
CN107391169A (en) * 2017-06-09 2017-11-24 口碑控股有限公司 The dynamic updating method and device of the Android page
CN109408191A (en) * 2018-11-06 2019-03-01 深圳乐信软件技术有限公司 Method for updating pages, device, equipment and storage medium
CN111580873A (en) * 2020-04-01 2020-08-25 北京小米松果电子有限公司 Page updating method and device, terminal and storage medium
CN111580873B (en) * 2020-04-01 2023-11-07 北京小米松果电子有限公司 Page updating method and device, terminal and storage medium

Also Published As

Publication number Publication date
CN106155708B (en) 2019-11-12

Similar Documents

Publication Publication Date Title
US20220067268A1 (en) Systems and methods for remote dashboard image generation
CN106155708A (en) A kind of dynamic load and the method and system of renewal content of pages
JP5894266B2 (en) Application tile presentation format
US8056014B2 (en) Web portal page interactive user interfaces with maximum accessibility to user selected portlets
CN107229633A (en) Static page generation method, Web access method and device
CN104166569A (en) Front-end page loading method and system
US20130268835A1 (en) Localized label user interface control
WO2012088485A2 (en) Presenting an application change through a tile background
CN104021016B (en) Method and browser for loading browser plug-in icons
JP2015167014A (en) Method, apparatus, sever and system for implementing web application
CN106649497B (en) Webpage display method and device
WO2005078607A2 (en) A frame environment that supports the navigation buttons of a web browser
CN103699576A (en) Method and device used for providing searching results
CN104182430A (en) Method and device for displaying image in text message
CN103678343A (en) Method and device for prompting webpage loading progress
CN102591877A (en) Webpage resource request method for embedded browser and browsing device
CN102999578A (en) Method and device for processing page element
CN106033361A (en) Method and device for showing application page, and method and device for updating application page data
CN104809751B (en) The method and apparatus for generating event group evolution diagram
CN102662837A (en) Testing method and system of browser
CN106294413A (en) The loading method of picture and device
CN101650713B (en) Method and device for realizing tabs in browsers
CN104899212B (en) Web page display method, server and system
KR20090115149A (en) Unifying discoverability of a website&#39;s services
CN105630893B (en) A kind of display methods and device of group picture title

Legal Events

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