Patents
Literature
Patsnap Eureka AI that helps you search prior art, draft patents, and assess FTO risks, powered by patent and scientific literature data.

32 results about "Software maintenance" patented technology

Software maintenance in software engineering is the modification of a software product after delivery to correct faults, to improve performance or other attributes. A common perception of maintenance is that it merely involves fixing defects. However, one study indicated that over 80% of maintenance effort is used for non-corrective actions. This perception is perpetuated by users submitting problem reports that in reality are functionality enhancements to the system. More recent studies put the bug-fixing proportion closer to 21%.

Software maintenance, distribution and loading

A method for content delivery to a user device, that helps to reduce bandwidth requirements and increases security of the content. The method includes receiving a download request from the user device, the download request including request data corresponding to characteristics of the user device, analyzing the request data to select a bootstrap module; transmitting the bootstrap module to the user device for download; analyzing an authentication characteristic to determine that the user device is authenticated for content viewing; transmitting a content catalogue to the user device; and upon receiving a user selection of a content item from the content catalogue, transmitting the user selected content item to the user device.
Owner:PERFORM INVESTMENT LTD

Code abstract generation method and system based on hierarchical context awareness

ActiveCN121957613AOvercoming the lack of context problemEnhance semantic relevanceSemantic analysisBiological modelsPathPingLinguistic model
The invention discloses a code abstract generation method and system based on hierarchical context awareness, and belongs to the field of natural language processing and software engineering. The method comprises the following steps: generating hierarchical annotations for a code warehouse based on a function call graph, firstly extracting a call relationship in the graph and eliminating a ring structure, and then classifying leaf nodes and generating annotations; a topological sequence from bottom to top is adopted in the core step, the importance score of a child node is calculated for each father node, child node annotations, class function descriptions and code bodies of the child nodes are fused, and a large language model is input to generate annotations till the whole graph is covered. The method is suitable for an automatic document generation scene of a complex software project, and through a technical path combining function call graph analysis, child node importance measurement and class function description, the accuracy and semantic consistency of code annotation are improved; the method can be widely applied to the fields of software maintenance, code understanding, intelligent development tools, automatic document generation of enterprise-level code warehouses and the like.
Owner:HANGZHOU DIANZI UNIV

Software defect prediction method, system and equipment integrating deep learning and knowledge graph, and medium

The invention relates to the technical field of software security, in particular to a software defect prediction method, system and equipment integrating deep learning and a knowledge graph and a medium. Multi-source data such as software codes and historical defects are mined, a defect prediction model is constructed through a deep learning algorithm, and the positions and types of potential defects are accurately recognized; meanwhile, a software knowledge system is sorted by means of a knowledge graph, the repair process is guided, and repair suggestions are provided for developers; the software defect prediction accuracy and repair efficiency are improved, and the software maintenance cost is reduced.
Owner:SICHUAN PUBLIC SUPERVISION CONSULTING CO LTD

Software code generation methods, apparatus, equipment, and media

This application relates to the field of code generation technology, and discloses a software code generation method and its apparatus, device, and medium. The method includes: responding to a code generation driving event and determining the multimodal information corresponding to the event, wherein the multimodal information corresponds to the original software development requirements; semantically aligning the different modal information in the multimodal information and fusing them to generate software function planning information; extracting each function planning unit as a code generation subtask of the corresponding code generation type according to the code generation type corresponding to the function planning unit described in the software function planning information; calling a large language model to execute each code generation subtask and synchronously triggering the corresponding coding constraint instructions to generate target code. This application, through the semantic alignment and fusion of multimodal information and the synchronous triggering mechanism of coding constraints in the code generation process, highly restores the development requirements of the software code and reduces the subsequent security audit costs and software maintenance risks of the software code.
Owner:广州商研网络科技有限公司

Automatic OTA upgrading method and system for humanoid robot

The invention relates to a humanoid robot OTA automatic upgrading method and system, and relates to the field of robot software maintenance, and the method comprises the steps: determining a target robot set based on robot state information; issuing batch upgrading tasks to the target robot set, and performing installation and upgrading by using a silent installation method; collecting the current battery electric quantity of the robot; if the current battery electric quantity is lower than the upgrading maintaining threshold value, determining a nearest target charging area according to the current robot position; an idle robot is determined based on the current robot position, the idle robot is controlled to carry the current robot to the target charging area for charging, and meanwhile the silent installation process is completed in the target charging area; and after the installation upgrade is completed, automatically running a self-checking program to verify the core function, and when an upgrade self-checking result accords with a preset self-checking requirement result, marking the upgraded version information as upgrade success and reporting the upgraded version information to the cloud management platform. The method has the effect of improving the upgrading efficiency of the robot.
Owner:NINGBO HUAXIANG QIYUAN TECHNOLOGY CO LTD

Data, software and user association knowledge graph construction method

The invention discloses a data, software and user association knowledge graph construction method. The method comprises the following steps: constructing a software module data set; the software module data set comprises a training set, a verification set and a test set; training a preset pre-training model by utilizing the software module data set to obtain a software module text recognition model; obtaining target text data information; the target text data information comprises a software design document, a user manual and a programmer manual; processing the target text data information by utilizing the software module text recognition model to obtain a software module tree; processing the software module tree to obtain a data, software and user associated knowledge graph; and displaying the data, the software and the user associated knowledge graph to obtain a visual display result. By means of the method, the efficiency and reliability of software maintenance upgrading management can be remarkably improved, and effective support is provided for maintenance and optimization of a complex software system.
Owner:CHINESE PEOPLES LIBERATION ARMY UNIT 91977

Code change readability evaluation method based on fine-grained difference perception and enhanced context

The invention discloses a code change readability evaluation method based on fine-grained difference perception and enhanced context, and belongs to the crossing field of software engineering and deep learning. The invention constructs a core method for context attention enhancement based on multi-granularity difference representation and difference guidance. Through multi-granularity feature extraction fusing a token level (semantic grammar core change) and a character level (structure details and fine adjustment information), and in combination with a triple context enhancement mechanism of global attention, local attention and similarity attention, accurate judgment of readability change trends (increase / decrease) before and after code change is realized. Experiments on a GitHub open source data set show that the method is remarkably superior to an existing baseline model, readability quality control in a dynamic code evolution scene (such as GitHub warehouse iteration) is effectively supported, and technical support is provided for software maintenance and team cooperation.
Owner:BEIJING UNIV OF TECH

Humanoid robot OTA automatic upgrading method and system

ActiveCN121704883BControl engineeringRobot software
The present application relates to a kind of humanoid robot OTA automatic upgrading method and system, it relates to the field of robot software maintenance, it includes: based on robot state information to determine target robot set;Batch upgrade task is issued to target robot set, and is installed and upgraded with silent installation method;Current battery capacity of robot is collected;If current battery capacity is lower than upgrade maintenance threshold, determine the nearest target charging area according to current robot position;Based on current robot position to determine idle robot, and control idle robot to carry current robot to target charging area and charge, while completing silent installation process in target charging area;After installation upgrade is completed, automatically run self-checking program to verify core function, when upgrade self-checking result meets the preset self-checking requirement result, mark the version information after upgrade as upgrade success and report to cloud management platform.The present application has the effect of improving the upgrading efficiency of robot.
Owner:NINGBO HUAXIANG QIYUAN TECHNOLOGY CO LTD

A configurable embedded software release system

The application provides a configurable embedded software release system, and belongs to the technical field of embedded software development; in view of the problems of version proliferation, maintenance difficulty and low release efficiency of embedded software caused by strong coupling of the embedded software with hardware and customized needs in the prior art, the application proposes to split the embedded software firmware into stable system firmware and variable configuration firmware, and provide a configuration management subsystem on the server side; the configuration management subsystem provides a visual interface for a user to define hardware parameters, function logic and interactive behavior, and automatically generate the configuration firmware; the embedded device is loaded and parsed by the system firmware at startup, and the system is dynamically initialized according to the content; the application realizes the innovation from 'code compilation release' to 'configuration driven release', significantly reduces the number of software versions, and greatly improves the product customization efficiency, software maintenance efficiency and full life cycle management capability.
Owner:EHONG TECH CO LTD

OLT equipment batch maintenance method, system, equipment and storage medium

The invention relates to the technical field of software maintenance, in particular to an OLT (Optical Line Terminal) equipment batch maintenance method, system and equipment and a storage medium. The method aims at solving the problems that in the prior art, exception and interrupt processing is lacked, the function is single, and complex actual online scenes cannot be competent; and the misjudgment rate and the misoperation rate are high. Comprising the steps of obtaining a maintenance task customized and created by a user; obtaining a plurality of network elements corresponding to the maintenance task and single-disk version information of the network elements; according to the maintenance task, constructing a maintenance thread of each network element by utilizing single-disk version information, and configuring the maximum number of parallel network elements; after the maintenance task is started, the task is executed according to the maintenance thread, the maintenance progress and the abnormal information are recorded, and recorded data of the maintenance task are obtained; according to the recorded data of the maintenance task, performing weighted calculation on the maintenance task according to a preset scoring rule to obtain a maintenance score; and packaging the maintenance score and the category of the maintenance task to obtain a maintenance result.
Owner:WUHAN FIBERHOME TECHNICAL SERVICES CO LTD +2

A hardware spinlock logic interval checking apparatus supporting multiprocessor programming

The application discloses a kind of hardware spinlock logic interval check devices supporting multiprocessor programming, including interface control module and logic control module, interface control module includes bus interface, n input message queue, n return message queue and register control module, logic control module includes spinlock control module, logic interval check control module, logic interval information storage array and spin queue.N input message queue is connected with external n microprocessor respectively, for receiving and storing input message from microprocessor, spinlock control module is connected with n input message queue, register control module, logic interval check control module, spin queue, n return message queue, register control module is connected with bus interface.The application reduces the software overhead in solid state disk controller, including reducing the node queue, inter-core interaction queue in software maintenance on-chip cache resource occupation, improve the efficiency of interval check.
Owner:SHANDONG SINOCHIP SEMICON CO LTD

An OLT device batch maintenance method, system, device and storage medium

The present application relates to the technical field of software maintenance, and especially relates to an OLT device batch maintenance method, system, device and storage medium. The present application aims to solve the technical problems of lacking of exception and interruption processing, single function, unable to undertake complex actual online scene, and high misjudgment and misoperation rate in the prior art. The present application comprises the following steps: obtaining a maintenance task created by a user; obtaining a plurality of network elements corresponding to the maintenance task and single-disk version information of the network elements; constructing a maintenance thread of each network element by using the single-disk version information according to the maintenance task, and configuring a maximum number of parallel network elements; starting the maintenance task, executing the task according to the maintenance thread, recording maintenance progress and exception information, and obtaining record data of the maintenance task; performing weighted calculation on the maintenance task according to a preset scoring rule according to the record data of the maintenance task, and obtaining a maintenance score; and encapsulating the maintenance score and a category of the maintenance task, and obtaining a maintenance result.
Owner:WUHAN FIBERHOME TECHNICAL SERVICES CO LTD +2

Management device

The invention discloses a management device, and relates to the field of software maintenance, a processing module can acquire latest firmware in advance through a first port, information interaction is realized between the processing module and a target unit through a communication module, and the firmware acquired by the processing module is transmitted to the target unit. The target unit can perform firmware updating according to the received firmware; meanwhile, the working parameters of the target unit can be transmitted to the processing module through the communication module, so that a user can obtain the real-time working state of the target unit through the processing module. Functions of firmware updating, working parameter checking and the like of the target unit are integrated in the management device, after-sales management of the target unit is facilitated, the processing module in the management device can be connected with equipment such as a computer through the first port, firmware downloading is performed in advance, only the management device needs to be carried when firmware upgrading is needed, operation is more convenient, and user experience is improved. The maintenance cost of the target unit is reduced, and efficient and safe operation and maintenance requirements are met.
Owner:SHANDONG SACRED SUN POWER SOURCES

Software maintenance method and device

The invention relates to a software maintenance method and device. The method comprises the following steps: generating difference metadata according to a software upgrade package and a current version; generating incremental backup data according to the difference metadata, and storing the incremental backup data in a backup directory; recording the feature data of the backup in the backup data link file, adding the upgrade version node as a child node to the current version node in the version tree structure, and recording a change path between the nodes as a backup directory; and when the software needs to roll back, rolling back the software to the target version according to the version tree structure, the backup data link file and the change path. By the adoption of the method, only the changed incremental data are backed up in the software upgrading process, and the storage space occupied by the backup data is reduced; the relation between the versions in the software iteration process is established, cross-level rollback of the software versions is achieved, and convenience and reliability of software maintenance are improved.
Owner:KYLIN CORP

Method and a software maintenance task management system for managing software maintenance tasks of a people conveyor system

A method manages software maintenance tasks of a people conveyor system and includes: obtaining a predefined sequence of software maintenance tasks of the people conveyor system; activating digital lockings related to the predefined sequence of software maintenance tasks, the digital lockings preventing execution of software maintenance tasks relating to the people conveyor system initiated by unauthenticated user; receiving a software maintenance task execution command from a user device, the software maintenance task execution command being generated by the user device in response to an interaction with an authenticated user through the user device; and initiating execution of the predefined sequence of software maintenance tasks in response receiving the software maintenance task execution command. A software maintenance task management system manages software maintenance tasks of a people conveyor system.
Owner:KONE OYJ

Universal control architecture for control of unmanned systems

A common command and control architecture (alternatively termed herein as a “universal control architecture”) is disclosed that allows different unmanned systems, including different types of unmanned systems (e.g., air, ground, and / or maritime unmanned systems), to be controlled simultaneously through a common control device (e.g., a controller that can be an input and / or output device). The universal control architecture brings significant efficiency gains in engineering, deployment, training, maintenance, and future upgrades of unmanned systems. In addition, the disclosed common command and control architecture breaks the traditional stovepipe development involving deployment models and thus reducing hardware and software maintenance, creating a streamlined training / proficiency initiative, reducing physical space requirements for transport, and creating a scalable, more connected interoperable approach to control of unmanned systems over existing unmanned systems technology.
Owner:TOMAHAWK ROBOTICS INC

Embedded edge-end collaborative information processing distributed system and method

The invention discloses an embedded edge-end collaborative information processing distributed system and method.The embedded edge-end collaborative information processing distributed system comprises embedded edge equipment, a plurality of embedded end equipment and an inter-equipment network interconnection bus, the embedded edge equipment is used for achieving unified management of the distributed system by operating a cloud platform, and software maintenance upgrading and equipment state operation and maintenance are included; meanwhile, cooperative information processing of the embedded edge equipment and the plurality of embedded end equipment is realized through task unloading and resource scheduling; the plurality of embedded terminal devices are used for sensing, storing, computing and transmitting internal and external information of the distributed system and are data acquisition and decision execution devices at the tail end of the distributed system; the inter-device network interconnection bus is used for realizing information transmission and interconnection between the embedded edge device and the plurality of embedded end devices, and constructing a star-shaped or peer-to-peer communication switching type network topology architecture taking the embedded edge device as the center; the cloud platform is a container arrangement system, and each device adopts container-level virtualization to realize the unified management of the cloud platform on the application software and the running state of the device.
Owner:SHANGHAI SPACEFLIGHT INST OF TT&C & TELECOMM

A method for implementing a GOOSE function of an energy storage converter based on hard coding and decoding

The application relates to the technical field of energy storage control systems, and discloses a GOOSE function implementation method of an energy storage converter based on hard encoding and decoding, which comprises the following steps: GOOSE publishing and GOOSE subscribing modeling based on a text file; analyzing a model file to obtain relevant configuration parameters of GOOSE publishing and GOOSE subscribing respectively, and realizing GOOSE publishing and GOOSE subscribing functions; upper-layer applications being independent of each other with respect to GOOSE publishing functions and GOOSE subscribing functions; and the upper-layer applications being carried on a hardware platform composed of ARM and FPGA. The application completely decouples GOOSE and MMS, realizes GOOSE modeling by using a simple text file, and makes GOOSE functions independent of specific applications, so that software maintenance is extremely convenient, network storm suppression of a control network and effective filtering of GOOSE messages can be realized, and the application has the advantages of low cost, high operation efficiency, software modular design, good performance, stability and the like.
Owner:FOSHAN HECHU ENERGY TECH CO LTD

A multi-path MBI real-time processing architecture and method based on SMP mode

The application belongs to the technical field of avionics system, and particularly relates to a multi-channel MBI real-time processing architecture and method based on an SMP mode, which comprises a master control module and a multi-channel bus interface module, a CPU processor is arranged in the master control module, application software modules and MBI driving software modules are loaded in the CPU processor, a plurality of MBI protocol chips are arranged in the multi-channel bus interface module, the plurality of MBI protocol chips communicate with the CPU processor through a LocalBus, and the plurality of MBI protocol chips are connected to an MBI bus interface. The FPGA chip hardware resources are reduced, the cost is reduced, the driving software maintenance amount is reduced, the MBI real-time performance is further improved, and the system reliability is further improved.
Owner:CHINESE AERONAUTICAL RADIO ELECTRONICS RES INST

Business processing method, apparatus and system

The application relates to a business processing method, a business processing device and a business processing system; the business processing method comprises the following steps: a host computer reads terminal attribute data of a terminal; the host computer determines a terminal type of the terminal according to the read terminal attribute data; the host computer generates target business data in response to an interactive operation of a user, and sends the target business data to a cloud server corresponding to the terminal type; the cloud server carries out corresponding target business data processing based on the target business data to obtain a target business processing result; and the host computer receives the target business processing result output by the cloud server, and sends the target business processing result to the terminal. The application can solve the problems of excessively large software size caused by software update of a control system, incompatibility between various customized versions of software and difficulty in software maintenance.
Owner:XIAN NOVASTAR TECH

Abnormality detection method and device and storage medium

The invention relates to an exception detection method and device and a storage medium, and the method comprises the steps: obtaining a real-time state value of a vacuum equipment operation parameter through executing an exception handling program, determining an exception identifier of an exception item according to the real-time state value of the vacuum equipment operation parameter and an exception judgment threshold value, and carrying out the detection of the exception item based on the exception identifier. The exception response parameters in a configuration file are read, the configuration file is independent of program codes of the exception handling program, and finally exception handling operation corresponding to the exception response parameters is executed. According to the method and the device, the exception response parameter is independently stored in the memory by adopting the configuration file, and decoupling between the exception response parameter and the program code of the exception handling program is realized, so that dynamic adjustment of exception handling logic can be realized without adjusting the program code when the exception response parameter is modified, and the maintenance cost of software is reduced.
Owner:BEIJING GRAND RAY TECH CO LTD

An automatic detection and repair method and device for reproducing software vulnerabilities

This invention discloses an automatic detection and repair method and apparatus for reproducible software vulnerabilities, belonging to the field of computer program analysis and software maintenance. The method includes: constructing a historical vulnerability knowledge base, containing basic vulnerability information and information obtained from vulnerability analysis; performing initial vulnerability screening based on static analysis tools to obtain suspected reproducible vulnerabilities; and using an intelligent agent based on a large language model to map the analysis information of historical vulnerabilities to the target code repository environment for confirmation of suspected reproducible vulnerabilities, patch generation, and patch correctness verification. This invention automates the entire process by utilizing an intelligent agent based on a large model, providing developers with an efficient software maintenance tool that can directly and automatically detect and repair software vulnerabilities, effectively improving the efficiency and quality of software maintenance.
Owner:ZHEJIANG UNIV

ICD-based remote data conversion unit configuration generation tool set method

The method for configuring and generating the tool set by the remote data conversion unit based on the ICD comprises the following steps of: extracting all XML (Extensible Markup Language) documents from the ICD, and storing the XML documents into a hash table; analog discrete magnitude configuration information, digital signal configuration information and data conversion configuration information are extracted from the hash table, and an analog discrete magnitude configuration file, a digital signal configuration file and a data conversion configuration file in an XML format are generated; and defining the format of a remote data conversion unit capable of loading a binary configuration file, and filling the data in the analog discrete magnitude configuration file, the digital signal configuration file and the data conversion configuration file in the XML format into the loadable binary configuration file. According to the method, the loadable binary file is generated to be read by the airborne software, and the source code of the airborne software does not need to be modified, so that the maintenance cost of the software is reduced, meanwhile, the link of manually modifying the source code is avoided, and the modification efficiency and accuracy are improved.
Owner:XIAN AVIATION COMPUTING TECH RES INST OF AVIATION IND CORP OF CHINA

Card making data processing software development and management system based on artificial intelligence

The invention provides a card making data processing software development and management system based on artificial intelligence, which comprises a demand management module, a software project management module, a development auxiliary module, a test data and use case management module and a full life cycle management module, the development auxiliary module is used for receiving the key points transmitted by the software project management module and performing code generation, annotation and fragment labeling by using LLM; meanwhile, through a built-in knowledge base self-iteration mechanism, dynamically updating a code knowledge base according to a code generation and optimization process; the test data and case management module generates large-batch test data and test cases through LLM and a dynamic card making data rule base based on small-batch card making data and description documents thereof provided by customer demands, and executes an automatic test process. According to the method, the development efficiency of the card making data processing software can be effectively improved, the coverage rate and effectiveness of software testing are improved, the software maintenance and management cost is reduced, and the risk caused by pure manual development is reduced.
Owner:EASTCOMPEACE TECH

Configuration method and device of cameralink camera and storage medium

ActiveCN115665547Beasy maintenanceLower the threshold for maintenanceData informationXML Base
The application discloses a configuration method and device of a CameraLink camera and a storage medium, and comprises the following steps: sending an instruction to the CameraLink camera to obtain standard XML and XML extension content; analyzing the XML extension content to obtain first data information; analyzing the standard XML based on a GenICam protocol to obtain second data information; combining the first data information and the second data information to generate serial port data, and sending the serial port data to the CameraLink camera; screening processing data returned by the CameraLink camera to obtain return data; and comparing the return data with the first data information to verify a configuration state of the CameraLink camera. The configuration method of the CameraLink camera can realize modification of a configuration function of the CameraLink camera by only modifying the camera, and the CLProtocol library does not need to be modified when new cameras are supported, thereby facilitating software maintenance.
Owner:HEFEI I TEK OPTOELECTRONICS CO LTD

Code cloning detection method and device, electronic equipment and storage medium

The invention discloses a code cloning detection method and device, electronic equipment and a storage medium, and relates to the field of computers. The method comprises the following steps: firstly, acquiring historical code files, constructing a historical code file set, and determining the similarity between code change contents of the historical code file set; according to the similarity, a part of historical code file sets are selected as clone code file sets, and computing power resources used for model training are saved; acquiring code change features corresponding to each historical code file in the cloned code file set; training a code clone detection model based on the marked clone code file set and code change features to obtain higher clone detection precision; and performing clone detection on the currently submitted code by using the trained code clone detection model so as to determine a clone detection result, thereby realizing code clone detection of submission-level granularity, improving software quality and reducing software maintenance cost.
Owner:ORIENT SECURITIES COMPANY +1

Method for managing software maintenance tasks of personnel conveyor system and software maintenance task management system

The invention relates to a method for managing software maintenance tasks of a personnel conveyor system (100, 200). The method comprises: obtaining (410) a predefined sequence of software maintenance tasks of the personnel conveyor system (100, 200); activating (420) a digital lock associated with the predefined sequence of software maintenance tasks, wherein the digital lock prevents execution of software maintenance tasks associated with the personnel conveyor system (100, 200) initiated by the unauthenticated user; receiving (430) a software maintenance task execution command from the user device (302), where the software maintenance task execution command is generated by the user device (302) in response to an interaction with the authenticated user (306) through the user device (302); and initiating (440) execution of the predefined sequence of software maintenance tasks in response to receiving the software maintenance task execution command. The invention also relates to a software maintenance task management system (120) of a personnel conveyor system (100, 200).
Owner:KONE OYJ

A research and development system based on an auxiliary large model and a research and development auxiliary framework

PendingCN122363676ACode generationSimulation
A research and development system based on an auxiliary large model and a research and development auxiliary framework, the system comprises: a code auxiliary large model, receiving a code auxiliary request, providing code generation, completion, and explanation basic capabilities; the system further comprises: a research and development auxiliary framework system, which is used for fusing the code auxiliary large model and the CREATE research and development auxiliary framework, and realizes intelligent support for the whole process from requirement understanding to knowledge sedimentation; wherein each decoding block calculation sublayer comprises four submodel layers of a multi-head self-attention mechanism layer, a residual connection, an intermediate process layer normalization, and a feedforward neural network module. The present application has the advantages of improving the research and development efficiency of the system, improving the code research and development quality, and reducing the software maintenance cost.
Owner:SICHUAN RURAL COMMERCIAL UNITED BANK CO LTD

A method for automatic generation of annotations based on multi-modal code representations

This invention discloses an automatic annotation generation method based on multimodal code representation. It employs multiple encoders to learn the source code representation, including a graph encoder to holistically represent the API context graph, a tree encoder to represent the abstract syntax tree, and a field encoder to represent the token sequence, thereby learning a holistic and comprehensive code representation. Unlike existing annotation generation techniques based on encoders and decoders, this invention models the code from a holistic perspective, focusing on API usage and control flow information. Furthermore, it designs a feature fusion method to combine multiple intermediate encoding results, which are then fed into a joint decoder to generate annotations word by word. This invention can effectively generate high-quality annotations for specified code snippets, thereby promoting software maintenance and significantly improving software productivity.
Owner:SICHUAN UNIV

A source code semantic abstract generation method based on sentence sub-tree graph structure

The application discloses a source code semantic abstract generation method based on a sentence sub-tree graph structure and belongs to the technical field of software engineering and natural language processing. By taking a sub-tree corresponding to a source code sentence in an abstract syntax tree as a basic semantic unit, a sentence sub-tree division strategy is adopted to split a complete AST into sentence-level nodes with complete semantics, and multi-type semantic edges including AST parent-child edges, control flow edges and API calling edges are constructed between the nodes to form a sentence-level semantic enhanced graph structure. A graph attention network and a pre-training sequence encoder are adopted to extract graph structure and sequence semantic features respectively, and adaptive fusion of double-mode information is realized through a gated attention mechanism to finally generate a high-quality natural language abstract. The application reorganizes a sentence-level structure and models multiple relationships to significantly reduce the structural complexity while retaining semantic integrity, effectively improves the accuracy and readability of the code abstract, and can be widely applied to software maintenance, code understanding and other scenes.
Owner:BEIJING UNIV OF TECH