Target embedded code generation method and device, electronic equipment and storage medium
By extracting hardware entities and their interaction relationships from the embedded knowledge graph to generate embedded code, the problem of low accuracy of embedded code in the existing technology is solved, and more accurate code generation is achieved.
Patent Information
- Application Number
- CN202511199556.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-08-26
- Publication Date
- 2025-09-26
- Estimated Expiration
- 2045-08-26
AI Technical Summary
The existing embedded code generation technology lacks hardware interaction when generating embedded code, resulting in low accuracy of the generated code.
By receiving the target code generation request, parsing the request description text and extracting the entity objects and their interaction relationships associated with the target hardware from the embedded knowledge graph, generating target prompt words, and inputting them into the code generation model to generate accurate embedded code.
It improves the accuracy of embedded code and can handle complex hardware-related details such as communication protocols, interface types, and signal parameters, ensuring that the generated code meets hardware characteristics and interaction requirements.