CN105550357A - Web page refreshing method and device - Google Patents
Web page refreshing method and device Download PDFInfo
- Publication number
- CN105550357A CN105550357A CN201511017643.8A CN201511017643A CN105550357A CN 105550357 A CN105550357 A CN 105550357A CN 201511017643 A CN201511017643 A CN 201511017643A CN 105550357 A CN105550357 A CN 105550357A
- Authority
- CN
- China
- Prior art keywords
- page data
- target pages
- version information
- mobile terminal
- 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.)
- 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
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 embodiment of the invention discloses a web page refreshing method and device. After a mobile terminal receives a page refreshing command of a target page, the version information of the current page data of the target page is obtained, and a page updating request which carries the version information of the current page data is sent to a server. The server detects whether the page data of the target page is updated or not according to the version information of the current page data; and if the page data of the target page is not updated, the server returns the information which is under a non-updating state to the mobile terminal to cause the mobile terminal to use the current page data stored in the mobile terminal to render the target page. From the above web page refreshing process, when the server determines that the page data of the target page is not updated, only the information which is under the non-updating state is returned, the mobile terminal carries out rendering by the page data stored in the mobile terminal so as to avoid a phenomenon that the server repeatedly transmits a great quantity of same page data to the mobile terminal, and the network flow of the user is saved.
Description
Technical field
The disclosure relates to field of computer technology, particularly relates to a kind of Webpage method for refreshing and device.
Background technology
Along with network technology innovation and 4G (The4thGenerationmobilecommunication, the forth generation mobile communication technology) communication technology develop rapidly, mobile Internet business rapidly increases.Mobile Internet has abundant information, easy to use, user uses the features such as viscosity is stronger, but user, while enjoying the information that mobile interchange enriches on the net, is mobile network's campus network along with what produce.
User, when browsing network information, needs data such as mobile terminal networking load page resource file, picture and page rendering data, and these data often expend the network traffics of user's hundreds of KB to a few MB.Domestic News, social application etc. are had to the page of certain real-time, user often can continuous refresh page, ites is desirable to see what be new in time.When page furbishing for user operates, mobile terminal again to the current latest data of server request, can reload whole Webpage, thus expends a large amount of network traffics of user.
Summary of the invention
For overcoming Problems existing in correlation technique, the disclosure provides a kind of Webpage method for refreshing and device.
In order to solve the problems of the technologies described above, disclosure embodiment discloses following technical scheme:
According to the first aspect of disclosure embodiment, provide a kind of Webpage method for refreshing, be applied in mobile terminal, described method comprises:
Receive the page furbishing order for target pages;
According to described page furbishing order, obtain the version information that the current page data of described target pages are corresponding, described version information is for distinguishing described target pages at page data corresponding to different update time;
Send renewal of the page request to server, described version information is carried in described renewal of the page request, and whether described renewal of the page request has renewal for the page data making described server and detect described target pages according to version information;
When receive that described service returns not more new state information time, utilize target pages described in the described current page data render that stores in described mobile terminal.
The Webpage method for refreshing that first aspect provides, when the page data of server determination target pages does not upgrade, only return not more new state information, the page data that mobile terminal utilizes self EMS memory to store up is played up, thus avoid server to be repeated to be transferred to mobile terminal by page data identical in a large number, save the network traffics of user.
Alternatively, described method also comprises:
When receiving the up-to-date page data of the described target pages that described server returns, utilize target pages described in described up-to-date page data render;
By the version information of described up-to-date page data and described up-to-date page data, be stored in the local storage space of described mobile terminal.
The Webpage method for refreshing that the present embodiment provides, after receiving the up-to-date page data that server returns, is stored into this up-to-date page data in the local storage space of mobile terminal, to play up use next time.
Alternatively, described method also comprises:
Do not receive described up-to-date page data and described not more new state information time, utilize target pages described in the described current page data render that stores in described mobile terminal.
The Webpage method for refreshing that the present embodiment provides, before not receiving any information that server returns, first utilizes the current page data render target pages that mobile terminal this locality stores, thus reduces period of reservation of number, improve Consumer's Experience.
According to the second aspect of disclosure embodiment, provide a kind of Webpage method for refreshing, be applied in server, described method comprises:
For the page data corresponding to the target pages different update time, configure different version informations respectively and distinguish;
Receive the renewal of the page request for described target pages, in described renewal of the page request, carry the version information that the current page data of described target pages are corresponding;
According to the version information of described current page data, whether the page data detecting described target pages has renewal;
When detecting that the page data of described target pages does not upgrade, return not more new state information to described mobile terminal, described not more new state information for target pages described in the current page data render that makes described mobile terminal utilize to store in described mobile terminal.
The Webpage method for refreshing that the present embodiment provides, when the page data of server determination target pages does not upgrade, only return not more new state information, the page data that mobile terminal utilizes self EMS memory to store up is played up, thus avoid server to be repeated to be transferred to mobile terminal by page data identical in a large number, save the network traffics of user.After receiving the up-to-date page data that server returns, this up-to-date page data is stored in the local storage space of mobile terminal, to play up use next time; Meanwhile, up-to-date page data render target pages is utilized.
Alternatively, the described version information according to described current page data, whether the page data detecting described target pages has renewal, comprising:
Whether the version information of more described up-to-date page data is higher than the version information of described current page data;
When version information higher than described current page data of the version information of described up-to-date page data, determine that the page data of described target pages has renewal;
When version information not higher than described current page data of the version information of described up-to-date page data, determine that the page data of described target pages does not upgrade.
Alternatively, described method also comprises:
When detecting that the page data of described target pages has renewal, returning the up-to-date page data of described target pages to mobile terminal, utilizing target pages described in described up-to-date page data render to make described mobile terminal.
According to the third aspect of disclosure embodiment, provide a kind of Webpage refreshing apparatus, be applied in mobile terminal, described device comprises:
Receiver module, for receiving the page furbishing order for target pages;
Acquisition module, for the page furbishing order received according to described receiver module, obtains the version information that the current page data of described target pages are corresponding, and described version information is for distinguishing described target pages at page data corresponding to different update time;
Sending module, for sending renewal of the page request to server, the version information that described acquisition module obtains is carried in described renewal of the page request, and whether described renewal of the page request has renewal for the page data making described server and detect described target pages according to version information;
First rendering module, for when receive that described service returns not more new state information time, utilize target pages described in the described current page data render that stores in described mobile terminal.
Alternatively, described device also comprises:
Second rendering module, for when receiving the up-to-date page data of the described target pages that described server returns, utilizes target pages described in described up-to-date page data render;
Memory module, for the version information by described up-to-date page data and described up-to-date page data, is stored in the local storage space of described mobile terminal.
Alternatively, described device also comprises:
3rd rendering module, for do not receive described up-to-date page data and described not more new state information time, utilize target pages described in the described current page data render that stores in described mobile terminal.
According to the fourth aspect of disclosure embodiment, provide a kind of Webpage refreshing apparatus, be applied in server, described device comprises:
Configuration module, for for the page data corresponding to the target pages different update time, configures different version informations respectively and distinguishes;
Receiver module, for receiving the renewal of the page request for described target pages, carries the version information that the current page data of described target pages are corresponding in described renewal of the page request;
Detection module, for the version information of current page data received according to described receiver module, whether the page data detecting described target pages has renewal;
First returns module, for when described detection module detects that the page data of described target pages does not upgrade, return not more new state information to described mobile terminal, described not more new state information for target pages described in the current page data render that makes described mobile terminal utilize to store in described mobile terminal.
Alternatively, described detection module, comprising:
Whether comparison sub-module, for the version information of more described up-to-date page data higher than the version information of described current page data;
First determines submodule, during for comparing the version information of the version information obtaining up-to-date page data higher than described current page data when described comparison sub-module, determines that the page data of described target pages has renewal;
Second determines submodule, during for comparing the version information of version information not higher than described current page data obtaining up-to-date page data when described comparison sub-module, determines that the page data of described target pages does not upgrade.
Alternatively, described device also comprises:
Second returns module, during for detecting that when described detection module the page data of described target pages has a renewal, return the up-to-date page data of described target pages to mobile terminal, utilize target pages described in described up-to-date page data render to make described mobile terminal.
According to the 5th aspect of disclosure embodiment, a kind of terminal device is provided, comprises:
Processor;
For the storer of storage of processor executable instruction;
Wherein, described processor is configured to:
Receive the page furbishing order for target pages;
According to described page furbishing order, obtain the version information that the current page data of described target pages are corresponding, described version information is for distinguishing described target pages at page data corresponding to different update time;
Send renewal of the page request to server, described version information is carried in described renewal of the page request, and whether described renewal of the page request has renewal for the page data making described server and detect described target pages according to version information;
When receive that described service returns not more new state information time, utilize target pages described in the described current page data render that stores in described mobile terminal.
According to the 6th aspect of disclosure embodiment, a kind of server is provided, comprises:
Processor;
For the storer of storage of processor executable instruction;
Wherein, described processor is configured to:
For the page data corresponding to the target pages different update time, configure different version informations respectively and distinguish;
Receive the renewal of the page request for described target pages, in described renewal of the page request, carry the version information that the current page data of described target pages are corresponding;
According to the version information of described current page data, whether the page data detecting described target pages has renewal;
When detecting that the page data of described target pages does not upgrade, return not more new state information to described mobile terminal, described not more new state information for target pages described in the current page data render that makes described mobile terminal utilize to store in described mobile terminal.
The technical scheme that embodiment of the present disclosure provides can comprise following beneficial effect: after mobile terminal receives the page furbishing order of target pages, obtain the version information of the current page data of target pages, and send the renewal of the page request of carrying the version information of current page data to server.Whether the page data that server detects target pages according to the version information of current page data has renewal; If do not upgraded, then return not more new state information by server to mobile terminal, the current page data render target pages utilizing self EMS memory to store up to make mobile terminal.From above-mentioned Webpage refresh process, when the page data of server determination target pages does not upgrade, only return not more new state information, the page data that mobile terminal utilizes self EMS memory to store up is played up, thus avoid server to be repeated to be transferred to mobile terminal by page data identical in a large number, save the network traffics of user.
Should be understood that, it is only exemplary that above general description and details hereinafter describe, and can not limit the disclosure.
Accompanying drawing explanation
Accompanying drawing to be herein merged in instructions and to form the part of this instructions, shows embodiment according to the invention, and is used from instructions one and explains principle of the present invention.
Fig. 1 is the process flow diagram of a kind of Webpage method for refreshing according to an exemplary embodiment;
Fig. 2 is the process flow diagram of the another kind of Webpage method for refreshing according to an exemplary embodiment;
Fig. 3 is the process flow diagram of another the Webpage method for refreshing according to an exemplary embodiment;
Fig. 4 is the process flow diagram that a kind of server according to an example embodiment detects whether data have the process of renewal;
Fig. 5 is a kind of Webpage refreshing apparatus block diagram according to an exemplary embodiment;
Fig. 6 is the block diagram of the another kind of Webpage refreshing apparatus according to an exemplary embodiment;
Fig. 7 is the block diagram of the another kind of Webpage refreshing apparatus according to an exemplary embodiment;
Fig. 8 is the block diagram of a kind of detection module according to an exemplary embodiment;
Fig. 9 is the block diagram of another the Webpage refreshing apparatus according to an exemplary embodiment;
Figure 10 is the block diagram of a kind of device for Webpage according to an exemplary embodiment;
Figure 11 is the block diagram of a kind of device for Webpage method for refreshing according to an exemplary embodiment.
By above-mentioned accompanying drawing, illustrate the embodiment that the disclosure is clear and definite more detailed description will be had hereinafter.These accompanying drawings be not in order to limited by any mode the disclosure design scope, but by reference to specific embodiment for those skilled in the art illustrate concept of the present disclosure.
Embodiment
Here will be described exemplary embodiment in detail, its sample table shows in the accompanying drawings.When description below relates to accompanying drawing, unless otherwise indicated, the same numbers in different accompanying drawing represents same or analogous key element.Embodiment described in following exemplary embodiment does not represent all embodiments consistent with the disclosure.On the contrary, they only with as in appended claims describe in detail, the example of apparatus and method that aspects more of the present disclosure are consistent.
Fig. 1 is the process flow diagram of a kind of Webpage method for refreshing according to an exemplary embodiment, and this Webpage method for refreshing is used in mobile terminal, and mobile terminal includes but not limited to the product form such as mobile phone, panel computer.As shown in Figure 1, the method comprises the following steps:
In S110, receive the page furbishing order for target pages.
After mobile terminal receives the refresh operation (such as, user click the operation of the brush finish control of the page) of user for target pages, determine page furbishing order to be detected.
Target pages refers to that user carries out the page of page furbishing operation.
In S120, according to page furbishing order, obtain the version information of the current page data of target pages.
The page data of target pages refers to the particular content that target pages comprises.
The version information of page data is for distinguishing the not corresponding in the same time different page data of the same page; Version information can be the characters such as numeral, English alphabet.
During initialization, a version information can be set at the page data of server side to the current display of Webpage; After detecting that the page data of this Webpage upgrades, on the basis of last revision information corresponding to page data, determine the version information of the page data after upgrading according to the rule preset.Such as, the version information of the page data after renewal can add 1 and obtain on the basis of last revision information, meets the new and old relationship can being distinguished page data by the version information of page data.
In S130, send renewal of the page request to server.The version information of the current page data of target pages is carried in renewal of the page request.
Whether renewal of the page request has renewal for making server according to the page data of version information detection target pages.
When after the page furbishing order that mobile terminal detects for target pages, send the renewal of the page request of carrying the current page data version information of target pages to server; Whether renewal is had with the page data making server detect target pages according to the version information carrying page data in renewal of the page request.
In S140, when the service of receiving return not more new state information time, utilize the current page data render target pages stored in mobile terminal.
Server obtains version information corresponding to the up-to-date page data of target pages, then, the version information that the version information of more up-to-date page data and mobile terminal send, if the version information of up-to-date page data is identical with the version information that mobile terminal sends, then determine that the page data of target pages does not upgrade, now, server sends not more new state information to mobile terminal.Mobile terminal receives not more after new state information, utilizes the current page data render target pages of the local target pages stored.
Wherein, more new state information can not be a state code of mobile terminal and server commitment, such as, and 304, when server detects that the page data of target pages does not upgrade, to mobile terminal return state code " 304 "; Mobile terminal determines that the page data of target pages does not upgrade after receiving the status code " 304 " that server returns.
The Webpage method for refreshing that the present embodiment provides, after mobile terminal receives the page furbishing order of target pages, obtain the version information of the current page data of target pages, and send the renewal of the page request of carrying the version information of current page data to server.Whether the page data that server detects target pages according to the version information of current page data has renewal; If do not upgraded, then return not more new state information by server to mobile terminal, the current page data render target pages utilizing self EMS memory to store up to make mobile terminal.From above-mentioned Webpage refresh process, when the page data of server determination target pages does not upgrade, only return not more new state information, the page data that mobile terminal utilizes self EMS memory to store up is played up, thus avoid server to be repeated to be transferred to mobile terminal by page data identical in a large number, save the network traffics of user.
Fig. 2 is the process flow diagram of the another kind of Webpage method for refreshing according to an exemplary embodiment, and the method is applied in mobile terminal, further comprising the steps of on basis embodiment illustrated in fig. 1:
In S210, do not receive up-to-date page data and not more new state information time, utilize the current page data render target pages stored in mobile terminal.
After mobile terminal sends page furbishing request, and before any information returned to server after not receiving, first utilize the local current page data render target pages stored, reduce the time that user waits for, raising Consumer's Experience.
In S220, when receiving the up-to-date page data of the target pages that server returns, utilize up-to-date page data render target pages.
If mobile terminal receives the up-to-date page data of the target pages that server sends, then utilize up-to-date page data render target pages.
In S230, up-to-date page data is stored in the local storage space of mobile terminal.
Up-to-date page packet draws together page data itself, and the version information that this page data is corresponding.The page data received itself and corresponding version information are stored in local storage space, to play up use next time after receiving the up-to-date page data that server returns by mobile terminal.
The Webpage method for refreshing that the present embodiment provides, before not receiving any information that server returns, first utilizes the current page data render target pages that mobile terminal this locality stores, thus reduces period of reservation of number, improve Consumer's Experience.Then, after receiving the up-to-date page data that server returns, this up-to-date page data is stored in the local storage space of mobile terminal, to play up use next time; Meanwhile, up-to-date page data render target pages is utilized.
Fig. 3 is the process flow diagram of another the Webpage method for refreshing according to an exemplary embodiment, and the method is applied in the system comprising server and mobile terminal, and as shown in Figure 3, the method can comprise the following steps:
In S310, server, to the page data corresponding to the Webpage different update time, configures different version informations respectively and distinguishes.
The following condition of version information demand fulfillment of page data: the new and old relationship that page data can be distinguished by the version information of page data.
In S320, mobile terminal receives the page furbishing order for target pages.
In S330, mobile terminal, according to page furbishing order, obtains the version information of the current page data of target pages.
In S340, mobile terminal generates page furbishing request Concurrency according to the version information of current page data and gives server.
In S350, mobile terminal, before not receiving any information that server returns, utilizes current page data render target pages.
In S360, whether server has renewal according to the page data of the page furbishing request detection target pages received; If not, then S370 is performed; If so, then S390 is performed.
Fig. 4 is the process flow diagram that a kind of server according to an example embodiment detects whether page data has the process of renewal, and as shown in Figure 4, whether server detects target pages data has the process of renewal to comprise the following steps:
In S361, whether the version information of more up-to-date page data is higher than the version information of current page data; If so, then S362 is performed; If not, S363 is performed.
The version information of page data is higher, shows that page data is newer.
In S362, determine that the page data of target pages has renewal.
In S363, determine that the page data of target pages does not upgrade.
In S370, server returns not more new state information to mobile terminal.
In S380, mobile terminal utilizes the local current page data render target pages stored.
In S390, server returns the up-to-date page data of target pages to mobile terminal.
In S3100, mobile terminal utilizes up-to-date page data render target pages.
In S3110, up-to-date page data is stored in local storage space by mobile terminal.
The Webpage method for refreshing that the present embodiment provides, when the page data of server determination target pages does not upgrade, only return not more new state information, the page data that mobile terminal utilizes self EMS memory to store up is played up, thus avoid server to be repeated to be transferred to mobile terminal by page data identical in a large number, save the network traffics of user.After receiving the up-to-date page data that server returns, this up-to-date page data is stored in the local storage space of mobile terminal, to play up use next time; Meanwhile, up-to-date page data render target pages is utilized.
Corresponding to above-mentioned Webpage method for refreshing embodiment, the disclosure additionally provides Webpage refreshing apparatus embodiment.
Fig. 5 is a kind of Webpage refreshing apparatus block diagram according to an exemplary embodiment, and this application of installation is in mobile terminal.As shown in Figure 5, this device comprises: receiver module 110, acquisition module 120, sending module 130 and the first rendering module 140.
Receiver module 110 is configured to, and receives the page furbishing order for target pages.
Mobile terminal is determined page furbishing order to be detected after receiving the page furbishing operation of user on Webpage.
Acquisition module 120 is configured to, and according to the page furbishing order that receiver module receives, obtains the version information that the current page data of target pages are corresponding.
Version information is for distinguishing target pages at page data corresponding to different update time.
Page data refers to the particular content that Webpage comprises.The version information of page data is for distinguishing the not corresponding in the same time different page data of the same page; Version information can be the characters such as numeral, English alphabet.During initialization, a version information can be set at the page data of server side to the current display of Webpage; After detecting that the page data of this Webpage upgrades, on the basis of last revision information corresponding to page data, determine the version information of the page data after upgrading according to the rule preset.Such as, the version information of the page data after renewal can add 1 and obtain on the basis of last revision information, meets the new and old relationship can being distinguished page data by the version information of page data.
Sending module 130 is configured to, and sends renewal of the page request to server, and the version information that acquisition module obtains is carried in renewal of the page request.
Whether renewal of the page request has renewal for making server according to the page data of version information detection target pages.
First rendering module 140 is configured to, when the service of receiving return not more new state information time, utilize the current page data render target pages stored in mobile terminal.
Server obtains version information corresponding to the up-to-date page data of target pages, then, the version information that the version information of more up-to-date page data and mobile terminal send, if the version information of up-to-date page data is identical with the version information that mobile terminal sends, then determine that the page data of target pages does not upgrade, now, server sends not more new state information to mobile terminal.Mobile terminal receives not more after new state information, utilizes the current page data render target pages of the local target pages stored.
The Webpage refreshing apparatus that the present embodiment provides, after mobile terminal receives the page furbishing order of target pages, obtain the version information of the current page data of target pages, and send the renewal of the page request of carrying the version information of current page data to server.Whether the page data that server detects target pages according to the version information of current page data has renewal; If do not upgraded, then return not more new state information by server to mobile terminal, the current page data render target pages utilizing self EMS memory to store up to make mobile terminal.From above-mentioned Webpage refresh process, when the page data of server determination target pages does not upgrade, only return not more new state information, the page data that mobile terminal utilizes self EMS memory to store up is played up, thus avoid server to be repeated to be transferred to mobile terminal by page data identical in a large number, save the network traffics of user.
Fig. 6 is the block diagram of the another kind of Webpage refreshing apparatus according to an exemplary embodiment, and this device also comprises on basis embodiment illustrated in fig. 5: the second rendering module 210, memory module 220 and the 3rd rendering module 230.
Second rendering module 210 is configured to, and when receiving the up-to-date page data of the target pages that server returns, utilizes up-to-date page data render target pages.
Memory module 220 is configured to, and by the version information of up-to-date page data and up-to-date page data, is stored in the local storage space of mobile terminal.
Up-to-date page packet draws together page data itself, and the version information that this page data is corresponding.The page data received itself and corresponding version information are stored in local storage space, to play up use next time after receiving the up-to-date page data that server returns by mobile terminal.
3rd rendering module 230 is configured to, do not receive up-to-date page data and not more new state information time, utilize the current page data render target pages stored in mobile terminal.
After mobile terminal sends page furbishing request, and before any information returned to server after not receiving, first utilize the local current page data render target pages stored, reduce the time that user waits for, raising Consumer's Experience.
The Webpage refreshing apparatus that the present embodiment provides, before not receiving any information that server returns, first utilizes the current page data render target pages that mobile terminal this locality stores, thus reduces period of reservation of number, improve Consumer's Experience.Then, after receiving the up-to-date page data that server returns, this up-to-date page data is stored in the local storage space of mobile terminal, to play up use next time; Meanwhile, up-to-date page data render target pages is utilized.
Fig. 7 is the block diagram of the another kind of Webpage refreshing apparatus according to an exemplary embodiment, this application of installation is in server, as shown in Figure 7, this device can comprise: configuration module 310, receiver module 320, detection module 330 and first return module 340.
Configuration module 310 is configured to, and for the page data corresponding to the target pages different update time, configures different version informations respectively and distinguishes.
The page data do not upgraded in the same time configures different version informations, namely can be distinguished the new and old relationship of page data by version information.
Receiver module 320 is configured to, and receives the renewal of the page request for target pages.The version information that the current page data of target pages are corresponding is carried in renewal of the page request.
Detection module 330 is configured to, and according to the version information of current page data, whether the page data detecting target pages has renewal.
After the renewal of the page request for target pages that receiver module mobile terminal receive sends, by the version information of the up-to-date page data of target pages of detection module by storing in the version information of the current page data of the comparison object page and server, whether the page data detecting target pages has renewal.
Fig. 8 is the block diagram of a kind of detection module according to an exemplary embodiment, and as shown in Figure 8, this detection module comprises comparison sub-module 331, first and determines that submodule 332 and second determines submodule 333.
Comparison sub-module 331 is configured to, and whether the version information of more up-to-date page data is higher than the version information of current page data.
The version information of page data is higher, shows that page data is newer.
First determines that submodule 332 is configured to, and when comparison sub-module compares the version information of the version information obtaining up-to-date page data higher than current page data, determines that the page data of target pages has renewal.
Second determines that submodule 333 is configured to, and when comparison sub-module compares the version information of version information not higher than current page data obtaining up-to-date page data, determines that the page data of target pages does not upgrade.
First returns module 340 is configured to, and when detection module detects that the page data of target pages does not upgrade, returns not more new state information to mobile terminal.
Mobile terminal receive first return that module sends not more after new state information, the current page data render target pages utilizing mobile terminal self EMS memory to store up.
The Webpage refreshing apparatus that the present embodiment provides, after server receives the page furbishing request of mobile terminal transmission, current page data shown by the target pages of the mobile terminal side carried according to page furbishing request, judge whether the page data of target pages has renewal; If detect that the page data of target pages does not upgrade, then server returns not more new state information to mobile terminal.Mobile terminal receive that server sends not more after new state information, the current page data render target pages directly utilizing self EMS memory to store up; Thus avoid server to be repeated to be transferred to mobile terminal by page data identical in a large number, save the network traffics of user.
Fig. 9 is the block diagram of another the Webpage refreshing apparatus according to an exemplary embodiment, and this device also comprises second and returns module 410 on basis embodiment illustrated in fig. 7.
Second returns module 410 is configured to, and when detection module detects that the page data of target pages has a renewal, returns the up-to-date page data of target pages, utilize up-to-date page data render target pages to make mobile terminal to mobile terminal.
If the detection module in server detects that the page data of target pages has renewal, then return by second module to return up-to-date page data from target pages to mobile terminal, then, mobile terminal utilizes this up-to-date page data render target pages, simultaneously, the up-to-date page data received is stored in the storage space of self, to carry out next page rendering.
The Webpage refreshing apparatus that the present embodiment provides, after detecting that the page data of target pages has renewal, returns the up-to-date page data of target pages to mobile terminal, thus enables mobile terminal as early as possible according to up-to-date page data render target pages; When the page data of target pages does not upgrade, only return not more new state information, save the network traffics of user.
About the device in above-described embodiment, wherein the concrete mode of modules executable operations has been described in detail in about the embodiment of the method, will not elaborate explanation herein.
Figure 10 is the block diagram of a kind of device 1000 for Webpage according to an exemplary embodiment.Such as, device 1000 can be mobile phone, computing machine, digital broadcast terminal, messaging devices, game console, tablet device, Medical Devices, body-building equipment, personal digital assistant etc.
As shown in Figure 10, device 1000 can comprise following one or more assembly: processing components 1002, storer 1004, power supply module 1006, multimedia groupware 1008, audio-frequency assembly 1010, the interface 1012 of I/O (I/O), sensor module 1014, and communications component 1016.
The integrated operation of the usual control device 1000 of processing components 1002, such as with display, call, data communication, camera operation and record operate the operation be associated.Processing components 1002 can comprise one or more processor 1020 to perform instruction, to complete all or part of step of above-mentioned method.In addition, processing components 1002 can comprise one or more module, and what be convenient between processing components 1002 and other assemblies is mutual.Such as, processing components 1002 can comprise multi-media module, mutual with what facilitate between multimedia groupware 1008 and processing components 1002.
Storer 1004 is configured to store various types of data to be supported in the operation of device 1000.The example of these data comprises for any application program of operation on device 1000 or the instruction of method, contact data, telephone book data, message, picture, video etc.Storer 1004 can be realized by the volatibility of any type or non-volatile memory device or their combination, as static RAM (SRAM), Electrically Erasable Read Only Memory (EEPROM), Erasable Programmable Read Only Memory EPROM (EPROM), programmable read only memory (PROM), ROM (read-only memory) (ROM), magnetic store, flash memory, disk or CD.
The various assemblies that power supply module 1006 is device 1000 provide electric power.Power supply module 1006 can comprise power-supply management system, one or more power supply, and other and the assembly generating, manage and distribute electric power for device 1000 and be associated.
Multimedia groupware 1008 is included in the screen providing an output interface between device 1000 and user.In certain embodiments, screen can comprise liquid crystal display (LCD) and touch panel (TP).If screen comprises touch panel, screen may be implemented as touch-screen, to receive the input signal from user.Touch panel comprises one or more touch sensor with the gesture on sensing touch, slip and touch panel.Touch sensor can the border of not only sensing touch or sliding action, but also detects the duration relevant with touch or slide and pressure.In certain embodiments, multimedia groupware 1008 comprises a front-facing camera and/or post-positioned pick-up head.When device 1000 is in operator scheme, during as screening-mode or video mode, front-facing camera and/or post-positioned pick-up head can receive outside multi-medium data.Each front-facing camera and post-positioned pick-up head can be fixing optical lens systems or have focal length and optical zoom ability.
Audio-frequency assembly 1010 is configured to export and/or input audio signal.Such as, audio-frequency assembly 1010 comprises a microphone (MIC), and when device 1000 is in operator scheme, during as call model, logging mode and speech recognition mode, microphone is configured to receive external audio signal.The sound signal received can be stored in storer 1004 further or be sent via communications component 1016.In certain embodiments, audio-frequency assembly 1010 also comprises a loudspeaker, for output audio signal.
I/O interface 1012 is for providing interface between processing components 1002 and peripheral interface module, and above-mentioned peripheral interface module can be keyboard, some striking wheel, button etc.These buttons can include but not limited to: home button, volume button, start button and locking press button.
Sensor module 1014 comprises one or more sensor, for providing the state estimation of various aspects for device 1000.Such as, sensor module 1014 can detect the opening/closing state of device 1000, the relative positioning of assembly, such as assembly is display and the keypad of device 1000, the position of all right pick-up unit 1000 of sensor module 1014 or device 1000 assemblies changes, the presence or absence that user contacts with device 1000, the temperature variation of device 1000 orientation or acceleration/deceleration and device 1000.Sensor module 1014 can comprise proximity transducer, be configured to without any physical contact time detect near the existence of object.Sensor module 1014 can also comprise optical sensor, as CMOS or ccd image sensor, for using in imaging applications.In certain embodiments, this sensor module 1014 can also comprise acceleration transducer, gyro sensor, Magnetic Sensor, pressure transducer or temperature sensor.
Communications component 1016 is configured to the communication being convenient to wired or wireless mode between device 1000 and other equipment.Device 1000 can access the wireless network based on communication standard, as WiFi, 2G or 3G, or their combination.In one exemplary embodiment, communications component 1016 receives from the broadcast singal of external broadcasting management system or broadcast related information via broadcast channel.In one exemplary embodiment, communications component 1016 also comprises near-field communication (NFC) module, to promote junction service.Such as, can based on radio-frequency (RF) identification (RFID) technology in NFC module, Infrared Data Association (IrDA) technology, ultra broadband (UWB) technology, bluetooth (BT) technology and other technologies realize.
In the exemplary embodiment, device 1000 can be realized, for performing said method by one or more application specific integrated circuit (ASIC), digital signal processor (DSP), digital signal processing appts (DSPD), programmable logic device (PLD) (PLD), field programmable gate array (FPGA), controller, microcontroller, microprocessor or other electronic components.
In the exemplary embodiment, additionally provide a kind of non-transitory computer-readable recording medium comprising instruction, such as, comprise the storer 1004 of instruction, above-mentioned instruction can perform said method by the processor 1020 of device 1000.Such as, non-transitory computer-readable recording medium can be ROM, random access memory (RAM), CD-ROM, tape, floppy disk and optical data storage devices etc.
A kind of non-transitory computer-readable recording medium, when the instruction in storage medium is performed by the processor of mobile terminal, make terminal device can perform a kind of Webpage method for refreshing, method comprises:
Receive the page furbishing order for target pages;
According to page furbishing order, obtain the version information that the current page data of target pages are corresponding, version information is for distinguishing target pages at page data corresponding to different update time;
Send renewal of the page request to server, version information is carried in renewal of the page request, and whether renewal of the page request has renewal for making server according to the page data of version information detection target pages;
When the service of receiving return not more new state information time, utilize the current page data render target pages stored in mobile terminal.
Figure 11 is the block diagram of a kind of device 1100 for Webpage method for refreshing according to an exemplary embodiment.Such as, device 1100 may be provided in a server.As shown in figure 11, device 1100 comprises processing components 1122, and it comprises one or more processor further, and the memory resource representated by storer 1132, can such as, by the instruction of the execution of processing components 1122, application program for storing.The application program stored in storer 1132 can comprise each module corresponding to one group of instruction one or more.In addition, processing components 1122 is configured to perform instruction, to perform the embodiment of the method shown in above-mentioned Fig. 3 ~ Fig. 4.
Device 1100 can also comprise the power management that a power supply module 1126 is configured to actuating unit 1100, and a wired or wireless network interface 1150 is configured to device 1100 to be connected to network, and input and output (I/O) interface 1158.Device 1100 can operate the operating system based on being stored in storer 1132, such as WindowsServerTM, MacOSXTM, UnixTM, LinuxTM, FreeBSDTM or similar.
Those skilled in the art, at consideration instructions and after putting into practice invention disclosed herein, will easily expect other embodiment of the present invention.The application is intended to contain any modification of the present invention, purposes or adaptations, and these modification, purposes or adaptations are followed general principle of the present invention and comprised the undocumented common practise in the art of the disclosure or conventional techniques means.Instructions and embodiment are only regarded as exemplary, and true scope of the present invention and spirit are pointed out by claim below.
Should be understood that, the present invention is not limited to precision architecture described above and illustrated in the accompanying drawings, and can carry out various amendment and change not departing from its scope.Scope of the present invention is only limited by appended claim.
Claims (14)
1. a Webpage method for refreshing, is applied in mobile terminal, it is characterized in that, described method comprises:
Receive the page furbishing order for target pages;
According to described page furbishing order, obtain the version information that the current page data of described target pages are corresponding, described version information is for distinguishing described target pages at page data corresponding to different update time;
Send renewal of the page request to server, described version information is carried in described renewal of the page request, and whether described renewal of the page request has renewal for the page data making described server and detect described target pages according to version information;
When receive that described service returns not more new state information time, utilize target pages described in the described current page data render that stores in described mobile terminal.
2. method according to claim 1, is characterized in that, described method also comprises:
When receiving the up-to-date page data of the described target pages that described server returns, utilize target pages described in described up-to-date page data render;
By the version information of described up-to-date page data and described up-to-date page data, be stored in the local storage space of described mobile terminal.
3. method according to claim 1, is characterized in that, described method also comprises:
Do not receive described up-to-date page data and described not more new state information time, utilize target pages described in the described current page data render that stores in described mobile terminal.
4. a Webpage method for refreshing, is applied in server, it is characterized in that, described method comprises:
For the page data corresponding to the target pages different update time, configure different version informations respectively and distinguish;
Receive the renewal of the page request for described target pages, in described renewal of the page request, carry the version information that the current page data of described target pages are corresponding;
According to the version information of described current page data, whether the page data detecting described target pages has renewal;
When detecting that the page data of described target pages does not upgrade, return not more new state information to described mobile terminal, described not more new state information for target pages described in the current page data render that makes described mobile terminal utilize to store in described mobile terminal.
5. method according to claim 4, is characterized in that, the described version information according to described current page data, and whether the page data detecting described target pages has renewal, comprising:
Whether the version information of more described up-to-date page data is higher than the version information of described current page data;
When version information higher than described current page data of the version information of described up-to-date page data, determine that the page data of described target pages has renewal;
When version information not higher than described current page data of the version information of described up-to-date page data, determine that the page data of described target pages does not upgrade.
6. method according to claim 4, is characterized in that, described method also comprises:
When detecting that the page data of described target pages has renewal, returning the up-to-date page data of described target pages to mobile terminal, utilizing target pages described in described up-to-date page data render to make described mobile terminal.
7. a Webpage refreshing apparatus, is applied in mobile terminal, it is characterized in that, described device comprises:
Receiver module, for receiving the page furbishing order for target pages;
Acquisition module, for the page furbishing order received according to described receiver module, obtains the version information that the current page data of described target pages are corresponding, and described version information is for distinguishing described target pages at page data corresponding to different update time;
Sending module, for sending renewal of the page request to server, the version information that described acquisition module obtains is carried in described renewal of the page request, and whether described renewal of the page request has renewal for the page data making described server and detect described target pages according to version information;
First rendering module, for when receive that described service returns not more new state information time, utilize target pages described in the described current page data render that stores in described mobile terminal.
8. device according to claim 7, is characterized in that, described device also comprises:
Second rendering module, for when receiving the up-to-date page data of the described target pages that described server returns, utilizes target pages described in described up-to-date page data render;
Memory module, for the version information by described up-to-date page data and described up-to-date page data, is stored in the local storage space of described mobile terminal.
9. device according to claim 7, is characterized in that, described device also comprises:
3rd rendering module, for do not receive described up-to-date page data and described not more new state information time, utilize target pages described in the described current page data render that stores in described mobile terminal.
10. a Webpage refreshing apparatus, is applied in server, it is characterized in that, described device comprises:
Configuration module, for for the page data corresponding to the target pages different update time, configures different version informations respectively and distinguishes;
Receiver module, for receiving the renewal of the page request for described target pages, carries the version information that the current page data of described target pages are corresponding in described renewal of the page request;
Detection module, for the version information of current page data received according to described receiver module, whether the page data detecting described target pages has renewal;
First returns module, for when described detection module detects that the page data of described target pages does not upgrade, return not more new state information to described mobile terminal, described not more new state information for target pages described in the current page data render that makes described mobile terminal utilize to store in described mobile terminal.
11. devices stated according to claim 10, is characterized in that, described detection module, comprising:
Whether comparison sub-module, for the version information of more described up-to-date page data higher than the version information of described current page data;
First determines submodule, during for comparing the version information of the version information obtaining up-to-date page data higher than described current page data when described comparison sub-module, determines that the page data of described target pages has renewal;
Second determines submodule, during for comparing the version information of version information not higher than described current page data obtaining up-to-date page data when described comparison sub-module, determines that the page data of described target pages does not upgrade.
12. devices according to claim 10, is characterized in that, described device also comprises:
Second returns module, during for detecting that when described detection module the page data of described target pages has a renewal, return the up-to-date page data of described target pages to mobile terminal, utilize target pages described in described up-to-date page data render to make described mobile terminal.
13. 1 kinds of terminal devices, is characterized in that, comprising:
Processor;
For the storer of storage of processor executable instruction;
Wherein, described processor is configured to:
Receive the page furbishing order for target pages;
According to described page furbishing order, obtain the version information that the current page data of described target pages are corresponding, described version information is for distinguishing described target pages at page data corresponding to different update time;
Send renewal of the page request to server, described version information is carried in described renewal of the page request, and whether described renewal of the page request has renewal for the page data making described server and detect described target pages according to version information;
When receive that described service returns not more new state information time, utilize target pages described in the described current page data render that stores in described mobile terminal.
14. 1 kinds of servers, is characterized in that, comprising:
Processor;
For the storer of storage of processor executable instruction;
Wherein, described processor is configured to:
For the page data corresponding to the target pages different update time, configure different version informations respectively and distinguish;
Receive the renewal of the page request for described target pages, in described renewal of the page request, carry the version information that the current page data of described target pages are corresponding;
According to the version information of described current page data, whether the page data detecting described target pages has renewal;
When detecting that the page data of described target pages does not upgrade, return not more new state information to described mobile terminal, described not more new state information for target pages described in the current page data render that makes described mobile terminal utilize to store in described mobile terminal.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201511017643.8A CN105550357A (en) | 2015-12-29 | 2015-12-29 | Web page refreshing method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201511017643.8A CN105550357A (en) | 2015-12-29 | 2015-12-29 | Web page refreshing method and device |
Publications (1)
Publication Number | Publication Date |
---|---|
CN105550357A true CN105550357A (en) | 2016-05-04 |
Family
ID=55829546
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201511017643.8A Pending CN105550357A (en) | 2015-12-29 | 2015-12-29 | Web page refreshing method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105550357A (en) |
Cited By (13)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106021512A (en) * | 2016-05-24 | 2016-10-12 | 乐视控股(北京)有限公司 | Page refresh method and apparatus |
CN106446075A (en) * | 2016-09-07 | 2017-02-22 | 广州华多网络科技有限公司 | Page request processing method and apparatus |
CN106708930A (en) * | 2016-11-17 | 2017-05-24 | 北京小米移动软件有限公司 | Application page refreshing method and application page refreshing device |
CN107391768A (en) * | 2017-09-12 | 2017-11-24 | 广州酷狗计算机科技有限公司 | Web data processing method, device, equipment and computer-readable recording medium |
CN107864173A (en) * | 2017-06-26 | 2018-03-30 | 平安普惠企业管理有限公司 | Terminal page caching method, system and readable storage medium storing program for executing |
CN107968799A (en) * | 2016-10-20 | 2018-04-27 | 腾讯科技(深圳)有限公司 | A kind of information acquisition method, terminal device and system |
CN108008806A (en) * | 2017-11-23 | 2018-05-08 | 努比亚技术有限公司 | A kind of data processing method, terminal and computer-readable recording medium |
CN108200127A (en) * | 2017-12-20 | 2018-06-22 | 东软集团股份有限公司 | Data transmission method for uplink, device, server, terminal and storage medium |
CN108681550A (en) * | 2018-03-30 | 2018-10-19 | 北京奇艺世纪科技有限公司 | Page furbishing method, the control method of device and page furbishing, device |
CN110233744A (en) * | 2019-06-12 | 2019-09-13 | 广东佳米科技有限公司 | A kind of conference status display methods, conference status update method and device |
CN110263277A (en) * | 2019-06-18 | 2019-09-20 | 广州虎牙科技有限公司 | Display methods, update method, device, equipment and the storage medium of page data |
CN110659098A (en) * | 2019-09-23 | 2020-01-07 | 北京城市网邻信息技术有限公司 | Data updating method and device, terminal equipment and storage medium |
CN110674435A (en) * | 2019-09-27 | 2020-01-10 | 网易(杭州)网络有限公司 | Page access method, server, terminal, electronic equipment and readable storage medium |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101668042A (en) * | 2009-09-10 | 2010-03-10 | 深圳市同洲电子股份有限公司 | Method and device for updating local page of embedded communication system |
CN102480397A (en) * | 2010-11-26 | 2012-05-30 | 金蝶软件(中国)有限公司 | Method and equipment for accessing internet pages |
US20130124971A1 (en) * | 2011-11-16 | 2013-05-16 | International Business Machines Corporation | Real time web script refresh using asynchronous polling without full web page reload |
CN104050236A (en) * | 2014-05-23 | 2014-09-17 | 小米科技有限责任公司 | Website content update prompting method, server and client |
-
2015
- 2015-12-29 CN CN201511017643.8A patent/CN105550357A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101668042A (en) * | 2009-09-10 | 2010-03-10 | 深圳市同洲电子股份有限公司 | Method and device for updating local page of embedded communication system |
CN102480397A (en) * | 2010-11-26 | 2012-05-30 | 金蝶软件(中国)有限公司 | Method and equipment for accessing internet pages |
US20130124971A1 (en) * | 2011-11-16 | 2013-05-16 | International Business Machines Corporation | Real time web script refresh using asynchronous polling without full web page reload |
CN104050236A (en) * | 2014-05-23 | 2014-09-17 | 小米科技有限责任公司 | Website content update prompting method, server and client |
Cited By (18)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106021512A (en) * | 2016-05-24 | 2016-10-12 | 乐视控股(北京)有限公司 | Page refresh method and apparatus |
CN106446075A (en) * | 2016-09-07 | 2017-02-22 | 广州华多网络科技有限公司 | Page request processing method and apparatus |
CN107968799B (en) * | 2016-10-20 | 2021-01-05 | 腾讯科技(深圳)有限公司 | Information acquisition method, terminal equipment and system |
CN107968799A (en) * | 2016-10-20 | 2018-04-27 | 腾讯科技(深圳)有限公司 | A kind of information acquisition method, terminal device and system |
CN106708930A (en) * | 2016-11-17 | 2017-05-24 | 北京小米移动软件有限公司 | Application page refreshing method and application page refreshing device |
CN106708930B (en) * | 2016-11-17 | 2021-06-01 | 北京小米移动软件有限公司 | Method and device for refreshing application page |
CN107864173A (en) * | 2017-06-26 | 2018-03-30 | 平安普惠企业管理有限公司 | Terminal page caching method, system and readable storage medium storing program for executing |
CN107391768A (en) * | 2017-09-12 | 2017-11-24 | 广州酷狗计算机科技有限公司 | Web data processing method, device, equipment and computer-readable recording medium |
CN108008806A (en) * | 2017-11-23 | 2018-05-08 | 努比亚技术有限公司 | A kind of data processing method, terminal and computer-readable recording medium |
CN108200127A (en) * | 2017-12-20 | 2018-06-22 | 东软集团股份有限公司 | Data transmission method for uplink, device, server, terminal and storage medium |
CN108681550A (en) * | 2018-03-30 | 2018-10-19 | 北京奇艺世纪科技有限公司 | Page furbishing method, the control method of device and page furbishing, device |
CN108681550B (en) * | 2018-03-30 | 2021-05-25 | 北京奇艺世纪科技有限公司 | Page refreshing method and device and page refreshing control method and device |
CN110233744B (en) * | 2019-06-12 | 2021-06-01 | 广东佳米科技有限公司 | Conference state display method, conference state updating method and device |
CN110233744A (en) * | 2019-06-12 | 2019-09-13 | 广东佳米科技有限公司 | A kind of conference status display methods, conference status update method and device |
CN110263277A (en) * | 2019-06-18 | 2019-09-20 | 广州虎牙科技有限公司 | Display methods, update method, device, equipment and the storage medium of page data |
CN110263277B (en) * | 2019-06-18 | 2021-11-16 | 广州虎牙科技有限公司 | Page data display method, page data updating device, page data equipment and storage medium |
CN110659098A (en) * | 2019-09-23 | 2020-01-07 | 北京城市网邻信息技术有限公司 | Data updating method and device, terminal equipment and storage medium |
CN110674435A (en) * | 2019-09-27 | 2020-01-10 | 网易(杭州)网络有限公司 | Page access method, server, terminal, electronic equipment and readable storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105550357A (en) | Web page refreshing method and device | |
CN107153541B (en) | Browsing interaction processing method and device | |
CN104394263A (en) | Accessing point list displaying method and device | |
CN104238875A (en) | Application corner mark addition method and device | |
CN104301383A (en) | Upgrading method, device and upgrading equipment | |
CN105263196A (en) | Connection state prompting method and device | |
CN104079473A (en) | Information issuing method and device | |
CN104035979A (en) | Object recommendation method and related device | |
US9672026B2 (en) | Light app offline updating method, device and terminal | |
CN105511907A (en) | Application program upgrade method, device and system | |
CN105511740A (en) | Method and device for switching application interface | |
CN104320774A (en) | Updating method, device and facility | |
CN104156245A (en) | List updating method and device | |
CN104156233A (en) | Method, device and terminal for updating light applications in offline manner | |
CN104020924A (en) | Label establishing method and device and terminal | |
CN104601675A (en) | Server load balancing method and device | |
CN104391711A (en) | Method and device for setting screen protection | |
CN103970576A (en) | Installation information displaying method, obtaining method and device | |
CN104580019A (en) | Network service supplying method and device | |
CN103916468A (en) | System upgrading method, terminal, server and upgrading system | |
CN104111979A (en) | Search recommendation method and device | |
CN104539662A (en) | Information transmission method and device | |
CN104503690A (en) | Arrangement method and device for application icons | |
CN104536787A (en) | Resource preloading method and device | |
CN104767857A (en) | Telephone calling method and device based on cloud name cards |
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 | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20160504 |