Code segment generation method and device, storage medium and computer device

A code generation and code segment technology, applied in the computer field, can solve problems such as inability to meet user needs, single function of generating code, cumbersome and repetitive basic code writing, etc., to reflect flexibility and practicability, improve code development efficiency, realize Customized effects

Pending Publication Date: 2019-11-12
PING AN TECH (SHENZHEN) CO LTD
View PDF0 Cites 19 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0002] The software development process generally selects one or more open source frameworks that developers are familiar with, organizes the dependencies of these frameworks from scratch, and then writes code based on these frameworks. The writing of most basic codes is cumbersome and repetitive. Occupies most of the development time and is prone to BUG (mistakes). Moreover, different developers have different code writing habits, and it is difficult to maintain in the subsequent code maintenance process.
[0003] In order to solve the problem of difficult code maintenance caused by the above-mentioned artificial differences, the existing technology often uses code generation tools to generate codes. The code generation tools can generate codes according to pre-written templates and database structures provided by users. It is relatively fixed, and the functions implemented by the generated code are relatively single, which cannot meet user needs

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 segment generation method and device, storage medium and computer device
  • Code segment generation method and device, storage medium and computer device
  • Code segment generation method and device, storage medium and computer device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0046] Embodiments of the present application are described in detail below, examples of which are shown in the drawings, wherein the same or similar reference numerals denote the same or similar elements or elements having the same or similar functions throughout. The embodiments described below by referring to the figures are exemplary only for explaining the present application, and are not construed as limiting the present application.

[0047] Those skilled in the art will understand that the singular forms "a", "an", "said" and "the" used herein may also include plural forms unless otherwise stated. It should be further understood that the word "comprising" used in the specification of the present application refers to the presence of the features, integers, steps, operations, elements and / or components, but does not exclude the presence or addition of one or more other features, Integers, steps, operations, elements, components, and / or combinations thereof.

[0048] f...

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 the technical field of computers, in particular to a code segment generation method and device, a storage medium and a computer device. The code segment generation method comprises: acquiring demand information generated by codes, and calling and displaying a code parameter configuration interface according to the demand information; setting a function module and a code parameter module corresponding to the demand information on the code parameter configuration interface; receiving a code function selected by a user on the function module and a code processing parameter input on the code parameter module, and generating a configuration file according to the code function and the code processing parameter; and when a code generation instruction is received, readinga code function in the configuration file, calling a bottom-layer code associated with the code function from a database, and generating a target code segment from the bottom-layer code according to the rule of the code processing parameter. According to the scheme provided by the invention, personalized customization of the target code segment can be realized.

Description

technical field [0001] The present application relates to the field of computer technology, and in particular, the present application relates to a code segment generation method, device, storage medium and computer equipment. Background technique [0002] The software development process generally selects one or more open source frameworks that developers are familiar with, organizes the dependencies of these frameworks from scratch, and then writes code based on these frameworks. The writing of most basic codes is cumbersome and repetitive. Occupying most of the development time, it is easy to generate bugs (errors). Moreover, different developers have different code writing habits, and it is difficult to maintain in the subsequent code maintenance process. [0003] In order to solve the problem of difficult code maintenance caused by the above-mentioned artificial differences, the existing technology often uses code generation tools to generate codes. The code generation ...

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/30
CPCG06F8/31
Inventor 侯丽
Owner PING AN TECH (SHENZHEN) 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