Code data processing method and device and electronic equipment

A code data and processing method technology, applied in the field of automated coding, can solve problems such as error matching, cumbersome regular matching processing, code running error, etc., to achieve the effect of improving accuracy and efficiency

Pending Publication Date: 2022-01-21
CHINA CONSTRUCTION BANK
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0008] 1. Keywords are manually replaced by placeholders, which is error-prone and less accurate
[0009] 2. The use of regular matching for keywords to replace placeholders has certain limitations. Due to personal coding habits and project management coding standards, there will be many scenarios where matching rules need to be adjusted, especially in scenarios involving line breaks in Chinese copywriting. Regular matching is quite cumbersome to deal with, and manual adjustments are required to make it conform to the grammar specification
But no matter how personal coding habits are or how messy the code format is, the code formatting function of the editor can always accurately or...

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 data processing method and device and electronic equipment
  • Code data processing method and device and electronic equipment
  • Code data processing method and device and electronic equipment

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0040] In order to enable those skilled in the art to better understand the technical solutions in the present application, the technical solutions in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described The implementations are only some of the implementations of the present application, not all of them. Based on the implementation manners in this application, all other implementation manners obtained by persons of ordinary skill in the art without creative efforts shall fall within the protection scope of this application.

[0041] In view of the existing problems in the transformation of a large-scale code project with multiple legal entities, there are large differences in coding styles, the coexistence of multiple coding paradigms, and the parallelism of multiple frameworks. If it is processed based on the conventional regular matchin...

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 code data processing method and device and electronic equipment, and relates to the technical field of automatic coding. The method comprises the steps of obtaining a to-be-changed target character in a target code segment and a replacement character used for replacing the target character; obtaining a syntax tree of the target code segment; searching a target character from a text type node of the syntax tree; determining a target row of the searched character in the target code segment according to the syntax tree; and replacing the character found in the target line with a placeholder, and establishing an association relationship between the placeholder and the replacement character so as to replace the placeholder with the replacement character when the target code segment is compiled or executed. According to the scheme, the problem that existing character replacement is low in replacement accuracy and replacement efficiency is solved, and the technical effect of effectively improving the character replacement accuracy and replacement efficiency is achieved.

Description

technical field [0001] The present application relates to the technical field of automatic coding, in particular to a processing method, device and electronic equipment for code data. Background technique [0002] Information system refers to a human-computer integration system composed of computer hardware, network and communication equipment, computer software, information resources, information users and rules and regulations for the purpose of processing information flow. Simply put, an information system is a system that inputs data or information and generates information through processing. The task of the information system is to use modern computer and network communication technology to strengthen the information management of the enterprise. Through the investigation and understanding of the human resources, material resources, financial resources, equipment, technology and other resources owned by the enterprise, the correct data is established, processed and com...

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/38G06F8/41
CPCG06F8/38G06F8/42G06F8/425G06F8/427G06F8/436G06F8/43
Inventor 陈锐李保仓董全立
Owner CHINA CONSTRUCTION BANK
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