Unlock instant, AI-driven research and patent intelligence for your innovation.

Code file generation method and device

A code file and file technology, applied in the field of computer software programming, can solve the problems of low work efficiency and low speed of manually generating code files, and achieve the effect of improving work efficiency

Inactive Publication Date: 2017-03-08
福建中金在线信息科技有限公司
View PDF3 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, the speed of manually generating code files is low and the work efficiency is low

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

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0041] The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only some, not all, embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present invention.

[0042] The embodiment of the invention discloses a method and device for generating code files, which can automatically and quickly generate code files and improve work efficiency.

[0043] Firstly, a method for generating a code file provided by an embodiment of the present invention will be introduced below.

[0044] In the code writing work, programmers, faced with code statements that often need to be rewritten, use manual search methods to find the same c...

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 embodiment of the invention provides a code file generation method and device. The method comprises the following steps: acquiring a first preset file with inherent contents and a second file with changing contents; reading the inherent contents of the first preset file line by line through a preset programming function, so that first code statements meeting preset statement conditions are determined; according to the first code statements, searching for first code definitions corresponding to the first code statements in the second file, and carrying out backup of the first code definitions and first code segments corresponding to the first code definitions in a third file; and after the backup of all the first code definitions and the code segments corresponding to the first code definitions in the third file is completed, generating a code file from final code segments in the third file. The code file generation method and device provided by the embodiment of the invention has the advantages that the code file can be automatically and rapidly generated, so that the work efficiency is improved.

Description

technical field [0001] The invention relates to the field of computer software programming, in particular to a method and device for generating code files. Background technique [0002] With the rapid development of information, the amount of code written by programmers is increasing, and the code repetition rate is high. Rewriting the same simple code leads to low work efficiency of programmers and low generation speed of code files. [0003] In actual work, in order to avoid repeated writing of the same simple code every time, programmers usually find the same code in the existing code file as the written code file, and copy the same code to the written code file, generate the code file. However, the speed of manually generating code files is low and the work efficiency is low. Contents of the invention [0004] The purpose of the embodiments of the present invention is to provide a method and device for generating code files, so as to realize the purpose of automatica...

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): G06F9/44
CPCG06F8/30
Inventor 沈文策
Owner 福建中金在线信息科技有限公司
Features
  • R&D
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More