Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

A method, device and terminal equipment for updating web page data

A web page data, web page technology, applied in the Internet field, can solve the problems of excessive server resources and network bandwidth resources, timer blocking, long time, etc., and achieve the effect of saving server resources and network bandwidth resources, and real-time update.

Active Publication Date: 2017-02-15
XIAOMI INC
View PDF3 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] Regardless of whether the webpage data of the webpage in the server changes, the thread of each tab interface must periodically send the status identifier of the webpage to the server, which will consume too much server resources and network bandwidth resources; and each tab The thread of the interface needs to use the timer of the browser when periodically sending the status identifier of the web page to the server. Since the browser is usually single-threaded, the timer is sometimes blocked by other threads, resulting in sending the status of the web page to the server. The status identification takes a long time and cannot be fully real-time

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • A method, device and terminal equipment for updating web page data
  • A method, device and terminal equipment for updating web page data
  • A method, device and terminal equipment for updating web page data

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0024] In order to make the object, technical solution and advantages of the present invention clearer, the implementation manner of the present invention will be further described in detail below in conjunction with the accompanying drawings.

[0025] see figure 1 , the embodiment of the present invention provides a method for updating web page data. Wherein, there are at least two tabbed interfaces, and each tabbed interface displays a webpage corresponding to the same domain name, and the method includes:

[0026] Step 101: Compare the webpage data corresponding to the webpage displayed on the label interface with the webpage data corresponding to the same webpage stored in a local file, the local file is used to store the domain name of the webpage, the webpage data of the webpage after the latest modification and standard status identification;

[0027] Step 102: When the comparison results are inconsistent, update the webpage data corresponding to the webpage displayed...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

Disclosed are a webpage data update method and apparatus and a terminal device, which belong to the field of the Internet. The method comprises: comparing webpage data corresponding to a webpage displayed on a tab interface with webpage data corresponding to the same webpage stored in a local file, where the local file is used for storing a domain name of the webpage, webpage data of the webpage after the latest change, and a standard state identifier; and when a comparison result is inconsistent, updating the webpage data corresponding to the webpage displayed on the tab interface with the webpage data of the same webpage stored in the local file. By means of the method, apparatus, and terminal device provided in the embodiments of the present disclosure, a server resource and a network bandwidth resource may be saved, and webpage data may be updated in real time.

Description

technical field [0001] The invention relates to the field of the Internet, in particular to a method, device and terminal equipment for updating web page data. Background technique [0002] Users can display webpages corresponding to the same domain name through multiple tabbed interfaces. When the webpage data of a certain tabbed interface included in the multiple tabbed interfaces changes, the client needs to update the webpage of this webpage in other tabbed interfaces in real time. data. [0003] At present, when the client displays webpages corresponding to the same domain name through multiple tabbed interfaces, the webpage data and status identifiers of the webpage are stored in the multiple tabbed interfaces, and the client creates a thread for the multiple tabbed interfaces respectively. For the thread corresponding to a tabbed interface included in the plurality of tabbed interfaces, the thread periodically sends the status identifier of the webpage to the server;...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Patents(China)
IPC IPC(8): G06F17/30
CPCG06F16/9574
Inventor 任远姚丽梅
Owner XIAOMI INC
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products