Local App Installation Detection via Callback Server
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Existing mobile device platforms cannot determine if a corresponding application is installed on a device after opening a web page, leading to unnecessary app download prompts and resource wastage.
Innovation Solution
A method where a first local application opens a web page, invokes a second local application, and starts a local server, sending a JavaScript reference request to determine if the second application is installed, thereby avoiding unnecessary download prompts.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Ease of operation
If a web page is opened and a corresponding APP is invoked through Scheme URI, then the APP can be started on the mobile device, but the opened web page cannot know that the corresponding APP has been installed, leading to unnecessary download prompts
Solution Approach 1:
The patent implements a feedback mechanism where the invoked APP returns installation status information to the web page through a callback function. The web page sends a request to the APP, and the APP responds with installation status data, allowing the web page to know whether the APP is installed without requiring manual user input or causing unnecessary download prompts.
Solution Approach 2:
The patent uses an intermediary communication mechanism between the web page and the APP. A callback function serves as the intermediary that receives installation status information from the APP and transmits it back to the web page. This intermediary allows information exchange between components that would otherwise be isolated, solving the information loss problem.
2Loss of information
If the web page continuously checks for APP installation status, then installation information can be obtained, but communication time is prolonged and resources are wasted
Solution Approach 1:
The patent performs preliminary action by having the APP prepare and store installation status information in advance. When the web page sends a request, the APP can immediately respond with pre-prepared installation status data without requiring real-time checks or continuous communication. This preliminary preparation significantly reduces communication time and resource consumption.
Solution Approach 2:
The patent uses a feedback mechanism where the APP actively responds to web page requests with installation status information. Instead of the web page continuously polling or checking for installation status, the APP provides the information on demand through a controlled feedback response, reducing unnecessary communication overhead and time consumption.
3Loss of information
If the web page sends frequent requests to check APP installation, then installation status can be confirmed, but communication resources are wasted
Solution Approach 1:
The patent implements a feedback mechanism where the APP provides installation status information in response to specific web page requests. The web page sends a request only when needed, and the APP responds with the installation status. This targeted feedback approach confirms installation status without requiring frequent or continuous communication, thereby conserving communication resources and reducing energy consumption.
Solution Approach 2:
The patent enables the APP to serve itself by having it maintain and provide its own installation status information. The APP uses its own resources to store and communicate its installation state to the web page, eliminating the need for the web page to perform extensive resource-consuming checks or the system to continuously monitor installation status.
Data Source
AI summary
A first local application (APP) opens a web page. The first local APP wakes a second local APP. The second local APP starts a local server. The first local APP sends a reference request to the local server. If a response returned by the local server is received, the first local APP stops a jump to a directed download page.

