Network font loading method, device and system
A network and font technology, applied in electrical digital data processing, special data processing applications, instruments, etc., can solve problems such as slow web page loading and waste of server bandwidth.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0036] According to an embodiment of the present invention, an embodiment of a method for loading web fonts is provided. It should be noted that the steps shown in the flowcharts of the accompanying drawings can be executed in a computer system such as a set of computer-executable instructions, and, although A logical order is shown in the flowcharts, but in some cases the steps shown or described may be performed in an order different from that shown or described herein.
[0037] figure 1 is a flowchart of a web font loading method according to an embodiment of the present invention, such as figure 1 As shown, the method includes the following steps:
[0038] Step S102, obtaining the first text character in the static text content of the current webpage, and storing it in the front-end character cache library.
[0039] Specifically, in the above-mentioned steps, the above-mentioned static text content may be all text content in the html page after the page resource is loade...
Embodiment 2
[0098] According to an embodiment of the present invention, an embodiment of a network font loading system is also provided. The web font loading method in Embodiment 1 of the present invention can be implemented in the system embodiment provided in Embodiment 2 of the present invention.
[0099] Figure 7 is a schematic diagram of a web font loading system according to an embodiment of the present invention, such as Figure 7 As shown, the system includes: a front-end device 701 and a background server 703 .
[0100] The front-end device 701 is used to obtain the first text character in the static text content of the current webpage, and store it in the front-end character cache storehouse; detect the second text character of the updated dynamic text content in the current webpage, and store it in the front-end character cache storehouse Query the second text character, add the text characters not found in the front-end character cache library to the front-end character cac...
Embodiment 3
[0110] According to an embodiment of the present invention, an embodiment of a web font loading device is also provided. The web font loading method in Embodiment 1 of the present invention can be implemented in the device embodiment provided in Embodiment 2 of the present invention.
[0111] Figure 8 is a schematic diagram of a web font loading device according to an embodiment of the present invention, such as Figure 8 As shown, the system includes: a first acquisition module 801 , a detection module 803 , an update module 805 and a first processing module 807 .
[0112]Wherein, the first obtaining module 801 is used to obtain the first text character in the static text content of the current webpage, and stores it in the front-end character cache library; the detection module 803 is used to detect the first text character in the updated dynamic text content in the current webpage Two text characters, query the second text character in the front-end character cache store...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com