CN118519640A - Military intelligent software automatic translation method based on multi-agent cooperation - Google Patents
Military intelligent software automatic translation method based on multi-agent cooperation Download PDFInfo
- Publication number
- CN118519640A CN118519640A CN202410686314.5A CN202410686314A CN118519640A CN 118519640 A CN118519640 A CN 118519640A CN 202410686314 A CN202410686314 A CN 202410686314A CN 118519640 A CN118519640 A CN 118519640A
- Authority
- CN
- China
- Prior art keywords
- translation
- agent
- test
- source code
- target code
- 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.)
- Granted
Links
- 238000013519 translation Methods 0.000 title claims abstract description 239
- 238000000034 method Methods 0.000 title claims abstract description 166
- 230000008569 process Effects 0.000 claims abstract description 121
- 238000012552 review Methods 0.000 claims abstract description 54
- 230000008439 repair process Effects 0.000 claims abstract description 33
- 238000012360 testing method Methods 0.000 claims description 90
- 238000012986 modification Methods 0.000 claims description 16
- 230000004048 modification Effects 0.000 claims description 16
- 244000035744 Hura crepitans Species 0.000 claims description 12
- 230000008929 regeneration Effects 0.000 claims description 11
- 238000011069 regeneration method Methods 0.000 claims description 11
- 238000011156 evaluation Methods 0.000 claims description 6
- 230000006870 function Effects 0.000 claims description 6
- 238000004590 computer program Methods 0.000 claims description 5
- 238000011161 development Methods 0.000 abstract description 17
- 238000005516 engineering process Methods 0.000 abstract description 3
- 239000003795 chemical substances by application Substances 0.000 description 87
- 230000018109 developmental process Effects 0.000 description 25
- 238000013508 migration Methods 0.000 description 8
- 230000005012 migration Effects 0.000 description 8
- 238000010586 diagram Methods 0.000 description 3
- 101000827703 Homo sapiens Polyphosphoinositide phosphatase Proteins 0.000 description 2
- 102100023591 Polyphosphoinositide phosphatase Human genes 0.000 description 2
- 238000006243 chemical reaction Methods 0.000 description 2
- 238000012423 maintenance Methods 0.000 description 2
- 101001121408 Homo sapiens L-amino-acid oxidase Proteins 0.000 description 1
- 102100026388 L-amino-acid oxidase Human genes 0.000 description 1
- 101100012902 Saccharomyces cerevisiae (strain ATCC 204508 / S288c) FIG2 gene Proteins 0.000 description 1
- 101100233916 Saccharomyces cerevisiae (strain ATCC 204508 / S288c) KAR5 gene Proteins 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 238000011990 functional testing Methods 0.000 description 1
- 230000006872 improvement Effects 0.000 description 1
- 230000003993 interaction Effects 0.000 description 1
- 239000004973 liquid crystal related substance Substances 0.000 description 1
- 230000007246 mechanism Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 238000012795 verification Methods 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/40—Transformation of program code
- G06F8/52—Binary to binary
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/36—Prevention of errors by analysis, debugging or testing of software
- G06F11/3668—Testing of software
- G06F11/3672—Test management
- G06F11/3688—Test management for test execution, e.g. scheduling of test suites
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06N—COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
- G06N20/00—Machine learning
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Software Systems (AREA)
- General Physics & Mathematics (AREA)
- Physics & Mathematics (AREA)
- Evolutionary Computation (AREA)
- Medical Informatics (AREA)
- Computing Systems (AREA)
- Data Mining & Analysis (AREA)
- Computer Vision & Pattern Recognition (AREA)
- Mathematical Physics (AREA)
- Artificial Intelligence (AREA)
- Computer Hardware Design (AREA)
- Quality & Reliability (AREA)
- Stored Programmes (AREA)
Abstract
本发明涉及智能软件生成技术领域,解决了各种军事软件系统由于使用不同的操作系统和硬件架构,而导致在开发过程中转译结果可能存在错误或不完整的技术问题,尤其涉及一种基于多智能体协作的军事智能软件自动转译方法,包括:获取待转译的目标代码以及源代码,通过智能体阅读源代码以及知识查询,从源代码与目标代码的差异中规划转译流程;将转译流程以及源代码与目标代码的差异作为提示词,通过另一智能体或人工审查转译流程是否合理;通过多智能体相互之间协作依次完成转译流程得到转译结果。本发明能够提高大语言模型进行代码转译的效率和正确率,同时自动检查转译结果的语法错误和功能错误并及时修复,有效减轻了开发人员的工作负担。
The present invention relates to the field of intelligent software generation technology, solves the technical problem that various military software systems may have errors or incomplete translation results during the development process due to the use of different operating systems and hardware architectures, and particularly relates to a military intelligent software automatic translation method based on multi-agent collaboration, including: obtaining the target code and source code to be translated, reading the source code and knowledge query by the agent, planning the translation process from the difference between the source code and the target code; using the translation process and the difference between the source code and the target code as prompt words, and checking whether the translation process is reasonable through another agent or manual review; and completing the translation process in sequence through the collaboration of multiple agents to obtain the translation result. The present invention can improve the efficiency and accuracy of code translation by a large language model, and automatically check the syntax errors and functional errors of the translation results and repair them in time, effectively reducing the workload of developers.
Description
技术领域Technical Field
本发明涉及智能软件生成技术领域,尤其涉及一种基于多智能体协作的军事智能软件自动转译方法。The present invention relates to the technical field of intelligent software generation, and in particular to an automatic translation method of military intelligent software based on multi-agent collaboration.
背景技术Background Art
随着软件开发领域的不断发展,跨平台开发和框架迁移等挑战日益显现。在跨平台开发方面,开发人员需要确保他们的应用程序能够在不同操作系统和设备上运行,这要求他们熟悉并能够适应各种不同的开发环境和平台特性。而框架迁移则涉及到将现有应用程序从一个开发框架迁移到另一个框架,这可能涉及到不同的语言、库和工具集,导致开发人员需要重新学习和适应新的开发环境。这些挑战给软件开发带来了额外的复杂性和困难。As the field of software development continues to evolve, challenges such as cross-platform development and framework migration are becoming increasingly apparent. In terms of cross-platform development, developers need to ensure that their applications can run on different operating systems and devices, which requires them to be familiar with and able to adapt to a variety of different development environments and platform features. Framework migration involves migrating existing applications from one development framework to another, which may involve different languages, libraries, and tool sets, causing developers to relearn and adapt to new development environments. These challenges bring additional complexity and difficulty to software development.
在军事应用中,软件开发面临的挑战更加严峻。军事系统往往需要在各种极端环境下运行,并且必须具备高可靠性和高安全性。因此,军事软件的跨平台开发和框架迁移不仅要考虑一般软件开发中的复杂性和多样性,还需要满足严格的性能和安全要求。例如,军事指挥和控制系统需要在陆、海、空、天等多种平台上无缝运行,而这些平台可能使用不同的操作系统和硬件架构。In military applications, the challenges faced by software development are even more severe. Military systems often need to operate in various extreme environments and must have high reliability and high security. Therefore, cross-platform development and framework migration of military software must not only consider the complexity and diversity in general software development, but also meet strict performance and security requirements. For example, military command and control systems need to run seamlessly on multiple platforms such as land, sea, air, and space, and these platforms may use different operating systems and hardware architectures.
发明内容Summary of the invention
针对现有技术的不足,本发明提供了一种基于多智能体协作的军事智能软件自动转译方法,解决了各种军事软件系统由于使用不同的操作系统和硬件架构,而导致在开发过程中转译结果可能存在错误或不完整的技术问题。In view of the shortcomings of the prior art, the present invention provides a method for automatic translation of military intelligent software based on multi-agent collaboration, which solves the technical problem that various military software systems may have errors or incomplete translation results during the development process due to the use of different operating systems and hardware architectures.
为解决上述技术问题,本发明提供了如下技术方案:一种基于多智能体协作的军事智能软件自动转译方法,该方法包括以下步骤:In order to solve the above technical problems, the present invention provides the following technical solutions: a method for automatic translation of military intelligent software based on multi-agent collaboration, the method comprising the following steps:
S1、获取待转译的目标代码以及源代码,通过智能体阅读源代码以及知识查询,从源代码与目标代码的差异中规划转译流程;S1. Obtain the target code and source code to be translated, read the source code and perform knowledge query through the agent, and plan the translation process based on the differences between the source code and the target code;
S2、将转译流程以及源代码与目标代码的差异作为提示词,通过另一智能体或人工审查转译流程是否合理;S2, using the translation process and the difference between the source code and the target code as prompts, and having another intelligent agent or a human review whether the translation process is reasonable;
若合理,则进入步骤S3;If reasonable, proceed to step S3;
若不合理,则提出修改意见,并返回步骤S1重新生成转译流程;If it is unreasonable, propose modification suggestions and return to step S1 to regenerate the translation process;
S3、通过多智能体相互之间协作依次完成转译流程得到转译结果;S3, through the cooperation of multiple agents, the translation process is completed in sequence to obtain the translation result;
S4、采用目标代码编译器或解释器对转译结果进行编译以完成语法测试;S4, compiling the translated result using a target code compiler or interpreter to complete syntax testing;
若语法测试通过,则进入步骤S5;If the syntax test passes, proceed to step S5;
若语法测试不通过,则将错误信息提供给步骤S3中的智能体由其进行错误处理并重新生成转译结果;If the syntax test fails, the error information is provided to the agent in step S3 for error handling and regeneration of the translation result;
S5、采用测试用例在沙盒环境下对转译结果进行测试;S5. Test the translation results in a sandbox environment using test cases;
若存在不通过的测试用例,则将该测试用例以及错误结果提供给步骤S3中的智能体由其进行错误处理并重新生成转译结果;If there is a test case that fails, the test case and the error result are provided to the agent in step S3 for error handling and regeneration of the translation result;
若测试用例全部通过,则输出最终的转译结果。If all test cases pass, the final translation results are output.
进一步地,在步骤S1中,具体过程包括以下步骤:Furthermore, in step S1, the specific process includes the following steps:
S11、获取由用户指定的目标代码语言、工具包、框架信息或由智能体根据目标代码语言自动选择合适的工具包或框架信息;S11, obtaining the target code language, toolkit, and framework information specified by the user, or automatically selecting the appropriate toolkit or framework information by the agent according to the target code language;
S12、智能体通过阅读源代码,整理出源代码的功能以及所使用的语言、工具包、框架信息;S12, the agent reads the source code and sorts out the functions of the source code as well as the language, toolkit, and framework information used;
S13、智能体通过查询知识库,整理源代码与目标代码的差异并规划转译流程。S13. The agent sorts out the differences between the source code and the target code and plans the translation process by querying the knowledge base.
进一步地,在步骤S2中,具体过程包括以下步骤:Furthermore, in step S2, the specific process includes the following steps:
S21、智能体在收到源代码与目标代码的差异以及转译流程后,根据差异重新审查转译流程是否合理;S21. After receiving the differences between the source code and the target code and the translation process, the agent re-examines whether the translation process is reasonable based on the differences;
若不合理,则提出修改意见;If it is unreasonable, propose amendments;
若合理,则进入步骤S22交由人工审查;If it is reasonable, it proceeds to step S22 for manual review;
S22、智能体输出规划的转译流程及其原因并询问开发者意见;S22, the agent outputs the translation process of the plan and its reasons and asks the developer for his or her opinions;
若开发者提出修改意见,则智能体会根据修改意见重新生成转译流程并再次交由开发者进行审查;If the developer proposes a modification, the intelligent body will regenerate the translation process based on the modification and submit it to the developer for review again;
若开发者没有提出修改意见,则结束。If the developer does not propose any modification suggestions, the process ends.
进一步地,在步骤S3中,具体过程包括转译阶段以及错误处理阶段,具体如下:Furthermore, in step S3, the specific process includes a translation stage and an error handling stage, which are as follows:
在转译阶段,根据转译步骤查询知识库和规则库获得转译操作并执行,然后利用评审智能体对转译操作进行审查并纠错;In the translation phase, the knowledge base and rule base are queried according to the translation steps to obtain the translation operation and execute it. Then, the review agent is used to review and correct the translation operation.
在错误处理阶段,首先评估智能体总结并分类错误信息,反思智能体根据错误信息和转译结果进行反思并总结生成修复操作,由执行智能体根据修复操作进行错误处理,并由评审智能体审查执行智能体的操作。In the error handling stage, the evaluation agent first summarizes and classifies the error information, the reflection agent reflects and summarizes the error information and translation results to generate repair operations, the execution agent handles the error according to the repair operations, and the review agent reviews the operations of the execution agent.
进一步地,所述在转译阶段中,详细过程为:若当前阶段为转译阶段,则执行智能体根据当前转译任务查询知识库和规则库并执行转译操作,然后通过评审智能体审查执行智能体的转译结果是否遵循转译操作;Furthermore, in the translation stage, the detailed process is as follows: if the current stage is the translation stage, the execution agent queries the knowledge base and the rule base according to the current translation task and performs the translation operation, and then the review agent reviews whether the translation result of the execution agent complies with the translation operation;
若不遵循,则评审智能体会告知执行智能体未遵循的转译操作并由其重新执行转译操作;If not, the review agent will inform the execution agent of the translation operation that was not followed and ask it to re-execute the translation operation;
若遵循,则当前转译操作完成并生成转译结果;If followed, the current translation operation is completed and a translation result is generated;
所述在错误处理阶段中,详细过程为:若当前为错误处理阶段,评估智能体会对错误进行分类和总结,由反思智能体根据转译结果和错误总结生成修复操作,并由执行智能体执行;In the error handling stage, the detailed process is as follows: if the current stage is the error handling stage, the evaluation agent will classify and summarize the errors, the reflection agent will generate a repair operation based on the translation result and the error summary, and the execution agent will execute it;
然后通过评审智能体审查执行智能体的修复结果是否遵循修复操作;Then the review agent reviews whether the repair result of the execution agent complies with the repair operation;
若不遵循,则评审智能体会告知执行智能体未遵循的修复操作并由其重新执行修复操作;If not, the review agent will inform the execution agent of the repair operation that was not followed and let it re-execute the repair operation;
若遵循,则流转到步骤S4进行重新测试。If yes, the process goes to step S4 for retesting.
进一步地,在步骤S4中,具体过程包括以下步骤:Furthermore, in step S4, the specific process includes the following steps:
S41、通过智能体根据目标代码信息确定目标语言信息或框架信息,并选择合适的目标代码编译器或解释器;S41, determining target language information or framework information according to target code information through an intelligent agent, and selecting a suitable target code compiler or interpreter;
S42、利用目标代码编译器或解释器对转译结果进行语法测试;S42, using a target code compiler or interpreter to perform syntax testing on the translated result;
若语法不正确,则记录错误信息并流转到步骤S3进行错误修复;If the syntax is incorrect, the error message is recorded and the process goes to step S3 to correct the error;
若语法正确,则流转到步骤S5进行沙盒测试。If the syntax is correct, the process proceeds to step S5 for sandbox testing.
进一步地,在步骤S5中,具体过程包括以下步骤:Furthermore, in step S5, the specific process includes the following steps:
S51、智能体通过阅读作为输入的源代码并执行获得输出,形成若干个测试用例;S51, the agent reads the source code as input and executes it to obtain output, forming several test cases;
S52、采用测试用例在沙盒环境下对转译结果进行测试;S52, testing the translation result in a sandbox environment using a test case;
若测试用例未通过,则记录测试用例信息以及错误信息,流转到步骤S3进行错误修复;If the test case fails, the test case information and error information are recorded, and the process proceeds to step S3 to fix the error;
若测试用例全部通过,则该转译结果即为目标代码。If all test cases pass, the translation result is the target code.
该技术方案还提供了一种用于实现军事智能软件自动转译方法的系统,该系统包括:The technical solution also provides a system for realizing the automatic translation method of military intelligent software, the system comprising:
转译流程规划模块,所述转译流程规划模块用于获取待转译的目标代码以及源代码,通过智能体阅读源代码以及知识查询,从源代码与目标代码的差异中规划转译流程;A translation process planning module, which is used to obtain the target code and source code to be translated, read the source code through the intelligent agent and perform knowledge query, and plan the translation process from the differences between the source code and the target code;
转译流程审查模块,所述转译流程审查模块用于将转译流程以及源代码与目标代码的差异作为提示词,通过另一智能体或人工审查转译流程是否合理;A translation process review module, wherein the translation process review module is used to use the translation process and the difference between the source code and the target code as prompt words, and to review whether the translation process is reasonable through another intelligent agent or manually;
若合理,则进入转译流程执行模块中;If it is reasonable, it will enter the translation process execution module;
若不合理,则提出修改意见,并返回转译流程规划模块中重新生成转译流程;If it is unreasonable, propose modification suggestions and return to the translation process planning module to regenerate the translation process;
转译流程执行模块,所述转译流程执行模块用于通过多智能体相互之间协作依次完成转译流程得到转译结果;A translation process execution module, wherein the translation process execution module is used to complete the translation process in sequence through the cooperation between multiple agents to obtain the translation result;
语法测试模块,所述语法测试模块采用目标代码编译器或解释器对转译结果进行编译以完成语法测试;A grammar test module, wherein the grammar test module compiles the translation result using a target code compiler or an interpreter to complete a grammar test;
若语法测试通过,则进入转译结果测试模块中;If the syntax test passes, enter the translation result test module;
若语法测试不通过,则将错误信息提供给转译流程执行模块进行错误处理并重新生成转译结果;If the syntax test fails, the error information is provided to the translation process execution module for error handling and regeneration of the translation result;
转译结果测试模块,所述转译结果测试模块采用测试用例在沙盒环境下对转译结果进行测试;A translation result testing module, wherein the translation result testing module uses a test case to test the translation result in a sandbox environment;
若存在不通过的测试用例,则将该测试用例以及错误结果提供给转译流程执行模块进行错误处理并重新生成转译结果;If there are any test cases that fail, the test cases and error results are provided to the translation process execution module for error handling and regeneration of translation results;
若测试用例全部通过,则输出最终的转译结果。If all test cases pass, the final translation results are output.
借由上述技术方案,本发明提供了一种基于多智能体协作的军事智能软件自动转译方法,至少具备以下有益效果:By means of the above technical solution, the present invention provides a method for automatic translation of military intelligent software based on multi-agent collaboration, which has at least the following beneficial effects:
1、本发明能够提高大语言模型进行代码转译的效率和正确率,同时自动检查转译结果的语法错误和功能错误并及时修复,有效减轻了开发人员的工作负担。1. The present invention can improve the efficiency and accuracy of code translation of large language models, and automatically check the syntax errors and functional errors of the translation results and repair them in time, effectively reducing the workload of developers.
2、本发明利用多个语言智能体之间的协作,能够更有效地处理大规模代码转换,并提高转译的准确性和可靠性,可以确保转译结果能够满足开发者的需求,帮助他们在不同平台和框架下轻松地进行软件开发和维护。2. The present invention utilizes the collaboration between multiple language agents to more effectively handle large-scale code conversion and improve the accuracy and reliability of translation, thereby ensuring that the translation results can meet the needs of developers and help them easily develop and maintain software on different platforms and frameworks.
3、本发明能够满足军事应用中高效、可靠、安全的需求,大大减轻了开发人员的负担,提高了军事软件的开发和维护效率。3. The present invention can meet the requirements of high efficiency, reliability and security in military applications, greatly reduce the burden on developers, and improve the efficiency of military software development and maintenance.
附图说明BRIEF DESCRIPTION OF THE DRAWINGS
此处所说明的附图用来提供对本申请的进一步理解,构成本申请的一部分,本申请的示意性实施例及其说明用于解释本申请,并不构成对本申请的不当限定。在附图中:The drawings described herein are used to provide a further understanding of the present application and constitute a part of the present application. The illustrative embodiments of the present application and their descriptions are used to explain the present application and do not constitute an improper limitation on the present application. In the drawings:
图1为本发明军事智能软件自动转译方法的流程图;FIG1 is a flow chart of a method for automatically translating military intelligent software according to the present invention;
图2为本发明提供的多智能体之间的协作示意图;FIG2 is a schematic diagram of collaboration between multiple agents provided by the present invention;
图3为本发明提供的知识库和规则库查询示意图;FIG3 is a schematic diagram of querying a knowledge base and a rule base provided by the present invention;
图4为本发明提供的语法测试和功能测试示意图。FIG. 4 is a schematic diagram of a grammar test and a functional test provided by the present invention.
具体实施方式DETAILED DESCRIPTION
为使本发明的上述目的、特征和优点能够更加明显易懂,下面结合附图和具体实施方式对本发明作进一步详细的说明。借此对本申请如何应用技术手段来解决技术问题并达成技术功效的实现过程能充分理解并据以实施。In order to make the above-mentioned purposes, features and advantages of the present invention more obvious and easy to understand, the present invention is further described in detail below with reference to the accompanying drawings and specific implementation methods, so that the implementation process of how the present application uses technical means to solve technical problems and achieve technical effects can be fully understood and implemented accordingly.
随着软件开发领域的不断发展,跨平台开发和框架迁移等挑战日益显现。在跨平台开发方面,开发人员需要确保他们的应用程序能够在不同操作系统和设备上运行,这要求他们熟悉并能够适应各种不同的开发环境和平台特性。而框架迁移则涉及到将现有应用程序从一个开发框架迁移到另一个框架,这可能涉及到不同的语言、库和工具集,导致开发人员需要重新学习和适应新的开发环境。这些挑战给软件开发带来了额外的复杂性和困难,因此寻找一种高效、准确的方式来应对这些挑战变得尤为重要。As the field of software development continues to evolve, challenges such as cross-platform development and framework migration are becoming increasingly apparent. In terms of cross-platform development, developers need to ensure that their applications can run on different operating systems and devices, which requires them to be familiar with and able to adapt to a variety of different development environments and platform features. Framework migration involves migrating existing applications from one development framework to another, which may involve different languages, libraries, and tool sets, causing developers to relearn and adapt to new development environments. These challenges bring additional complexity and difficulty to software development, so it is particularly important to find an efficient and accurate way to deal with these challenges.
现有的代码转译工具在转译效率和精度方面存在一定的局限性。由于编程语言或框架的复杂性和多样性,这些工具往往无法完全捕捉所有语义和结构差异,导致转译结果可能存在错误或不完整。另外,现有工具可能缺乏足够的智能化和自适应性,无法有效地应对不断变化的开发需求和新兴技术的挑战。这些问题限制了现有代码转译工具的应用范围和实用性,需要进一步的技术创新和改进来解决。在军事应用中,软件开发面临的挑战更加严峻。军事系统往往需要在各种极端环境下运行,并且必须具备高可靠性和高安全性。因此,军事软件的跨平台开发和框架迁移不仅要考虑一般软件开发中的复杂性和多样性,还需要满足严格的性能和安全要求。例如,军事指挥和控制系统需要在陆、海、空、天等多种平台上无缝运行,而这些平台可能使用不同的操作系统和硬件架构。此外,随着新技术和新战术的不断涌现,军事软件需要快速适应和集成这些变化,以保持战斗力的优势。Existing code translation tools have certain limitations in terms of translation efficiency and accuracy. Due to the complexity and diversity of programming languages or frameworks, these tools often cannot fully capture all semantic and structural differences, resulting in errors or incomplete translation results. In addition, existing tools may lack sufficient intelligence and adaptability to effectively respond to the challenges of changing development needs and emerging technologies. These problems limit the application scope and practicality of existing code translation tools and require further technological innovation and improvement to solve. In military applications, the challenges faced by software development are even more severe. Military systems often need to operate in various extreme environments and must have high reliability and high security. Therefore, cross-platform development and framework migration of military software must not only consider the complexity and diversity in general software development, but also meet strict performance and security requirements. For example, military command and control systems need to run seamlessly on multiple platforms such as land, sea, air, and space, which may use different operating systems and hardware architectures. In addition, with the continuous emergence of new technologies and new tactics, military software needs to quickly adapt and integrate these changes to maintain combat effectiveness.
请参照图1-图4,本实施例提出了一种基于多智能体协作的军事智能软件自动转译方法,以应对跨平台开发和框架迁移等需求,这种方法利用多个语言智能体之间的协作,能够更有效地处理大规模代码转换,并提高转译的准确性和可靠性,可以确保转译结果能够满足开发者的需求,帮助他们在不同平台和框架下轻松地进行软件开发和维护。该方法包括以下步骤:Referring to Figures 1 to 4, this embodiment proposes a method for automatic translation of military intelligent software based on multi-agent collaboration to meet the needs of cross-platform development and framework migration. This method utilizes the collaboration between multiple language agents to more effectively handle large-scale code conversion and improve the accuracy and reliability of translation, ensuring that the translation results can meet the needs of developers and help them easily develop and maintain software on different platforms and frameworks. The method includes the following steps:
S1、获取待转译的目标代码以及源代码,通过智能体阅读源代码以及知识查询,从源代码与目标代码的差异中规划转译流程;作为实施步骤S1的最优实施方法,具体过程包括以下步骤:S1, obtaining the target code and source code to be translated, reading the source code and performing knowledge query by the agent, and planning the translation process from the differences between the source code and the target code; as the optimal implementation method of step S1, the specific process includes the following steps:
S11、获取由用户指定的目标代码语言、工具包、框架信息或由智能体根据目标代码语言自动选择合适的工具包或框架信息;S11, obtaining the target code language, toolkit, and framework information specified by the user, or automatically selecting the appropriate toolkit or framework information by the agent according to the target code language;
S12、智能体通过阅读源代码,整理出源代码的功能以及所使用的语言、工具包、框架信息;S12, the agent reads the source code and sorts out the functions of the source code as well as the language, toolkit, and framework information used;
S13、智能体通过查询知识库,整理源代码与目标代码的差异并规划转译流程。S13. The agent sorts out the differences between the source code and the target code and plans the translation process by querying the knowledge base.
在本实施例中,所采用的智能体为大语言模型智能体,通过将源代码和目标代码的语言、框架等特点作为提示进行知识查询,并总结源代码与目标代码之间的差异,进而规划整个转译流程。In this embodiment, the agent used is a large language model agent, which performs knowledge query by using the language, framework and other characteristics of the source code and target code as prompts, summarizes the differences between the source code and the target code, and then plans the entire translation process.
S2、将转译流程以及源代码与目标代码的差异作为提示词,通过另一智能体或人工审查转译流程是否合理;若合理,则进入步骤S3;若不合理,则提出修改意见,并返回步骤S1重新生成转译流程;在该步骤中,通过将得到的转译流程及源代码与目标代码的差异作为提示词,通过另一智能体审查转译流程,再由人工进行审查从而获得正确的转译流程,此处所使用的智能体可为大语言模型智能体或Judge智能体以及其他能够执行自主审核并交由开发者对修改后的转译流程进行再次审核。其中,作为实施步骤S2的最优实施方法,具体过程包括以下步骤:S2, using the translation process and the difference between the source code and the target code as prompts, and having another intelligent agent or manual review whether the translation process is reasonable; if reasonable, proceed to step S3; if unreasonable, propose modification suggestions, and return to step S1 to regenerate the translation process; in this step, by using the obtained translation process and the difference between the source code and the target code as prompts, having another intelligent agent review the translation process, and then having manual review to obtain the correct translation process, the intelligent agent used here can be a large language model intelligent agent or a Judge intelligent agent and other agents that can perform autonomous review and hand over the modified translation process to the developer for re-review. Among them, as the optimal implementation method for implementing step S2, the specific process includes the following steps:
S21、智能体在收到源代码与目标代码的差异以及转译流程后,根据差异重新审查转译流程是否合理;若不合理,则提出修改意见;若合理,则进入步骤S22交由人工审查;S21, after receiving the differences between the source code and the target code and the translation process, the agent re-examines whether the translation process is reasonable based on the differences; if not, it proposes modification suggestions; if reasonable, it proceeds to step S22 for manual review;
S22、智能体输出规划的转译流程及其原因并询问开发者意见;若开发者提出修改意见,则智能体会根据修改意见重新生成转译流程并再次交由开发者进行审查;若开发者没有提出修改意见,则结束。S22. The intelligent body outputs the planned translation process and its reasons and asks the developer for his/her opinion. If the developer proposes modification suggestions, the intelligent body will regenerate the translation process based on the modification suggestions and submit it to the developer for review again. If the developer does not propose modification suggestions, the process ends.
S3、通过多智能体相互之间协作依次完成转译流程得到转译结果;在此处,多个智能体之间相互协作依次完成转译流程中的每一步并进行错误修复,每个转译步骤中,在知识库和规则库的提示下,多智能体通过语言交互完成代码初步转译任务。请参照图2,作为实施步骤S3的最优实施方法,具体过程包括转译阶段以及错误处理阶段,具体如下:S3, through the cooperation of multiple agents, the translation process is completed in sequence to obtain the translation result; here, multiple agents cooperate with each other to complete each step in the translation process and perform error repair. In each translation step, under the prompt of the knowledge base and the rule base, multiple agents complete the preliminary code translation task through language interaction. Please refer to Figure 2 as the optimal implementation method for implementing step S3. The specific process includes the translation stage and the error handling stage, which are as follows:
在转译阶段,根据转译步骤查询知识库和规则库获得转译操作并执行,然后利用评审智能体对转译操作进行审查并纠错;详细过程为:若当前阶段为转译阶段,则执行智能体根据当前转译任务查询知识库和规则库并执行转译操作,然后通过评审智能体审查执行智能体的转译结果是否遵循转译操作;In the translation phase, the knowledge base and rule base are queried according to the translation steps to obtain the translation operation and execute it, and then the review agent is used to review and correct the translation operation; the detailed process is: if the current phase is the translation phase, the execution agent queries the knowledge base and rule base according to the current translation task and executes the translation operation, and then the review agent is used to review whether the translation result of the execution agent complies with the translation operation;
若不遵循,则评审智能体会告知执行智能体未遵循的转译操作并由其重新执行转译操作;若遵循,则当前转译操作完成并生成转译结果。If it is not followed, the review agent will inform the execution agent of the translation operation that was not followed and let it re-execute the translation operation; if it is followed, the current translation operation is completed and the translation result is generated.
在错误处理阶段,首先评估智能体总结并分类错误信息,反思智能体根据错误信息和转译结果进行反思并总结生成修复操作,由执行智能体根据修复操作进行错误处理,并由评审智能体审查执行智能体的操作。详细过程为:若当前为错误处理阶段,评估智能体会对错误进行分类和总结,由反思智能体根据转译结果和错误总结生成修复操作,并由执行智能体执行;然后通过评审智能体审查执行智能体的修复结果是否遵循修复操作;若不遵循,则评审智能体会告知执行智能体未遵循的修复操作并由其重新执行修复操作;若遵循,则流转到步骤S4进行重新测试。In the error handling stage, the evaluation agent first summarizes and classifies the error information, the reflection agent reflects and summarizes the error information and the translation results to generate the repair operation, the execution agent performs error handling according to the repair operation, and the review agent reviews the execution agent's operation. The detailed process is: if the current stage is the error handling stage, the evaluation agent will classify and summarize the errors, the reflection agent will generate the repair operation according to the translation results and the error summary, and the execution agent will execute it; then the review agent will review whether the repair result of the execution agent complies with the repair operation; if not, the review agent will inform the execution agent of the repair operation that is not followed and let it re-execute the repair operation; if it complies, the flow goes to step S4 for retesting.
请参照图3和图4,作为本实施例中步骤S4的优选实施方式,具体为:Please refer to FIG. 3 and FIG. 4 , as a preferred implementation of step S4 in this embodiment, specifically:
若当前为转译阶段,则Actor智能体根据当前转译任务查询知识库和规则库并执行转译操作;若当前为错误处理阶段,Evaluator智能体会对错误进行分类和总结,由Reflection智能体根据转译结果和错误总结生成修复操作,并由Actor智能体执行。If the current stage is the translation stage, the Actor agent will query the knowledge base and rule base according to the current translation task and perform the translation operation; if the current stage is the error handling stage, the Evaluator agent will classify and summarize the errors, and the Reflection agent will generate repair operations based on the translation results and error summaries, which will be executed by the Actor agent.
若当前为转译阶段,Judge智能体会审查Actor智能体的转译结果是否遵循转译操作,若不遵循,则Judge智能体会告知Actor智能体未遵循的转译操作并由其重新执行转译操作;若遵循,则当前转译操作完成,执行下一转译步骤;若当前为错误处理阶段,Judge智能体会审查Actor智能体的修复结果是否遵循修复操作,若不遵循,则Judge智能体会告知Actor智能体未遵循的修复操作并由其重新执行修复操作;若遵循,则将最终的转译结果流转到步骤S4进行编译测试。If the current stage is the translation stage, the Judge intelligent body will review whether the translation result of the Actor intelligent body complies with the translation operation. If not, the Judge intelligent body will inform the Actor intelligent body of the translation operation that was not followed and let it re-execute the translation operation; if it is followed, the current translation operation is completed and the next translation step is executed; if the current stage is the error handling stage, the Judge intelligent body will review whether the repair result of the Actor intelligent body complies with the repair operation. If not, the Judge intelligent body will inform the Actor intelligent body of the repair operation that was not followed and let it re-execute the repair operation; if it is followed, the final translation result will be transferred to step S4 for compilation testing.
S4、采用目标代码编译器或解释器对转译结果进行编译以完成语法测试,若语法测试通过,则进入步骤S5;若语法测试不通过,则将错误信息提供给步骤S3中的智能体由其进行错误处理并重新生成转译结果;如图4所示,作为实施步骤S4的最优实施方法,具体过程包括以下步骤:S4, compile the translation result using a target code compiler or interpreter to complete a syntax test. If the syntax test passes, proceed to step S5; if the syntax test fails, provide the error information to the agent in step S3 for error handling and regenerate the translation result. As shown in FIG4 , as the optimal implementation method for implementing step S4, the specific process includes the following steps:
S41、通过智能体根据目标代码信息确定目标语言信息或框架信息,并选择合适的目标代码编译器或解释器;S41, determining target language information or framework information according to target code information through an intelligent agent, and selecting a suitable target code compiler or interpreter;
S42、利用目标代码编译器或解释器对转译结果进行语法测试;若语法不正确,则记录错误信息并流转到步骤S3进行错误修复;若语法正确,则流转到步骤S5进行沙盒测试。S42, use the target code compiler or interpreter to perform syntax test on the translation result; if the syntax is incorrect, record the error information and flow to step S3 for error repair; if the syntax is correct, flow to step S5 for sandbox testing.
S5、采用测试用例对转译结果进行测试,若存在不通过的测试用例,则将该测试用例以及错误结果提供给步骤S3中的智能体由其进行错误处理并重新生成转译结果;若测试用例全部通过,则输出最终的转译结果。如图4所示,作为实施步骤S5的最优实施方法,具体过程包括以下步骤:S5, test the translation result with test cases. If there are test cases that fail, provide the test cases and error results to the agent in step S3 for error handling and regeneration of the translation result. If all test cases pass, output the final translation result. As shown in FIG4, as the best implementation method for implementing step S5, the specific process includes the following steps:
S51、智能体通过阅读作为输入的源代码并执行获得输出,形成若干个测试用例;S51, the agent reads the source code as input and executes it to obtain output, forming several test cases;
S52、采用测试用例在沙盒环境下对转译结果进行测试;若测试用例未通过,则记录测试用例信息以及错误信息,流转到步骤S3进行错误修复;若测试用例全部通过,则该转译结果即为目标代码。S52, using test cases to test the translation results in a sandbox environment; if the test case fails, the test case information and error information are recorded, and the process proceeds to step S3 for error repair; if all test cases pass, the translation result is the target code.
本发明所提出的军事智能软件自动转译方法在军事应用中具有显著优势。首先,多智能体协作机制能够有效提升代码转译的效率和准确性,确保在短时间内完成高质量的代码迁移。其次,大语言模型的引入使得系统能够自动识别和修复转译过程中的语法和功能错误,进一步提高了软件的可靠性。最后,通过沙盒测试等技术手段,可以在部署之前对转译结果进行严格的功能验证,确保其在实际操作中的稳定性和安全性。这些特点使得本发明的代码转译方法能够满足军事应用中高效、可靠、安全的需求,大大减轻了开发人员的负担,提高了军事软件的开发和维护效率。The automatic translation method of military intelligent software proposed in the present invention has significant advantages in military applications. First, the multi-agent collaboration mechanism can effectively improve the efficiency and accuracy of code translation, ensuring that high-quality code migration is completed in a short time. Secondly, the introduction of a large language model enables the system to automatically identify and repair grammatical and functional errors in the translation process, further improving the reliability of the software. Finally, through technical means such as sandbox testing, strict functional verification can be performed on the translation results before deployment to ensure its stability and security in actual operation. These characteristics enable the code translation method of the present invention to meet the requirements of high efficiency, reliability and security in military applications, greatly reduce the burden on developers, and improve the development and maintenance efficiency of military software.
本发明所提出的军事智能软件自动转译方法,有效提高了大语言模型进行代码转译的效率和正确率,能够自动检查转译结果的语法错误和功能错误并及时修复,有效减轻了开发人员的工作负担。The automatic translation method for military intelligent software proposed in the present invention effectively improves the efficiency and accuracy of code translation by a large language model, can automatically check syntax errors and functional errors in the translation results and repair them in a timely manner, effectively reducing the workload of developers.
与上述实施例提供的军事智能软件自动转译方法相对应,本实施例还提供了一种军事智能软件自动转译系统,由于本实施例提供的军事智能软件自动转译系统与上述实施例提供的军事智能软件自动转译方法相对应,因此前述军事智能软件自动转译方法的实施方式也适用于本实施例提供的军事智能软件自动转译系统,在本实施例中不再详细描述。Corresponding to the military intelligent software automatic translation method provided in the above embodiment, this embodiment also provides a military intelligent software automatic translation system. Since the military intelligent software automatic translation system provided in this embodiment corresponds to the military intelligent software automatic translation method provided in the above embodiment, the implementation method of the aforementioned military intelligent software automatic translation method is also applicable to the military intelligent software automatic translation system provided in this embodiment, and will not be described in detail in this embodiment.
本实施例所提出的军事智能软件自动转译系统由转译流程规划模块、转译流程审查模块、转译流程执行模块、语法测试模块以及转译结果测试模块组成。具体的,转译流程规划模块用于获取待转译的目标代码以及源代码,通过智能体阅读源代码以及知识查询,从源代码与目标代码的差异中规划转译流程;转译流程审查模块用于将转译流程以及源代码与目标代码的差异作为提示词,通过另一智能体或人工审查转译流程是否合理;若合理,则进入转译流程执行模块中;若不合理,则提出修改意见,并返回转译流程规划模块中重新生成转译流程。The military intelligent software automatic translation system proposed in this embodiment is composed of a translation process planning module, a translation process review module, a translation process execution module, a grammar test module and a translation result test module. Specifically, the translation process planning module is used to obtain the target code and source code to be translated, and plan the translation process from the difference between the source code and the target code through the intelligent agent reading the source code and knowledge query; the translation process review module is used to use the translation process and the difference between the source code and the target code as prompt words, and use another intelligent agent or manual to review whether the translation process is reasonable; if it is reasonable, it enters the translation process execution module; if it is unreasonable, it proposes modification suggestions and returns to the translation process planning module to regenerate the translation process.
转译流程执行模块用于通过多智能体相互之间协作依次完成转译流程得到转译结果;语法测试模块采用目标代码编译器或解释器对转译结果进行编译以完成语法测试;若语法测试通过,则进入转译结果测试模块中;若语法测试不通过,则将错误信息提供给转译流程执行模块进行错误处理并重新生成转译结果。The translation process execution module is used to complete the translation process in sequence through the cooperation of multiple intelligent agents to obtain the translation results; the syntax testing module uses a target code compiler or interpreter to compile the translation results to complete the syntax test; if the syntax test passes, it enters the translation result testing module; if the syntax test fails, the error information is provided to the translation process execution module for error handling and regeneration of the translation result.
转译结果测试模块采用测试用例在沙盒环境下对转译结果进行测试;若存在不通过的测试用例,则将该测试用例以及错误结果提供给转译流程执行模块进行错误处理并重新生成转译结果;若测试用例全部通过,则输出最终的转译结果。The translation result test module uses test cases to test the translation results in a sandbox environment; if there are any test cases that fail, the test cases and error results are provided to the translation process execution module for error handling and regeneration of the translation results; if all test cases pass, the final translation results are output.
需要说明的是,上述实施例提供的系统,在实现其功能时,仅以上述各功能模块的划分进行举例说明,实际应用中,可以根据需要而将上述功能分配由不同的功能模块完成,即将设备的内部结构划分成不同的功能模块,以完成以上描述的全部或者部分功能。另外,上述实施例提供的系统与方法实施例属于同一构思,其具体实现过程详见方法实施例,这里不再赘述。It should be noted that the system provided in the above embodiment, when realizing its functions, only uses the division of the above functional modules as an example. In actual applications, the above functions can be assigned to different functional modules as needed, that is, the internal structure of the device is divided into different functional modules to complete all or part of the functions described above. In addition, the system and method embodiments provided in the above embodiment belong to the same concept, and the specific implementation process is detailed in the method embodiment, which will not be repeated here.
本实施例还提供了一种计算机设备,该计算机设备包括通过系统总线连接的处理器、存储器、网络接口、输入装置和显示屏。其中,该计算机设备的处理器用于提供计算和控制能力。存储器包括存储介质和内存储器。存储介质可以是非易失性存储介质,也可以是易失性存储介质。存储介质存储有操作系统,还可存储有计算机可读指令,该计算机可读指令被处理器执行时,可使得处理器实现军事智能软件自动转译方法。该内存储器为存储介质中的操作系统和计算机可读指令的运行提供环境。该内存储器中也可储存有计算机可读指令,该计算机可读指令被处理器执行时,可使得处理器执行军事智能软件自动转译方法。该计算机设备的网络接口用于与外部服务器通过网络连接通信。计算机设备的显示屏可以是液晶显示屏或者电子墨水显示屏,计算机设备的输入装置可以是显示屏上覆盖的触摸层,也可以是计算机设备外壳上设置的按键、轨迹球或触控板,还可以是外接的键盘、触控板或鼠标等。This embodiment also provides a computer device, which includes a processor, a memory, a network interface, an input device and a display screen connected through a system bus. Among them, the processor of the computer device is used to provide computing and control capabilities. The memory includes a storage medium and an internal memory. The storage medium can be a non-volatile storage medium or a volatile storage medium. The storage medium stores an operating system and can also store computer-readable instructions. When the computer-readable instructions are executed by the processor, the processor can implement the military intelligence software automatic translation method. The internal memory provides an environment for the operation of the operating system and computer-readable instructions in the storage medium. The internal memory can also store computer-readable instructions. When the computer-readable instructions are executed by the processor, the processor can execute the military intelligence software automatic translation method. The network interface of the computer device is used to communicate with an external server through a network connection. The display screen of the computer device can be a liquid crystal display screen or an electronic ink display screen, and the input device of the computer device can be a touch layer covered on the display screen, or a key, trackball or touchpad set on the shell of the computer device, or an external keyboard, touchpad or mouse.
本领域普通技术人员可以理解实现上述实施例方法中的全部或部分步骤是可以通过程序来指令相关的硬件来完成,因此,本申请可采用完全硬件实施例、完全软件实施例、或结合软件和硬件方面的实施例的形式。而且,本申请可采用在一个或多个其中包含有计算机可用程序代码的计算机可用存储介质(包括但不限于磁盘存储器、CD-ROM、光学存储器等)上实施的计算机程序产品的形式。Those skilled in the art can understand that all or part of the steps in the above-mentioned embodiment method can be completed by instructing the relevant hardware through a program, so the present application can take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, the present application can take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program codes.
以上实施方式对本发明进行了详细介绍,本文中应用了具体个例对本发明的原理及实施方式进行了阐述,以上实施例的说明只是用于帮助理解本发明的方法及其核心思想;同时,对于本领域的一般技术人员,依据本发明的思想,在具体实施方式及应用范围上均会有改变之处,综上所述,本说明书内容不应理解为对本发明的限制。The above implementation methods have been described in detail. Specific examples are used herein to illustrate the principles and implementation methods of the present invention. The description of the above embodiments is only used to help understand the method of the present invention and its core idea. At the same time, for those skilled in the art, according to the idea of the present invention, there will be changes in the specific implementation methods and application scope. In summary, the content of this specification should not be understood as a limitation on the present invention.
Claims (10)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202410686314.5A CN118519640B (en) | 2024-05-30 | 2024-05-30 | Automatic translation method of military intelligent software based on multi-agent collaboration |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202410686314.5A CN118519640B (en) | 2024-05-30 | 2024-05-30 | Automatic translation method of military intelligent software based on multi-agent collaboration |
Publications (2)
Publication Number | Publication Date |
---|---|
CN118519640A true CN118519640A (en) | 2024-08-20 |
CN118519640B CN118519640B (en) | 2025-02-28 |
Family
ID=92278978
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202410686314.5A Active CN118519640B (en) | 2024-05-30 | 2024-05-30 | Automatic translation method of military intelligent software based on multi-agent collaboration |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN118519640B (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN119105738A (en) * | 2024-09-12 | 2024-12-10 | 北京医准医疗科技有限公司 | Scientific drawing method, system and storage medium based on multi-agent collaboration |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112732264A (en) * | 2020-12-30 | 2021-04-30 | 中国船舶重工集团公司第七0九研究所 | Automatic code conversion method between high-level programming languages |
US11693641B1 (en) * | 2022-03-22 | 2023-07-04 | Accenture Global Solutions Limited | Machine learning (ML) powered programming code transformations |
CN117539767A (en) * | 2023-11-16 | 2024-02-09 | 中国银联股份有限公司 | Code review method and device, electronic equipment and storage medium |
CN117742724A (en) * | 2023-12-25 | 2024-03-22 | 中国联合网络通信集团有限公司 | Code adaptation conversion method, device, equipment and storage medium |
CN118093016A (en) * | 2024-04-26 | 2024-05-28 | 浙江金网信息产业股份有限公司 | Cross-platform software transplanting method |
CN118092925A (en) * | 2024-01-18 | 2024-05-28 | 广州汽车集团股份有限公司 | Code conversion method, device, electronic device and storage medium |
-
2024
- 2024-05-30 CN CN202410686314.5A patent/CN118519640B/en active Active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112732264A (en) * | 2020-12-30 | 2021-04-30 | 中国船舶重工集团公司第七0九研究所 | Automatic code conversion method between high-level programming languages |
US11693641B1 (en) * | 2022-03-22 | 2023-07-04 | Accenture Global Solutions Limited | Machine learning (ML) powered programming code transformations |
CN117539767A (en) * | 2023-11-16 | 2024-02-09 | 中国银联股份有限公司 | Code review method and device, electronic equipment and storage medium |
CN117742724A (en) * | 2023-12-25 | 2024-03-22 | 中国联合网络通信集团有限公司 | Code adaptation conversion method, device, equipment and storage medium |
CN118092925A (en) * | 2024-01-18 | 2024-05-28 | 广州汽车集团股份有限公司 | Code conversion method, device, electronic device and storage medium |
CN118093016A (en) * | 2024-04-26 | 2024-05-28 | 浙江金网信息产业股份有限公司 | Cross-platform software transplanting method |
Non-Patent Citations (1)
Title |
---|
石鼎 等: "强化学习驱动的海战场多智能体协同作战仿真算法", 《系统仿真学报》, vol. 35, no. 4, 30 April 2023 (2023-04-30), pages 786 - 796 * |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN119105738A (en) * | 2024-09-12 | 2024-12-10 | 北京医准医疗科技有限公司 | Scientific drawing method, system and storage medium based on multi-agent collaboration |
Also Published As
Publication number | Publication date |
---|---|
CN118519640B (en) | 2025-02-28 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
Waters | The programmer's apprentice: A session with KBEmacs | |
Macedo et al. | Least-change bidirectional model transformation with QVT-R and ATL | |
US20040143819A1 (en) | Generic software testing system and mechanism | |
US20070277163A1 (en) | Method and tool for automatic verification of software protocols | |
Sellink et al. | Restructuring of COBOL/CICS legacy systems | |
Liu et al. | Large language model-based agents for software engineering: A survey | |
CN108037913B (en) | Conversion method from xUML4MC model to MSVL language program, computer readable storage medium | |
Whittle et al. | Synthesizing hierarchical state machines from expressive scenario descriptions | |
CN118519640A (en) | Military intelligent software automatic translation method based on multi-agent cooperation | |
CN112230904A (en) | Code generation method and device based on interface document, storage medium and server | |
Tarassow | The potential of LLMs for coding with low-resource and domain-specific programming languages | |
Chen et al. | A survey on evaluating large language models in code generation tasks | |
Zhao et al. | Towards formal verification of UML diagrams based on graph transformation | |
CN102867087A (en) | Graphical radar signal processing high-level integrated design platform and method | |
CN102520963A (en) | Method and system for realizing service logic processing based on strongly-typed relation mapping | |
Casotto et al. | Automated design management using traces | |
CN117075907A (en) | Application program compiling method, system, compiler and storage medium | |
Wąsowski et al. | Building Modeling Languages | |
Amissah | A framework for executable systems modeling | |
Saad | Data-flow based model analysis: Approach, Implementation and Applications | |
Von Mayrhauser et al. | Generating test-cases from an object-oriented model with an artifical-intelligence planning system | |
CN112256323B (en) | A method for modifying parameter configuration | |
Zhou et al. | MiniDB: A Teaching Oriented Lightweight Database | |
Alborodo | A model driven methodology for the construction of reliable concurrent software | |
Alghamdi | Queued and pooled semantics for state machines in the Umple model-oriented programming language |
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 | ||
GR01 | Patent grant | ||
GR01 | Patent grant |