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

Code reconstruction method and device

A technology of code and function code, which is applied in the field of code reconstruction methods and devices, can solve the problems of increased maintenance cost and difficulty, and achieve the effects of improving maintainability, speeding up compilation time, and reducing code complexity

Pending Publication Date: 2020-10-13
INDUSTRIAL AND COMMERCIAL BANK OF CHINA
View PDF4 Cites 3 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, with the iterative upgrade of the project, the control logic code is nested too deeply due to the functional logic, and after the iteration cycle reaches a certain time, the nesting at the code level and the complexity of the code will increase exponentially. If things go on like this, a large amount of technical debt will accumulate. Increase the complexity of the software itself, and the cost and difficulty of maintenance will also increase significantly

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 reconstruction method and device
  • Code reconstruction method and device
  • Code reconstruction method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

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

[0039] Those skilled in the art should understand that the embodiments of the present invention may be provided as methods, systems, or computer program products. Accordingly, the present invention can take the form of an entirely hardware embodiment, an entirely software embodiment, or an embodiment combining software and hardware aspects. Furth...

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 reconstruction method and device, and the method comprises the steps: carrying out the static code analysis of a to-be-reconstructed code, so as to generate an abstract syntax tree; reconstructing the abstract syntax tree according to a preset function code mark in the to-be-reconstructed code; and generating a source code file according to the reconstructed abstractsyntax tree. According to the code reconstruction method and device provided by the invention, automatic reconstruction of waste codes is realized, the maintainability of the codes is improved, the compiling time of the codes is shortened, and the code complexity is reduced.

Description

technical field [0001] The present invention relates to the technical field of computer data processing, in particular to the technical field of intelligent decision-making, and in particular to a code reconstruction method and device. Background technique [0002] In the context of the development mode of continuous integration of the project, if the project function goes online, it often needs to implement the gray release strategy; in the function node release, the system function usually requires different implementations of the same function. Therefore, some features and function code flags that need to be enabled will be introduced in the project code to distinguish different function implementation logics. However, with the iterative upgrade of the project, the control logic code is nested too deeply due to the functional logic, and after the iteration cycle reaches a certain time, the nesting at the code level and the complexity of the code will increase exponentiall...

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/72G06F8/75G06F8/41G06F11/36
CPCG06F8/72G06F8/75G06F8/4435G06F8/425G06F11/3604
Inventor 徐克宝谢鹏夏添隋臣
Owner INDUSTRIAL AND COMMERCIAL 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