Bidirectional synchronization and verification method and system of demand and code
By using large language model parsing and bidirectional mapping technology, the problem of ensuring consistency between requirements and code is solved, enabling continuous synchronization and consistency verification between requirements and code, and improving software development efficiency and quality.
Patent Information
- Application Number
- CN202610454886.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-04-08
- Publication Date
- 2026-07-03
AI Technical Summary
In traditional software development, the independent maintenance of requirements and code makes it difficult to ensure consistency, increases communication costs and project maintenance difficulty, and lacks automated verification methods, resulting in low review efficiency and easy omission of potential software defects.
The requirement data is hierarchically parsed by a pre-trained large language model to generate a requirement model that conforms to the domain-specific language DSL syntax. A bidirectional mapping relationship is established between the requirement model and the code abstract syntax tree to realize the synchronization and consistency verification of requirements and code, generate conflict reports, and adjust the mapping relationship according to the operation behavior.
It enables continuous synchronization between requirements and code, improves development efficiency and quality, automatically detects potential defects and provides early warnings, reduces communication costs and improves software quality.