[go: up one dir, main page]

CN113672219A - Source code management multiplexing method - Google Patents

Source code management multiplexing method Download PDF

Info

Publication number
CN113672219A
CN113672219A CN202110985622.4A CN202110985622A CN113672219A CN 113672219 A CN113672219 A CN 113672219A CN 202110985622 A CN202110985622 A CN 202110985622A CN 113672219 A CN113672219 A CN 113672219A
Authority
CN
China
Prior art keywords
source code
project
code management
algorithm
database
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202110985622.4A
Other languages
Chinese (zh)
Inventor
江肇伟
庄万明
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Shenlan Yiwang Information Technology Co ltd
Original Assignee
Guangdong Shenlan Yiwang Information Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangdong Shenlan Yiwang Information Technology Co ltd filed Critical Guangdong Shenlan Yiwang Information Technology Co ltd
Priority to CN202110985622.4A priority Critical patent/CN113672219A/en
Publication of CN113672219A publication Critical patent/CN113672219A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/30Creation or generation of source code
    • G06F8/36Software reuse
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/70Software maintenance or management

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Stored Programmes (AREA)

Abstract

本发明公开了一种源码管理复用方法,涉及计算机编程领域,包括以下步骤:步骤S1:根据源码的复用性,定义源码类型;步骤S2:整理源码文件,并选好行业信息及其他备注信息录入到源码管理库中;步骤S3:程序员根据项目的使用情况,在源码管理库中提交使用申请;步骤S4:使用申请经过评审后,源码管理库会根据设定好的算法,自动配置和组合,创建并生成好项目文件和数据库文件,并储存于源码管理库中;步骤S5:组合生成的新项目会成为新的源码,自动归档到源码管理库中。本发明生成的项目源码文件会根据算法进行自动的合并组合,在这过程中会创建项目所需的文件夹,配置程序和关联工具类;从而真正的实现源码复用。

Figure 202110985622

The invention discloses a source code management and multiplexing method, which relates to the field of computer programming and includes the following steps: step S1: defining source code types according to the reusability of source codes; step S2: sorting source code files, and selecting industry information and other remarks The information is entered into the source code management library; Step S3: The programmer submits a use application in the source code management library according to the usage of the project; Step S4: After the application is reviewed, the source code management library will be automatically configured according to the set algorithm and combination, create and generate project files and database files, and store them in the source code management library; step S5: the new project generated by the combination becomes a new source code and is automatically archived in the source code management library. The project source code files generated by the present invention will be automatically combined and combined according to the algorithm, and in the process, the required folders, configuration programs and associated tool classes will be created for the project, thereby truly realizing source code reuse.

Figure 202110985622

Description

Source code management multiplexing method
Technical Field
The invention relates to the field of computer programming, in particular to a source code management multiplexing technology capable of realizing rapid development in system research and development.
Background
The source code management multiplexing technology means that a programmer can automatically bring out codes and a database in a source code library according to the needs of a project in the project development so as to achieve the purpose of multiplexing the source codes. Currently, source code management multiplexing techniques are blank. When a programmer develops a new program design, the following method is mainly adopted: the original development experience is utilized to split and copy from the local project, and then the split and copy are multiplexed into the program being written; acquiring codes from an open source project website, and multiplexing the codes into a program being written; the source code is obtained by a search engine or the like and reused in the program being written. However, the way of acquiring the source code needs to be manually switched back and forth among the integrated development IDE, the browser and the local project, continuously adjust the query statement and manually search for similar source codes, which takes a lot of time, is inconvenient and is easy to make mistakes.
In the traditional source code multiplexing, the user needs to continuously jump back and forth in a webpage or a local project, and the programmer often loses the patience of the multiplexing code; secondly, query sentences need to be continuously adjusted and similar source codes need to be manually searched, automatic source code extraction is difficult to achieve, and programmers can spend a great deal of time and energy; programmers need to rely on past project experience to find effective available source codes, the source codes are difficult to filter and screen quickly and effectively, and effective refinement is difficult to obtain; moreover, when source code files are found, the source code files need to be merged again in a manual mode, and a database needs to be generated manually, so that the efficiency is difficult to improve.
Disclosure of Invention
The invention aims to provide a source code management multiplexing method, which has the advantages of realizing source code multiplexing and improving the working efficiency of development so as to solve the problems in the background technology.
In order to achieve the purpose, the invention provides the following technical scheme:
a source code management multiplexing method comprises the following steps:
step S1: defining a source code type according to the conditions of reusability, expandability, industry range, use scenes and the like of the source code;
step S2: arranging a source code file, including a source code program file and a database script file, selecting industry information and other remark information, and inputting the industry information and the other remark information into a source code management library;
step S3: the programmer submits a use application in a source code management library according to the use condition of the project;
step S4: after the application is reviewed by the source code management library, the source code management library is automatically configured and combined according to a set algorithm, and a project file and a database file are created and generated and stored in the source code management library;
step S5: the new project generated by combination becomes a new source code and is automatically filed in the source code management library.
As a still further scheme of the invention: the source code types are divided into the following six types: front end: the project built by the pure front-end framework does not contain the business logic code II form: basic form documents, such as personnel files, inspection reports and the like module: a complete module function, including front and back end codes, most of which can run independently the function of (4): one specific functional method of the front-end or back-end, for example: upload multiple accessories, import supplier data frame: a complete project, including front and back end codes and database files, and others: auxiliary tools, etc.
As a still further scheme of the invention: the source code program file and the database script file need to be arranged according to a specified good format, when the source code program file and the database script file are called, the source code management library takes out the source code program according to an algorithm and combines the source code program and the source code program into codes, and meanwhile, a corresponding database, a table, a view and a storage process can be generated according to the database script.
As a still further scheme of the invention: the industry information and other remark information need to be selected well according to actual conditions, and when the industry information and other remark information are reused in the later period, the algorithm can perform correlation matching on the industry information and other remark information according to projects.
As a still further scheme of the invention: the project condition needs to be well associated with industry information and other remark information, so that the algorithm association is facilitated; because the source code management library is related to confidentiality and security, the downloading and the use can be confirmed through an approval process.
As a still further scheme of the invention: the project file created by the algorithm comprises programs of a front end and a back end, and an interface layer and a tool class used for associating the front end and the back end.
As a still further scheme of the invention: the database created by the algorithm is automatically created by a set database script and comprises a database, a table, a view, a storage process and the like; the field names, field lists and primary foreign key relationships in the tables are automatically generated and associated.
As a still further scheme of the invention: the project files created by the algorithm are combined to generate new projects which become new source codes and are automatically filed in a source code library.
Compared with the prior art, the invention has the beneficial effects that:
1. the invention stores the source codes in a unified classification way, standardizes the management and storage safety of the source codes and is convenient for obtaining and calling later-stage algorithms.
2. According to the source code application submitted by a programmer, the method and the system can automatically configure and combine the source code application with the industry information and other remark information, create and generate the project file and the database file, can shorten the project progress, and improve the development work efficiency.
3. The project source code files generated by the invention can be automatically combined and combined according to the algorithm, and folders, configuration programs and associated tool classes required by projects can be created in the process; thereby really realizing source code multiplexing.
Drawings
Fig. 1 is a flowchart of the development and usage process of the source code management multiplexing method of the present invention.
FIG. 2 is a flowchart of the development steps of the source code management multiplexing method of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Referring to fig. 1-2, in an embodiment of the present invention, a source code management multiplexing method includes the following steps:
step S1: defining a source code type according to the conditions of reusability, expandability, industry range, use scenes and the like of the source code;
step S2: arranging a source code file, including a source code program file and a database script file, selecting industry information and other remark information, and inputting the industry information and the other remark information into a source code management library; specifically, the industry information and other remark information need to be selected well according to actual conditions, and when the industry information and other remark information are reused at a later stage, an algorithm can perform correlation matching on the industry information and other remark information according to projects; furthermore, the project condition needs to be well associated with industry information and other remark information, so that the algorithm association is facilitated; because the source code management library relates to confidentiality and security, the source code management library can be used only after being confirmed by an approval process;
step S3: the programmer submits a use application in a source code management library according to the use condition of the project;
step S4: after the application is reviewed by the source code management library, the source code management library is automatically configured and combined according to a set algorithm, and a project file and a database file are created and generated and stored in the source code management library;
step S5: the new project generated by combination becomes a new source code and is automatically filed in the source code management library.
When the programmer is developing the project, the steps can be repeated according to the requirement of the project until the program is written.
The source codes are uniformly classified and stored, so that the management and storage safety of the source codes are standardized, and the later-stage algorithm is convenient to obtain and call; according to the source code application submitted by a programmer, the system and the method can automatically configure and combine the source code application with industry information and other remark information, create and generate a project file and a database file, can shorten the progress of a project, and improve the working efficiency of development; the project source code files generated by the invention can be automatically combined and combined according to the algorithm, and folders, configuration programs and associated tool classes required by projects can be created in the process; thereby really realizing source code multiplexing.
In a preferred embodiment of the present invention, the source code types are divided into the following six types: front end: the project built by the pure front-end framework does not contain the business logic code II form: basic form documents, such as personnel files, inspection reports and the like module: a complete module function, including front and back end codes, most of which can run independently the function of (4): one specific functional method of the front-end or back-end, for example: upload multiple accessories, import supplier data frame: a complete project, including front and back end codes and database files, and others: auxiliary tools, etc.
In a preferred embodiment of the invention, the source code program file and the database script file need to be arranged according to a specified good format, when the source code program file and the database script file are called, the source code management library takes out the source code program according to an algorithm and combines the source code program and the source code program into a code, and meanwhile, a corresponding database, a table, a view and a storage process are generated according to the database script; further, the project file created by the algorithm comprises programs of a front end and a back end, and an interface layer and a tool class for associating the front end and the back end; furthermore, a database created by the algorithm is automatically created by a set database script and comprises a database, a table, a view, a storage process and the like; the field names, the field list and the main foreign key relations in the table can be automatically generated and associated; further, project files created by the algorithm are combined to generate new projects, and the new projects become new source codes and are automatically filed in a source code library.
According to the source code application submitted by a programmer, the system and the method can automatically configure and combine the source code application with industry information and other remark information, create and generate a project file and a database file, can shorten the progress of a project, and improve the working efficiency of development; the project source code files generated by the invention can be automatically combined and combined according to the algorithm, and folders, configuration programs and associated tool classes required by projects can be created in the process; thereby really realizing source code multiplexing.
Although the present invention has been described in detail with reference to the foregoing embodiments, it will be apparent to those skilled in the art that various changes in the embodiments and/or modifications of the invention can be made, and equivalents and modifications of some features of the invention can be made without departing from the spirit and scope of the invention.

Claims (8)

1. A source code management multiplexing method is characterized by comprising the following steps:
step S1: defining a source code type according to the conditions of reusability, expandability, industry range, use scenes and the like of the source code;
step S2: arranging a source code file, including a source code program file and a database script file, selecting industry information and other remark information, and inputting the industry information and the other remark information into a source code management library;
step S3: the programmer submits a use application in a source code management library according to the use condition of the project;
step S4: after the application is reviewed by the source code management library, the source code management library is automatically configured and combined according to a set algorithm, and a project file and a database file are created and generated and stored in the source code management library;
step S5: the new project generated by combination becomes a new source code and is automatically filed in the source code management library.
2. The method of claim 1, wherein the source code types are divided into six types: front end: the project built by the pure front-end framework does not contain the business logic code II form: basic form documents, such as personnel files, inspection reports and the like module: a complete module function, including front and back end codes, most of which can run independently the function of (4): one specific functional method of the front-end or back-end, for example: upload multiple accessories, import supplier data frame: a complete project, including front and back end codes and database files, and others: auxiliary tools, etc.
3. The method of claim 2, wherein the source code program file and the database script file need to be arranged in a prescribed format, and when calling, the source code management library extracts the source code program according to an algorithm and combines the source code program into a code, and generates a corresponding database, table, view and storage process according to the database script.
4. The source code management multiplexing method of claim 2, wherein the industry information and other remark information need to be selected according to actual conditions, and when the source code management multiplexing method is reused in a later period, an algorithm performs correlation matching on the industry information and other remark information according to projects.
5. The source code management multiplexing method of claim 3, wherein the project condition needs to be associated with industry information and other remark information to facilitate the association of the algorithm; because the source code management library is related to confidentiality and security, the downloading and the use can be confirmed through an approval process.
6. The method of claim 4, wherein the project file created by the algorithm comprises front-end and back-end programs, and interface layers and tool classes for associating the front-end and the back-end.
7. The source code management multiplexing method of claim 4, wherein the database created by the algorithm is automatically created by a set database script, and comprises a database, a table, a view, a storage process and the like; the field names, field lists and primary foreign key relationships in the tables are automatically generated and associated.
8. The method as claimed in claim 5, wherein the project files created by the algorithm are combined to generate new projects, and the new projects are automatically filed in the source code library.
CN202110985622.4A 2021-08-26 2021-08-26 Source code management multiplexing method Pending CN113672219A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110985622.4A CN113672219A (en) 2021-08-26 2021-08-26 Source code management multiplexing method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110985622.4A CN113672219A (en) 2021-08-26 2021-08-26 Source code management multiplexing method

Publications (1)

Publication Number Publication Date
CN113672219A true CN113672219A (en) 2021-11-19

Family

ID=78546419

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110985622.4A Pending CN113672219A (en) 2021-08-26 2021-08-26 Source code management multiplexing method

Country Status (1)

Country Link
CN (1) CN113672219A (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100293524A1 (en) * 2009-05-12 2010-11-18 International Business Machines, Corporation Development environment for managing database aware software projects
CN110083749A (en) * 2019-04-11 2019-08-02 艾伯资讯(深圳)有限公司 The retrieval quickly developed for software, multiplexing, environmental structure system and method
CN111506363A (en) * 2020-04-21 2020-08-07 福建天晴在线互动科技有限公司 Source code management method and system based on unity engine

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100293524A1 (en) * 2009-05-12 2010-11-18 International Business Machines, Corporation Development environment for managing database aware software projects
CN110083749A (en) * 2019-04-11 2019-08-02 艾伯资讯(深圳)有限公司 The retrieval quickly developed for software, multiplexing, environmental structure system and method
CN111506363A (en) * 2020-04-21 2020-08-07 福建天晴在线互动科技有限公司 Source code management method and system based on unity engine

Similar Documents

Publication Publication Date Title
CN110134613B (en) A software defect data collection system based on code semantics and background information
US5414847A (en) Design method and apparatus of computer program for business processing
CN109344230B (en) Code library file generation, code search, coupling, optimization and migration method
JP3181994B2 (en) How to automatically create job flow specifications
AU2012327168B2 (en) Amethod and structure for managing multiple electronic forms and their records using a static database
CN110531971B (en) Automatic generation method and device of access code, computer equipment and storage medium
CN107148616A (en) The efficient annotation system controlled for distributed version
US7853595B2 (en) Method and apparatus for creating a tool for generating an index for a document
CN111367893A (en) Method and device for database version iteration
CN109086985B (en) Professional test information management system for spacecraft assembly
CN115130186B (en) A method for quickly creating a piping system based on modeling software
US8788464B1 (en) Fast ingest, archive and retrieval systems, method and computer programs
CN113672219A (en) Source code management multiplexing method
CN116090416B (en) Standard writing method, system, equipment and medium based on standard knowledge graph
KR102831410B1 (en) How to design a data model for data utilization
CN116955393A (en) Data processing method and device, electronic equipment and storage medium
CN109739835A (en) Method and device for saving data version
CN113672218A (en) Programming method of code-free programmer
JP3050467B2 (en) Data item dictionary generation method
JP3345522B2 (en) Program development support device using data item parts
JPH06214768A (en) Program part generation method and automatic program generation method
CN111177313A (en) A Search Method for Instantly Entering Programming Codes and Instantly Searching for Reference Multiplexing Programs
CN113627138B (en) Engineering annotation changing method and device
Nishimoto et al. Easy-going development of event-driven applications by iterating a search-select-superpose loop
JP2003280956A5 (en)

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination