Page jump method, page jump device, equipment and storage medium
By obtaining and storing link information of shared content in the first application and jumping to the second application according to the content source identifier, the problem of not being able to directly jump to the application specified page on the Android platform is solved, and efficient page redirection and user experience improvement are achieved.
Patent Information
- Application Number
- CN202110687941.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2017-07-17
- Publication Date
- 2025-03-25
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
In the era of mobile Internet, it is difficult for the existing technology to directly jump from a social platform to the specified page or content of the application on the Android platform, especially when it is compatible with various Android models and third-party browsers, and cannot adapt to the situation where the APP is not installed.
When receiving the shared content sent by the second application through the first application, the link information of the shared content, including the content source identification and a copy time stamp, is obtained, and is copied and stored in the preset storage area of the terminal device. Jump to the second application based on the content source identifier, and record the current timestamp to determine the interval time, and decide whether to open the specified page where the shared content is located in the second application.
It realizes a direct jump from the first application to the specified page in the local second application that sends shared content to it. It is simple and efficient in operation, improves the user experience, and adapts to the compatibility issues of different Android models and social platforms.
Smart Images

Figure CN113407323B_ABST
Abstract
Description
[0001] This application is a divisional application of the Chinese patent application with the application date of July 17, 2017, application number 201710581815.7, and invention name “Page jump method and page jump device, equipment and storage medium”. Technical Field
[0002] The embodiments of the present disclosure relate to the technical field of content sharing in the mobile Internet, and more specifically, to a method for page jump of an application program, an apparatus for page jump of an application program, a computer device, and a computer-readable storage medium. Background Art
[0003] At present, in the era of mobile Internet, sharing links is a common and important way of information dissemination. After an APP (Application) shares a web page to social platforms such as WeChat, users hope to return to the APP to help the APP solve problems such as user growth (such as attracting new users, attracting active users, retaining users, and converting users) and traffic monetization. In this case, the APP needs to be able to be called up through a browser or on a social platform to directly open the specified page or content of the APP to ensure the user experience.
[0004] However, in the relevant technologies, Universal Links only exist on the IOS (mobile operating system developed by Apple) platform, and cannot take into account the vast number of Android (free and open source operating system based on Linux) platform users, and APP Links (application links) only run on AndroidM models that support Google, and cannot be applied to the diverse Android models in China. In addition, when the social platform in the Android model blocks the interface for calling up the local APP, social platforms such as WeChat cannot directly call up the APP, and can only prompt the user to open it in the browser, and the jump switch remains unchanged; and when the APP can be called up through the App Store on social platforms such as WeChat, it can only reach the APP homepage by default, and cannot reach the specified page or directly view the content you want to view.
[0005] Therefore, how to solve the compatibility issues caused by various Android models and third-party browsers, and how to directly jump to the specified page of the APP or jump to the content you want to view through the social platform, especially when the APP is not installed, how to guide users to download, install and open the APP to enter the previously specified page or jump to the content they want to view, has become an urgent problem to be solved. Summary of the invention
[0006] Based on the above problems, the disclosed embodiment proposes a new technical solution, which can realize a direct jump from a first application to a specified page in a local second application to which the shared content is sent. The operation is simple and efficient, which helps to improve the user experience.
[0007] In view of this, according to the first aspect of an embodiment of the present disclosure, a page jump method of an application is proposed, which is used in a terminal device. The page jump method includes: when a first application receives shared content sent by a second application and receives an instruction to enter the second application to view the shared content, obtaining link information of the shared content, wherein the link information includes a content source identifier and a copy timestamp; copying and storing the link information to a preset storage area of the terminal device; jumping from the first application to the second application according to the content source identifier, and obtaining a current timestamp for entering the second application to determine the interval time between the current timestamp and the copy timestamp; determining whether to open the specified page where the shared content is located in the second application according to the status of the second application in the terminal device and the interval time.
[0008] In this technical solution, when a user needs to invoke a second application that sends shared content to the user through a first application in a terminal device and jump into the second application to view the details page of the shared content, the user can first obtain the link information of the shared content in the first application and copy and store it in a preset storage area of the terminal device, wherein the link information of the shared content mainly includes a content source identifier for identifying its source and a copy timestamp when the content source identifier is obtained. Further, the user can jump from the first application to the second application based on the content source identifier, and record the current timestamp presented after entering the second application. Then, the interval time between the current timestamp and the copy timestamp can be determined. Further, the user can determine whether it is necessary to open the specified page of the shared content sent to the first application in the second application based on the status of the second application in the terminal device and the above-mentioned interval time. In this way, after invoking the second application through the first application and realizing a direct jump, it can be determined whether to open the details page of the shared content according to the specific situation. The operation is simple and efficient, which is conducive to improving the user experience.
[0009] Among them, the first application can specifically be a social application, such as: WeChat application, QQ application, etc., and the second application can include other applications besides the first application itself that receives shared content, such as Douban application, Zhihu application, etc.; of course, the first application can also be other applications besides social applications and the second application.
[0010] In the above technical solution, preferably, the step of determining whether to open the designated page where the shared content is located in the second application according to the status and interval time of the second application in the terminal device includes: setting the effective time corresponding to the status of the second application in the terminal device; judging whether the interval time is greater than or equal to the effective time; if so, opening the home page of the second application, otherwise opening the designated page where the shared content is located in the second application.
[0011] In this technical solution, when determining whether it is necessary to open the designated page of the shared content sent to the first application in the second application based on the state of the second application in the terminal device and the determined interval time, it can be determined based on the relationship between the interval time and the set effective time, wherein the effective time corresponds to the state of the second application in the terminal device. In this way, the accuracy of the comparison result can be ensured, thereby ensuring the accuracy of the execution result of whether to open the designated page of the shared content in the second application. That is, when the interval from the moment when the first application calls up the second application (that is, the copy timestamp) to the moment when the second application is jumped into (that is, the current timestamp) is too long, it means that the required time for the user to open the details page of the shared content has exceeded. At this time, it is sufficient to enter the home page of the second application, otherwise it directly jumps to the details page of the shared content in the second application, thereby realizing a direct jump from the first application to the designated page in the local second application to which the shared content is sent.
[0012] In any of the above technical solutions, preferably, the state of the second application in the terminal device includes: background running state, process closed state or to be installed state.
[0013] In this technical solution, the status of the second application in the terminal device mainly includes: a background running state that is easier to be invoked by the first application, and the corresponding effective time setting duration can be relatively short; a process shutdown state that needs to be restarted to enter the running state when the first application is invoked, and the corresponding effective time setting duration can be relatively longer; a waiting to be installed state that requires the second application to be installed in the terminal device when the first application is invoked, that is, the terminal device has not installed the second application before and needs to install it before running, and the corresponding effective time setting duration can be relatively longer, thereby meeting the needs of the second application being invoked in different scenarios.
[0014] In any of the above technical solutions, preferably, the content source identifier includes naming structure information of a uniform resource identifier; and the preset storage area includes a clipboard of the terminal device.
[0015] In this technical solution, when the second application is invoked through the first application, the second application can be located through the naming structure information of the uniform resource identifier (i.e., URI (Uniform Resource Identifier) Scheme) of the shared content, which helps to achieve accurate and efficient jump; more specifically, the clipboard in the terminal device can be used as a bridge for jumping and switching between the first application and the second application to which the shared content is sent, so as to effectively achieve a direct jump from the first application to a specified page in the local second application to which the shared content is sent. The operation is simple and efficient, which helps to improve the user experience, wherein the content in the clipboard is further stored in the memory of the terminal device.
[0016] According to a second aspect of an embodiment of the present disclosure, a page jumping device for an application is proposed, which is used in a terminal device. The page jumping device includes: an acquisition module, which is used to acquire link information of the shared content when a first application receives shared content sent by a second application and receives an instruction to enter the second application to view the shared content, wherein the link information includes a content source identifier and a copy timestamp; a storage module, which is used to copy and store the link information acquired by the acquisition module to a preset storage area of the terminal device; a processing module, which is used to jump from the first application to the second application according to the content source identifier, and acquire the current timestamp of entering the second application to determine the interval time between the current timestamp and the copy timestamp; a determination module, which is used to determine whether to open the specified page where the shared content is located in the second application according to the status of the second application in the terminal device and the interval time.
[0017] In this technical solution, when a user needs to invoke a second application that sends shared content to the user through a first application in a terminal device and jump into the second application to view the details page of the shared content, the user can first obtain the link information of the shared content in the first application and copy and store it in a preset storage area of the terminal device, wherein the link information of the shared content mainly includes a content source identifier for identifying its source and a copy timestamp when the content source identifier is obtained. Further, the user can jump from the first application to the second application based on the content source identifier, and record the current timestamp presented after entering the second application. Then, the interval time between the current timestamp and the copy timestamp can be determined. Further, the user can determine whether it is necessary to open the specified page of the shared content sent to the first application in the second application based on the status of the second application in the terminal device and the above-mentioned interval time. In this way, after invoking the second application through the first application and realizing a direct jump, it can be determined whether to open the details page of the shared content according to the specific situation. The operation is simple and efficient, which is conducive to improving the user experience.
[0018] Among them, the first application can specifically be a social application, such as: WeChat application, QQ application, etc., and the second application can include other applications besides the first application itself that receives shared content, such as Douban application, Zhihu application, etc.; of course, the first application can also be other applications besides social applications and the second application.
[0019] In the above technical scheme, preferably, the determination module includes: a setting sub-module, used to set the effective time corresponding to the status of the second application in the terminal device; a judgment sub-module, used to judge whether the interval time is greater than or equal to the effective time; a control sub-module, used to control the opening of the home page of the second application when the judgment sub-module judges as yes, otherwise when the judgment sub-module judges as no, control the opening of the specified page where the shared content is located in the second application.
[0020] In this technical solution, when determining whether it is necessary to open the designated page of the shared content sent to the first application in the second application based on the state of the second application in the terminal device and the determined interval time, it can be determined based on the relationship between the interval time and the set effective time, wherein the effective time corresponds to the state of the second application in the terminal device. In this way, the accuracy of the comparison result can be ensured, thereby ensuring the accuracy of the execution result of whether to open the designated page of the shared content in the second application. That is, when the interval from the moment when the first application calls up the second application (that is, the copy timestamp) to the moment when the second application is jumped into (that is, the current timestamp) is too long, it means that the required time for the user to open the details page of the shared content has exceeded. At this time, it is sufficient to enter the home page of the second application, otherwise it directly jumps to the details page of the shared content in the second application, thereby realizing a direct jump from the first application to the designated page in the local second application to which the shared content is sent.
[0021] In any of the above technical solutions, preferably, the state of the second application in the terminal device includes: background running state, process closed state or to be installed state.
[0022] In this technical solution, the status of the second application in the terminal device mainly includes: a background running state that is easier to be invoked by the first application, and the corresponding effective time setting duration can be relatively short; a process shutdown state that needs to be restarted to enter the running state when the first application is invoked, and the corresponding effective time setting duration can be relatively longer; a waiting to be installed state that requires the second application to be installed in the terminal device when the first application is invoked, that is, the terminal device has not installed the second application before and needs to install it before running, and the corresponding effective time setting duration can be relatively longer, thereby meeting the needs of the second application being invoked in different scenarios.
[0023] In any of the above technical solutions, preferably, the content source identifier includes naming structure information of a uniform resource identifier; and the preset storage area includes a clipboard of the terminal device.
[0024] In this technical solution, when the second application is invoked through the first application, the second application can be located through the naming structure information of the uniform resource identifier (i.e., URI Scheme) of the shared content, which helps to achieve accurate and efficient jump; more specifically, the clipboard in the terminal device can be used as a bridge for jumping and switching between the first application and the second application to which the shared content is sent, so as to effectively achieve a direct jump from the first application to a specified page in the local second application to which the shared content is sent. The operation is simple and efficient, which helps to improve the user experience, wherein the content in the clipboard is further stored in the memory of the terminal device.
[0025] According to a third aspect of an embodiment of the present disclosure, a computer device is proposed, the computer device comprising a processor, the processor being used to implement the steps of a page jump method of an application as described in any one of the technical solutions of the first aspect above when executing a computer program stored in a memory.
[0026] According to a fourth aspect of an embodiment of the present disclosure, a computer-readable storage medium is proposed, on which a computer program is stored. When the computer program is executed by a processor, the steps of the page jump method of an application program as described in any one of the technical solutions of the first aspect above are implemented.
[0027] The above-mentioned technical scheme of the embodiment of the present disclosure, by using the clipboard in the terminal device as a bridge for jumping and switching between the first application and the second application to which the shared content is sent, can effectively realize a direct jump from the first application to the specified page in the local second application to which the shared content is sent. The operation is simple and efficient, which is conducive to improving the user experience. BRIEF DESCRIPTION OF THE DRAWINGS
[0028] Figure 1A schematic diagram showing a flow chart of a method for page jump of an application program according to an embodiment of the present disclosure;
[0029] Figure 2 A schematic diagram of a method flow of jumping to a designated page where the shared content is located in a second application program according to an embodiment of the present disclosure is shown;
[0030] Figure 3 A schematic block diagram showing a page jump device of an application program according to an embodiment of the present disclosure is shown;
[0031] Figure 4 Shows Figure 3 A schematic block diagram of the determination module shown;
[0032] Figure 5 A schematic block diagram of a computer device according to an embodiment of the present disclosure is shown. DETAILED DESCRIPTION
[0033] In order to more clearly understand the above-mentioned purposes, features and advantages of the embodiments of the present disclosure, the embodiments of the present disclosure are further described in detail below in conjunction with the accompanying drawings and specific implementation methods. It should be noted that the embodiments of the present application and the features in the embodiments can be combined with each other without conflict.
[0034] In the following description, many specific details are set forth to facilitate a full understanding of the embodiments of the present disclosure. However, the embodiments of the present disclosure may also be implemented in other ways different from those described herein. Therefore, the protection scope of the embodiments of the present disclosure is not limited to the specific embodiments disclosed below.
[0035] Combine the following Figure 1 and Figure 2 The page jump method of the application program in the embodiment of the present disclosure is described in detail.
[0036] like Figure 1 As shown, according to the embodiment of the present disclosure, the page jump method for an application of a terminal device specifically includes the following process steps:
[0037] Step S10, when the first application receives the shared content sent by the second application and receives an instruction to enter the second application to view the shared content, the link information of the shared content is obtained, wherein the link information includes a content source identifier and a copy timestamp.
[0038] It is understandable that the first application can specifically be a social application, such as: WeChat application, QQ application, etc., and the second application can include other applications besides the first application itself that receives the shared content, such as Douban application, Zhihu application, etc.; of course, the first application can also be other applications besides the social application and the second application.
[0039] Step S20, copying and storing the link information to a preset storage area of the terminal device.
[0040] Step S30: Jump from the first application to the second application according to the content source identifier, and obtain the current timestamp of entering the second application to determine the interval time between the current timestamp and the copy timestamp.
[0041] Step S40: determining whether to open a designated page where the shared content is located in the second application according to the state and interval time of the second application in the terminal device.
[0042] In this embodiment, when the user needs to invoke the second application that sends shared content to the user through the first application in the terminal device and jump into the second application to view the details page of the shared content, the user can first obtain the link information of the shared content in the first application and copy and store it in a preset storage area of the terminal device, wherein the link information of the shared content mainly includes a content source identifier for identifying its source and a copy timestamp when the content source identifier is obtained. Further, the user can jump from the first application to the second application based on the content source identifier, and record the current timestamp presented after entering the second application. Then, the interval time between the current timestamp and the copy timestamp can be determined. Further, the user can determine whether it is necessary to open the specified page of the shared content sent to the first application in the second application based on the status of the second application in the terminal device and the above-mentioned interval time. In this way, after invoking the second application through the first application and achieving direct jump, it can be determined whether to open the details page of the shared content according to the specific situation. The operation is simple and efficient, which is conducive to improving the user experience.
[0043] Furthermore, in the above embodiment, the content source identifier includes the naming structure information of the uniform resource identifier, that is, when the second application is called up through the first application, the second application can be located through the naming structure information of the uniform resource identifier (i.e., URI Scheme) of the shared content, which helps to achieve accurate and efficient jump.
[0044] Furthermore, in the above embodiment, the preset storage area includes the clipboard of the terminal device, that is, the clipboard in the terminal device can be used as a bridge for jumping and switching between the first application and the second application to which the shared content is sent, so as to effectively realize a direct jump from the first application to the specified page in the local second application to which the shared content is sent. The operation is simple and efficient, which is conducive to improving the user experience, wherein the content in the clipboard is further stored in the memory of the terminal device.
[0045] For example, one example of the naming structure information URI Scheme of the uniform resource identifier stored in the clipboard is: scheme: / / host / path?query; and an example of the storage content with the copy timestamp copy_time added is: scheme: / / host / path?query©_time=1497860457300.
[0046] Furthermore, if Figure 2 As shown, in the above embodiment, step S40 can be specifically performed as the following process steps:
[0047] Step S402: setting a valid time corresponding to the state of the second application in the terminal device.
[0048] Step S404, determine whether the interval time is greater than or equal to the effective time, if so, execute step S406, otherwise execute step S408.
[0049] Step S406, opening the home page of the second application.
[0050] Step S408: Open the designated page where the shared content is located in the second application.
[0051] In this embodiment, when determining whether it is necessary to open the designated page of the shared content sent to the first application in the second application based on the state of the second application in the terminal device and the determined interval time, it can be determined based on the size relationship between the interval time and the set effective time, wherein the effective time corresponds to the state of the second application in the terminal device. In this way, the accuracy of the comparison result can be ensured, thereby ensuring the accuracy of the execution result of whether to open the designated page of the shared content in the second application. That is, when the interval from the moment when the first application wakes up the second application (that is, the copy timestamp) to the moment when the second application is jumped into (that is, the current timestamp) is too long, it means that the required time for the user to open the details page of the shared content has exceeded. At this time, it is sufficient to enter the home page of the second application, otherwise it directly jumps to the details page of the shared content in the second application, thereby realizing a direct jump from the first application to the designated page in the local second application to which the shared content is sent.
[0052] Furthermore, in the above embodiment, the state of the second application in the terminal device includes: background running state, process closed state or to-be-installed state.
[0053] It can be understood that the status of the second application in the terminal device mainly includes: a background running state that is easier to be invoked by the first application, and the corresponding effective time setting duration can be relatively short; a process shutdown state that needs to be restarted to enter the running state when the first application is invoked, and the corresponding effective time setting duration can be relatively longer; a pending installation state that requires the second application to be installed in the terminal device when the first application is invoked, that is, the terminal device has not installed the second application before and needs to install it before running, and the corresponding effective time setting duration can be relatively longer, thereby meeting the needs of the second application being invoked in different scenarios.
[0054] Combine the following Figure 3 and Figure 4 The page jump device of the application program in the embodiment of the present disclosure is described in detail.
[0055] like Figure 3 As shown, the page jump device 30 for an application of a terminal device according to an embodiment of the present disclosure includes: an acquisition module 302 , a storage module 304 , a processing module 306 and a determination module 308 .
[0056] Among them, the acquisition module 302 is used to obtain the link information of the shared content when the first application receives the shared content sent by the second application and receives an instruction to enter the second application to view the shared content, wherein the link information includes the content source identifier and the copy timestamp; the storage module 304 is used to copy and store the link information obtained by the acquisition module 302 to a preset storage area of the terminal device; the processing module 306 is used to jump from the first application to the second application according to the content source identifier, and obtain the current timestamp of entering the second application to determine the interval time between the current timestamp and the copy timestamp; the determination module 308 is used to determine whether to open the specified page where the shared content is located in the second application according to the status of the second application in the terminal device and the interval time.
[0057] In this embodiment, when the user needs to invoke the second application that sends shared content to the user through the first application in the terminal device and jump into the second application to view the details page of the shared content, the user can first obtain the link information of the shared content in the first application and copy and store it in a preset storage area of the terminal device, wherein the link information of the shared content mainly includes a content source identifier for identifying its source and a copy timestamp when the content source identifier is obtained. Further, the user can jump from the first application to the second application based on the content source identifier, and record the current timestamp presented after entering the second application. Then, the interval time between the current timestamp and the copy timestamp can be determined. Further, the user can determine whether it is necessary to open the specified page of the shared content sent to the first application in the second application based on the status of the second application in the terminal device and the above-mentioned interval time. In this way, after invoking the second application through the first application and achieving direct jump, it can be determined whether to open the details page of the shared content according to the specific situation. The operation is simple and efficient, which is conducive to improving the user experience.
[0058] Among them, the first application can specifically be a social application, such as: WeChat application, QQ application, etc., and the second application can include other applications besides the first application itself that receives shared content, such as Douban application, Zhihu application, etc.; of course, the first application can also be other applications besides social applications and the second application.
[0059] Furthermore, in the above embodiment, the content source identifier includes the naming structure information of the uniform resource identifier, that is, when the second application is called up through the first application, the second application can be located through the naming structure information of the uniform resource identifier (i.e., URI Scheme) of the shared content, which helps to achieve accurate and efficient jump.
[0060] Furthermore, in the above embodiment, the preset storage area includes the clipboard of the terminal device, that is, the clipboard in the terminal device can be used as a bridge for jumping and switching between the first application and the second application to which the shared content is sent, so as to effectively realize a direct jump from the first application to the specified page in the local second application to which the shared content is sent. The operation is simple and efficient, which is conducive to improving the user experience, wherein the content in the clipboard is further stored in the memory of the terminal device.
[0061] For example, one example of the naming structure information URI Scheme of the uniform resource identifier stored in the clipboard is: scheme: / / host / path?query; and an example of the storage content with the copy timestamp copy_time added is: scheme: / / host / path?query©_time=1497860457300.
[0062] Furthermore, if Figure 4 As shown, in the above embodiment, the determination module 308 includes: a setting submodule 3082 , a judgment submodule 3084 and a control submodule 3086 .
[0063] Among them, the setting submodule 3082 is used to set the effective time corresponding to the status of the second application in the terminal device; the judgment submodule 3084 is used to judge whether the interval time is greater than or equal to the effective time; the control submodule 3086 is used to control the opening of the home page of the second application when the judgment submodule 3084 judges as yes, otherwise when the judgment submodule 3084 judges as no, control the opening of the specified page where the shared content is located in the second application.
[0064] In this embodiment, when determining whether it is necessary to open the designated page of the shared content sent to the first application in the second application based on the state of the second application in the terminal device and the determined interval time, it can be determined based on the size relationship between the interval time and the set effective time, wherein the effective time corresponds to the state of the second application in the terminal device. In this way, the accuracy of the comparison result can be ensured, thereby ensuring the accuracy of the execution result of whether to open the designated page of the shared content in the second application. That is, when the interval from the moment when the first application wakes up the second application (that is, the copy timestamp) to the moment when the second application is jumped into (that is, the current timestamp) is too long, it means that the required time for the user to open the details page of the shared content has exceeded. At this time, it is sufficient to enter the home page of the second application, otherwise it directly jumps to the details page of the shared content in the second application, thereby realizing a direct jump from the first application to the designated page in the local second application to which the shared content is sent.
[0065] Furthermore, in the above embodiment, the state of the second application in the terminal device includes: background running state, process closed state or to-be-installed state.
[0066] It can be understood that the status of the second application in the terminal device mainly includes: a background running state that is easier to be invoked by the first application, and the corresponding effective time setting duration can be relatively short; a process shutdown state that needs to be restarted to enter the running state when the first application is invoked, and the corresponding effective time setting duration can be relatively longer; a pending installation state that requires the second application to be installed in the terminal device when the first application is invoked, that is, the terminal device has not installed the second application before and needs to install it before running, and the corresponding effective time setting duration can be relatively longer, thereby meeting the needs of the second application being invoked in different scenarios.
[0067] Furthermore, in any of the above embodiments, the terminal device may be a mobile terminal such as a smart phone, a PDA, etc.; and when the terminal device is a smart phone, it includes mainstream Android models and IOS models.
[0068] Figure 5 A schematic block diagram of a computer device according to an embodiment of the present disclosure is shown.
[0069] like Figure 5 As shown, a computer device 50 according to an embodiment of the present disclosure includes a memory 502, a processor 504, and a computer program stored in the memory 502 and executable on the processor 504, wherein the memory 502 and the processor 504 can be connected via a bus, and the processor 504 is used to implement the steps of the page jump method of the application described in the above embodiment when executing the computer program stored in the memory 502.
[0070] The steps in the method of the embodiment of the present disclosure can be adjusted in order, combined, and deleted according to actual needs.
[0071] The page jump device of the application program and the units in the computer device in the embodiment of the present disclosure can be merged, divided and deleted according to actual needs.
[0072] According to an embodiment of the present disclosure, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the steps of the page jump method of the application program described in the above embodiment are implemented.
[0073] Furthermore, it can be understood by a person skilled in the art that all or part of the steps in the various methods of the above embodiments can be completed by instructing related hardware through a program, and the program can be stored in a computer-readable storage medium, and the storage medium includes a read-only memory (ROM), a random access memory (RAM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), a one-time programmable read-only memory (OTPROM), an electronically erasable rewritable read-only memory (EEPROM), a compact disc read-only memory (CD-ROM) or other optical disc storage, magnetic disk storage, magnetic tape storage, or any other computer-readable medium that can be used to carry or store data.
[0074] Furthermore, the above-mentioned computer device may be a PC (Personal Computer) terminal, etc.
[0075] The above, in combination with the accompanying drawings, describes in detail the technical solution of the embodiment of the present disclosure. By using the clipboard in the terminal device as a bridge for jumping and switching between the first application and the second application to which the shared content is sent, it is possible to effectively achieve a direct jump from the first application to a specified page in the local second application to which the shared content is sent. The operation is simple and efficient, which helps to improve the user experience.
[0076] The above description is only a preferred embodiment of the present disclosure and is not intended to limit the present disclosure. For those skilled in the art, the present disclosure may have various modifications and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present disclosure shall be included in the protection scope of the present disclosure.
Claims
1. A page jump method of an application, used in a terminal device, characterized in that: The page jump method comprises: In response to the link information being triggered, copying and storing the link information to a preset storage area of the terminal device, wherein the link information includes a copy timestamp, and the copy timestamp is used to indicate the time when the content source identifier is obtained from the link information of the shared content sent by the second application or the time when the second application is invoked; Jump to the second application according to the link information, and obtain a current timestamp of entering the second application to determine a time interval between the copy timestamp and the current timestamp; Determine whether to open a designated page where the shared content is located in the second application according to the interval time.
2. The page jump method of the application according to claim 1, characterized in that: The method further comprises: When the first application receives the shared content sent by the second application and receives an instruction to enter the second application to view the shared content, the link information of the shared content is triggered.
3. The page jump method of the application according to claim 2, characterized in that: The link information also includes a content source identifier; The jumping to the second application according to the link information comprises: The process jumps from the first application to the second application according to the content source identifier.
4. The page jump method of the application according to claim 3, characterized in that: The step of determining whether to open the designated page where the shared content is located in the second application according to the interval time includes: Determine whether to open the designated page where the shared content is located in the second application according to the state of the second application in the terminal device and the interval time.
5. The page jump method of the application according to claim 4, characterized in that: The determining whether to open the designated page where the shared content is located in the second application according to the state of the second application in the terminal device and the interval time comprises: Acquire a valid time corresponding to a state of the second application in the terminal device; and In response to the interval time being greater than or equal to the effective time, opening the home page of the second application; or, in response to the interval time being less than the effective time, opening the designated page where the shared content is located in the second application.
6. The page jump method of the application according to claim 5, characterized in that: The state of the second application in the terminal device includes a background running state, a process closing state, or a waiting to be installed state.
7. The page jump method of the application according to claim 3, characterized in that: The content source identifier includes: Naming structure information for Uniform Resource Identifiers; and The preset storage area includes a clipboard of the terminal device.
8. A page jump device for an application, used in a terminal device, characterized in that: The page jump device comprises: a storage module, configured to copy and store the link information to a preset storage area of the terminal device in response to the link information being triggered, wherein the link information includes a copy timestamp, and the copy timestamp is used to indicate the time when the content source identifier is obtained from the link information of the shared content sent by the second application or the time when the second application is invoked; A processing module, configured to jump to the second application according to the link information, and obtain a current timestamp of entering the second application to determine a time interval between the copy timestamp and the current timestamp; A determination module is used to determine whether to open the designated page where the shared content is located in the second application according to the interval time.
9. A computer device, characterized in that: The computer device comprises a processor, and the processor is used to implement the steps of the page jump method of the application program according to any one of claims 1 to 7 when executing the computer program stored in the memory.
10. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the page jump method of the application program according to any one of claims 1 to 7 are implemented.
Citation Information
Patent Citations
Page skipping method, page skipping device, equipment and storage medium
CN113407323A