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

Front-end code generation method and device, electronic equipment and storage medium

A technology for generating devices and codes, applied in the computer field, can solve problems such as low front-end code generation efficiency, and achieve the effects of improving generation efficiency and reducing duplication of work.

Pending Publication Date: 2021-12-07
BANK OF CHINA
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] In view of this, the present invention discloses a front-end code generation method, device, electronic equipment, and storage medium to solve the problem of low front-end code generation efficiency due to the need for developers to perform a large number of repetitive tasks

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
  • Front-end code generation method and device, electronic equipment and storage medium
  • Front-end code generation method and device, electronic equipment and storage medium
  • Front-end code generation method and device, electronic equipment and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0039] It should be noted that a front-end code generation method, device, electronic equipment, and storage medium provided by the present invention can be applied in the field of big data or the field of finance. The foregoing is only an example, and does not limit the application field of a method, device, electronic device, and storage medium for generating a front-end code provided by the present invention.

[0040] 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 making creative efforts belong to the protection scope of the present invention.

[0041] The embodiment of the present invention...

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 front-end code generation method and device, electronic equipment and a storage medium, and is applied to the field of big data or finance. The method comprises the following steps: acquiring an initial fragment of a front-end code to be written currently in a static page, extracting a code tag from the initial fragment, searching master code fragments all related to the code tag from a code database based on the code tag, and determining a target master code fragment with the highest weight value as the front-end code to be written currently. Therefore, the common front-end codes are stored in the code database in the form of the master code snippets, so that when a developer compiles similar front-end codes again, the corresponding front-end codes can be directly obtained from the code database based on the initial snippets of the front-end codes to be compiled at present, therefore, repeated work caused by writing repeated codes by developers is effectively reduced, and the generation efficiency of the front-end codes is improved.

Description

technical field [0001] The present invention relates to the field of computer technology, and more specifically, to a method, device, electronic equipment and storage medium for generating front-end codes. Background technique [0002] The existing normal front-end development process is: developers write static pages according to business needs. In practical applications, developers need to write front-end codes for different static pages, and most of the static pages written by developers may have similar front-end codes. Therefore, developers usually need to perform a lot of repetitive work, resulting in the generation of front-end codes low efficiency. Contents of the invention [0003] In view of this, the present invention discloses a front-end code generation method, device, electronic equipment, and storage medium to solve the problem of low front-end code generation efficiency due to the need for developers to perform a large amount of repetitive work. [0004] ...

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/30G06F8/33
CPCG06F8/31G06F8/33
Inventor 董艳芬
Owner BANK OF CHINA
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