Method for generating and displaying multi-system method calling link diagram

A method call and method display technology, applied in the multi-system field, can solve the problems of inability to integrate code editors, easy to miss interface call relations, and inability to automatically provide call link prompts, etc., to achieve the effect of convenient call relations

Inactive Publication Date: 2020-01-21
SICHUAN XW BANK CO LTD
View PDF6 Cites 2 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, neither of the existing two methods can be integrated with the code editor, nor can it automatically provide call link prompts for code modification. In the process of manually managing and obtaining the link diagram, it is inefficient and easy to miss calls between interfaces relation

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 and displaying multi-system method calling link diagram

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

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

[0028] 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.

[0029] 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.

[0030] 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...

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 and displaying a multi-system method calling link diagram. The method comprises the following steps: A, acquiring calling link information among all systems; b, storing the calling link information into a database; c, analyzing the calling link information through a data analyzer, and determining a calling relationship among the methods; d, determining a hierarchical relationship among the methods to form a directed acyclic tree diagram used for describing call link diagrams of the methods in all the systems; e, setting a query interface, and querying a corresponding call link graph after a method name is input; and F, integrating a query interface into a plug-in of a code editor, and displaying a calling link diagram corresponding to a method name by a system after the method name is input. According to the method, the calling link diagram can be efficiently and accurately generated for all the methods in different systems, the callinglink diagram of the clicked method in all the systems can be checked through right clicking of the mouse, and great convenience is brought to developers and testers to know the calling relation between the methods.

Description

technical field [0001] The invention relates to a data processing method, in particular to a method for generating and displaying a multi-system method call link diagram. 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)-&...

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
Patent Type & Authority Applications(China)
IPC IPC(8): G06F16/34G06F16/36
CPCG06F16/36G06F16/34
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