代码维护方法和装置、计算机可读存储介质、电子设备

By generating a knowledge graph and directly pushing the code to the server, the problem of duplicate fields when adding new requirements in software development is solved, and code maintenance and development efficiency are improved.

CN116841517BActive Publication Date: 2026-07-17BEIJING JINGDONG ZHENSHI INFORMATION TECH CO LTD

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
BEIJING JINGDONG ZHENSHI INFORMATION TECH CO LTD
Filing Date
2022-03-25
Publication Date
2026-07-17

AI Technical Summary

Technical Problem

In software development, when new requirements are added, unclear comments on attribute fields can lead to different developers adding duplicate fields, reducing the maintenance efficiency of the software project.

Method used

By obtaining the current requirements of the target project, determining the relationship between the main node and attribute nodes, generating a knowledge graph, and generating the current code based on the knowledge graph, the code is directly pushed to the code server to complete maintenance.

Benefits of technology

It improves code maintenance efficiency, solves the problem of duplicate fields when multiple developers are working in parallel, and improves code development efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116841517B_ABST
    Figure CN116841517B_ABST
Patent Text Reader

Abstract

本公开是关于一种代码维护方法和装置、计算机可读存储介质、电子设备,涉及计算机技术领域,该方法包括:获取目标项目的当前需求,确定所述当前需求中包括的主节点以及属性节点;确定所述主节点与所述属性节点之间的关系,根据所述主节点、所述属性节点以及所述关系生成当前知识图谱;获取与所述目标项目对应的项目代码以及所述当前知识图谱,生成与所述当前知识图谱对应的当前代码,并根据所述当前代码以及所述项目代码,生成目标代码;将所述目标代码推送至所述目标项目的代码服务器中,以完成对所述目标项目的维护。本公开提高了目标项目的维护效率。
Need to check novelty before this filing date? Find Prior Art