CN106372857A - Method and system for automatically establishing project - Google Patents

Method and system for automatically establishing project Download PDF

Info

Publication number
CN106372857A
CN106372857A CN201610793858.7A CN201610793858A CN106372857A CN 106372857 A CN106372857 A CN 106372857A CN 201610793858 A CN201610793858 A CN 201610793858A CN 106372857 A CN106372857 A CN 106372857A
Authority
CN
China
Prior art keywords
project
new projects
code
information
passing
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
CN201610793858.7A
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.)
Shanghai Rui Hong Telecom Technology Co Ltd
Original Assignee
Shanghai Rui Hong Telecom 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 Shanghai Rui Hong Telecom Technology Co Ltd filed Critical Shanghai Rui Hong Telecom Technology Co Ltd
Priority to CN201610793858.7A priority Critical patent/CN106372857A/en
Publication of CN106372857A publication Critical patent/CN106372857A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/22Indexing; Data structures therefor; Storage structures
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q10/00Administration; Management
    • G06Q10/10Office automation; Time management
    • G06Q10/103Workflow collaboration or project management

Landscapes

  • Engineering & Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • Theoretical Computer Science (AREA)
  • Strategic Management (AREA)
  • Human Resources & Organizations (AREA)
  • Physics & Mathematics (AREA)
  • Data Mining & Analysis (AREA)
  • General Physics & Mathematics (AREA)
  • Entrepreneurship & Innovation (AREA)
  • Economics (AREA)
  • Software Systems (AREA)
  • Databases & Information Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Marketing (AREA)
  • Operations Research (AREA)
  • Quality & Reliability (AREA)
  • Tourism & Hospitality (AREA)
  • General Business, Economics & Management (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The invention discloses a method and a system for automatically establishing a project. The method comprises steps that the historical project information is taken as content to establish a database, a new project is established in the database, and code establishment for the new project is automatically accomplished. Through the method and the system, receiving an instruction emitted by an SPM is only required in the whole project establishment process, one-person individual operation accomplishment can be realized, and manpower saving is realized; project establishment can be accomplished through simply inputting the project information through the SPM, the process is simple and convenient, and efficiency is high; project codes are selected from existing projects in the database, the SPM is not required to deeply know about the codes, and code error risk is reduced.

Description

Automatically create the method and system of project
Technical field
The present invention relates to computer realm, particularly to a kind of method and system automatically creating project.
Background technology
Odm (original designed manufacture), refers to provide from research and development of products to production for client A complete set of service.Client only need to propose the function of product, performance even only need to provide the design of correlation, odm manufacturer by product from Imagination comes true.
Have the key link that research and development of products ability is odm enterprise's survival and development.Domestic odm enterprise is to manufacture mostly Build up, have in terms of tissue large-scale production and compare rich experience.On the contrary, the experience of its research and development management is not very sufficient.
During odm Project-developing, establishment of item management is usually to be safeguarded by spm (software project manager), but Software project manager is typically ignorant of code, but this very important work also cannot be completed by general code development personnel.Mesh Front most of company, in project management process, is submitted to after project information by spm, assists in scm (software configuration management) personnel Under carry out creating with script on code library, submit to, flow process is cumbersome.
As shown in Figure 1, operation of the prior art is usually: step s101 is first carried out, spm creates on the server Project typing project information;Then carry out step s102, judge whether project creates successfully, such as unsuccessful, then return to step Rapid s101 re-creates project, and such as creating successfully then spm is sent to scm by project task, carries out step s103, and scm receives spm Sending of task;Then carry out step s104, scm replicates script according to the project information project implementation in task;Step s105, Judge that project replicates whether script runs succeeded, such as unsuccessful, then return to step s104 and re-execute project duplication script, such as hold Go successfully, then enter step s106, code is submitted to git server using git order by scm;Then carry out step s107, sentence Whether division of history into periods code is submitted to successfully, and if do not become, return to step s106 resubmits, and such as success then enters step s108, treats that scm is true Recognize after success submitted to by code and notify spm;Then carry out step s109, spm receives all exploit persons of mail notification after the notice of scm Member's project is set up and is completed;Finally carry out step s110, developer is developed, so far on the fresh code of this project further Establishment of item completes.
In the process, spm and scm needs repeatedly to participate in establishment of item process, and needs guaranteeing errorless situation Lower just can be correctly completed automatically creating of item code.But the content or the code development personnel that are related to code are more familiar, Make non-developer higher to complete these project tasks, error rate.
Content of the invention
In order to solve problem of the prior art, embodiments provide and a kind of automatically create the method for project and be System.Described technical scheme is as follows:
On the one hand, there is provided a kind of method automatically creating project, comprise the following steps:
Data base is set up for content with passing project information;
Set up new projects and be automatically performed the establishment to new projects' code in data base.
Further, the step of data base is set up particularly as follows: receiving passing project information for content with passing project information, Set up data base.
Further, set up new projects in data base and be automatically performed concrete to the step of the establishment of new projects' code For:
Set up new projects in data base, and receive new projects' information;
Contrast passing project information and new projects' information, the item code of passing project is copied to the project generation of new projects In code, complete new projects and create.
Further, receive passing project information, set up the step of data base particularly as follows:
Receive passing project information and set up tables of data as record, in tables of data, at least include project name and item code Two fields;
Data base is set up according to tables of data.
Further, data base sets up new projects, and receive new projects' information step particularly as follows:
New projects are set up in data base;
Receive remaining field contents in addition to item code field under new projects.
Further, contrast passing project information and new projects' information, the item code of passing project is copied to new item In purpose item code, complete new projects establishment concretely comprise the following steps:
Judge new projects the need of automatically creating item code;
If being judged as YES, choose from data base and the same or analogous passing project of field contents under new projects;Will Content under the item code field of passing project chosen copies under the item code field of new projects;Preserve new projects extremely Data base, new projects create and complete;
If being judged as NO, directly preserve new projects to data base, new projects create and complete.
Optionally, the field in tables of data also includes code library name, branch title, compiling entry name in the code library of place Claim, replicate project name, submit node i d and baseline project name to.
Optionally, described item code includes herein below: pre-loading information, kernel information, this device, storehouse, application message And multimedia messages.
Optionally, described device comprises linux process.
Optionally, after the completion of methods described also includes grassroot project establishment, judge whether to need to send mail notification exploitation Personnel;
If being judged as YES, send mail notification developer;
If being judged as NO, terminate establishment process.
On the other hand, there is provided a kind of system automatically creating project, comprising:
Project memory module, for storing passing project information and item code;
Establishment of item module, is connected with project memory module, for creating new projects.
Further, in the described system automatically creating project:
Establishment of item module includes:
Project information input module, is connected with project memory module, for inputting the project information of new projects;
Project information contrast module, is connected respectively with project memory module and project information input module, for by new item Purpose project information and the contrast of passing project information;
Item code replication module, is connected respectively with project memory module and project information input module, for will be passing Item code copies under new projects' code.
Optionally, automatically create in the system of project, establishment of item module also includes judge module, with project information input Module, project information contrast module and project memory module connect respectively, are used for judging whether to need passing item code is multiple Make under new projects' code.
Optionally, automatically create in the system of project, also include mail notification module, be connected with project memory module, use In judging whether to need to send mail notification developer.
Technical scheme provided in an embodiment of the present invention has the benefit that
The method automatically creating project of the present invention, whole establishment of item process only need to receive the instruction that spm sends, and realizes One people's handled by itself completes, and saves artificial.Spm only need the contents such as simple cuit information can finished item establishment, mistake Journey is simple and convenient, efficiency high.Item code is selected from existing project in data base, is not required to spm and code is understood in depth, reduce The risk of code error.
Brief description
For the technical scheme being illustrated more clearly that in the embodiment of the present invention, will make to required in embodiment description below Accompanying drawing be briefly described it should be apparent that, drawings in the following description are only some embodiments of the present invention, for For those of ordinary skill in the art, on the premise of not paying creative work, other can also be obtained according to these accompanying drawings Accompanying drawing.
Fig. 1 is the method flow diagram of conventional establishment project in prior art of the present invention;
Fig. 2 is the method flow diagram automatically creating project that the embodiment of the present invention one provides;
Fig. 3 is the method flow diagram automatically creating project that the embodiment of the present invention one provides;
Fig. 4 is the method flow diagram automatically creating project that the embodiment of the present invention one provides;
Fig. 5 is the system construction drawing automatically creating project that the embodiment of the present invention two provides;
Fig. 6 is the system construction drawing automatically creating project that the embodiment of the present invention two provides;
Fig. 7 is the system construction drawing automatically creating project that the embodiment of the present invention two provides;
Fig. 8 is the system construction drawing automatically creating project that the embodiment of the present invention two provides.
Specific embodiment
For making the object, technical solutions and advantages of the present invention clearer, below in conjunction with accompanying drawing to embodiment party of the present invention Formula is described in further detail.
Embodiment one
The present invention provides a kind of method automatically creating project as shown in Figure 2.Carry out step s201 first, with passing project Information sets up data base for content;When needing to create new projects, the instruction that reception spm sends, with execution step s202, is counting According to setting up new projects in storehouse and be automatically performed the establishment to new projects' code.
Specifically, as shown in figure 3, carrying out step s301 first, receiving passing project information, setting up data base;Then when When needing to create new projects, the instruction that reception spm sends, with execution step s302, is set up new projects in data base, and is received New projects' information;Then carry out step s303, contrast passing project information and new projects' information, by the item code of passing project Copy in the item code of new projects, complete new projects and create.
Specific again, as shown in figure 4, carrying out step s401 first, receiving passing project and setting up tables of data as record, number According at least including project name and two fields of item code in table, code library name can also be included, in the code library of place point The fields such as branch title, compiling project name, duplication project name, submission node i d (commit id) and baseline project name;So After carry out step s402, data base is set up according to tables of data.
When spm needs to start a newly-built project, carry out step s403, receive the instruction here number that spm sends Set up new projects according in storehouse;Then carry out step s404, according to the field name in tables of data under data base, receive under new projects Remaining field contents in addition to item code;Then carry out step s405, receive the instruction that spm sends right to judge whether to need New projects automatically create item code.Item code includes: pre-loading information (preloader), kernel information (kernel), comprises This device of linux process, storehouse (lib), application message (app) and multimedia messages (media) etc..
If being judged as YES, carrying out step s406, choosing same or similar with field contents under new projects from data base Passing project;Step s407, the content under the item code field of the described passing project chosen is copied to new projects Under item code field;Step s408, preserves new projects to data base, new projects create and complete.
If wanting, temporarily ceasing item code creates, and is judged as NO, directly carries out step s408, preserves new projects to data Storehouse, new projects create and complete.
After the completion of new projects create, the instruction that spm sends can also be received and carry out step s409, judge whether to need to send out Send mail notification developer.
If being judged as YES, carrying out step s410, sending mail notification developer.
If do not needed to send mail, then it is judged as NO, establishment process terminates.
The method automatically creating project of the present invention, whole establishment of item process only need to receive the instruction that spm sends, and realizes One people's handled by itself completes, and saves artificial.Spm only need the contents such as simple cuit information can finished item establishment, mistake Journey is simple and convenient, efficiency high.Item code is selected from existing project in data base, is not required to spm and code is understood in depth, reduce The risk of code error.
Embodiment two
The present invention also provides a kind of system automatically creating project as shown in figure 5, including project memory module 100 and project Creation module 200.Project memory module 100, for storing passing project information and item code.Establishment of item module 200, with Project memory module 100 connects, for creating new projects.
Specifically, as shown in fig. 6, project memory module 100 can be data base, the invention is not limited in this regard.
Establishment of item module 200 includes:
Project information input module 201, is connected with project memory module 100, for inputting the project information of new projects.
Project information contrast module 202, is connected respectively with project memory module 100 and project information input module 201, uses In by the project information of new projects and passing project information contrast.
Item code replication module 203, is connected respectively with project memory module 100 and project information input module 201, uses In passing item code is copied under new projects' code.
As shown in fig. 7, optional, establishment of item module 200 also includes judge module 204, with project information input module 201st, project information contrast module 202 and project memory module 100 connect respectively, are used for judging whether to need by passing project generation Code copies under new projects' code.
As shown in figure 8, optional, in the described system automatically creating project, also include mail notification module 300, with project Memory module 100 connects, and is used for judging whether to need to send mail notification developer.
The embodiments of the present invention are for illustration only, do not represent the quality of embodiment.
Device embodiment described above is only that schematically the wherein said unit illustrating as separating component can To be or to may not be physically separate, as the part that unit shows can be or may not be physics list Unit, you can with positioned at a place, or can also be distributed on multiple NEs.Can be selected it according to the actual needs In the purpose to realize this embodiment scheme for some or all of module.Those of ordinary skill in the art are not paying creativeness Work in the case of, you can to understand and to implement.
Through the above description of the embodiments, those skilled in the art can be understood that each embodiment can Mode by software plus necessary general hardware platform to be realized naturally it is also possible to pass through hardware.Based on such understanding, on That states that technical scheme substantially contributes to prior art in other words partly can be embodied in the form of software product, should Computer software product can store in a computer-readable storage medium, such as rom/ram, magnetic disc, CD etc., including some fingers Order is with so that a computer equipment (can be personal computer, server, or network equipment etc.) executes each enforcement Example or some partly described methods of embodiment.
The foregoing is only presently preferred embodiments of the present invention, not in order to limit the present invention, all spirit in the present invention and Within principle, any modification, equivalent substitution and improvement made etc., should be included within the scope of the present invention.

Claims (10)

1. a kind of method automatically creating project is it is characterised in that comprise the following steps:
Data base is set up for content with passing project information;
Set up new projects in the database and be automatically performed the establishment to described new projects code.
2. automatically create the method for project as claimed in claim 1 it is characterised in that
Described with passing project information for content set up data base step particularly as follows:
Receive passing project information, set up data base;
Described set up in the database new projects and be automatically performed the establishment to described new projects code step particularly as follows:
Set up new projects in the database, and receive described new projects information;
Contrast described passing project information and new projects' information, the excessively described item code toward project is copied to the item of new projects In mesh code, complete new projects and create.
3. automatically create the method for project as claimed in claim 2 it is characterised in that
Described reception passing project information, set up the step of data base particularly as follows:
Receive passing project information and set up tables of data as record, in described tables of data, at least include project name and item code Two fields;
Data base is set up according to described tables of data;
Described set up new projects in data base, and receive new projects' information step particularly as follows:
Set up new projects in the database;
Receive remaining field contents in addition to item code field under described new projects;
The passing project information of described contrast and new projects' information, the item code of passing project are copied to the project generation of new projects Code in, complete new projects establishment concretely comprise the following steps:
Judge described new projects the need of automatically creating item code;
If being judged as YES, choose from described data base and the same or analogous passing project of field contents under new projects;Will Content under the item code field of described passing project chosen copies under the item code field of new projects;Preserve described New projects create and complete to data base, new projects;
If being judged as NO, directly preserve described new projects to data base, new projects create and complete.
4. automatically create the method for project as claimed in claim 3 it is characterised in that methods described also includes grassroot project wound After the completion of building, judge whether to need to send mail notification developer;
If being judged as YES, send mail notification developer;
If being judged as NO, terminate establishment process.
5. automatically create the method for project as claimed in claim 4 it is characterised in that the field in described tables of data also includes Branch title, compiling project name, duplication project name, submission node i d and baseline item in code library name, place code library Mesh title.
6. automatically create the method for project as claimed in claim 5 it is characterised in that described item code include following interior Hold: pre-loading information, kernel information, this device, storehouse, application message and multimedia messages.
7. a kind of system automatically creating project is it is characterised in that include:
Project memory module, for storing passing project information and item code;
Establishment of item module, is connected with described project memory module, for creating new projects.
8. automatically create the system of project as claimed in claim 7 it is characterised in that described establishment of item module includes:
Project information input module, is connected with described project memory module, for inputting the project information of new projects;
Project information contrast module, is connected respectively with described project memory module and described project information input module, for inciting somebody to action The project information of described new projects and the contrast of passing project information;
Item code replication module, is connected respectively with described project memory module and described project information input module, for inciting somebody to action Passing item code copies under new projects' code.
9. automatically create the system of project as claimed in claim 8 it is characterised in that described establishment of item module also includes sentencing Disconnected module, is connected with described project information input module, project information contrast module and project memory module, respectively for judging Copy under new projects' code the need of by passing item code.
10. automatically create the system of project as claimed in claim 9 it is characterised in that the described system automatically creating project In also include mail notification module, be connected with described project memory module, be used for judging whether needing to send mail notification exploitation Personnel.
CN201610793858.7A 2016-08-31 2016-08-31 Method and system for automatically establishing project Pending CN106372857A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610793858.7A CN106372857A (en) 2016-08-31 2016-08-31 Method and system for automatically establishing project

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610793858.7A CN106372857A (en) 2016-08-31 2016-08-31 Method and system for automatically establishing project

Publications (1)

Publication Number Publication Date
CN106372857A true CN106372857A (en) 2017-02-01

Family

ID=57900337

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610793858.7A Pending CN106372857A (en) 2016-08-31 2016-08-31 Method and system for automatically establishing project

Country Status (1)

Country Link
CN (1) CN106372857A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107563789A (en) * 2017-07-31 2018-01-09 石河子大学 Data processing method, system, terminal and computer-readable recording medium
CN107992995A (en) * 2017-11-20 2018-05-04 上海华力微电子有限公司 A kind of method and system for creating technological process title
CN113627128A (en) * 2020-05-07 2021-11-09 上海同是科技股份有限公司 Hidden danger troubleshooting check item coding method and system

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102065413A (en) * 2010-11-17 2011-05-18 北京北方烽火科技有限公司 Database updating method and system, and base station self-starting method and system
CN102520959A (en) * 2011-12-16 2012-06-27 西安邮电学院 Reused code matching inquiry method based on meaning
CN102760058A (en) * 2012-04-05 2012-10-31 中国人民解放军国防科学技术大学 Massive software project sharing method oriented to large-scale collaborative development
CN104281704A (en) * 2014-10-22 2015-01-14 新华瑞德(北京)网络科技有限公司 Database data copying method and device
CN105224377A (en) * 2015-10-08 2016-01-06 广州华旻信息科技有限公司 A kind of method by metadata automatic generating software project code file and device
CN105354037A (en) * 2015-11-30 2016-02-24 用友优普信息技术有限公司 Modularized software developing method and software developing device

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102065413A (en) * 2010-11-17 2011-05-18 北京北方烽火科技有限公司 Database updating method and system, and base station self-starting method and system
CN102520959A (en) * 2011-12-16 2012-06-27 西安邮电学院 Reused code matching inquiry method based on meaning
CN102760058A (en) * 2012-04-05 2012-10-31 中国人民解放军国防科学技术大学 Massive software project sharing method oriented to large-scale collaborative development
CN104281704A (en) * 2014-10-22 2015-01-14 新华瑞德(北京)网络科技有限公司 Database data copying method and device
CN105224377A (en) * 2015-10-08 2016-01-06 广州华旻信息科技有限公司 A kind of method by metadata automatic generating software project code file and device
CN105354037A (en) * 2015-11-30 2016-02-24 用友优普信息技术有限公司 Modularized software developing method and software developing device

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107563789A (en) * 2017-07-31 2018-01-09 石河子大学 Data processing method, system, terminal and computer-readable recording medium
CN107992995A (en) * 2017-11-20 2018-05-04 上海华力微电子有限公司 A kind of method and system for creating technological process title
CN113627128A (en) * 2020-05-07 2021-11-09 上海同是科技股份有限公司 Hidden danger troubleshooting check item coding method and system

Similar Documents

Publication Publication Date Title
EP3435235B1 (en) Method and device for executing data recovery operation
US11620277B2 (en) Transaction processing at non-relational databases
CN109828903A (en) Automated testing method, device, computer installation and storage medium
CN101542445A (en) Apparatus and methods of a zero single point of failure load balancer
CN102572896A (en) Upgrading method and upgrading device for wireless communication system
CN106372857A (en) Method and system for automatically establishing project
CN111240812A (en) Task execution method and device
CN109325016A (en) Data migration method, device, medium and electronic equipment
CN109829679A (en) Project management method, device, computer installation and storage medium
CN111382985A (en) To-do message integrated pushing system and working method
CN113706022A (en) Business process execution method and device, storage medium and electronic equipment
CN104301428A (en) Data synchronization method and server
CN106446300A (en) Transaction processing method and system based on shared storage pool
CN110650164A (en) File uploading method and device, terminal and computer storage medium
CN102902574B (en) Cooperative processing method and device of multiple information flow nodes
CN109189431A (en) A kind of client side upgrading method, device, equipment and readable storage medium storing program for executing
CN103856349A (en) Version upgrading method for multi-core router and multi-core router
CN115629746A (en) Method and system for multi-person collaborative development of low-code platform
CN103701653A (en) Processing method for interface hot plugging and unplugging configuration data and network configuration server
CN103516880A (en) Method and device for sending short messages
CN107529180B (en) Base station cloud test environment construction device and method
CN101551758A (en) System and method for implementing paralleling work of device management and tasks
CN104753659B (en) A kind of method, apparatus and system of more network element data synchronization loads
CN113934711B (en) Method for automatically deploying gbase8s cluster
CN103488773A (en) Website data acquiring method and device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20170201