Single Web Client for Hybrid App State Management
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Hybrid applications with both native and web business logic face challenges in processing data, leading to multiple login responses from servers due to separate web clients maintaining different states, which complicates development and maintenance.
Innovation Solution
A translation module is used to translate web requests into native requests, allowing both types of logic to share a single web state, eliminating the need for separate state synchronization and enabling independent updates to native and web business logic components.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Adaptability or versatility
If separate web clients are used for native and web business logic, then each logic type can operate independently, but multiple login responses are received from the server due to different states
Solution Approach 1:
The patent merges separate web clients for native and web business logic into a single shared web client. This consolidation allows both logic types to operate independently while sharing a common state, eliminating the issue of multiple login responses and ensuring state consistency across the hybrid application.
Solution Approach 2:
The single web client is designed to serve multiple functions: handling both native business logic requests and web business logic requests. This universal client maintains a unified state that can be accessed and modified by either logic type, providing adaptability while ensuring reliability through centralized state management.
2Ease of manufacture
If separate web clients maintain different states, then native and web logic can be developed independently, but development and maintenance become complicated
Solution Approach 1:
By combining separate state management systems into a single shared state within one web client, the patent eliminates the complexity of state synchronization. Developers can continue to work on native and web logic independently while the shared state automatically ensures consistency, reducing maintenance burden.
3Reliability
If a single web client is used, then a single application state is maintained, but separate processing of native and web requests is needed
Solution Approach 1:
The patent introduces a translation module as an intermediary between native business logic and the web client. This module translates native requests into web-compatible requests and routes them through the single web client, maintaining a unified state while enabling separate processing of different request types without significant complexity.
Data Source
AI summary
According to an aspect, techniques for processing hybrid data include receiving a web request and translating the web request into a translated native request. The translated native request and a native request are sent to a server via a single web client. A response is received from the server via the single web client. It is determined whether the response corresponds to the translated native request or to the native request.


