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

A method and device for controlling coding

A coding and source code technology, applied in the field of control coding, can solve the problems of reducing the workload and improving work efficiency, reducing the efficiency of development and the quality of the developed software, and the heavy workload of code modification, etc., so as to reduce the workload of communication , reduce technical difficulty and workload, and improve the effect of quality

Active Publication Date: 2016-04-06
BEIJING FEINNO COMM TECH
View PDF2 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Although at this stage some companies will formulate specification documents to constrain developers and ensure code consistency between development teams, however, even if there are specification documents, there are very few developers who take the initiative to read and abide by them. It achieves the effect of reducing the workload of different developers in communication and improving work efficiency; during project handover, the problems caused by inconsistent coding specifications will be extremely prominent, and the workload of code modification will be very large, and even the code needs to be rewritten. As a result, a great waste of resources has been caused, and the efficiency of development and the quality of the developed software have been reduced.

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
  • A method and device for controlling coding
  • A method and device for controlling coding
  • A method and device for controlling coding

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0023] In order to make the object, technical solution and advantages of the present invention clearer, the implementation manner of the present invention will be further described in detail below in conjunction with the accompanying drawings.

[0024] see figure 1 , a method for controlling coding provided in Embodiment 1 of the present invention, including the following processing:

[0025] 11: Analyzing the source code to obtain element information corresponding to the source code, where each element information corresponds to an element model;

[0026] 12: Generate required encoding rules according to the same element model as the above element model of the source code.

[0027] 13: Comparing the corresponding coding rules with the element information of the source code, and judging whether the source code complies with the coding rules according to the comparison result.

[0028] 14: When the element information is consistent with the encoding rule, that is, the source ...

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 control coding method and a control coding device. The control coding method and the control coding device can reduce communication work amount of developers, improves work efficiency, reduces technical difficulties in startup and handover and improves development efficiency and development safeware quality. The control coding method provided by an embodiment of the invention comprises analyzing source codes to obtain element information corresponding to the source codes and corresponding to element models; generating required coding rules according to the element models; and comparing the corresponding coding rules with the element information of the source codes and judging whether the source codes meet the coding rules according to the comparison results. In on yes judgment, the source codes are operated; in on no judgment, the source codes are forbidden to be operated.

Description

technical field [0001] The present invention relates to the technical field of computer software, in particular to a method and device for controlling coding. Background technique [0002] Most of the software development work is to write code, and the quality of the code determines the quality of the software. One of the ways to improve the quality of the code is for the development team to abide by the coding standards. Coding specification is a convention, which reduces the developer's degree of freedom in personal coding. In a sense, it can help developers not to worry about the choice of some coding details. A unified coding standard can reduce the communication workload between personnel and improve work efficiency. [0003] In the existing software development operations, there are at least the following problems: [0004] The developers in the development team are old and new, with different levels, and each has different coding habits. Although at this stage some...

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 Patents(China)
IPC IPC(8): G06F11/36G06F9/44
Inventor 姚明军
Owner BEIJING FEINNO COMM TECH
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