Automatic API Configuration Diagnostics via Log Comparison

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

The increasing complexity of API configurations due to the rise of microservices and virtual servers has led to a higher number of potential failure points, making it difficult to monitor and diagnose API configuration issues effectively.

Innovation Solution

A system comprising a local module, a central module, and an analysis module that logs changes to API configurations, compares them to expected logs, and generates diagnostic actions to address any discrepancies, thereby providing automatic diagnostics of API configuration.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Adaptability or versatility

If APIs are composed of multiple microservices to increase functionality and adaptability, then the system becomes more versatile and adaptable to different services, but the number of potential failure points increases and monitoring becomes more difficult

Engineering Contradiction:
ImproveAPI functionalityVSAvoidSystem stability
Core Design Contradiction:
Adaptability or versatilityVSReliability

Solution Approach 1:

The system segments the monitoring task by deploying local modules on individual microservices and virtual servers. Each local module independently logs configuration changes and operational data for its specific service, allowing granular monitoring without requiring centralized oversight of entire API complexes. This segmentation enables effective monitoring of each microservice while maintaining overall system reliability.

Inventive Principle:
Principle #1Segmentation

2Adaptability or versatility

If the number of API configurations increases to support more microservices, then the system becomes more versatile, but the difficulty of monitoring and diagnosing configuration issues increases

Engineering Contradiction:
ImproveAPI configuration optionsVSAvoidConfiguration issue detection
Core Design Contradiction:
Adaptability or versatilityVSDifficulty of detecting and measuring

Solution Approach 1:

The system implements feedback mechanisms where local modules continuously log configuration changes and operational data, which are transmitted to central modules for analysis. The analysis modules compare current configurations against expected states and provide feedback about anomalies, enabling automatic detection and diagnosis of configuration issues across multiple microservices without manual intervention.

Inventive Principle:
Principle #23Feedback

Solution Approach 2:

Central modules act as intermediaries between local modules on distributed microservices and the analysis modules. These central modules collect, aggregate, and pre-process logs from multiple sources before forwarding them for analysis, simplifying the detection process by reducing the complexity of direct monitoring across numerous configuration points.

Inventive Principle:
Principle #24Intermediary (Mediator)

3Measurement precision

If manual monitoring and diagnosis of API configurations is performed, then diagnostic accuracy can be maintained, but operational costs increase and response time decreases

Engineering Contradiction:
ImproveDiagnostic accuracyVSAvoidOperational efficiency
Core Design Contradiction:
Measurement precisionVSProductivity

Solution Approach 1:

The system enables self-service diagnostics through automated analysis modules that independently evaluate logs, compare configurations against expected states, and generate diagnostic reports without human intervention. The system automatically identifies anomalies, determines their severity, and suggests remediation actions, maintaining diagnostic accuracy while eliminating manual labor and reducing operational costs.

Inventive Principle:
Principle #25Self-service

Solution Approach 2:

The system performs preliminary actions by continuously logging and pre-analyzing configuration changes before they can cause failures. Local modules capture configuration states in advance, and analysis modules prepare diagnostic assessments proactively, enabling rapid response to issues before they impact service operation and reducing the need for reactive manual investigation.

Inventive Principle:
Principle #10Preliminary action

Data Source

PatentUS12298877B2System and method for providing automatic diagnostics of API configuration
Publication Date: 2025.05.13 BANK OF AMERICA CORP
  • US12298877B2 patent drawing
  • US12298877B2 patent drawing
  • US12298877B2 patent drawing

AI summary

Systems, methods, and computer program products are provided for providing automatic diagnostics of API configuration. The method includes receiving a local module log relating to one or more changes to code of a local device that would affect an API configuration. The method also includes identifying one or more expected local module logs based at least in part on one or more previous local module logs associated with the local device. The method further includes comparing the local module log with the one or more expected local module logs. The comparison determines any differences between the local module log and the one or more expected local module logs. The method still further includes generating an API configuration diagnostic action based on determining a difference between the local module log and the expected local module log(s). The method also includes causing an execution of the API configuration diagnostic action.