CN105701246A - Terminal information loading method and device based on web application - Google Patents
Terminal information loading method and device based on web application Download PDFInfo
- Publication number
- CN105701246A CN105701246A CN201610114253.0A CN201610114253A CN105701246A CN 105701246 A CN105701246 A CN 105701246A CN 201610114253 A CN201610114253 A CN 201610114253A CN 105701246 A CN105701246 A CN 105701246A
- Authority
- CN
- China
- Prior art keywords
- data
- interface
- request
- result
- locality
- 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.)
- Pending
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/90—Details of database functions independent of the retrieved data types
- G06F16/95—Retrieval from the web
- G06F16/957—Browsing optimisation, e.g. caching or content distillation
- G06F16/9577—Optimising the visualization of content, e.g. distillation of HTML documents
Landscapes
- Engineering & Computer Science (AREA)
- Databases & Information Systems (AREA)
- Theoretical Computer Science (AREA)
- Data Mining & Analysis (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Information Transfer Between Computers (AREA)
Abstract
The invention discloses a terminal information loading method and device based on web, which is applied to an intelligent terminal. The method comprises the steps that a data request sent by an HTML 5 application is received, wherein the HTML 5 application is the web application constructed in the intelligent terminal; whether a processing result corresponding to the data request is stored locally or not, and if yes, the processing result is acquired locally; the processing result is loaded into a corresponding webpage to be displayed. The loading method and device solve the problem that a good webpage loading mode and a display mode can not be provided when the data size of the webpage data request is large in the prior art. The webpage loading speed and the displaying speed can be increased through the terminal information loading method and device.
Description
Technical field
The present invention relates to the communications field, particularly relate to loading method and the device of a kind of end message based on web application。
Background technology
Development along with mobile Internet, people are more and more higher to the requirement of intelligent artifact, also the visual experience to intelligent artifact is more pursued, user use terminal unit access the Internet frequency more and more higher, browsing of webpage is also got more and more with using, its data volume of various info webs is also increasing, how to ensure that the web browsing experience of user also becomes the trend that intelligent artifact improves。
When webpage bandwidth is certain, traditional info web loading method is along with the development of technology, occur in that the AJAX(AsynchronousJavascriptAndXML based on HTML5 technology, refer to a kind of web development technologies creating interaction network page application) synchronize, asynchronous process info web loads, the method carrying out data acquisition, the web application of application AJAX technology only can send to server and fetch required data, it uses SOAP or some other is based on the webservice interface of XML, and adopt JavaScript to process the response from server in client。
If the data volume of web application end request is less, then the synchronous asynchronous request of AJAX all quickly can present to the info web that user is corresponding normally, but once the data volume of request is very big, for AJAX synchronization request, after webpage HttpRequest object submits request to server, it is required for waiting for server to be disposed return result, period browser can not carry out other work, all of code in the page can be stopped loading when JS code is loaded into current AJAX time, there is torpor in the page, this AJAX releases when just may proceed to run other code page torpors after being finished, it is very fast that Asynchronous Transfer Mode compares method of synchronization processing speed, if but data volume is very big, repeatedly AJAX Asynchronous Request also there will be the state that the page is seemingly-dead, and for a lot of webpage data information, interactional relation is had between the Multi-level display interface of webpage, the display at next interface need to rely on the display at previous interface, now obviously can not use asynchronous processing mode。Therefore, no matter it is that AJAX synchronizes or asynchronous system, webpage load mode and display mode faster all cannot be provided, affect Consumer's Experience。
Summary of the invention
The embodiment of the present application is by providing loading method and the device of a kind of end message based on web application, solve in prior art when web data request data quantity is bigger, cannot providing preferably webpage load mode and display mode, the application can improve the speed of webpage loading and the speed of display。
The embodiment of the present application provides the loading method of a kind of end message based on web application on the one hand, it is applied to intelligent terminal, described method includes: receive the request of data that HTML5 application sends, and described HTML5 application is the web application being implemented in described intelligent terminal;
Judge whether this locality preserves the result that described request of data is corresponding, if any, then described result is obtained from this locality;
Described result is loaded into respective page display。
On the other hand, the embodiment of the present application additionally provides the charger of a kind of end message based on web application, is applied to intelligent terminal, and described device includes:
Receiver module, for receiving the request of data that HTML5 application sends, described HTML5 application is the web application being implemented in described intelligent terminal;
Judge acquisition module, for judging whether this locality preserves the result that described request of data is corresponding, if any, then described result is obtained from this locality;
Load-on module, displays for described result is loaded into respective page。
In the application scheme, intelligent terminal is after receiving the request of data that HTML5 application sends, first judge whether this locality preserves the result corresponding with described request of data, if any, result then loads into the corresponding page display, compared with prior art, need not after receiving the request of data that HTML5 application sends, all to server request data, when the data volume of the request of data that HTML5 application sends is bigger, if this locality has the result corresponding with above-mentioned request of data, this result then can be directly obtained from this locality, load it into page format to display in intelligent terminal, avoid traditional loading page mode and preferably webpage loading velocity and display speed cannot be provided, cause the technical problem being likely to occur page torpor, so, user can quickly see the page that result is corresponding, improve Consumer's Experience。
Accompanying drawing explanation
Fig. 1 is the flow chart of the loading method of the end message in the embodiment of the present application one based on web;
Fig. 2 is the flow chart receiving the request of data that HTML5 application sends in the embodiment of the present application one;
Fig. 3 judges in the embodiment of the present application one whether the request of data that HTML5 application sends is the flow chart sent first;
Fig. 4 is the module map of the charger of the end message in the embodiment of the present application two based on web。
Detailed description of the invention
The embodiment of the present application is by providing loading method and the device of a kind of end message based on web, solve in prior art when web data request data quantity is bigger, cannot providing preferably webpage load mode and display mode, the application can improve the speed of webpage loading and the speed of display。
In order to be better understood from technique scheme, below in conjunction with Figure of description and specific embodiment, technique scheme is described in detail。
Embodiment one
The present embodiment can be applicable in all kinds of intelligent terminal, possesses the terminals such as intelligence system such as Android system such as intelligent television, panel computer, mobile phone and computer etc., is particularly suited for intelligent television。
The present embodiment provides the loading method of a kind of end message based on web application, is applied to intelligent terminal, and with reference to shown in Fig. 1, method includes:
Step S101: receive the request of data that HTML5 application sends, HTML5 application is the web application being implemented in intelligent terminal;
For intelligent terminal, its software platform is generally built with in the HTML5 application of polytype and several functions, HTML5 application is typical web application, the appearance of HTML5 application allows intelligent platform realize multiple user's request by browser, browser can include IE, Chrome, FireFox, Safari, also or emerging browser。Therefore, HTML5 applies the superior function of self makes it increasingly be called key element comparatively important in intelligent terminal, these HTML5 application usually needs to load substantial amounts of data message, HTML5 application can be passed through such as television and load the programme information of channel list and correspondence, if showing all of channel and programme information to user's same time, data by request server end, time can be very long, so user sensory effect not good, even if neither be highly desirable to user friendly wait interface before presenting programs, because user now can not interact with equipment always。
More existing technology, it is all carry out the acquisition of mass data by the mode of AJAX synchronization, asynchronous process that tradition loads page method, and loading data needs to consider that code runs sequencing problem, if the page is mostly obtain data by AJAX request, then the sequencing of each request needs clearly, and otherwise the page then can not normal presentation。If the data volume obtained is little, then user all can be normally presented in the synchronous asynchronous request of AJAX, but once request data quantity is very big, for synchronization request, all of code in the page being stopped loading when JS code is loaded into current AJAX time, the page goes out torpor, when this AJAX just may proceed to after being finished run the releasing of other code page torpors, if same data volume is very big, repeatedly AJAX Asynchronous Request also there will be the state that the page is seemingly-dead。
Step S102: judge whether this locality preserves the result that described request of data is corresponding, if any, then described result is obtained from this locality;
The result that the local request of data preserved is corresponding, can there is multiple implementation, before intelligent terminal is dispatched from the factory, result corresponding for conventional request of data can be prestored, or according to user's request or user preferences, if using identical request of data before, so the result obtained before can also be saved in intelligent terminal this locality, in this manner it is achieved that corresponding result can not be got by server, save the request resource of terminal。
Step S103: described result is loaded into respective page and displays。
After getting result, this result can be the display element that final webpage is corresponding, by the mode of DOM, DOM is the node with html web page hierarchical structure tissue or the set of pieces of information, analyze this structure corresponding need load whole document and tectonic remnant basin structure, then pass through UI to render, generate corresponding working interface。
Concrete loading page mode, it is possible to building, with reference to webpage in prior art, the known technology that class is more ripe, the present embodiment does not do too much or complicated elaboration。
In the application scheme, intelligent terminal is after receiving the request of data that HTML5 application sends, first judge whether this locality preserves the result corresponding with described request of data, if any, result then loads into the corresponding page display, compared with prior art, need not after receiving the request of data that HTML5 application sends, all to server request data, when the data volume of the request of data that HTML5 application sends is bigger, if this locality has the result corresponding with above-mentioned request of data, this result then can be directly obtained from this locality, load it into page format to display in intelligent terminal, avoid traditional loading page mode and preferably webpage loading velocity and display speed cannot be provided, cause the technical problem being likely to occur page torpor, so, user can quickly see the page that result is corresponding, improve Consumer's Experience。
Optionally, for step S101, as in figure 2 it is shown, the present embodiment also provides for a kind of concrete steps receiving the request of data that HTML5 application sends:
S201: receive the request of data that HTML5 application sends, the terminal loads page that the request of data of HTML5 application transmission is corresponding at least includes the first interface and second contact surface, and the display of second contact surface presents after need to relying on the first interface display;
Example, TV program list for intelligent television end, generally, common TV program list generally includes two parts content, one is the display interface A comprising channel list, one is comprise the channel details corresponding to channel list, such as programm name, program play times, the display interface B of the data such as program abstract, and interface B needs to rely on interface A and refreshes display, that is, the data at B interface need the data acquisition at A interface to afterwards, data further according to A interface are removed server or obtain the data at B interface elsewhere, owing to existing programme channel is explosive growth, need also very big to the data volume of server request, if synchronized or asynchronous AJAX request with in prior art, all of code in the page can be stopped loading when JS code is loaded into current AJAX time, so, full page is easy to that factor data amount is bigger torpor occurs, this AJAX releases when just may proceed to run other code page torpors after being finished, even if plus a friendly wait interface prompt, when user interface presentation out time need for for a long time。
Further, judging the local step whether preserving result corresponding to described request of data particularly as follows:
S202: judge the local result whether preserving described first interface, if any, then obtain the result at described first interface from this locality, described first interface is carried out loaded and displayed;
If in data request process before, user is requested identical request of data once, that is likely to preserve the result that this request of data is corresponding in intelligent terminal this locality, and first the first interface A obtains, by the method for the localStorage.getItem (key) in WebStorage attribute, the corresponding data processed result of data list information that the first interface A displaying needs。LocalStorage.getItem (key) is to obtain the value specifying key locally stored, if key is absent from, so returning is null value, if key exists, the result of the first interface A is so obtained from this locality, first interface A is loaded, first the first interface A part is presented to user。
We get the process data of the first interface A from this locality, it is possible to resolve after getting data by onmessage method, then pass through Dom mode and the first interface A are presented;
Further, if judging, the result at described first interface is not preserved in this locality, the request of data at corresponding described first interface is then sent to server, after receiving the return result of request of data at corresponding described first interface, described first interface is carried out loaded and displayed, and described return result is saved in this locality。
S203: after described first interface loaded and displayed, sends the request of data of corresponding described second contact surface to server;
After the first interface A loaded and displayed, now, for instance, it is possible to opening up new thread by the mode of webworker and carry out HTTP request, webworker is the JavaScript operating in backstage, independent of other scripts, without influence on the performance of the page。By using WebWorker, we at browser running background Javascript, and can be not take up browser own thread。WebWorker can improve the overall performance of application, and promotes Consumer's Experience。Therefore, in the process of request second contact surface B, the performance of the first interface A is also unaffected, owing to utilizing locally stored data to load boundary velocity quickly, so user visually can obtain good experience, without the state that existence wait or interface are seemingly-dead, experience current quantity of information intuitively to user one。
S204: after receiving the return result of request of data of corresponding described second contact surface, second contact surface is carried out loaded and displayed。
Second contact surface part B data are carried out HTTP request, owing to second contact surface part B data are being discussed in detail of the first corresponding interface A table data, so second contact surface part B content can carry out interface refreshing according to actual request speed, user still will not feel very rude。
Optionally, in step S101: after receiving the step of the request of data that HTML5 application sends, also comprise the steps, as it is shown on figure 3,
Step S301: judge whether the request of data that described HTML5 application sends is send first;
Step S302: if, the request of data at corresponding described first interface is then sent to server, after receiving the return result of request of data at corresponding described first interface, described first interface is carried out loaded and displayed, and the return result of the request of data at corresponding described first interface is saved in this locality。
When implementing, example, judge whether the request of data that described HTML5 application sends is send first request to be carried out the mode that flag bit compares, when sending request of data every time, all compare with locally stored flag bit, if the locally stored flag bit having correspondence, that shows that this request of data not sends first, if this locality does not have the flag bit of correspondence, that shows that this request of data is for send first, when sending request of data first, the flag bit that request is carried can be saved in this locality, carry out during for subsequent data request judging。
When loading the page first, HTML5 application obtains information list data by HTTP request from service Server end, by the first interface A portion shows out, owing to second contact surface part B shows the displaying relying on the first interface A part, accordingly, second contact surface part B is also required to obtain from service end, that is, when loading first, the data of interface A and part B are required for obtaining from server end, then load accordingly again;
Owing to the first interface A part is likely in actual applications or will not often change in daily life, such as, channel information in television set is substantially stationary, such as one, central authorities, two, central authorities, these are substantially all and local and national standard is fixed, now, need to carry out the data message of the first interface A part using after storage is provided with, the new features WebStorage attribute of HTML5 can be adopted, by localStorage.setItem (key, value) method, data information memory is local;But the details of certain channel such as program that one, central authorities play are often changes, namely the data of second contact surface part B often change, based on this demand, need not store in this locality for relying on the second contact surface part B often refreshed at the first interface, it is necessary to present to user to the data that server request is up-to-date and use。
Optionally, also included before send the step of request of data of corresponding second contact surface to server:
The request of data at corresponding first interface is sent to server;
After receiving the return result of request of data at corresponding described first interface, it may be judged whether needing the first interface of loaded is updated, if so, then basis receives the return result of the request of data at corresponding described first interface, updates the first interface。
After the two step can be placed on the first interface loaded and displayed, it is also possible to carry out with the process of the first interface loaded and displayed simultaneously。To carry out simultaneously, do as described below:
Getting while localstorage data are shown in the first interface A, worker thread C is created by the method for newworker (" worker.js "), the data receiver simultaneously carrying out sub-line journey C in the main thread of the first interface A processes, and uses worker.onmessage=function (event) the method antithetical phrase thread C data returned to process;
Sub-line journey C carries out HTTP request, and obtains the data Response.responseText asking to return after successfully, passes data to main thread A by self.postMessage () method;
The data obtained by webworker mode are compared with data in localstorage, and without change, that first interface A is not updated;If both data are unequal, then compare refreshing the first interface A;
And the first interface A of final updated is carried out loaded and displayed。
To sum up, with actual a kind of implementation simple example, as currently shown the TV all of program information list of TV end and the program play messages of each channel corresponding, wherein channel list interface is A, and detailed PF information is interface B, if loading first, then A carries out the HTTP request current all of channel list of acquisition, then pass through interface A to display, and synchronize data by WebStorage interface localStorage.setItem (key, value) data are stored by method, then the request of B program data is carried out again, after carry out the refreshing of programme information interface;The page is loaded first if non-, then first obtain channel list information from this locality by localStorage.getItem (key) method, quickly load the page, user just can experience current TV end how many channel informations, open up new thread now by WebWorker method and carry out data channel data message acquisition, if identical with locally stored data, channel list need not be updated, proceed the request of data of PF information namely corresponding interface B and then the detailed programme information that display channel is corresponding;As different from locally stored data, carry out channel list interface fast refresh, then carry out PF information request and then the detailed programme information that display channel is corresponding。
Embodiment two
As shown in Figure 4, the present embodiment provides the charger of a kind of end message based on web application, is applied to intelligent terminal, and device includes:
Receiver module 401, for receiving the request of data that HTML5 application sends, HTML5 application is the web application being implemented in described intelligent terminal;
Judge acquisition module 402, for judging whether this locality preserves the result that request of data is corresponding, if any, then result is obtained from this locality;
Load-on module 403, displays for result is loaded into respective page。
Processing procedure for data above, it should be appreciated that in intelligent terminal, at least also includes the functional unit of some auxiliary, but these functional units can have other kinds of function replacement module, broadly falls into protection scope of the present invention。The functional unit of auxiliary at least possesses following effect:
1, process data processes, and the main data processed needed for whole UI showing interface process, logical process, obtain information list data as the loading page carries out HTTP request, in order to displayed page master list information;
2, sub-thread process, mainly by relying on network condition, HTTP request consuming time is placed in sub-line journey, adopts WebWorker method to carry out the acquisition of request of data and list information, and pass to host process and process accordingly。
3. the information list data carrying out HTTP request first are mainly carried out locally stored by locally stored process, for quickly displayed page next time。
In the application embodiment, intelligent terminal is after receiving the request of data that HTML5 application sends, first judge whether this locality preserves the result corresponding with described request of data, if any, result then loads into the corresponding page display, compared with prior art, need not after receiving the request of data that HTML5 application sends, all to server request data, when the data volume of the request of data that HTML5 application sends is bigger, if this locality has the result corresponding with above-mentioned request of data, this result then can be directly obtained from this locality, load it into page format to display in intelligent terminal, avoid traditional loading page mode and preferably webpage loading velocity and display speed cannot be provided, cause the technical problem being likely to occur page torpor, so, user can quickly see the page that result is corresponding, improve Consumer's Experience。
Further, receiver module 401 is specifically for receiving the request of data that HTML5 application sends, the terminal loads page that the request of data of HTML5 application transmission is corresponding at least includes the first interface and second contact surface, and the display of described second contact surface presents after need to relying on the first interface display;
Judge acquisition module 402 specifically for:
Judge the local result whether preserving the first interface, if any, then obtain the result at the first interface from this locality, the first interface is carried out loaded and displayed;
After the first interface loaded and displayed, send the request of data of corresponding second contact surface to server;
After receiving the return result of request of data of corresponding second contact surface, second contact surface is carried out loaded and displayed。
Further, the device of the present embodiment also includes:
Whether judge module first, be send first for judging the request of data that HTML5 application sends;
If so, then send the request of data at corresponding first interface to server, after receiving the return result of request of data at corresponding first interface, the first interface is carried out loaded and displayed, and the return result of the request of data at corresponding first interface is saved in this locality。
Further, the judgement acquisition module in the present embodiment is additionally operable to:
The request of data at corresponding first interface is sent to server;
After receiving the return result of request of data at corresponding first interface, it may be judged whether needing the first interface of loaded is updated, if so, then basis receives the return result of the request of data at corresponding first interface, updates the first interface。
Further, if the present embodiment judges that acquisition module is additionally operable to judge that the result at the first interface is not preserved in this locality, the request of data at corresponding first interface is then sent to server, after receiving the return result of request of data at corresponding first interface, first interface is carried out loaded and displayed, and return result is saved in this locality。
Those skilled in the art are it should be appreciated that embodiments of the invention can be provided as method, system or computer program。Therefore, the present invention can adopt the form of complete hardware embodiment, complete software implementation or the embodiment in conjunction with software and hardware aspect。And, the present invention can adopt the form at one or more upper computer programs implemented of computer-usable storage medium (including but not limited to disk memory, CD-ROM, optical memory etc.) wherein including computer usable program code。
The present invention is that flow chart and/or block diagram with reference to method according to embodiments of the present invention, equipment (system) and computer program describe。It should be understood that can by the combination of the flow process in each flow process in computer program instructions flowchart and/or block diagram and/or square frame and flow chart and/or block diagram and/or square frame。These computer program instructions can be provided to produce a machine to the processor of general purpose computer, special-purpose computer, Embedded Processor or other programmable data processing device so that the instruction performed by the processor of computer or other programmable data processing device is produced for realizing the device of function specified in one flow process of flow chart or multiple flow process and/or one square frame of block diagram or multiple square frame。
These computer program instructions may be alternatively stored in and can guide in the computer-readable memory that computer or other programmable data processing device work in a specific way, the instruction making to be stored in this computer-readable memory produces to include the manufacture of command device, and this command device realizes the function specified in one flow process of flow chart or multiple flow process and/or one square frame of block diagram or multiple square frame。
These computer program instructions also can be loaded in computer or other programmable data processing device, make on computer or other programmable devices, to perform sequence of operations step to produce computer implemented process, thus the instruction performed on computer or other programmable devices provides for realizing the step of function specified in one flow process of flow chart or multiple flow process and/or one square frame of block diagram or multiple square frame。
Although preferred embodiments of the present invention have been described, but those skilled in the art are once know basic creative concept, then these embodiments can be made other change and amendment。So, claims are intended to be construed to include preferred embodiment and fall into all changes and the amendment of the scope of the invention。
Claims (10)
1., based on a loading method for the end message of web application, it is applied to intelligent terminal, it is characterised in that described method includes:
Receiving the request of data that HTML5 application sends, described HTML5 application is the web application being implemented in described intelligent terminal;
Judge whether this locality preserves the result that described request of data is corresponding, if any, then described result is obtained from this locality;
Described result is loaded into respective page display。
2. the loading method of the end message based on web application as claimed in claim 1, it is characterised in that the step of the request of data that described reception HTML5 application sends particularly as follows:
Receiving the request of data that HTML5 application sends, the terminal loads page that the request of data of described HTML5 application transmission is corresponding at least includes the first interface and second contact surface, and the display of described second contact surface presents after need to relying on described first interface display;
Described judge the local step whether preserving result corresponding to described request of data particularly as follows:
Judge the local result whether preserving described first interface, if any, then obtain the result at described first interface from this locality, described first interface is carried out loaded and displayed;
After described first interface loaded and displayed, send the request of data of corresponding described second contact surface to server;
After receiving the return result of request of data of corresponding described second contact surface, second contact surface is carried out loaded and displayed。
3. the loading method of the end message based on web application as claimed in claim 2, it is characterised in that after the step of the described request of data receiving HTML5 application transmission, also includes:
Judge whether the request of data that described HTML5 application sends is send first;
If, the request of data at corresponding described first interface is then sent to server, after receiving the return result of request of data at corresponding described first interface, described first interface is carried out loaded and displayed, and the return result of the request of data at corresponding described first interface is saved in this locality。
4. the loading method of the end message based on web application as claimed in claim 3, it is characterised in that also included before send the step of request of data of corresponding described second contact surface to server:
The request of data at corresponding described first interface is sent to server;
After receiving the return result of request of data at corresponding described first interface, it may be judged whether needing the first interface of loaded is updated, if so, then basis receives the return result of the request of data at corresponding described first interface, updates the first interface。
5. the loading method of the end message based on web application as claimed in claim 2, it is characterized in that, described method farther includes: if judging, the result at described first interface is not preserved in this locality, the request of data at corresponding described first interface is then sent to server, after receiving the return result of request of data at corresponding described first interface, described first interface is carried out loaded and displayed, and described return result is saved in this locality。
6., based on a charger for the end message of web application, it is applied to intelligent terminal, it is characterised in that described device includes:
Receiver module, for receiving the request of data that HTML5 application sends, described HTML5 application is the web application being implemented in described intelligent terminal;
Judge acquisition module, for judging whether this locality preserves the result that described request of data is corresponding, if any, then described result is obtained from this locality;
Load-on module, displays for described result is loaded into respective page。
7. the charger of the end message based on web application as claimed in claim 6, it is characterised in that
Described receiver module is specifically for receiving the request of data that HTML5 application sends, the terminal loads page that the request of data of described HTML5 application transmission is corresponding at least includes the first interface and second contact surface, and the display of described second contact surface presents after need to relying on described first interface display;
Described judgement acquisition module specifically for:
Judge the local result whether preserving described first interface, if any, then obtain the result at described first interface from this locality, described first interface is carried out loaded and displayed;
After described first interface loaded and displayed, send the request of data of corresponding described second contact surface to server;
After receiving the return result of request of data of corresponding described second contact surface, second contact surface is carried out loaded and displayed。
8. the charger of the end message based on web application as claimed in claim 7, it is characterised in that described device also includes:
Whether judge module first, be send first for judging the request of data that described HTML5 application sends;
If, the request of data at corresponding described first interface is then sent to server, after receiving the return result of request of data at corresponding described first interface, described first interface is carried out loaded and displayed, and the return result of the request of data at corresponding described first interface is saved in this locality。
9. the charger of the end message based on web application as claimed in claim 8, it is characterised in that described judgement acquisition module is additionally operable to:
The request of data at corresponding described first interface is sent to server;
After receiving the return result of request of data at corresponding described first interface, it may be judged whether needing the first interface of loaded is updated, if so, then basis receives the return result of the request of data at corresponding described first interface, updates the first interface。
10. the charger of the end message based on web application as claimed in claim 7, it is characterized in that, if described judgement acquisition module is additionally operable to judge the result that described first interface is not preserved in this locality, the request of data at corresponding described first interface is then sent to server, after receiving the return result of request of data at corresponding described first interface, described first interface is carried out loaded and displayed, and described return result is saved in this locality。
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2015108266262 | 2015-11-25 | ||
CN201510826626 | 2015-11-25 |
Publications (1)
Publication Number | Publication Date |
---|---|
CN105701246A true CN105701246A (en) | 2016-06-22 |
Family
ID=56223652
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610114253.0A Pending CN105701246A (en) | 2015-11-25 | 2016-03-01 | Terminal information loading method and device based on web application |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105701246A (en) |
Cited By (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106611047A (en) * | 2016-12-16 | 2017-05-03 | 天脉聚源(北京)传媒科技有限公司 | Webpage loading method and apparatus |
CN106682135A (en) * | 2016-12-16 | 2017-05-17 | 天脉聚源(北京)传媒科技有限公司 | Webpage loading method and device |
CN107172447A (en) * | 2017-05-31 | 2017-09-15 | 成都博视美达文化传播有限公司 | Data load method and device |
WO2018161813A1 (en) * | 2017-03-08 | 2018-09-13 | 阿里巴巴集团控股有限公司 | Resource loading method and device |
CN109086150A (en) * | 2018-09-20 | 2018-12-25 | 杭州安恒信息技术股份有限公司 | A kind of method, apparatus for avoiding multiple asynchronous methods from repeating and electronic equipment |
CN111093116A (en) * | 2019-12-09 | 2020-05-01 | 北京达佳互联信息技术有限公司 | Video loading information processing method and device and storage medium |
CN111506361A (en) * | 2017-07-14 | 2020-08-07 | 阿里巴巴集团控股有限公司 | Control method and device for loading assembly |
CN112269608A (en) * | 2020-11-19 | 2021-01-26 | 四川长虹电器股份有限公司 | Method for realizing web application loading optimization at television terminal |
CN114756791A (en) * | 2022-04-25 | 2022-07-15 | 中国平安人寿保险股份有限公司 | List data loading method and loading device, electronic equipment and storage medium |
CN114756791B (en) * | 2022-04-25 | 2024-11-19 | 中国平安人寿保险股份有限公司 | Method and device for loading list data, electronic equipment and storage medium |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20080228772A1 (en) * | 2007-03-12 | 2008-09-18 | Robert Plamondon | Systems and methods of prefreshening cached objects based on user's current web page |
CN104850415A (en) * | 2014-02-13 | 2015-08-19 | 腾讯科技(深圳)有限公司 | Method and apparatus for loading pages |
CN104965717A (en) * | 2014-06-05 | 2015-10-07 | 腾讯科技(深圳)有限公司 | Method and apparatus for loading page |
CN104991916A (en) * | 2015-06-24 | 2015-10-21 | 小米科技有限责任公司 | Webpage loading method and apparatus |
-
2016
- 2016-03-01 CN CN201610114253.0A patent/CN105701246A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20080228772A1 (en) * | 2007-03-12 | 2008-09-18 | Robert Plamondon | Systems and methods of prefreshening cached objects based on user's current web page |
CN104850415A (en) * | 2014-02-13 | 2015-08-19 | 腾讯科技(深圳)有限公司 | Method and apparatus for loading pages |
CN104965717A (en) * | 2014-06-05 | 2015-10-07 | 腾讯科技(深圳)有限公司 | Method and apparatus for loading page |
CN104991916A (en) * | 2015-06-24 | 2015-10-21 | 小米科技有限责任公司 | Webpage loading method and apparatus |
Cited By (16)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106682135A (en) * | 2016-12-16 | 2017-05-17 | 天脉聚源(北京)传媒科技有限公司 | Webpage loading method and device |
CN106611047A (en) * | 2016-12-16 | 2017-05-03 | 天脉聚源(北京)传媒科技有限公司 | Webpage loading method and apparatus |
US11210109B2 (en) | 2017-03-08 | 2021-12-28 | Banma Zhixing Network (Hongkong) Co., Limited | Method and system for loading resources |
WO2018161813A1 (en) * | 2017-03-08 | 2018-09-13 | 阿里巴巴集团控股有限公司 | Resource loading method and device |
CN108572965A (en) * | 2017-03-08 | 2018-09-25 | 阿里巴巴集团控股有限公司 | A kind of resource loading method and device |
CN108572965B (en) * | 2017-03-08 | 2020-03-31 | 阿里巴巴集团控股有限公司 | Resource loading method and device |
CN107172447A (en) * | 2017-05-31 | 2017-09-15 | 成都博视美达文化传播有限公司 | Data load method and device |
CN107172447B (en) * | 2017-05-31 | 2019-12-27 | 成都博视美达文化传播有限公司 | Data loading method and device |
CN111506361A (en) * | 2017-07-14 | 2020-08-07 | 阿里巴巴集团控股有限公司 | Control method and device for loading assembly |
CN111506361B (en) * | 2017-07-14 | 2024-01-09 | 创新先进技术有限公司 | Control method and device for loading assembly |
CN109086150A (en) * | 2018-09-20 | 2018-12-25 | 杭州安恒信息技术股份有限公司 | A kind of method, apparatus for avoiding multiple asynchronous methods from repeating and electronic equipment |
CN111093116A (en) * | 2019-12-09 | 2020-05-01 | 北京达佳互联信息技术有限公司 | Video loading information processing method and device and storage medium |
CN112269608B (en) * | 2020-11-19 | 2022-08-19 | 四川长虹电器股份有限公司 | Method for realizing web application loading optimization at television terminal |
CN112269608A (en) * | 2020-11-19 | 2021-01-26 | 四川长虹电器股份有限公司 | Method for realizing web application loading optimization at television terminal |
CN114756791A (en) * | 2022-04-25 | 2022-07-15 | 中国平安人寿保险股份有限公司 | List data loading method and loading device, electronic equipment and storage medium |
CN114756791B (en) * | 2022-04-25 | 2024-11-19 | 中国平安人寿保险股份有限公司 | Method and device for loading list data, electronic equipment and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105701246A (en) | Terminal information loading method and device based on web application | |
KR102255138B1 (en) | Message processing method and device, storage medium, and computer device | |
AU2014202863B2 (en) | Update management method and apparatus | |
CN109254771B (en) | Monitoring page generation method and device | |
EP2916243A1 (en) | Method, apparatus, server and system for implementing web application | |
CN109634599B (en) | Page view display method, device, equipment and storage medium | |
CN109683978B (en) | Stream type layout interface rendering method and device and electronic equipment | |
CN109491742B (en) | Page table rendering method and device | |
US10135910B2 (en) | Cross-platform document presentation | |
CN112631591B (en) | Method, apparatus, device and computer readable storage medium for table element linkage | |
CN106791953A (en) | Many player control methods, server and client | |
EP3654175A1 (en) | Terminal device, ui extension method, and ui extension program | |
CN111368235A (en) | Page rendering and displaying method, device, server and storage medium | |
CN107330087B (en) | Page file generation method and device | |
CN110709838B (en) | Method, system and medium for updating web pages rendered with cached content | |
TWI519980B (en) | Method and device for displaying web page and computer-readable storage medium | |
CN110134905B (en) | Page update display method, device, equipment and storage medium | |
CN109814915B (en) | Parameter configuration method, device, medium and electronic equipment based on lua | |
CN101808218A (en) | Method, device and system for acquiring and updating content of electronic program guide | |
CN105574114A (en) | On-line plotting method based on telecom resource management standard control library | |
CN107092494B (en) | Method and device for accessing APK (android Package) resource | |
CN104077292B (en) | The storage method and equipment of info web | |
US20170118135A1 (en) | Responsive Action in a Resource Management System | |
US10740424B2 (en) | Smooth navigation between resources in a digital resource management system | |
CN115438290A (en) | Method and system for automatically analyzing static resources of single-page application and preloading |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20160622 |
|
RJ01 | Rejection of invention patent application after publication |