Method and system for jumping target page in application

Customizing URL Schema and integrating App Links with advanced URL parsing and caching mechanisms addresses the challenges of complex configuration and non-seamless redirection, achieving efficient and intelligent page jumps with automated installation.

CN119202433APending Publication Date: 2024-12-27LICHU BUSINESS

Patent Information

Application Number
CN202411323320.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-09-23
Publication Date
2024-12-27

AI Technical Summary

Technical Problem

Existing methods for jumping to a target page within an application face difficulties in configuration complexity and lack of seamless cross-platform redirection, particularly with URL Scheme and Universal Links.

Method used

Customize URL Schema for each accessible page and function, develop a standardized Deeplink URL format protocol, integrate App Links technology, and use advanced URL parsing and caching mechanisms to ensure smooth and intelligent page redirection.

Benefits of technology

Enables efficient, secure, and seamless redirection across platforms, improving user experience by ensuring accurate and intelligent page jumps with automated installation and caching, and enhancing user satisfaction.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119202433A_ABST
    Figure CN119202433A_ABST
Patent Text Reader

Abstract

The invention provides a target page jumping method and system in an application, and the method comprises the steps: customizing a URL Schema, and defining a corresponding URL for each accessible page and function in the application; formulating a standard Deeplink URL format protocol and providing the standard Deeplink URL format protocol to the equipment, so that the equipment accesses the format protocol; detecting a trigger operation of a Deeplink URL (Uniform Resource Locator) on the equipment, and capturing and analyzing URL information in the Intent to obtain an analysis result; determining whether the application is installed or not according to the analysis result, and if the application is installed, skipping to a target page in the application; and if the application is not installed, guiding the official website to download and install the application, and skipping to a target page in the application. According to the method and the device, the jump from the webpage to the target page in the application is realized based on the URL Scheme, smoother and seamless cross-platform jump is realized by optimizing a jump mechanism, and the user experience is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of page jump, and more specifically, to a method and system for jumping to a target page within an application. Background Art

[0002] The technology that can take users directly from a web page to the specified page of an App breaks the natural barrier between the Web and App, making App marketing and promotion more possible. By integrating standard schemes, Universal Links and other technologies, Deeplink achieves efficient and stable deep links, providing users with a convenient experience of jumping directly from the Web to the specified page of an App.

[0003] URL Scheme is the most basic and widely used technology for implementing Deeplink. It specifies the App and page to be redirected by defining a specific protocol name (Scheme) and path (Path). The specific implementation method is: register the URL Scheme in the native App, and use the link containing the Scheme in the web page or other platforms.

[0004] URL Scheme is simple to implement and has good compatibility, but it has platform limitations and user confirmation steps.

[0005] Universal Links is a technology introduced in iOS 9.2 and later, which aims to provide a better user experience and seamless jump experience. The specific implementation method is: configure the apple-app-site-association file on the App's server and register the App's Associated Domains on the iOS device. When the user clicks on the HTTPS link, the system will automatically determine and try to open the specified page in the App.

[0006] Universal Links technology provides a good user experience and does not require user confirmation, but it is complex to configure and is only supported on iOS platforms. Summary of the invention

[0007] The present invention aims at the technical problems existing in the prior art and provides a method and system for jumping to a target page in an application, so as to solve the defects of the prior art that page jumping is difficult to configure and the jumping is not smooth.

[0008] According to a first aspect of the present invention, a method for jumping to a target page within an application is provided, comprising:

[0009] Customize URL Schema to define corresponding URLs for each accessible page and function in the application;

[0010] Based on the custom URL Schema, a standardized Deeplink URL format protocol is developed;

[0011] Provide the standardized Deeplink URL format protocol to the device so that the device can access the Deeplink URL format protocol;

[0012] Detect the triggering operation of the Deeplink URL on the device, capture and parse the URL information in the Intent, and obtain the parsing result;

[0013] Determine whether the application is installed according to the analysis result. If the application is installed, jump to the target page in the application; if not installed, guide the official website to download and install the application, and then jump to the target page in the application.

[0014] Based on the above technical solution, the present invention can also make the following improvements.

[0015] Optionally, the structure of the custom URL Schema includes modules, actions and parameters in the application, the modules include each accessible page and each functional module in the application, the actions represent specific actions to be performed in the specified module, and the parameters include query strings and application version numbers; the corresponding URLs defined for each accessible page and function in the application include:

[0016] Define the specific actions, query strings, current application version number, and data encryption verification mechanism for each accessible page and function within the application.

[0017] Optionally, the triggering operation of DeeplinkURL on the detection device captures and parses the URL information in the Intent to obtain the parsing result, including:

[0018] Detect the user's click operation on the Deeplink URL on the device, trigger the Deeplink URL format protocol, and capture the URL information in the Intent;

[0019] The URL information in the Intent is parsed through an asynchronous task or a thread in a thread pool, and the parsing result is returned to the main thread through a callback interface or a Future object, so that the main thread can jump to the target page or execute the function.

[0020] Optionally, capturing URL information in the Intent includes:

[0021] Write regular expressions to match and extract each part of the DeeplinkURL format protocol;

[0022] The step of parsing the URL information in the Intent by using the asynchronous task or the thread in the thread pool includes:

[0023] Based on the integrated URL parsing and processing logic, the URL information in the Intent is parsed through an asynchronous task or a thread in a thread pool, and the parsed results are stored in the least recently used LRU cache.

[0024] Optionally, when a new Deeplink URL is triggered, check whether there is a resolution result of the URL in the LRU cache. If yes, obtain the resolution result of the URL from the LRU cache; if not, parse the URL information, obtain the resolution result, and store it in the LRU cache.

[0025] Optionally, it also includes setting an expiration time for the cache item in the LRU cache, and re-parsing the URL information when the cache item becomes invalid.

[0026] Optionally, determining whether the application is installed according to the analysis result, if the application is installed, jumping to a target page in the application; if not installed, guiding the official website to download and install the application, and then jumping to the target page in the application, includes:

[0027] Use automated tools or scripts to configure the assetlinks.json file of App Links based on the package name and signature fingerprint of the app.

[0028] When App Links is triggered but the app is not installed, the assetlinks.json file is triggered, the app is downloaded from the official website, and the target page in the app is jumped to.

[0029] Optionally, during the target page jump process, animations and loading prompts are displayed to the user.

[0030] Optionally, the method further includes:

[0031] A performance monitoring tool is integrated in the device to monitor key indicators of the target page in real time, including the jump response time and error rate of the target page.

[0032] According to a second aspect of the present invention, a target page jump system within an application is provided, comprising:

[0033] Definition module for customizing URL Schema, defining corresponding URLs for each accessible page and function in the application;

[0034] A formulation module is used to formulate a standardized Deeplink URL format protocol based on a custom URL Schema, and provide the standardized Deeplink URL format protocol to the device so that the device can access the Deeplink URL format protocol;

[0035] The parsing module is used to detect the triggering operation of the Deeplink URL on the device, capture and parse the URL information in the Intent, and obtain the parsing result;

[0036] The jump module is used to determine whether the application is installed according to the analysis result. If the application is installed, it jumps to the target page in the application; if not, it guides the official website to download and install the application, and then jumps to the target page in the application.

[0037] The present invention provides a method and system for redirecting to a target page in an application, which realizes the redirection from a web page to a target page in an application based on URL Scheme, and realizes smoother and seamless cross-platform redirection by optimizing the redirection mechanism, thereby improving the user experience. BRIEF DESCRIPTION OF THE DRAWINGS

[0038] Figure 1 A flow chart of a method for jumping to a target page within an application provided by the present invention;

[0039] Figure 2 An overall flow chart of a method for jumping to a target page within an application provided by the present invention;

[0040] Figure 3 A schematic diagram of the structure of a target page jump system within an application provided by the present invention. DETAILED DESCRIPTION

[0041] In order to make the purpose, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments in the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention. In addition, the technical features in the various embodiments or single embodiments provided by the present invention can be arbitrarily combined with each other to form a feasible technical solution. This combination is not subject to the constraints of the sequence of steps and / or the structural composition mode, but must be based on the ability of ordinary technicians in this field to achieve. When the combination of technical solutions is contradictory or cannot be achieved, it should be considered that such a combination of technical solutions does not exist and is not within the scope of protection required by the present invention.

[0042] Figure 1A flow chart of a method for jumping to a target page within an application provided by the present invention, such as Figure 1 As shown, the method includes:

[0043] Step 1: Customize the URL Schema and define the corresponding URL for each accessible page and function in the application.

[0044] It is understandable that the URL Schema is defined first to build a bridge between the application and the outside. A unique URL Schema is defined for each accessible page and function in the application, which not only builds a solid bridge between the application and external links, but also ensures the uniqueness and security of the links. Compared with traditional DeepLink, the solution of the present invention is more flexible and diverse in link design, can accurately match user needs, and achieve more efficient page jumps.

[0045] The structure of the custom URL Schema includes modules, actions and parameters in the application. The modules include each accessible page and each functional module in the application. The actions represent specific actions to be performed in the specified module. The parameters include query strings and application version numbers. The corresponding URLs defined for each accessible page and function in the application include:

[0046] Define the specific actions, query strings, current application version number, and data encryption verification mechanism for each accessible page and function within the application.

[0047] Specifically, the basic URL structure design pattern is as follows:

[0048] Module: represents a main functional module or accessible page within the application, such as "home", "search", "profile", etc.

[0049] Action: optional, indicating the specific action to be performed in the specified module, such as "view", "edit", etc. If the URL is only used to navigate to a page and does not involve a specific action, this part can be omitted.

[0050] Parameters: Use a query string (followed by key-value pairs) to pass additional information like user ID, search query, etc.

[0051] And embed the current application version number in the URLSchema to handle possible backward compatibility issues when updating the application.

[0052] For security reasons, sensitive information is not passed directly in the URL. Instead, mechanisms such as OAuth and JWT are used for authentication.

[0053] Step 2: Develop a standardized Deeplink URL format protocol based on the custom URL Schema.

[0054] It is understandable that based on the URLSchema defined for each accessible page and functional module in the application in step 1, the standardized Deeplink URL format protocol makes it easy to achieve seamless connection between web pages and applications. Users only need to click on these carefully designed links to go directly to specific pages in the application with one click, without cumbersome operation steps and complex interface jumps. This innovation not only simplifies the operation process, but also greatly improves user efficiency and satisfaction.

[0055] Step 3: Provide the standardized Deeplink URL format protocol to the device so that the device can access the Deeplink URL format protocol.

[0056] It is understandable that the standardized Deeplink URL format protocol is provided to different devices to achieve cross-platform page jumps.

[0057] Step 4: Detect the triggering operation of Deeplink URL on the device, capture and parse the URL information in the Intent, and obtain the parsing result.

[0058] Exemplarily, the triggering operation of the Deeplink URL on the detection device captures and parses the URL information in the Intent to obtain the parsing result, including:

[0059] Detect the user's click operation on the Deeplink URL on the device, trigger the Deeplink URL format protocol, and capture the URL information in the Intent;

[0060] The URL information in the Intent is parsed through an asynchronous task or a thread in a thread pool, and the parsing result is returned to the main thread through a callback interface or a Future object, so that the main thread can jump to the target page or execute the function.

[0061] It is understandable that the user triggers by clicking the URL on the device, and after detecting the trigger operation, the URL information in the Intent is captured. When capturing the URL information in the Intent, write an efficient and accurate regular expression to match and extract each part of the URL according to the URL Schema of the application, and improve the execution efficiency of the regular expression by reducing unnecessary capture groups and look-ahead assertions.

[0062] By integrating advanced URL parsing and processing logic, the URL information in the Intent delivered by the system can be quickly captured and parsed when the application is awakened by DeepLink. This process is not only efficient but also accurate, ensuring that users can quickly and accurately reach the target page in the application, further improving the user experience.

[0063] When parsing the captured URL information, parallel and asynchronous processing is used to create asynchronous tasks: when the application receives an Intent containing a URL, the URL parsing is not processed directly in the main thread, but the parsing task is assigned to a dedicated asynchronous task or a thread in the thread pool. After the asynchronous task is completed, the parsing result is returned to the main thread through the callback interface or Future object. After receiving the result, the main thread executes the logic of page jump or function execution.

[0064] In the process of parsing URL information, efficient data structures such as HashMap and Trie tree are used to store and query URL components or mapping relationships.

[0065] For example, after parsing the URL information, the parsing result is stored in the least recently used LRU cache. When a new DeeplinkURL is triggered, it is queried whether there is a parsing result of the URL in the LRU cache. If there is, the parsing result of the URL is obtained from the LRU cache; if not, the URL information is parsed to obtain the parsing result and stored in the LRU cache.

[0066] Specifically, the present invention implements a cache mechanism based on the least recently used (LRU) strategy, which is used to store recently parsed URLs and their results. When a new URL is received, it is first checked whether the parsing result of the URL exists in the cache. If it exists in the cache, the parsing result of the URL information is directly obtained from the cache; if it does not exist in the cache, the URL information needs to be parsed, and the parsing result is stored in the cache for subsequent search.

[0067] Set a reasonable expiration time for cache items and re-parse the URL when the cache is invalid. At the same time, when the application is updated or the URL Schema changes, clear the cache to ensure the accuracy of the parsing results.

[0068] Step 5, determine whether the application is installed according to the analysis result. If the application is installed, jump to the target page in the application; if not installed, guide the official website to download and install the application, and then jump to the target page in the application.

[0069] It is understandable that in order to maximize user retention, the present invention introduces App Links technology and carefully configures the assetlinks.json file. This innovative measure ensures that when App Links is triggered but the application is not installed, the user can automatically jump to the official website for downloading, thereby effectively avoiding user loss due to the application not being installed. Compared with traditional methods, this strategy is more intelligent and user-friendly, providing users with a more convenient download path.

[0070] Automatic configuration of assetlinks.json file: Develop an automated tool or script to automatically generate and update the assetlinks.json file based on the application's package name, signature fingerprint and other key information. This tool can be integrated into the application's build process to ensure that the file content is updated in time every time a new version is released, avoiding redirection failures caused by configuration errors.

[0071] When a user clicks a URL containing App Links, it first checks whether the corresponding app is installed on the device. If it is installed, it directly opens the app and jumps to the target page; if it is not installed, it automatically builds and jumps to the app's download page (such as Google Play, App Store, or the app's official website) based on the parameters carried in the URL or preset rules, downloads and installs the app. During the page jump process, the context information of the user's click is cached to facilitate seamless restoration of the user session after the app is installed.

[0072] In addition, during the page jump process, the user experience is improved through animations, loading prompts, etc. At the same time, clear download instructions and installation tutorials are provided on the download page to help users quickly complete the download and installation process of the application.

[0073] Integrated performance monitoring tools are used to monitor key indicators of App Links such as jump response time and error rate in real time. At the same time, user feedback channels are provided to collect users' opinions and suggestions on the App Links experience, so as to identify and solve problems in a timely manner.

[0074] See also Figure 2 , which is the overall flow chart of the target page jump method within the application, defines a unique URL for each accessible page and each functional module in the application, and formulates a standardized Deeplink URL format protocol and provides it to partners. For example, the standardized Deeplink URL format protocol is provided to devices on different platforms so that devices on different platforms can access the standard Deeplink URL format protocol.

[0075] When the user clicks on the URL on the device, the URL information in the Intent is quickly captured and parsed to obtain the parsing result, which includes the required application and the target page to be jumped in the application.

[0076] According to the parsing results, it is determined whether the corresponding application has been installed on the device. If it has been installed, it will jump directly to the target page in the application. If it has not been installed, it will first trigger the assetlinks.json file, automatically guide the official website to download and install the application, and then jump to the target page in the installed application.

[0077] See also Figure 3 , provides an in-application target page jump system of the present invention, the system mainly includes:

[0078] A definition module 301 is used to customize the URL Schema and define a corresponding URL for each accessible page and function in the application;

[0079] A formulation module 302, for formulating a standardized DeeplinkURL format protocol based on a custom URL Schema, and providing the standardized DeeplinkURL format protocol to a device so that the device can access the DeeplinkURL format protocol;

[0080] The parsing module 303 is used to detect the triggering operation of the Deeplink URL on the device, capture and parse the URL information in the Intent, and obtain the parsing result;

[0081] The jump module 304 is used to determine whether the application is installed according to the analysis result. If the application is installed, it jumps to the target page in the application; if not, it guides the official website to download and install the application, and then jumps to the target page in the application.

[0082] It can be understood that the in-application target page jump system provided by the present invention corresponds to the in-application target page jump method provided by the aforementioned embodiments. The relevant technical features of the in-application target page jump system can refer to the relevant technical features of the in-application target page jump method, which will not be repeated here.

[0083] An in-application target page jump method and system provided by an embodiment of the present invention has the following advantages:

[0084] (1) A unique URL Schema is assigned to each accessible page and function within the application. This unprecedented approach enhances the accuracy and security of links and provides users with a more direct and secure access path;

[0085] (2) It integrates advanced URL parsing and processing technologies, enabling applications to quickly and accurately parse URL information when awakened by DeepLink, thus achieving an efficient and smooth page jump experience;

[0086] (3) App Links technology was introduced, and through the carefully configured assetlinks.json file, the function of automatically directing users to download from the official website when the app is not installed on their device was implemented. This strategy effectively improved user retention and provided users with a more intelligent download experience;

[0087] (4) A standardized Deeplink URL format protocol was developed to simplify the access process for external partners. This also improved the user experience after clicking the link, making the connection between web pages and applications more seamless and efficient.

[0088] It should be noted that in the above embodiments, the description of each embodiment has its own emphasis, and for parts that are not described in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.

[0089] Those skilled in the art will appreciate that embodiments of the present invention may be provided as methods, systems, or computer program products. Therefore, the present invention may take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, the present invention may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.

[0090] The present invention is described with reference to flowcharts and / or block diagrams of methods, devices (systems), and computer program products according to embodiments of the present invention. It should be understood that each process and / or block in the flowchart and / or block diagram, as well as the combination of processes and / or blocks in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded computer, or other programmable data processing device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0091] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.

[0092] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 A step that specifies a function in one or more boxes.

[0093] Although the preferred embodiments of the present invention have been described, those skilled in the art may make other changes and modifications to these embodiments once they have learned the basic creative concept. Therefore, the appended claims are intended to be interpreted as including the preferred embodiments and all changes and modifications that fall within the scope of the present invention.

[0094] Obviously, those skilled in the art can make various changes and modifications to the present invention without departing from the spirit and scope of the present invention. Thus, if these modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to include these modifications and variations.

Claims

1. A method for jumping to a target page within an application, characterized in that: include: Customize URL Schema to define corresponding URLs for each accessible page and function in the application; Based on the custom URL Schema, a standardized Deeplink URL format protocol is developed; Provide the standardized Deeplink URL format protocol to the device so that the device can access the Deeplink URL format protocol; Detect the triggering operation of the Deeplink URL on the device, capture and parse the URL information in the Intent, and obtain the parsing result; Determine whether the application is installed according to the analysis result. If the application is installed, jump to the target page in the application; if not installed, guide the official website to download and install the application, and then jump to the target page in the application.

2. The method for jumping to a target page in an application according to claim 1, characterized in that: The structure of the custom URLSchema includes modules, actions and parameters in the application. The modules include each accessible page and each functional module in the application. The actions represent specific actions to be performed in the specified module. The parameters include query strings and application version numbers. The corresponding URLs are defined for each accessible page and function in the application, including: Define the specific actions, query strings, current application version number, and data encryption verification mechanism for each accessible page and function within the application.

3. The method for jumping to a target page in an application according to claim 1, characterized in that: The triggering operation of the Deeplink URL on the detection device captures and parses the URL information in the Intent to obtain the parsing result, including: Detect the user's click operation on the Deeplink URL on the device, trigger the Deeplink URL format protocol, and capture the URL information in the Intent; The URL information in the Intent is parsed through an asynchronous task or a thread in a thread pool, and the parsing result is returned to the main thread through a callback interface or a Future object, so that the main thread can jump to the target page or execute the function.

4. The method for jumping to a target page in an application according to claim 3, characterized in that: The capturing of URL information in the Intent includes: Write regular expressions to match and extract each part of the DeeplinkURL format protocol; The step of parsing the URL information in the Intent by using the asynchronous task or the thread in the thread pool includes: Based on the integrated URL parsing and processing logic, the URL information in the Intent is parsed through an asynchronous task or a thread in a thread pool, and the parsed results are stored in the least recently used LRU cache.

5. The method for jumping to a target page in an application according to claim 4, characterized in that: When a new Deeplink URL is triggered, check whether there is a resolution result for the URL in the LRU cache. If yes, select the resolution result from the LRU cache or the URL. If not, the URL information is parsed to obtain the parsing result, and stored in the LRU cache.

6. The method for jumping to a target page in an application according to claim 5, characterized in that: It also includes setting an expiration time for the cache items in the LRU cache, and re-parsing the URL information when the cache items become invalid.

7. The method for jumping to a target page in an application according to claim 1, characterized in that: determining whether the application is installed according to the analysis result, and if the application is installed, jumping to the target page in the application; If it is not installed, you will be directed to the official website to download and install the app, and then jump to the target page in the app, including: Use automated tools or scripts to configure the assetlinks.json file of App Links based on the package name and signature fingerprint of the app. When App Links is triggered but the app is not installed, the assetlinks.json file is triggered, the app is downloaded from the official website, and the target page in the app is jumped to.

8. The method for jumping to a target page in an application according to claim 1, characterized in that: During the target page jump process, animations and loading prompts are displayed to users.

9. The method for jumping to a target page in an application according to claim 1, characterized in that: The method further comprises: A performance monitoring tool is integrated in the device to monitor key indicators of the target page in real time, including the jump response time and error rate of the target page.

10. A target page jump system within an application, characterized in that: include: Definition module for customizing URL Schema, defining corresponding URLs for each accessible page and function in the application; A formulation module is used to formulate a standardized Deeplink URL format protocol based on a custom URL Schema, and provide the standardized Deeplink URL format protocol to the device so that the device can access the Deeplink URL format protocol; The parsing module is used to detect the triggering operation of the Deeplink URL on the device, capture and parse the URL information in the Intent, and obtain the parsing result; The jump module is used to determine whether the application is installed according to the analysis result. If the application is installed, it jumps to the target page in the application; if not, it guides the official website to download and install the application, and then jumps to the target page in the application.

Citation Information

Patent Citations

  • Page jumping method and device for iOS platform, equipment and medium

    CN117633378A

Cited By

  • Method for automatically collecting commodity information

    CN121144582A

  • Method for automated collection of item information

    CN121144582B