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

Method and system for generating reusable page based on image

A technology of image generation and page, which is applied in the field of computer applications, can solve the problems of large manpower consumption, inconsistency between page restoration and design drawings, manpower shortage, etc., and achieve the effect of reducing waste, reducing inaccurate page restoration, and improving work efficiency

Pending Publication Date: 2022-01-11
湖南映客互娱网络信息有限公司
View PDF0 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] The coding steps require the participation of professional programmers, but due to factors such as inconsistent levels of programmers, it is easy to cause inconsistencies between page restoration and design drawings. At the same time, in many cases, the components and elements designed on the page are actually similar, such as the same Buttons, the same banner, etc., are only changes in the size or color of the element. If it needs to be modified at this time, professional programmers are still required to participate, and it takes a lot of manpower to repeat the coding process, resulting in manpower tension.

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
  • Method and system for generating reusable page based on image

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0021] Exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although exemplary embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure may be embodied in various forms and should not be limited by the embodiments set forth herein. Rather, these embodiments are provided for more thorough understanding of the present disclosure and to fully convey the scope of the present disclosure to those skilled in the art.

[0022] The method for generating a reusable page based on an image is implemented by a device that includes a design diagram parsing module, a data storage module, a JSON component editing module, and a page rendering module, wherein,

[0023] The design diagram parsing module analyzes the sketch source file, parses the layer style and position information contained therein, and finds the inner layer elements of the parsing layer in...

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 relates to a method and system for generating a reusable page based on an image, and the method comprises the following steps: S1, converting a design drawing source file into a. Dsl-ended domain specific language file through an analysis module command line; s2, running an upload storage command, converting a domain specific language file ending with. Dsl into a JSON file by a storage module, storing the JSON file in a server, and returning a corresponding URL and an ID; s3, using a component editing module to import the corresponding URL and ID to obtain a corresponding JSON file, carrying out dragging editing operation on a page, and writing an edited result back into a storage module; and S4, splicing the unique ID in the URL provided by the rendering module to form a final URL, where the URL is a page address provided for the user to watch. According to the method, a programmable person uses a mouse dragging operation and a visual component editing module to modify the page content to a certain extent, and the page content can be online again after modification is completed, so that the manpower is greatly saved, and the working efficiency is improved.

Description

technical field [0001] The invention relates to the technical field of computer applications, in particular to a method and system for generating reusable pages based on images. Background technique [0002] With the development and popularization of network technology, the Internet has become the main medium for people to obtain and exchange information. The use of web pages for information publicity has become the main trend at present, and there are more and more platforms that provide page production. The current mainstream page development mode is that designers add pictures, text and other materials to the user interface design software Sketch by dragging, and assemble them into a complete design drawing by arranging and combining. [0003] Professional programmers manually code the design drawing, write the pictures, text and other elements in the design drawing into the web page code, and compile the code into a static HTML file through the compilation process. By d...

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): G06F8/36G06F8/34G06F3/04845G06F3/0486G06F9/451G06F16/955G06F16/958
CPCG06F8/36G06F8/34G06F16/958G06F16/955G06F9/451G06F3/04845G06F3/0486
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