Specific embodiment
For making the object, technical solutions and advantages of the present invention clearer, below in conjunction with accompanying drawing to embodiment party of the present invention
Formula is described in further detail.
Referring to Fig. 1, embodiments provide a kind of method updating web data.Wherein, there are at least two marks
Sign interface, and each label interface all shows the corresponding webpage of same domain name, the method includes:
Step 101:The same webpage of storage in the corresponding web data of webpage that show label interface and local file
Corresponding web data is compared, and this local file is used for storing the domain name of this webpage, the last this webpage amended
Web data and standard state mark;
Step 102:When comparison result is inconsistent, the corresponding web data of webpage that this label interface is shown is updated to
The web data of the same webpage of this local file storage.
It is preferred that step 101 can be in the following way:
The domain name of the webpage being shown according to label interface, obtains the domain name corresponding standard shape of this webpage from local file
State identifies;
The status indicator of the webpage that this label interface is shown and standard state mark are compared;
Determine the label interface of web data to be updated according to comparison result.
It is preferred that this method can also include:
Previously according to the domain name of webpage, obtain web data and the standard state mark of this webpage;
The domain name of this webpage, the web data of this webpage and standard state mark is stored in local file.
Wherein, the domain name of this webpage, the web data of this webpage and standard state mark is stored in local file it
Afterwards, also include:
When the web data of this webpage in the arbitrary label interface in this at least two label interface occurs modification, update
Web data in local file;
Update the standard state mark of this webpage in local file according to amended web data.
It is preferred that this method can also include:
According to the domain name of this webpage, determine the corresponding server of this webpage;
Obtain the web data of this webpage and the status indicator in this server, and the status indicator by this webpage obtaining
Compare with the standard state mark of this webpage of storage in local file;
When comparison result is inconsistent, the standard state mark of this webpage of storage in local file is updated to acquisition
Status indicator, and the web data of this webpage of storage in local file is updated to the web data obtaining.
In embodiments of the present invention, terminal according in local file storage webpage web data, from multiple labels circle
The label interface of web data to be updated is detected, it is to avoid terminal periodic ground sends request of data to server and judges in face
Whether update the web data of this webpage in multiple label interfaces, and then save server resource and network bandwidth resources, and
And can in real time web data be updated.
Referring to Fig. 2, the embodiment of the present invention additionally provides a kind of method updating web data.Wherein, exist in client
At least two label interfaces, and each label interface all shows the web data of the corresponding webpage of same domain name.When at this at least
The web data of certain this webpage of label interface that two label interfaces include is modified, and updates in real time in other label interfaces
The web data of this webpage.The method includes:
Step 201:Client, according to the domain name of this webpage, obtains web data and the state mark of this webpage from server
Know, and show the web data of this webpage in label interface;
It is preferred that when user accesses certain webpage, user end to server sends and obtains request message, and this acquisition is asked
The domain name of this webpage is carried in message.Server receives this acquisition request message, according to the domain name of this webpage, from the domain of storage
Web data and the status indicator of this webpage is obtained in name, the corresponding relation of web data and status indicator, and by this webpage
Web data and status indicator are sent to client.Client receives web data and the status indicator of this webpage, for this webpage
Establishing label interface, and the web data of reception is shown in this label interface, and storage receives under this label interface
Status indicator.
Wherein, server generates a webpage previously according to the web data of this webpage, distributes a domain name for this webpage.
Additionally, server is previously according to the web data of this webpage, the web data for this webpage generates a status indicator, and stores
The corresponding relation of this webpage domain name, web data and status indicator.
Wherein, the status indicator of web data is used for showing the state of this web data in server, and passes through this net
The status indicator of page data may determine that whether server is consistent with the web data of this webpage in client.
Wherein, when user opens at least two same webpages, there are at least two label interfaces in this terminal to show
This same webpage.
Wherein, in embodiments of the present invention, can by the corresponding webpage of the same domain name of multiple browser display it is also possible to
Show the corresponding webpage of same domain name by multiple label interfaces under same browser.
Step 202:The domain name of this webpage, the web data of this webpage and status indicator are stored in local file by client
In;
It is preferred that client creates the corresponding relation of domain name, web data and standard state mark in local file, and
By the domain name of this webpage, the web data of this webpage and status indicator be stored in the domain name that local file includes, web data with
In the corresponding relation of standard state mark.
Wherein, after client shows the web data of the corresponding webpage of same domain name at least two label interfaces,
Client can as follows 203 to step 207 update this at least two label interface in this webpage web data and
Status indicator.
Step 203:When the web data of this webpage in certain label interface occurs modification, according to amended webpage number
According to the status indicator obtaining amended web data, by the web data of this webpage in local file and standard state mark point
It is not updated to amended web data and the status indicator obtaining;
It is preferred that this step can pass through as follows(1)-(3)Step realizing, including:
(1), when user have modified the web data of this webpage in arbitrary label interface of at least two label interfaces,
User end to server sends amended web data;This label interface is in the multiple label interfaces show same webpage
One label interface.
It is preferred that when user have modified this webpage in client under arbitrary label interface of at least two label interfaces
During web data, user submits modification order to client, and client receives this modification order, and generates a modification interface,
By this modification interface display to user.When user has changed the web data of this webpage, submit to client and complete order, visitor
Family end obtains the amended web data of user, and amended web data is sent to server.
Wherein, a modification button and a completing button can be included in client, when user is in multiple label interfaces
Arbitrary label interface under change this webpage web data when, user can by this modification button to client submit to modification
Order, when user has changed the web data of this webpage, user can be submitted to client by this completing button and change
Become order.
(2), server receive amended web data, and according to receive web data, generate the webpage of this webpage
The status indicator of data, and the status indicator of generation is sent to client;
It is preferred that server receives the amended web data that client sends, generated according to the web data receiving
The status indicator of this web data, and corresponding according to the domain name of this webpage of storage in the domain Name acquisition server of this webpage
Status indicator, the status indicator of acquisition is updated to the status indicator generating, and the status indicator after updating is sent to client
End.
Further, after server receives amended web data, server is by the webpage of this webpage of storage
Data is updated to amended web data.
(3), client receive this status indicator, and by the web data of this webpage in local file and standard state mark
It is updated to amended web data and the status indicator receiving respectively;
It is preferred that client receives the status indicator of this web data, and the domain name according to this webpage, by local file
The web data of this webpage is updated to amended web data, and the standard state of this webpage in local file is identified more
New is the status indicator receiving.
Wherein, web data and the standard state mark of each modification can be stored in local file, and to nearest one
The web data of secondary modification and standard state mark are identified.So, when the web data that the user discover that modification makes a mistake
When, this user can also carry out the recovery of web data by the web data of each modification of storage in local file, and
Web data to the last modification and standard state mark are identified, and client can be made to update label interface to be updated
In web data when, rapidly obtain web data and the standard state mark of the last modification, and then rapidly update
Web data in label interface to be updated and status indicator.
Step 204:The domain name of the webpage being shown according to this label interface, obtains the domain name pair of this webpage from local file
The standard state mark answered;
It is preferred that the domain name of webpage that client periodically shows according to this label interface, obtain from local file
The domain name corresponding standard state mark of this webpage.
Step 205:The status indicator of the web data that client shows according to this at least two label interface and acquisition
Standard state identifies, and selects the status indicator corresponding label interfaces different from the standard state mark obtaining;
It is preferred that the client status indicator of web data that this at least two label interface is shown and the standard obtaining
Status indicator is compared respectively, if both are different, selects the corresponding label interface of this status indicator, and the mark that will select
Sign interface and be defined as the status indicator corresponding label interfaces different from the status indicator obtaining.
Wherein, if both identical it is determined that the web data of this webpage and this at least two label circle in local file
In face, the web data of display is identical, and that is, in local file, the web data of this webpage does not change.
Step 206:The label interface of selection is defined as the label interface of web data to be updated by client;
Step 207:The web data of display in the label interface of web data to be updated is updated to local literary composition by client
The web data of this webpage of storage in part;
Further, client by the label interface of web data to be updated display web data status indicator more
It is newly the web data corresponding standard state mark of this webpage in local file.
In embodiments of the present invention, terminal according in local file storage webpage web data, from multiple labels circle
The label interface of web data to be updated is detected, it is to avoid terminal periodic ground sends request of data to server and judges in face
Whether update the web data of this webpage in multiple label interfaces, and then save server resource and network bandwidth resources, and
And can in real time web data be updated.
Referring to Fig. 3, the embodiment of the present invention additionally provides a kind of method updating web data.Wherein, exist in client
At least two label interfaces, and each label interface all shows the web data of the corresponding webpage of same domain name.User can be
Mobile terminal changes the web data of this webpage, and the web data of modification is synchronized in server, then, client according to
In server, the web data of this webpage updates the web data of this webpage in this at least two label interface.The method includes:
Step 301:Client, according to the domain name of this webpage, obtains web data and the state mark of this webpage from server
Know, and show the web data of this webpage in label interface;
It is preferred that when user accesses certain webpage, user end to server sends and obtains request message, and this acquisition is asked
The domain name of this webpage is carried in message.Server receives this acquisition request message, according to the domain name of this webpage, from the domain of storage
Web data and the status indicator of this webpage is obtained in name, the corresponding relation of web data and status indicator, and by this webpage
Web data and status indicator are sent to client.Client receives web data and the status indicator of this webpage, for this webpage
Establishing label interface, and the web data of reception is shown in this label interface, and storage receives under this label interface
Status indicator.
Wherein, server generates a webpage previously according to the web data of this webpage, distributes a domain name for this webpage.
Additionally, server is previously according to the web data of this webpage, the web data for this webpage generates a status indicator, and stores
The corresponding relation of this webpage domain name, web data and status indicator.
Wherein, the status indicator of web data is used for showing the state of this web data in server, and passes through this net
The status indicator of page data may determine that whether server is consistent with the web data of this webpage in client.
Wherein, when user opens at least two same webpages, there are at least two label interfaces in this terminal to show
This same webpage.
Wherein, in embodiments of the present invention, can by the corresponding webpage of the same domain name of multiple browser display it is also possible to
Show the corresponding webpage of same domain name by multiple label interfaces under same browser.
Step 302:The domain name of this webpage, the web data of this webpage and status indicator are stored in local file by client
In;
It is preferred that the domain name of this webpage, the web data of this webpage and status indicator are stored in local file by client
Including domain name, web data and standard state mark corresponding relation in.
Wherein, after client shows the web data of the corresponding webpage of same domain name at least two label interfaces,
Client can as follows 303 to step 309 update this at least two label interface in this webpage web data and
Status indicator.
Step 303:Client, according to the domain name of this webpage, determines the corresponding server of this webpage;
Step 304:Client obtains the web data of this webpage and status indicator in this server, and this net that will obtain
In status indicator and the local file of page, the standard state of this webpage of storage identifies and compares;
It is preferred that client periodically sends to this server obtains request, in this acquisition request, carry this webpage
Domain name;Server receives the domain name of this webpage, according to the domain name of this webpage, obtains web data and the status indicator of this webpage,
And the web data of this webpage obtaining and status indicator are sent to client;Client receive this webpage web data and
Status indicator, the standard state mark of this webpage of storage in local file is compared with the status indicator obtaining, if
Both differences are it is determined that the web data going out this webpage in server changes.
Wherein, when client judges the standard state mark of this webpage of storage in local file and the state mark obtaining
Sensible with it is determined that the web data going out this webpage in server does not change.
It is preferred that client obtains the status indicator of this webpage in server first, will from server obtain state
Mark with local file in storage this webpage standard state identify compare, when both are different, client is to service
Device sends synchronous data requests, carries the domain name of this webpage in this synchronous data requests;Server receives this synchronous data requests,
The corresponding web data of domain name of this webpage of domain Name acquisition according to this webpage, and the web data of acquisition is sent to client
End.
Preferably, the web data changing in this web data can be sent to client by server, so, can
To save the network bandwidth resources of a part.
Step 305:Standard state when this webpage of storage in the status indicator of this webpage and local file in server
When mark is different, the web data of this webpage of storage in local file and status indicator are updated to acquisition by client respectively
Web data and status indicator;
Wherein, web data and the standard state mark of each modification can be stored in local file, and to nearest one
The web data of secondary modification and standard state mark are identified.So, when the web data that the user discover that modification makes a mistake
When, this user can also carry out the recovery of web data by the web data of each modification of storage in local file, and
Web data to the last modification and standard state mark are identified, and client can be made to update label interface to be updated
In web data when, rapidly obtain web data and the standard state mark of the last modification, and then rapidly update
Web data in label interface to be updated and status indicator.
Step 306:The web data of this webpage and status indicator at least two label interfaces are updated by client respectively
Web data for acquisition and status indicator.
In embodiments of the present invention, client is somebody's turn to do according in the corresponding status indicator of this webpage in server and local file
The corresponding status indicator of webpage, determines that the web data of this webpage in server changes, thus to multiple in client
In label interface, the web data of this webpage is updated.Wherein, judge the webpage number of this webpage in server in the client
During according to changing, just the web data of this webpage in label interfaces multiple in client being updated, saving server
Resource, alleviates the burden of server.
Referring to Fig. 4, embodiments provide a kind of device updating web data.Wherein, there are at least two marks
Sign interface, and each label interface all shows the corresponding webpage of same domain name, this device can include:
Comparing module 401, the corresponding web data of the webpage for showing label interface and storage in local file
The corresponding web data of same webpage is compared, and this local file is used for storing the domain name of webpage, the last amended
The web data of this webpage and standard state mark;
First update module 402, when the comparison result for comparing out comparing module 401 is inconsistent, will be with standard shape
The corresponding web data of webpage that the state mark inconsistent state corresponding label interface of mark shows is updated to local file storage
Same webpage web data.
It is preferred that this comparing module 401, the domain name of the webpage for being shown according to this label interface, from local file
Obtain the domain name corresponding standard state mark of this webpage;The status indicator of the webpage that this label interface is shown and local file
In this webpage standard state mark compare;Determine the label interface of web data to be updated according to comparison result
It is preferred that as shown in figure 5, this device can also include:
Memory module 403, for the domain name previously according to webpage, obtains web data and the standard state mark of this webpage
Know;The domain name of this webpage, the web data of this webpage and standard state mark is stored in local file.
It is preferred that as shown in fig. 6, this device also includes:
Second update module 404, for when the net of this webpage in the arbitrary label interface in this at least two label interface
When page data occurs modification, update the web data in local file;And local file is updated according to amended web data
In this webpage standard state mark.
It is preferred that this device also includes:
3rd update module, for the domain name according to this webpage, determines the corresponding server of this webpage;
Obtain the web data of this webpage and status indicator in server, and by the status indicator of this webpage obtaining and this
In ground file, the standard state mark of this webpage of storage is compared;
When comparison result is inconsistent, the standard state mark of this webpage of storage in local file is updated to acquisition
Status indicator, and the web data of this webpage of storage in local file is updated to the web data obtaining.
In embodiments of the present invention, terminal according in local file storage webpage web data, from multiple labels circle
The label interface of web data to be updated is detected, it is to avoid terminal periodic ground sends request of data to server and judges in face
Whether update the web data of this webpage in multiple label interfaces, and then save server resource and network bandwidth resources, and
And can in real time web data be updated.
Referring to Fig. 7, embodiments provide a kind of terminal device, this terminal device can be used for implementing above-mentioned enforcement
The method of the renewal web data providing in example.Wherein, this terminal device can move for mobile phone, panel computer pad, Wearable
Equipment(As intelligent watch)Deng.Preferential:
Terminal device 700 can include communication unit 110, include one or more computer-readable recording mediums
Memory 120, input block 130, display unit 140, sensor 150, voicefrequency circuit 160, WiFi (wireless
Fidelity, Wireless Fidelity) module 170, the processor 180 including or more than one processing core and power supply
190 grade parts.It will be understood by those skilled in the art that the terminal device structure shown in Fig. 5 is not constituted to terminal device
Limit, ratio can be included and illustrate more or less of part, or combine some parts, or different part arrangements.Wherein:
Communication unit 110 can be used for receiving and sending messages or communication process in, the reception of signal and transmission, this communication unit 110
Can be RF(Radio Frequency, radio frequency)Circuit, router, modem, etc. network communication equipment.Especially, when
When communication unit 110 is RF circuit, after the downlink information of base station is received, transfer at one or more than one processor 180
Reason;In addition, up data is activation will be related to base station.Usually as communication unit RF circuit include but is not limited to antenna,
At least one amplifier, tuner, one or more oscillator, subscriber identity module(SIM)Card, transceiver, coupler,
LNA(Low Noise Amplifier, low-noise amplifier), duplexer etc..Additionally, communication unit 110 can also be by wireless
Communication is communicated with network and other equipment.Described radio communication can use arbitrary communication standard or agreement, including but not limited to
GSM (Global System of Mobile communication, global system for mobile communications), GPRS (General
Packet Radio Service, general packet radio service), CDMA (Code Division Multiple Access, code
Point multiple access), WCDMA (Wideband Code Division Multiple Access, WCDMA), LTE (Long
Term Evolution, Long Term Evolution), Email, SMS (Short Messaging Service, Short Message Service) etc..
Memory 120 can be used for storing software program and module, and processor 180 passes through to run the software journey being stored in memory 120
Sequence and module, thus execute various function application and data processing.Memory 120 can mainly include storing program area and deposit
Storage data field, wherein, storing program area can application program needed for storage program area, at least one function(Such as sound is broadcast
Playing function, image player function etc.)Deng;Storage data field can store according to terminal device 700 using the data being created(Than
As voice data, phone directory etc.)Deng.Additionally, memory 120 can include high-speed random access memory, can also include non-
Volatile memory, for example, at least one disk memory, flush memory device or other volatile solid-state parts.Accordingly
Ground, memory 120 can also include Memory Controller, to provide processor 180 and input block 130 to memory 120
Access.
Input block 130 can be used for numeral or the character information of receives input, and produces and user setup and function
Control relevant keyboard, mouse, action bars, optics or trace ball signal input.Preferably, input block 130 may include tactile
Sensitive surfaces 131 and other input equipments 132.Touch sensitive surface 131, also referred to as touch display screen or Trackpad, can collect use
Family is thereon or neighbouring touch operation(Such as user uses any suitable object such as finger, stylus or annex in touch-sensitive table
Operation on face 131 or near Touch sensitive surface 131), and corresponding attachment means are driven according to formula set in advance.Optional
, Touch sensitive surface 131 may include touch detecting apparatus and two parts of touch controller.Wherein, touch detecting apparatus detection is used
The touch orientation at family, and detect the signal that touch operation brings, transmit a signal to touch controller;Touch controller is from touch
Receive touch information in detection means, and be converted into contact coordinate, then give processor 180, and can receiving processor 180
The order sent simultaneously is executed.Furthermore, it is possible to using polytypes such as resistance-type, condenser type, infrared ray and surface acoustic waves
Realize Touch sensitive surface 131.Except Touch sensitive surface 131, input block 130 can also include other input equipments 132.Preferably,
Other input equipments 132 can include but is not limited to physical keyboard, function key(Such as volume control button, switch key etc.)、
One or more of trace ball, mouse, action bars etc..
Display unit 140 can be used for showing by the information of user input or the information and the terminal device that are supplied to user
700 various graphical user interface, these graphical user interface can be come by figure, text, icon, video and its any combination
Constitute.Display unit 140 may include display floater 141, optionally, can using LCD (Liquid Crystal Display,
Liquid crystal display), the form such as OLED (Organic Light-Emitting Diode, Organic Light Emitting Diode) to be configuring display
Panel 141.Further, Touch sensitive surface 131 can cover display floater 141, when Touch sensitive surface 131 detect thereon or near
Touch operation after, send processor 180 to determine the type of touch event, with preprocessor 180 according to touch event
Type provides corresponding visual output on display floater 141.Although in Figure 5, Touch sensitive surface 131 and display floater 141 are
To realize input and input function as two independent parts, but in some embodiments it is possible to by Touch sensitive surface 131 with
Display floater 141 integrated and realize input and output function.
Terminal device 700 may also include at least one sensor 150, such as optical sensor, motion sensor and other
Sensor.Preferably, optical sensor may include ambient light sensor and proximity transducer, and wherein, ambient light sensor can basis
The light and shade of ambient light adjusting the brightness of display floater 141, proximity transducer can when terminal device 700 moves in one's ear,
Close display floater 141 and/or backlight.As one kind of motion sensor, Gravity accelerometer can detect all directions
On(Generally three axles)The size of acceleration, can detect that size and the direction of gravity when static, can be used for identifying mobile phone attitude
Application(Such as horizontal/vertical screen switching, dependent game, magnetometer pose calibrating), Vibration identification correlation function(Such as pedometer, strike
Hit)Deng;The gyroscope that can also configure as terminal device 700, barometer, hygrometer, thermometer, infrared ray sensor etc. other
Sensor, will not be described here.
Voicefrequency circuit 160, loudspeaker 161, microphone 162 can provide the COBBAIF between user and terminal device 700.
Electric signal after the voice data receiving conversion can be transferred to loudspeaker 161, is changed by loudspeaker 161 by voicefrequency circuit 160
For voice signal output;On the other hand, the voice signal of collection is converted to electric signal by microphone 162, is connect by voicefrequency circuit 160
Voice data is converted to after receipts, then after voice data output processor 180 is processed, such as another to be sent to through RF circuit 110
One terminal device, or voice data is exported to memory 120 to process further.Voicefrequency circuit 160 is also possible that
Earphone jack, to provide the communication of peripheral hardware earphone and terminal device 700.
In order to realize radio communication, this terminal device can be configured with wireless communication unit 170, this wireless communication unit
170 can be WiFi module.WiFi belongs to short range wireless transmission technology, and terminal device 700 can by wireless communication unit 170
To help user to send and receive e-mail, to browse webpage and access streaming video etc., it has provided the user wireless broadband interconnection
Net accesses.Although Fig. 5 shows wireless communication unit 170, but it is understood that, it is simultaneously not belonging to terminal device 700
Must be configured into, can omit in the scope of essence not changing invention as needed completely.
Processor 180 is the control centre of terminal device 700, using various interfaces and connection whole mobile phone each
Part, is stored in software program and/or module in memory 120 by running or executing, and calls and be stored in memory
Data in 120, the various functions of execution terminal device 700 and processing data, thus carry out integral monitoring to mobile phone.Optional
, processor 180 may include one or more processing cores;Preferably, processor 180 can integrated application processor and modulatedemodulate
Adjust processor, wherein, application processor mainly processes operating system, user interface and application program etc., modem processor
Main process radio communication.It is understood that above-mentioned modem processor can not also be integrated in processor 180.
Terminal device 700 also includes the power supply 190 powered to all parts(Such as battery)It is preferred that power supply can lead to
Cross power-supply management system logically contiguous with processor 180, thus by power-supply management system realize management charge, electric discharge and
The functions such as power managed.Power supply 190 can also include one or more direct current or AC power, recharging system, electricity
The random component such as source failure detector circuit, power supply changeover device or inverter, power supply status indicator.
Although not shown, terminal device 700 can also include camera, bluetooth module etc., will not be described here.Specifically exist
In the present embodiment, the display unit of terminal device is touch-screen display, and terminal device also includes memory, and one or
The more than one program of person, one of or more than one program storage in memory, and be configured to by one or
More than one computing device is one or more than one program bag contains the instruction for carrying out following operation:
By the label interface corresponding web data of webpage showing and the corresponding net of same webpage storing in local file
Page data is compared, local file be used for storing the domain name of webpage, the web data of the last this webpage amended and
Standard state identifies;
When comparison result is inconsistent, the corresponding web data of webpage that label interface is shown is updated to local file and deposits
The web data of the same webpage of storage.
Alternatively, memory also includes carrying out the instruction of following operation:The corresponding webpage of webpage that label interface is shown
Data is compared with the corresponding web data of same webpage of storage in local file, including:
The domain name of the webpage being shown according to label interface, obtains the domain name corresponding standard shape of this webpage from local file
State identifies;The status indicator of the webpage that label interface is shown and standard state mark are compared;Determined according to comparison result
Go out the label interface of web data to be updated.
Alternatively, memory also includes carrying out the instruction of following operation:Previously according to the domain name of webpage, obtain this webpage
Web data and standard state mark;The domain name of this webpage, the web data of this webpage and standard state mark is stored in this
In ground file.
Alternatively, memory also includes carrying out the instruction of following operation:Web data by the domain name of this webpage, this webpage
After being stored in local file with standard state mark, also include:
When the web data of this webpage in the arbitrary label interface at least two label interfaces occurs modification, update this
Web data in ground file;Standard state mark is updated according to amended web data.
Alternatively, memory also includes carrying out the instruction of following operation:
According to the domain name of this webpage, determine the corresponding server of this webpage;Obtain the webpage number of this webpage in server
According to and status indicator, and the standard state mark by this webpage of storage in status indicator and the local file of this webpage obtaining
Compare;When comparison result is inconsistent, the standard state mark of this webpage of storage in local file is updated to obtain
Status indicator, and by local file storage this webpage web data be updated to obtain web data.
In embodiments of the present invention, terminal according in local file storage webpage web data, from multiple labels circle
The label interface of web data to be updated is detected, it is to avoid terminal periodic ground sends request of data to server and judges in face
Whether update the web data of this webpage in multiple label interfaces, and then save server resource and network bandwidth resources, and
And can in real time web data be updated.
It should be noted that:Above-described embodiment provide renewal web data in the Internet, applications, only with above-mentioned each work(
The division of energy module is illustrated, and in practical application, can distribute above-mentioned functions by different functions as desired
Module completes, and the internal structure of device will be divided into different functional modules, described above all or part of to complete
Function.In addition, above-described embodiment device of renewal web data providing and the embodiment of the method updating web data belong to same
One design, it implements process and refers to embodiment of the method, repeats no more here.
One of ordinary skill in the art will appreciate that all or part of step realizing above-described embodiment can pass through hardware
To complete it is also possible to the hardware being instructed correlation by program is completed, described program can be stored in a kind of computer-readable
In storage medium, storage medium mentioned above can be read-only storage, disk or CD etc..
The foregoing is only presently preferred embodiments of the present invention, not in order to limit the present invention, all spirit in the present invention and
Within principle, any modification, equivalent substitution and improvement made etc., should be included within the scope of the present invention.