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

Full-platform compatible image-text topic display method

A display method, graphic and text technology, applied in the direction of user interface execution, program control device, etc., can solve problems such as dependence

Pending Publication Date: 2020-10-30
杭州智会学科技有限公司
View PDF0 Cites 1 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0006] The purpose of the present invention is to provide a method for displaying graphic titles compatible with all platforms, so as to solve the problem of relying on HTML, XML framework and browser support when the graphic data of web page titles in the prior art is used for display on other terminals

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
  • Full-platform compatible image-text topic display method

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0026] The present invention will be further described below in conjunction with the accompanying drawings and embodiments.

[0027] like figure 1 As shown, a method for displaying graphic titles compatible with all platforms includes the following steps:

[0028] (1) Preprocess the graphic and text data in the target topic to convert it into a data format that conforms to the LaTeX language grammar specification.

[0029] The text data in the target topic contains at least text, numbers, letters, etc., and the image data in the target topic contains at least symbols, formulas, etc., so the text data and image data are converted separately to obtain the text and images in the format of the LaTeX language grammar specification data.

[0030] (2) Using an analysis program to analyze the graphic data preprocessed in step (1) to generate graphical description data.

[0031] In this embodiment, the preprocessed text and image data are analyzed by using the MathJax library as an ...

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 full-platform compatible image-text topic display method. The method comprises the following steps: (1) converting target topic data; (2) analyzing the converted data to generate graphical description data; (3) inserting the description data into the HTML template; (4) adjusting a resolution parameter of the HTML template; (5) loading the HTML template by adopting a headless browser and rendering the HTML template; (6) acquiring the position information of the content elements by using a headless browser; (7) carrying out accurate screenshot on the content type elements according to the position information of the content type elements; (8) storing the screenshots in a file format suitable for the object terminal, and displaying the screenshots on the object terminal. According to the method, the dependence of a platform on HTML, XML and a browser is broken, the consistency of the structure under any resolution can be ensured, and proper pictures can be rapidly rendered in batches.

Description

technical field [0001] The invention relates to the field of web page data processing methods, in particular to a method for displaying graphic titles compatible with all platforms. Background technique [0002] In educational software-related products, topic information is the most important part of student learning and practice. The display effect of topic information directly affects students' reading efficiency and comprehension. The display effect of topic information includes but is not limited to: font format and size, text length and segmentation of each line, standardization of mathematical formulas, position, size and clarity of pictures, etc. Especially in the display of mathematical formulas and other difficult-to-describe content, it needs to be rendered into graphical information that is easy for the human brain to understand. [0003] The traditional display solution is to use HTML technology to mix graphics and text. At present, the HTML5 technology solutio...

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
IPC IPC(8): G06F9/451
CPCG06F9/451
Inventor 杨仁斌
Owner 杭州智会学科技有限公司
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