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

Picture display method and picture display device

A technology for displaying pictures and pictures, applied in the Internet field, can solve the problems of limited screen size and low efficiency of viewing pictures, and achieve the effect of improving efficiency

Active Publication Date: 2015-06-24
TENCENT TECH (SHENZHEN) CO LTD
View PDF6 Cites 4 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, currently, due to the limited screen size of mobile terminals, mobile terminals need to display these pages with large information in pages
[0003] Among them, it needs to be explained that the pictures contained in the webpage are often not displayed by the mobile terminal on the first page, so for users who only want to view the pictures in the webpage, they need to constantly turn pages to view the pictures, resulting in the efficiency of viewing pictures. lower

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
  • Picture display method and picture display device
  • Picture display method and picture display device
  • Picture display method and picture display device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0019] see figure 1 , an embodiment of the present invention provides a method for displaying pictures, including:

[0020] Step 101: Obtain the page data of the web page;

[0021] Step 102: According to the page data of the webpage, prevent rendering and display of other page content in the webpage except pictures;

[0022] Step 103: rendering and displaying the pictures in the webpage.

[0023] Preferably, according to the page data of the webpage, preventing rendering and preventing displaying other page contents in the webpage except pictures, including:

[0024] Construct the DOM (Document Object Model, Document Object Model) tree of the webpage according to the page data of the webpage;

[0025] Delete other nodes except the image node from the DOM tree of the web page, so as to prevent rendering and display other page content in the web page except the image.

[0026] Preferably, rendering and displaying the pictures in the webpage includes:

[0027] Obtain the pic...

Embodiment 2

[0048] Based on the method shown in Embodiment 1, this embodiment of the present invention provides a method for displaying pictures.

[0049] Among them, when the user needs to open a certain web page and wants to browse the pictures contained in the web page, he can submit a command to the terminal, and the terminal receives the command, and prevents the rendering and display of the pictures in the web page through the method provided in this embodiment. other page content; and, rendering and displaying images from that web page. see figure 2 , the method includes:

[0050] Step 201: Obtain the page data of the webpage that the user needs to open;

[0051] Specifically, the terminal obtains the URL of the webpage that the user needs to open, and sends a first request message for obtaining the page data of the webpage to the webpage server, where the first request message carries the URL of the webpage; The URL of the webpage carried in a request message, obtain the page ...

Embodiment 3

[0093] see image 3 , an embodiment of the present invention provides a device for displaying pictures, including:

[0094] The first obtaining module 301 is used to obtain the page data of the web page;

[0095] The first blocking module 302 is used for preventing rendering and displaying other page contents in the webpage except pictures according to the page data of the webpage;

[0096] The first display module 303 is configured to render and display pictures in the webpage.

[0097] Preferably, the first blocking module 302 includes:

[0098] A construction unit, configured to construct a DOM tree of the webpage according to the page data of the webpage;

[0099] The deletion unit is used to delete other nodes except the image node from the DOM tree of the webpage, so as to prevent rendering and display of other page contents in the webpage except the image.

[0100] Preferably, the first display module 303 includes:

[0101] The first obtaining unit is used to obtain,...

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 picture display method and a picture display device and belongs to the field of internet. The picture display method includes acquiring page data of a web page; stopping rendering and stopping displaying other page content except for pictures in the web page according to the page data of the web page; rendering and displaying the pictures in the web page. The picture display device comprises a first acquiring module, a first stopping module and a first display module. The picture display method and the picture display device have the advantages that other interference information except for the pictures is eliminated, and user's picture viewing efficiency is improved.

Description

technical field [0001] The invention relates to the Internet field, in particular to a method and device for displaying pictures. Background technique [0002] With the rapid development of Internet technology, some webpages contain relatively large amounts of information. These webpages contain pictures, and also include a large amount of information other than pictures, such as text information. However, currently, due to the limited screen size of the mobile terminal, the mobile terminal needs to display these webpages with relatively large information in pages. [0003] Among them, it needs to be explained that the pictures contained in the webpage are often not displayed by the mobile terminal on the first page, so for users who only want to view the pictures in the webpage, they need to constantly turn pages to view the pictures, resulting in the efficiency of viewing pictures. lower. Contents of the invention [0004] In order to improve the efficiency of users vi...

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 Applications(China)
IPC IPC(8): G06F17/30
CPCG06F16/9577
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