CN104331306B - Content updating method, equipment and system - Google Patents

Content updating method, equipment and system Download PDF

Info

Publication number
CN104331306B
CN104331306B CN201410542597.2A CN201410542597A CN104331306B CN 104331306 B CN104331306 B CN 104331306B CN 201410542597 A CN201410542597 A CN 201410542597A CN 104331306 B CN104331306 B CN 104331306B
Authority
CN
China
Prior art keywords
data
request
unique mark
webserver
computing device
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.)
Active
Application number
CN201410542597.2A
Other languages
Chinese (zh)
Other versions
CN104331306A (en
Inventor
邓劲松
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
BEIJING QIERBULAITE TECHNOLOGY Co Ltd
Original Assignee
BEIJING QIERBULAITE TECHNOLOGY Co 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 BEIJING QIERBULAITE TECHNOLOGY Co Ltd filed Critical BEIJING QIERBULAITE TECHNOLOGY Co Ltd
Priority to CN201410542597.2A priority Critical patent/CN104331306B/en
Publication of CN104331306A publication Critical patent/CN104331306A/en
Application granted granted Critical
Publication of CN104331306B publication Critical patent/CN104331306B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The invention discloses content updating equipment. The content updating equipment comprises an identifier generation unit, an identifier storage unit, a data request unit and a response processing unit, wherein the identifier generation unit is used for generating a unique identifier for a data request; the identifier storage unit is used for storing the latest unique identifier for the data request generated by the identifier generation unit; the data request unit is used for notifying the identifier generation unit to generate the unique identifier for the data request according the trigger of a target object in a web page, adding the unique identifier into the data request and transmitting the data request to a network server; the response processing unit is used for judging whether the unique identifier carried by the data request is the same as the unique identifier stored in the identifier storage unit or not when a data response transmitted by the network server is received; if so, updating the content of the web page according to the data response, and otherwise, not updating the content of the web page. The invention further discloses a corresponding content updating method and a content updating system comprising the content updating equipment.

Description

A kind of content updating method, equipment and system
Technical field
The present invention relates to computer and Internet technical field, and in particular to a kind of content updating method, equipment and be System.
Background technology
Ajax is a kind of technology for creating quick dynamic web page, and browser on backstage and server by carrying out on a small quantity Data exchange, can make webpage realize asynchronous refresh.This means can be in the case where whole webpage not be reloaded, to net Certain part of page is updated.With traditional webpage in more new content, need heavily loaded full page to compare, can significantly improve The presentation speed of webpage.And, by Ajax, browser without waiting for server response, but in waiting for server response Shi Zhihang other scripts, are processed response again after responding ready.
But the using in a large number on the page along with Ajax, because the error load for causing response data is submitted in the repetition of the page to Consumer's Experience is had a strong impact on.Be mainly manifested in:User is submitted to after data request operation, before the result of the request is returned more Change some parameters and submit request of data to again, now, if for the first time the result of request is not also returned, and ask for the second time As a result returned, then the page can first process the data that second request is returned, the Local hydrodynamic unit page, then, for the first time The result of request is returned, and the page may proceed to process the data of current return, again refresh page.Problem is occurred in that, final to present Page data be not that user's last time operates corresponding result.
A kind of mode for solving the above problems is the button that disabling submits request to, after once request terminates, submitting button quilt Disabling is hidden, and after needing to wait current request results to return, can just carry out second request operation.What is solved the above problems is another A kind of mode is, using floating layer shade, to be covered at whole interface by shade, and equally playing can not carry out immediately for the second time please Seek the purpose of operation.Above two settling mode the disadvantage is that, request result return before cannot do any operation, if front Secondary data operation request is wrong also cannot to be stopped.
The content of the invention
In view of the above problems, it is proposed that the present invention so as to provide one kind overcome the problems referred to above or at least in part solve on State content updating method, equipment and the system of problem.
According to an aspect of the invention, there is provided a kind of content update equipment (first content more new equipment), resides in In computing device, the computing device and the webserver are communicated to connect, and the computing device includes being suitable to present from network service The webpage of the data content of device, and the computing device is suitable to that request of data is sent to into the webserver and network service is received The data response that device is returned, the content update equipment includes:Identification generation unit, is suitable to generate the unique mark of request of data; Mark memory cell, is suitable to store the unique mark of the request of data that identification generation unit is newly generated;Request of data unit, fits The triggering of destination object in basis is to webpage, the unique mark of notice identification generation unit generation request of data, and by this only One mark be added in the request of data, the request of data is sent to into the webserver so that the webserver by this only One mark is added in data response to return to computing device;Response processing unit, is suitable to receive webserver transmission Data when responding, judge unique mark that data response carries whether with the unique mark phase that stores in mark memory cell Together, if so, then the renewal of web page contents carried out according to data response, otherwise, does not carry out the renewal of web page contents.
Alternatively, in content update equipment of the invention, each the described destination object in webpage associates one Identification generation unit and mark memory cell.
Alternatively, in content update equipment of the invention, the unique mark is random number or timestamp.
Alternatively, in content update equipment of the invention, the request of data is asynchronous data request.
According to a further aspect in the invention, there is provided a kind of content update equipment (the second content update equipment), reside in In the webserver, the webserver and computing device communication connect, and the webserver is suitable to receive from computing device Request of data, and return corresponding data and be responsive to computing device, the content update equipment includes:Mark acquiring unit, It is suitable to, when the request of data of computing device transmission is received, obtain the unique mark that the request of data is carried;Data response is single Unit, be suitable to by mark acquiring unit obtain unique mark be added to data response in return to computing device.
Alternatively, in content update equipment of the invention, the unique mark is random number or timestamp.
Alternatively, in content update equipment of the invention, the request of data is asynchronous data request.
According to another aspect of the invention, there is provided a kind of content update system, including:The webserver, wherein being resident The second content update equipment of the with good grounds present invention;The computing device communicated to connect with the webserver, wherein being populated with root According to the first content more new equipment of the present invention.
According to another aspect of the invention, there is provided a kind of content updating method, it is suitable to be performed in computing device, the meter Calculation equipment and the webserver are communicated to connect, and the computing device includes the net for being suitable to that the data content from the webserver is presented Page, and the computing device be suitable to by request of data be sent to the webserver and receive the webserver return data ring Should, the content updating method includes:According to the triggering to destination object in webpage, the unique mark of request of data is generated, and will The unique mark is stored as newest unique mark;The unique mark is added in the request of data, and please by the data Ask and be sent to the webserver, so as to the webserver is added to the unique mark in data response be set with returning to calculating It is standby;When the data for receiving webserver transmission are responded, judge unique mark that data response carries whether with storage Newest unique mark is identical, if so, then according to data response carries out the renewal of web page contents, otherwise, does not carry out in webpage The renewal of appearance.
Alternatively, in content updating method of the invention, each described destination object association one is newest only One mark;When the data for receiving webserver transmission are responded, judge whether is unique mark that data response carries Mutually it is all with the newest unique mark of storage:When the data for receiving webserver transmission are responded, the data response is judged Unique mark of newest of the unique mark of carrying whether with the association of respective objects object is identical.
Alternatively, in content updating method of the invention, the unique mark is random number or timestamp.
Alternatively, in content updating method of the invention, the request of data is asynchronous data request.
According to another aspect of the invention, there is provided a kind of content updating method, it is suitable to be performed in the webserver, should The webserver and computing device communication connect, and the webserver is suitable to receive the request of data from computing device, and Return corresponding data and be responsive to computing device, the content updating method includes:Please in the data for receiving computing device transmission When asking, the unique mark that the request of data is carried is obtained;The unique mark of acquisition is added in data response and returns to calculating Equipment.
Alternatively, in content updating method of the invention, the unique mark is random number or timestamp.
Alternatively, in content updating method of the invention, the request of data is asynchronous data request.
Content update scheme of the invention, computing device carries the request of data only in the request of data for sending One mark, and newest unique mark is stored, when the data for receiving webserver transmission are responded, judge the data response Unique mark of newest of the unique mark of carrying whether with storage is identical, is if so, then carried out in webpage according to data response The renewal of appearance, otherwise, does not carry out the renewal of web page contents, so, just without controlling the operation behavior of user, and allows user to send out Arbitrary data request operation is played, and, the data request operation of continuous several times only processes the request of data correspondence of last time Data response so that the data content shown by webpage is more accurate, improves the experience effect of user.
Described above is only the general introduction of technical solution of the present invention, in order to better understand the technological means of the present invention, And can be practiced according to the content of specification, and in order to allow the above and other objects of the present invention, feature and advantage can Become apparent, below especially exemplified by the specific embodiment of the present invention.
Description of the drawings
By the detailed description for reading hereafter preferred embodiment, various other advantages and benefit is common for this area Technical staff will be clear from understanding.Accompanying drawing is only used for illustrating the purpose of preferred embodiment, and is not considered as to the present invention Restriction.And in whole accompanying drawing, it is denoted by the same reference numerals identical part.In the accompanying drawings:
Fig. 1 shows the structure chart of content update system according to an embodiment of the invention;
Fig. 2 shows the structure chart of content update equipment in computing device according to an embodiment of the invention;
Fig. 3 shows the structure chart of content update equipment in the webserver according to an embodiment of the invention;
Fig. 4 shows the flow chart of content updating method in computing device according to an embodiment of the invention;
Fig. 5 shows the flow chart of content updating method in the webserver according to an embodiment of the invention;And
Fig. 6 shows the block diagram of the Example Computing Device for being arranged as realizing content updating method of the invention.
Specific embodiment
The exemplary embodiment of the disclosure is more fully described below with reference to accompanying drawings.Although showing the disclosure in accompanying drawing Exemplary embodiment, it being understood, however, that may be realized in various forms the disclosure and should not be by embodiments set forth here Limited.On the contrary, there is provided these embodiments are able to be best understood from the disclosure, and can be by the scope of the present disclosure Complete conveys to those skilled in the art.
Fig. 1 shows the structure chart of content update system according to an embodiment of the invention.As shown in figure 1, content is more New system includes multiple computing devices 110 (3 are shown in figure), provides various Internet resources for these computing devices 110 The webserver 120, computing device 110 and the webserver 120 are in communication with each other via internet.
In embodiments of the present invention, computing device 110 can be that any can the presentation from the webserver 120 in this area is obtained The equipment of the Internet resources for taking, including but not limited to desktop computer, notebook computer, personal digital assistant, intelligence Mobile terminal and panel computer etc..Computing device 110 has operating system, during computing device 110 is managed using operating system Hardware resource, operation in operating system has a browser, and the browser can be presented the network obtained from the webserver 120 Resource, such as web page files.
Computing device 110 includes content update equipment 200, correspondingly, content update is also included in the webserver 120 Equipment 300.Computing device 110 can be presented webpage by operating in browser or other application on operating system, And various data contents from the webserver 120 are presented in the web page, and the computing device 110 can pass through content More new equipment 200 interacts to carry out the renewal of web page contents with the content update equipment 300 in the webserver 120.
Fig. 2 shows the structure chart of content update equipment 200 in computing device according to an embodiment of the invention, content More new equipment 200 is resided in computing device 110, such as in residing in the browser of computing device 110.The computing device 110 Communicate to connect with the webserver 120.The computing device 110 includes being suitable to that the data content from the webserver 120 is presented Webpage, and the computing device 110 is suitable to that request of data is sent to into the webserver 120 and the webserver 120 is received The data response of return.With reference to Fig. 2, content update equipment 200 includes identification generation unit 210, mark memory cell 220, number According to request unit 230 and response processing unit 240.
Identification generation unit 210 is suitable to the instruction according to request of data unit 230, generates the unique mark of request of data. The unique mark of request of data can be random number, timestamp or other any kind of marks, and the present invention is not limited this System.For example, can using according to the random number of following code building as request of data unique mark:
function CreateSign(){
return Math.random().toString().replace("0.","");
}
Mark memory cell 220 is suitable to store the unique mark of the request of data that identification generation unit 210 is newly generated.Mark Know signal generating unit 210 to be generated after a unique mark according to the instruction of request of data unit 230, will by mark memory cell 220 It is stored, for example, be stored as the global variable of the page.Subsequently, identification generation unit 210 is according to request of data unit 230 The next one indicates to generate after next unique mark, and the content of storage can be replaced with what is be currently generated by mark memory cell 220 Unique mark so that the unique mark for being stored is the unique mark being newly generated.
When the unique mark is random number, the exemplary codes for storing the random number are as follows:
Var_cacheData={ };
Var signKey=" sign_GetCompareSeriesData ";
_ cacheData [signKey]=CreateSign ();
Request of data unit 230 is suitable to the triggering according to user to such as button of destination object in webpage, notifies mark life The unique mark of request of data is generated into unit 210.For example, user is input in webpage or selects after various querying conditions, point Hit " inquiry " button, on the one hand, request of data unit 230 can construct request of data, the opposing party according to the combination of querying condition Face, is notified that identification generation unit 210 generates the unique mark of the request of data.Subsequently the unique mark is added to into the data In request, and the request of data is sent to into the webserver.So, the webserver is received after the request of data, can be obtained Take the unique mark in the request of data, and according to the corresponding data content of content obtaining of request constructing data response, and The unique mark is added in the data response and returns to computing device.
In one implementation, the request of data is that asynchronous data asks (http Asynchronous Requests), and such as Ajax please Ask.Local webpage can be updated from a small amount of information of web server requests using Ajax, and without asking whole webpage, is made Web page program is more friendly, and loading velocity is faster.Wherein, the unique mark such as random number can be placed into http as a parameter In request header, the example of the Ajax requests of a carrying random number is as follows:
The URL of request:
http://index.autohome.com.cn/Data/IndexDataCtl.ashx_=1412750803404
The data of request:
Request Method:POST
Status Code:200 OK
Form Dataview sourceview URL encoded
……
postType:1
sign:The random number of 9759174765880418//carrying
When response processing unit 240 is suitable to the data response for receiving webserver transmission, judge that data response is taken Whether the unique mark of band is identical with the unique mark stored in mark memory cell 220.If so, then according to the data respond into The renewal of row web page contents, otherwise, does not carry out the renewal of web page contents.
The example of the Ajax responses of one carrying random number is as follows:
{"sign":9759174765880418,"suss":1,"message":" operating successfully ", " data ":{" rankings":{"series":[{"data":[19427271,18100918,15409032,14733740,13973999, 12887172,12242703,11402823]}],"categories":[" 1, Mondeo ", " 2, benz C levels ", " 3, BMW 3 System ", " 4, Audi A4L ", " 5, Magotan ", " 6, monarch's prestige ", " 7, Accord ", " 8, the ATENZA Aunars of Mazda 6 are hereby "] } ...
Response processing unit 240 is received after data response such as Ajax responses, and the key code that it processes logic is as follows:
// if not the response of this submission request, then not perform
Give an example, request of data unit 230 time T1 to the webserver have sent Ajax request 1, carrying with Machine number is R1.Now, the content for identifying the storage of memory cell 220 is R1.Subsequently, request of data unit 230 in time T2 to net Network server have sent Ajax requests 2, and the random number of carrying is R2.Now, the content for identifying the storage of memory cell 220 is R2.
In one case, respond processing unit 240 first receive webserver transmission corresponding to Ajax requests 2 Ajax respond 3, Ajax response 3 in carry random number be R2, afterwards, then receive the webserver transmission corresponding to Ajax It is R1 that the Ajax of request 1 responds the random number carried in 4, Ajax responses 4.
When response processing unit 240 receives Ajax responses 3, random number R 2 and the mark carried in Ajax responses 3 is found Content R2 of the storage of memory cell 220 is identical, then, responds 3 pairs of web page contents according to Ajax and is updated.Response processing unit 240 receive Ajax response 4 when, find Ajax response 4 in carry random number R 1 with mark memory cell 220 storage content R2 is different, then, ignores the Ajax responses 4, web page contents is not updated.
In another case, after request of data unit 230 sends Ajax requests 2, response processing unit 240 first connects The random number carried in Ajax 4, Ajax of the response responses 4 corresponding to Ajax requests 1 for receiving webserver transmission is R1.It Afterwards, then receive the webserver transmission corresponding to Ajax request 2 Ajax respond 3, Ajax response 3 in carry random number For R2.
When response processing unit 240 receives Ajax responses 4, random number R 1 and the mark carried in Ajax responses 4 is found Content R2 of the storage of memory cell 220 is different, then, ignores the Ajax responses 4, web page contents is not updated.At response When reason unit 240 receives Ajax responses 3, it is found that the random number R 2 carried in Ajax responses 3 is stored with mark memory cell 220 Content R2 it is identical, then, according to Ajax respond 3 pairs of web page contents be updated.
It can be seen that, content update equipment 200 according to embodiments of the present invention without controlling the operation behavior of user, and is allowed User initiates arbitrary data request operation, and, the data request operation of continuous several times only processes the data of last time please Corresponding data are asked to respond so that the data content shown by webpage is more accurate, improves the experience effect of user.
According to one embodiment of present invention, the same page with destination object if all (such as pressing in polylith region Button), an identification generation unit and mark memory cell can be associated for each described destination object.For example, have two in webpage Block query region, each query region has respective querying condition to combine, and each corresponds to " inquiry " button, then each is pressed When button is triggered, unique mark is generated according to the logic of oneself, and be stored as respectively by respective mark memory cell newest Unique mark.When receiving data and responding, data response can be first identified corresponding to which " inquiry " button, thus It is determined that the mark memory cell of association, and the unique mark that the data response is carried is stored with the mark memory cell for associating Unique mark be compared to determine whether to be updated web page contents.In such manner, it is possible to so that this two pieces of query regions it Between renewal show non-interference.
Fig. 3 shows the structure chart of content update equipment 300 in the webserver according to an embodiment of the invention, interior Hold more new equipment 300 to reside in the webserver 120, the webserver 120 and computing device 110 are communicated to connect, the net Network server 120 is suitable to receive the request of data from computing device 110, and returns corresponding data and be responsive to computing device 110.With reference to Fig. 3, content update equipment 300 includes mark acquiring unit 310 and data response unit 320.
Mark acquiring unit 310 is suitable to when the request of data of computing device transmission is received, and is obtained the request of data and is taken The unique mark of band.The unique mark of request of data can be random number, timestamp or other any kind of marks, this It is bright without limitation.The request of data can ask (http Asynchronous Requests) for asynchronous data, such as Ajax requests.
Data response unit 320 is suitable to that the unique mark that mark acquiring unit 310 is obtained is added in data response and returns Back to computing device.Data response unit 320 can construct number according to the corresponding data content of the content obtaining of request of data According to response, and the unique mark of the request of data that mark acquiring unit 310 is got is added in data response and returns to Computing device.
When computing device receives the data response of webserver transmission, unique mark that data response is carried can be judged Know whether identical with the newest unique mark of storage, if so, then the renewal of web page contents carried out according to data response, otherwise, The renewal of web page contents is not carried out.So so that computing device only processes last for the data request operation of continuous several times The corresponding data response of secondary request of data so that the data content shown by webpage is more accurate, improves the experience of user Effect.
Fig. 4 shows the flow chart of content updating method in computing device according to an embodiment of the invention, the content Update method is suitable to be performed in computing device, and the computing device and the webserver are communicated to connect, and the computing device includes suitable It is suitable to for request of data to be sent to network clothes in the webpage that the data content from the webserver is presented, and the computing device Business device simultaneously receives the data response that the webserver is returned.
With reference to Fig. 4, the content updating method is suitable to step S402.In step S402, according to destination object in webpage The triggering of such as button, generates the unique mark of request of data, and the unique mark is stored as into newest unique mark, for example It is stored as the global variable of the page.The unique mark of request of data can be for random number, timestamp or other are any kind of Mark, the present invention is without limitation.
In step s 404, the unique mark is added in the request of data, and the request of data is sent to into net Network server, so that the webserver is added to the unique mark in data response to return to computing device.The data Request can ask (http Asynchronous Requests) for asynchronous data, such as Ajax requests.
In step S406, when the data for receiving webserver transmission are responded, judge that the data response is carried only One identifies whether identical with the newest unique mark of storage, if so, then according to data response carries out the renewal of web page contents, Otherwise, the renewal of web page contents is not carried out.
Content updating method according to embodiments of the present invention, without controlling the operation behavior of user, and allows user to initiate Arbitrary data request operation, and, the request of data that the data request operation of continuous several times only processes last time is corresponding Data are responded so that the data content shown by webpage is more accurate, improves the experience effect of user.
According to one embodiment of present invention, the same page with destination object if all (such as pressing in polylith region Button), then can associate a newest unique mark for each described destination object.Correspondingly, in step S406, receive When the data that the webserver sends are responded, judge whether the unique mark that the data response is carried associates with respective objects object Newest unique mark it is identical, if so, then the renewal of web page contents carried out according to data response, otherwise, do not carry out webpage The renewal of content.In such manner, it is possible to so that the renewal between this two pieces of query regions shows non-interference.
Fig. 5 shows the flow chart of content updating method in the webserver according to an embodiment of the invention, and this is interior Hold update method to be suitable to be performed in the webserver, the webserver and computing device communication connect, the webserver It is suitable to receive the request of data from computing device, and returns corresponding data and is responsive to computing device.
With reference to Fig. 5, the content updating method is suitable to step S502.In step S502, send computing device is received Request of data when, obtain the unique mark that the request of data is carried.The unique mark of request of data can be random number, time Stamp or other any kind of marks, the present invention is without limitation.The request of data can be asked for asynchronous data (http Asynchronous Requests), such as Ajax requests.
In step S504, the unique mark of acquisition is added in data response and returns to computing device.Can basis The corresponding data content of content obtaining of request of data constructing data response, and by the unique mark of the request of data for getting It is added in the data response and returns to computing device.
When computing device receives the data response of webserver transmission, unique mark that data response is carried can be judged Know whether identical with the newest unique mark of storage, if so, then the renewal of web page contents carried out according to data response, otherwise, The renewal of web page contents is not carried out.So so that computing device only processes last for the data request operation of continuous several times The corresponding data response of secondary request of data so that the data content shown by webpage is more accurate, improves the experience of user Effect.
Fig. 6 shows the block diagram of the Example Computing Device 900 for being arranged as realizing content updating method of the invention. In basic configuration 902, computing device 900 typically comprises system storage 906 and one or more processor 904.Deposit The communication that memory bus 908 can be used between processor 904 and system storage 906.
Depending on desired configuration, processor 904 can be any kind of processor, including but not limited to:Microprocessor Device (μ P), microcontroller (μ C), digital information processor (DSP) or any combination of them.Processor 904 can include all Such as cache, the processor core of one or more rank of on-chip cache 910 and second level cache 912 etc 914 and register 916.The processor core 914 of example can include arithmetic and logical unit (ALU), floating-point unit (FPU), Digital signal processing core (DSP core) or any combination of them.The Memory Controller 918 of example can be with processor 904 are used together, or in some implementations, Memory Controller 918 can be an interior section of processor 904.
Depending on desired configuration, system storage 906 can be any type of memory, including but not limited to:Easily The property lost memory (RAM), nonvolatile memory (ROM, flash memory etc.) or any combination of them.System is stored Device 906 can include operating system 920, one or more is using 922 and routine data 924.Using 922 can include by It is arranged for carrying out the content update equipment 926 of content updating method.Routine data 924 can include can be used for as described here The unique mark 928 of request of data.In some embodiments, may be arranged to utilize program on an operating system using 922 Data 924 are operated.
Computing device 900 can also include contributing to from various interface equipments (for example, output equipment 942, peripheral interface 944 and communication equipment 946) to basic configuration 902 via the communication of bus/interface controller 930 interface bus 940.Example Output equipment 942 include GPU 948 and audio treatment unit 950.They can be configured to contribute to via One or more A/V port 952 is communicated with the various external equipments of such as display or loudspeaker etc.Outside example Enclosing interface 944 can include serial interface controller 954 and parallel interface controller 956, and they can be configured to contribute to Via one or more I/O port 958 and such as input equipment (for example, keyboard, mouse, pen, voice-input device, touch Input equipment) or the external equipment of other peripheral hardwares (such as printer, scanner etc.) etc communicated.The communication of example sets Standby 946 can include network controller 960, and it can be arranged to be easy to via one or more COM1 964 and The communication that individual or multiple other computing devices 962 pass through network communication link.
Network communication link can be an example of communication media.Communication media generally can be presented as in such as carrier wave Or computer-readable instruction, data structure, the program module in the modulated data signal of other transmission mechanisms etc, and can With including any information delivery media." modulated data signal " can be with such signal, in its data set or many It is individual or it change can the mode of coding information in the signal carry out.Used as nonrestrictive example, communication media can be with It is including the wire medium of such as cable network or private line network etc and such as sound, radio frequency (RF), microwave, infrared Or other wireless mediums are in interior various wireless mediums (IR).Term computer-readable medium used herein can include depositing Both storage media and communication media.
Computing device 900 can be implemented as a part for portable (or mobile) electronic equipment of small size, and these electronics set Standby can be such as cell phone, personal digital assistant (PDA), personal media player device, wireless network browsing apparatus, individual People's helmet, application specific equipment or can include any of the above function mixing apparatus.Computing device 900 can be with It is embodied as including the personal computer of desktop computer and notebook computer configuration.
Provided herein algorithm and display be not inherently related to any certain computer, virtual system or miscellaneous equipment. Various general-purpose systems can also be used together based on teaching in this.As described above, construct required by this kind of system Structure be obvious.Additionally, the present invention is also not for any certain programmed language.It is understood that, it is possible to use it is various Programming language realizes the content of invention described herein, and the description done to language-specific above is to disclose this Bright preferred forms.
In specification mentioned herein, a large amount of details are illustrated.It is to be appreciated, however, that the enforcement of the present invention Example can be put into practice in the case of without these details.In some instances, known method, structure is not been shown in detail And technology, so as not to obscure the understanding of this description.
Similarly, it will be appreciated that in order to simplify the disclosure and help understand one or more in each inventive aspect, exist Above in the description of the exemplary embodiment of the present invention, each feature of the present invention is grouped together into single enforcement sometimes In example, figure or descriptions thereof.However, the method for the disclosure should be construed to reflect following intention:I.e. required guarantor The more features of feature that the application claims ratio of shield is expressly recited in each claim.More precisely, such as following Claims reflect as, inventive aspect is all features less than single embodiment disclosed above.Therefore, Thus the claims for following specific embodiment are expressly incorporated in the specific embodiment, wherein each claim itself All as the separate embodiments of the present invention.
Those skilled in the art are appreciated that can be carried out adaptively to the module in the equipment in embodiment Change and they are arranged in one or more equipment different from the embodiment.Can be the module or list in embodiment Unit or component are combined into a module or unit or component, and can be divided in addition multiple submodule or subelement or Sub-component.In addition at least some in such feature and/or process or unit is excluded each other, can adopt any Combine to all features disclosed in this specification (including adjoint claim, summary and accompanying drawing) and so disclosed Where all processes or unit of method or equipment are combined.Unless expressly stated otherwise, this specification is (including adjoint power Profit is required, summary and accompanying drawing) disclosed in each feature can it is identical by offers, be equal to or the alternative features of similar purpose carry out generation Replace.
Although additionally, it will be appreciated by those of skill in the art that some embodiments described herein include other embodiments In included some features rather than further feature, but the combination of the feature of different embodiments means in of the invention Within the scope of and form different embodiments.For example, in the following claims, embodiment required for protection appoint One of meaning can in any combination mode using.
The present invention all parts embodiment can be realized with hardware, or with one or more processor operation Software module realize, or with combinations thereof realization.It will be understood by those of skill in the art that can use in practice Microprocessor or digital signal processor (DSP) to realize content update equipment according to embodiments of the present invention in some or The some or all functions of person's whole part.The present invention is also implemented as perform method as described herein one Divide the equipment or program of device (for example, computer program and computer program) of either whole.It is such to realize this Bright program can be stored on a computer-readable medium, or can have the form of one or more signal.It is such Signal can be downloaded from internet website and obtained, or be provided on carrier signal, or be provided in any other form.
It should be noted that above-described embodiment the present invention will be described rather than limits the invention, and ability Field technique personnel can design without departing from the scope of the appended claims alternative embodiment.In the claims, Any reference symbol between bracket should not be configured to limitations on claims.Word "comprising" is not excluded the presence of not Element listed in the claims or step.Word "a" or "an" before element does not exclude the presence of multiple such Element.The present invention can come real by means of the hardware for including some different elements and by means of properly programmed computer It is existing.If in the unit claim for listing equipment for drying, several in these devices can be by same hardware branch To embody.The use of word first, second, and third does not indicate that any order.These words can be explained and be run after fame Claim.

Claims (9)

1. a kind of content update equipment, in residing in computing device, the computing device and the webserver are communicated to connect, the calculating Equipment includes the webpage for being suitable to that the data content from the webserver is presented, and the computing device is suitable to send out request of data It is sent to the webserver and receives the data response of webserver return, the content update equipment includes:
Identification generation unit, is suitable to generate the unique mark of request of data;
Mark memory cell, is suitable to store the unique mark of the request of data that identification generation unit is newly generated;
Request of data unit, is suitable to according to the triggering to destination object in webpage, notifies that identification generation unit generates request of data Unique mark, and the unique mark is added in the request of data, the request of data is sent to into the webserver, with Make the webserver that the unique mark to be added in data response to return to computing device;And
Response processing unit, when being suitable to the data response for receiving webserver transmission, judges that data response is carried only One identifies whether identical with the unique mark stored in mark memory cell, is if so, then carried out in webpage according to data response The renewal of appearance, otherwise, does not carry out the renewal of web page contents.
2. content update equipment as claimed in claim 1, wherein, the destination object of each in webpage associates a mark Signal generating unit and mark memory cell.
3. content update equipment as claimed in claim 1, wherein, the unique mark is random number or timestamp.
4. the content update equipment as described in claim 1,2 or 3, wherein, the request of data is asynchronous data request.
5. a kind of content update system, including:
The webserver, wherein being populated with content update equipment, the content update equipment includes:
Mark acquiring unit, is suitable to, when the request of data of computing device transmission is received, obtain the request of data and carry only One mark;
Data response unit, is suitable to that the unique mark that mark acquiring unit is obtained is added in data response and returns to calculating and set It is standby;And
With the computing device of webserver communication connection, wherein resident just like in any one of Claims 1-4 Hold more new equipment.
6. a kind of content updating method, is suitable to be performed in computing device, and the computing device and the webserver are communicated to connect, should Computing device includes the webpage for being suitable to that the data content from the webserver is presented, and the computing device is suitable to ask data The data response for being sent to the webserver and receiving webserver return, the content updating method is asked to include:
According to the triggering to destination object in webpage, the unique mark of request of data is generated, and the unique mark is stored as most New unique mark;
The unique mark is added in the request of data, and the request of data is sent to into the webserver, so that network Server is added to the unique mark in data response to return to computing device;And
When the data for receiving webserver transmission are responded, judge unique mark that data response carries whether with storage Newest unique mark is identical, if so, then according to data response carries out the renewal of web page contents, otherwise, does not carry out in webpage The renewal of appearance.
7. content updating method as claimed in claim 6, wherein, each described destination object associates a newest unique mark Know;And
When the data for receiving webserver transmission are responded, judge unique mark that data response carries whether with deposit The newest unique mark of storage is mutually all:When the data for receiving webserver transmission are responded, judge that the data response is carried Unique mark of newest of the unique mark whether with the association of respective objects object it is identical.
8. content updating method as claimed in claim 6, wherein, the unique mark is random number or timestamp.
9. the content updating method as described in claim 6,7 or 8, wherein, the request of data is asynchronous data request.
CN201410542597.2A 2014-10-14 2014-10-14 Content updating method, equipment and system Active CN104331306B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410542597.2A CN104331306B (en) 2014-10-14 2014-10-14 Content updating method, equipment and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410542597.2A CN104331306B (en) 2014-10-14 2014-10-14 Content updating method, equipment and system

Publications (2)

Publication Number Publication Date
CN104331306A CN104331306A (en) 2015-02-04
CN104331306B true CN104331306B (en) 2017-05-10

Family

ID=52406040

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410542597.2A Active CN104331306B (en) 2014-10-14 2014-10-14 Content updating method, equipment and system

Country Status (1)

Country Link
CN (1) CN104331306B (en)

Families Citing this family (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106202296B (en) * 2016-06-30 2020-05-12 北京奇虎科技有限公司 Local updating method and system for webpage
CN106156308B (en) * 2016-06-30 2020-05-12 北京奇虎科技有限公司 Local updating method and system for webpage
CN106682176A (en) * 2016-12-29 2017-05-17 北京五八信息技术有限公司 Page loading method, equipment and device
CN109241066B (en) * 2017-07-04 2022-09-27 北京国双科技有限公司 Request processing method and device
CN107632852B (en) * 2017-07-26 2020-10-02 阿里巴巴集团控股有限公司 Information updating method and device
CN109995745B (en) * 2017-12-31 2023-02-24 国民技术股份有限公司 Information matching method, terminal and computer readable storage medium
CN109002535B (en) * 2018-07-18 2023-03-24 腾讯科技(深圳)有限公司 Data updating method and device
CN109376320B (en) * 2018-09-26 2021-01-15 苏州浪潮智能科技有限公司 Method and device for updating data items of webpage interface
CN111045985B (en) * 2019-11-25 2023-10-24 北京百度网讯科技有限公司 File storage processing method, server, electronic device and storage medium
CN111813851B (en) * 2020-05-25 2023-10-20 车智互联(北京)科技有限公司 Method, system and mobile terminal for synchronizing data from mobile application to webpage

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1761961A (en) * 2003-03-19 2006-04-19 Nhn株式会社 Method and apparatus for detecting invalid clicks on the internet search engine
CN101620635A (en) * 2009-08-07 2010-01-06 中兴通讯股份有限公司 Page data obtaining method and server, page updating method and server
CN102637201A (en) * 2012-03-14 2012-08-15 南京新与力文化传播有限公司 Webpage loading method based on asynchronous data transmission
CN103455497A (en) * 2012-05-29 2013-12-18 百度在线网络技术(北京)有限公司 Method and system for providing integrated search results
CN103714078A (en) * 2012-09-29 2014-04-09 百度在线网络技术(北京)有限公司 Method, system and device for providing update contents of web pages

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110213975A1 (en) * 2010-03-01 2011-09-01 Alessandro Sorniotti Secret interest groups in online social networks

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1761961A (en) * 2003-03-19 2006-04-19 Nhn株式会社 Method and apparatus for detecting invalid clicks on the internet search engine
CN101620635A (en) * 2009-08-07 2010-01-06 中兴通讯股份有限公司 Page data obtaining method and server, page updating method and server
CN102637201A (en) * 2012-03-14 2012-08-15 南京新与力文化传播有限公司 Webpage loading method based on asynchronous data transmission
CN103455497A (en) * 2012-05-29 2013-12-18 百度在线网络技术(北京)有限公司 Method and system for providing integrated search results
CN103714078A (en) * 2012-09-29 2014-04-09 百度在线网络技术(北京)有限公司 Method, system and device for providing update contents of web pages

Also Published As

Publication number Publication date
CN104331306A (en) 2015-02-04

Similar Documents

Publication Publication Date Title
CN104331306B (en) Content updating method, equipment and system
US11829430B2 (en) Methods and systems for social network based content recommendations
AU2014315668B2 (en) Techniques for server-controlled tiling of location-based information
US9087020B1 (en) Managing and retrieving content from a shared storage
US10333868B2 (en) Techniques to automate bot creation for web pages
US20160335279A1 (en) Method for loading website commenting information, and browser client
CN105792022B (en) A kind of adaptive video playback method, device and audio/video player system
CN104572299A (en) resource transfer method and device
CN107944000A (en) Flight freight rate update method, device, electronic equipment, storage medium
CN107807935B (en) Using recommended method and device
CN104158865A (en) Method and system for pushing applications to terminal
CN104965690A (en) Method and apparatus for processing data
US10382914B2 (en) Techniques to leverage data from mobile headers
CN106843769A (en) A kind of interface data caching method, device and computing device
US11468125B2 (en) Resource search method and related product
CN107491667B (en) Resource transfer method, terminal, server and system
WO2019024275A1 (en) Page loading method, device and computer equipment
US20170169211A1 (en) One kind of website passwords generating method and apparatus
US11354309B2 (en) Information processing apparatus and information processing method
CN106951242A (en) A kind of generation method, equipment and the computing device of validating vulnerability program
CN105989103A (en) Method for recommending application program and terminal
CN104951325B (en) A kind of information display method and electronic equipment
CN105844489A (en) Information processing method and electronic device
US20150134480A1 (en) Systems and methods to present digital content listings
US20170171330A1 (en) Method for pushing information and electronic device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant