Image-based interface code generation method and system

A technology of interface code and image, applied in the computer field, can solve problems such as dead interface, reduced user experience, heavy workload, etc., and achieve the effect of enhancing efficiency and enhancing user experience

Active Publication Date: 2016-09-07
SUN YAT SEN UNIV
View PDF4 Cites 47 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

If the business changes frequently in the later stage, or the same business needs but there are multiple possibilities, the workload is still very large
[0004] Patent CN200610001470.5 The interface is temporarily generated according to the configuration file, the generated interface is dead, and the user cannot adjust the interface content according to his own needs, which reduces the user experience

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
  • Image-based interface code generation method and system
  • Image-based interface code generation method and system
  • Image-based interface code generation method and system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0047] The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only some, not all, embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without creative efforts fall within the protection scope of the present invention.

[0048] Based on the above principles, the present invention is designed to be able to more accurately detect the eye condition of the user during the use of the smartphone, even if the collected image information is of lower quality in harsh environments such as weak light. An effective intervention system is stimulated after the occurrence of different degrees of fatigue to prevent various problems caused by the deterioration of eye fatigue, and at the same time, i...

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

Embodiments of the invention disclose an image-based interface code generation method and system. The method comprises the steps of inputting a to-be-processed UI design graph and performing preprocessing; performing type identification on the processed design graph and judging use of a UI; obtaining a plurality of graphic layers by utilizing snake-like traversal and deep search methods; identifying indivisible minimum sub-graphic layer content in combination with positioning in different types of interfaces by utilizing texts; establishing a hierarchical data structure for recording webpage information of the graphic layers in the UI design graph, controls, images, text content and attributes; and obtaining a complete HTML code of the interface by utilizing a method for generating different graphic layers by recursion. According to the embodiments of the method and system, the code conversion efficiency of the image interface is enhanced and the user experience is improved.

Description

technical field [0001] The invention relates to the technical field of computers, in particular to a method and system for generating interface codes based on images. Background technique [0002] Patent CN201010194523.6, a template-based method for automatically generating user application interface codes. This method analyzes the business requirements according to the customer's requirements, and analyzes the business model and searches the typical interface template library through the obtained demand business model. Another patent CN200610001470.5 is an interface automatic generation method and system. This method generates configuration description codes by compiling configuration files, and loads the codes into the memory space to form a user application interface. [0003] Patent CN201010194523.6 analyzes business requirements during use to correspond to different template interfaces, greatly reducing flexibility. If the business changes frequently in the later per...

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): G06F9/44
CPCG06F8/38
Inventor 陈湘萍刘高亮刘鹏鹏黄若孜王涵鑫吕威
Owner SUN YAT SEN UNIV
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products