Widget Refresh Data Proxy for Low-Power Timely Updates
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Frequent widget refresh on electronic devices leads to increased system power consumption and performance pressure due to the frequent startup of widget and data provider processes.
Innovation Solution
Implement a data proxy service within the electronic device to manage widget refresh, allowing it to obtain and update display data without activating the widget and data provider processes, thereby reducing power consumption and performance pressure.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Reliability
If the widget provider process and data provider process are frequently started to refresh widgets, then the widget display data is updated in a timely manner, but system power consumption increases and performance pressure increases
Solution Approach 1:
The patent introduces a data access service as an intermediary component between the widget provider process and the data provider process. This service maintains a cache of widget display data and can provide updated data without requiring the frequent startup of the original processes, thereby reducing power consumption while maintaining data timeliness through selective updates and cache management.
Solution Approach 2:
The data access service pre-loads and caches widget display data in advance. By maintaining this cache and using it for subsequent widget refreshes, the system avoids the need to repeatedly start the data provider process, thus reducing power consumption while ensuring that display data is readily available when needed.
2Reliability
If the widget provider process and data provider process are frequently started to refresh widgets, then the widget display data is updated in a timely manner, but device performance pressure increases
Solution Approach 1:
The data access service acts as a mediator that handles data retrieval and caching, eliminating the need for frequent process startups. This intermediary layer absorbs the performance impact of data access operations, allowing the original widget provider and data provider processes to remain dormant and preserving device performance while maintaining timely data updates.
Solution Approach 2:
The system creates a copy of the widget display data and stores it in the data access service cache. This copied data can be used for widget refreshes without requiring access to the original data provider process, thereby reducing performance pressure on the device while ensuring timely updates through the cached copy.
3Reliability
If the data provider process is frequently started for widget refresh, then latest widget display data is obtained, but lifecycle management overhead and resource allocation increase
Solution Approach 1:
The data access service serves as a persistent intermediary that maintains widget display data in its cache. Since this service remains active and does not require frequent startup, it eliminates the lifecycle management overhead associated with repeatedly starting and stopping the data provider process, while still providing fresh data through its caching mechanism.
Solution Approach 2:
The data access service autonomously manages its own cache of widget display data, performing self-service by maintaining and updating the cached information without requiring external process interventions. This self-managing approach reduces the lifecycle management complexity that would otherwise be required to frequently start and stop the data provider process.
Data Source
AI summary
A data access method and an electronic device relates to the field of terminal technologies. The method provides that a data proxy service obtains, in response to an operation of creating a widget, a data processing template configured by a widget provider and display data information configured by a data provider, where the data proxy service resides in the electronic device. A first widget is displayed, where first widget display data of the first widget corresponds to the data processing template and first display data indicated by the display data information. The data proxy service refreshes the first widget in response to a preset condition being met, where the data proxy service determines second widget display data of a refreshed first widget. The refreshed first widget is displayed based on the second widget display data.


