CN109840085A - A kind of software design approach based on artificial intelligence - Google Patents

A kind of software design approach based on artificial intelligence Download PDF

Info

Publication number
CN109840085A
CN109840085A CN201711224354.4A CN201711224354A CN109840085A CN 109840085 A CN109840085 A CN 109840085A CN 201711224354 A CN201711224354 A CN 201711224354A CN 109840085 A CN109840085 A CN 109840085A
Authority
CN
China
Prior art keywords
source code
function
development
software
leaved
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
CN201711224354.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.)
Deyang Welfare Tert Network Development Co Ltd
Original Assignee
Deyang Welfare Tert Network Development 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 Deyang Welfare Tert Network Development Co Ltd filed Critical Deyang Welfare Tert Network Development Co Ltd
Priority to CN201711224354.4A priority Critical patent/CN109840085A/en
Publication of CN109840085A publication Critical patent/CN109840085A/en
Pending legal-status Critical Current

Links

Landscapes

  • Stored Programmes (AREA)

Abstract

The present invention provides a kind of software design approach based on artificial intelligence, are related to field of software development, the software development methodology includes S1: by the input mode of voice or text, receiving function leaved for development in software development task;S2: in the source code database of built in advance, source code corresponding with the function leaved for development is obtained;S3: according to the operation result or mark of the source code, the corresponding function of the source code is obtained;S4: by the corresponding relationship established between obtained function and the source code, source code database is constructed.The invention avoids there is the case where same function overlapping development, beneficial effect is two aspects, has on the one hand saved the time of software development, promote software development efficiency, on the other hand, it creates artificial intelligence software and develops assistant, improve the degree of intelligence of software development.

Description

A kind of software design approach based on artificial intelligence
Technical field
The invention belongs to field of software development more particularly to a kind of software design approach based on artificial intelligence.
Background technique
Software development is a product development for requiring to build software section in software systems or system according to user Process.In software development process, programmer likes encoding using Integrated Development IDE environment, to improve coding and adjust The efficiency of examination.One good IDE environment, it may be said that be the sharp weapon of software development.
Currently, common IDE environment in the market, there is the Visual Studio of the Microsoft and Xcode of apple, there are also some Tool of open source, such as Eclipse etc..These tools are all very outstanding IDE tools, and the height for all having obtained programmer is praised Reward.It in these tools, writes code and fills function automatically, firmly get the favor of programmer.Automatic filling function, can be in programmer After getting one or two of letter, common function, variable etc. are filled;Alternatively, automatic prompt commonly becomes after some title Amount, such as member variable, member function etc..This is a very handy tool, but is also only limited to this, be can do nothing to help Programmer does more work.
Summary of the invention
The embodiment of the present invention is designed to provide a kind of software design approach based on artificial intelligence, it is intended to promote software Development efficiency.
A kind of software design approach based on artificial intelligence, comprising:
S1: by the input mode of voice or text, function leaved for development in software development task is received.
S2: in the source code database of built in advance, source code corresponding with the function leaved for development is obtained;
S3: according to the operation result or mark of the source code, the corresponding function of the source code is obtained;
S4: by the corresponding relationship established between obtained function and the source code, source code database is constructed.
Further, the operation result or mark according to the source code, obtains the corresponding function of the source code Can, specifically:
Detect whether the source code got repeats with the source code prestored;
If the source code got is not repeated with the source code prestored, then according to the operation result of the source code or Mark, obtains the corresponding function of the source code.
Further, described in the source code database of built in advance, source code corresponding with the function leaved for development is obtained, Specifically:
It is determined in the multiple function according to the keyword of the function leaved for development by the source code database of built in advance The degree of correlation of each function and the function leaved for development;
The degree of correlation is ranked up, by function corresponding source of the sequence in preset threshold in the multiple function Code, as the corresponding source code of the function leaved for development.
After adopting the above scheme, beneficial effects of the present invention are as follows:
In the source code database of built in advance, source code corresponding with the function leaved for development is obtained, shows and get Source code.It avoids and the case where same function overlapping development occurs, beneficial effect is two aspects, has on the one hand saved software and has opened The time of hair promotes software development efficiency and on the other hand creates new IDE environment, improve the intelligent journey of software development Degree.
Specific embodiment
In order to make the objectives, technical solutions, and advantages of the present invention clearer, with reference to embodiments, to the present invention It is further elaborated.It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, it is not used to Limit the present invention.
It is also understood that mesh of the term used in this description of the invention merely for the sake of description specific embodiment And be not intended to limit the present invention.As description of the invention and it is used in the attached claims, unless on Other situations are hereafter clearly indicated, otherwise " one " of singular, "one" and "the" are intended to include plural form.
A kind of software design approach based on artificial intelligence, comprising:
S1: by the input mode of voice or text, function leaved for development in software development task is received.Using artificial Intelligence software develops assistant, obtains function leaved for development in software development task.When starting artificial intelligence software exploitation assistant, Obtain function leaved for development in software development task;Alternatively, certain where pressing artificial intelligence software exploitation assistant in equipment When a key, function leaved for development in software development task is obtained;Alternatively, corresponding when clicking artificial intelligence software exploitation assistant When icon, function leaved for development in software development task is obtained.Wherein, it is for software development that artificial intelligence software, which develops assistant, Assistant.
S2: in the source code database of built in advance, source code corresponding with the function leaved for development is obtained;
S3: according to the operation result or mark of the source code, the corresponding function of the source code is obtained;
S4: by the corresponding relationship established between obtained function and the source code, source code database is constructed.Wherein, Using code capture program, from the source code grabbed in code library in each program.According to the operation result of the source code or Person's mark, obtains the corresponding function of the source code;Wherein, the corresponding mark of source code is extracted, it is corresponding to obtain the source code Function;In step S203, by the corresponding relationship established between obtained function and the source code, source code data are constructed Library.
Further, the operation result or mark according to the source code, obtains the corresponding function of the source code Can, specifically:
Detect whether the source code got repeats with the source code prestored;
If the source code got is not repeated with the source code prestored, then according to the operation result of the source code or Mark, obtains the corresponding function of the source code.
Further, described in the source code database of built in advance, source code corresponding with the function leaved for development is obtained, Specifically:
It is determined in the multiple function according to the keyword of the function leaved for development by the source code database of built in advance The degree of correlation of each function and the function leaved for development;
The degree of correlation is ranked up, by function corresponding source of the sequence in preset threshold in the multiple function Code, as the corresponding source code of the function leaved for development.
For obtaining artificial intelligence in step 1, artificial intelligence software develops the essential characteristic that assistant has, and details are as follows:
1) this assistant is the form of cloud assistant a kind of.
2) have natural language analysis ability, can understand simple communication, the side of voice or text can be passed through Formula exchange.
3) has a large database concept support.This database is the set of the currently all source code that can be searched.This There is the source code being largely marked inside a set.
4) there is the ability crawled automatically with analysis of key technical forum, it can be continually by more source code input sources Code database.
Technical forum including but not limited to such as programs forum stackoverflow.
5) it can adjust adaptation for individual program person, accomplish the idea for more understanding the user, providing more professional more has It is recommended that and help.
6) more advanced artificial intelligence has analysis source code, understands a certain section of source code is that work completed, even The time of running Runtime data of source code are obtained by virtual operation.
7) constantly study, ability are more and more stronger.Each has used the programmer of artificial intelligence software exploitation assistant, in fact Training constantly exactly is being done to this artificial intelligence software exploitation assistant.

Claims (3)

1. a kind of software design approach based on artificial intelligence characterized by comprising
S1: by the input mode of voice or text, function leaved for development in software development task is received.
S2: in the source code database of built in advance, source code corresponding with the function leaved for development is obtained;
S3: according to the operation result or mark of the source code, the corresponding function of the source code is obtained;
S4: by the corresponding relationship established between obtained function and the source code, source code database is constructed.
2. a kind of software design approach based on artificial intelligence according to claim 1, which is characterized in that described according to institute The operation result or mark for stating source code obtain the corresponding function of the source code, specifically:
Detect whether the source code got repeats with the source code prestored;
If the source code got is not repeated with the source code prestored, then according to the operation result or mark of the source code Note, obtains the corresponding function of the source code.
3. a kind of software design approach based on artificial intelligence according to claim 1, which is characterized in that described in built in advance Source code database in, obtain source code corresponding with the function leaved for development, specifically:
According to the keyword of the function leaved for development, by the source code database of built in advance, each function in the multiple function is determined It can be with the degree of correlation of the function leaved for development;
The degree of correlation is ranked up, by function corresponding source generation of the sequence in preset threshold in the multiple function Code, as the corresponding source code of the function leaved for development.
CN201711224354.4A 2017-11-29 2017-11-29 A kind of software design approach based on artificial intelligence Pending CN109840085A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711224354.4A CN109840085A (en) 2017-11-29 2017-11-29 A kind of software design approach based on artificial intelligence

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711224354.4A CN109840085A (en) 2017-11-29 2017-11-29 A kind of software design approach based on artificial intelligence

Publications (1)

Publication Number Publication Date
CN109840085A true CN109840085A (en) 2019-06-04

Family

ID=66881815

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711224354.4A Pending CN109840085A (en) 2017-11-29 2017-11-29 A kind of software design approach based on artificial intelligence

Country Status (1)

Country Link
CN (1) CN109840085A (en)

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10942710B1 (en) 2019-09-24 2021-03-09 Rockwell Automation Technologies, Inc. Industrial automation domain-specific language programming paradigm
CN112559315A (en) * 2019-09-26 2021-03-26 罗克韦尔自动化技术公司 Test framework for automation objects
EP3798948A1 (en) * 2019-09-26 2021-03-31 Rockwell Automation Technologies, Inc. Ai design analysis and recommendations
CN112988137A (en) * 2021-03-19 2021-06-18 武汉虹信技术服务有限责任公司 Class file import code management system and method
US11048483B2 (en) 2019-09-24 2021-06-29 Rockwell Automation Technologies, Inc. Industrial programming development with an extensible integrated development environment (IDE) platform
US11163536B2 (en) 2019-09-26 2021-11-02 Rockwell Automation Technologies, Inc. Maintenance and commissioning
US11308447B2 (en) 2020-04-02 2022-04-19 Rockwell Automation Technologies, Inc. Cloud-based collaborative industrial automation design environment
US11392112B2 (en) 2019-09-26 2022-07-19 Rockwell Automation Technologies, Inc. Virtual design environment
US11733687B2 (en) 2019-09-26 2023-08-22 Rockwell Automation Technologies, Inc. Collaboration tools

Cited By (23)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US11681502B2 (en) 2019-09-24 2023-06-20 Rockwell Automation Technologies, Inc. Industrial automation domain-specific language programming paradigm
US11269598B2 (en) 2019-09-24 2022-03-08 Rockwell Automation Technologies, Inc. Industrial automation domain-specific language programming paradigm
US12001818B2 (en) 2019-09-24 2024-06-04 Rockwell Automation Technologies, Inc. Extensible IDE platform with open APIs
US10942710B1 (en) 2019-09-24 2021-03-09 Rockwell Automation Technologies, Inc. Industrial automation domain-specific language programming paradigm
US11669309B2 (en) 2019-09-24 2023-06-06 Rockwell Automation Technologies, Inc. Extensible integrated development environment (IDE) platform with open application programming interfaces (APIs)
US11048483B2 (en) 2019-09-24 2021-06-29 Rockwell Automation Technologies, Inc. Industrial programming development with an extensible integrated development environment (IDE) platform
US12039292B2 (en) 2019-09-26 2024-07-16 Rockwell Automation Technologies, Inc. Maintenance and commissioning
CN112559315B (en) * 2019-09-26 2024-01-09 罗克韦尔自动化技术公司 Test framework for automation objects
US11080176B2 (en) 2019-09-26 2021-08-03 Rockwell Automation Technologies, Inc. Testing framework for automation objects
US11640566B2 (en) 2019-09-26 2023-05-02 Rockwell Automation Technologies, Inc. Industrial programming development with a converted industrial control program
EP3798948A1 (en) * 2019-09-26 2021-03-31 Rockwell Automation Technologies, Inc. Ai design analysis and recommendations
CN112559315A (en) * 2019-09-26 2021-03-26 罗克韦尔自动化技术公司 Test framework for automation objects
US11481313B2 (en) 2019-09-26 2022-10-25 Rockwell Automation Technologies, Inc. Testing framework for automation objects
US11392112B2 (en) 2019-09-26 2022-07-19 Rockwell Automation Technologies, Inc. Virtual design environment
US11042362B2 (en) 2019-09-26 2021-06-22 Rockwell Automation Technologies, Inc. Industrial programming development with a trained analytic model
US11163536B2 (en) 2019-09-26 2021-11-02 Rockwell Automation Technologies, Inc. Maintenance and commissioning
US11733687B2 (en) 2019-09-26 2023-08-22 Rockwell Automation Technologies, Inc. Collaboration tools
US11822906B2 (en) 2019-09-26 2023-11-21 Rockwell Automation Technologies, Inc. Industrial programming development with a converted industrial control program
US11829121B2 (en) 2019-09-26 2023-11-28 Rockwell Automation Technologies, Inc. Virtual design environment
US11663553B2 (en) 2020-04-02 2023-05-30 Rockwell Automation Technologies, Inc. Cloud-based collaborative industrial automation design environment
US11308447B2 (en) 2020-04-02 2022-04-19 Rockwell Automation Technologies, Inc. Cloud-based collaborative industrial automation design environment
CN112988137A (en) * 2021-03-19 2021-06-18 武汉虹信技术服务有限责任公司 Class file import code management system and method
CN112988137B (en) * 2021-03-19 2024-05-17 武汉虹信技术服务有限责任公司 System and method for managing class file import code

Similar Documents

Publication Publication Date Title
CN109840085A (en) A kind of software design approach based on artificial intelligence
Buinevich et al. Method and utility for recovering code algorithms of telecommunication devices for vulnerability search
EP2577460A4 (en) Generating text manipulation programs using input-output examples
EA200600036A1 (en) METHOD FOR PREDICTING AND AUTOMATED DESIGN OF A SINGLE WELL AND COMPUTATIONAL SYSTEM FOR ITS IMPLEMENTATION
Gonthier Engineering mathematics: the odd order theorem proof
Kamiya Agec: An execution-semantic clone detection tool
CN109918514A (en) A kind of extraction method, device, the platform of mathematical problem knowledge point and solution approach
Hammar et al. Template-based content odp instantiation
Nghiem et al. Paladin: an annotation tool based on active and proactive learning
Spillner Practical tooling for serverless computing
Shafiq et al. Integrating formal methods in XP—A conceptual solution
CN109086038A (en) Big data development approach and device, terminal based on Spark
Rizvi et al. A methodology for refactoring legacy code
Kaur et al. Applicability of Lehman laws on open source evolution: a case study
SG179426A1 (en) Human transparency paradigm
Syvitski Plug and play component modeling-the CSDMS2. 0 approach
Dehbi et al. A model driven methodology approach for e-learning platform development
Hinrichsen Population viability analysis for several populations using multivariate state-space models
Nikulin Robustness in combinatorial optimization and scheduling theory: An annotated bibliography
Frühstück et al. Debugging answer-set programs with Ouroboros–extending the SeaLion plugin
Romanov et al. Approaches for Representing Software as Graphs for Machine Learning Applications
Vernaeve et al. Asymptotic distribution of integers with certain prime factorizations
Somantri et al. Design of agent framework using aspect oriented approach
Meng et al. Refactoring Model of Legacy Software in Smart Grid based on Cloned Codes Detection
Wazir et al. Mining the frequent itemsets for a database with certain and uncertain transactions

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20190604

WD01 Invention patent application deemed withdrawn after publication