CN106033361A - Method and device for showing application page, and method and device for updating application page data - Google Patents
Method and device for showing application page, and method and device for updating application page data Download PDFInfo
- Publication number
- CN106033361A CN106033361A CN201510111783.5A CN201510111783A CN106033361A CN 106033361 A CN106033361 A CN 106033361A CN 201510111783 A CN201510111783 A CN 201510111783A CN 106033361 A CN106033361 A CN 106033361A
- Authority
- CN
- China
- Prior art keywords
- application page
- data
- application
- page data
- appointment
- 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
Abstract
The invention discloses a method and a device for showing an application page, and a method and a device for updating application page data. The method for showing an application page comprises: receiving an assigned application page showing instruction; based on assigned application page data stored in local, drawing and displaying the assigned application page; sending a data update request carrying the version information of the assigned application page data to a server end, to obtain latest version assigned application page data returned by the server end based on the version information, and executing corresponding update operation. Using the method can realize that after a user gives out an application page showing instruction, a client can rapidly show an application page, and the method can realize to automatically update the application page data stored locally.
Description
Technical field
The application relates to field of computer technology, is specifically related to a kind of application page and presents, applies page data
Update method and device.
Background technology
Along with the development of the Internet, application based on the Internet is the most increasing.When user accesses these application
The page time, client need to by network from server end obtain application page data, according to get should
This application page is presented with page data.But, in the case of client network environment is preferable, i.e. client
End network speed very fast and stable in the case of, user assigns after the application page presents instruction, client can immediately or
After presenting of short duration white screen, present this application page.But in the case of client network environment is poor,
I.e. client network speed is relatively slowly or in the case of instability, user assigns after applying the page to present instruction, client
This application page can be presented or presents request without information such as responses after presenting the white screen of a period of time.In order to
Improve client and present the state of the application page, in the case of client network environment is poor, some application
Can after receiving application the page present instruction, first present have the picture of Loading (loading) effect or its
Its information, after application page data request has responded, client presents this application page again.But visitor
In the case of family end network environment is poor, in aforesaid way, client is required to wait application page data request
After having responded, just can present the application page.
In sum, owing to prior art exists the problem postponing maybe to present the application page, client is caused
End needs to wait that the long period just can present the application page, even cannot present the application page.
Summary of the invention
The application provides a kind of application page to present, apply page data-updating method and device, existing to solve
The problem postponing maybe to present the application page with the presence of technology.
The application provides a kind of application page rendering method, including:
Receive and specify the application page to present instruction;
Based on being stored in advance in local appointment application page data, draw and show the appointment application page;
The data sending the version information carrying described appointment application page data to server end are more newly requested,
The latest edition returned based on described version information to obtain described server end is specified application page data and holds
Row updates operation accordingly.
Optionally, the described number sending the version information carrying described appointment application page data to server end
According to more newly requested, the latest edition returned based on described version information to obtain described server end specifies application
Page data also performs to update operation accordingly, including:
The data sending the version information carrying described appointment application page data to server end are more newly requested;
Receive the feedback information that described server end returns based on described version information, determine described feedback information
In whether carry latest edition specify application page data, the most then according to described latest edition specify should
Perform to update operation accordingly with page data.
Optionally, described appointment according to described latest edition applies page data to perform to update operation accordingly, bag
Include:
The described appointment application page data being stored in advance in this locality is replaced with described latest edition and specifies application
Page data.
Optionally, described appointment according to described latest edition applies page data to perform to update operation accordingly, bag
Include:
Judge that application is presently in whether the page is that described appointment applies the page;
The most then specify application page data according to described latest edition, repaint and show described appointment
The application page.
Optionally, described appointment according to described latest edition applies page data to perform to update operation accordingly, bag
Include:
Judge that application is presently in whether the page is that described appointment applies the page;
The most then display is for inputting the dialog box of the described refreshing instruction specifying the application page;
After receiving described refreshing instruction, specify application page data according to described latest edition, again paint
Make and show that described appointment applies the page.
Optionally, the described number sending the version information carrying described appointment application page data to server end
According to more newly requested, particularly as follows: after the display described appointment application page, send to server end described in carrying
The data specifying the version information of application page data are more newly requested.
Optionally, described appointment applies page data for the first page data of application.
Optionally, described appointment applies the page to present instruction for application enabled instruction.
Accordingly, the application also provides for a kind of application page and presents device, including:
The page presents instruction reception unit, is used for receiving the appointment application page and presents instruction;
Page display unit, for based on being stored in advance in local appointment application page data, drawing and show
Show the appointment application page;
Data updating unit, carries the described version letter specifying application page data for sending to server end
The data of breath are more newly requested, and the latest edition returned based on described version information to obtain described server end refers to
Surely application page data execution update operation accordingly.
Optionally, described data updating unit, including:
Request sends subelement, carries the described version specifying application page data for sending to server end
The data of information are more newly requested;
Update operation perform subelement, for receive described server end based on described version information return anti-
Feedforward information, determines that whether carrying latest edition in described feedback information specifies application page data, if so,
Then application page data is specified to perform to update operation accordingly according to described latest edition.
Optionally, described renewal operates execution subelement, including:
Application page data is specified to replace subelement, for the described appointment applications pages by being stored in advance in this locality
Face data replace with described latest edition and specify application page data.
Optionally, described renewal operates execution subelement, including:
Current page judgment sub-unit, is used for judging that application is presently in whether the page is described appointment applications pages
Face;
First page refreshes subelement, for receiving the judged result of described current page judgment sub-unit, if
Result is yes, then specify application page data according to described latest edition, repaint and show described appointment
The application page.
Optionally, described renewal operates execution subelement, including:
Current page judgment sub-unit, is used for judging that application is presently in whether the page is described appointment applications pages
Face;
Refreshing instruction input subelement, for receiving the judged result of described current page judgment sub-unit, if
Result is yes, then display is for inputting the dialog box of the described refreshing instruction specifying the application page;
Second page refreshes subelement, for after receiving described refreshing instruction, according to described latest edition
Specify application page data, repaint and show that described appointment applies the page.
Optionally, described data updating unit, specifically for: after the display described appointment application page, to
The data that server end sends the version information carrying described appointment application page data are more newly requested, to obtain
Described server end is specified application page data based on the latest edition that described version information returns and performs corresponding
Update operation.
Optionally, the appointment application page data described in described page display unit is the first page data of application.
Optionally, the described page presents the described appointment application page that instruction reception unit received and presents instruction
For application enabled instruction.
Additionally, the application also provides for a kind of application page data-updating method, including:
The data receiving the version information carrying appointment application page data that client sends are more newly requested;
According to described version information, it is judged that whether described appointment application page data is that latest edition specifies application
Page data;
If it is not, then specify application page data to latest edition described in described client feedback.
Optionally, also include:
If it is described according to described version information, it is judged that whether described appointment application page data is that latest edition refers to
Surely the judged result applying page data is yes, then represent described to described client feedback and specify the application page
Data have specified the information of application page data for latest edition.
Accordingly, the application also provides for a kind of application page data update apparatus, including:
Request reception unit, for receiving the version information carrying appointment application page data that client sends
Data more newly requested;
Versions of data judging unit, for according to described version information, it is judged that described appointment application page data
Whether it is that latest edition specifies application page data;
Redaction data transmission unit, for receiving the judged result of described versions of data judging unit, if knot
Fruit is no, then specify application page data to latest edition described in described client feedback.
Optionally, also include:
Request response message feedback unit, for receiving the judged result of described versions of data judging unit, if
Result is yes, then represent described to described client feedback and specify application page data to specify for latest edition
The information of application page data.
Compared with prior art, the application has the advantage that
The application page rendering method of the application offer and device, specify the application page to present instruction by receiving;
Based on being stored in advance in local appointment application page data, draw and show the appointment application page;To service
The data that device end sends the version information carrying described appointment application page data are more newly requested, described to obtain
Server end is specified application page data based on the latest edition that described version information returns and performs corresponding renewal
Operation.This technical scheme is by according to being stored in the appointment application page data of this locality, drawing and show and refer to
Surely the page is applied, it is achieved after user assigns and applies the page to present instruction, client can quickly present this should
Use the page;Meanwhile, more newly requested by actively sending data, it is possible to achieve to automatically update and be stored in this locality
Application page data, in order to the latest edition application page can be presented in time.
In addition the application provide application page data-updating method and device, by receive client send
The data carrying the version information specifying application page data are more newly requested;According to described version information, it is judged that
Described appointment applies whether page data is that latest edition specifies application page data;If it is not, then to described visitor
Family end feeds back described latest edition and specifies application page data.This technical scheme is by judging according to version information
Specify whether application page data is latest edition, it is achieved automatically update application page data.
Accompanying drawing explanation
In order to be illustrated more clearly that the embodiment of the present application or technical scheme of the prior art, below will be to enforcement
In example or description of the prior art, the required accompanying drawing used is briefly described, it should be apparent that, describe below
In accompanying drawing be only some embodiments described in the application, for those of ordinary skill in the art,
Other accompanying drawing can also be obtained according to these accompanying drawings.
Fig. 1 is the flow chart of the application page rendering method embodiment of the application;
Fig. 2 is that the page of applying of the application presents the schematic diagram of device embodiment;
Fig. 3 is the flow chart of the application page data-updating method embodiment of the application;
Fig. 4 is the schematic diagram of the application page data update apparatus embodiment of the application.
Detailed description of the invention
Elaborate a lot of detail in the following description so that fully understanding the application.But the application
Can implement to be much different from alternate manner described here, those skilled in the art can without prejudice to
Doing similar popularization in the case of the application intension, therefore the application is not limited by following public being embodied as.
In this application, a kind of application page rendering method and device and a kind of applications pages are each provided
Face data-updating method and device, be below specific embodiment:
As it is shown in figure 1, the flow chart of the application page rendering method embodiment that it is the application.Described method
Comprise the steps:
Step S101: receive and specify the application page to present instruction.
When user needs the specified page of certain application in access client, it is understood by the operation to client,
As, click on, slide client screen or other operation, assign the appointment application page and present instruction, real
Executing the method that the application provides, first client needs to receive specifies the application page to present instruction.
It should be noted that, in the case of application is not activated, when user needs to access this application homepage face,
The application enabled instruction that it is assigned is application homepage face and presents instruction.Therefore, in the present embodiment, client
It can be application enabled instruction that the described appointment application page that end is received presents instruction.As, on mobile phone
In the case of browser application is not activated, when user needs the homepage face accessing this browser application, use
Application enabled instruction can be assigned by clicking on mobile phone screen in family, and mobile phone can receive this application enabled instruction
After, presenting the homepage face of this browser application, application enabled instruction is appointment applications pages in this process
Face presents instruction.It should be noted that, the client described in the present embodiment includes above-mentioned cited mobile phone,
Also include the terminal units such as Pad or PC.
Step S102: based on being stored in advance in local appointment application page data, draws and shows that appointment should
Use the page.
In existing application page presentation mode, when user accesses the appointment application page, client need to be by net
Network obtains from server end and specifies application page data, and the appointment application page data according to getting presents this
Specify the application page.But in the case of client network environment is poor, e.g., in client network speed
In the case of slow or instability, client needs to expend and the most just can get appointment application page number
According to, even cannot get appointment application page data, cause client time delay maybe cannot present appointment application
The page.So that client can quickly present the appointment application page, in the method that the application provides, in advance
First appointment application page data is loaded and stored in client, when needs present this appointment application page,
Client can read this appointment application page data immediately from this locality, paints according to this appointment application page data
Make and show the appointment application page.So, client is no need for being sent by network specifying application page data
Request, and wait that this request just can get appointment and apply page data after respond, draw and show and refer to
Surely the page is applied.Therefore, receive after the appointment application page that user assigns presents instruction in client,
Implement the application provide method, client need to based on be stored in advance in this locality appointment application page data,
Draw and show the appointment application page.The final basis that realizes is stored in the appointment application page data of this locality, comes
Draw and show the appointment application page so that client after user assigns application the page presents instruction,
Quickly present this application page.
In the present embodiment, described based on being stored in advance in local appointment application page data, draw and show
Show the appointment application page, may include that and read the appointment application page data being stored in advance in this locality;According to
Described appointment is applied page data to draw and shows the appointment application page.Described reading is stored in advance in this locality
Specifying application page data can be that client is by specifying application page data to local memory device request
And local memory device passback appointment application page data, complete to read the appointment application page being stored in this locality
Data.
Described according to specifying application page data to draw the appointment application page, i.e. according to the appointment application read
Page data renders the appointment application page.Here as a example by browser application, should according to appointment under detailed description
Draw with page data and specify the application page.As, if specifying the application page is application homepage face, when user wants
The homepage face of access browser application, the most in this step, client i.e. needs clear according to read in this locality
The first page data of device of looking at application, draws this application homepage face.Concrete drawing process is first to apply homepage
Face data deliver to HTML (Hyper Text Markup Language, HTML) interpreter;
HTML interpreter is explained the first page data of application and forms dom tree (Document Object Model, literary composition
Shelves object model), period such as runs into JavaScript code and then gives JavaScript engine process, described
JavaScript is the case sensitive client-side scripting language of a kind of OO regime type, application head
CSS (Cascading Style Sheet, CSS or Cascading Style Sheet) included in page data, then
Give CSS interpreter to resolve;After dom tree is formed, receive the pattern letter explained from CSS interpreter
Breath, builds a new inside drawing model, and this model is by layout modules computation model each element internal
Position and size information, finally completed to operate from the drafting of this model to image by graphics module.
It should be noted that, in the present embodiment, described appointment application page data can be the first page number of application
According to.Certainly, in other embodiments, in order to meet some demand, this appointment application page data is all right
Other page data for application.
It should be noted that, in order to based on being stored in advance in local appointment application page data, draw and show
Specify the application page, before described reception specifies the application page to present instruction, it is also possible to including: in this locality
Store described appointment and apply page data.Certainly, storage appointment applications pages in client is the most completed
In the case of the data manipulation of face, when implementing the method that the application provides, i.e. need not again perform this storage behaviour
Make.Wherein, in these appointment application data can be stored in local internal memory or caching.
It should be noted that, owing to this step is based on the appointment application page data being stored in advance in this locality, paint
Make and show the appointment application page, therefore, the situation of network cannot be used in unstable networks client, visitor
Family end can also present appointment according to local appointment application page data and apply the page, it is to avoid in this situation
Under, client cannot present the appointment application page.
Step S103: send the data carrying the described version information specifying application page data to server end
More newly requested, the latest edition returned based on described version information to obtain described server end specifies applications pages
Face data also perform to update operation accordingly.
By above-mentioned steps S102, client has realized quickly presenting the appointment application page, but should owing to specifying
Would generally be changed with the page, i.e. produced the appointment application page data of redaction, therefore to make client
End can quickly present the appointment application page of latest edition, also needs the appointment to being stored in advance in client to answer
It is updated with page data.In order on the basis of can quickly presenting the appointment application page of latest edition,
Automatically updating appointment application page data, in this step, client need to be carried described to server end transmission
The data specifying the version information of application page data are more newly requested, to obtain described server end based on described
The latest edition that version information returns is specified application page data and performs to update operation accordingly.Final realization is led to
Cross that actively to send data more newly requested, the application page data being stored in this locality can be automatically updated, in order to can
To present the latest edition application page in time.I.e. client actively obtains latest edition appointment to server end
Application page data, the real-time of specifying application page data locally stored to ensure client.
In the present embodiment, described transmission to server end carries the described version letter specifying application page data
The data of breath are more newly requested, and the latest edition returned based on described version information to obtain described server end refers to
Surely application page data execution update operation accordingly, may include that to send to server end and carry described finger
Surely the data applying the version information of page data are more newly requested;Receive described server end based on described version
The feedback information that information returns, determines that whether carrying latest edition in described feedback information specifies the application page
Data, the most then specify application page data to perform to update operation accordingly according to described latest edition.Even
The appointment application page data not having redaction produces, and the appointment application page data being stored in this locality is
Latest edition specifies application page data, then be performed without updating operation accordingly;If there being the applications pages of redaction
Face data produce, then need to perform to update accordingly operation.
Feedback information described above is that server end is receiving the version carrying described appointment application page data
After the data of information are more newly requested, this request responded, judges currently assigned according to version information analysis
Application page versions of data state, finally sends to client.According to the finger that currently whether there is redaction
Surely applying page data, client can receive the feedback information with different content.As, there is currently
In the case of the appointment application page data of redaction, this feedback information item can be that latest edition appointment should
Use page data;In the case of there is currently no the appointment application page data of redaction, this feedback information
Content can be the information specifying application page data implication representing and being not detected by redaction.
It should be noted that, in the present embodiment, described appointment according to described latest edition applies page data to hold
Row updates operation accordingly, may include that and is replaced by the described appointment application page data being stored in advance in this locality
Application page data is specified for described latest edition.I.e. update the appointment application page number being stored in advance in this locality
According to.
It should be noted that, after client presents the appointment application page, in order to latest edition can be presented at this
This appointment application page, the corresponding renewal operation performed by client can include refreshing specifies application page behaviour
Making, the one of which implementation of this refreshing appointment application page operating procedure is, the most in the present embodiment,
Described appointment according to described latest edition applies page data to perform to update operation accordingly, may include that judgement
Application is presently in whether the page is that described appointment applies the page;The most then specify according to described latest edition
Application page data, repaints and shows that described appointment applies the page.Even application is presently in the page also
Resting on the appointment application page, client can not show relevant information, automatically refreshes and specifies the application page.
The wherein another kind of implementation of this refreshing appointment application page operating procedure is, the most in the present embodiment,
Described appointment according to described latest edition applies page data to perform to update operation accordingly, may include that judgement
Application is presently in whether the page is that described appointment applies the page;The most then display is used for inputting described appointment
The dialog box of the refreshing instruction of the application page;After receiving described refreshing instruction, according to described latest edition
Specify application page data, repaint and show that described appointment applies the page.Even application is presently in page
Face also rests on the appointment application page, and now client can show a dialog box, and dialog box can show
Detect that this appointment application page has the information of redaction, and refresh and specify application page button and not refreshing to refer to
Surely apply page button, input refreshing for user or do not refresh appointment application page instruction, receiving finger
Surely after application page refreshing instruction, further according to the appointment application page data after updating, repainting appointment should
Use the page.
In the present embodiment, described transmission to server end carries the described version letter specifying application page data
The data of breath are more newly requested, are specifically as follows: after the display described appointment application page, send out to server end
Send the data carrying the described version information specifying application page data more newly requested.In the present embodiment, institute
State after the display described appointment application page, send to server end and carry described appointment application page data
The data of version information are more newly requested, may include that and judge to specify application page data the most to show;If
It is that the data then sending the version information carrying described appointment application page data to server end are more newly requested;
If it is not, then return, execution is described to be judged to specify application page data step display the most.
It should be noted that, update to send the data carrying the described version information specifying application page data
Request, when locally stored appointment application page data, can store this appointment application page data simultaneously
Version information, the version information of described appointment application page data can be the version specifying application page data
Number.
In the above-described embodiment, it is provided that a kind of application page rendering method, corresponding, this Shen
Please also provide for a kind of application page and present device.Refer to Fig. 2, it is that the application page of the application presents device
The schematic diagram of embodiment.Owing to device embodiment is substantially similar to embodiment of the method, so describing the simplest
Single, relevant part sees the part of embodiment of the method and illustrates.Device embodiment described below is only
Schematically.
A kind of application page of the present embodiment presents device, including:
The page presents instruction reception unit 201, is used for receiving the appointment application page and presents instruction;
Page display unit 202, for based on being stored in advance in local appointment application page data, drawing also
The application page is specified in display;
Data updating unit 203, carries the described version specifying application page data for sending to server end
The data of information are more newly requested, to obtain the latest edition that described server end returns based on described version information
Specify application page data and perform to update operation accordingly.
Optionally, described data updating unit, including:
Request sends subelement, carries the described version specifying application page data for sending to server end
The data of information are more newly requested;
Update operation perform subelement, for receive described server end based on described version information return anti-
Feedforward information, determines that whether carrying latest edition in described feedback information specifies application page data, if so,
Then application page data is specified to perform to update operation accordingly according to described latest edition.
Optionally, described renewal operates execution subelement, including:
Application page data is specified to replace subelement, for the described appointment applications pages by being stored in advance in this locality
Face data replace with described latest edition and specify application page data.
Optionally, described renewal operates execution subelement, including:
Current page judgment sub-unit, is used for judging that application is presently in whether the page is described appointment applications pages
Face;
First page refreshes subelement, for receiving the judged result of described current page judgment sub-unit, if
Result is yes, then specify application page data according to described latest edition, repaint and show described appointment
The application page.
Optionally, described renewal operates execution subelement, including:
Current page judgment sub-unit, is used for judging that application is presently in whether the page is described appointment applications pages
Face;
Refreshing instruction input subelement, for receiving the judged result of described current page judgment sub-unit, if
Result is yes, then display is for inputting the dialog box of the described refreshing instruction specifying the application page;
Second page refreshes subelement, for after receiving described refreshing instruction, according to described latest edition
Specify application page data, repaint and show that described appointment applies the page.
Optionally, described data updating unit, specifically for: after the display described appointment application page, to
The data that server end sends the version information carrying described appointment application page data are more newly requested, to obtain
Described server end is specified application page data based on the latest edition that described version information returns and performs corresponding
Update operation.
Optionally, the appointment application page data described in described page display unit is the first page data of application.
Optionally, the described page presents the described appointment application page that instruction reception unit received and presents instruction
For application enabled instruction.
Corresponding with above-mentioned application page rendering method, the application also provides for a kind of application page data and updates
Method.Refer to Fig. 3, it is the flow chart applying page data-updating method embodiment of the application, this reality
The part executing example identical with first embodiment content repeats no more, and refers to the appropriate section in embodiment one.
A kind of application page data-updating method that the application provides, including:
Step S301: receive the data of the version information carrying appointment application page data that client sends more
Newly requested.
When the client of the application page data presentation method implemented described in above-described embodiment, send out to server end
After sending the data carrying the described version information specifying application page data more newly requested, first server end can
The data receiving the version information carrying appointment application page data that client sends are more newly requested, are then
This request can be responded.Described version information can be the version number specifying application page data.
Step S302: according to described version information, it is judged that whether described appointment application page data is latest edition
This appointment application page data.
After the data receiving client initiation are more newly requested, server end i.e. needs to process this request, specifically
, first server end needs according to described version information, it is judged that whether described appointment application page data is
Redaction specifies application page data.It should be noted that, in the present embodiment, described believe according to described version
Breath, it is judged that described appointment applies whether page data is that latest edition specifies application page data, may include that
Resolve described data more newly requested, it is thus achieved that the described version information specifying application page data;Judge described finger
Surely whether the version information applying page data specifies the version information phase of application page data with latest edition
With, if it is not, then judge that described appointment application page data is not that latest edition specifies application page data.
Step S303: if it is not, then specify application page data to latest edition described in described client feedback.
If the judged result of above-mentioned steps S302 is, it is intended that application page data is not that latest edition specifies application
Page data, then server end need to specify application page data to client feedback latest edition.So as client
End can specify application page data according to latest edition, performs to update operation accordingly.
In the present embodiment, it is also possible to including: if described according to described version information, it is judged that described appointment should
Whether it is that latest edition specifies the judged result of application page data to be yes, then to described client with page data
Application page data is specified to specify the information of application page data for latest edition described in end feedback representation.
It is in the above-described embodiment, it is provided that a kind of application page data-updating method, corresponding,
The application also provides for a kind of application page data update apparatus.Refer to Fig. 4, it is a kind of application of the application
The schematic diagram of page data updating device embodiment.Owing to device embodiment is substantially similar to embodiment of the method,
So describing fairly simple, relevant part sees the part of embodiment of the method and illustrates.Described below
Device embodiment is only schematically.
A kind of application page data update apparatus of the present embodiment, including:
Request reception unit 401, for receiving the version letter carrying appointment application page data that client sends
The data of breath are more newly requested;
Versions of data judging unit 402, for according to described version information, it is judged that described appointment application page number
According to being whether that latest edition specifies application page data;
Redaction data transmission unit 403, for receiving the judged result of described versions of data judging unit, if
Result is no, then specify application page data to latest edition described in described client feedback.
Optionally, also include:
Request response message feedback unit, for receiving the judged result of described versions of data judging unit, if
Result is yes, then represent described to described client feedback and specify application page data to specify for latest edition
The information of application page data
Optionally, described versions of data judging unit unit, including:
Request analysis subelement, is used for resolving described data more newly requested, it is thus achieved that described appointment applies page number
According to version information;
Version information judgment sub-unit, for judge the described version information specifying application page data whether with
Latest edition specifies the version information applying page data identical, if it is not, then judge that described appointment applies the page
Data are not that latest edition specifies application page data.
There is provided the application above a kind of applies the page to present, applies page data-updating method and device
Embodiment is described in detail, and principle and the embodiment of the application are entered by specific case used herein
Having gone elaboration, the explanation of above example is only intended to help and understands the present processes and core concept thereof;
Simultaneously for one of ordinary skill in the art, according to the thought of the application, in detailed description of the invention and should
All will change with in scope.In sum, this specification content should not be construed as the limit to the application
System.
In a typical configuration, calculating equipment includes one or more processor (CPU), input/output
Interface, network interface and internal memory.
Internal memory potentially includes the volatile memory in computer-readable medium, random access memory
(RAM) and/or the form such as Nonvolatile memory, such as read only memory (ROM) or flash memory (flash RAM).
Internal memory is the example of computer-readable medium.
1, computer-readable medium includes that permanent and non-permanent, removable and non-removable media can be by
Any method or technology realize information storage.Information can be computer-readable instruction, data structure, journey
The module of sequence or other data.The example of the storage medium of computer includes, but are not limited to phase transition internal memory
(PRAM), static RAM (SRAM), dynamic random access memory (DRAM), its
The random access memory (RAM) of his type, read only memory (ROM), electrically erasable is read-only deposits
Reservoir (EEPROM), fast flash memory bank or other memory techniques, read-only optical disc read only memory
(CD-ROM), digital versatile disc (DVD) or other optical storage, magnetic cassette tape, tape magnetic magnetic
Disk storage or other magnetic storage apparatus or any other non-transmission medium, can be used for storage can be set by calculating
The standby information accessed.According to defining herein, computer-readable medium does not include non-temporary computer-readable matchmaker
Body (transitory media), such as data signal and the carrier wave of modulation.
2, it will be understood by those skilled in the art that embodiments herein can be provided as method, system or computer
Program product.Therefore, the application can use complete hardware embodiment, complete software implementation or combine software
Form with the embodiment of hardware aspect.And, the application can use and wherein include meter one or more
The computer-usable storage medium of calculation machine usable program code (include but not limited to disk memory,
CD-ROM, optical memory etc.) form of the upper computer program implemented.
Claims (20)
1. an application page rendering method, it is characterised in that including:
Receive and specify the application page to present instruction;
Based on being stored in advance in local appointment application page data, draw and show the appointment application page;
The data sending the version information carrying described appointment application page data to server end are more newly requested,
The latest edition returned based on described version information to obtain described server end is specified application page data and holds
Row updates operation accordingly.
Application page rendering method the most according to claim 1, it is characterised in that described to server
The data that end sends the version information carrying described appointment application page data are more newly requested, to obtain described clothes
Business device end group is specified application page data in the latest edition that described version information returns and performs to update behaviour accordingly
Make, including:
The data sending the version information carrying described appointment application page data to server end are more newly requested;
Receive the feedback information that described server end returns based on described version information, determine described feedback information
In whether carry latest edition specify application page data, the most then according to described latest edition specify should
Perform to update operation accordingly with page data.
Application page rendering method the most according to claim 2, it is characterised in that described in described basis
Latest edition specifies application page data to perform to update operation accordingly, including:
The described appointment application page data being stored in advance in this locality is replaced with described latest edition and specifies application
Page data.
4. according to the application page rendering method described in Claims 2 or 3, it is characterised in that described basis
Described latest edition specifies application page data to perform to update operation accordingly, including:
Judge that application is presently in whether the page is that described appointment applies the page;
The most then specify application page data according to described latest edition, repaint and show described appointment
The application page.
5. according to the application page rendering method described in Claims 2 or 3, it is characterised in that described basis
Described latest edition specifies application page data to perform to update operation accordingly, including:
Judge that application is presently in whether the page is that described appointment applies the page;
The most then display is for inputting the dialog box of the described refreshing instruction specifying the application page;
After receiving described refreshing instruction, specify application page data according to described latest edition, again paint
Make and show that described appointment applies the page.
Application page rendering method the most according to claim 1, it is characterised in that described to server
The data that end sends the version information carrying described appointment application page data are more newly requested, particularly as follows: aobvious
After showing the described appointment application page, carry the described version specifying application page data to server end transmission and believe
The data of breath are more newly requested.
Application page rendering method the most according to claim 1, it is characterised in that described appointment is applied
Page data is the first page data of application.
Application page rendering method the most according to claim 7, it is characterised in that described appointment is applied
The page presents instruction for application enabled instruction.
9. an application page presents device, it is characterised in that including:
The page presents instruction reception unit, is used for receiving the appointment application page and presents instruction;
Page display unit, for based on being stored in advance in local appointment application page data, drawing and show
Show the appointment application page;
Data updating unit, carries the described version letter specifying application page data for sending to server end
The data of breath are more newly requested, and the latest edition returned based on described version information to obtain described server end refers to
Surely application page data execution update operation accordingly.
The application page the most according to claim 9 presents device, it is characterised in that described data are more
New unit, including:
Request sends subelement, carries the described version specifying application page data for sending to server end
The data of information are more newly requested;
Update operation perform subelement, for receive described server end based on described version information return anti-
Feedforward information, determines that whether carrying latest edition in described feedback information specifies application page data, if so,
Then application page data is specified to perform to update operation accordingly according to described latest edition.
The 11. application pages according to claim 10 present device, it is characterised in that described renewal is grasped
Make to perform subelement, including:
Application page data is specified to replace subelement, for the described appointment applications pages by being stored in advance in this locality
Face data replace with described latest edition and specify application page data.
12. present device according to the application page described in claim 10 or 11, it is characterised in that described more
New operation performs subelement, including:
Current page judgment sub-unit, is used for judging that application is presently in whether the page is described appointment applications pages
Face;
First page refreshes subelement, for receiving the judged result of described current page judgment sub-unit, if
Result is yes, then specify application page data according to described latest edition, repaint and show described appointment
The application page.
13. present device according to the application page described in claim 10 or 11, it is characterised in that described more
New operation performs subelement, including:
Current page judgment sub-unit, is used for judging that application is presently in whether the page is described appointment applications pages
Face;
Refreshing instruction input subelement, for receiving the judged result of described current page judgment sub-unit, if
Result is yes, then display is for inputting the dialog box of the described refreshing instruction specifying the application page;
Second page refreshes subelement, for after receiving described refreshing instruction, according to described latest edition
Specify application page data, repaint and show that described appointment applies the page.
The 14. application pages according to claim 9 present device, it is characterised in that described data are more
New unit, specifically for: after the display described appointment application page, send to server end and carry described finger
Surely the data applying the version information of page data are more newly requested, to obtain described server end based on described version
The latest edition that this information returns is specified application page data and performs to update operation accordingly.
The 15. application pages according to claim 9 present device, it is characterised in that the described page shows
Show that the appointment application page data described in unit is the first page data of application.
The 16. application pages according to claim 15 present device, it is characterised in that the described page in
The described appointment application page that existing instruction reception unit is received presents instruction for application enabled instruction.
17. 1 kinds of application page data-updating methods, it is characterised in that including:
The data receiving the version information carrying appointment application page data that client sends are more newly requested;
According to described version information, it is judged that whether described appointment application page data is that latest edition specifies application
Page data;
If it is not, then specify application page data to latest edition described in described client feedback.
18. application page data-updating methods according to claim 17, it is characterised in that also include:
If it is described according to described version information, it is judged that whether described appointment application page data is that latest edition refers to
Surely the judged result applying page data is yes, then represent described to described client feedback and specify the application page
Data have specified the information of application page data for latest edition.
19. 1 kinds of application page data update apparatus, it is characterised in that including:
Request reception unit, for receiving the version information carrying appointment application page data that client sends
Data more newly requested;
Versions of data judging unit, for according to described version information, it is judged that described appointment application page data
Whether it is that latest edition specifies application page data;
Redaction data transmission unit, for receiving the judged result of described versions of data judging unit, if knot
Fruit is no, then specify application page data to latest edition described in described client feedback.
20. application page data update apparatus according to claim 19, it is characterised in that also include:
Request response message feedback unit, for receiving the judged result of described versions of data judging unit, if
Result is yes, then represent described to described client feedback and specify application page data to specify for latest edition
The information of application page data.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510111783.5A CN106033361A (en) | 2015-03-13 | 2015-03-13 | Method and device for showing application page, and method and device for updating application page data |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510111783.5A CN106033361A (en) | 2015-03-13 | 2015-03-13 | Method and device for showing application page, and method and device for updating application page data |
Publications (1)
Publication Number | Publication Date |
---|---|
CN106033361A true CN106033361A (en) | 2016-10-19 |
Family
ID=57151177
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510111783.5A Pending CN106033361A (en) | 2015-03-13 | 2015-03-13 | Method and device for showing application page, and method and device for updating application page data |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106033361A (en) |
Cited By (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106775862A (en) * | 2016-12-08 | 2017-05-31 | 蓝信工场(北京)科技有限公司 | Using loading method and device |
CN108090062A (en) * | 2016-11-21 | 2018-05-29 | 阿里巴巴集团控股有限公司 | A kind of page furbishing method and device |
CN108123970A (en) * | 2016-11-28 | 2018-06-05 | 北京神州泰岳软件股份有限公司 | Method for exhibiting data and relevant apparatus |
CN108200127A (en) * | 2017-12-20 | 2018-06-22 | 东软集团股份有限公司 | Data transmission method for uplink, device, server, terminal and storage medium |
CN108427583A (en) * | 2018-03-14 | 2018-08-21 | 五八有限公司 | Page display method, device, equipment and the readable storage medium storing program for executing of application program |
CN108848173A (en) * | 2018-06-25 | 2018-11-20 | 郑州云海信息技术有限公司 | A kind of data-updating method, device, equipment and readable storage medium storing program for executing |
CN109213560A (en) * | 2018-09-12 | 2019-01-15 | 上海连尚网络科技有限公司 | A kind of method and apparatus of information page presentation |
CN109471695A (en) * | 2018-10-31 | 2019-03-15 | 北京字节跳动网络技术有限公司 | Method and apparatus for more new data |
CN110297575A (en) * | 2019-06-28 | 2019-10-01 | 百度在线网络技术(北京)有限公司 | A kind of webpage representation method, apparatus, terminal device and storage medium |
CN110430324A (en) * | 2019-08-07 | 2019-11-08 | 华为技术有限公司 | A kind of application is spread its tail the display methods and electronic equipment of information |
CN112199617A (en) * | 2020-10-19 | 2021-01-08 | 广州华多网络科技有限公司 | Business data refreshing and pushing method and device, equipment and medium thereof |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101082915A (en) * | 2006-05-29 | 2007-12-05 | 陈鹰 | Storage and update method of browsers local page |
CN103023941A (en) * | 2011-09-26 | 2013-04-03 | 腾讯科技(深圳)有限公司 | Terminal application program updating method and system based on Web page |
CN104104707A (en) * | 2013-04-12 | 2014-10-15 | 腾讯科技(深圳)有限公司 | Webpage data update method, terminal, cache server and system |
CN104182241A (en) * | 2013-05-24 | 2014-12-03 | 华为终端有限公司 | Webpage application program (Web App) update method and communication device |
-
2015
- 2015-03-13 CN CN201510111783.5A patent/CN106033361A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101082915A (en) * | 2006-05-29 | 2007-12-05 | 陈鹰 | Storage and update method of browsers local page |
CN103023941A (en) * | 2011-09-26 | 2013-04-03 | 腾讯科技(深圳)有限公司 | Terminal application program updating method and system based on Web page |
CN104104707A (en) * | 2013-04-12 | 2014-10-15 | 腾讯科技(深圳)有限公司 | Webpage data update method, terminal, cache server and system |
CN104182241A (en) * | 2013-05-24 | 2014-12-03 | 华为终端有限公司 | Webpage application program (Web App) update method and communication device |
Cited By (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108090062A (en) * | 2016-11-21 | 2018-05-29 | 阿里巴巴集团控股有限公司 | A kind of page furbishing method and device |
CN108123970A (en) * | 2016-11-28 | 2018-06-05 | 北京神州泰岳软件股份有限公司 | Method for exhibiting data and relevant apparatus |
CN106775862A (en) * | 2016-12-08 | 2017-05-31 | 蓝信工场(北京)科技有限公司 | Using loading method and device |
CN108200127A (en) * | 2017-12-20 | 2018-06-22 | 东软集团股份有限公司 | Data transmission method for uplink, device, server, terminal and storage medium |
CN108427583A (en) * | 2018-03-14 | 2018-08-21 | 五八有限公司 | Page display method, device, equipment and the readable storage medium storing program for executing of application program |
CN108848173A (en) * | 2018-06-25 | 2018-11-20 | 郑州云海信息技术有限公司 | A kind of data-updating method, device, equipment and readable storage medium storing program for executing |
CN109213560A (en) * | 2018-09-12 | 2019-01-15 | 上海连尚网络科技有限公司 | A kind of method and apparatus of information page presentation |
CN109471695A (en) * | 2018-10-31 | 2019-03-15 | 北京字节跳动网络技术有限公司 | Method and apparatus for more new data |
CN110297575A (en) * | 2019-06-28 | 2019-10-01 | 百度在线网络技术(北京)有限公司 | A kind of webpage representation method, apparatus, terminal device and storage medium |
CN110430324A (en) * | 2019-08-07 | 2019-11-08 | 华为技术有限公司 | A kind of application is spread its tail the display methods and electronic equipment of information |
CN110430324B (en) * | 2019-08-07 | 2021-07-09 | 华为技术有限公司 | Display method, electronic equipment and storage medium for application screen opening information |
CN112199617A (en) * | 2020-10-19 | 2021-01-08 | 广州华多网络科技有限公司 | Business data refreshing and pushing method and device, equipment and medium thereof |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106033361A (en) | Method and device for showing application page, and method and device for updating application page data | |
AU2011101576A4 (en) | Method and systems for generating and displaying a preview image of a content area | |
CN106484383A (en) | page rendering method, device and equipment | |
JP2019032883A (en) | Method, apparatus, server and system for implementing web application | |
JP4857349B2 (en) | Method, system, and computer program for providing asynchronous portal pages within a portal system | |
CN109542427B (en) | System customization method and device, electronic equipment and storage medium | |
JP2021072089A (en) | Webpage rendering method, device, electronic equipment, storage medium, and program | |
CN107390994B (en) | Interface presentation method and device | |
CN104798094B (en) | Determine the configuration of content item display environment | |
CN107229633A (en) | Static page generation method, Web access method and device | |
JP2015501478A (en) | System and method for displaying advertisements within an ad unit | |
US20090085921A1 (en) | Populate Web-Based Content Based on Space Availability | |
US20150220496A1 (en) | Dynamic sprite based theme switching | |
WO2012125799A2 (en) | Method and system for tracking web link usage | |
US9740668B1 (en) | Plotting webpage loading speeds and altering webpages and a service based on latency and pixel density | |
CN110442815B (en) | Page generation method, system, device and computer readable storage medium | |
CN111639019A (en) | Code testing method and device and readable storage medium | |
CN110058854B (en) | Method, terminal device and computer-readable medium for generating application | |
US10417317B2 (en) | Web page profiler | |
CN107408065A (en) | Supervision application loads | |
CN107807937B (en) | Website SEO processing method, device and system | |
CN113688341B (en) | Dynamic picture decomposition method and device, electronic equipment and readable storage medium | |
CN111079048A (en) | Page loading method and device | |
CN111597102A (en) | Page performance testing method, terminal and storage medium | |
CN114756228A (en) | Page processing method, device, equipment and storage medium |
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: 20161019 |