CN105607927A - Page display method and apparatus - Google Patents

Page display method and apparatus Download PDF

Info

Publication number
CN105607927A
CN105607927A CN201510958563.6A CN201510958563A CN105607927A CN 105607927 A CN105607927 A CN 105607927A CN 201510958563 A CN201510958563 A CN 201510958563A CN 105607927 A CN105607927 A CN 105607927A
Authority
CN
China
Prior art keywords
page
data
specified
page data
variance
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
Application number
CN201510958563.6A
Other languages
Chinese (zh)
Inventor
杨伟贤
于奎星
余鹏
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Xiaomi Technology Co Ltd
Xiaomi Inc
Original Assignee
Xiaomi Inc
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Xiaomi Inc filed Critical Xiaomi Inc
Priority to CN201510958563.6A priority Critical patent/CN105607927A/en
Publication of CN105607927A publication Critical patent/CN105607927A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating
    • G06F9/44521Dynamic linking or loading; Link editing at or after load time, e.g. Java class loading

Abstract

The present disclosure provides a page display method and apparatus, and belongs to the technical field of terminals. The method comprises: when a page loading request for sending a specified page is detected, obtaining first page data from a specified memory space, wherein the first page data refers to page data obtained in history loading processes on the specified page; based on the first page data, displaying the specified page; receiving second page data, wherein the second page data is page data obtained based on the page loading request; determining difference data between the first page data and the second page data; and according to the difference data, rendering a corresponding part to the difference data on the specified page to obtain updated specified page. The method and apparatus provided by the present disclosure can avoid splash screen and white screen phenomena in the page loading process, and then can improve page display coherence.

Description

Page display method and device
Technical field
The disclosure relates to terminal technology field, relates in particular to a kind of page display method and device.
Background technology
Along with the development of terminal technology, terminal can be more and more for the function that user provides, and user alsoCan enjoy third party and provide by different APP (Application, application program) is installed in terminalVarious services, due to Internet technology, being especially widely used of development of Mobile Internet technology, makes terminal energyEnough under the condition of time, site limitation, obtain from third-party server or other-end by network not being subject toDifferent resource, for example, text message, pictorial information and audio-frequency information etc.
In the time that user need to repeat to browse a page, can or forward to the refresh function button in this pageFunction button is carried out trigger action, to make terminal that this page is refreshed or be reloaded, and then obtainsThe page data that this page is up-to-date, and based on this page data, this page is shown, although the method energyEnough meet user's the demand of browsing, but refresh or reload, can cause this page to occur white screen phenomenon,And then it is discontinuous to cause the page to show; At present, for the request processing method addressing the above problem can be:Terminal is sending page load request, and after arriving corresponding page data based on this request receiving, by this pageFace data are stored to the designated memory space of this terminal, send this page loading so that terminal is detected againWhen request, first obtain the page data in this designated memory space, and based on this page data, this page is enteredRow demonstration, and then according to this page load request, obtain the up-to-date page data of this page, and based on thisUp-to-date page data carries out the overall situation to this page having shown and refreshes, with the page after display update.
Summary of the invention
For overcoming the problem existing in correlation technique, the disclosure provides a kind of page display method and device.
According to the first aspect of disclosure embodiment, a kind of page display method is provided, comprising:
In the time the page load request that sends specified page being detected, from designated memory space, obtain first pageFace data, these first page data refer to this specified page accessed page number in historical loading procedureAccording to;
Based on these first page data, show this specified page;
Receive the second page data, this second page data is the page number obtaining based on this page load requestAccording to;
Determine the variance data between these first page data and this second page data;
According to this variance data, the corresponding part of this variance data in this specified page is played up, obtainSpecified page after renewal.
In the first of first aspect of the present disclosure may implementation, this determine these first page data andVariance data between this second page data comprises:
Respectively these first page data and this second page data are carried out to deblocking, to obtain this first pageMultiple data blocks of face data and multiple data blocks of this second page data;
Determine the data feature values of each data block, this data feature values is for data block of unique identification;
Data blocks different from data feature values in these first page data in the second page data is defined as to thisVariance data.
In the second of first aspect of the present disclosure may implementation, send specified page when detectingWhen page load request, obtain first page data from designated memory space before, the method also comprises:
In arbitrary loading procedure of the historical loading procedure of this specified page, if this designated memory spaceIn do not store this first page data, in this specified page, on the display position of different display elements, showOccupy-place figure;
According to the page load request sending in this loading procedure, obtain the page data of this specified page;
According to this page data, this specified page is played up, and this page data is stored to this appointmentMemory space.
In the third possibility implementation of first aspect of the present disclosure, determine these first page data and be somebody's turn to doAfter variance data between the second page data, the method also comprises:
Replace the corresponding data in these first page data in this designated memory space by this variance data.
In the 4th kind of possibility implementation of first aspect of the present disclosure, the method also comprises:
According to predetermined period, replace in this designated memory space with up-to-date page data in this predetermined periodThese first page data.
According to the second aspect of disclosure embodiment, a kind of page display unit is provided, comprising:
Acquisition module, in the time detecting the page load request that sends specified page, from designated store skyBetween in obtain first page data, these first page data refer to this specified page institute in historical loading procedureThe page data getting;
Display module, for these first page data that get based on this acquisition module, shows this specific pageFace;
Receiver module, for receiving the second page data, this second page data is to load and ask based on this pageAsk the page data obtaining;
Determination module, for determining that these first page data and this receiver module that this acquisition module gets connectVariance data between this that receive the second page data;
Rendering module, for this variance data of determining according to this determination module, in this specified page, this is poorThe corresponding part of heteromerism certificate is played up, and obtains the specified page after upgrading.
In the first possibility implementation of second aspect of the present disclosure, this determination module is used for:
Respectively these first page data and this second page data are carried out to deblocking, to obtain this first pageMultiple data blocks of face data and multiple data blocks of this second page data;
Determine the data feature values of each data block, this data feature values is for data block of unique identification;
Data blocks different from data feature values in these first page data in the second page data is defined as to thisVariance data.
In the second possibility implementation of second aspect of the present disclosure, this display module is also for referring at thisDetermine in arbitrary the loading procedure of historical loading procedure of the page, if do not stored in this designated memory spaceThese first page data show occupy-place figure in this specified page on the display position of different display elements;
This receiver module is the page load request for sending according to this loading procedure also, obtains this appointmentThe page data of the page;
This device also comprises:
Processing module, for according to this page data, plays up this specified page, and by this page numberAccording to being stored to this designated memory space.
In the third possibility implementation of second aspect of the present disclosure, this device also comprises:
Replacement module, for replacing by this variance data in these first page data of this designated memory spaceCorresponding data.
In the 4th kind of possibility implementation of second aspect of the present disclosure, this device also comprises:
More new module, for according to predetermined period, replaces this with up-to-date page data in this predetermined period and refers toDetermine these first page data in memory space.
The third aspect, also provides a kind of page display unit, comprising:
Processor;
For the memory of the executable instruction of storage of processor;
Wherein, this processor is configured to:
In the time the page load request that sends specified page being detected, from designated memory space, obtain first pageFace data, these first page data refer to this specified page accessed page number in historical loading procedureAccording to;
Based on these first page data, show this specified page;
Receive the second page data, this second page data is the page number obtaining based on this page load requestAccording to;
Determine the variance data between these first page data and this second page data;
According to this variance data, the corresponding part of this variance data in this specified page is played up, obtainSpecified page after renewal.
The beneficial effect that the technical scheme that disclosure embodiment provides is brought is:
The disclosure is by the time the page load request that sends specified page being detected, from designated memory spaceObtain the first page data of this specified page, and receive in the process of the second page data in wait, based onThese first page data show this specified page, can avoid occurring shielding in vain phenomenon, thereby can improve the pageThe continuity showing is by determining the variance data between the second page data and this first page data, rightIn this specified page, this variance data corresponding part is played up, and can avoid the full frame sudden strain of a muscle screen causing that refreshes to showResemble, and then can further improve the continuity that the page shows.
Should be understood that, it is only exemplary and explanatory that above general description and details are hereinafter described,Can not limit the disclosure.
Brief description of the drawings
Accompanying drawing is herein merged in description and forms the part of this description, shows and meets the disclosureEmbodiment, and with description one be used from explain principle of the present disclosure.
Fig. 1 is according to the flow chart of a kind of page display method shown in an exemplary embodiment;
Fig. 2 A is according to the flow chart of a kind of page display method shown in an exemplary embodiment;
Fig. 2 B shows schematic diagram according to a kind of page shown in an exemplary embodiment;
Fig. 2 C shows schematic diagram according to a kind of page shown in an exemplary embodiment;
Fig. 2 D shows schematic diagram according to a kind of page shown in an exemplary embodiment;
Fig. 3 is according to a kind of page display unit block diagram shown in an exemplary embodiment;
Fig. 4 is according to the block diagram of a kind of page display unit 400 shown in an exemplary embodiment.
Detailed description of the invention
For making object of the present disclosure, technical scheme and advantage clearer, below in conjunction with accompanying drawing to the disclosureEmbodiment is described in further detail.
Here will at length describe exemplary embodiment, its sample table shows in the accompanying drawings. Retouching belowState while relating to accompanying drawing, unless separately there is expression, the same numbers in different accompanying drawings represents same or analogous key element.Embodiment described in following exemplary embodiment does not represent all enforcement sides consistent with the disclosureFormula. On the contrary, they be only with as some aspects that described in detail in appended claims, of the present disclosure mutuallyThe example of the apparatus and method that cause.
Fig. 1 is according to the flow chart of a kind of page display method shown in an exemplary embodiment, as Fig. 1 instituteShow, page display method, for terminal, comprises the following steps.
In step 101, in the time the page load request that sends specified page being detected, from designated store skyBetween in obtain first page data, these first page data refer to this specified page institute in historical loading procedureThe page data getting.
In step 102, based on these first page data, show this specified page.
In step 103, receive the second page data, this second page data is to load and ask based on this pageAsk the page data obtaining.
In step 104, determine the variance data between these first page data and this second page data.
In step 105, according to this variance data, to the corresponding part of this variance data in this specified pagePlay up, obtain the specified page after upgrading.
The method that disclosure embodiment provides, by the time the page load request that sends specified page being detected,From designated memory space, obtain the first page data of this specified page, and waiting for reception the second page numberAccording to process in, show this specified page based on these first page data, can avoid occurring shielding in vain phenomenon,Thereby can improve the continuity that the page shows, by determine the second page data and this first page data itBetween variance data, this variance data corresponding part in this specified page is played up, can avoid full frameRefresh the sudden strain of a muscle screen phenomenon causing, and then can further improve the continuity that the page shows.
In the first possibility implementation of the present disclosure, this determines these first page data and this second pageVariance data between data comprises:
Respectively these first page data and this second page data are carried out to deblocking, to obtain this first pageMultiple data blocks of face data and multiple data blocks of this second page data;
Determine the data feature values of each data block, this data feature values is for data block of unique identification;
Data blocks different from data feature values in these first page data in the second page data is defined as to thisVariance data.
In the second possibility implementation of the present disclosure, ask when detecting that the page of transmission specified page loadsWhile asking, obtain first page data from designated memory space before, the method also comprises:
In arbitrary loading procedure of the historical loading procedure of this specified page, if this designated memory spaceIn do not store this first page data, in this specified page, on the display position of different display elements, showOccupy-place figure;
According to the page load request sending in this loading procedure, obtain the page data of this specified page;
According to this page data, this specified page is played up, and this page data is stored to this appointmentMemory space.
In the third possibility implementation of the present disclosure, determine these first page data and this second page numberAccording between variance data after, the method also comprises:
Replace the corresponding data in these first page data in this designated memory space by this variance data.
In the 4th kind of possibility implementation of the present disclosure, the method also comprises:
According to predetermined period, replace in this designated memory space with up-to-date page data in this predetermined periodThese first page data.
Above-mentioned all optional technical schemes, can adopt any combination to form optional embodiment of the present disclosure,This repeats no longer one by one.
Fig. 2 A is according to the flow chart of a kind of page display method shown in an exemplary embodiment. This embodimentExecutive agent can be terminal, with reference to Fig. 2 A, this embodiment specifically comprises:
In step 201, in the time sending the page load request of specified page for the first time, in this specified pageOn the display position of middle different display elements, show occupy-place figure.
When user by terminal on when mounted APP browsing pages, in page loading procedure, tend toThere is white screen phenomenon, cause the page to show discontinuous, thereby affect user's viewing experience. For addressing this problem,The disclosure provides a kind of page display method.
In the time detecting that terminal sends the page load request of specified page for the first time, obtain this appointment in waitIn the process of the page data of the page, in this specified page, on the display position of different display elements, show and account forBitmap. Concrete grammar can be: the installation data bag obtaining while installation according to APP corresponding to this specified page,Determine page display frame, in this page display frame, on the display position of different display elements, show correspondingThe occupy-place figure of size, as shown in Figure 2 B. Certainly, also can adopt additive method to show and account in this specified pageBitmap, disclosure embodiment is not construed as limiting this.
Wherein, this specified page can be the page corresponding to arbitrary network address in browser class APP, can be alsoIn APP store, show the page of each APP rank, can also be in electric business's class APP merchandise display page etc. itsHis page, disclosure embodiment is not construed as limiting this; Occupy-place figure refers to the picture without actual content, this pictureDuring for page layout, occupy picture or the text message etc. of actual displayed on the corresponding display position of this page,Receiving after the page data of this page making, picture or text message etc. can substituted to it and show positionThe occupy-place figure being set up, and then show this page.
It should be noted that, in the time the page load request that sends for the first time specified page being detected, also canIn this specified page, do not show occupy-place figure, wait for the page data receiving based on this page load request, straightTo receiving this page data, then show this specified page based on this page data; Disclosure embodiment toWhile showing for the first time this specified page, whether show that occupy-place figure is not construed as limiting.
On display position by different display elements in this specified page, show occupy-place figure, can avoidWait in the process of the page data that receives this specified page, use occupy-place figure to carry out layout to this specified page,Thereby can avoid occurring white screen and the page shows incoherent phenomenon.
In step 202, the page load request of the specified page based on sending for the first time, obtains first pageFace data, and these first page data are stored to designated memory space.
The page load request of this specified page is for the first time sent to after corresponding server, and server was according to shouldPage load request is returned to the page data of this specified page to terminal, terminal receives after this page data,According to this page data, this specified page that uses occupy-place figure to show is played up, to show this terminal page,As shown in Figure 2 C, and this page data is stored to designated memory space, in Fig. 2 C, picture also canWith the information substitution of text message or other information, disclosure embodiment is not construed as limiting this.
It should be noted that, the method that this page data is stored to this designated memory space can be: pass throughThis page data is stored to terminal cache by localStorage.setItem in localStorage (local storage)In (cache memory); Also can adopt additive method that this page data is stored to this designated storeSpace, this designated memory space can be also other storage areas except terminal cache, disclosure embodimentThe concrete storage area of the storage means to this page data and this designated memory space indication is all not construed as limiting.
By by the accessed page data of page load request based on sending for the first time specified page, depositStore up to designated memory space, can, in the time again sending the page load request of this specified page, wait forReceive in the process of these specified page corresponding server back page data, first according to being stored in this designated storeThe page data of this specified page in space, plays up this specified page, can avoid occurring white screenPhenomenon, and then can strengthen the continuity that the page shows.
In another embodiment of the disclosure, step 201 and step 202 also can be in the history of this specified pageIn arbitrary loading procedure of loading procedure, carry out, concrete grammar can be: the history in this specified page addsIn arbitrary loading procedure of the process of carrying, if do not store these first page data in this designated memory space,In this specified page, on the display position of different display elements, show occupy-place figure; According to institute in this loading procedureThe page load request sending, obtains the page data of this specified page; According to this page data, this is referred toDetermine the page and play up, and this page data is stored to this designated memory space. Wherein, this first pageData refer to this specified page accessed page data in historical loading procedure.
By perform step 201 and step in arbitrary loading procedure of the historical loading procedure of this specified pageRapid 202, can avoid in the time that system update or loss of data appear in terminal this designated store that may causeThe situation that the page data of storing in space is lost, and after the corresponding APP renewal of this specified page,What the situation that the page layout of this specified page changes caused cannot normally show asking of this specified pageTopic.
For example, in the time that the page data stored in this designated memory space is lost, will there is institute after this situationThe page load request sending, as asking for the first time situation processing, adds at the page that sends this specified pageWhile carrying request, reuse occupy-place figure and show this specified page, and will get based on this page load requestPage data, be stored in this designated memory space; And when the corresponding APP of this specified page upgrade withAfter, when the page layout of this specified page changes, the page sending after this APP is upgraded loadsRequest is as asking for the first time situation processing, in the time the page load request that sends this specified page being detected,Reuse occupy-place figure and show this specified page, and by the page data obtaining based on this page load request,Substitute the first page data of this specified page in this designated memory space.
It should be noted that, need to re-execute the situation of step 201 and step 202, except above-mentioned listedOutside situation, can also be other situations, disclosure embodiment be not construed as limiting this.
In step 203, in the time sending the page load request of specified page for the second time, from this designated storeSpace obtains this first page data.
In the time that detection sends the page load request of this specified page again, from this designated memory space, obtainThe first page data of this specified page, to make the terminal can be according to these first page data to this specific pageFace is played up for the first time, thereby avoids appearing at after the page load request that again sends this specified page, etc.In the process of the page data that corresponding server to be received is returned based on this page load request, this page occursThe phenomenon of Bai Ping, and then can again show that this specified page improves the continuity that the page shows.
In step 204, based on these first page data, show this specified page.
According to the first page data of this specified page getting from this designated memory space, first to thisOne page data is played up, to show this specified page. In disclosure embodiment, can think that this refers toDetermining the page page shown according to these first page data, is the page based on sending for the first time this specified pageThe page that face load request is shown.
In step 205, receive the second page data, this second page data is to load and ask based on this pageAsk the page data obtaining.
Based on the page load request of specified page sending for the second time, receive this second page data, this is the years oldTwo page datas are the real time data while sending page load request, and this real time data can be thought to be referred to by thisDetermine the data that display element up-to-date in the page forms, certainly, this second page data can also comprise useIn other data that show this specified page, disclosure embodiment is not construed as limiting this.
It should be noted that, step 204 and step 205 relation in sequential can be following three kinds: theA kind of, carry out simultaneously; The second, first demonstration receive again; The third, first receive show again; Concrete basisThe current processing condition data of terminal determines, disclosure embodiment is not construed as limiting this.
In step 206, determine the variance data between these first page data and this second page data.
By these first page data of getting from this designated memory space of contrast with based on the page for the second timeThe second page data that load request receives, determines between these first page data and the second page dataVariance data, to make it possible to by using this variance data, replaces shown according to these first page dataCorresponding data in this specified page, to show the up-to-date display element of this specified page.
Wherein, determine that the method for the variance data between these first page data and this second page data is passableFor: respectively these first page data and this second page data are carried out to deblocking, to obtain this first pageMultiple data blocks of face data and multiple data blocks of this second page data; Determine the data of each data blockCharacteristic value, this data feature values is for data block of unique identification; By in the second page data with this firstThe data block that in page data, data feature values is different is defined as this variance data.
For example, these first page data and this second page data are carried out to deblocking, can be by data rowsEach element data of table is divided into a chunk (data block), and determining according to corresponding element data shouldThe data feature values of chunk, definite method of this data feature values can be: according to the character string of this chunkCalculate md5 value (Message-DigestAlgorithm5, message digest algorithm 5), and by this md5 valueBe defined as the DOM that this chunk is corresponding (DocumentObjectModel, DOM Document Object Model) structureID (Identity, identify label number); Can certainly adopt additive method to determine the data characteristics of this chunkThe ID of value and corresponding DOM structure, disclosure embodiment is not construed as limiting this. By in this second page dataThe md5 value of each chunk contrast with the md5 value of corresponding chunk in these first page data, willData corresponding to chunk in different this second page data of md5 value are defined as variance data.
While determining the variance data between these first page data and the second page data, can adopt above-mentioned sideMethod realizes, and also can adopt additive method, and disclosure embodiment is not construed as limiting this.
In another embodiment of the disclosure, replace this first page in this designated memory space by this variance dataCorresponding data in face data. Concrete grammar can be: according to each chunk in determined variance data,Determine the corresponding DOM node in first page data, with DOM corresponding to each chunk in this variance dataThe DOM content of correspondence in these first page data of content replacement, and be stored in this designated memory space.
It should be noted that, replace in these first page data in this designated memory space by this variance dataCorresponding data, can adopt said method to realize, and also can adopt additive method, and disclosure embodiment is to thisBe not construed as limiting.
By by the corresponding number in these first page data of replacing by this variance data in this designated memory spaceAccording to, the page data that can guarantee this specified page of storing in this designated memory space is the newer pageData, that is to say, the first page data of storing in this designated memory space are that the last page that sends addsCarry page data received while request.
In the another embodiment of the disclosure, according to predetermined period, with up-to-date page data in this predetermined periodReplace these first page data in this designated memory space.
Wherein, this predetermined period can be according to the display element in frequency or this specified page of browsing of this specified pageThe renewal frequency of element is determined, for example, in the time that user can browse this specified page every day, this can be presetCycle is defined as a consecutive days; In the time that in this specified page, display element renewal frequency is 6 hours, canThis predetermined period is defined as to 6 hours; This predetermined period also can be defined as arbitrary fixed value, as oneOne month or a season etc., can also determine this predetermined period by additive method, disclosure embodiment coupleThis is not construed as limiting.
By according to this predetermined period, the first page data of storing in this designated memory space are carried out to weekPhase property is upgraded, and can avoid repeating to replace these first page data of storing in this designated memory space, fromAnd can reduce the data processing amount of terminal.
In step 207, according to this variance data, to the corresponding part of this variance data in this specified pagePlay up, obtain the specified page after upgrading.
By according to this variance data, the part viewing area in this specified page is played up, can keep awayExempt from full framely to refresh the sudden strain of a muscle screen phenomenon causing, and then can further improve the continuity that the page shows, concrete asShown in Fig. 2 D.
In Fig. 2 D, after left figure represents to play up according to the first page data of obtaining from designated memory spaceThe page, right figure is the page after again playing up according to determined variance data, wherein, in right figure square frameDisplay element be according to first page data and the determined variance data of the second page data, left figure correspondenceDisplay element in square frame is the data to be replaced in first page data corresponding with this variance data, rightFigure is the result after display element corresponding to left figure data to be replaced being played up according to variance data.
The method that disclosure embodiment provides, by the time the page load request that sends specified page being detected,From designated memory space, obtain the first page data of this specified page, and waiting for reception the second page numberAccording to process in, show this specified page based on these first page data, can avoid occurring shielding in vain phenomenon,Thereby can improve the continuity that the page shows, by determine the second page data and this first page data itBetween variance data, this variance data corresponding part in this specified page is played up, can avoid full frameRefresh the sudden strain of a muscle screen phenomenon causing, and then can further improve the continuity that the page shows; Further, logicalCross in arbitrary loading procedure in historical loading procedure, if do not store first in designated memory spacePage data shows occupy-place figure in described specified page on the display position of different display elements, can keep awayExempt from, waiting in the process of the page data that receives this specified page, to use occupy-place figure to carry out this specified pageLayout, thus can avoid occurring white screen and the page shows incoherent phenomenon, by according to this predetermined period,The first page data of storing in this designated memory space are periodically updated, can avoid repeating to replaceChange these first page data of storing in this designated memory space, thereby can reduce the data processing of terminalAmount.
Fig. 3 is according to a kind of page display unit block diagram shown in an exemplary embodiment. With reference to Fig. 3, this dressPut and comprise acquisition module 301, display module 302, receiver module 303, determination module 304 and rendering module305。
Acquisition module 301, in the time detecting the page load request that sends specified page, from designated storeIn space, obtain first page data, these first page data refer to that this specified page is in historical loading procedureAccessed page data;
Display module 302, for these first page data that get based on this acquisition module 301, showing shouldSpecified page;
Receiver module 303, for receiving the second page data, this second page data is to load based on this pageThe page data that request obtains;
Determination module 304, for these first page data and this reception of determining that this acquisition module 301 getsVariance data between this second page data that module receives;
Rendering module 305, for this variance data of determining according to this determination module 304, to this specified pageThe corresponding part of interior this variance data is played up, and obtains the specified page after upgrading.
The first of providing in the disclosure may implementation in, this determination module 304 for:
Respectively these first page data and this second page data are carried out to deblocking, to obtain this first pageMultiple data blocks of face data and multiple data blocks of this second page data;
Determine the data feature values of each data block, this data feature values is for data block of unique identification;
Data blocks different from data feature values in these first page data in the second page data is defined as to thisVariance data.
The second of providing in the disclosure may implementation in, this display module 302 is also in this appointmentIn arbitrary loading procedure of the historical loading procedure of the page, if do not store this in this designated memory spaceFirst page data show occupy-place figure in this specified page on the display position of different display elements;
This receiver module 303 is the page load request for sending according to this loading procedure also, obtains thisThe page data of specified page;
This device also comprises:
Processing module, for according to this page data, plays up this specified page, and by this page numberAccording to being stored to this designated memory space.
In the third possibility implementation providing in the disclosure, this device also comprises:
Replacement module, for replacing by this variance data in these first page data of this designated memory spaceCorresponding data.
In the 4th kind of possibility implementation providing in the disclosure, this device also comprises:
More new module, for according to predetermined period, replaces this with up-to-date page data in this predetermined period and refers toDetermine these first page data in memory space.
About the device in above-described embodiment, wherein the concrete mode of modules executable operations is relevantIn the embodiment of the method, have been described in detail, will not elaborate explanation herein.
Fig. 4 is according to the block diagram of a kind of page display unit 400 shown in an exemplary embodiment. For example,Device 400 can be mobile phone, computer, digital broadcast terminal, information receiving and transmitting equipment, game controlPlatform, tablet device, Medical Devices, body-building equipment, personal digital assistant etc.
With reference to Fig. 4, device 400 can comprise following one or more assembly: processing components 402, memory404, power supply module 406, multimedia groupware 404, audio-frequency assembly 410, I/O (I/O) interface 412,Sensor cluster 414, and communications component 416.
The integrated operation of processing components 402 common control device 400, such as with demonstration, call, numberAccording to communication, the operation that camera operation and record operation are associated. Processing components 402 can comprise one or manyIndividual processor 420 is carried out instruction, to complete all or part of step of above-mentioned method. In addition process,Assembly 402 can comprise one or more modules, is convenient to mutual between processing components 402 and other assemblies.For example, processing components 402 can comprise multi-media module, to facilitate multimedia groupware 408 and processing componentsMutual between 402.
Memory 404 is configured to store various types of data to be supported in the operation of device 400. TheseThe example of data comprises for any application program of operation on device 400 or the instruction of method, contact personData, telephone book data, message, picture, video etc. Memory 404 can be by any type volatileProperty or non-volatile memory device or their combination realize, as static RAM (SRAM),Electrically Erasable Read Only Memory (EEPROM), Erasable Programmable Read Only Memory EPROM (EPROM),Programmable read only memory (PROM), read-only storage (ROM), magnetic memory, flash memory,Disk or CD.
Power supply module 406 provides electric power for installing 400 various assemblies. Power supply module 406 can comprise electricityManagement system, one or more power supplys, and other with generate, manage for device 400 and distribute electric power phaseAssociated assembly.
Multimedia groupware 408 is included in the screen that an output interface is provided between described device 400 and userCurtain. In certain embodiments, screen can comprise liquid crystal display (LCD) and touch panel (TP). AsFruit screen comprises touch panel, and screen may be implemented as touch-screen, to receive the input signal from user.Touch panel comprises that one or more touch sensors are with the gesture on sensing touch, slip and touch panel.Described touch sensor is the border of sensing touch or sliding action not only, but also detects and described touchOr relevant duration and the pressure of slide. In certain embodiments, multimedia groupware 408 comprises oneIndividual front-facing camera and/or post-positioned pick-up head. When device 400 is in operator scheme, as screening-mode or videoWhen pattern, front-facing camera and/or post-positioned pick-up head can receive outside multi-medium data. Each preposition taking the photographPicture head and post-positioned pick-up head can be fixing optical lens systems or have focal length and optical zoom energyPower.
Audio-frequency assembly 410 is configured to output and/or input audio signal. For example, audio-frequency assembly 410 comprisesA microphone (MIC), when device 400 is in operator scheme, as call model, logging mode and voiceWhen recognition mode, microphone is configured to receive external audio signal. The audio signal receiving can be enteredOne step is stored in memory 404 or sends via communications component 416. In certain embodiments, audio-frequency assembly410 also comprise a loudspeaker, for output audio signal.
I/O interface 412 is for providing interface between processing components 402 and peripheral interface module, above-mentioned peripheral interfaceModule can be keyboard, some striking wheel, button etc. These buttons can include but not limited to: home button, soundAmount button, start button and locking press button.
Sensor cluster 414 comprises one or more sensors, is used to device 400 that various aspects are providedState estimation. For example, sensor cluster 414 can detect the opening/closing state of device 400, assemblyRelative positioning, for example described assembly is display and the keypad of device 400, sensor cluster 414 alsoCan checkout gear 400 or the position of 400 1 assemblies of device change, user with install 400 contact depositOr not there is not the variations in temperature of device 400 orientation or acceleration/deceleration and device 400. Sensor cluster 414Can comprise proximity transducer, be configured to without any physical contact time detect near the depositing of object. Sensor cluster 414 can also comprise optical sensor, as CMOS or ccd image sensor, forIn imaging applications, use. In certain embodiments, this sensor cluster 414 can also comprise that acceleration passesSensor, gyro sensor, Magnetic Sensor, pressure sensor or temperature sensor.
Communications component 416 is configured to be convenient to the logical of wired or wireless mode between device 400 and other equipmentLetter. Device 400 wireless networks that can access based on communication standard, as WiFi, 2G or 3G, or theyCombination. In one exemplary embodiment, communications component 416 receives wide from outside via broadcast channelThe broadcast singal of broadcast management system or broadcast related information. In one exemplary embodiment, described communication setPart 416 also comprises near-field communication (NFC) module, to promote junction service. For example, can in NFC moduleBased on RF identification (RFID) technology, Infrared Data Association (IrDA) technology, ultra broadband (UWB) skillArt, bluetooth (BT) technology and other technologies realize.
In the exemplary embodiment, device 400 can by one or more application specific integrated circuits (ASIC),Digital signal processor (DSP), digital signal processing appts (DSPD), PLD (PLD),Field programmable gate array (FPGA), controller, microcontroller, microprocessor or other electronic components are realExisting, for carrying out above-mentioned page display method.
In the exemplary embodiment, also provide a kind of non-provisional computer-readable storage medium that comprises instructionMatter, for example, comprise the memory 404 of instruction, and above-mentioned instruction can be carried out with complete by the processor 420 of device 400Become said method. For example, described non-provisional computer-readable recording medium can be ROM, arbitrary accessMemory (RAM), CD-ROM, tape, floppy disk and optical data storage equipment etc.
In the exemplary embodiment, also provide a kind of non-provisional computer-readable recording medium, when describedWhen instruction in storage medium is carried out by the processor of mobile terminal, make mobile terminal can carry out above-mentioned pagePlane display method.
Those skilled in the art, considering description and putting into practice after invention disclosed herein, will easily expect these public affairsOther embodiment of opening. The application is intended to contain any modification of the present disclosure, purposes or adaptations,These modification, purposes or adaptations are followed general principle of the present disclosure and are comprised that the disclosure is unexposedCommon practise in the art or conventional techniques means. Description and embodiment are only regarded as exemplary, true scope of the present disclosure and spirit are pointed out by claim below.
Should be understood that, the disclosure is not limited to accurate knot described above and illustrated in the accompanying drawingsStructure, and can carry out various amendments and change not departing from its scope. The scope of the present disclosure is only by appendedClaim limits.

Claims (11)

1. a page display method, is characterized in that, described method comprises:
In the time the page load request that sends specified page being detected, from designated memory space, obtain first pageFace data, described first page data refer to described specified page accessed page in historical loading procedureFace data;
Based on described first page data, show described specified page;
Receive the second page data, described the second page data is the page obtaining based on described page load requestFace data;
Determine the variance data between described first page data and described the second page data;
According to described variance data, the corresponding part of described variance data in described specified page is played up,Obtain the specified page after upgrading.
2. method according to claim 1, is characterized in that, described definite described first page dataWith variance data between described the second page data comprises:
Respectively described first page data and described the second page data are carried out to deblocking, described in obtainingMultiple data blocks of first page data and multiple data blocks of described the second page data;
Determine the data feature values of each data block, described data feature values is for data block of unique identification;
Data blocks different from data feature values in described first page data in the second page data is defined asDescribed variance data.
3. method according to claim 1, is characterized in that, when the page that sends specified page being detectedWhen face load request, obtain first page data from designated memory space before, described method also comprises:
In arbitrary loading procedure of the historical loading procedure of described specified page, if described designated storeIn space, do not store described first page data, the demonstration position of different display elements in described specified pageBe set up and show occupy-place figure;
According to the page load request sending in described loading procedure, obtain the page number of described specified pageAccording to;
According to described page data, described specified page is played up, and described page data is stored toDescribed designated memory space.
4. method according to claim 1, is characterized in that, determines described first page data and instituteAfter stating the variance data between the second page data, described method also comprises:
Replace the corresponding number in the described first page data in described designated memory space by described variance dataAccording to.
5. method according to claim 1, is characterized in that, described method also comprises:
According to predetermined period, replace described designated memory space with up-to-date page data in described predetermined periodIn described first page data.
6. a page display unit, is characterized in that, described device comprises:
Acquisition module, in the time detecting the page load request that sends specified page, from designated store skyBetween in obtain first page data, described first page data refer to that described specified page is at historical loading procedureIn accessed page data;
Display module, for the described first page data that get based on described acquisition module, described in demonstrationSpecified page;
Receiver module, for receiving the second page data, described the second page data is for to add based on the described pageThe page data that the request of carrying obtains;
Determination module, for described first page data and the described reception of determining that described acquisition module getsVariance data between described the second page data that module receives;
Rendering module, for the described variance data of determining according to described determination module, to described specified pageThe corresponding part of interior described variance data is played up, and obtains the specified page after upgrading.
7. device according to claim 6, is characterized in that, described determination module is used for:
Respectively described first page data and described the second page data are carried out to deblocking, described in obtainingMultiple data blocks of first page data and multiple data blocks of described the second page data;
Determine the data feature values of each data block, described data feature values is for data block of unique identification;
Data blocks different from data feature values in described first page data in the second page data is defined asDescribed variance data.
8. device according to claim 6, is characterized in that,
Described display module is also for arbitrary loading procedure of the historical loading procedure in described specified pageIn, if do not store described first page data in described designated memory space, in described specified pageOn the display position of different display elements, show occupy-place figure;
Described receiver module is the page load request for sending according to described loading procedure also, obtains instituteState the page data of specified page;
Described device also comprises:
Processing module, for according to described page data, plays up described specified page, and described in inciting somebody to actionPage data is stored to described designated memory space.
9. device according to claim 6, is characterized in that, described device also comprises:
Replacement module, for replacing the described first page of described designated memory space by described variance dataCorresponding data in data.
10. device according to claim 6, is characterized in that, described device also comprises:
More new module, for according to predetermined period, replaces institute with page data up-to-date in described predetermined periodState the described first page data in designated memory space.
11. 1 kinds of page display unit, is characterized in that, comprising:
Processor;
For the memory of the executable instruction of storage of processor;
Wherein, described processor is configured to:
In the time the page load request that sends specified page being detected, from designated memory space, obtain first pageFace data, described first page data refer to described specified page accessed page in historical loading procedureFace data;
Based on described first page data, show described specified page;
Receive the second page data, described the second page data is the page obtaining based on described page load requestFace data;
Determine the variance data between described first page data and described the second page data;
According to described variance data, the corresponding part of described variance data in described specified page is played up,Obtain the specified page after upgrading.
CN201510958563.6A 2015-12-18 2015-12-18 Page display method and apparatus Pending CN105607927A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510958563.6A CN105607927A (en) 2015-12-18 2015-12-18 Page display method and apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510958563.6A CN105607927A (en) 2015-12-18 2015-12-18 Page display method and apparatus

Publications (1)

Publication Number Publication Date
CN105607927A true CN105607927A (en) 2016-05-25

Family

ID=55987881

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510958563.6A Pending CN105607927A (en) 2015-12-18 2015-12-18 Page display method and apparatus

Country Status (1)

Country Link
CN (1) CN105607927A (en)

Cited By (23)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106372214A (en) * 2016-09-05 2017-02-01 青岛海信宽带多媒体技术有限公司 Webpage page display control method and intelligent terminal
CN106775637A (en) * 2016-11-18 2017-05-31 腾讯音乐娱乐(深圳)有限公司 The page display method and device of a kind of application program
CN106843901A (en) * 2017-02-10 2017-06-13 广州优视网络科技有限公司 A kind of page rendering and the method and apparatus of checking
CN107256151A (en) * 2017-05-27 2017-10-17 北京小米移动软件有限公司 Processing method, device and the terminal of page rendering
CN107423059A (en) * 2017-07-07 2017-12-01 北京小米移动软件有限公司 Display methods, device and the terminal of the page
CN107766427A (en) * 2017-09-14 2018-03-06 成都视达科信息技术有限公司 A kind of page rendering method and system
CN108090062A (en) * 2016-11-21 2018-05-29 阿里巴巴集团控股有限公司 A kind of page furbishing method and device
CN109947317A (en) * 2019-03-11 2019-06-28 北京字节跳动网络技术有限公司 Application program page display method and device
CN110110263A (en) * 2019-05-13 2019-08-09 北京三快在线科技有限公司 Webpage display process, device, terminal and storage medium
CN110287433A (en) * 2019-06-28 2019-09-27 北京金山安全软件有限公司 Network information processing method and device and electronic equipment
CN110287432A (en) * 2019-06-28 2019-09-27 北京金山安全软件有限公司 Network information processing method and device and electronic equipment
CN110427225A (en) * 2019-07-29 2019-11-08 阿里巴巴集团控股有限公司 A kind of method and apparatus starting small routine
CN110457614A (en) * 2019-07-03 2019-11-15 南方电网数字电网研究院有限公司 Reduce data increment update method, device and the computer equipment of Data Concurrent amount
CN110569097A (en) * 2019-08-26 2019-12-13 北京奇艺世纪科技有限公司 information display method and device
CN111221588A (en) * 2019-11-15 2020-06-02 北京金和网络股份有限公司 Multi-classification asynchronous loading and duplicate removal method and device for map
CN111506844A (en) * 2020-04-08 2020-08-07 聚好看科技股份有限公司 Page processing method, equipment and computer storage medium
CN111625315A (en) * 2020-05-28 2020-09-04 北京达佳互联信息技术有限公司 Page display method and device, electronic equipment and storage medium
CN111741257A (en) * 2020-05-21 2020-10-02 深圳市商汤科技有限公司 Data processing method and device, electronic equipment and storage medium
US10908893B2 (en) 2017-08-16 2021-02-02 Advanced New Technologies Co., Ltd. Page update method and apparatus
CN112650546A (en) * 2019-10-11 2021-04-13 华为技术有限公司 Page display method and wearable device
CN112905920A (en) * 2019-12-04 2021-06-04 腾讯科技(深圳)有限公司 Page display method and device
CN113704648A (en) * 2021-08-31 2021-11-26 平安普惠企业管理有限公司 Page data processing method, device, equipment and storage medium
CN115576623A (en) * 2022-09-16 2023-01-06 花瓣云科技有限公司 Application program starting method and device

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090019133A1 (en) * 2007-07-13 2009-01-15 Stephen Brimley System, method and computer program for updating a web page in a web browser
CN102523177A (en) * 2011-12-19 2012-06-27 北京新媒传信科技有限公司 Method and system for realization of message push service
CN102591963A (en) * 2011-12-30 2012-07-18 奇智软件(北京)有限公司 Method and device for controlling webpage content loading
CN102902805A (en) * 2012-10-15 2013-01-30 东软集团股份有限公司 Page access method and device
CN103729225A (en) * 2014-01-22 2014-04-16 中国人民解放军国防科学技术大学 Content-defined chunking remote file real-time updating method
CN103914450A (en) * 2012-12-31 2014-07-09 北京新媒传信科技有限公司 Method and device for presenting web graphics in mobile terminal platform
CN104298517A (en) * 2014-07-08 2015-01-21 中标软件有限公司 Software updating method and system
CN104850602A (en) * 2015-05-04 2015-08-19 微梦创科网络科技(中国)有限公司 Method and apparatus for rendering and refreshing based on Internet webpage
CN105095226A (en) * 2014-04-25 2015-11-25 广州市动景计算机科技有限公司 Method and apparatus for loading webpage resource

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090019133A1 (en) * 2007-07-13 2009-01-15 Stephen Brimley System, method and computer program for updating a web page in a web browser
CN102523177A (en) * 2011-12-19 2012-06-27 北京新媒传信科技有限公司 Method and system for realization of message push service
CN102591963A (en) * 2011-12-30 2012-07-18 奇智软件(北京)有限公司 Method and device for controlling webpage content loading
CN102902805A (en) * 2012-10-15 2013-01-30 东软集团股份有限公司 Page access method and device
CN103914450A (en) * 2012-12-31 2014-07-09 北京新媒传信科技有限公司 Method and device for presenting web graphics in mobile terminal platform
CN103729225A (en) * 2014-01-22 2014-04-16 中国人民解放军国防科学技术大学 Content-defined chunking remote file real-time updating method
CN105095226A (en) * 2014-04-25 2015-11-25 广州市动景计算机科技有限公司 Method and apparatus for loading webpage resource
CN104298517A (en) * 2014-07-08 2015-01-21 中标软件有限公司 Software updating method and system
CN104850602A (en) * 2015-05-04 2015-08-19 微梦创科网络科技(中国)有限公司 Method and apparatus for rendering and refreshing based on Internet webpage

Cited By (30)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106372214A (en) * 2016-09-05 2017-02-01 青岛海信宽带多媒体技术有限公司 Webpage page display control method and intelligent terminal
CN106775637A (en) * 2016-11-18 2017-05-31 腾讯音乐娱乐(深圳)有限公司 The page display method and device of a kind of application program
CN108090062A (en) * 2016-11-21 2018-05-29 阿里巴巴集团控股有限公司 A kind of page furbishing method and device
CN108090062B (en) * 2016-11-21 2022-04-19 阿里巴巴集团控股有限公司 Page refreshing method and device
CN106843901B (en) * 2017-02-10 2020-08-25 广州优视网络科技有限公司 Page rendering and verification method and device
CN106843901A (en) * 2017-02-10 2017-06-13 广州优视网络科技有限公司 A kind of page rendering and the method and apparatus of checking
CN107256151A (en) * 2017-05-27 2017-10-17 北京小米移动软件有限公司 Processing method, device and the terminal of page rendering
CN107256151B (en) * 2017-05-27 2020-09-11 北京小米移动软件有限公司 Page rendering processing method and device and terminal
CN107423059A (en) * 2017-07-07 2017-12-01 北京小米移动软件有限公司 Display methods, device and the terminal of the page
US10908893B2 (en) 2017-08-16 2021-02-02 Advanced New Technologies Co., Ltd. Page update method and apparatus
CN107766427A (en) * 2017-09-14 2018-03-06 成都视达科信息技术有限公司 A kind of page rendering method and system
CN109947317A (en) * 2019-03-11 2019-06-28 北京字节跳动网络技术有限公司 Application program page display method and device
CN110110263A (en) * 2019-05-13 2019-08-09 北京三快在线科技有限公司 Webpage display process, device, terminal and storage medium
CN110110263B (en) * 2019-05-13 2020-07-28 北京三快在线科技有限公司 Webpage display method, device, terminal and storage medium
CN110287432A (en) * 2019-06-28 2019-09-27 北京金山安全软件有限公司 Network information processing method and device and electronic equipment
CN110287433A (en) * 2019-06-28 2019-09-27 北京金山安全软件有限公司 Network information processing method and device and electronic equipment
CN110457614A (en) * 2019-07-03 2019-11-15 南方电网数字电网研究院有限公司 Reduce data increment update method, device and the computer equipment of Data Concurrent amount
CN110427225A (en) * 2019-07-29 2019-11-08 阿里巴巴集团控股有限公司 A kind of method and apparatus starting small routine
CN110569097A (en) * 2019-08-26 2019-12-13 北京奇艺世纪科技有限公司 information display method and device
CN112650546A (en) * 2019-10-11 2021-04-13 华为技术有限公司 Page display method and wearable device
CN111221588A (en) * 2019-11-15 2020-06-02 北京金和网络股份有限公司 Multi-classification asynchronous loading and duplicate removal method and device for map
CN112905920B (en) * 2019-12-04 2023-08-04 腾讯科技(深圳)有限公司 Page display method and device
CN112905920A (en) * 2019-12-04 2021-06-04 腾讯科技(深圳)有限公司 Page display method and device
CN111506844A (en) * 2020-04-08 2020-08-07 聚好看科技股份有限公司 Page processing method, equipment and computer storage medium
CN111741257A (en) * 2020-05-21 2020-10-02 深圳市商汤科技有限公司 Data processing method and device, electronic equipment and storage medium
CN111741257B (en) * 2020-05-21 2022-01-28 深圳市商汤科技有限公司 Data processing method and device, electronic equipment and storage medium
CN111625315A (en) * 2020-05-28 2020-09-04 北京达佳互联信息技术有限公司 Page display method and device, electronic equipment and storage medium
CN113704648A (en) * 2021-08-31 2021-11-26 平安普惠企业管理有限公司 Page data processing method, device, equipment and storage medium
CN115576623A (en) * 2022-09-16 2023-01-06 花瓣云科技有限公司 Application program starting method and device
CN115576623B (en) * 2022-09-16 2023-08-22 花瓣云科技有限公司 Application program starting method and device

Similar Documents

Publication Publication Date Title
CN105607927A (en) Page display method and apparatus
CN104156233B (en) Light application off-line update method, device and terminal
CN104156236A (en) Storage space saving method and device
CN105489194A (en) Method and device for displaying images
CN111246283B (en) Video playing method and device, electronic equipment and storage medium
CN104636106A (en) Picture displaying method and device and terminal device
CN105550357A (en) Web page refreshing method and device
CN103916468B (en) Method for upgrading system, terminal, server and upgrade-system
CN106454392A (en) Live broadcast processing method, device and terminal
CN104156284A (en) File backup method and device
CN104202624A (en) Method and device for transmitting picture
CN103973693A (en) Router accessing method, device and system
CN107423394A (en) Page display method and device
CN106598677A (en) Installation package downloading method and device
CN106354878A (en) Page management method and device
CN111246278B (en) Video playing method and device, electronic equipment and storage medium
CN104111813A (en) Method and device for picture synchronous display, mobile terminal and terminal device
CN104935613A (en) Scene synchronization method, terminal, server and system
CN103885678A (en) Method and device for displaying object
CN108763104A (en) The method, apparatus and storage medium of pre-read file page
CN104050236B (en) Web site contents update reminding method, server and client side
CN104683496A (en) Address filtering method and device
CN104111829A (en) Data storage method and device
CN110809036B (en) Resource updating method and device
CN107632835A (en) Using installation method and device

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: 20160525

RJ01 Rejection of invention patent application after publication