Code generation method and device, electronic equipment and readable storage medium

A code generation and code technology, applied in the computer field, can solve problems such as low computing efficiency, achieve accurate and effective predictions, and improve computing efficiency

Active Publication Date: 2021-10-15
KE COM (BEIJING) TECHNOLOGY CO LTD
View PDF6 Cites 4 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] The present invention provides a code generation method, device, electronic equipment and readable storage medium, which are us

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
  • Code generation method and device, electronic equipment and readable storage medium
  • Code generation method and device, electronic equipment and readable storage medium
  • Code generation method and device, electronic equipment and readable storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0076] In order to make the purpose, technical solutions and advantages of the present invention clearer, the technical solutions in the present invention will be clearly and completely described below in conjunction with the accompanying drawings in the present invention. Obviously, the described embodiments are part of the embodiments of the present invention , but not all examples. 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.

[0077] The present invention aims at the problems of large amount of computation, low efficiency and low accuracy in the prior art, by adding attention mechanism to the image processing module and the natural language processing module, and extracting the features of the screenshot of the webpage and the source code of the corresponding webpage based on this, By generating codes through featu...

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 provides a code generation method and device, electronic equipment and a readable storage medium. The method comprises the steps of obtaining a webpage screenshot of a target front-end webpage and a webpage source code corresponding to the webpage screenshot; extracting a first feature of the webpage screenshot based on the convolutional neural network visual model with the attention mechanism, and extracting a second feature of the webpage source code based on the language processing network model with the attention mechanism; fusing the first feature and the second feature to obtain a fused feature; and generating a code of the target front-end webpage based on the fusion feature and the decoding model. The attention mechanism is added into the image processing module and the natural language processing module, and the webpage screenshot and the characteristics of the corresponding webpage source code are extracted and fused based on the attention mechanism, so that accurate and effective prediction of codes can be realized only through key calculation on a part of vocabularies with strong correlation and an image local region; therefore, the operation amount can be effectively reduced, and the operation efficiency and accuracy are effectively improved.

Description

technical field [0001] The present invention relates to the field of computer technology, in particular to a code generation method, device, electronic equipment and readable storage medium. Background technique [0002] With the development of Internet digital technology, the development of automated front-end technology has attracted more and more people's attention. There is a concept called Hyper Text Markup Language (HTML) in the automation front-end technology, which is a markup language, including a series of tags, through which the document format on the network can be unified, so that scattered Internet resources are connected as a logical whole. HTML text is a descriptive text composed of HTML codes, which associates text, graphics and other information media in the text through hyperlinks. [0003] The current bottleneck in the development of automated front-end technology is computing power. At present, using deep learning technology and synthetic training data...

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/38G06N3/04G06N3/08
CPCG06F8/38G06N3/08G06N3/048G06N3/045G06N3/044
Inventor 李佳佳
Owner KE COM (BEIJING) TECHNOLOGY CO LTD
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