Decoupling Third-Party Services via Application Identifier
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Existing methods for providing third-party services to applications require synchronous updates with the application, leading to dependency issues when the application needs version updates, causing service abnormalities.
Innovation Solution
An application-based service providing method and system that decouples third-party services from applications by using an application-service relationship table to manage service access, allowing third-party services to operate independently of application version updates, enabling seamless service provision through a client-server interaction without requiring application updates.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Reliability
If a portal to the third-party service is embedded in the application, then the service can be provided to users, but the service becomes abnormal when the application needs version update
Solution Approach 1:
The patent introduces an application identifier as an intermediary to decouple the relationship between the application and the third-party service. Instead of embedding the service portal directly in the application, the system uses the application identifier to retrieve the service portal URL from the server. This intermediary mechanism allows the service to remain accessible even when the application is updated, as the application identifier persists independently of version changes.
2Ease of manufacture
If the third-party service depends on synchronous update with the application, then the service can be integrated smoothly, but the service becomes abnormal when the application version changes
Solution Approach 1:
The patent segments the service provision process into distinct components: the application identifier (obtained from the application), the service portal URL (stored on the server), and the retrieval mechanism (client queries server). This segmentation allows the service integration to be performed once and stored, while the actual service access is retrieved dynamically without requiring同步 updates with the application version.
3Adaptability or versatility
If the application undergoes version changes, then the application can be improved, but the third-party service becomes abnormal
Solution Approach 1:
The patent performs preliminary action by obtaining and storing the service portal URL on the server before the application version changes occur. The application identifier is obtained in advance and used to retrieve the pre-stored service portal information when needed. This preliminary preparation ensures that service continuity is maintained even when the application undergoes version changes, as the service portal URL remains valid and accessible.
Data Source
Figure 1~2
Figure 3
Figure 4
AI summary
An application-based service providing method, apparatus, and system. The method includes: acquiring an application identifier of a currently running application (S201); and searching a preset application-service relationship table for a service list corresponding to the application identifier, so as to provide a user of the application with a service in the service list (S202), where the application-service relationship table includes a correspondence between an application identifier and a service list, and the service list includes at least one service. The service providing method in the embodiments decouples a third-party service from an application, and even if the application needs version update, the third-party service also does not need to depend on the version update of the application.