Unlock instant, AI-driven research and patent intelligence for your innovation.

JSX file generation method and device, storage medium and computer equipment

A technology of file generation and computer programs, applied in the field of information processing, can solve problems such as complex processes and achieve the effect of improving convenience

Active Publication Date: 2018-07-17
ONE CONNECT SMART TECH CO LTD SHENZHEN
View PDF6 Cites 4 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] Based on this, it is necessary to provide a JSX file generation method, device, storage medium and computer equipment for the technical problem that the above-mentioned JSX file conversion and generation process is relatively complicated.

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
  • JSX file generation method and device, storage medium and computer equipment
  • JSX file generation method and device, storage medium and computer equipment
  • JSX file generation method and device, storage medium and computer equipment

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0021] In order to make the object, technical solution and advantages of the present invention clearer, the present invention will be further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described here are only used to explain the present invention, not to limit the present invention.

[0022] The JSX file generating method provided by the present invention can be applied to such as figure 1 shown in the application environment, refer to figure 1 As shown, the application environment of the JSX file generation method includes a terminal 110 and a server 120 . The terminal 110 can be connected to the server 120 through a network, wherein the terminal 110 can be a terminal used by a user who designs or develops a JSX file, and the server 120 can be a server suitable for generating a JSX file. Wherein, the terminal 110 or the server 120 can store the PSD file to be processed, and c...

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 JSX file generation method and device, a storage medium and computer equipment. The method comprises the steps of obtaining a PSD file to be processed; recognizing visual information in each picture layer in the PSD file and position information of the visual information in the corresponding picture layer; according to the visual information and the position informationin each picture layer, forming a corresponding hierarchical file, and performing classified storage; obtaining a JSX template file matched with the PSD file; according to the position information of the visual information in the corresponding picture layer in the hierarchical file which is subjected to classified storage, loading the corresponding visual information into the corresponding region of the JXS template file, and generating the JSX file. According to the JSX file generation method and device, the storage medium and the computer equipment, the JSX file generation convenience can beimproved.

Description

technical field [0001] The invention relates to the technical field of information processing, in particular to a JSX file generation method, device, storage medium and computer equipment. Background technique [0002] JSX (JavaScript XML) is an XML-like syntax for building tags inside React components. JSX files are descriptive text composed of JSX commands. JSX files are required when creating user interface view components with React. [0003] The traditional JSX file generation method is to convert the PSD file into an HTML file, and then convert it into a JSX file according to the converted HTML file. Since this traditional method requires two conversions when generating JSX files, the conversion process is more complicated. Contents of the invention [0004] Based on this, it is necessary to provide a JSX file generation method, device, storage medium and computer equipment for the technical problem that the conversion and generation process of the above-mentioned ...

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): G06F8/30
CPCG06F8/30G06F8/427
Inventor 桂浩群
Owner ONE CONNECT SMART TECH CO LTD SHENZHEN