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

Content updating method, equipment and system Download PDF

Info

Publication number
CN104331306A
CN104331306A CN201410542597.2A CN201410542597A CN104331306A CN 104331306 A CN104331306 A CN 104331306A CN 201410542597 A CN201410542597 A CN 201410542597A CN 104331306 A CN104331306 A CN 104331306A
Authority
CN
China
Prior art keywords
data
request
webserver
unique identification
computing equipment
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.)
Granted
Application number
CN201410542597.2A
Other languages
Chinese (zh)
Other versions
CN104331306B (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 Cheerbright Technologies Co Ltd
Original Assignee
Beijing Cheerbright Technologies 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 Cheerbright Technologies Co Ltd filed Critical Beijing Cheerbright Technologies 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 computing machine and Internet technical field, be specifically related to a kind of content updating method, equipment and system.
Background technology
Ajax is a kind of technology for creating quick dynamic web page, and browser, by carrying out low volume data exchange on backstage and server, can make webpage realize asynchronous refresh.This means when not reloading whole webpage, to upgrade certain part of webpage.With traditional webpage when update content, need heavily loaded full page to compare, the presentation speed of webpage can be significantly improved.And by Ajax, browser without the need to the response of waiting for server, but performs other scripts when waiting for server responds, again response is processed after response is ready.
But along with a large amount of uses of Ajax on the page, repeating to submit to and cause the error load of response data to have a strong impact on Consumer's Experience because of the page.Main manifestations is: after user submit data solicit operation, before the result of this request returns, have changed some parameter again submit request of data to, now, if the result of first time request does not also return, and the result that second time is asked has returned, so the page first can process the data asking for the second time to return, the Local hydrodynamic unit page, then, the result that first time asks returns, the page can continue to process the data returned specifically, refresh page again.Problem has occurred, the page data finally presented not is that user operates corresponding result for the last time.
A kind of mode solved the problem is the button that forbidding submits request to, and after once request terminates, submit button is disabled or hiding, after needing to wait for that current request results returns, just can carry out second time solicit operation.Whole interface, for using floating layer shade, is covered by shade, plays the object can not carrying out second time solicit operation immediately equally by the another kind of mode solved the problem.The shortcoming of above-mentioned two kinds of settling modes is, cannot do any operation, also cannot stop if previous data operation request is wrong before the result of request returns.
Summary of the invention
In view of the above problems, the present invention is proposed to provide a kind of overcoming the problems referred to above or the content updating method solved the problem at least in part, equipment and system.
According to an aspect of the present invention, provide a kind of content update equipment (first content is updated the equipment), reside in computing equipment, this computing equipment and webserver communication connection, this computing equipment comprises the webpage being suitable for the data content presented from the webserver, and this computing equipment is suitable for request of data to be sent to the webserver and receives the data response that the webserver returns, this content update equipment comprises: identification generation unit, is suitable for the unique identification generating request of data; Mark storage unit, is suitable for the unique identification of the request of data of the up-to-date generation of storaging mark generation unit; Request of data unit, be suitable for according to the triggering to destination object in webpage, notice identification generation unit generates the unique identification of request of data, and this unique identification is added in described request of data, this request of data is sent to the webserver, to make the webserver, this unique identification is added in data response to return to computing equipment; Response processing unit, when being suitable for the data response receiving webserver transmission, whether identically with the unique identification stored in mark storage unit judge that these data respond the unique identification carried, if, the renewal of web page contents is then carried out according to the response of these data, otherwise, do not carry out the renewal of web page contents.
Alternatively, in content update equipment according to the present invention, each described destination object in webpage associates an identification generation unit and mark storage unit.
Alternatively, in content update equipment according to the present invention, described unique identification is random number or timestamp.
Alternatively, in content update equipment according to the present invention, described request of data is asynchronous data request.
According to a further aspect in the invention, provide a kind of content update equipment (the second content update equipment), reside in the webserver, this webserver is connected with computing device communication, this webserver is suitable for receiving from the request of data of computing equipment, and returns corresponding data and respond computing equipment, and this content update equipment comprises: mark acquiring unit, be suitable for, when receiving the request of data that computing equipment sends, obtaining the unique identification that this request of data is carried; Data response unit, is suitable for the unique identification that mark acquiring unit obtains to add in data response to return to computing equipment.
Alternatively, in content update equipment according to the present invention, described unique identification is random number or timestamp.
Alternatively, in content update equipment according to the present invention, described request of data is asynchronous data request.
According to another aspect of the invention, provide a kind of content update system, comprising: the webserver, wherein resident with good grounds second content update equipment of the present invention; The computing equipment communicated to connect with this webserver, wherein resident with good grounds first content of the present invention is updated the equipment.
According to another aspect of the invention, provide a kind of content updating method, be suitable for performing in computing equipment, this computing equipment and webserver communication connection, this computing equipment comprises the webpage being suitable for the data content presented from the webserver, and this computing equipment is suitable for request of data to be sent to the webserver and receives the data response that the webserver returns, this content updating method comprises: according to the triggering to destination object in webpage, generate the unique identification of request of data, and this unique identification is stored as up-to-date unique identification; This unique identification is added in described request of data, and this request of data is sent to the webserver, to make the webserver, this unique identification is added in data response to return to computing equipment; When receiving the data response of webserver transmission, whether identically with the up-to-date unique identification stored judge that these data respond the unique identification carried, if so, then carry out the renewal of web page contents according to the response of these data, otherwise, do not carry out the renewal of web page contents.
Alternatively, in content updating method according to the present invention, each described destination object associates a up-to-date unique identification; When the described data receiving webserver transmission respond, judge that these data respond the unique identification that carries and whether are all mutually with the up-to-date unique identification stored: receive data that the webserver sends when responding, whether identically with the up-to-date unique identification of respective objects object association judge that these data respond the unique identification carried.
Alternatively, in content updating method according to the present invention, described unique identification is random number or timestamp.
Alternatively, in content updating method according to the present invention, described request of data is asynchronous data request.
According to another aspect of the invention, provide a kind of content updating method, be suitable for performing in the webserver, this webserver is connected with computing device communication, this webserver is suitable for receiving the request of data from computing equipment, and return corresponding data and respond computing equipment, this content updating method comprises: when receiving the request of data that computing equipment sends, obtain the unique identification that this request of data is carried; The unique identification of acquisition is added in data response and return to computing equipment.
Alternatively, in content updating method according to the present invention, described unique identification is random number or timestamp.
Alternatively, in content updating method according to the present invention, described request of data is asynchronous data request.
According to content update scheme of the present invention, computing equipment carries the unique identification of this request of data in the request of data sent, and store up-to-date unique identification, when receiving the data response that the webserver sends, whether identically with the up-to-date unique identification stored judge that these data respond the unique identification carried, if, the renewal of web page contents is then carried out according to the response of these data, otherwise, do not carry out the renewal of web page contents, like this, just need not control the operation behavior of user, and allow user to initiate arbitrary data request operation, and, the data request operation of continuous several times only processes data response corresponding to last request of data, make the data content shown by webpage more accurate, improve the experience effect of user.
Above-mentioned explanation is only the general introduction of technical solution of the present invention, in order to technological means of the present invention can be better understood, and can be implemented according to the content of instructions, and can become apparent, below especially exemplified by the specific embodiment of the present invention to allow above and other objects of the present invention, feature and advantage.
Accompanying drawing explanation
By reading hereafter detailed description of the preferred embodiment, various other advantage and benefit will become cheer and bright for those of ordinary skill in the art.Accompanying drawing only for illustrating the object of preferred implementation, and does not think limitation of the present invention.And in whole accompanying drawing, represent identical parts by identical reference symbol.In the accompanying drawings:
Fig. 1 shows the structural drawing of content update system according to an embodiment of the invention;
Fig. 2 shows the structural drawing of content update equipment in computing equipment according to an embodiment of the invention;
Fig. 3 shows the structural drawing of content update equipment in the webserver according to an embodiment of the invention;
Fig. 4 shows the process flow diagram of content updating method in computing equipment according to an embodiment of the invention;
Fig. 5 shows the process flow diagram of content updating method in the webserver according to an embodiment of the invention; And
Fig. 6 shows the block diagram being arranged as and realizing according to the Example Computing Device of content updating method of the present invention.
Embodiment
Below with reference to accompanying drawings exemplary embodiment of the present disclosure is described in more detail.Although show exemplary embodiment of the present disclosure in accompanying drawing, however should be appreciated that can realize the disclosure in a variety of manners and not should limit by the embodiment set forth here.On the contrary, provide these embodiments to be in order to more thoroughly the disclosure can be understood, and complete for the scope of the present disclosure can be conveyed to those skilled in the art.
Fig. 1 shows the structural drawing of content update system according to an embodiment of the invention.As shown in Figure 1, content update system comprises multiple computing equipment 110 (there is shown 3), for these computing equipments 110 provide the webserver 120 of various Internet resources, computing equipment 110 intercoms via internet mutually with the webserver 120.
In embodiments of the present invention, computing equipment 110 can be any equipment that can present the Internet resources obtained from the webserver 120 in this area, includes but not limited to desktop computer, notebook computer, personal digital assistant, intelligent mobile terminal and panel computer etc.Computing equipment 110 has operating system, utilizes the hardware resource that operating system is come in Management Calculation equipment 110, and operating system is run browser, and described browser can present the Internet resources obtained from the webserver 120, such as web page files.
Computing equipment 110 comprises content update equipment 200, correspondingly, also comprises content update equipment 300 in the webserver 120.Computing equipment 110 can by operating in browser on operating system or other should be used for presenting webpage, and the various data contents presented in the web page from the webserver 120, and this computing equipment 110 can by the renewal of alternately carrying out web page contents of content update equipment 200 with the content update equipment 300 in the webserver 120.
Fig. 2 shows the structural drawing of content update equipment 200 in computing equipment according to an embodiment of the invention, and content update equipment 200 resides in computing equipment 110, such as, reside in the browser of computing equipment 110.This computing equipment 110 and the webserver 120 communicate to connect.This computing equipment 110 comprises the webpage being suitable for the data content presented from the webserver 120, and this computing equipment 110 is suitable for request of data to be sent to the webserver 120 and receives the data response that the webserver 120 returns.With reference to Fig. 2, content update equipment 200 comprises identification generation unit 210, mark storage unit 220, request of data unit 230 and response processing unit 240.
Identification generation unit 210 is suitable for the instruction according to request of data unit 230, generates the unique identification of request of data.The unique identification of request of data can be the mark of random number, timestamp or other any types, and the present invention does not limit this.Such as, can using the random number according to following code building as the unique identification of request of data:
function CreateSign(){
return Math.random().toString().replace("0.","");
}
Mark storage unit 220 is suitable for the unique identification of the request of data of the up-to-date generation of storaging mark generation unit 210.After identification generation unit 210 generates a unique identification according to the instruction of request of data unit 230, stored by mark storage unit 220, such as, be stored as the global variable of the page.Follow-up, after identification generation unit 210 generates next unique identification according to the next one instruction of request of data unit 230, the content of storage can be replaced with the unique identification of current generation by mark storage unit 220, makes stored unique identification be the unique identification of up-to-date generation.
When described unique identification is random number, the exemplary codes storing this random number is as follows:
var_cacheData={};
var signKey="sign_GetCompareSeriesData";
_cacheData[signKey]=CreateSign();
Request of data unit 230 is suitable for according to the triggering of user to the such as button of destination object in webpage, and notice identification generation unit 210 generates the unique identification of request of data.Such as, after user inputs or selects various querying condition in webpage, click " inquiry " button, on the one hand, request of data unit 230 can carry out construction data request according to the combination of querying condition, on the other hand, can notify that identification generation unit 210 generates the unique identification of this request of data.Subsequently this unique identification is added in this request of data, and this request of data is sent to the webserver.Like this, after the webserver receives this request of data, the unique identification in this request of data can be obtained, and carry out construction data response according to the data content corresponding to content obtaining of request, and this unique identification be added in the response of these data and return to computing equipment.
In one implementation, described request of data is asynchronous data request (http Asynchronous Request), such as Ajax request.Use Ajax can upgrade local webpage from the information that web server requests is a small amount of, and need not ask whole webpage, make web page program more friendly, loading velocity is faster.Wherein, this unique identification such as random number can be placed in http request head as a parameter, and an example carrying the Ajax request of 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
The random number of sign:9759174765880418//carry
When response processing unit 240 is suitable for the data response receiving webserver transmission, whether identically with the unique identification stored in mark storage unit 220 judge that these data respond the unique identification carried.If so, the renewal of web page contents is then carried out according to the response of these data, otherwise, do not carry out the renewal of web page contents.
An example carrying the Ajax response of random number is as follows:
{ " sign ": 9759174765880418, " suss ": 1, " message ": " successful operation ", " data ": { " rankings ": { " series ": [{ " data ": [19427271,18100918,15409032,14733740,13973999,12887172,12242703,11402823] }], " categories ": [" 1; Mondeo ", " 2, benz C level ", " 3, BMW 3 is ", " 4; Audi A4L ", " 5, Magotan ", " 6, monarch's prestige ", " 7; Accord ", " 8, Mazda 6 ATENZA Aunar is hereby "] } ...
Response processing unit 240 receive data respond such as Ajax response after, the key code of its processing logic is as follows:
// submitting the response of asking to if not this, then will not perform
Give an example, request of data unit 230 have sent Ajax request 1 at time T1 to the webserver, and the random number of carrying is R1.Now, the content identifying storage unit 220 storage is R1.Subsequently, request of data unit 230 have sent Ajax request 2 at time T2 to the webserver, and the random number of carrying is R2.Now, the content identifying storage unit 220 storage is R2.
In one case, response processing unit 240 first receives the Ajax response 3 of the Ajax request 2 that corresponds to that the webserver sends, the random number of carrying in Ajax response 3 is R2, afterwards, receiving the random number of carrying in Ajax response 4, the Ajax response 4 of the Ajax request 1 that corresponds to that the webserver sends again is R1.
Response processing unit 240 receives Ajax when responding 3, finds that the random number R 2 of carrying in Ajax response 3 is identical with identifying the content R2 that storage unit 220 stores, so, respond 3 pairs of web page contents according to Ajax and upgrade.Response processing unit 240 receives Ajax when responding 4, finds that the random number R 1 of carrying in Ajax response 4 is different with the content R2 that mark storage unit 220 stores, so, ignore this Ajax response 4, web page contents is not upgraded.
In another case, send Ajax ask after 2 at request of data unit 230, it is R1 that response processing unit 240 first receives the random number of carrying in Ajax response 4, the Ajax response 4 of the Ajax request 1 that corresponds to that the webserver sends.Afterwards, then receive the Ajax corresponding to Ajax request 2 that the webserver sends to respond the random number of carrying in 3, Ajax response 3 be R2.
Response processing unit 240 receives Ajax when responding 4, finds that the random number R 1 of carrying in Ajax response 4 is different with the content R2 that mark storage unit 220 stores, so, ignore this Ajax response 4, web page contents is not upgraded.Response processing unit 240 receives Ajax when responding 3, finds that the random number R 2 of carrying in Ajax response 3 is identical with identifying the content R2 that storage unit 220 stores, so, respond 3 pairs of web page contents according to Ajax and upgrade.
Visible, according to the content update equipment 200 of the embodiment of the present invention, the operation behavior of user need not be controlled, and allow user to initiate arbitrary data request operation, and, the data request operation of continuous several times only processes data response corresponding to last request of data, makes the data content shown by webpage more accurate, improves the experience effect of user.
According to one embodiment of present invention, if the same page has polylith region all to have destination object (such as button), an identification generation unit and mark storage unit can be associated for each described destination object.Such as, two pieces of query region are had in webpage, each query region has respective querying condition combination, and respective corresponding " inquiry " button, when then each button is triggered, all generate unique identification according to the logic of oneself, and be stored as up-to-date unique identification respectively by respective mark storage unit.When receiving data response, first can identify the response of these data and correspond to which " inquiry " button, determine the mark storage unit associated thus, and these data are responded the unique identification carried and compare with the unique identification stored in the mark storage unit associated, determine whether to upgrade web page contents.Like this, the renewal display non-interference between these two pieces of query region can be made.
Fig. 3 shows the structural drawing of content update equipment 300 in the webserver according to an embodiment of the invention, content update equipment 300 resides in the webserver 120, this webserver 120 and computing equipment 110 communicate to connect, this webserver 120 is suitable for receiving from the request of data of computing equipment 110, and returns corresponding data and respond computing equipment 110.With reference to Fig. 3, content update equipment 300 comprises mark acquiring unit 310 and data response unit 320.
Mark acquiring unit 310 is suitable for, when receiving the request of data that computing equipment sends, obtaining the unique identification that this request of data is carried.The unique identification of request of data can be the mark of random number, timestamp or other any types, and the present invention does not limit this.Described request of data can be asynchronous data request (http Asynchronous Request), such as Ajax request.
Data response unit 320 is suitable for the unique identification that mark acquiring unit 310 obtains to add in data response to return to computing equipment.Data response unit 320 can carry out construction data response by the data content corresponding according to the content obtaining of request of data, and is added in the response of these data by the unique identification of request of data that mark acquiring unit 310 gets and return to computing equipment.
When computing equipment receives the data response of webserver transmission, whether identically with the up-to-date unique identification stored can judge that these data respond the unique identification carried, if so, then carry out the renewal of web page contents according to the response of these data, otherwise, do not carry out the renewal of web page contents.Like this, make computing equipment only process data response corresponding to last request of data for the data request operation of continuous several times, make the data content shown by webpage more accurate, improve the experience effect of user.
Fig. 4 shows the process flow diagram of content updating method in computing equipment according to an embodiment of the invention, this content updating method is suitable for performing in computing equipment, this computing equipment and webserver communication connection, this computing equipment comprises the webpage being suitable for the data content presented from the webserver, and this computing equipment is suitable for request of data to be sent to the webserver and receives the data response that the webserver returns.
With reference to Fig. 4, this content updating method is suitable for step S402.In step S402, according to the triggering to the such as button of destination object in webpage, generate the unique identification of request of data, and this unique identification is stored as up-to-date unique identification, such as, be stored as the global variable of the page.The unique identification of request of data can be the mark of random number, timestamp or other any types, and the present invention does not limit this.
In step s 404, this unique identification is added in described request of data, and this request of data is sent to the webserver, to make the webserver, this unique identification is added in data response to return to computing equipment.Described request of data can be asynchronous data request (http Asynchronous Request), such as Ajax request.
In step S406, when receiving the data response of webserver transmission, whether identically with the up-to-date unique identification stored judge that these data respond the unique identification carried, if, the renewal of web page contents is then carried out according to the response of these data, otherwise, do not carry out the renewal of web page contents.
According to the content updating method of the embodiment of the present invention, the operation behavior of user need not be controlled, and allow user to initiate arbitrary data request operation, and, the data request operation of continuous several times only processes data response corresponding to last request of data, make the data content shown by webpage more accurate, improve the experience effect of user.
According to one embodiment of present invention, if the same page has polylith region all to have destination object (such as button), then can associate a up-to-date unique identification for each described destination object.Correspondingly, in step S406, when receiving the data response of webserver transmission, whether identically with the up-to-date unique identification of respective objects object association judge that these data respond the unique identification carried, if, the renewal of web page contents is then carried out according to the response of these data, otherwise, do not carry out the renewal of web page contents.Like this, the renewal display non-interference between these two pieces of query region can be made.
Fig. 5 shows the process flow diagram of content updating method in the webserver according to an embodiment of the invention, this content updating method is suitable for performing in the webserver, this webserver is connected with computing device communication, this webserver is suitable for receiving from the request of data of computing equipment, and returns corresponding data and respond computing equipment.
With reference to Fig. 5, this content updating method is suitable for step S502.In step S502, when receiving the request of data that computing equipment sends, obtain the unique identification that this request of data is carried.The unique identification of request of data can be the mark of random number, timestamp or other any types, and the present invention does not limit this.Described request of data can be asynchronous data request (http Asynchronous Request), such as Ajax request.
In step S504, the unique identification of acquisition is added in data response and return to computing equipment.Can the data content corresponding according to the content obtaining of request of data come construction data response, and the unique identification of the request of data got is added to these data response in return to computing equipment.
When computing equipment receives the data response of webserver transmission, whether identically with the up-to-date unique identification stored can judge that these data respond the unique identification carried, if so, then carry out the renewal of web page contents according to the response of these data, otherwise, do not carry out the renewal of web page contents.Like this, make computing equipment only process data response corresponding to last request of data for the data request operation of continuous several times, make the data content shown by webpage more accurate, improve the experience effect of user.
Fig. 6 shows the block diagram being arranged as and realizing according to the Example Computing Device 900 of content updating method of the present invention.In basic configuration 902, computing equipment 900 typically comprises system storage 906 and one or more processor 904.Memory bus 908 may be used for the communication between processor 904 and system storage 906.
Depend on the configuration of expectation, processor 904 can be the processor of any type, includes but not limited to: microprocessor (μ P), microcontroller (μ C), digital information processor (DSP) or their any combination.Processor 904 can comprise the high-speed cache of one or more rank of such as on-chip cache 910 and second level cache 912 and so on, processor core 914 and register 916.The processor core 914 of example can comprise arithmetic and logical unit (ALU), floating-point unit (FPU), digital signal processing core (DSP core) or their any combination.The Memory Controller 918 of example can use together with processor 904, or in some implementations, Memory Controller 918 can be an interior section of processor 904.
Depend on the configuration of expectation, system storage 906 can be the storer of any type, includes but not limited to: volatile memory (such as RAM), nonvolatile memory (such as ROM, flash memory etc.) or their any combination.System storage 906 can comprise operating system 920, one or more application 922 and routine data 924.Application 922 can comprise the content update equipment 926 being configured to realize content updating method.Routine data 924 can comprise the unique identification 928 that can be used for request of data as described here.In some embodiments, application 922 can be arranged as and utilize routine data 924 to operate on an operating system.
Computing equipment 900 can also comprise the interface bus 940 communicated contributed to from various interfacing equipment (such as, output device 942, peripheral interface 944 and communication facilities 946) to basic configuration 902 via bus/interface controller 930.The output device 942 of example comprises Graphics Processing Unit 948 and audio treatment unit 950.They can be configured to contribute to communicating with the various external units of such as display or loudspeaker and so on via one or more A/V port 952.Exemplary peripheral interface 944 can comprise serial interface controller 954 and parallel interface controller 956, they can be configured to the external unit contributed to via one or more I/O port 958 and such as input equipment (such as, keyboard, mouse, pen, voice-input device, touch input device) or other peripheral hardwares (such as printer, scanner etc.) and so on and communicate.The communication facilities 946 of example can comprise network controller 960, and it can be arranged to is convenient to via one or more communication port 964 and the communication of one or more other computing equipments 962 by network communication link.
Network communication link can be an example of communication media.Communication media can be presented as computer-readable instruction, data structure, program module in the modulated data signal of such as carrier wave or other transmission mechanisms and so on usually, and can comprise any information delivery media." modulated data signal " can be such signal, the change of one or more or it of its data centralization can the mode of coded message in the signal be carried out.As nonrestrictive example, communication media can comprise the wire medium of such as cable network or private line network and so on, and such as sound, radio frequency (RF), microwave, infrared (IR) or other wireless medium are at interior various wireless mediums.Term computer-readable medium used herein can comprise both storage medium and communication media.
Computing equipment 900 can be implemented as a part for small size portable (or mobile) electronic equipment, and these electronic equipments can be such as cell phone, personal digital assistant (PDA), personal media player equipment, wireless network browsing apparatus, individual helmet, application specific equipment or the mixing apparatus that can comprise any function above.Computing equipment 900 can also be embodied as the personal computer comprising desktop computer and notebook computer configuration.
Intrinsic not relevant to any certain computer, virtual system or miscellaneous equipment with display at this algorithm provided.Various general-purpose system also can with use based on together with this teaching.According to description above, the structure constructed required by this type systematic is apparent.In addition, the present invention is not also for any certain programmed language.It should be understood that and various programming language can be utilized to realize content of the present invention described here, and the description done language-specific is above to disclose preferred forms of the present invention.
In instructions provided herein, describe a large amount of detail.But can understand, embodiments of the invention can be put into practice when not having these details.In some instances, be not shown specifically known method, structure and technology, so that not fuzzy understanding of this description.
Similarly, be to be understood that, in order to simplify the disclosure and to help to understand in each inventive aspect one or more, in the description above to exemplary embodiment of the present invention, each feature of the present invention is grouped together in single embodiment, figure or the description to it sometimes.But, the method for the disclosure should be construed to the following intention of reflection: namely the present invention for required protection requires feature more more than the feature clearly recorded in each claim.Or rather, as claims below reflect, all features of disclosed single embodiment before inventive aspect is to be less than.Therefore, the claims following embodiment are incorporated to this embodiment thus clearly, and wherein each claim itself is as independent embodiment of the present invention.
Those skilled in the art are appreciated that and adaptively can change the module in the equipment in embodiment and they are arranged in one or more equipment different from this embodiment.Module in embodiment or unit or assembly can be combined into a module or unit or assembly, and multiple submodule or subelement or sub-component can be put them in addition.Except at least some in such feature and/or process or unit be mutually repel except, any combination can be adopted to combine all processes of all features disclosed in this instructions (comprising adjoint claim, summary and accompanying drawing) and so disclosed any method or equipment or unit.Unless expressly stated otherwise, each feature disclosed in this instructions (comprising adjoint claim, summary and accompanying drawing) can by providing identical, alternative features that is equivalent or similar object replaces.
In addition, those skilled in the art can understand, although embodiments more described herein to comprise in other embodiment some included feature instead of further feature, the combination of the feature of different embodiment means and to be within scope of the present invention and to form different embodiments.Such as, in the following claims, the one of any of embodiment required for protection can use with arbitrary array mode.
All parts embodiment of the present invention with hardware implementing, or can realize with the software module run on one or more processor, or realizes with their combination.It will be understood by those of skill in the art that the some or all functions that microprocessor or digital signal processor (DSP) can be used in practice to realize according to the some or all parts in the content update equipment of the embodiment of the present invention.The present invention can also be embodied as part or all equipment for performing method as described herein or device program (such as, computer program and computer program).Realizing program of the present invention and can store on a computer-readable medium like this, or the form of one or more signal can be had.Such signal can be downloaded from internet website and obtain, or provides on carrier signal, or provides with any other form.
The present invention will be described instead of limit the invention to it should be noted above-described embodiment, and those skilled in the art can design alternative embodiment when not departing from the scope of claims.In the claims, any reference symbol between bracket should be configured to limitations on claims.Word " comprises " not to be got rid of existence and does not arrange element in the claims or step.Word "a" or "an" before being positioned at element is not got rid of and be there is multiple such element.The present invention can by means of including the hardware of some different elements and realizing by means of the computing machine of suitably programming.In the unit claim listing some devices, several in these devices can be carry out imbody by same hardware branch.Word first, second and third-class use do not represent any order.Can be title by these word explanations.

Claims (10)

1. a content update equipment, reside in computing equipment, this computing equipment and webserver communication connection, this computing equipment comprises the webpage being suitable for the data content presented from the webserver, and this computing equipment is suitable for request of data to be sent to the webserver and receives the data response that the webserver returns, and this content update equipment comprises:
Identification generation unit, is suitable for the unique identification generating request of data;
Mark storage unit, is suitable for the unique identification of the request of data of the up-to-date generation of storaging mark generation unit;
Request of data unit, be suitable for according to the triggering to destination object in webpage, notice identification generation unit generates the unique identification of request of data, and this unique identification is added in described request of data, this request of data is sent to the webserver, to make the webserver, this unique identification is added in data response to return to computing equipment; And
Response processing unit, when being suitable for the data response receiving webserver transmission, whether identically with the unique identification stored in mark storage unit judge that these data respond the unique identification carried, if, the renewal of web page contents is then carried out according to the response of these data, otherwise, do not carry out the renewal of web page contents.
2. content update equipment as claimed in claim 1, wherein, each described destination object in webpage associates an identification generation unit and mark storage unit.
3. content update equipment as claimed in claim 1, wherein, described unique identification is random number or timestamp.
4. the content update equipment as described in claim 1,2 or 3, wherein, described request of data is asynchronous data request.
5. a content update equipment, reside in the webserver, this webserver is connected with computing device communication, and this webserver is suitable for receiving the request of data from computing equipment, and return corresponding data and respond computing equipment, this content update equipment comprises:
Mark acquiring unit, is suitable for, when receiving the request of data that computing equipment sends, obtaining the unique identification that this request of data is carried; And
Data response unit, is suitable for the unique identification that mark acquiring unit obtains to add in data response to return to computing equipment.
6. content update equipment as claimed in claim 5, wherein, described unique identification is random number or timestamp.
7. the content update equipment as described in claim 5 or 6, wherein, described request of data is asynchronous data request.
8. a content update system, comprising:
The webserver, wherein resident just like the content update equipment according to any one of claim 5 to 7; And
The computing equipment communicated to connect with this webserver, wherein resident just like the content update equipment according to any one of Claims 1-4.
9. a content updating method, be suitable for performing in computing equipment, this computing equipment and webserver communication connection, this computing equipment comprises the webpage being suitable for the data content presented from the webserver, and this computing equipment is suitable for request of data to be sent to the webserver and receives the data response that the webserver returns, and this content updating method comprises:
According to the triggering to destination object in webpage, generate the unique identification of request of data, and this unique identification is stored as up-to-date unique identification;
This unique identification is added in described request of data, and this request of data is sent to the webserver, to make the webserver, this unique identification is added in data response to return to computing equipment; And
When receiving the data response of webserver transmission, whether identically with the up-to-date unique identification stored judge that these data respond the unique identification carried, if so, then carry out the renewal of web page contents according to the response of these data, otherwise, do not carry out the renewal of web page contents.
10. a content updating method, be suitable for performing in the webserver, this webserver is connected with computing device communication, and this webserver is suitable for receiving the request of data from computing equipment, and return corresponding data and respond computing equipment, this content updating method comprises:
When receiving the request of data that computing equipment sends, obtain the unique identification that this request of data is carried; And
The unique identification of acquisition is added in data response and return to computing equipment.
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 true CN104331306A (en) 2015-02-04
CN104331306B 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)

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106156308A (en) * 2016-06-30 2016-11-23 北京奇虎科技有限公司 Local updating method and system for webpage
CN106202296A (en) * 2016-06-30 2016-12-07 北京奇虎科技有限公司 The local updating method and system of webpage
CN106682176A (en) * 2016-12-29 2017-05-17 北京五八信息技术有限公司 Page loading method, equipment and device
CN107632852A (en) * 2017-07-26 2018-01-26 阿里巴巴集团控股有限公司 Information updating method and device
CN109002535A (en) * 2018-07-18 2018-12-14 腾讯科技(深圳)有限公司 A kind of data-updating method and device
CN109241066A (en) * 2017-07-04 2019-01-18 北京国双科技有限公司 Request processing method and device
CN109376320A (en) * 2018-09-26 2019-02-22 郑州云海信息技术有限公司 The data item update method and apparatus of web interface
CN109995745A (en) * 2017-12-31 2019-07-09 国民技术股份有限公司 A kind of information matching method, terminal and computer readable storage medium
CN111045985A (en) * 2019-11-25 2020-04-21 北京百度网讯科技有限公司 File storage processing method, server, electronic device and storage medium
CN111813851A (en) * 2020-05-25 2020-10-23 车智互联(北京)科技有限公司 Method and system for synchronizing data to webpage by mobile application and mobile terminal

Citations (6)

* 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
US20110213975A1 (en) * 2010-03-01 2011-09-01 Alessandro Sorniotti Secret interest groups in online social networks
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

Patent Citations (6)

* 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
US20110213975A1 (en) * 2010-03-01 2011-09-01 Alessandro Sorniotti Secret interest groups in online social networks
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

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
唐四薪: "《PHP Web程序设计与Ajax技术》", 31 January 2014, 清华大学出版社 *

Cited By (16)

* 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
CN106202296A (en) * 2016-06-30 2016-12-07 北京奇虎科技有限公司 The local updating method and system of webpage
CN106156308A (en) * 2016-06-30 2016-11-23 北京奇虎科技有限公司 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
CN109241066A (en) * 2017-07-04 2019-01-18 北京国双科技有限公司 Request processing method and device
CN109241066B (en) * 2017-07-04 2022-09-27 北京国双科技有限公司 Request processing method and device
CN107632852A (en) * 2017-07-26 2018-01-26 阿里巴巴集团控股有限公司 Information updating method and device
CN109995745B (en) * 2017-12-31 2023-02-24 国民技术股份有限公司 Information matching method, terminal and computer readable storage medium
CN109995745A (en) * 2017-12-31 2019-07-09 国民技术股份有限公司 A kind of information matching method, terminal and computer readable storage medium
CN109002535A (en) * 2018-07-18 2018-12-14 腾讯科技(深圳)有限公司 A kind of data-updating method and device
CN109376320A (en) * 2018-09-26 2019-02-22 郑州云海信息技术有限公司 The data item update method and apparatus of web interface
CN111045985A (en) * 2019-11-25 2020-04-21 北京百度网讯科技有限公司 File storage processing method, server, electronic device and storage medium
CN111045985B (en) * 2019-11-25 2023-10-24 北京百度网讯科技有限公司 File storage processing method, server, electronic device and storage medium
CN111813851A (en) * 2020-05-25 2020-10-23 车智互联(北京)科技有限公司 Method and system for synchronizing data to webpage by mobile application and mobile terminal
CN111813851B (en) * 2020-05-25 2023-10-20 车智互联(北京)科技有限公司 Method, system and mobile terminal for synchronizing data from mobile application to webpage

Also Published As

Publication number Publication date
CN104331306B (en) 2017-05-10

Similar Documents

Publication Publication Date Title
CN104331306A (en) Content updating method, equipment and system
CN105260420A (en) Method and device for providing target page in mobile application
CN104951099A (en) Method and device for showing candidate items based on input method
US10191986B2 (en) Web resource compatibility with web applications
CN104092555B (en) A kind of methods, devices and systems of undated parameter value
CN104823187A (en) Displaying sort results on mobile computing device
CN104572968A (en) Page updating method and device
CN105792022B (en) A kind of adaptive video playback method, device and audio/video player system
CN104504068A (en) Browser-based shopping information query method and browser device
CN102664874A (en) Method and system for secure logging in
CN102929971A (en) Multimedia information playing method and system
CA3154763A1 (en) Data operation method, device and system
JP7369229B2 (en) How to change the skin of the mini program page, devices and electronic devices
CN114375451A (en) Site and service signaling for driving automated custom system configuration
CN104573023A (en) Webpage picture checking method and device as well as computing device
US11468125B2 (en) Resource search method and related product
CN109739738A (en) Event log management method, system and relevant apparatus based on HTML5
WO2019024275A1 (en) Page loading method, device and computer equipment
CN110781269A (en) Method and equipment for searching books in reading application
CN112947954A (en) Interface updating method and device and storage medium
CN116205744A (en) Linkage recommendation display system, device and method
CN109377385A (en) Front end obtaining value method, device, computer readable storage medium and terminal
CN104462175A (en) Method and system for establishing integrated user interface using linked data
US11941094B2 (en) Screen unlocking method and apparatus, and computer device and storage medium
CN114996577A (en) Service management method, device, apparatus, storage medium, and program product

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