Method for generating multi-system method call link graph

A method call, multi-system technology, applied in the multi-system field, can solve problems such as low efficiency, failure to provide, easy to miss interface call relationship, etc., to achieve the effect of ensuring correctness

Pending Publication Date: 2020-01-10
SICHUAN XW BANK CO LTD
View PDF6 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, software such as pinpoint cannot provide the full link call relationship of the method based on the input method name.
[0005] Moreover, in the process of manual management and acquisition of link graphs in the two existing methods, there are problems of inefficiency and easy omission of calling relationships between interfaces

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Method for generating multi-system method call link graph

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0020] Such as figure 1 The method for generating the method call link diagram of the multi-system of the present invention includes:

[0021] A. Start the pinpoint service, sample all system calls and save the call link information of the text structure. The call link information includes keywords such as method name, method ID, upstream method ID, downstream method ID, and application name.

[0022] B. Through the FlumeNg service, the sampled call link information of the pinpoint service is asynchronously collected and stored in the mongodb non-relational database, so that the sampled data can be synchronized to the non-relational database for storage without affecting the performance of pinpoint.

[0023] C. Through a plurality of data parsers, from the mongodb non-relational database, the call link information of multiple saved text structures is read in parallel and analyzed, and determined according to the keywords described in the call link information for each method ...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention relates to a method for generating a multi-system method call link graph, which comprises the following steps of: A, starting a pinpoint service, sampling all system calls and storing call link information of a text structure; B, storing the calling link information into a non-relational database through FlumeNg service; C, reading multiple pieces of calling link information from thenon-relational database through at least two data analyzers for analysis, and determining a calling relationship among the methods; and D, determining a hierarchical relationship among the methods according to the calling relationship among the methods, forming a directed acyclic tree diagram taking method names as node values, and storing the directed acyclic tree diagram into a non-relational database for describing calling link diagrams of the methods in all systems. According to the method, the calling relations among all the methods in different systems can be efficiently analyzed, the method calling link diagram is formed, and meanwhile the correctness of the method calling relations is guaranteed.

Description

technical field [0001] The invention relates to a data processing method, in particular to a method for generating a multi-system method calling link graph. Background technique [0002] In the daily software development and testing process, for the method being modified or tested in the software, the developer or tester does not know which upstream or downstream systems call the method and the specific calling method and method. At present, there are two ways to solve the above problems. The first way is for the developers of each system to manually register the methods provided externally and the external methods called. Because this method relies on manual registration, it is very time-consuming and easy to miss. In addition, this method cannot reflect the call relationship of a certain method at the level of all systems. For example, 4 methods (methodA, methodB, methodC, methodD) of 4 systems (A, B, C, D) constitute a full call link: [0003] A(methodA)->B(methodB)-...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
IPC IPC(8): G06F16/34G06F16/36
CPCG06F16/34G06F16/36
Inventor 黄勇熊阳李佳明谢延泽周勇
Owner SICHUAN XW BANK CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products