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

Font library collection method, webpage rendering method, device and system

A webpage rendering and font library technology, applied in the computer field, can solve the problems of unsightly display of webpages on mobile terminals, overlapping intervals of text and pictures, etc., and achieve the effect of saving fees and reducing download traffic

Active Publication Date: 2018-04-03
TENCENT TECH (SHENZHEN) CO LTD
View PDF9 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] In the process of realizing the present invention, the inventors found that the prior art has at least the following problems: In addition to the development of the computing power of the mobile terminal, the fonts used by the mobile terminal and the character sets supported are also constantly developing and changing. getting richer
In the above solution, if the font library used by the proxy server does not match the font library used by the mobile terminal, the display of the webpage on the mobile terminal will be unsightly, the text and pictures will overlap or the intervals will be very wide, etc.

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
  • Font library collection method, webpage rendering method, device and system
  • Font library collection method, webpage rendering method, device and system
  • Font library collection method, webpage rendering method, device and system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0094] Please refer to figure 2 , which shows a method flow chart of the web page rendering method provided in Embodiment 1 of the present invention. This page rendering method can be used to figure 1 In the shown proxy server 140, the web page rendering method may include:

[0095] Step 202, receiving the web page address and unique identification information sent by the mobile terminal;

[0096] When the mobile terminal needs to access the webpage, it can send the webpage address and unique identification information to the proxy server. Wherein, the web page address may be a URL, and the unique identification information indicates the font library supported by the mobile terminal. The unique identifying information can be a set of hash values. The font library is an electronic font collection library of foreign fonts, Chinese fonts and related characters.

[0097] Step 204, obtaining corresponding webpage data according to the webpage address;

[0098] After receivin...

Embodiment 2

[0105] Please refer to image 3 , which shows a flow chart of the method for rendering a webpage provided in Embodiment 2 of the present invention. This page rendering method can be used to figure 1 In the shown proxy server 140, the web page rendering method may include:

[0106] Step 302, receiving the web page address, unique identification information and screen information sent by the mobile terminal;

[0107] When the mobile terminal needs to access the webpage, it can send the webpage address, unique identification information and screen information to the proxy server. Wherein, the web page address may be a URL, and the unique identification information indicates the font library supported by the mobile terminal. The unique identifying information can be a set of hash values. The font library is an electronic font collection library of foreign fonts, Chinese fonts and related characters.

[0108] The screen information may be the screen resolution of the mobile te...

Embodiment 3

[0128] Please refer to Figure 5 , which shows the method flow chart of the font collection method provided by the third embodiment of the present invention. This font collection method can be applied to figure 1 The mobile terminal 120 and the proxy server 140 are shown. The font collection method may include:

[0129] Step 502, the mobile terminal collects at least one font library supported by itself;

[0130] When the mobile terminal installs the browser for the first time, it can collect fonts supported by itself, usually one font, or multiple fonts.

[0131] Step 504, for each font, at least one hash value is calculated according to at least one character set information included in the font and a preset hash algorithm, each hash value corresponds to one character set information, and will be calculated to At least one hash value of the font is used as the unique identification information of the font.

[0132] When the mobile terminal collects the fonts supported b...

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 font collection method, a web page rendering method, a device and a system, belonging to the field of computers. The font collection method includes: receiving unique identification information sent by the mobile terminal, the unique identification information corresponding to the font supported by the mobile terminal; judging whether the unique identification information corresponds to the unique identification corresponding to the locally stored font The information is the same; if they are different, an instruction to upload fonts is fed back to the mobile terminal, so that the mobile terminal uploads the fonts supported by the mobile terminal to the local. The present invention uses the unique identification information to keep the font synchronization between the mobile terminal and the server, so that the server can use the font suitable for the mobile terminal to render the webpage data, so that the server can always provide better rendered webpages The data is sent to the mobile terminal, and then the mobile terminal can perfectly display the effect of the webpage according to the rendered webpage data.

Description

technical field [0001] The invention relates to the field of computers, in particular to a font collection method, a web page rendering method, a device and a system. Background technique [0002] With the development of computer and Internet technologies, using mobile terminals such as smart phones and tablet computers to browse webpages is one of the most common applications in people's daily life. [0003] At present, although the computing power of mobile terminals is constantly developing and enhancing, since the webpage rendering process in the process of browsing webpages requires a large amount of calculations, mobile terminals often experience freezes and slow rendering during the webpage rendering process. In order to solve this technical problem, a web browsing method provided in the prior art is: first, the mobile terminal initiates an access request to the proxy server through a URL (Universal Resource Locator, Uniform Resource Locator); The URL grabs the corre...

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
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