Unlock instant, AI-driven research and patent intelligence for your innovation.

An Analysis Method of Interface Relationship Based on Distributed System

A technology of distributed systems and analysis methods, applied in the fields of instrumentation, error detection/correction, calculation, etc., can solve problems such as inability to use, increase system resource consumption, system exceptions, etc., to reduce performance impact, save time and labor costs. Effect

Active Publication Date: 2022-08-02
SUNING CONSUMER FINANCE CO LTD
View PDF3 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] There are some deficiencies in applying the above technologies to the daily system service governance work, mainly in the following aspects: First, in terms of technology, most of them are bundled with other technologies, and the adaptability is not wide. The service system mainly uses the Sleuth component as link monitoring. If the system is not implemented using SpringCloud technology, it will not be available. Secondly, the components embedded in the microservice will increase the consumption of system resources and reduce the application performance, and the potential failure of the components will cause system failure. Abnormal risk; second, in terms of business, the link in the solution is based on specific business transactions, and can only reflect the dependencies of a specific transaction involving various distributed services. It is for the purpose of transaction monitoring and cannot reflect the All dependencies of distributed services

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
  • An Analysis Method of Interface Relationship Based on Distributed System
  • An Analysis Method of Interface Relationship Based on Distributed System
  • An Analysis Method of Interface Relationship Based on Distributed System

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0042] The present invention will be further described below with reference to the accompanying drawings and specific preferred embodiments.

[0043] like figure 1 A method for analyzing interfaces and their relationships based on a distributed system is characterized in that: by asynchronously collecting fixed-format logs when the interface is called, and automatically processing and analyzing the logs, finally realizing a distributed system service interface relationship dependency graph ,Specific steps are as follows:

[0044] Step 1, pre-specify a unified log format, and the log contains distributed system service interface relationship tuple information; the interface relationship tuple information components are as follows: Figure 4 As shown, it includes: CN, CI, SN and SI, wherein CN is the client service name, CI is the client service interface name, SN is the server service name, and SI is the server interface name.

[0045] Step 2, all services in the distributed ...

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 present invention is a method for analyzing interfaces and their relationships based on a distributed system, and the specific steps are as follows: first, a unified log format is pre-specified, and the log contains the service interface relationship tuple information of the distributed system; all services in the distributed system follow Print logs in a unified format, and print two logs for each interface relationship tuple of each business transaction path, including client logs and server logs; further, install log collection software on each service application server of the distributed system to periodically collect log, and push the log to the designated place for processing; finally, use the analysis algorithm to analyze the interface relationship to obtain the interface relationship tuple, and generate the system interface relationship map. This analysis method is based on the traditional distributed system service link monitoring technology, asynchronously collects the fixed format logs when the interface is called, and automatically processes and analyzes the logs, and finally realizes the distributed system service interface relationship dependency graph.

Description

technical field [0001] The invention relates to the field of information technology, in particular to a method for analyzing an interface and its relationship based on a distributed system. Background technique [0002] In order for IT companies to make their products operated online based on the Internet flexible and changeable, and to keep up with market changes, the construction of software systems that carry products must support an agile R&D model. At present, software systems that support the agile R&D model better usually adopt the B / S (Browser / Server) architecture model, which concentrates the business on the server side, while the server-side application usually adopts a distributed architecture and is constructed with micro-service technology. . [0003] In a large-scale distributed system, there may be hundreds or thousands of services. The dependencies between services are intricate. In addition, the business is flexible and changeable, and the relationship is n...

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 Patents(China)
IPC IPC(8): G06F11/30
CPCG06F11/3006G06F11/302G06F11/3051G06F11/3072G06F11/3093
Inventor 李灿岳嘉明
Owner SUNING CONSUMER FINANCE CO LTD