Service Dependency Analysis for Removing Duplicated Logic
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
The complexity and maintenance challenges in service-oriented systems are exacerbated by duplicated logic among services, leading to increased resource usage and potential vulnerabilities.
Innovation Solution
An automated system performs static and runtime analysis to identify duplicated logic and service dependencies, generating reports to facilitate the deprecation of redundant services, thereby reducing the number of services and optimizing system resources.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Adaptability or versatility
If services are added to handle increased system complexity, then service functionality is improved, but system complexity and maintenance difficulty increase
Solution Approach 1:
The patent merges the functionality of multiple services into a single service by identifying and consolidating duplicated logic. The system analyzes service call traces and dependency graphs to determine when multiple services perform the same function, then combines them into one service to reduce overall system complexity while maintaining functionality.
Solution Approach 2:
The patent creates universal services that can perform multiple functions previously distributed across several specialized services. By analyzing service dependencies and call patterns, the system identifies opportunities to design services that handle multiple operations, reducing the total number of services needed while maintaining adaptability.
2Adaptability or versatility
If more services are deployed to provide comprehensive functionality, then service versatility is improved, but resource usage and vulnerability surface increase
Solution Approach 1:
The patent combines multiple services with overlapping or duplicated functionality into a single service. By analyzing service call traces and identifying when multiple services perform the same operations, the system merges them to reduce the quantity of services while maintaining comprehensive functionality.
Solution Approach 2:
The patent extracts and removes redundant services from the system by identifying services that are completely superseded by others. The system analyzes dependency graphs and service usage patterns to determine which services can be safely removed without affecting system functionality.
3Reliability
If duplicated logic is retained across multiple services, then system redundancy is improved, but maintenance difficulty and resource consumption increase
Solution Approach 1:
The patent merges duplicated logic across multiple services into a single centralized implementation. By analyzing service call traces and identifying identical logic patterns, the system consolidates redundant code to reduce maintenance difficulty while preserving reliability through proper service dependency management.
Solution Approach 2:
The patent performs preliminary analysis of service dependencies and call traces to identify duplicated logic before it becomes a maintenance burden. The system proactively detects redundancy patterns and recommends consolidation actions to prevent future maintenance complexity.
Data Source
AI summary
Methods, systems, and computer-readable media for automated deprecation analysis in a service-oriented system are disclosed. A service deprecation system determines that a first service in a service-oriented system calls a second service in the service-oriented system. The service deprecation system determines that the second service calls a third service in the service-oriented system. The service deprecation system determines that logic of the second service is duplicated by logic of the first service. The first service is modified to call the third service instead of the second service, and the second service is disabled or removed from the service-oriented system.


