Widget Content Display with Intermediary Token Authentication
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Existing widget content display methods lack diversity and efficiency, leading to suboptimal user experience in electronic devices.
Innovation Solution
An electronic device obtains identity authentication tokens from a first server to access a second server, enabling it to retrieve and display diverse content in a widget, and updates content based on user interactions, while handling token invalidity by re-obtaining tokens as needed.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Adaptability or versatility
If a widget obtains content from a content provider server directly using its own authentication, then the widget can access content, but the user experience is suboptimal due to lack of diversity and efficiency in content display methods
Solution Approach 1:
The patent introduces an authentication server as an intermediary between the widget and the content provider server. The authentication server receives authentication requests from the widget, validates them against user account information, and returns authentication tokens. This intermediary mechanism enables diverse content display by supporting multiple authentication modes (password authentication, certificate authentication, and anonymous authentication) while improving user experience through centralized authentication management and automatic token handling.
2Productivity
If the widget uses traditional authentication methods to access content provider servers, then content can be retrieved, but the process is inefficient and lacks optimization
Solution Approach 1:
The patent implements preliminary authentication by obtaining authentication tokens in advance. The authentication server pre-validates user credentials and issues tokens that can be reused for subsequent content requests. This preliminary action eliminates the need for repeated authentication processes, significantly improving content retrieval efficiency and reducing authentication time for widget operations.
Solution Approach 2:
The widget is equipped with automatic token management capabilities, allowing it to self-handle authentication processes. The widget can automatically obtain tokens from the authentication server, manage token validity periods, and refresh tokens as needed without requiring manual intervention. This self-service mechanism reduces authentication time and improves overall productivity in content retrieval operations.
3Reliability
If multiple authentication tokens are managed separately for different servers, then each server can be accessed, but resource waste occurs due to lack of coordinated token management
Solution Approach 1:
The patent merges the authentication token management for multiple servers into a unified system. The authentication server maintains a centralized database that stores authentication tokens and their associated validity periods for different content provider servers. When a widget needs to access any server, it obtains a token from this unified system, which automatically manages token issuance, validation, and revocation. This merging approach ensures reliable server access while reducing resource waste through coordinated token management and elimination of redundant authentication operations.
Data Source
Figure 1
Figure 2A(1)
Figure 2A(2)
AI summary
This application relates to the terminal field, and discloses a display method and a device, to improve user experience of using a widget. The method is as follows: An electronic device receives an operation of a user, where the operation is used to control display of a second user interface including a widget; the electronic device sends a first authentication obtaining request to a first server, where the first authentication obtaining request includes a first identity authentication token allocated by the first server, the first authentication obtaining request is used to obtain a second identity authentication tokenused to access a second server, and the first identity authentication token is associated with the second identity authentication token; after receiving the second identity authentication token sent by the first server, the electronic device sends a first content obtaining request including the second identity authentication token to the second server, where the first content obtaining request is used to obtain content information to be displayedin the widget; and the electronic device receives content information sent by the second server, and displays the second user interface including the widget. This improves user experience of using the widget.