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

Method, system and corresponding client and server for saving complete content of webpage

A cloud server and client technology, applied in transmission systems, instruments, network data retrieval, etc., can solve the problems of consuming network bandwidth resources, high overhead and expensive machine resources, etc., to save machine resources, network bandwidth resources, and fast storage. Effect

Active Publication Date: 2017-09-01
TENCENT TECH (SHENZHEN) CO LTD
View PDF4 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0006] But above-mentioned technical solution can only be applicable to computer namely desktop platform, can't be applicable to the mobile terminal that machine performance is very poor namely mobile platform, for example smart phone, palmtop computer, panel computer etc., because the overhead of the conversion work of described client to machine resource If the above technical solution is directly transplanted to the mobile terminal, that is, the client is directly installed on the mobile terminal, and the existing method is used to extract and convert the webpage, it will lead to large resource overhead and low operating efficiency of the mobile terminal. Technical issues; at the same time, because the extraction and conversion of all content of the webpage (including all text and image resources) is completed on the client, and all content must be uploaded from the client to the cloud server, it will consume a lot of network bandwidth resources , and the network bandwidth resources of mobile terminals are relatively scarce and expensive

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
  • Method, system and corresponding client and server for saving complete content of webpage
  • Method, system and corresponding client and server for saving complete content of webpage
  • Method, system and corresponding client and server for saving complete content of webpage

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0039] Below in conjunction with accompanying drawing and specific embodiment the present invention will be described in further detail again

[0040] figure 1 It is a flow chart of the method for saving the complete content of the webpage according to the present invention. see figure 1 , the method mainly includes:

[0041] 101. The client acquires the document object model (DOM) tree of the webpage currently displayed on the browser parsed by the browser; and acquires all non-inline style data of the webpage.

[0042] The DOM is a standard programming interface for extensible markup language recommended by the W3C organization. The DOM can access and modify the content and structure of a document in a platform- and language-independent manner. In other words, this is a common way to represent and process a Hypertext Markup Language (HTML, Hypertext Markup Language) or Extensible Markup Language (XML, Extensible Markup Language), and the essence of a web page is composed ...

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

The invention discloses a method and system for saving webpage complete content, a corresponding client end and a transit server. The client end obtains a DOM tree and all non-inline type data of a currently displayed webpage analyzed by a browser, the DOM tree is traversed, the non-inline type data are converted to inline type data of all DOM elements, the inline type data are saved in the user-defined attributes of corresponding elements, and then the DOM tree is uploaded to the transit server. The transit server receives the DOM tree uploaded by the client end, picture data in the webpage are grabbed according to picture labels in the DOM tree, the DOM tree and the grabbed picture data are converted to formatted files needed by a cloud server according to formats needed by the cloud server, and the formatted files are uploaded to the cloud server to be saved. Through the client end and the transit server, a mobile terminal can be used for effectively and quickly saving complete content of webpages in the cloud server, and machine resource cost and network wideband resources of the mobile terminal can be saved at the same time.

Description

technical field [0001] The present application relates to the technical field of webpage data processing, and in particular to a method and system for storing complete content of a webpage, and a corresponding client and server. Background technique [0002] A web browser, referred to as a browser, refers to a client-side browsing program for World Wide Web (Web) services. When a browser accesses a web page, it can send various requests to the Web server and respond to hypertext information and various multimedia messages sent from the server. The data format is analyzed, displayed and played, so that the webpage is displayed on the terminal screen. [0003] When a user accesses a webpage through a browser, he often hopes to save the complete content of the currently browsed webpage. When he wishes to browse the webpage again later, he can normally browse the complete content of the webpage even without accessing the publishing server of the webpage. In order to meet this r...

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/30H04L29/08
CPCG06F16/95
Inventor 程亮潘农菲安婷婷谷琦
Owner TENCENT TECH (SHENZHEN) CO LTD
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