Identity Verification Program Decoupling Service Logic
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Existing identity verification methods face challenges in maintaining identity verification logic due to high coupling with service logic, making it inconvenient to perform operations across different service scenarios.
Innovation Solution
An identity verification method and apparatus that suspends the target service program when it is detected running and calls an independent identity verification program to perform verification, reducing coupling between the service and identity verification programs.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Adaptability or versatility
If identity verification logic code is embedded in service logic code, then identity verification can be performed in service scenarios, but the coupling degree between identity verification logic and service logic becomes high, making maintenance inconvenient
Solution Approach 1:
The patent separates identity verification logic from service logic by extracting it into an independent module. The service system includes a service management module and an identity verification module that operate independently but can be invoked by service programs. This segmentation reduces coupling while maintaining verification capability across different services.
Solution Approach 2:
The patent introduces an identity verification management module as an intermediary between service programs and identity verification execution. This mediator receives verification requests from multiple service programs, manages verification state, and coordinates the verification process, thereby reducing direct coupling between service logic and verification logic while enabling versatile verification across services.
2Adaptability or versatility
If same identity verification logic code is embedded in all service logic code, then identity verification can be performed across different service scenarios, but operations of maintaining identity verification logic become inconvenient
Solution Approach 1:
The patent creates a universal identity verification module that can serve multiple service programs through a standardized interface. The verification management module handles verification requests from any service program uniformly, enabling the same verification logic to be applied across different service scenarios without requiring duplication or modification in each service.
Solution Approach 2:
The patent extracts identity verification logic from individual service programs and places it in a separate, dedicated verification module. This extraction allows maintenance operations to be performed on the verification logic in isolation without affecting service logic, significantly improving maintenance convenience while preserving broad service scenario coverage.
3Reliability
If identity verification logic is coupled with service logic, then verification can be implemented in client software, but the system becomes harder to maintain and update
Solution Approach 1:
The patent divides the system into distinct modules: service management module and identity verification module. This segmentation allows independent maintenance and updating of verification logic without affecting service functionality, while still ensuring service security through the dedicated verification module that can be thoroughly tested and updated separately.
Solution Approach 2:
The verification management module acts as an intermediary that maintains secure verification protocols while enabling easy maintenance. By centralizing verification management in a separate module with standardized interfaces, the system preserves security through controlled verification flows while allowing straightforward updates to verification logic without modifying service programs.
Data Source
Figure 1
Figure 2
Figure 3
AI summary
Implementations of the present invention provide an identity verification method and apparatus. When it is detected that a target service program is running, the on-going target service program is suspended, and an identity verification program is running. In addition, the service program and the identity verification program are independent of each other, that is, the coupling degree between the service program and the identity verification program is relatively low. When identity verification needs to be performed on service programs in different service scenarios, one identity verification program can be used to complete an identity verification process through detection on the plurality of service programs, thereby resolving a technical problem of inconvenient maintenance of the identity verification program.