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

Code processing method and device, computer equipment and storage medium

A processing method and computer program technology, applied in the computer field, can solve problems such as lack of unified code writing and low efficiency of code maintenance process

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

AI Technical Summary

Problems solved by technology

[0003] The main purpose of this application is to provide a code processing method, device, computer equipment and storage medium, aiming to solve the problem that in the development process of existing software projects, the code submitted by each developer does not have a unified writing specification, which is easy to cause Technical issues with less efficient code maintenance process

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

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0047]It should be understood that the specific embodiments described here are only used to explain the present application, not to limit the present application.

[0048] It should be noted that all directional indications (such as up, down, left, right, front, back...) in the embodiments of the present application are only used to explain the relationship between the components in a certain posture (as shown in the drawings). If the specific posture changes, the relative positional relationship, movement conditions, etc., the directional indication will also change accordingly, and the connection may be a direct connection or an indirect connection.

[0049] refer to figure 1 , the code processing method of an embodiment of the present application, including:

[0050] S1: Traverse all non-keywords in the source code, and each time a non-keyword is traversed, judge whether the preset standard thesaurus contains the currently traversed non-keywords, wherein the currently trav...

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 processing method and device, computer equipment and a storage medium. The code processing method comprises the steps: traversing all non-keywords of a source code, andjudging whether a preset standard word bank contains the currently traversed non-keywords or not every time the non-keywords are traversed; if not, judging whether a preset conversion word bank contains a first non-keyword or not; if so, screening out a first conversion word corresponding to the first non-keyword from the conversion word bank; and rewriting the first conversion word according to apreset compiling standard, and replacing the first non-keyword with the rewritten first conversion word. According to the code processing method, the non-keyword in the source code is reconstructed;namely, by converting the non-keyword into the complete standard word, the reading workload can be effectively reduced when a maintainer needs to maintain the source code subsequently, so that the working efficiency of the maintainer is improved, and a unified code writing style suitable for all developers can be formed.

Description

technical field [0001] The present application relates to the field of computer technology, and in particular to a code processing method, device, computer equipment and storage medium. Background technique [0002] During the development process of current software projects, different developers need to be assisted to complete the codes of different stages of software project development or the codes of different functions, but in the process of writing codes, different developers may have different code programming As a habit, the code submitted by each developer does not have a unified writing specification, which makes the code maintenance process less efficient. And in general, for the convenience of personal writing and viewing, some specific developers will use some custom words to replace some complex words when writing code, for example, the custom word ap will be used to replace standard English words appointment, and generally does not attach a note to the custom...

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/70
CPCG06F8/70
Inventor 易杉峰
Owner PING AN TECH (SHENZHEN) CO LTD
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