System upgrading method and apparatus, and device and storage medium
AssigneeChina Unionpay Co., Ltd.
InventorTie LIU
Life of this patent
Estimating the term…
Abstract
A system upgrade method includes: parsing a source code file of a system to be upgraded to obtain a preliminary directed acyclic graph; supplementing program feature information corresponding to respective nodes according to functional metrics corresponding to the respective nodes in the preliminary directed acyclic graph to obtain a target directed acyclic graph; splitting the target directed acyclic graph into a plurality of directed acyclic subgraphs based on a plurality of root nodes in the target directed acyclic graph, so as to obtain a plurality of transformation recommendation paths and generate a final upgrade decision plan based on the plurality of transformation recommendation paths.
Claims11
A system upgrade method, comprising:
- acquiring a source code file of a system to be upgraded;
- parsing the source code file to obtain a corresponding preliminary directed acyclic graph, wherein the preliminary directed acyclic graph represents code structure description data of the source code file;
- supplementing program feature information corresponding to each of nodes according to functional metrics corresponding to each of the nodes in the preliminary directed acyclic graph to obtain a target directed acyclic graph;
- splitting the target directed acyclic graph into a plurality of directed acyclic subgraphs based on a plurality of root nodes in the target directed acyclic graph, wherein each of the directed acyclic subgraphs corresponds to an upgrade implementation path;
- and
- determining an upgrade decision plan for the system to be upgraded based on the plurality of directed acyclic subgraphs.
(canceled)
A computer device, comprising:
- one or more processors;
- and
- a memory containing a computer program that, when being executed, causes the one or more processors to perform:
- acquiring a source code file of a system to be upgraded;
- parsing the source code file to obtain a corresponding preliminary directed acyclic graph, wherein the preliminary directed acyclic graph represents code structure description data of the source code file;
- supplementing program feature information corresponding to each of nodes according to functional metrics corresponding to each of the nodes in the preliminary directed acyclic graph to obtain a target directed acyclic graph;
- splitting the target directed acyclic graph into a plurality of directed acyclic subgraphs based on a plurality of root nodes in the target directed acyclic graph, wherein each of the directed acyclic subgraphs corresponds to an upgrade implementation path;
- and
- determining an upgrade decision plan for the system to be upgraded based on the plurality of directed acyclic subgraphs.
A non-transitory computer-readable storage medium containing a computer program that, when being executed, causes at least one processor to perform:
- acquiring a source code file of a system to be upgraded;
- parsing the source code file to obtain a corresponding preliminary directed acyclic graph, wherein the preliminary directed acyclic graph represents code structure description data of the source code file;
- supplementing program feature information corresponding to each of nodes according to functional metrics corresponding to each of the nodes in the preliminary directed acyclic graph to obtain a target directed acyclic graph;
- splitting the target directed acyclic graph into a plurality of directed acyclic subgraphs based on a plurality of root nodes in the target directed acyclic graph, wherein each of the directed acyclic subgraphs corresponds to an upgrade implementation path;
- and
- determining an upgrade decision plan for the system to be upgraded based on the plurality of directed acyclic subgraphs.
(canceled)
Dependencies are inferred from the claim text.