AI-based independent embedded software development and debugging system and method, electronic equipment and storage medium

Through an independent embedded software development and debugging system based on AI, the problem of time-consuming and low efficiency of traditional embedded software development and debugging methods is solved, and automated and intelligent embedded programming development is realized, which improves production efficiency and compatibility.

CN120406910APending Publication Date: 2025-08-01BOLIU INTELLIGENT TECH (SHANGHAI) CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410112998.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-01-26
Publication Date
2025-08-01

AI Technical Summary

Technical Problem

The existing embedded software development and debugging methods rely on traditional manual coding and step-by-step debugging, which is time-consuming and inefficient, and lacks highly automated and intelligent tools, limiting the ability to quickly iterate and innovate.

Method used

Using an independent embedded software development and debugging system based on AI, the AI system generates the development code and debugging commands of embedded software, and interacts with the terminal device through the server to realize automated embedded programming development and debugging.

Benefits of technology

It improves production efficiency, realizes automated processing of complex debugging tasks and cross-platform compatibility, provides intelligent optimization, and has great economic value.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120406910A_ABST
    Figure CN120406910A_ABST
Patent Text Reader

Abstract

The invention discloses an AI-based independent embedded software development and debugging system and method, electronic equipment and a storage medium. The software development and debugging system comprises an AI system, a server and at least one terminal equipment, the server sends data from each terminal device to the AI system and can send feedback data of the AI system to the corresponding terminal device; the AI system receives data sent by the corresponding terminal equipment through the server, and generates development codes and debugging commands of the embedded software according to the data; and the terminal equipment can be connected with the corresponding embedded hardware, and performs embedded software development and debugging on the embedded hardware by using the received development code and debugging command of the embedded software generated by the AI system. According to the independent embedded software development and debugging system and method based on the AI, the electronic equipment and the storage medium, embedded programming development can be directly carried out through the AI, the production efficiency is improved, and the economic value is huge.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the technical field of software development and debugging, and relates to a software development and debugging system, in particular to an AI-based independent embedded software development and debugging system, method, electronic device and storage medium. Background Art

[0002] Existing embedded software development and debugging methods mainly rely on traditional manual coding and step-by-step debugging processes. This method often takes a long time and may be inefficient in locating and fixing complex problems. In addition, due to the lack of highly automated and intelligent tools, developers have to spend a lot of time on repetitive and routine debugging activities, which limits the ability of rapid iteration and innovation.

[0003] In view of this, there is an urgent need to design a new embedded software development and debugging system that can overcome at least some of the above defects existing in the existing system. Summary of the Invention

[0004] The present invention provides an AI-based independent embedded software development and debugging system, method, electronic device and storage medium, which can directly perform embedded programming development through AI to improve production efficiency.

[0005] To solve the above technical problems, according to one aspect of the present invention, the following technical solution is adopted:

[0006] An AI-based independent embedded software development and debugging system, the software development and debugging system includes: an AI system, a server and at least one terminal device;

[0007] The server is respectively connected to the AI system and each terminal device; the server sends the data from each terminal device to the AI system and can send the feedback data of the AI system to the corresponding terminal device;

[0008] The AI system receives the data sent by the corresponding terminal device through the server and generates development code and / or debugging commands for the embedded software based on this;

[0009] The terminal device can be connected to the corresponding embedded hardware and use the development code and / or debugging commands of the embedded software generated by the received AI system to perform embedded software development and / or debugging on the embedded hardware.

[0010] As an implementation manner of the present invention, the AI system provides a plug-in function, the server is provided with an API interface, and the terminal device can automatically call the AI system through the server and the API interface;

[0011] The AI system can automatically output the code written by the AI system to the server through the API interface, automatically send the compilation command to the server through the API interface, and automatically send the programming instruction to the server through the API interface; the server sends the received data to the corresponding terminal device.

[0012] As an implementation manner of the present invention, the server is used to provide an API interface, enabling the AI system to perform operations such as code viewing, modification, compilation, downloading, and debugging; the server is also used to provide a control function for the embedded hardware; in the case of enabling end-to-end encryption, the server serves as an intermediary for information transmission and cannot view or access the encrypted embedded software content; ensuring the security and privacy during the data transmission process.

[0013] As an implementation manner of the present invention, the proxy device deploys a compilation, downloading, and debugging environment for the embedded software, and is equipped with an embedded device output detection module and an input excitation module to support specific debugging requirements (such as detecting the output status of the embedded device or providing specific input excitation); the terminal device performs corresponding operations according to the AI system instructions transmitted from the server.

[0014] As an implementation manner of the present invention, each terminal device interacts with the AI system through a dialogue interface.

[0015] As an implementation manner of the present invention, the system further includes at least one of the above-mentioned embedded hardware.

[0016] According to another aspect of the present invention, the following technical solution is adopted: A software development and debugging method for the above-mentioned AI-based independent embedded software development and debugging system, the software development and debugging method includes:

[0017] The server sends the software development or / and debugging requirement information from the terminal device to the AI system;

[0018] The AI system receives the data sent by the corresponding terminal device through the server, and generates the development code or / and debugging command of the embedded software based on this, and sends it to the server;

[0019] The server sends the feedback data of the AI system to the corresponding terminal device;

[0020] The terminal device connects to the corresponding embedded hardware, and uses the development code or / and debugging command of the embedded software generated by the received AI system to develop or / and debug the embedded software for the embedded hardware.

[0021] According to another aspect of the present invention, the following technical solution is adopted: An electronic device includes a memory, a processor, and a computer program stored on the memory and executable on the processor. When the processor executes the computer program, the steps of the above method are implemented.

[0022] According to another aspect of the present invention, the following technical solution is adopted: A storage medium stores computer program instructions thereon. When the computer program instructions are executed by a processor, the steps of the above method are implemented.

[0023] The beneficial effects of the present invention are as follows: The AI-based independent embedded software development and debugging system, method, electronic device, and storage medium proposed by the present invention can directly perform embedded programming development through AI, improve production efficiency, and have great economic value.

[0024] The present invention can automate the processing of complex debugging tasks, provide cross-platform compatibility support, and achieve intelligent optimization throughout the development cycle by integrating AI technology. BRIEF DESCRIPTION OF THE DRAWINGS

[0025] Figure 1 It is a schematic diagram of the composition of an independent embedded software development and debugging system in an embodiment of the present invention.

[0026] Figure 2 It is a flowchart of an independent embedded software development and debugging method in an embodiment of the present invention.

[0027] Figure 3 It is a schematic diagram of the composition of an electronic device in an embodiment of the present invention. DETAILED DESCRIPTION OF THE INVENTION

[0028] The preferred embodiments of the present invention are described in detail below with reference to the accompanying drawings.

[0029] In order to further understand the present invention, the preferred implementation schemes of the present invention are described below in conjunction with embodiments. However, it should be understood that these descriptions are only for further explaining the features and advantages of the present invention, rather than limiting the claims of the present invention.

[0030] The description of this part only focuses on several typical embodiments, and the present invention is not limited to the scope described in the embodiments. The mutual replacement of some technical features in the prior art means that are the same or similar to those in the embodiments is also within the scope of description and protection of the present invention.

[0031] The expressions of the steps in the embodiments in the specification are only for convenience of description, and the implementation manner of the present application is not limited by the order of step implementation.

[0032] "Connection" in the specification includes both direct connection and indirect connection.

[0033] The present invention discloses an AI-based independent embedded software development and debugging system. Figure 1 It is a schematic diagram of the composition of the independent embedded software development and debugging system in an embodiment of the present invention; please refer to Figure 1 , the software development and debugging system includes: an AI system 1, a server 2, and at least one terminal device 3; the server 2 is respectively connected to the AI system 1 and each terminal device 3. In addition, the system may further include at least one embedded hardware 4, and the terminal device 3 is connected to the corresponding embedded hardware 4.

[0034] The server 2 sends the data from each terminal device 3 to the AI system 1, and can send the feedback data of the AI system 1 to the corresponding terminal device 3. The AI system 1 receives the data sent by the corresponding terminal device 3 through the server 2, and generates development code and / or debugging commands for the embedded software based on this; and sends the feedback information to the server 2. The terminal device 3 can be connected to the corresponding embedded hardware 4, and use the development code and / or debugging commands of the embedded software generated by the received AI system 1 to develop and / or debug the embedded software for the embedded hardware.

[0035] In an embodiment of the present invention, the AI system 1 provides a plug-in function, the server 2 is provided with an API interface, and the terminal device 3 can automatically call the AI system 1 through the server 2 and the API interface. The AI system 1 can automatically output the code written by the AI system 1 to the server 2 through the API interface, automatically send a compilation command to the server 2 through the API interface, and automatically send a programming instruction to the server 2 through the API interface; the server 2 sends the received data to the corresponding terminal device 3.

[0036] In an embodiment, the server 2 provides an API interface, acting as a bridge between the AI system and the embedded device (terminal device), enabling the AI system to perform operations such as code viewing, modification, compilation, download, and debugging; the server provides a control function for the embedded hardware, such as hardware reset. When end-to-end encryption is enabled, the server, as an intermediary for information transmission, cannot view or access the encrypted embedded software content. Ensuring the security and privacy during the data transmission process.

[0037] The terminal device 3 can run Windows, Linux, or other operating systems, and is directly connected to the embedded hardware; the terminal device is deployed with an embedded software compilation, download, and debugging environment. It is equipped with an embedded device output detection module and an input excitation module to support specific debugging requirements, such as detecting the output status of the embedded device or providing specific input excitation. Perform corresponding operations according to the AI system instructions transmitted by the server.

[0038] The described AI system independently completes the writing, debugging, and other development activities of embedded software; interacts with the user's local proxy device through the APIs provided by the server without the direct participation of the user; the AI system communicates with the user through a dialogue interface to collect requirements and feedback, and the entire development process is fully automated.

[0039] In a usage scenario of the present invention, the AI system can be ChatGPT. The ChatGPT system provides a plugin function that allows ChatGPT users to provide APIs for automatically invoking ChatGPT at appropriate times (for example, automatically outputting the code written by ChatGPT to the server through the API according to the user's needs, automatically sending compilation commands to the server through the API, and automatically sending programming instructions to the server through the API). After receiving instructions from the AI system (usually an HTTP / HTTPS server), the server forwards these instructions to the proxy device (terminal device). The proxy device can be a computer used by embedded software development and debugging personnel, which has installed a plugin for communicating with the server to process various instructions sent by the server, and these instructions are actually sent by the AI system.

[0040] The present invention also discloses a software development and debugging method for the above-mentioned AI-based independent embedded software development and debugging system. Figure 2 It is a flowchart of the independent embedded software development and debugging method in an embodiment of the present invention; please refer to Figure 2 The software development and debugging method includes:

[0041]

Step S1

[0042]

Step S2

[0043]

Step S3

[0044]

Step S4

[0045] The present invention also discloses an electronic device. Figure 3 It is a schematic diagram of the composition of the electronic device in an embodiment of the present invention; please refer to Figure 3, at the hardware level, the electronic device includes a memory, a processor, and at least one network interface; the processor can be a microprocessor, and the memory can include a memory, such as a random access memory (RAM), or a non-volatile memory, etc. Of course, the electronic device can also be provided with other hardware as needed.

[0046] The processor, network interface, and memory can be interconnected through an internal bus, which can be an ISA (Industry Standard Architecture) bus, a PCI (Peripheral Component Interconnect Standard) bus, or an EISA (Extended Industry Standard Architecture) bus, etc.; the bus can include an address bus, a data bus, a control bus, etc. The memory is used to store programs (which can include an operating system program and application programs); the programs can include program codes, and the program codes can include computer operation instructions. The memory can include a memory and a non-volatile memory, and provide instructions and data to the processor.

[0047] In one embodiment, the processor can read the corresponding program from the non-volatile memory into the memory and then run it; the processor can execute the program stored in the memory and is specifically used to perform the following operations (as Figure 2 shown):

[0048]

Step S1

[0049]

Step S2

[0050]

Step S3

[0051]

Step S4

[0052] The present invention further discloses a storage medium, on which computer program instructions are stored, and when the computer program instructions are executed by a processor, the following steps of the method of the present invention are implemented (as Figure 2 shown):

[0053]

Step S1

[0054]

Step S2

[0055]

Step S3

[0056]

Step S4

[0057] In summary, the AI-based independent embedded software development and debugging system, method, electronic device, and storage medium proposed by the present invention can directly perform embedded programming development through AI, improve production efficiency, and have great economic value.

[0058] The present invention can automate complex debugging tasks by integrating AI technology, provide cross-platform compatibility support, and achieve intelligent optimization throughout the development cycle.

[0059] The system of the present invention is compatible with different types of embedded hardware and operating systems; it is designed to have the ability to upgrade and expand future technologies.

[0060] The present invention provides end-to-end encrypted communication as an optional function. Users can choose to enable or disable encryption; the server acts as an intermediary and does not participate in encryption and decryption; users have full autonomy in the security management of local proxy devices.

[0061] It should be noted that the present application can be implemented in software and / or a combination of software and hardware; for example, it can be implemented using an application-specific integrated circuit (ASIC), a general-purpose computer, or any other similar hardware device. In some embodiments, the software program of the present application can be executed by a processor to implement the above steps or functions. Similarly, the software program of the present application (including related data structures) can be stored in a computer-readable recording medium; for example, a RAM memory, a magnetic or optical drive, or a floppy disk and similar devices. In addition, some steps or functions of the present application can be implemented using hardware; for example, a circuit that cooperates with a processor to execute each step or function.

[0062] The technical features of the above-described embodiments can be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as these combinations of technical features do not conflict, they should all be considered as the scope described in this specification.

[0063] The description and application of the present invention herein are illustrative and are not intended to limit the scope of the present invention to the above embodiments. The effects or advantages involved in the embodiments may not be reflected in the embodiments due to interference by various factors, and the description of the effects or advantages is not used to limit the embodiments. Variations and changes of the disclosed embodiments are possible, and various components of substitution and equivalence of the embodiments are known to those of ordinary skill in the art. Those skilled in the art should be clear that the present invention can be implemented in other forms, structures, arrangements, proportions, and with other components, materials, and parts without departing from the spirit or essential characteristics of the present invention. Other variations and changes can be made to the disclosed embodiments without departing from the scope and spirit of the present invention.

Claims

1. An AI-based independent embedded software development and debugging system, characterized in that, The software development and debugging system described above includes: an AI system, a server, and at least one terminal device; The server is respectively connected to the AI system and each terminal device; the server sends the data from each terminal device to the AI system, and can send the feedback data of the AI system to the corresponding terminal device; The AI system receives the data sent by the corresponding terminal device through the server, and generates development code and / or debugging commands for the embedded software based on this; The terminal device can be connected to the corresponding embedded hardware, and use the development code and / or debugging commands of the embedded software generated by the received AI system to develop and / or debug the embedded software for the embedded hardware.

2. The AI-based independent embedded software development and debugging system according to claim 1, characterized in that: The AI system provides a plug-in function, the server is provided with an API interface, and the terminal device can automatically call the AI system through the server and the API interface; The AI system can automatically output the code written by the AI system to the server through the API interface, automatically send a compilation command to the server through the API interface, and automatically send a flashing instruction to the server through the API interface; the server sends the received data to the corresponding terminal device.

3. The AI-based independent embedded software development and debugging system according to claim 1, characterized in that: The server is used to provide an API interface, enabling the AI system to perform operations such as code viewing, modification, compilation, downloading, and debugging.

4. The AI-based independent embedded software development and debugging system according to claim 3, characterized in that: The server is further used to provide a control function for the embedded hardware; in the case of enabling end-to-end encryption, the server acts as an intermediary for information transfer and cannot view or access the encrypted embedded software content; Ensuring the security and privacy during the data transmission process.

5. The AI-based independent embedded software development and debugging system according to claim 1, characterized in that: The proxy device deploys a compilation, downloading, and debugging environment for the embedded software, and is equipped with an embedded device output detection module and an input excitation module to support specific debugging requirements; the terminal device executes corresponding operations according to the AI system instructions transmitted by the server.

6. The AI-based independent embedded software development and debugging system according to claim 1, characterized in that: Each terminal device interacts with the AI system through a dialogue interface.

7. The AI-based independent embedded software development and debugging system according to claim 1, characterized in that: The system further includes at least one of the above-mentioned embedded hardware.

8. The software development and debugging method of the AI-based independent embedded software development and debugging system according to any one of claims 1 to 7, characterized in that, The software development and debugging method includes: The server sends the software development and / or debugging requirement information from the terminal device to the AI system; The AI system receives the data sent by the corresponding terminal device through the server, and generates development code and / or debugging commands for the embedded software based on this, and sends them to the server; The server sends the feedback data of the AI system to the corresponding terminal device; The terminal device is connected to the corresponding embedded hardware, and uses the development code and / or debugging commands of the embedded software generated by the received AI system to develop and / or debug the embedded software for the embedded hardware.

9. An electronic device, comprising a memory, a processor, and a computer program stored on the memory and executable on the processor, characterized in that, When the processor executes the computer program, the steps of the method described in claim 8 are implemented.

10. A storage medium having computer program instructions stored thereon, characterized in that, When the computer program instructions are executed by the processor, the steps of the method described in claim 8 are implemented.