Client Communication Network Layers for Seamless Library Replacement
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
The existing client communication networks have a strong dependency on communication network libraries, leading to increased maintenance costs and reduced stability when these libraries are replaced.
Innovation Solution
A client communication network architecture that includes a client communication implementation library, a target underlying library, and a service layer, where the target underlying library uses a third-party network library to process custom network requests, allowing the service layer to remain unaware of library replacements.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Ease of manufacture
If the service layer directly depends on the communication network library, then the network request processing can be implemented, but the maintenance cost increases and stability decreases when the library is replaced
Solution Approach 1:
The patent introduces an underlying library as an intermediary layer between the service layer and the communication network library. The underlying library encapsulates the dependencies on the communication network library, allowing the service layer to interact with a stable interface while the underlying library handles the actual library replacements. This mediator pattern resolves the contradiction by isolating the service layer from direct dependencies on external libraries.
Solution Approach 2:
The patent segments the network communication functionality into distinct layers: the service layer for business logic, the underlying library for integration logic, and the communication network library for actual network operations. This segmentation allows each layer to be independently maintained and replaced without affecting others, reducing maintenance costs while improving stability.
2Adaptability or versatility
If the service layer has strong dependency on the communication network library, then direct communication functionality is achieved, but adaptability to library replacements is reduced
Solution Approach 1:
By introducing the underlying library as a mediator, the system gains adaptability to library replacements. The underlying library can be reconfigured to work with different communication network libraries without modifying the service layer, thus improving adaptability while keeping the added architectural complexity localized to the intermediary layer.
3Productivity
If the communication network library is replaced, then newer functionality can be obtained, but the service layer must be modified increasing maintenance burden
Solution Approach 1:
The underlying library acts as a buffer that absorbs the impact of library replacements. When a new communication network library needs to be integrated, only the underlying library requires modification, not the service layer. This significantly reduces the maintenance burden while enabling the system to adopt newer network libraries and their functionalities.
Data Source
AI summary
Provided is a client communication network, a network request processing method, a communication system, an electronic device and a medium, relating to the field of computer technology. The client communication network comprises: a client communication implementation library configured to initiate a custom network request to a target underlying library; the target underlying library configured to use a third-party network library to obtain custom response data corresponding to the custom network request; wherein the third-party network library is a communication network library corresponding to the target underlying library; and a service layer configured to parse the custom response data to obtain a data parsing result.


