CN107872500A - Update processing method, device, server and the client of five application page data - Google Patents

Update processing method, device, server and the client of five application page data Download PDF

Info

Publication number
CN107872500A
CN107872500A CN201610862239.9A CN201610862239A CN107872500A CN 107872500 A CN107872500 A CN 107872500A CN 201610862239 A CN201610862239 A CN 201610862239A CN 107872500 A CN107872500 A CN 107872500A
Authority
CN
China
Prior art keywords
page
data
versions
application
renewal
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201610862239.9A
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.)
Alibaba Group Holding Ltd
Original Assignee
Alibaba Group Holding Ltd
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 Alibaba Group Holding Ltd filed Critical Alibaba Group Holding Ltd
Priority to CN201610862239.9A priority Critical patent/CN107872500A/en
Publication of CN107872500A publication Critical patent/CN107872500A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/56Provisioning of proxy services
    • H04L67/565Conversion or adaptation of application format or content
    • H04L67/5651Reducing the amount or size of exchanged application data
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/02Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/14Session management

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The application provides a kind of processing method, device, server and client for updating five application page data.Methods described includes:When triggering the five application page of access client, page data request message is sent to server;When server receives page data request message, obtain old version data corresponding with the versions of data mark in page data request message, and the page differential data of latest edition data and old version data is calculated, and update response message to the client back page;After client receives the renewal of the page response message, however, it is determined that the result of calculation of the page differential data in the renewal of the page response message is not sky, then updates five application page according to page differential data, and update the data version identifier accordingly.It using each embodiment of the application, can ensure that page data upgrades in time, lift page operational effect, save customer flow, reduce system processing load, improve renewal of the page response efficiency and Consumer's Experience.

Description

Update processing method, device, server and the client of five application page data
Technical field
The application belongs to microcomputer data processing field, more particularly to a kind of processing side for updating five application page data Method, device, server and client.
Background technology
As what information technology and mobile service were applied develops rapidly, the types of applications page of mobile terminal is more and more, And the merchandise news that is shown on the page, advertisement promotion etc. can directly affect Consumer's Experience.Under certain situation, in five application page Data can with the renewal of page data dynamic change.It is common, in order to ensure the real-time of page data, each page Data can be obtained during displaying and carry out local page refreshing.
For example, the processing mode that renewal of the page at present often uses includes:
1), by the monoblock data of the page, in local all cachings, for a period of time, terminal applies do not have within this period of time The request renewal page;
2), when the page has data renewal, active push (PUSH) message is to user, the number of progress terminal applies (APP) According to renewal.
Obviously, first way can cause once have data renewal, and user can not perceive newest page data in time and become Change, have a strong impact on the page operational effects such as Consumer's Experience and merchandise display, the advertisement promotion of terminal.And the second way is in the page In the embodiment that message pushes when data change, if the operation page that all users are just as, then system needs Be broadcast to all user's PUSH messages, very big pressure brought to system PUSH, sometimes several hours be all difficult to push and finish, the page Operational effect can also substantially reduce.In addition, when page data updates, mobile terminal user is not necessarily just online, in order to ensure Renewal can notify offline user, it usually needs a set of extremely complex storage of design, retries, fault tolerant mechanism, and repeatedly Change, message coalescing etc. can cause many unnecessary change data also to be issued, and cause flow to waste, also increase simultaneously The guarantee difficulty of the uniformity of edition data in PUSH message.Also, the data that many page datas change within a period of time Less, either the first local all mode of caching or second of active push, it is to repeat that can cause many data User terminal is back to, so not only larger data traffic can be brought to waste to user, can also increase server and client side Processing load.
The content of the invention
The application purpose is to provide a kind of processing method, device, server and client for updating five application page data, It can realize and ensure that page data upgrades in time, lift page operational effect, reduce the data volume of communication interaction, save user's stream Amount, system processing load is reduced, improves systematic function.
Processing method, device, server and the client for a kind of renewal five application page data that the application provides are so Realize:
A kind of processing method for updating five application page data, methods described include:
When triggering the five application page of access client, page data request message, the page data are sent to server The versions of data that request message comprises at least the five application page identifies;
When the server receives the page data request message, acquisition and institute from the page versions data of storage State old version data corresponding to the versions of data mark in page data request message;
The server obtains the latest edition data of the five application page, calculates the latest edition data and is gone through with described The page differential data of history edition data;
The server updates response message to the client back page, and the renewal response message includes described The result of calculation of page differential data;
After the client receives the renewal of the page response message, however, it is determined that in the renewal of the page response message The result of calculation of page differential data is not sky, then updates the five application page according to the page differential data, and accordingly Update the versions of data mark of the five application page.
A kind of processing method for updating five application page data, methods described include:
The page data request message that client is sent is received, is obtained and the page from the page versions data of storage Old version data corresponding to versions of data mark in data request information, the page data request message comprise at least visitor The versions of data mark of the five application page at family end;
The latest edition data of the five application page are obtained, calculate the latest edition data and the old version data Page differential data;
Response message is updated to the client back page, the renewal response message includes the page residual quantity number According to result of calculation.
A kind of processing method for updating five application page data, methods described include:
When triggering accesses five application page, page data request message, the page data request message are sent to server Identified including at least the versions of data of the five application page;
The renewal of the page response message that the reception server is sent, and if it is determined that page in the renewal of the page response message The result of calculation of face differential data is not sky, then updates the five application page according to the page differential data, and accordingly more The versions of data mark of the new five application page.
A kind of processing unit for updating five application page data, described device include:
Edition data acquisition module, for receiving the page data request message of client transmission, from the page version of storage Old version data corresponding with the versions of data mark in the page data request message, the page are obtained in notebook data Data request information comprises at least the versions of data mark of the five application page of client;And for obtaining the five application page Latest edition data
Differential data computing module, for calculating the page residual quantity of the latest edition data and the old version data Data;
Response processing module is updated, for updating response message to the client back page, the renewal response disappears Breath includes the result of calculation of the page differential data.
A kind of processing unit for updating five application page data, described device include:
Page data request module, when accessing five application page for triggering, page data request message is sent to server, The versions of data that the page data request message comprises at least the five application page identifies;
Page data update module, the renewal of the page response message sent for the reception server, and it is if it is determined that described The result of calculation of page differential data in renewal of the page response message is not sky, then updates institute according to the page differential data Five application page is stated, and updates the versions of data mark of the five application page accordingly.
A kind of server, including the communication unit with network interface and the processing unit for performing computer program instructions,
The communication unit, returned for receiving the page data request message of client transmission, and to the client Return renewal of the page response message;
The processing unit, is configured to, please with the page data for being obtained from the page versions data of storage Old version data corresponding to the versions of data mark in message are sought, and for obtaining the latest edition number of the five application page According to;It is additionally operable to calculate the page differential data of the latest edition data and the old version data;It is additionally operable to the visitor Family end back page renewal response message, the renewal response message include the result of calculation of the page differential data.
A kind of client, including the page of the request of data unit with network interface and execution computer program instructions is more New unit,
Request of data unit, when accessing five application page for triggering, page data request message is sent to server, it is described The versions of data that page data request message comprises at least the five application page identifies;
Renewal of the page unit, is configured to, the renewal of the page response message sent for the reception server, and if it is determined that The result of calculation of page differential data in the renewal of the page response message is not sky, then according to the page differential data more The new five application page, and the versions of data mark of the five application page is updated accordingly.
Processing method, device, server and the client for a kind of renewal five application page data that the application provides, user are every During secondary accession page, the page data request message comprising page current version identifications can be together sent to service by client Device.Server-side can obtain the latest edition data of the page, so, when the page data request for receiving client transmission During message, server can calculate the differential data of page latest edition data and current version data, judge current page Whether need to update.If any differential data, then it can ensure page data in time more only to client back page differential data Newly, it may not be necessary to return to the edition data of full page, save floating resources.The embodiment that the application provides, in the page During renewal, it can only need to return to the differential data of change, reduce data processing amount and the communication of server and client side Data volume, client and server renewal of the page response efficiency is improved, improve the terminal applies usage experience and page fortune of user Seek effect.
Brief description of the drawings
, below will be to embodiment or existing in order to illustrate more clearly of the embodiment of the present application or technical scheme of the prior art There is the required accompanying drawing used in technology description to be briefly described, it should be apparent that, drawings in the following description are only this Some embodiments described in application, for those of ordinary skill in the art, do not paying the premise of creative labor Under, other accompanying drawings can also be obtained according to these accompanying drawings.
Fig. 1 is a kind of a kind of herein described method flow diagram of embodiment of processing method for updating five application page data;
Fig. 2 is that a kind of method flow of herein described processing method another kind embodiment for updating five application page data shows It is intended to;
Fig. 3 is that a kind of method flow of herein described processing method another kind embodiment for updating five application page data shows It is intended to;
Fig. 4 is that a kind of a kind of modular structure of embodiment of processing unit for renewal five application page data that the application provides is shown It is intended to;
Fig. 5 is a kind of a kind of data format schematic diagram for embodiment of renewal of the page response message that the application provides;
Fig. 6 is that a kind of a kind of modular structure of embodiment of processing unit for renewal five application page data that the application provides is shown It is intended to;
Fig. 7 is a kind of modular structure schematic diagram of embodiment of a kind of server that the application provides.
Embodiment
In order that those skilled in the art more fully understand the technical scheme in the application, it is real below in conjunction with the application The accompanying drawing in example is applied, the technical scheme in the embodiment of the present application is clearly and completely described, it is clear that described implementation Example only some embodiments of the present application, rather than whole embodiments.It is common based on the embodiment in the application, this area The every other embodiment that technical staff is obtained under the premise of creative work is not made, it should all belong to the application protection Scope.
Fig. 1 is a kind of a kind of herein described method flow diagram of embodiment of processing method for updating five application page data. Although this application provides such as following embodiments or method operating procedure shown in the drawings or apparatus structure, based on conventional or Operating procedure less after more or part merges, mould can be included in methods described or device without performing creative labour Module unit.Necessary causality is not present in logicality the step of or in structure, the execution sequences of these steps or device Modular structure is not limited to the embodiment of the present application or execution sequence shown in the drawings or modular structure.Described method or modular structure Device in practice or end product when applying, can enter according to embodiment or method shown in the drawings or modular structure Row order, which performs either parallel perform, (such as the environment of parallel processor or multiple threads, even includes distributed treatment Implementation environment).
A kind of a kind of specifically, as shown in figure 1, implementation of the processing method for renewal five application page data that the application provides In example, methods described can include:
S1:When triggering the five application page of access client, page data request message, the page number are sent to server The versions of data that the five application page is comprised at least according to request message identifies.
Client described in the embodiment of the present application can be including mobile phone etc. communication terminal, flat board, PDA, POS it is hand-held The mobile communication terminals such as equipment, vehicle-mounted man-machine, Intelligent worn device, the terminal device of PC, server etc. can also be included.When So, described server can also include the server of above-mentioned mobile communication terminal or transaction processing system.Described application The page can include the page being installed in the terminal applies in the client (APP), the merchandise display page for the APP that such as does shopping The application in face, the news APP top page, payment APP starts page etc..In some other embodiments, described application The page can also be the web page of browser.One embodiment of the application accesses mobile phone shopping APP with user and applied to implement Scene illustrates to the application embodiment.
In general, when user starts some application, in addition to the data of loading initial interface, generally also need to local cache one A little page datas, correctly to show page info and timely to respond user's operation.Such as when user clicks on mobile phone shopping During some page of APP, it can represent to trigger the five application page of access client, as user has browsed " everybody in the APP that does shopping Last layer " electrical equipment " page is returned to after the electricity " page, then triggering accesses " electrical equipment " five application page.Now, the shopping APP of client can To send page data request message MSG_Requ_1 of the five application page label as " electrical equipment " to server.In the embodiment of the present application In, the page data request message at least needs the current versions of data mark for including the five application page.In the present embodiment Described versions of data mark can be used for the unique identifier of edition data used in corresponding five application page, specifically Much information mode and combination can be used., can be with a kind of processing method for renewal five application page data that the application provides Identified using MD5 codes as the versions of data of five application page.
In specific example, during return button in user's click shopping APP.Client C shopping APP is sent out to server Send page data request the message MSG_Requ_1, the page data request message MSG_ that five application page label is " electrical equipment " The versions of data mark MD5_M1 of " electrical equipment " five application page is somebody's turn to do when including last access " electric " five application page in Requ_1.
In the present embodiment, when user triggers the five application page of access client, page data can be sent with server Request message, the versions of data that the page data request message comprises at least the five application page identify.Certainly, described page Face data request information can also include other data fields, as APP titles, APP ask page-tag, destination address, Client identification marking, user profile etc., specifically, the field information that should include is not herein in the application scenarios of reality Describe one by one.
S2:When the server receives the page data request message, obtained from the page versions data of storage Old version data corresponding with the versions of data mark in the page data request message.
In the embodiment of the present application, server-side can be previously stored with least one edition data of the page.Such as Old version can be set to cache in a kind of specific embodiment, multiple page versions numbers in a period of time of memory page According to.Then, when server receives the page data request message that client is sent, it can parse and obtain data therein Version identifier, the old version with the corresponding page of versions of data mark is then obtained from the page versions data of storage Data.Described page versions data can be a data acquisition system in specific implement, such as can for by multiple map (into To key-value objects) composition List (orderly data structure), each map key is a full release data Crucial ID.
It is specific real for example, server S receives page data request message MSG_Requ_1, therefrom extract " electrical equipment " Five application page versions of data mark:MD5_M1.Then server S inquiry can obtain data version from old version caching This mark is similarly " MD5_M1 " page versions data acquisition system A, as the old version data of five application page " electrical equipment ".
It should be noted that the page versions data of storage described herein can include being deposited by server-side Page versions data are stored up, as gone out to cache using server or data storage cell is come page versions data as described in storing.But this Shen It please be not excluded in other embodiments, can also be by other servers or special database, data storage cell and The memory page edition data such as tripartite's data storing platform, now server can be from other servers or special database Deng the page versions data for obtaining correlation.Certainly, if server do not inquire be stored with page data request message Versions of data mark corresponding to old version data, then can further be located using other default processing modes Reason, such as can direct updating the data using latest edition data as the page.
, can be from the page version of storage when the server receives the page data request message in the present embodiment Old version data corresponding with the versions of data mark in the page data request message are obtained in notebook data.
S3:The server obtains the latest edition data of the five application page, calculates the latest edition data and institute State the page differential data of old version data.
Server can also obtain the latest edition data of five application page, can specifically obtain the old version number According to the latest edition data are obtained before, corresponding five application page can also be obtained after the old version data are obtained Latest edition data, the application is not limited to this sequencing.Then the latest edition can be calculated in server The page differential data of data and the old version data, it specifically can such as include included in latest edition data go through The data not having in the data not having in history edition data, or old version data in included latest edition data, or Inconsistent data etc. in person's latest edition data and old version data.
Equally, it is that server S can be according to page number in implement scene as above-mentioned user accesses mobile phone shopping APP and applied The latest edition of " electrical equipment " five application page is obtained from old version caching according to the label " electrical equipment " of five application page in request message Data-page versions data acquisition system B.Then, page versions data acquisition system A and page versions data acquisition system B residual quantity number is calculated According to obtaining page differential data set C.By page differential data set C and newest page versions data acquisition system B version mark It is renewal of the page response message MSG_Resp_1 to know MD5_M 2 according to predetermined protocol encapsulation, and is sent to client.
S4:The server updates response message to the client back page, and the renewal response message includes The result of calculation of the page differential data.
User end to server have sent page data request message, and server-side obtains latest edition data and calculated Response message can be updated after page-out differential data to client back page.Can be with described renewal of the page response message Include the result of calculation of the page differential data, it is poor for sky, or the page that the result of calculation can include page differential data It is not the actual page differential data being calculated of space-time to measure data.Certainly, when the five application page has data renewal, then The page differential data can be generally set not as sky.Now server can be according to the agreement of agreement by the page residual quantity Data are encapsulated as renewal of the page response message, and are sent to corresponding client.
In the embodiment of the present application, if the page differential data is not sky, then it represents that the five application page in client needs Data are wanted to update, then the data of five application page can send change after client data renewal, now need to update client Versions of data mark after page data conversion.In a kind of embodiment, client can be according to receiving page differential data Identified according to versions of data of the default mode in client local update oneself, such as can the page differential data based on MD5 Update the versions of data mark of respective page.In another embodiment, latest edition number can also be generated by server-side According to versions of data identify, when page differential data is not space-time, set in the renewal of the page corresponding message for returning to client Put newest versions of data mark.So, the data directly sent when client can update page data using server Version identifier identifies to update local versions of data.Therefore, in a kind of embodiment of the application, when the page differential data Result of calculation be not space-time, then can also include the data version of the latest edition data in the renewal of the page response message This mark, so that the data of versions of data mark corresponding renewal five application page of the client in renewal of the page response message Version identifier.
In a kind of another embodiment of the processing method for renewal five application page data that the application provides, server can be with Set how instruction client handles the operation side of page differential data in the renewal of the page response message for return to client The field information of formula.So, client can be realized after renewal of the page response message is received according to the mode of operation of instruction Quick renewal local page data, improve response speed.Specifically, in another embodiment of herein described method, it is described Renewal of the page response message can be configured to, in addition to:
S401:Indicate page differential data in the data field of the mode of operation of five application page, described mode of operation bag Include the master for increasing page differential data in the former data of five application page, the five application page being updated based on page differential data Notebook data, delete at least one of page differential data for including data manipulation mode in the master notebook data of five application page.
Specifically, in for example a kind of embodiment application scenarios, page differential data is packaged by the agreement of agreement, assisted View form can be defined including as follows:
1)Type:Add/update/delete (increase/renewal/deletion);
2) the unique mark field of wall scroll data, if commodity id;
3) sort field of wall scroll data, if renewal time;
4) data model (mode of operation):If newly-increased add types, then store all fields of wall scroll data, if Update types are updated, then only return to the field for needing to update;If delete types, then the field of wall scroll data is deleted.
Certainly, specific data format and operation embodiment can carry out customized set according to practical application scene Put.
If page differential data is not sky, need to update the page data of client.One can now be generated newly Latest edition data version identifier.A kind of another kind of the processing method for renewal five application page data that the application provides is real Example is applied, the versions of data mark of the latest edition data is configured to,
S402:When the page differential data is not space-time, the versions of data is generated according to the latest edition data Mark.
If, can be after latest edition data be obtained, according to most specifically for example, the page differential data is not sky The MD5 code M2 of the latest edition data, the version identifier using MD5_M2 as latest edition data is calculated in new edition notebook data.
S5:After the client receives the renewal of the page response message, root is if it is determined that renewal of the page response disappears The result of calculation of page differential data in breath is not sky, then the page differential data in the renewal of the page response message The five application page is updated, and using the version identifier of the latest edition data as the data version after five application page renewal This mark updates the versions of data mark of the five application page accordingly.
, equally can be according to the agreement of agreement to the page after client receives the renewal of the page response message of server transmission Renewal response message is parsed.If the page differential data in renewal of the page response message is not sky, can be according to page Face differential data carries out the operation such as data renewal, refresh page.While by the version identifier in renewal of the page response message Store, versions of data mark during as next page data request., can be from page in such as above-mentioned embodiment application scenarios Face renewal response message MSG_Resp_1 extracts the page amount data acquisition system C and data version identifier MD5_M2 that goes on business, then client Hold the page data in " electrical equipment " page that can be upgraded in time according to poor page amount data acquisition system C.MD5_M2 can be delayed simultaneously Store away, used when being called so as to next " electrical equipment " page data renewal.
In a kind of another embodiment of herein described processing method for updating five application page data, if server calculates Obtained page differential data is sky, i.e., the data of the client application page are the data of latest edition, it is not necessary to it is updated, The now service still can return to response message to client, so that notice client need not carry out renewal of the page.Cause This, in a kind of another embodiment of the processing method for renewal five application page data that the application provides,
S401:If the result of calculation of the page differential data is sky, the renewal of the page response message is set to include Indicate the five application page of the client without the identification information updated the data.
Above described embodiment describes the embodiment identified using DM5 codes as versions of data.In other embodiment party In formula, the temporal information of page versions data can also be used to identify different page data versions as identification marking.Cause This, in a kind of herein described another embodiment for the processing method for updating five application page data, the versions of data mark It can include using at least one of following embodiments:
S101:MD5 codes to be generated according to page versions data identify as versions of data;
S102:Identified using the timestamp of page versions data generation as versions of data.
Such as during server one newest page versions data acquisition system of each generation, this latest edition can be calculated The MD5 codes of page versions data acquisition system, then the page versions data acquisition system of this latest edition and corresponding MD5 can be deposited Enter to caching.The page versions data acquisition system waiting that this latest edition can be recalled when receiving corresponding page data request information With corresponding MD5 codes.
In another implement scene of herein described method, the page versions data of the different editions of server storage can To be generated including client-based equipment identification marking.So, different numbers is identified based on client device identification marking According to version can further plus versions data identification reliability and security, some and terminal device information can also be met The versions of data identification of association requires, meets the actual scene demand of user.A kind of specifically, renewal application that the application provides In another embodiment of the processing method of page data, setting for client can also be included in the page data request message Standby identification marking;
Accordingly, the page versions data of the server storage can include, versions of data based on page mark and The indexing key words of equipment identification marking generation page versions data, store the page versions data and correspondingly of different editions Index key;And
Server obtains and the versions of data mark in the page data request message from the page versions data of storage Old version data can include corresponding to knowledge:
S201:Current version identifications and the generation inquiry of equipment identification marking in page data request message are crucial Word:
S202:Whether inquiry is stored with and the key word of the inquiry identical index key:
S203:If so, then using page versions data corresponding with the index key inquired as the history Edition data.
, can be according to MD5 codes, the equipment identification marking carried in page data request message in a kind of such as embodiment DeviceId and server current interface title are assembled into a key word of the inquiry key:MD5_deviceId_apiName. Then key word of the inquiry key is obtained into the preset old version data acquisition system A to match in old version caching.
The processing method of the renewal five application page data provided from above-mentioned the embodiment of the present application, is implemented using the application Example, during each accession page of user, client can be by the page data request message comprising page current version identifications together It is sent to server.Server-side can obtain the latest edition data of the page, so, when the page for receiving client transmission During the data request information of face, server can calculate the differential data of page latest edition data and current version data, judge Go out whether current page needs to update.If any differential data, then the page can be ensured only to client back page differential data Data upgrade in time, it may not be necessary to return to the edition data of full page, save user's floating resources.The reality that the application provides Mode is applied, in renewal of the page, can only need to return to the differential data of change, reduce the data of server and client side Treating capacity and amount of communication data, client and server renewal of the page response efficiency is improved, the terminal applies for improving user use Experience and page operational effect.
A kind of processing method of renewal five application page data described in basic above-described embodiment, the application provides one kind can be with Processing method for the renewal five application page data of server-side, it is possible to achieve ensure that page data upgrades in time, lifted Page operational effect, customer flow is saved, reduce server process load, improve server process renewal of the page response efficiency. Specifically, a kind of method flow of embodiment of processing method that Fig. 2 is a kind of renewal five application page data that the application provides shows It is intended to, as shown in Fig. 2 methods described can include:
S11:Receive client send page data request message, from the page versions data of storage obtain with it is described Old version data corresponding to versions of data mark in page data request message, the page data request message are at least wrapped Include the versions of data mark of the five application page of client;
S22:The latest edition data of the five application page are obtained, calculate the latest edition data and the old version The page differential data of data;
S33:Response message is updated to the client back page, it is poor that the renewal response message includes the page Measure the result of calculation of data.
The method that the embodiment of the present application provides, server-side can obtain the latest edition data of the page.So, clothes are worked as When business device receives the page data request message of client transmission, page latest edition data and current version number can be calculated According to differential data, judge whether current page needs to update., then can be only to client back page if any differential data Differential data, ensure that page data upgrades in time, it may not be necessary to return to the edition data of full page, save floating resources. The embodiment that the application provides, in renewal of the page, it can only need to return to the differential data of client change, drop The data processing amount and amount of communication data of low server and client side, server renewal of the page response efficiency is improved, improve user Terminal applies usage experience and page operational effect.
Certainly, if page differential data is calculated as sky, the data of client-side respective page can be represented It need not be updated.Therefore, in another embodiment of herein described method, if the calculating knot of the page differential data Fruit is sky, then can set the five application page that the renewal of the page response message can include indicating the client without renewal number According to identification information.Identification information " NULL " can be such as set, can parse in renewal of the page response message and add identification information When " NULL ", according to making an appointment, when client parsing renewal of the page response message obtains identification information " NULL ", it is known that Five application page can perform corresponding operation without updating the data.
In a kind of another embodiment of the processing method for renewal five application page data that the application provides, server can be with Set how instruction client handles the operation side of page differential data in the renewal of the page response message for return to client The field information of formula.So, client can be realized after renewal of the page response message is received according to the mode of operation of instruction Quick renewal local page data, improve response speed.Therefore, herein described a kind of processing side for updating five application page data In another embodiment of method, the renewal of the page response message can be configured to, in addition to:
Data field of the page differential data in the mode of operation of five application page is indicated, described mode of operation is included in should With increase page differential data, the original version number based on the page differential data renewal five application page in the former data of the page According to, delete at least one of page differential data for including data manipulation mode in the master notebook data of five application page.
In another embodiment of the application, if the page differential data is not sky, then it represents that answering in client Data are needed to update with the page, then the data of five application page can send change after client data renewal, now need more Versions of data mark after new customer terminal webpage data conversion.Therefore, herein described a kind of place for updating five application page data In another embodiment of reason method, the versions of data mark of the latest edition data is configured to, when the page residual quantity Data are not space-time, and generating the versions of data according to the latest edition data identifies.Certainly, further, the application institute In another embodiment for stating method, when the result of calculation of the page differential data is not space-time, then the renewal of the page rings The versions of data mark also including the latest edition data in message is answered, so that client is according in renewal of the page response message The corresponding renewal five application page of versions of data mark versions of data mark
In a kind of another embodiment of herein described processing method for updating five application page data, the versions of data Mark is included using at least one of following embodiments:
MD5 codes to be generated according to page versions data identify as versions of data;
Identified using the timestamp of page versions data generation as versions of data.
In another implement scene of herein described method, the page versions data of the different editions of server storage can To be generated including client-based equipment identification marking.So, different numbers is identified based on client device identification marking According to version can further plus versions data identification reliability and security, some and terminal device information can also be met The versions of data identification of association requires, meets the actual scene demand of user.A kind of specifically, herein described renewal applications pages In another embodiment of the processing method of face data, also the equipment including client identifies in the page data request message Mark;
Accordingly, the page versions data of the storage include, and versions of data mark and the equipment based on the page are known The indexing key words of page versions data Biao Shi not be generated, page versions data and the corresponding index for storing different editions are crucial Word;And
Obtain in the page versions data from storage and identified with the versions of data in the page data request message Corresponding old version data include:
Current version identifications and equipment identification marking generation key word of the inquiry in page data request message:
Whether inquiry is stored with and the key word of the inquiry identical index key:
If so, then using page versions data corresponding with the index key inquired as the old version number According to.
It is above-mentioned that the specific versions of data mark of each embodiment in the methods described of server-side can be applied to use The data field that is included of embodiment, page data request message and renewal of the page response message and processing method etc., Previous embodiment associated description specifically is referred to, does not do repeating one by one herein.
The processing method for the renewal five application page data that can apply to server-side that the embodiment of the present application provides, makes The latest edition data of the page can be obtained by obtaining server-side.So, when server receives the page number of client transmission During according to request message, the differential data of page latest edition data and current version data can be calculated, judges current page Whether need to update.If any differential data, then it can ensure page data in time more only to client back page differential data Newly, it may not be necessary to return to the edition data of full page, save floating resources.The embodiment that the application provides, in the page During renewal, it can only need to return to the differential data of client change, reduce the data processing of server and client side Amount and amount of communication data, server renewal of the page response efficiency is improved, improve the terminal applies usage experience and page fortune of user Seek effect.
A kind of processing method of renewal five application page data described in basic above-described embodiment, the application provides one kind can be with Processing method for the renewal five application page data of client-side so that during each accession page of user, client can be with Page data request message comprising page current version identifications is together sent to server.Server-side receives client Hold during the page data request message sent to calculate the differential data of page latest edition data and current version data, judge Go out whether current page needs to update., then can be only to client back page differential data if any differential data.So, it is objective Family end can only handle a small amount of page differential data, substantially reduce client when five application page data need renewal Data processing amount, save customer flow, improve customer terminal webpage renewal response efficiency, the terminal applies for improving user use body Test and page operational effect.Specifically, Fig. 3 is a kind of processing method another kind for renewal five application page data that the application provides The method flow schematic diagram of embodiment, as shown in figure 3, methods described can include:
S10:When triggering accesses five application page, page data request message, the page data request are sent to server The versions of data that message comprises at least the five application page identifies;
S20:The renewal of the page response message that the reception server is sent, and if it is determined that in the renewal of the page response message The result of calculation of page differential data be not sky, then the five application page is updated according to the page differential data, and accordingly The renewal five application page versions of data mark.
Certainly, the related embodiment description interacted with reference to foregoing client with server info, herein described one kind is more It is described that the application is updated according to the page differential data in another embodiment of the processing method of new opplication page data The page, it can include:
The data field of the page differential data and instruction mode of operation in the renewal of the page response message is read, according to The mode of operation performs the data manipulation of the page differential data in the former data of five application page.
So, client can be realized quick after renewal of the page response message is received according to the mode of operation of instruction Local page data are updated, improve response speed.
In a kind of another embodiment of herein described processing method for updating five application page data, if server calculates Obtained page differential data is sky, i.e., the data of the client application page are the data of latest edition, it is not necessary to it is updated, The now service still can return to response message to client, so that notice client need not carry out renewal of the page.Cause This, the application is also provided in a kind of another embodiment for the processing method for updating five application page data, specifically, working as the page Face renewal response message includes the five application page without the identification information updated the data, does not perform the data of the page application more New operation.
The application provides a kind of processing method for the renewal five application page data that can be used for client-side so that user During each accession page, the page data request message comprising page current version identifications can be together sent to clothes by client Business device.Server-side receive client transmission page data request message when with calculate page latest edition data with work as The differential data of preceding edition data, judges whether current page needs to update., then can be only to client if any differential data Back page differential data.So, client can only handle a small amount of page residual quantity when five application page data need renewal Data, the data processing amount of client is substantially reduced, saves customer flow, improve customer terminal webpage renewal response efficiency, Improve the terminal applies usage experience and page operational effect of user.
Based on the processing method or device of a kind of renewal five application page data described above, the application also provides one kind can For the processing unit of the renewal five application page data of server-side, it is possible to achieve server is to customer terminal webpage data Upgrade in time processing, lifts page operational effect, saves customer flow, reduces server process load, improves server process The response efficiency of renewal of the page.Specifically, Fig. 4 is a kind of processing unit one kind for renewal five application page data that the application provides The modular structure schematic diagram of embodiment, as shown in figure 4, described device can include:
Edition data acquisition module 101, it can be used for receiving the page data request message that client is sent, from storage Old version data corresponding with the versions of data mark in the page data request message, institute are obtained in page versions data State versions of data mark of the page data request message including at least the five application page of client;And for obtaining the application The latest edition data of the page
Differential data computing module 102, it can be used for calculating the latest edition data and the old version data Page differential data;
Response processing module 103 is updated, can be used for updating response message, the renewal to the client back page Response message includes the result of calculation of the page differential data.
In a kind of another embodiment of herein described processing unit for updating five application page data, if be calculated Page differential data is sky, i.e., the data of the client application page are the data of latest edition, it is not necessary to are updated, now institute The service of stating still can return to response message to client, so that notice client need not carry out renewal of the page.Therefore, this Shen In a kind of processing unit another kind embodiment for the renewal five application page data that please be provide, the renewal response processing module 103 It can be also used for:
It is space-time in the result of calculation of the page differential data, being sent to client includes answering for the instruction client With the page without the renewal of the page response message updated the data.
Fig. 5 is a kind of a kind of data format schematic diagram for embodiment of renewal of the page response message that the application provides.Such as Fig. 5 Shown, in a kind of another embodiment of the processing unit for renewal five application page data that the application provides, server can be Return to the mode of operation for setting instruction client how to handle page differential data in the renewal of the page response message of client Field information.So, client can be realized fast after renewal of the page response message is received according to the mode of operation of instruction Speed renewal local page data, improve response speed.Specifically, as shown in figure 5, in another embodiment of described device, institute Stating renewal of the page response message can be configured to, including:
Data field of the page differential data in the mode of operation of five application page is indicated, described mode of operation is included in should With increase page differential data, the original version number based on the page differential data renewal five application page in the former data of the page According to, delete at least one of page differential data for including data manipulation mode in the master notebook data of five application page.
In another embodiment of the application, if the page differential data is not sky, then it represents that answering in client Data are needed to update with the page, then the data of five application page can send change after client data renewal, now need more Versions of data mark after new customer terminal webpage data conversion.Therefore, a kind of processing unit for updating five application page data Another embodiment in, when the result of calculation of the page differential data is not space-time, then the renewal of the page response message In also including the latest edition data versions of data identify so that data of the client in renewal of the page response message Version identifier updates the versions of data mark of five application page accordingly.
In another implement scene of herein described device, the page versions data of the different editions of server storage can To be generated including client-based equipment identification marking.So, different numbers is identified based on client device identification marking According to version can further plus versions data identification reliability and security, some and terminal device information can also be met The versions of data identification of association requires, meets the actual scene demand of user.A kind of specifically, renewal five application page data Processing unit another embodiment in, versions of data mark can be included using at least one of following embodiment party Formula:
MD5 codes to be generated according to page versions data identify as versions of data;
Identified using the timestamp of page versions data generation as versions of data.
In a kind of a kind of embodiment of renewal of the page response message that the application provides, another embodiment of described device In, the equipment identification marking of client can also be included in the page data request message;
Accordingly, the page versions data of the storage include, and versions of data mark and the equipment based on the page are known The indexing key words of page versions data Biao Shi not be generated, page versions data and the corresponding index for storing different editions are crucial Word;And
The edition data acquisition module 101 obtains from the page versions data of storage to disappear with the page data request Old version data corresponding to versions of data mark in breath can include:
Current version identifications and equipment identification marking generation key word of the inquiry in page data request message:
Whether inquiry is stored with and the key word of the inquiry identical index key:
If so, then obtain described in page versions data conduct corresponding with the key word of the inquiry identical index key Old version data.
The processing unit for the renewal five application page data that can apply to server-side that the embodiment of the present application provides, makes The latest edition data of the page can be obtained by obtaining server-side.So, when server receives the page number of client transmission During according to request message, the differential data of page latest edition data and current version data can be calculated, judges current page Whether need to update.If any differential data, then it can ensure page data in time more only to client back page differential data Newly, it may not be necessary to return to the edition data of full page, save floating resources.The embodiment that the application provides, in the page During renewal, it can only need to return to the differential data of client change, reduce the data processing of server and client side Amount and amount of communication data, server renewal of the page response efficiency is improved, improve the terminal applies usage experience and page fortune of user Seek effect.
A kind of processing method of renewal five application page data described in basic above-described embodiment, the application provides one kind can be with Processing unit for the renewal five application page data of client-side so that during each accession page of user, client can be with Page data request message comprising page current version identifications is together sent to server.Server-side receives client Hold during the page data request message sent to calculate the differential data of page latest edition data and current version data, judge Go out whether current page needs to update., then can be only to client back page differential data if any differential data.So, it is objective Family end can only handle a small amount of page differential data, substantially reduce client when five application page data need renewal Data processing amount, save customer flow, improve customer terminal webpage renewal response efficiency, the terminal applies for improving user use body Test and page operational effect.Specifically, Fig. 6 is a kind of a kind of reality of processing unit for renewal five application page data that the application provides The modular structure schematic diagram of example is applied, as shown in fig. 6, described device can include:
Page data request module 201, when can be used for triggering access five application page, sending page data to server please Message is sought, the versions of data that the page data request message comprises at least the five application page identifies;
Page data update module 202, it can be used for the renewal of the page response message of the reception server transmission, and if really The result of calculation of page differential data in the fixed renewal of the page response message is not sky, then according to the page differential data The five application page is updated, and updates the versions of data mark of the five application page accordingly.
In another embodiment of the application, server can be set in the renewal of the page response message for returning to client Put the field information how instruction client handles the mode of operation of page differential data.So, client is receiving the page After updating response message, quick renewal local page data can be realized according to the mode of operation of instruction, improve response speed.Tool Body, in a kind of a kind of implementation of processing unit for renewal five application page data that the application provides, the page data updates mould Page differential data of the block 202 in the renewal of the page response message, which updates the five application page, to be included:
The data field of the page differential data and instruction mode of operation in the renewal of the page response message is read, according to The mode of operation performs the data manipulation of the page differential data in the former data of five application page.
In a kind of a kind of implementation of the processing unit for renewal five application page data that the application provides, the page data renewal Page differential data of the module 202 in the renewal of the page response message, which updates the five application page, to be included:
If the renewal of the page response message includes the five application page without the identification information updated the data, institute is not performed State the data renewal operation of page application.
The application provides a kind of processing unit for the renewal five application page data that can be used for client-side, every in user During secondary accession page, the page data request message comprising page current version identifications can be together sent to service by client Device.When server-side receives the page data request message of client transmission with calculate page latest edition data with it is current The differential data of edition data, judges whether current page needs to update.If any differential data, then only can be returned to client Return page differential data.So, client can only handle a small amount of page residual quantity number when five application page data need renewal According to substantially reducing the data processing amount of client, save customer flow, improve customer terminal webpage renewal response efficiency, carry The terminal applies usage experience and page operational effect of high user.
The processing of renewal five application page data described in above-described embodiment or device can be used for the clothes of renewal of the page processing It is engaged in device, realizes client when page data updates, can only needs to return to the differential data of client change, drop The data processing amount and amount of communication data of low server and client side, server renewal of the page response efficiency is improved, improve user Terminal applies usage experience and page operational effect.Specifically, in a kind of embodiment for the server that the application provides, The communication unit with network interface can be included and perform the processing unit of computer program instructions, wherein,
It communication unit, can be used for receiving the page data request message that client is sent, and returned to the client Return renewal of the page response message;
Processing unit, it is configured to, can be used for obtaining from the page versions data of storage and asked with the page data Old version data corresponding to the versions of data mark in message are sought, and for obtaining the latest edition number of the five application page According to;It can be also used for calculating the page differential data of the latest edition data and the old version data;Can also to institute Client back page renewal response message is stated, the renewal response message includes the calculating knot of the page differential data Fruit.
Fig. 7 is a kind of modular structure schematic diagram of embodiment of a kind of server that the application provides.The embodiment of the present application carries The server of confession, when server receives the page data request message of client transmission, page latest edition can be calculated The differential data of data and current version data, judges whether current page needs to update., then can be only if any differential data To client back page differential data, ensure that page data upgrades in time, it may not be necessary to return to the version number of full page According to saving floating resources.The embodiment that the application provides, in renewal of the page, it can only need to return to client change Differential data, reduce the data processing amount and amount of communication data of server and client side, improve server renewal of the page Response efficiency, improve the terminal applies usage experience and page operational effect of user.
The processing of renewal five application page data described in above-described embodiment or device can be used in client, in client When five application page data need renewal, a small amount of page differential data can be only handled, substantially reduces the data of client Treating capacity, customer flow is saved, improve customer terminal webpage renewal response efficiency, improve the terminal applies usage experience and page of user Face operational effect.Specifically, in a kind of embodiment for the client that the application provides, can include with network interface Request of data unit and the renewal of the page unit for performing computer program instructions:
Request of data unit, when can be used for triggering access five application page, page data request message is sent to server, The versions of data that the page data request message comprises at least the five application page identifies;
Renewal of the page unit, is configured to, and can be used for the renewal of the page response message of the reception server transmission, Yi Jiruo The result of calculation for determining the page differential data in the renewal of the page response message is not sky, then according to the page residual quantity number According to the renewal five application page, and the versions of data mark of the five application page is updated accordingly.
The client for utilizing the embodiment of the present application to provide, it is possible to achieve in each accession page of user, client can be with Page data request message comprising page current version identifications is together sent to server.Then the reception server returns Renewal of the page response message, if the total differential data of renewal of the page message is not sky, then it represents that need to update page data.But Client can only handle a small amount of page differential data, substantially reduce client when five application page data need renewal The data processing amount at end, customer flow is saved, improve customer terminal webpage renewal response efficiency, the terminal applies for improving user use Experience and page operational effect.
Although the species of the end product of client, page data request message and renewal of the page are mentioned in teachings herein The information content and data format of response message, the calculation for calculating page differential data, the place of different page differential datas The description of the data definition of reason mode or the like, classification, calculating, storage, information exchange/processing etc., still, the application not office It is limited to meet the performance described by industry communication standard, data processing standards or embodiment.Some professional standards Or it can also be realized using embodiment amended slightly in self-defined mode or the practice processes of embodiment description above-mentioned The implementation result that embodiment is identical, is anticipated that after equivalent or close or deformation.Determine using the data after these modifications or deformation The embodiment of the acquisitions such as justice, calculating, storage, interactive mode, still may belong within the scope of the optional embodiment of the application.
Although this application provides the method operating procedure as described in embodiment or flow chart, based on conventional or noninvasive The means for the property made can include more or less operating procedures.The step of being enumerated in embodiment order is only numerous steps A kind of mode in execution sequence, does not represent unique execution sequence., can be with when device in practice or end product perform According to embodiment, either method shown in the drawings order performs or parallel performs (such as parallel processor or multiple threads Environment, even distributed data processing environment).Term " comprising ", "comprising" or its any other variant are intended to Nonexcludability includes, so that process, method, product or equipment including a series of elements not only will including those Element, but also the other element including being not expressly set out, or it is this process, method, product or equipment also to include Intrinsic key element.In the absence of more restrictions, be not precluded from the process including the key element, method, product or Other identical or equivalent elements in person's equipment also be present.
Unit, device or module that above-described embodiment illustrates etc., it can specifically be realized by computer chip or entity, or Realized by the product with certain function.For convenience of description, various modules point are divided into function when describing apparatus above Do not describe.Certainly, when implementing the application can the function of each module in same or multiple softwares and/or hardware it is real It is existing, the module for realizing same function can also be realized by the combination of multiple submodule or subelement etc..Dress described above Put that embodiment is only schematical, for example, the division of the unit, only a kind of division of logic function, when actually realizing There can be other dividing mode, such as multiple units or component can combine or be desirably integrated into another system, or one A little features can be ignored, or not perform.Another, the communication connection of the method or apparatus involved by embodiment can be passed through The INDIRECT COUPLING of some interfaces, device or unit or communication connection, can be electrical, mechanical or other forms.
It is also known in the art that in addition to realizing controller in a manner of pure computer readable program code, it is complete Entirely can by by method and step carry out programming in logic come controller with gate, switch, application specific integrated circuit, may be programmed The form of logic controller and embedded microcontroller etc. realizes identical function.Therefore this controller is considered one kind Hardware component, and what its inside was included is used to realize that the device of various functions can also to be considered as the structure in hardware component.Or Person even, not only can be able to will be the software module of implementation method but also can be hardware for realizing that the device of various functions is considered as Structure in part.
The application can be described in the general context of computer executable instructions, such as program Module.Usually, program module includes performing particular task or realizes routine, program, object, the group of particular abstract data type Part, data structure, class etc..The application can also be put into practice in a distributed computing environment, in these DCEs, By performing task by communication network and connected remote processing devices.In a distributed computing environment, program module can With in the local and remote computer-readable storage medium including storage device.
As seen through the above description of the embodiments, those skilled in the art can be understood that the application can Realized by the mode of software plus required general hardware platform.Based on such understanding, the technical scheme essence of the application On the part that is contributed in other words to prior art can be embodied in the form of software product, the computer software product It can be stored in storage medium, such as ROM/RAM, magnetic disc, CD, including some instructions are causing a computer equipment (can be personal computer, mobile terminal, server, either network equipment etc.) perform each embodiment of the application or implementation Method described in some parts of example.
Each embodiment in this specification is described by the way of progressive, same or analogous portion between each embodiment Divide mutually referring to what each embodiment stressed is the difference with other embodiment.The application can be used for crowd In more general or special purpose computing system environments or configuration.Such as:Personal computer, server computer, handheld device or Portable set, laptop device, multicomputer system, the system based on microprocessor, set top box, programmable electronics are set Standby, network PC, minicom, the DCE etc. of mainframe computer including any of the above system or equipment.
Although depicting the application by embodiment, it will be appreciated by the skilled addressee that the application have it is many deformation and Change is without departing from spirit herein, it is desirable to which appended claim includes these deformations and changed without departing from the application's Spirit.

Claims (17)

1. a kind of processing method for updating five application page data, it is characterised in that methods described includes:
When triggering the five application page of access client, page data request message, the page data request are sent to server The versions of data that message comprises at least the five application page identifies;
When the server receives the page data request message, obtained and the page from the page versions data of storage Old version data corresponding to versions of data mark in the data request information of face;
The server obtains the latest edition data of the five application page, calculates the latest edition data and the history version The page differential data of notebook data;
The server updates response message to the client back page, and the renewal response message includes the page The result of calculation of differential data;
After the client receives the renewal of the page response message, however, it is determined that the page in the renewal of the page response message The result of calculation of differential data is not sky, then updates the five application page according to the page differential data, and update accordingly The versions of data mark of the five application page.
2. a kind of processing method for updating five application page data, it is characterised in that methods described includes:
The page data request message that client is sent is received, is obtained and the page data from the page versions data of storage Old version data corresponding to versions of data mark in request message, the page data request message comprise at least client Five application page versions of data mark;
The latest edition data of the five application page are obtained, calculate the page of the latest edition data and the old version data Face differential data;
Response message is updated to the client back page, the renewal response message includes the page differential data Result of calculation.
3. a kind of processing method for updating five application page data as claimed in claim 2, it is characterised in that if the page is poor The result of calculation for measuring data is sky, then set the renewal of the page response message include indicating the five application page of the client without The identification information updated the data.
A kind of 4. processing method for updating five application page data as claimed in claim 2, it is characterised in that the renewal of the page Response message is configured to, in addition to:
Data field of the page differential data in the mode of operation of five application page is indicated, described mode of operation is included in applications pages Increase page differential data in the former data in face, the master notebook data of the five application page is updated based on page differential data, is deleted Except at least one of the page differential data included in the master notebook data of five application page data manipulation mode.
5. a kind of processing method for updating five application page data as claimed in claim 2, it is characterised in that when the page is poor The result of calculation for measuring data is not space-time, then also includes the data of the latest edition data in the renewal of the page response message Version identifier, so that the number of versions of data mark corresponding renewal five application page of the client in renewal of the page response message According to version identifier.
A kind of 6. processing method for updating five application page data as claimed in claim 2, it is characterised in that the versions of data Mark is included using at least one of following embodiments:
MD5 codes to be generated according to page versions data identify as versions of data;
Identified using the timestamp of page versions data generation as versions of data.
A kind of 7. processing method of renewal five application page data as described in claim 2 or 6, it is characterised in that the page Also include the equipment identification marking of client in data request information;
Accordingly, the page versions data of the storage include, versions of data mark and equipment identification mark based on the page Know the indexing key words of generation page versions data, store the page versions data of different editions and corresponding index key; And
Obtained in the page versions data from storage corresponding with the versions of data mark in the page data request message Old version data, including:
Current version identifications and equipment identification marking generation key word of the inquiry in page data request message:
Whether inquiry is stored with and the key word of the inquiry identical index key:
If so, then using page versions data corresponding with the index key inquired as the old version data.
8. a kind of processing method for updating five application page data, it is characterised in that methods described includes:
When triggering accesses five application page, page data request message is sent to server, the page data request message is at least Versions of data mark including the five application page;
The renewal of the page response message that the reception server is sent, and if it is determined that the page in the renewal of the page response message is poor The result of calculation for measuring data is not sky, then updates the five application page according to the page differential data, and update institute accordingly State the versions of data mark of five application page.
9. a kind of processing method for updating five application page data as claimed in claim 8, it is characterised in that described in the basis Page differential data updates the five application page, including:
The data field of the page differential data and instruction mode of operation in the renewal of the page response message is read, according to described Mode of operation performs the data manipulation of the page differential data in the former data of five application page.
10. a kind of processing method for updating five application page data as claimed in claim 8, it is characterised in that when the page When updating response message includes instruction five application page without the identification information updated the data, the data of the page application are not performed more New operation.
11. a kind of processing unit for updating five application page data, it is characterised in that described device includes:
Edition data acquisition module, for receiving the page data request message of client transmission, from the page versions number of storage Old version data corresponding with the versions of data mark in the page data request message, the page data are obtained according to middle Request message comprises at least the versions of data mark of the five application page of client;And for obtaining the newest of the five application page Edition data;
Differential data computing module, for calculating the page residual quantity number of the latest edition data and the old version data According to;
Response processing module is updated, it is described to update in response message for updating response message to the client back page Include the result of calculation of the page differential data.
12. a kind of processing unit for updating five application page data as claimed in claim 11, it is characterised in that when the page The result of calculation of differential data is not space-time, then also includes the number of the latest edition data in the renewal of the page response message According to version identifier, so that versions of data mark of the client in renewal of the page response message updates five application page accordingly Versions of data identifies.
A kind of 13. processing unit for updating five application page data as claimed in claim 11, it is characterised in that the data version This mark is included using at least one of following embodiments:
MD5 codes to be generated according to page versions data identify as versions of data;
Identified using the timestamp of page versions data generation as versions of data.
A kind of 14. processing unit of renewal five application page data as described in claim 11 or 13, it is characterised in that the page Also include the equipment identification marking of client in the data request information of face;
Accordingly, the page versions data of the storage include, versions of data mark and equipment identification mark based on the page Know the indexing key words of generation page versions data, store the page versions data of different editions and corresponding index key; And
The edition data acquisition module obtained from the page versions data of storage with the page data request message in Old version data corresponding to versions of data mark include:
Current version identifications and equipment identification marking generation key word of the inquiry in page data request message:
Whether inquiry is stored with and the key word of the inquiry identical index key:
If so, then using page versions data corresponding with the index key inquired as the old version data.
15. a kind of processing unit for updating five application page data, it is characterised in that described device includes:
Page data request module, when accessing five application page for triggering, page data request message is sent to server, it is described The versions of data that page data request message comprises at least the five application page identifies;
Page data update module, the renewal of the page response message sent for the reception server, and if it is determined that the page The result of calculation for updating the page differential data in response message is not sky, then should according to page differential data renewal With the page, and the versions of data mark of the five application page is updated accordingly.
16. a kind of server, it is characterised in that including the communication unit with network interface and perform computer program instructions Processing unit,
The communication unit, page is returned to for receiving the page data request message of client transmission, and to the client Face updates response message;
The processing unit, is configured to, and disappears for being obtained from the page versions data of storage with the page data request Old version data corresponding to versions of data mark in breath, and for obtaining the latest edition data of the five application page; It is additionally operable to calculate the page differential data of the latest edition data and the old version data;It is additionally operable to the client Back page updates response message, and the renewal response message includes the result of calculation of the page differential data.
17. a kind of client, it is characterised in that refer to including the request of data unit with network interface and execution computer program The renewal of the page unit of order,
Request of data unit, when accessing five application page for triggering, page data request message, the page are sent to server The versions of data that data request information comprises at least the five application page identifies;
Renewal of the page unit, is configured to, the renewal of the page response message sent for the reception server, and if it is determined that described The result of calculation of page differential data in renewal of the page response message is not sky, then updates institute according to the page differential data Five application page is stated, and updates the versions of data mark of the five application page accordingly.
CN201610862239.9A 2016-09-28 2016-09-28 Update processing method, device, server and the client of five application page data Pending CN107872500A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610862239.9A CN107872500A (en) 2016-09-28 2016-09-28 Update processing method, device, server and the client of five application page data

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610862239.9A CN107872500A (en) 2016-09-28 2016-09-28 Update processing method, device, server and the client of five application page data

Publications (1)

Publication Number Publication Date
CN107872500A true CN107872500A (en) 2018-04-03

Family

ID=61761915

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610862239.9A Pending CN107872500A (en) 2016-09-28 2016-09-28 Update processing method, device, server and the client of five application page data

Country Status (1)

Country Link
CN (1) CN107872500A (en)

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109274760A (en) * 2018-10-19 2019-01-25 西安瑜乐文化科技股份有限公司 A kind of cold and hot data resolution method of Mobile Development
CN109324814A (en) * 2018-08-27 2019-02-12 中至数据集团股份有限公司 Game renewal method, apparatus, mobile terminal and storage medium
CN110069303A (en) * 2019-03-20 2019-07-30 厦门网宿有限公司 A kind of screen layout's update method and server, electronic equipment and storage medium
CN110750746A (en) * 2019-10-16 2020-02-04 支付宝(杭州)信息技术有限公司 Data receiving and pushing method, device, equipment and readable medium
CN111262726A (en) * 2020-01-08 2020-06-09 Oppo广东移动通信有限公司 Configuration information updating method and device and computer readable storage medium
CN111444448A (en) * 2020-02-27 2020-07-24 北京齐尔布莱特科技有限公司 Data processing method, server and system
CN111541758A (en) * 2020-04-17 2020-08-14 支付宝(杭州)信息技术有限公司 Page updating method and device
CN111953715A (en) * 2019-05-14 2020-11-17 天津五八到家科技有限公司 Service data processing system, method and device
WO2021135598A1 (en) * 2020-05-29 2021-07-08 平安科技(深圳)有限公司 Method, apparatus, and computer device for updating front-end page on basis of index and value

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104866340A (en) * 2015-04-29 2015-08-26 小米科技有限责任公司 Method and apparatus for updating terminal device software
CN105404622A (en) * 2014-08-20 2016-03-16 阿里巴巴集团控股有限公司 Client page display method, apparatus and system
CN105740016A (en) * 2016-01-28 2016-07-06 腾讯科技(深圳)有限公司 Increment issuance method and device, upgrade method and device of application program
CN105847430A (en) * 2016-05-20 2016-08-10 北京小米移动软件有限公司 Hybrid application page data access method and device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105404622A (en) * 2014-08-20 2016-03-16 阿里巴巴集团控股有限公司 Client page display method, apparatus and system
CN104866340A (en) * 2015-04-29 2015-08-26 小米科技有限责任公司 Method and apparatus for updating terminal device software
CN105740016A (en) * 2016-01-28 2016-07-06 腾讯科技(深圳)有限公司 Increment issuance method and device, upgrade method and device of application program
CN105847430A (en) * 2016-05-20 2016-08-10 北京小米移动软件有限公司 Hybrid application page data access method and device

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109324814A (en) * 2018-08-27 2019-02-12 中至数据集团股份有限公司 Game renewal method, apparatus, mobile terminal and storage medium
CN109324814B (en) * 2018-08-27 2022-02-01 中至数据集团股份有限公司 Game updating method and device, mobile terminal and storage medium
CN109274760A (en) * 2018-10-19 2019-01-25 西安瑜乐文化科技股份有限公司 A kind of cold and hot data resolution method of Mobile Development
CN110069303A (en) * 2019-03-20 2019-07-30 厦门网宿有限公司 A kind of screen layout's update method and server, electronic equipment and storage medium
CN111953715A (en) * 2019-05-14 2020-11-17 天津五八到家科技有限公司 Service data processing system, method and device
CN111953715B (en) * 2019-05-14 2023-05-26 天津五八到家科技有限公司 Service data processing system, method and device
CN110750746A (en) * 2019-10-16 2020-02-04 支付宝(杭州)信息技术有限公司 Data receiving and pushing method, device, equipment and readable medium
CN111262726A (en) * 2020-01-08 2020-06-09 Oppo广东移动通信有限公司 Configuration information updating method and device and computer readable storage medium
CN111444448A (en) * 2020-02-27 2020-07-24 北京齐尔布莱特科技有限公司 Data processing method, server and system
CN111444448B (en) * 2020-02-27 2023-11-07 北京齐尔布莱特科技有限公司 Data processing method, server and system
CN111541758A (en) * 2020-04-17 2020-08-14 支付宝(杭州)信息技术有限公司 Page updating method and device
WO2021135598A1 (en) * 2020-05-29 2021-07-08 平安科技(深圳)有限公司 Method, apparatus, and computer device for updating front-end page on basis of index and value

Similar Documents

Publication Publication Date Title
CN107872500A (en) Update processing method, device, server and the client of five application page data
CN104881454A (en) Updating method and system of parameter
CN107133233B (en) Processing method and device for configuration data query
CN107341266A (en) The method and apparatus that a kind of display information obtains
JP7369229B2 (en) How to change the skin of the mini program page, devices and electronic devices
CN114064925A (en) Knowledge graph construction method, data query method, device, equipment and medium
CN103064851B (en) A kind of web site contents information query method and device
CN115860877A (en) Product marketing method, device, equipment and medium
CN113407587B (en) Data processing method, device and equipment for online analysis processing engine
CN115796914A (en) Operation data analysis method, system, computer device and storage medium
CN106330556B (en) A kind of method and apparatus calling related information for generating service module
CN110858209A (en) Business object access/release method, device, system and electronic equipment
CN114371969A (en) Page performance testing method and device, electronic equipment and storage medium
CN113051510A (en) Interactive processing method and device, front-end equipment, back-end equipment and storage medium
CN111506340B (en) Business rule information processing method, device and system
CN113256240A (en) Message processing method and device and server
CN112214497A (en) Label processing method and device and computer system
CN106844502B (en) Data consistency processing method and equipment
CN114860557B (en) User behavior information generation method, device, equipment and readable storage medium
CN113434432B (en) Performance test method, device, equipment and medium for recommendation platform
CN114205639B (en) Video processing method and device, electronic equipment and storage medium
CN113609145B (en) Database processing method, device, electronic equipment, storage medium and product
CN117391821B (en) E-commerce platform information data standardization processing method and system
CN114745435B (en) Resource display method and device, electronic equipment and storage medium
CN107181796A (en) Server info acquisition methods and device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
REG Reference to a national code

Ref country code: HK

Ref legal event code: DE

Ref document number: 1253515

Country of ref document: HK

RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20180403