WO2019019340A1 - Application program page opening method and apparatus, terminal and readable storage medium - Google Patents

Application program page opening method and apparatus, terminal and readable storage medium Download PDF

Info

Publication number
WO2019019340A1
WO2019019340A1 PCT/CN2017/103544 CN2017103544W WO2019019340A1 WO 2019019340 A1 WO2019019340 A1 WO 2019019340A1 CN 2017103544 W CN2017103544 W CN 2017103544W WO 2019019340 A1 WO2019019340 A1 WO 2019019340A1
Authority
WO
WIPO (PCT)
Prior art keywords
application
page
short chain
terminal
preset
Prior art date
Application number
PCT/CN2017/103544
Other languages
French (fr)
Chinese (zh)
Inventor
李偲
Original Assignee
平安科技(深圳)有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 平安科技(深圳)有限公司 filed Critical 平安科技(深圳)有限公司
Publication of WO2019019340A1 publication Critical patent/WO2019019340A1/en

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating
    • G06F9/44505Configuring for program initiating, e.g. using registry, configuration files
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/61Installation

Definitions

  • the present invention relates to the field of communications technologies, and in particular, to an application page opening method, apparatus, terminal, and readable storage medium.
  • the main purpose of the present invention is to provide an application page opening method, device, terminal and readable storage medium, which are intended to solve the technical problem that each application in the terminal is independent and data between applications cannot be exchanged. .
  • the present invention provides an application page opening method, and the application page opening method includes the following steps:
  • the first identifier information includes a protocol IP address interconnected between the networks when the terminal displays the preset page, and device information that displays the preset page device; the second identifier information includes the The current IP address and device information of the terminal.
  • the step of acquiring the short chain corresponding to the preset page according to the click instruction Previously it also included:
  • the short-chain includes a channel parameter
  • the application page opening method further includes:
  • the step of acquiring the short chain corresponding to the preset page according to the click instruction it also includes:
  • the step of determining, according to the short chain, whether the second application is installed in the terminal comprises:
  • the second application is downloaded according to the downloading instruction, and the first identification information corresponding to the preset page and the second identifier of the terminal are acquired.
  • the steps of the information it also includes:
  • the method further includes:
  • the preset page is displayed in the first application.
  • the step of opening the preset page in the second application according to the short chain comprises:
  • the preset page is opened in the second application according to the open mode.
  • the present invention also provides a terminal, the terminal comprising a memory, a processor, and an application page open program stored on the memory and executable on the processor, the application When the page open program is executed by the processor, the steps corresponding to the sender in the application page open method as described above are implemented.
  • the present invention further provides a computer readable storage medium having an application page open program stored thereon, and the application page open program is implemented by a processor as described above. The steps of the application page opening method described.
  • the present invention further provides an application page opening apparatus, where the application page opening apparatus includes:
  • An acquiring module configured to acquire a short chain corresponding to the preset page according to the click instruction when detecting that the user clicks a click instruction of the second application preset page displayed in the first application of the terminal;
  • an output module configured to: if the second application is not installed in the terminal according to the short chain, output a prompt message prompting a user to trigger a download instruction of downloading the second application;
  • a downloading module configured to download the second application according to the downloading instruction when the downloading instruction is detected
  • the acquiring module is further configured to acquire first identifier information corresponding to the preset page and second identifier information of the terminal;
  • the first identifier information includes a protocol IP address interconnected between the networks when the terminal displays the preset page, and device information that displays the preset page device; the second identifier information includes the The current IP address and device information of the terminal.
  • the invention obtains a short chain corresponding to the preset page according to the click instruction when detecting that the user clicks a click instruction of the second application preset page displayed in the first application of the terminal; Determining that the second application is not installed in the terminal, and outputting a prompt message prompting the user to trigger a download instruction of downloading the second application; when detecting the download instruction, according to the download instruction Downloading the second application, and acquiring the first identification information corresponding to the preset page and the second identification information of the terminal; if the first identification information and the second identification information are consistent,
  • the short chain opens the preset page in the second application.
  • the page of another application When the page of another application is opened in an application, if the application of the page is not installed in the terminal, the user is prompted to download the application that installs the page. After successfully installing and launching the application of the page, the page is opened directly in the application of the page, so that the applications of the terminal are no longer independent, and data can be exchanged with each other, thereby improving the intelligence of the terminal and improving the intelligence.
  • FIG. 1 is a schematic structural diagram of a terminal in a hardware operating environment according to an embodiment of the present invention
  • FIG. 2 is a schematic flowchart of a first embodiment of an application page opening method according to the present invention
  • FIG. 3 is a schematic flowchart of opening the preset page in the second application according to the short chain, if the first identifier information and the second identifier information are consistent according to the embodiment of the present invention
  • FIG. 4 is a schematic flowchart diagram of a second embodiment of an application page opening method according to the present invention.
  • FIG. 5 is a schematic flowchart diagram of a third embodiment of an application page opening method according to the present invention.
  • FIG. 1 is a schematic structural diagram of a terminal in a hardware operating environment according to an embodiment of the present invention.
  • FIG. 1 can be a schematic diagram of a terminal structure of a hardware operating environment of the terminal.
  • the terminal in the embodiment of the present invention may be a PC, or may be a smart phone, a tablet computer, an e-book reader, and an MP3 (Moving). Picture Experts Group Audio Layer III, motion picture expert compression standard audio layer 3) player, MP4 (Moving Picture Experts Group Audio Layer IV, dynamic video experts compress standard audio layers 4) portable terminals such as players and portable computers.
  • MP3 Motion Picture Experts Group Audio Layer III, motion picture expert compression standard audio layer 3
  • MP4 Moving Picture Experts Group Audio Layer IV, dynamic video experts compress standard audio layers 4
  • portable terminals such as players and portable computers.
  • the terminal may include a processor 1001, such as a CPU, a network interface 1004, a user interface 1003, a memory 1005, and a communication bus 1002.
  • the communication bus 1002 is used to implement connection communication between these components.
  • the user interface 1003 can include a display, an input unit such as a keyboard, and the optional user interface 1003 can also include a standard wired interface, a wireless interface.
  • the network interface 1004 can optionally include a standard wired interface, a wireless interface (such as a WI-FI interface).
  • the memory 1005 may be a high speed RAM memory or a stable memory (non-volatile) Memory), such as disk storage.
  • the memory 1005 can also optionally be a storage device independent of the aforementioned processor 1001.
  • the terminal may further include a camera, RF (Radio) Frequency, RF) circuits, sensors, audio circuits, WiFi modules, and more.
  • RF Radio
  • RF Radio Frequency
  • terminal structure shown in FIG. 1 does not constitute a limitation to the terminal, and may include more or less components than those illustrated, or a combination of certain components, or different component arrangements.
  • an operating system and an application page open program may be included in the memory 1005 as a computer storage medium.
  • the operating system is a program that manages and controls hardware and software resources in the terminal, and supports application page open programs and other software and/or programs.
  • the network interface 1004 is mainly used to connect to the background server for data communication with the server; the user interface 1003 is mainly used for receiving and detecting various operation instructions.
  • the processor 1001 can be used to call an application page open program stored in the memory 1005 and perform the following operations:
  • the first identifier information includes a protocol IP address interconnected between the networks when the terminal displays the preset page, and device information that displays the preset page device; the second identifier information includes the The current IP address and device information of the terminal.
  • the processor 1001 can also be used to call an application page open program stored in the memory 1005 to perform the following operations:
  • the short-chain includes a channel parameter
  • the processor 1001 is further configured to invoke an application page opened in the memory 1005 to open the program, and perform the following operations:
  • the processor 1001 can also be used to call the application page open program stored in the memory 1005 to perform the following operations:
  • the step of determining, according to the short chain, whether the second application is installed in the terminal includes:
  • the second application is downloaded according to the downloading instruction, and the first identification information corresponding to the preset page and the second identifier of the terminal are acquired.
  • the processor 1001 can also be used to call the application page open program stored in the memory 1005 to perform the following operations:
  • the processor 1001 may It is used to call the application page stored in the memory 1005 to open the program and perform the following operations:
  • the preset page is displayed in the first application.
  • the step of opening the preset page in the second application according to the short chain includes:
  • the preset page is opened in the second application according to the open mode.
  • FIG. 2 is a schematic flowchart diagram of a first embodiment of an application page opening method according to the present invention.
  • an embodiment of an application page opening method is provided. It should be noted that although the logical order is shown in the flowchart, in some cases, the execution may be performed in a different order from here. The steps shown or described.
  • the application page opening method includes:
  • Step S10 When detecting that the user clicks the click instruction of the second application preset page displayed in the first application of the terminal, acquiring a short chain corresponding to the preset page according to the click instruction.
  • the terminal When the terminal detects that the user clicks the click instruction of the second application preset page displayed by the first application, the terminal triggers the acquisition instruction according to the click instruction, and acquires the short chain corresponding to the preset page according to the acquisition instruction.
  • the acquisition instruction is an operation instruction corresponding to the click instruction.
  • the terminal invokes the corresponding acquisition instruction according to the click instruction.
  • the first application displays the preset page of the second application
  • a short chain corresponding to the preset page is generated and stored in the memory.
  • the short chain includes at least a page link of the preset page and a download address of the second application.
  • the preset page is a specific page of the second application. Because there is a page link of the preset page in the short chain, in the short chain process corresponding to the preset page according to the obtaining instruction, the terminal acquires a short chain of the page link containing the preset page in the memory.
  • the terminal can detect whether the click command is detected through its touch screen.
  • the processor of the terminal acquires related information of the second application and channel parameters of the first application, and the related information and The channel parameters are configured as Palink.
  • the related information includes a second application application name, a Bundle ID (application identifier) and/or package name (application package name), URI (Uniform Resource Identifier) Scheme, download link, Team ID (available only in IOS version), and URI.
  • SDK is integrated in Palink (Software Development Kit, Software Development Kit).
  • Step S20 If it is determined that the second application is not installed in the terminal according to the short chain, outputting a prompt message prompting the user to trigger downloading of the download instruction of the second application.
  • the terminal When the terminal determines that the second application is not installed according to the short chain, the terminal outputs a prompt message in its screen prompting the user to trigger a download instruction to download the second application.
  • the terminal may output a text prompt message "whether or not the second application is downloaded” in its screen, and display a selection button of "yes” and “no” on the screen for the user to trigger by clicking the selection button. Download the download instructions for the second application. It can be understood that when the user clicks the button corresponding to “Yes”, the download instruction of downloading the second application is triggered; when the user clicks the button corresponding to “No”, the download instruction of the second application is not triggered to be downloaded. .
  • step S30 when the downloading instruction is detected, the second application is downloaded according to the downloading instruction, and the first identification information corresponding to the preset page and the second identification information of the terminal are obtained.
  • the first identifier information includes a protocol IP address interconnected between the networks when the terminal displays the preset page, and device information that displays the preset page device; the second identifier information includes the The current IP address and device information of the terminal.
  • the terminal When the terminal detects the download instruction triggered by the user through the touch screen, the terminal acquires the download link in the short chain according to the download instruction, downloads the second application through the download link, and acquires the first corresponding to the preset page through the short chain. Identification information, and obtaining second identification information of the terminal. Specifically, in this embodiment, the terminal obtains the first identifier information by using the preset page, where the first identifier information includes an IP address when the terminal displays the preset page and device information for displaying the preset page device, and is recorded as the first IP address.
  • the terminal obtains the second identifier information by using the SDK in the Palink, where the second identifier information includes the current IP address and device information of the terminal, and is recorded as the second IP address and the second device information.
  • the device information includes resolution, operating system, device model, and the like.
  • the second application After the terminal downloads the second application, the second application is automatically installed, and after the second application is successfully installed, the second application is automatically started.
  • the application page opening method further includes:
  • Step a determining whether the download instruction is detected
  • Step b if the download instruction is not detected, displaying the preset page in the first application.
  • the terminal After the terminal outputs the prompt information, it is determined whether the download command for downloading the second application is detected. If the terminal does not detect the download instruction, the terminal continues to display the preset page of the second application in the first application.
  • the application page opening method further includes:
  • Step c Determine whether the first identification information and the second identification information are consistent.
  • step d if the first identifier information and the second identifier information are inconsistent, after the second application is started, the default page of the second application is displayed in the second application.
  • the terminal obtains the first identifier information and the second identifier information, it is determined whether the first identifier information and the second identifier information are consistent. If the first identification information and the second identification information do not match, after the second application is started, the default page of the second application is displayed in the second application. It can be understood that the default page is the home page of the second application. The user can search for a keyword corresponding to the preset page in the home page to open the preset page. Specifically, the first identification information is acquired by a processor controlled preset page in the terminal, and the second identification information is acquired by the processor control SDK.
  • the processor control preset page obtains the first identifier information, and when the control SDK obtains the second identifier information, compares whether the first identifier information and the second identifier information are consistent.
  • the first IP address and the second IP address are inconsistent, and/or the first device information and the second device information are inconsistent, it is confirmed that the first identifier information and the second identifier information are inconsistent.
  • the first IP address and the second IP address are consistent, and the first device information and the second device information are consistent, it is confirmed that the first identifier information and the second identifier information are consistent.
  • Step S40 If the first identification information and the second identification information are consistent, the preset page is opened in the second application according to the short chain.
  • the terminal determines that the first identification information and the second identification information are consistent, the terminal opens the preset page in the second application according to the page link in the short chain.
  • step S40 includes:
  • Step S41 If the first identification information and the second identification information are consistent, determine an operating system of the terminal.
  • Step S42 Determine, by the operating system, an open manner of the preset page.
  • Step S43 based on the short chain, open the preset page in the second application according to the opening manner.
  • the terminal determines the type of its operating system. It should be noted that there are two types of terminal operating systems, namely Android and iOS.
  • the operating system of the terminal is Android
  • it is determined that the opening method of opening the preset page is a URL (Uniform) Resource Locator, Uniform Resource Locator) Scheme.
  • the terminal passes the URL Scheme, after starting the second application according to the webpage link, directly jumps to the preset page to open the preset page in the second application.
  • the operating system of the terminal is iOS, it is determined that the opening method of opening the preset page is Universal. Link.
  • the terminal When getting a link to a web page in a short chain, the terminal passes through Universal Link, after starting the second application according to the webpage link, directly jumps to the preset page to open the preset page in the second application.
  • the URL Scheme not a regular HTTP (Hyper Text Transfer Protocol) link; and Universal Link is a form of regular HTTP link.
  • Application via URL Scheme or Universal Link can locate a specific page or locate a specific feature in the application.
  • the user opens an activity page in the APP in WeChat. If the APP is not installed in the terminal, the terminal will output a prompt message on the screen. Prompt the user to download the app.
  • the terminal downloads the APP, and after successfully installing and launching the APP, directly enters the activity page, and does not require the user to search for the key corresponding to the activity page in the APP homepage after starting the APP. Word, find the event page, and then click the event page to open the event page in the app.
  • the short chain corresponding to the preset page is obtained according to the click instruction;
  • the short chain determines that the second application is not installed in the terminal, and outputs a prompt message prompting the user to trigger a download instruction of downloading the second application; when the download instruction is detected, according to the downloading And downloading, by the second application, the first identifier information corresponding to the preset page and the second identifier information of the terminal; if the first identifier information and the second identifier information are consistent, Opening the preset page in the second application according to the short chain.
  • the page of another application When the page of another application is opened in an application, if the application of the page is not installed in the terminal, the user is prompted to download the application that installs the page. After successfully installing and launching the application of the page, the page is opened directly in the application of the page, so that the applications of the terminal are no longer independent, and data can be exchanged with each other, thereby improving the intelligence of the terminal and improving the intelligence.
  • the speed at which the user opens the preset page in the second application, and the conversion rate of the promotion and dissemination of the second application preset page is improved, so that the user can view the preset page in the second application.
  • the second embodiment of the application page opening method differs from the first embodiment of the application page opening method in that, referring to FIG. 4, the application page opening method includes:
  • Step S50 when detecting that the first application displays the display instruction of the preset page, acquiring a page link of the preset page according to the display instruction, and downloading links of the second application .
  • Step S60 Establish a mapping relationship between the page link and the download link to generate a short chain corresponding to the preset page, and store the short chain.
  • the terminal When the terminal detects that the first application displays the display instruction of the preset page, the terminal obtains a page link of the preset page according to the received display instruction, and a download link of the second application corresponding to the preset page.
  • the display instruction can be triggered by the user in the terminal screen, which is a touch screen.
  • the mapping relationship between the page link and the download link is established, a short chain corresponding to the preset page is generated, and the short chain is stored.
  • the short chain is a form in which the page link and the download link are correspondingly stored in the memory.
  • a short link corresponding to the preset page is generated, the short link includes a page link of the preset page, and a download link of the second application is downloaded, so that the terminal can display the preset page according to the short chain in the first application.
  • the process of downloading the second application, and directly after launching the second application jump to the preset page, so that the user can quickly open the preset page in the second application.
  • channel parameter is included in the short chain
  • application page opening method further includes:
  • Step e calculating a download source and a download frequency of the second application according to the channel parameter in the short chain.
  • the short chain may also include channel parameters for the first application.
  • the terminal may calculate the download source and download times of the second application according to the channel parameter of the first application in the short chain, so that the application merchant optimizes the application according to the calculated download source and download times. Distribution channel.
  • the channel parameter may be used to indicate an identifier of WeChat, such as “weixin”; when the first application is Tencent QQ, the channel parameter may be used to represent Tencent.
  • a logo of QQ such as "QQ”.
  • the third embodiment of the application page opening method differs from the first embodiment of the application page opening method in that, referring to FIG. 5, the application page opening method includes:
  • Step S70 Determine, according to the short chain, whether the terminal is installed with the second application.
  • the terminal determines, according to the acquired short chain, whether the second application is installed.
  • step S70 includes:
  • Step f determining, according to the short chain, whether the second application is successfully started within a preset time.
  • Step g If the second application is successfully started within the preset time, it is determined that the terminal has installed the second application.
  • step h if the second application is not started within the preset time, it is determined that the terminal does not install the second application.
  • the specific process of determining, by the terminal, whether the second application is installed according to the obtained short chain is that the terminal starts the second application according to the page link in the short chain, and determines whether the second application is successfully started within a preset time. If the second application is successfully started within the preset time, the terminal determines that the second application is installed; if the second application is not successfully started within the preset time, the terminal determines that the second application is not installed.
  • the preset time can be set according to specific needs, such as 5 seconds, 8 seconds or 10 seconds.
  • Step S80 If it is determined that the second application is installed by the terminal according to the short chain, start the second application, and open the preset in the second application according to the short chain. page.
  • the terminal When the terminal determines that the second application is installed according to the short chain, the terminal automatically starts the second application, and opens the preset page in the second application according to the webpage link in the short chain.
  • the second application when the second application is installed in the terminal, the second application is automatically started, and the preset page is directly displayed in the second application, which improves the opening speed of the preset page in the second application.
  • an embodiment of the present invention further provides a computer readable storage medium, where the application program page open program is stored, and when the application page open program is executed by the processor, the following steps are implemented:
  • the first identifier information includes a protocol IP address interconnected between the networks when the terminal displays the preset page, and device information that displays the preset page device; the second identifier information includes the The current IP address and device information of the terminal.
  • the short-chain includes a channel parameter
  • the application page opening program is executed by the processor to implement the following steps:
  • the step of determining, according to the short chain, whether the second application is installed in the terminal includes:
  • the second application is downloaded according to the downloading instruction, and the first identification information corresponding to the preset page and the second identifier of the terminal are acquired.
  • the application page open program is executed by the processor to implement the following steps:
  • the application After determining, according to the short chain, that the second application is not installed in the terminal, after outputting the prompt information prompting the user to trigger the downloading of the download instruction of the second application, the application The following steps are implemented when the page open program is executed by the processor:
  • the preset page is displayed in the first application.
  • the step of opening the preset page in the second application according to the short chain includes:
  • the preset page is opened in the second application according to the open mode.
  • the embodiment of the computer readable storage medium of the present invention is substantially the same as the embodiment of the application page opening method, and details are not described herein again.
  • an embodiment of the present invention further provides an application page opening apparatus, where the application page opening apparatus includes:
  • An acquiring module configured to acquire a short chain corresponding to the preset page according to the click instruction when detecting that the user clicks a click instruction of the second application preset page displayed in the first application of the terminal;
  • an output module configured to: if the second application is not installed in the terminal according to the short chain, output a prompt message prompting a user to trigger a download instruction of downloading the second application;
  • a downloading module configured to download the second application according to the downloading instruction when the downloading instruction is detected
  • the acquiring module is further configured to acquire first identifier information corresponding to the preset page and second identifier information of the terminal;
  • the first identifier information includes a protocol IP address interconnected between the networks when the terminal displays the preset page, and device information that displays the preset page device; the second identifier information includes the The current IP address and device information of the terminal.
  • the acquiring module is further configured to: when detecting that the first application displays the display instruction of the preset page, acquire a page link of the preset page according to the display instruction, and the a download link for the second application;
  • the application page opening device further includes:
  • a establishing module configured to establish a mapping relationship between the page link and the download link, to generate a short chain corresponding to the preset page, and store the short chain.
  • the short-chain includes a channel parameter
  • the application page opening device further includes:
  • a calculation module configured to calculate a download source and a download frequency of the second application according to the channel parameter in the short chain.
  • the application page opening device further includes:
  • a first determining module configured to determine, according to the short chain, whether the terminal is installed with the second application
  • a startup module configured to start the second application program if it is determined that the terminal has installed the second application according to the short chain
  • the opening module is further configured to open the preset page in the second application according to the short chain.
  • the first determining module includes:
  • a determining unit configured to determine, according to the short chain, whether the second application is successfully started within a preset time
  • a first determining unit configured to determine that the second application is installed by the terminal if the second application is successfully started within the preset time
  • a second determining unit configured to determine that the second application is not installed by the terminal if the second application is not started within the preset time.
  • the application page opening device further includes:
  • a second determining module configured to determine whether the first identifier information and the second identifier information are consistent
  • a first display module configured to display, in the second application, the second application after the second application is started, if the first identifier information and the second identifier information are inconsistent Default page.
  • the application page opening device further includes:
  • a third determining module configured to determine whether the download instruction is detected
  • the second display module is configured to display the preset page in the first application if the download instruction is not detected.
  • the opening module includes:
  • a third determining unit configured to determine an operating system of the terminal if the first identifier information and the second identifier information are consistent, and determine, by using the operating system, an open mode of the preset page;
  • the embodiment of the application page opening device of the present invention is basically the same as the embodiment of the application page opening method, and details are not described herein again.
  • the foregoing embodiment method can be implemented by means of software plus a necessary general hardware platform, and of course, can also be through hardware, but in many cases, the former is better.
  • Implementation Based on such understanding, the technical solution of the present invention, which is essential or contributes to the prior art, may be embodied in the form of a software product stored in a storage medium (such as ROM/RAM, disk,
  • the optical disc includes a number of instructions for causing a terminal device (which may be a cell phone, a computer, a server, an air conditioner, or a network device, etc.) to perform the methods described in various embodiments of the present invention.

Abstract

Disclosed are an application program page opening method and apparatus, a terminal and a readable storage medium. The method comprises the following steps: when a click instruction that a user clicks on a pre-set page of a second application program displayed in a first application program of a terminal is detected, acquiring a short link corresponding to the pre-set page according to the click instruction (S10); if it is determined that the second application program is not installed on the terminal according to the short link, outputting prompt information to give the user a prompt to trigger a download instruction for downloading the second application program (S20); downloading the second application program according to the download instruction, and acquiring first identifier information corresponding to the pre-set page and second identifier information about the terminal (S30); and if the first identifier information is consistent with the second identifier information, opening the pre-set page in the second application program according to the short link (S40). By means of the mode, various application programs of a terminal are no longer independent, and the application programs can exchange data with each other, thus improving the intelligence of the terminal, and also increasing the speed of a user opening a pre-set page in a second application program.

Description

应用程序页面打开方法、装置、终端及可读存储介质  Application page opening method, device, terminal and readable storage medium
本申请要求于2017年07月28日提交中国专利局、申请号为201710636446.7、发明名称为“应用程序页面打开方法、装置、终端及可读存储介质”的中国专利申请的优先权,其全部内容通过引用结合在申请中。This application claims the priority of the Chinese Patent Application filed on July 28, 2017, the Chinese Patent Office, Application No. 201710636446.7, entitled "Application Page Opening Method, Apparatus, Terminal, and Readable Storage Medium", the entire contents of which are incorporated herein by reference. It is incorporated in the application by reference.
技术领域Technical field
本发明涉及通信技术领域,尤其涉及一种应用程序页面打开方法、装置、终端及可读存储介质。The present invention relates to the field of communications technologies, and in particular, to an application page opening method, apparatus, terminal, and readable storage medium.
背景技术Background technique
随着终端和互联网的快速发展,各种网络应用程序覆盖了人们生活的方方面面。当在终端下载一个应用程序,打开该应用程序后,会停留在应用程序的首页,即使用户在这之前已经通过其它应用程序中已经打开过该网页。如当用户在微信中打开淘宝的一个网页时,当终端中已经安装了淘宝应用,也无法在微信中打开淘宝网页时启动淘宝应用,并进入该页面。由此可知,终端中的每个应用程序都是独立的,应用程序之间数据不能交换。With the rapid development of terminals and the Internet, various web applications cover all aspects of people's lives. When an application is downloaded at the terminal, after opening the application, it will stay on the application's home page, even if the user has already opened the page through other applications before. For example, when the user opens a webpage of Taobao in WeChat, when the Taobao application has been installed in the terminal, the Taobao application cannot be launched when the Taobao webpage is opened in WeChat, and the page is entered. It can be seen that each application in the terminal is independent, and data cannot be exchanged between applications.
发明内容Summary of the invention
本发明的主要目的在于提供一种应用程序页面打开方法、装置、终端及可读存储介质,旨在解决终端中的每个应用程序都是独立的,应用程序之间的数据不能交换的技术问题。The main purpose of the present invention is to provide an application page opening method, device, terminal and readable storage medium, which are intended to solve the technical problem that each application in the terminal is independent and data between applications cannot be exchanged. .
为实现上述目的,本发明提供一种应用程序页面打开方法,所述应用程序页面打开方法包括步骤:To achieve the above object, the present invention provides an application page opening method, and the application page opening method includes the following steps:
当侦测到用户点击终端第一应用程序中所显示的第二应用程序预设页面的点击指令时,根据所述点击指令获取与所述预设页面对应的短链;When detecting that the user clicks the click instruction of the second application preset page displayed in the first application of the terminal, acquiring a short chain corresponding to the preset page according to the click instruction;
若根据所述短链确定所述终端中未安装所述第二应用程序,则输出提示信息提示用户触发下载所述第二应用程序的下载指令;If it is determined that the second application is not installed in the terminal according to the short chain, outputting a prompt message prompting the user to trigger downloading of the download instruction of the second application;
当侦测到所述下载指令时,根据所述下载指令下载所述第二应用程序,并获取与所述预设页面对应的第一标识信息和所述终端的第二标识信息;When the downloading instruction is detected, downloading the second application according to the downloading instruction, and acquiring first identification information corresponding to the preset page and second identification information of the terminal;
若所述第一标识信息和所述第二标识信息一致,则根据所述短链在所述第二应用程序中打开所述预设页面;If the first identifier information and the second identifier information are consistent, opening the preset page in the second application according to the short chain;
其中,所述第一标识信息包括所述终端显示所述预设页面时的网络之间互连的协议IP地址和显示所述预设页面设备的设备信息;所述第二标识信息包括所述终端当前的IP地址和设备信息。The first identifier information includes a protocol IP address interconnected between the networks when the terminal displays the preset page, and device information that displays the preset page device; the second identifier information includes the The current IP address and device information of the terminal.
优选地,所述当侦测到用户点击终端第一应用程序中所显示的第二应用程序预设页面的点击指令时,根据所述点击指令获取与所述预设页面对应的短链的步骤之前,还包括:Preferably, when detecting that the user clicks the click instruction of the second application preset page displayed in the first application of the terminal, the step of acquiring the short chain corresponding to the preset page according to the click instruction Previously, it also included:
当侦测到在所述第一应用程序显示所述预设页面的显示指令时,根据所述显示指令获取所述预设页面的页面链接,以及所述第二应用程序的下载链接;When detecting that the first application displays the display instruction of the preset page, acquiring a page link of the preset page according to the display instruction, and a download link of the second application;
建立所述页面链接和所述下载链接的映射关系,以生成与所述预设页面对应的短链,并存储所述短链。 Establishing a mapping relationship between the page link and the download link to generate a short chain corresponding to the preset page, and storing the short chain.
优选地,所述短链中包括渠道参数,所述应用程序页面打开方法还包括:Preferably, the short-chain includes a channel parameter, and the application page opening method further includes:
根据所述短链中的渠道参数计算所述第二应用程序的下载来源和下载次数。 Calculating a download source and a download frequency of the second application according to the channel parameter in the short chain.
优选地,所述当侦测到用户点击终端第一应用程序中所显示的第二应用程序预设页面的点击指令时,根据所述点击指令获取与所述预设页面对应的短链的步骤之后,还包括:Preferably, when detecting that the user clicks the click instruction of the second application preset page displayed in the first application of the terminal, the step of acquiring the short chain corresponding to the preset page according to the click instruction After that, it also includes:
根据所述短链判断所述终端是否安装有所述第二应用程序;Determining, according to the short chain, whether the terminal is installed with the second application;
若根据所述短链确定所述终端已安装所述第二应用程序,则启动所述第二应用程序,并根据所述短链在所述第二应用程序中打开所述预设页面。 If it is determined that the terminal has installed the second application according to the short chain, launching the second application, and opening the preset page in the second application according to the short chain.
优选地,所述根据所述短链判断所述终端中是否安装有所述第二应用程序的步骤包括:Preferably, the step of determining, according to the short chain, whether the second application is installed in the terminal comprises:
根据所述短链判断是否在预设时间内成功启动所述第二应用程序;Determining, according to the short chain, whether the second application is successfully started within a preset time;
若在所述预设时间内成功启动所述第二应用程序,则确定所述终端已安装所述第二应用程序;If the second application is successfully started within the preset time, determining that the terminal has installed the second application;
若在所述预设时间内未启动所述第二应用程序,则确定所述终端未安装所述第二应用程序。 If the second application is not started within the preset time, it is determined that the terminal does not install the second application.
优选地,所述当侦测到所述下载指令时,根据所述下载指令下载所述第二应用程序,并获取与所述预设页面对应的第一标识信息和所述终端的第二标识信息的步骤之后,还包括:Preferably, when the downloading instruction is detected, the second application is downloaded according to the downloading instruction, and the first identification information corresponding to the preset page and the second identifier of the terminal are acquired. After the steps of the information, it also includes:
判断所述第一标识信息和所述第二标识信息是否一致;Determining whether the first identification information and the second identification information are consistent;
若所述第一标识信息和所述第二标识信息不一致,则在启动所述第二应用程序后,在所述第二应用程序中显示所述第二应用程序的默认页面。If the first identifier information and the second identifier information are inconsistent, after the second application is started, a default page of the second application is displayed in the second application.
优选地,所述若根据所述短链确定所述终端中未安装所述第二应用程序,则输出提示信息提示用户触发下载所述第二应用程序的下载指令的步骤之后,还包括:Preferably, if the step of determining that the second application is not installed in the terminal according to the short chain, and outputting the prompt information prompting the user to trigger the downloading of the download instruction of the second application, the method further includes:
判断是否侦测到所述下载指令;Determining whether the download instruction is detected;
若未侦测到所述下载指令,则在所述第一应用程序中显示所述预设页面。 If the download instruction is not detected, the preset page is displayed in the first application.
优选地,所述若所述第一标识信息和所述第二标识信息一致,则根据所述短链在所述第二应用程序中打开所述预设页面的步骤包括:Preferably, if the first identifier information and the second identifier information are consistent, the step of opening the preset page in the second application according to the short chain comprises:
若所述第一标识信息和所述第二标识信息一致,则确定所述终端的操作系统;If the first identifier information and the second identifier information are consistent, determining an operating system of the terminal;
通过所述操作系统确定所述预设页面的打开方式;Determining, by the operating system, an open manner of the preset page;
基于所述短链,根据所述打开方式在所述第二应用程序中打开所述预设页面。Based on the short chain, the preset page is opened in the second application according to the open mode.
此外,为实现上述目的,本发明还提供一种终端,所述终端包括存储器、处理器和存储在所述存储器上并可在所述处理器上运行的应用程序页面打开程序,所述应用程序页面打开程序被所述处理器执行时实现如上所述的应用程序页面打开方法中发送端对应的步骤。Moreover, in order to achieve the above object, the present invention also provides a terminal, the terminal comprising a memory, a processor, and an application page open program stored on the memory and executable on the processor, the application When the page open program is executed by the processor, the steps corresponding to the sender in the application page open method as described above are implemented.
此外,为实现上述目的,本发明还提供一种计算机可读存储介质,所述计算机可读存储介质上存储有应用程序页面打开程序,所述应用程序页面打开程序被处理器执行时实现如上所述的应用程序页面打开方法的步骤。In addition, in order to achieve the above object, the present invention further provides a computer readable storage medium having an application page open program stored thereon, and the application page open program is implemented by a processor as described above. The steps of the application page opening method described.
此外,为实现上述目的,本发明还提供一种应用程序页面打开装置,所述应用程序页面打开装置包括:In addition, in order to achieve the above object, the present invention further provides an application page opening apparatus, where the application page opening apparatus includes:
获取模块,用于当侦测到用户点击终端第一应用程序中所显示的第二应用程序预设页面的点击指令时,根据所述点击指令获取与所述预设页面对应的短链;An acquiring module, configured to acquire a short chain corresponding to the preset page according to the click instruction when detecting that the user clicks a click instruction of the second application preset page displayed in the first application of the terminal;
输出模块,用于若根据所述短链确定所述终端中未安装所述第二应用程序,则输出提示信息提示用户触发下载所述第二应用程序的下载指令;And an output module, configured to: if the second application is not installed in the terminal according to the short chain, output a prompt message prompting a user to trigger a download instruction of downloading the second application;
下载模块,用于当侦测到所述下载指令时,根据所述下载指令下载所述第二应用程序;a downloading module, configured to download the second application according to the downloading instruction when the downloading instruction is detected;
所述获取模块还用于获取与所述预设页面对应的第一标识信息和所述终端的第二标识信息;The acquiring module is further configured to acquire first identifier information corresponding to the preset page and second identifier information of the terminal;
打开模块,用于若所述第一标识信息和所述第二标识信息一致,则根据所述短链在所述第二应用程序中打开所述预设页面;Opening a module, if the first identifier information and the second identifier information are consistent, opening the preset page in the second application according to the short chain;
其中,所述第一标识信息包括所述终端显示所述预设页面时的网络之间互连的协议IP地址和显示所述预设页面设备的设备信息;所述第二标识信息包括所述终端当前的IP地址和设备信息。The first identifier information includes a protocol IP address interconnected between the networks when the terminal displays the preset page, and device information that displays the preset page device; the second identifier information includes the The current IP address and device information of the terminal.
本发明通过当侦测到用户点击终端第一应用程序中所显示的第二应用程序预设页面的点击指令时,根据所述点击指令获取与所述预设页面对应的短链;若根据所述短链确定所述终端中未安装所述第二应用程序,则输出提示信息提示用户触发下载所述第二应用程序的下载指令;当侦测到所述下载指令时,根据所述下载指令下载所述第二应用程序,并获取与所述预设页面对应的第一标识信息和所述终端的第二标识信息;若所述第一标识信息和所述第二标识信息一致,则根据所述短链在所述第二应用程序中打开所述预设页面。实现了当在某个应用程序中打开另一个应用程序的页面时,若终端中未安装该页面的应用程序,提示用户下载安装该页面的应用程序。当成功安装并启动该页面的应用程序后,直接在该页面的应用程序中打开该页面,使终端的各个应用程序不再独立,可以相互交换数据,提高了终端的智能性,同时也提高了用户在第二应用程序中打开预设页面的速度。The invention obtains a short chain corresponding to the preset page according to the click instruction when detecting that the user clicks a click instruction of the second application preset page displayed in the first application of the terminal; Determining that the second application is not installed in the terminal, and outputting a prompt message prompting the user to trigger a download instruction of downloading the second application; when detecting the download instruction, according to the download instruction Downloading the second application, and acquiring the first identification information corresponding to the preset page and the second identification information of the terminal; if the first identification information and the second identification information are consistent, The short chain opens the preset page in the second application. When the page of another application is opened in an application, if the application of the page is not installed in the terminal, the user is prompted to download the application that installs the page. After successfully installing and launching the application of the page, the page is opened directly in the application of the page, so that the applications of the terminal are no longer independent, and data can be exchanged with each other, thereby improving the intelligence of the terminal and improving the intelligence. The speed at which the user opens the preset page in the second application.
附图说明DRAWINGS
图1是本发明实施例方案涉及的硬件运行环境的终端结构示意图; 1 is a schematic structural diagram of a terminal in a hardware operating environment according to an embodiment of the present invention;
图2为本发明应用程序页面打开方法第一实施例的流程示意图;2 is a schematic flowchart of a first embodiment of an application page opening method according to the present invention;
图3为本发明实施例中若所述第一标识信息和所述第二标识信息一致,则根据所述短链在所述第二应用程序中打开所述预设页面的一种流程示意图;3 is a schematic flowchart of opening the preset page in the second application according to the short chain, if the first identifier information and the second identifier information are consistent according to the embodiment of the present invention;
图4为本发明应用程序页面打开方法第二实施例的流程示意图;4 is a schematic flowchart diagram of a second embodiment of an application page opening method according to the present invention;
图5为本发明应用程序页面打开方法第三实施例的流程示意图。FIG. 5 is a schematic flowchart diagram of a third embodiment of an application page opening method according to the present invention.
本发明目的的实现、功能特点及优点将结合实施例,参照附图做进一步说明。The implementation, functional features, and advantages of the present invention will be further described in conjunction with the embodiments.
具体实施方式Detailed ways
应当理解,此处所描述的具体实施例仅仅用以解释本发明,并不用于限定本发明。It is understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
如图1所示,图1是本发明实施例方案涉及的硬件运行环境的终端结构示意图。As shown in FIG. 1, FIG. 1 is a schematic structural diagram of a terminal in a hardware operating environment according to an embodiment of the present invention.
需要说明的是,图1即可为终端的硬件运行环境的终端结构示意图。本发明实施例终端可以是PC,也可以是智能手机、平板电脑、电子书阅读器、MP3(Moving Picture Experts Group Audio Layer III,动态影像专家压缩标准音频层面3)播放器、MP4(Moving Picture Experts Group Audio Layer IV,动态影像专家压缩标准音频层面4)播放器、便携计算机等可移动式终端设备。It should be noted that FIG. 1 can be a schematic diagram of a terminal structure of a hardware operating environment of the terminal. The terminal in the embodiment of the present invention may be a PC, or may be a smart phone, a tablet computer, an e-book reader, and an MP3 (Moving). Picture Experts Group Audio Layer III, motion picture expert compression standard audio layer 3) player, MP4 (Moving Picture Experts Group Audio Layer IV, dynamic video experts compress standard audio layers 4) portable terminals such as players and portable computers.
如图1所示,该终端可以包括:处理器1001,例如CPU,网络接口1004,用户接口1003,存储器1005,通信总线1002。其中,通信总线1002用于实现这些组件之间的连接通信。用户接口1003可以包括显示屏(Display)、输入单元比如键盘(Keyboard),可选用户接口1003还可以包括标准的有线接口、无线接口。网络接口1004可选的可以包括标准的有线接口、无线接口(如WI-FI接口)。存储器1005可以是高速RAM存储器,也可以是稳定的存储器(non-volatile memory),例如磁盘存储器。存储器1005可选的还可以是独立于前述处理器1001的存储装置。As shown in FIG. 1, the terminal may include a processor 1001, such as a CPU, a network interface 1004, a user interface 1003, a memory 1005, and a communication bus 1002. Among them, the communication bus 1002 is used to implement connection communication between these components. The user interface 1003 can include a display, an input unit such as a keyboard, and the optional user interface 1003 can also include a standard wired interface, a wireless interface. The network interface 1004 can optionally include a standard wired interface, a wireless interface (such as a WI-FI interface). The memory 1005 may be a high speed RAM memory or a stable memory (non-volatile) Memory), such as disk storage. The memory 1005 can also optionally be a storage device independent of the aforementioned processor 1001.
可选地,终端还可以包括摄像头、RF(Radio Frequency,射频)电路,传感器、音频电路、WiFi模块等等。Optionally, the terminal may further include a camera, RF (Radio) Frequency, RF) circuits, sensors, audio circuits, WiFi modules, and more.
本领域技术人员可以理解,图1中示出的终端结构并不构成对终端的限定,可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。It will be understood by those skilled in the art that the terminal structure shown in FIG. 1 does not constitute a limitation to the terminal, and may include more or less components than those illustrated, or a combination of certain components, or different component arrangements.
如图1所示,作为一种计算机存储介质的存储器1005中可以包括操作系统以及应用程序页面打开程序。其中,操作系统是管理和控制终端中硬件和软件资源的程序,支持应用程序页面打开程序以及其它软件和/或程序的运行。As shown in FIG. 1, an operating system and an application page open program may be included in the memory 1005 as a computer storage medium. The operating system is a program that manages and controls hardware and software resources in the terminal, and supports application page open programs and other software and/or programs.
在图1所示的终端结构示意图中,网络接口1004主要用于连接后台服务器,与服务器进行数据通信;用户接口1003主要用于接收、以及侦测各种操作指令。处理器1001可以用于调用存储器1005中存储的应用程序页面打开程序,并执行以下操作:In the terminal structure diagram shown in FIG. 1, the network interface 1004 is mainly used to connect to the background server for data communication with the server; the user interface 1003 is mainly used for receiving and detecting various operation instructions. The processor 1001 can be used to call an application page open program stored in the memory 1005 and perform the following operations:
当侦测到用户点击终端第一应用程序中所显示的第二应用程序预设页面的点击指令时,根据所述点击指令获取与所述预设页面对应的短链;When detecting that the user clicks the click instruction of the second application preset page displayed in the first application of the terminal, acquiring a short chain corresponding to the preset page according to the click instruction;
若根据所述短链确定所述终端中未安装所述第二应用程序,则输出提示信息提示用户触发下载所述第二应用程序的下载指令;If it is determined that the second application is not installed in the terminal according to the short chain, outputting a prompt message prompting the user to trigger downloading of the download instruction of the second application;
当侦测到所述下载指令时,根据所述下载指令下载所述第二应用程序,并获取与所述预设页面对应的第一标识信息和所述终端的第二标识信息;When the downloading instruction is detected, downloading the second application according to the downloading instruction, and acquiring first identification information corresponding to the preset page and second identification information of the terminal;
若所述第一标识信息和所述第二标识信息一致,则根据所述短链在所述第二应用程序中打开所述预设页面;If the first identifier information and the second identifier information are consistent, opening the preset page in the second application according to the short chain;
其中,所述第一标识信息包括所述终端显示所述预设页面时的网络之间互连的协议IP地址和显示所述预设页面设备的设备信息;所述第二标识信息包括所述终端当前的IP地址和设备信息。The first identifier information includes a protocol IP address interconnected between the networks when the terminal displays the preset page, and device information that displays the preset page device; the second identifier information includes the The current IP address and device information of the terminal.
进一步地,所述当侦测到用户点击终端第一应用程序中所显示的第二应用程序预设页面的点击指令时,根据所述点击指令获取与所述预设页面对应的短链的步骤之前,处理器1001还可以用于调用存储器1005中存储的应用程序页面打开程序,执行以下操作:Further, when detecting that the user clicks the click instruction of the second application preset page displayed in the first application of the terminal, the step of acquiring the short chain corresponding to the preset page according to the click instruction Previously, the processor 1001 can also be used to call an application page open program stored in the memory 1005 to perform the following operations:
当侦测到在所述第一应用程序显示所述预设页面的显示指令时,根据所述显示指令获取所述预设页面的页面链接,以及所述第二应用程序的下载链接;When detecting that the first application displays the display instruction of the preset page, acquiring a page link of the preset page according to the display instruction, and a download link of the second application;
建立所述页面链接和所述下载链接的映射关系,以生成与所述预设页面对应的短链,并存储所述短链。Establishing a mapping relationship between the page link and the download link to generate a short chain corresponding to the preset page, and storing the short chain.
进一步地,所述短链中包括渠道参数,处理器1001还可以用于调用存储器1005中存储的应用程序页面打开程序,执行以下操作:Further, the short-chain includes a channel parameter, and the processor 1001 is further configured to invoke an application page opened in the memory 1005 to open the program, and perform the following operations:
根据所述短链中的渠道参数计算所述第二应用程序的下载来源和下载次数。Calculating a download source and a download frequency of the second application according to the channel parameter in the short chain.
进一步地,所述当侦测到用户点击终端第一应用程序中所显示的第二应用程序预设页面的点击指令时,根据所述点击指令获取与所述预设页面对应的短链的步骤之后,处理器1001还可以用于调用存储器1005中存储的应用程序页面打开程序,执行以下操作:Further, when detecting that the user clicks the click instruction of the second application preset page displayed in the first application of the terminal, the step of acquiring the short chain corresponding to the preset page according to the click instruction Afterwards, the processor 1001 can also be used to call the application page open program stored in the memory 1005 to perform the following operations:
根据所述短链判断所述终端是否安装有所述第二应用程序;Determining, according to the short chain, whether the terminal is installed with the second application;
若根据所述短链确定所述终端已安装所述第二应用程序,则启动所述第二应用程序,并根据所述短链在所述第二应用程序中打开所述预设页面。If it is determined that the terminal has installed the second application according to the short chain, launching the second application, and opening the preset page in the second application according to the short chain.
进一步地,所述根据所述短链判断所述终端中是否安装有所述第二应用程序的步骤包括:Further, the step of determining, according to the short chain, whether the second application is installed in the terminal, includes:
根据所述短链判断是否在预设时间内成功启动所述第二应用程序;Determining, according to the short chain, whether the second application is successfully started within a preset time;
若在所述预设时间内成功启动所述第二应用程序,则确定所述终端已安装所述第二应用程序;If the second application is successfully started within the preset time, determining that the terminal has installed the second application;
若在所述预设时间内未启动所述第二应用程序,则确定所述终端未安装所述第二应用程序。If the second application is not started within the preset time, it is determined that the terminal does not install the second application.
进一步地,所述当侦测到所述下载指令时,根据所述下载指令下载所述第二应用程序,并获取与所述预设页面对应的第一标识信息和所述终端的第二标识信息的步骤之后,处理器1001还可以用于调用存储器1005中存储的应用程序页面打开程序,执行以下操作:Further, when the downloading instruction is detected, the second application is downloaded according to the downloading instruction, and the first identification information corresponding to the preset page and the second identifier of the terminal are acquired. After the step of information, the processor 1001 can also be used to call the application page open program stored in the memory 1005 to perform the following operations:
判断所述第一标识信息和所述第二标识信息是否一致;Determining whether the first identification information and the second identification information are consistent;
若所述第一标识信息和所述第二标识信息不一致,则在启动所述第二应用程序后,在所述第二应用程序中显示所述第二应用程序的默认页面。If the first identifier information and the second identifier information are inconsistent, after the second application is started, a default page of the second application is displayed in the second application.
进一步地,所述若根据所述短链确定所述终端中未安装所述第二应用程序,则输出提示信息提示用户触发下载所述第二应用程序的下载指令的步骤之后,处理器1001可以用于调用存储器1005中存储的应用程序页面打开程序,并执行以下操作:Further, after determining, according to the short chain, that the second application is not installed in the terminal, after outputting the prompt information prompting the user to trigger the downloading of the download instruction of the second application, the processor 1001 may It is used to call the application page stored in the memory 1005 to open the program and perform the following operations:
判断是否侦测到所述下载指令;Determining whether the download instruction is detected;
若未侦测到所述下载指令,则在所述第一应用程序中显示所述预设页面。If the download instruction is not detected, the preset page is displayed in the first application.
进一步地,所述若所述第一标识信息和所述第二标识信息一致,则根据所述短链在所述第二应用程序中打开所述预设页面的步骤包括:Further, if the first identifier information and the second identifier information are consistent, the step of opening the preset page in the second application according to the short chain includes:
若所述第一标识信息和所述第二标识信息一致,则确定所述终端的操作系统;If the first identifier information and the second identifier information are consistent, determining an operating system of the terminal;
通过所述操作系统确定所述预设页面的打开方式;Determining, by the operating system, an open manner of the preset page;
基于所述短链,根据所述打开方式在所述第二应用程序中打开所述预设页面。Based on the short chain, the preset page is opened in the second application according to the open mode.
基于上述的硬件结构,提出应用程序页面打开方法的各个实施例。Based on the hardware structure described above, various embodiments of the application page opening method are proposed.
参照图2,图2为本发明应用程序页面打开方法第一实施例的流程示意图。Referring to FIG. 2, FIG. 2 is a schematic flowchart diagram of a first embodiment of an application page opening method according to the present invention.
在本实施例中,提供了应用程序页面打开方法的实施例,需要说明的是,虽然在流程图中示出了逻辑顺序,但是在某些情况下,可以以不同于此处的顺序执行所示出或描述的步骤。In this embodiment, an embodiment of an application page opening method is provided. It should be noted that although the logical order is shown in the flowchart, in some cases, the execution may be performed in a different order from here. The steps shown or described.
所述应用程序页面打开方法包括:The application page opening method includes:
步骤S10,当侦测到用户点击终端第一应用程序中所显示的第二应用程序预设页面的点击指令时,根据所述点击指令获取与所述预设页面对应的短链。Step S10: When detecting that the user clicks the click instruction of the second application preset page displayed in the first application of the terminal, acquiring a short chain corresponding to the preset page according to the click instruction.
当终端侦测到用户点击第一应用程序所显示的第二应用程序预设页面的点击指令时,终端根据点击指令触发获取指令,根据获取指令获取与预设页面对应的短链。其中,获取指令是与点击指令对应的操作指令,当终端侦测到用户的点击指令时,终端会根据该点击指令调用对应的获取指令。需要说明的是,在本实施例中,当第一应用程序显示第二应用程序的预设页面时,会生成与预设页面对应的短链,并存储至存储器。短链至少包括预设页面的页面链接和第二应用程序的下载地址。预设页面为第二应用程序的某个特定页面。由于短链中存在预设页面的页面链接,因此在根据获取指令获取与预设页面对应的短链过程中,终端在存储器中获取含有预设页面的页面链接的短链。When the terminal detects that the user clicks the click instruction of the second application preset page displayed by the first application, the terminal triggers the acquisition instruction according to the click instruction, and acquires the short chain corresponding to the preset page according to the acquisition instruction. The acquisition instruction is an operation instruction corresponding to the click instruction. When the terminal detects the user's click instruction, the terminal invokes the corresponding acquisition instruction according to the click instruction. It should be noted that, in this embodiment, when the first application displays the preset page of the second application, a short chain corresponding to the preset page is generated and stored in the memory. The short chain includes at least a page link of the preset page and a download address of the second application. The preset page is a specific page of the second application. Because there is a page link of the preset page in the short chain, in the short chain process corresponding to the preset page according to the obtaining instruction, the terminal acquires a short chain of the page link containing the preset page in the memory.
在本实施例中,终端可通过其触摸屏检测是否侦测到该点击指令。In this embodiment, the terminal can detect whether the click command is detected through its touch screen.
在本发明实施例中,当第一应用程序在显示第二应用程序预设页面过程中,终端的处理器获取第二应用程序的相关信息和第一应用程序的渠道参数,并将相关信息和渠道参数配置成Palink。具体地,相关信息包括第二应用程序应用名称、Bundle ID(应用标识符)和/或Package name(应用包名)、URI(Uniform Resource Identifier,统一资源标识符) Scheme、下载链接、Team ID(仅IOS版提供)和URI。Palink中集成了SDK(Software Development Kit,软件开发工具包)。In the embodiment of the present invention, when the first application is displaying the second application preset page, the processor of the terminal acquires related information of the second application and channel parameters of the first application, and the related information and The channel parameters are configured as Palink. Specifically, the related information includes a second application application name, a Bundle ID (application identifier) and/or package name (application package name), URI (Uniform Resource Identifier) Scheme, download link, Team ID (available only in IOS version), and URI. SDK is integrated in Palink (Software Development Kit, Software Development Kit).
步骤S20,若根据所述短链确定所述终端中未安装所述第二应用程序,则输出提示信息提示用户触发下载所述第二应用程序的下载指令。Step S20: If it is determined that the second application is not installed in the terminal according to the short chain, outputting a prompt message prompting the user to trigger downloading of the download instruction of the second application.
当终端根据短链确定其未安装第二应用程序时,终端在其屏幕中输出提示信息提示用户触发下载第二应用程序的下载指令。在本实施例中,终端可在其屏幕中输出文字提示信息“是否下载第二应用程序”,并在其屏幕显示“是”和“否”的选择按钮,以供用户通过点击选择按钮以触发下载第二应用程序的下载指令。可以理解的是,当用户点击“是”对应的按钮时,会触发下载第二应用程序的下载指令;当用户点击“否”对应的按钮时,则不会触发下载第二应用程序的下载指令。When the terminal determines that the second application is not installed according to the short chain, the terminal outputs a prompt message in its screen prompting the user to trigger a download instruction to download the second application. In this embodiment, the terminal may output a text prompt message "whether or not the second application is downloaded" in its screen, and display a selection button of "yes" and "no" on the screen for the user to trigger by clicking the selection button. Download the download instructions for the second application. It can be understood that when the user clicks the button corresponding to “Yes”, the download instruction of downloading the second application is triggered; when the user clicks the button corresponding to “No”, the download instruction of the second application is not triggered to be downloaded. .
步骤S30,当侦测到所述下载指令时,根据所述下载指令下载所述第二应用程序,并获取与所述预设页面对应的第一标识信息和所述终端的第二标识信息。In step S30, when the downloading instruction is detected, the second application is downloaded according to the downloading instruction, and the first identification information corresponding to the preset page and the second identification information of the terminal are obtained.
其中,所述第一标识信息包括所述终端显示所述预设页面时的网络之间互连的协议IP地址和显示所述预设页面设备的设备信息;所述第二标识信息包括所述终端当前的IP地址和设备信息。The first identifier information includes a protocol IP address interconnected between the networks when the terminal displays the preset page, and device information that displays the preset page device; the second identifier information includes the The current IP address and device information of the terminal.
当终端通过其触摸屏侦测到用户触发的下载指令时,终端根据下载指令获取短链中的下载链接,通过该下载链接下载第二应用程序,并通过短链获取与预设页面对应的第一标识信息,以及获取终端的第二标识信息。具体地,在本实施例中,终端通过预设页面获取第一标识信息,第一标识信息包括终端显示预设页面时的IP地址和显示预设页面设备的设备信息,记为第一IP地址和第一设备信息;终端通过Palink中的SDK获取第二标识信息,第二标识信息包括终端当前的IP地址和设备信息,记为第二IP地址和第二设备信息。需要说明的是,设备信息包括分辨率、操作系统和设备型号等。When the terminal detects the download instruction triggered by the user through the touch screen, the terminal acquires the download link in the short chain according to the download instruction, downloads the second application through the download link, and acquires the first corresponding to the preset page through the short chain. Identification information, and obtaining second identification information of the terminal. Specifically, in this embodiment, the terminal obtains the first identifier information by using the preset page, where the first identifier information includes an IP address when the terminal displays the preset page and device information for displaying the preset page device, and is recorded as the first IP address. And the first device information; the terminal obtains the second identifier information by using the SDK in the Palink, where the second identifier information includes the current IP address and device information of the terminal, and is recorded as the second IP address and the second device information. It should be noted that the device information includes resolution, operating system, device model, and the like.
当终端下载第二应用程序后,自动安装第二应用程序,并在成功安装第二应用程序后,自动启动第二应用程序。After the terminal downloads the second application, the second application is automatically installed, and after the second application is successfully installed, the second application is automatically started.
进一步地,应用程序页面打开方法还包括:Further, the application page opening method further includes:
步骤a,判断是否侦测到所述下载指令;Step a, determining whether the download instruction is detected;
步骤b,若未侦测到所述下载指令,则在所述第一应用程序中显示所述预设页面。Step b, if the download instruction is not detected, displaying the preset page in the first application.
当终端输出提示信息后,判断是否侦测到下载第二应用程序的下载指令。终端若未侦测到下载指令,则继续在第一应用程序中显示第二应用程序的预设页面。After the terminal outputs the prompt information, it is determined whether the download command for downloading the second application is detected. If the terminal does not detect the download instruction, the terminal continues to display the preset page of the second application in the first application.
进一步地,应用程序页面打开方法还包括:Further, the application page opening method further includes:
步骤c,判断所述第一标识信息和所述第二标识信息是否一致。Step c: Determine whether the first identification information and the second identification information are consistent.
步骤d,若所述第一标识信息和所述第二标识信息不一致,则在启动所述第二应用程序后,在所述第二应用程序中显示所述第二应用程序的默认页面。In step d, if the first identifier information and the second identifier information are inconsistent, after the second application is started, the default page of the second application is displayed in the second application.
当终端获取到第一标识信息和第二标识信息时,判断第一标识信息和第二标识信息是否一致。若第一标识信息和第二标识信息不一致,则在启动第二应用程序后,在第二应用程序中显示第二应用程序的默认页面。可以理解的是,默认页面即为第二应用程序的首页页面。用户在首页页面中搜索与预设页面对应的关键词,才可以打开预设页面。具体地,第一标识信息由终端中的处理器控制预设页面获取,第二标识信息由处理器控制SDK获取。处理器控制预设页面获取到第一标识信息,以及控制SDK获取到第二标识信息时,会比较第一标识信息和第二标识信息是否一致。当第一IP地址和第二IP地址不一致,和/或第一设备信息和第二设备信息不一致时,则确认第一标识信息和第二标识信息不一致。当第一IP地址和第二IP地址一致,第一设备信息和第二设备信息一致时,则确认第一标识信息和第二标识信息一致。When the terminal obtains the first identifier information and the second identifier information, it is determined whether the first identifier information and the second identifier information are consistent. If the first identification information and the second identification information do not match, after the second application is started, the default page of the second application is displayed in the second application. It can be understood that the default page is the home page of the second application. The user can search for a keyword corresponding to the preset page in the home page to open the preset page. Specifically, the first identification information is acquired by a processor controlled preset page in the terminal, and the second identification information is acquired by the processor control SDK. The processor control preset page obtains the first identifier information, and when the control SDK obtains the second identifier information, compares whether the first identifier information and the second identifier information are consistent. When the first IP address and the second IP address are inconsistent, and/or the first device information and the second device information are inconsistent, it is confirmed that the first identifier information and the second identifier information are inconsistent. When the first IP address and the second IP address are consistent, and the first device information and the second device information are consistent, it is confirmed that the first identifier information and the second identifier information are consistent.
步骤S40,若所述第一标识信息和所述第二标识信息一致,则根据所述短链在所述第二应用程序中打开所述预设页面。Step S40: If the first identification information and the second identification information are consistent, the preset page is opened in the second application according to the short chain.
当终端确定第一标识信息和第二标识信息一致时,终端根据短链中的页面链接在第二应用程序中打开预设页面。When the terminal determines that the first identification information and the second identification information are consistent, the terminal opens the preset page in the second application according to the page link in the short chain.
进一步地,参照图3,步骤S40包括:Further, referring to FIG. 3, step S40 includes:
步骤S41,若所述第一标识信息和所述第二标识信息一致,则确定所述终端的操作系统。Step S41: If the first identification information and the second identification information are consistent, determine an operating system of the terminal.
步骤S42,通过所述操作系统确定所述预设页面的打开方式。Step S42: Determine, by the operating system, an open manner of the preset page.
步骤S43,基于所述短链,根据所述打开方式在所述第二应用程序中打开所述预设页面。Step S43, based on the short chain, open the preset page in the second application according to the opening manner.
当终端确定第一标识信息和第二标识信息一致时,终端确定其操作系统的类型。需要说明的是,终端操作系统的类型有两种,为Android和iOS。当终端的操作系统为Android时,确定打开预设页面的打开方式为URL(Uniform Resource Locator,统一资源定位符) Scheme。当获取到短链中的网页链接时,终端通过URL Scheme,根据网页链接在启动第二应用程序后,直接跳转至预设页面,以在第二应用程序中打开预设页面。当终端的操作系统为iOS时,确定打开预设页面的打开方式为Universal Link。当获取到短链中的网页链接时,终端通过Universal Link,根据网页链接在启动第二应用程序后,直接跳转至预设页面,以在第二应用程序中打开预设页面。需要说明的是,URL Scheme,并不是一个常规的HTTP(Hyper Text Transfer Protocol,超文本传输协议)链接;而Universal Link是一个常规的HTTP链接的形式。应用程序通过URL Scheme或Universal Link可定位一个具体页面,或者定位应用程序中某个具体功能。When the terminal determines that the first identification information and the second identification information are consistent, the terminal determines the type of its operating system. It should be noted that there are two types of terminal operating systems, namely Android and iOS. When the operating system of the terminal is Android, it is determined that the opening method of opening the preset page is a URL (Uniform) Resource Locator, Uniform Resource Locator) Scheme. When getting a link to a web page in a short chain, the terminal passes the URL Scheme, after starting the second application according to the webpage link, directly jumps to the preset page to open the preset page in the second application. When the operating system of the terminal is iOS, it is determined that the opening method of opening the preset page is Universal. Link. When getting a link to a web page in a short chain, the terminal passes through Universal Link, after starting the second application according to the webpage link, directly jumps to the preset page to open the preset page in the second application. It should be noted that the URL Scheme, not a regular HTTP (Hyper Text Transfer Protocol) link; and Universal Link is a form of regular HTTP link. Application via URL Scheme or Universal Link can locate a specific page or locate a specific feature in the application.
如当第一应用程序为微信,第二应用程序为某个电商的APP时,用户在微信中打开该APP中一个活动页面,若终端中未安装该APP,终端会在其屏幕输出提示信息提示用户下载该APP。当用户选择下载该APP时,终端下载该APP,并在成功安装以及启动该APP后,直接进入该活动页面,不需要用户在启动该APP后,在APP首页中搜索与该活动页面对应的关键字,查找到该活动页面,然后点击该活动页面才可以在该APP中打开该活动页面。For example, when the first application is WeChat and the second application is an APP of an e-commerce, the user opens an activity page in the APP in WeChat. If the APP is not installed in the terminal, the terminal will output a prompt message on the screen. Prompt the user to download the app. When the user chooses to download the APP, the terminal downloads the APP, and after successfully installing and launching the APP, directly enters the activity page, and does not require the user to search for the key corresponding to the activity page in the APP homepage after starting the APP. Word, find the event page, and then click the event page to open the event page in the app.
本实施例通过当侦测到用户点击终端第一应用程序中所显示的第二应用程序预设页面的点击指令时,根据所述点击指令获取与所述预设页面对应的短链;若根据所述短链确定所述终端中未安装所述第二应用程序,则输出提示信息提示用户触发下载所述第二应用程序的下载指令;当侦测到所述下载指令时,根据所述下载指令下载所述第二应用程序,并获取与所述预设页面对应的第一标识信息和所述终端的第二标识信息;若所述第一标识信息和所述第二标识信息一致,则根据所述短链在所述第二应用程序中打开所述预设页面。实现了当在某个应用程序中打开另一个应用程序的页面时,若终端中未安装该页面的应用程序,提示用户下载安装该页面的应用程序。当成功安装并启动该页面的应用程序后,直接在该页面的应用程序中打开该页面,使终端的各个应用程序不再独立,可以相互交换数据,提高了终端的智能性,同时也提高了用户在第二应用程序中打开预设页面的速度,以及提高了第二应用程序预设页面的推广和传播的转化率,便于用户在第二应用程序中查看预设页面。In this embodiment, when detecting that the user clicks the click instruction of the second application preset page displayed in the first application of the terminal, the short chain corresponding to the preset page is obtained according to the click instruction; The short chain determines that the second application is not installed in the terminal, and outputs a prompt message prompting the user to trigger a download instruction of downloading the second application; when the download instruction is detected, according to the downloading And downloading, by the second application, the first identifier information corresponding to the preset page and the second identifier information of the terminal; if the first identifier information and the second identifier information are consistent, Opening the preset page in the second application according to the short chain. When the page of another application is opened in an application, if the application of the page is not installed in the terminal, the user is prompted to download the application that installs the page. After successfully installing and launching the application of the page, the page is opened directly in the application of the page, so that the applications of the terminal are no longer independent, and data can be exchanged with each other, thereby improving the intelligence of the terminal and improving the intelligence. The speed at which the user opens the preset page in the second application, and the conversion rate of the promotion and dissemination of the second application preset page is improved, so that the user can view the preset page in the second application.
进一步地,提出本发明应用程序页面打开方法第二实施例。Further, a second embodiment of the application page opening method of the present invention is proposed.
所述应用程序页面打开方法第二实施例与所述应用程序页面打开方法第一实施例的区别在于,参照图4,应用程序页面打开方法包括:The second embodiment of the application page opening method differs from the first embodiment of the application page opening method in that, referring to FIG. 4, the application page opening method includes:
步骤S50,当侦测到在所述第一应用程序显示所述预设页面的显示指令时,根据所述显示指令获取所述预设页面的页面链接,以及所述第二应用程序的下载链接。Step S50, when detecting that the first application displays the display instruction of the preset page, acquiring a page link of the preset page according to the display instruction, and downloading links of the second application .
步骤S60,建立所述页面链接和所述下载链接的映射关系,以生成与所述预设页面对应的短链,并存储所述短链。Step S60: Establish a mapping relationship between the page link and the download link to generate a short chain corresponding to the preset page, and store the short chain.
当终端侦测到在第一应用程序显示预设页面的显示指令时,根据所接收到的显示指令获取预设页面的页面链接,以及与该预设页面对应的第二应用程序的下载链接。具体地,该显示指令可由用户在终端屏幕中触发,该屏幕为触摸屏。When the terminal detects that the first application displays the display instruction of the preset page, the terminal obtains a page link of the preset page according to the received display instruction, and a download link of the second application corresponding to the preset page. Specifically, the display instruction can be triggered by the user in the terminal screen, which is a touch screen.
当终端获取到预设页面的页面链接,以及第二应用的下载链接时,建立页面链接和下载链接之间的映射关系,生成与预设页面对应的短链,并存储该短链。需要说明的是,短链是将页面链接和下载链接对应存储在存储器中的一种形式。When the terminal obtains the page link of the preset page and the download link of the second application, the mapping relationship between the page link and the download link is established, a short chain corresponding to the preset page is generated, and the short chain is stored. It should be noted that the short chain is a form in which the page link and the download link are correspondingly stored in the memory.
本实施例通过生成与预设页面对应的短链,短链中包括预设页面的页面链接和下载第二应用程序的下载链接,以供终端可以根据短链在第一应用程序显示预设页面的过程中下载第二应用程序,并在启动第二应用程序后直接跳转至预设页面,以便于用户快速在第二应用程序中打开预设页面。In this embodiment, a short link corresponding to the preset page is generated, the short link includes a page link of the preset page, and a download link of the second application is downloaded, so that the terminal can display the preset page according to the short chain in the first application. During the process of downloading the second application, and directly after launching the second application, jump to the preset page, so that the user can quickly open the preset page in the second application.
进一步地,短链中包括渠道参数,应用程序页面打开方法还包括:Further, the channel parameter is included in the short chain, and the application page opening method further includes:
步骤e,根据所述短链中的渠道参数计算所述第二应用程序的下载来源和下载次数。Step e, calculating a download source and a download frequency of the second application according to the channel parameter in the short chain.
短链还可包括第一应用程序的渠道参数。终端在下载第二应用程序后,可根据短链中第一应用程序的渠道参数计算第二应用程序的下载来源和下载次数,以便于应用程序商家根据计算所得的下载来源和下载次数优化应用程序的投放渠道。需要说明的是,当第一应用程序为微信时,该渠道参数可为用于表示微信一个标识,如“weixin”;当第一应用程序为腾讯QQ时,该渠道参数可为用于表示腾讯QQ的一个标识,如“QQ”。The short chain may also include channel parameters for the first application. After downloading the second application, the terminal may calculate the download source and download times of the second application according to the channel parameter of the first application in the short chain, so that the application merchant optimizes the application according to the calculated download source and download times. Distribution channel. It should be noted that when the first application is WeChat, the channel parameter may be used to indicate an identifier of WeChat, such as “weixin”; when the first application is Tencent QQ, the channel parameter may be used to represent Tencent. A logo of QQ, such as "QQ".
进一步地,提出本发明应用程序页面打开方法第三实施例。Further, a third embodiment of the application page opening method of the present invention is proposed.
所述应用程序页面打开方法第三实施例与所述应用程序页面打开方法第一实施例的区别在于,参照图5,应用程序页面打开方法包括:The third embodiment of the application page opening method differs from the first embodiment of the application page opening method in that, referring to FIG. 5, the application page opening method includes:
步骤S70,根据所述短链判断所述终端是否安装有所述第二应用程序。Step S70: Determine, according to the short chain, whether the terminal is installed with the second application.
当终端获取到预设页面对应的短链时,终端根据所获取的短链判断其是否安装有第二应用程序。When the terminal obtains the short chain corresponding to the preset page, the terminal determines, according to the acquired short chain, whether the second application is installed.
进一步地,步骤S70包括:Further, step S70 includes:
步骤f,根据所述短链判断是否在预设时间内成功启动所述第二应用程序。Step f: determining, according to the short chain, whether the second application is successfully started within a preset time.
步骤g,若在所述预设时间内成功启动所述第二应用程序,则确定所述终端已安装所述第二应用程序。Step g: If the second application is successfully started within the preset time, it is determined that the terminal has installed the second application.
步骤h,若在所述预设时间内未启动所述第二应用程序,则确定所述终端未安装所述第二应用程序。In step h, if the second application is not started within the preset time, it is determined that the terminal does not install the second application.
终端根据所获取的短链判断是否安装有第二应用程序的具体过程为:终端根据短链中页面链接启动第二应用程序,并判断是否在预设时间内成功启动第二应用程序。若在预设时间内成功启动第二应用程序,终端则确定其已安装有第二应用程序;若在预设时间内未成功启动第二应用程序,终端则确定其未安装第二应用程序。需要说明的是,预设时间可根据具体需要而设置,如可设置为5秒,8秒或者10秒等。The specific process of determining, by the terminal, whether the second application is installed according to the obtained short chain is that the terminal starts the second application according to the page link in the short chain, and determines whether the second application is successfully started within a preset time. If the second application is successfully started within the preset time, the terminal determines that the second application is installed; if the second application is not successfully started within the preset time, the terminal determines that the second application is not installed. It should be noted that the preset time can be set according to specific needs, such as 5 seconds, 8 seconds or 10 seconds.
步骤S80,若根据所述短链确定所述终端已安装所述第二应用程序,则启动所述第二应用程序,并根据所述短链在所述第二应用程序中打开所述预设页面。Step S80: If it is determined that the second application is installed by the terminal according to the short chain, start the second application, and open the preset in the second application according to the short chain. page.
当终端根据短链确定其已安装第二应用程序时,终端自动启动第二应用程序,并根据短链中的网页链接在第二应用程序中打开预设页面。When the terminal determines that the second application is installed according to the short chain, the terminal automatically starts the second application, and opens the preset page in the second application according to the webpage link in the short chain.
本实施例在终端已安装第二应用程序时,自动启动第二应用程序,并在第二应用程序中直接显示预设页面,提高了预设页面在第二应用程序中的打开速度。In this embodiment, when the second application is installed in the terminal, the second application is automatically started, and the preset page is directly displayed in the second application, which improves the opening speed of the preset page in the second application.
此外,本发明实施例还提出一种计算机可读存储介质,所述计算机可读存储介质上存储有应用程序页面打开程序,所述应用程序页面打开程序被处理器执行时实现如下步骤:In addition, an embodiment of the present invention further provides a computer readable storage medium, where the application program page open program is stored, and when the application page open program is executed by the processor, the following steps are implemented:
当侦测到用户点击终端第一应用程序中所显示的第二应用程序预设页面的点击指令时,根据所述点击指令获取与所述预设页面对应的短链;When detecting that the user clicks the click instruction of the second application preset page displayed in the first application of the terminal, acquiring a short chain corresponding to the preset page according to the click instruction;
若根据所述短链确定所述终端中未安装所述第二应用程序,则输出提示信息提示用户触发下载所述第二应用程序的下载指令;If it is determined that the second application is not installed in the terminal according to the short chain, outputting a prompt message prompting the user to trigger downloading of the download instruction of the second application;
当侦测到所述下载指令时,根据所述下载指令下载所述第二应用程序,并获取与所述预设页面对应的第一标识信息和所述终端的第二标识信息;When the downloading instruction is detected, downloading the second application according to the downloading instruction, and acquiring first identification information corresponding to the preset page and second identification information of the terminal;
若所述第一标识信息和所述第二标识信息一致,则根据所述短链在所述第二应用程序中打开所述预设页面;If the first identifier information and the second identifier information are consistent, opening the preset page in the second application according to the short chain;
其中,所述第一标识信息包括所述终端显示所述预设页面时的网络之间互连的协议IP地址和显示所述预设页面设备的设备信息;所述第二标识信息包括所述终端当前的IP地址和设备信息。The first identifier information includes a protocol IP address interconnected between the networks when the terminal displays the preset page, and device information that displays the preset page device; the second identifier information includes the The current IP address and device information of the terminal.
进一步地,所述当侦测到用户点击终端第一应用程序中所显示的第二应用程序预设页面的点击指令时,根据所述点击指令获取与所述预设页面对应的短链的步骤之前,所述应用程序页面打开程序被处理器执行时实现如下步骤:Further, when detecting that the user clicks the click instruction of the second application preset page displayed in the first application of the terminal, the step of acquiring the short chain corresponding to the preset page according to the click instruction Previously, when the application page open program was executed by the processor, the following steps were implemented:
当侦测到在所述第一应用程序显示所述预设页面的显示指令时,根据所述显示指令获取所述预设页面的页面链接,以及所述第二应用程序的下载链接;When detecting that the first application displays the display instruction of the preset page, acquiring a page link of the preset page according to the display instruction, and a download link of the second application;
建立所述页面链接和所述下载链接的映射关系,以生成与所述预设页面对应的短链,并存储所述短链。 Establishing a mapping relationship between the page link and the download link to generate a short chain corresponding to the preset page, and storing the short chain.
进一步地,所述短链中包括渠道参数,所述应用程序页面打开程序被处理器执行时实现如下步骤:Further, the short-chain includes a channel parameter, and the application page opening program is executed by the processor to implement the following steps:
根据所述短链中的渠道参数计算所述第二应用程序的下载来源和下载次数。Calculating a download source and a download frequency of the second application according to the channel parameter in the short chain.
进一步地,所述当侦测到用户点击终端第一应用程序中所显示的第二应用程序预设页面的点击指令时,根据所述点击指令获取与所述预设页面对应的短链的步骤之后,所述应用程序页面打开程序被处理器执行时实现如下步骤:Further, when detecting that the user clicks the click instruction of the second application preset page displayed in the first application of the terminal, the step of acquiring the short chain corresponding to the preset page according to the click instruction Then, when the application page open program is executed by the processor, the following steps are implemented:
根据所述短链判断所述终端是否安装有所述第二应用程序;Determining, according to the short chain, whether the terminal is installed with the second application;
若根据所述短链确定所述终端已安装所述第二应用程序,则启动所述第二应用程序,并根据所述短链在所述第二应用程序中打开所述预设页面。If it is determined that the terminal has installed the second application according to the short chain, launching the second application, and opening the preset page in the second application according to the short chain.
进一步地,所述根据所述短链判断所述终端中是否安装有所述第二应用程序的步骤包括:Further, the step of determining, according to the short chain, whether the second application is installed in the terminal, includes:
根据所述短链判断是否在预设时间内成功启动所述第二应用程序;Determining, according to the short chain, whether the second application is successfully started within a preset time;
若在所述预设时间内成功启动所述第二应用程序,则确定所述终端已安装所述第二应用程序;If the second application is successfully started within the preset time, determining that the terminal has installed the second application;
若在所述预设时间内未启动所述第二应用程序,则确定所述终端未安装所述第二应用程序。If the second application is not started within the preset time, it is determined that the terminal does not install the second application.
进一步地,所述当侦测到所述下载指令时,根据所述下载指令下载所述第二应用程序,并获取与所述预设页面对应的第一标识信息和所述终端的第二标识信息的步骤之后,所述应用程序页面打开程序被处理器执行时实现如下步骤:Further, when the downloading instruction is detected, the second application is downloaded according to the downloading instruction, and the first identification information corresponding to the preset page and the second identifier of the terminal are acquired. After the step of information, the application page open program is executed by the processor to implement the following steps:
判断所述第一标识信息和所述第二标识信息是否一致;Determining whether the first identification information and the second identification information are consistent;
若所述第一标识信息和所述第二标识信息不一致,则在启动所述第二应用程序后,在所述第二应用程序中显示所述第二应用程序的默认页面。If the first identifier information and the second identifier information are inconsistent, after the second application is started, a default page of the second application is displayed in the second application.
进一步地,所述若根据所述短链确定所述终端中未安装所述第二应用程序,则输出提示信息提示用户触发下载所述第二应用程序的下载指令的步骤之后,所述应用程序页面打开程序被处理器执行时实现如下步骤:Further, after determining, according to the short chain, that the second application is not installed in the terminal, after outputting the prompt information prompting the user to trigger the downloading of the download instruction of the second application, the application The following steps are implemented when the page open program is executed by the processor:
判断是否侦测到所述下载指令;Determining whether the download instruction is detected;
若未侦测到所述下载指令,则在所述第一应用程序中显示所述预设页面。If the download instruction is not detected, the preset page is displayed in the first application.
进一步地,所述若所述第一标识信息和所述第二标识信息一致,则根据所述短链在所述第二应用程序中打开所述预设页面的步骤包括:Further, if the first identifier information and the second identifier information are consistent, the step of opening the preset page in the second application according to the short chain includes:
若所述第一标识信息和所述第二标识信息一致,则确定所述终端的操作系统;If the first identifier information and the second identifier information are consistent, determining an operating system of the terminal;
通过所述操作系统确定所述预设页面的打开方式;Determining, by the operating system, an open manner of the preset page;
基于所述短链,根据所述打开方式在所述第二应用程序中打开所述预设页面。Based on the short chain, the preset page is opened in the second application according to the open mode.
本发明计算机可读存储介质具体实施方式与上述应用程序页面打开方法各实施例基本相同,在此不再赘述。The embodiment of the computer readable storage medium of the present invention is substantially the same as the embodiment of the application page opening method, and details are not described herein again.
此外,本发明实施例还提出一种应用程序页面打开装置,所述应用程序页面打开装置包括:In addition, an embodiment of the present invention further provides an application page opening apparatus, where the application page opening apparatus includes:
获取模块,用于当侦测到用户点击终端第一应用程序中所显示的第二应用程序预设页面的点击指令时,根据所述点击指令获取与所述预设页面对应的短链;An acquiring module, configured to acquire a short chain corresponding to the preset page according to the click instruction when detecting that the user clicks a click instruction of the second application preset page displayed in the first application of the terminal;
输出模块,用于若根据所述短链确定所述终端中未安装所述第二应用程序,则输出提示信息提示用户触发下载所述第二应用程序的下载指令;And an output module, configured to: if the second application is not installed in the terminal according to the short chain, output a prompt message prompting a user to trigger a download instruction of downloading the second application;
下载模块,用于当侦测到所述下载指令时,根据所述下载指令下载所述第二应用程序;a downloading module, configured to download the second application according to the downloading instruction when the downloading instruction is detected;
所述获取模块还用于获取与所述预设页面对应的第一标识信息和所述终端的第二标识信息;The acquiring module is further configured to acquire first identifier information corresponding to the preset page and second identifier information of the terminal;
打开模块,用于若所述第一标识信息和所述第二标识信息一致,则根据所述短链在所述第二应用程序中打开所述预设页面;Opening a module, if the first identifier information and the second identifier information are consistent, opening the preset page in the second application according to the short chain;
其中,所述第一标识信息包括所述终端显示所述预设页面时的网络之间互连的协议IP地址和显示所述预设页面设备的设备信息;所述第二标识信息包括所述终端当前的IP地址和设备信息。The first identifier information includes a protocol IP address interconnected between the networks when the terminal displays the preset page, and device information that displays the preset page device; the second identifier information includes the The current IP address and device information of the terminal.
进一步地,所述获取模块还用于当侦测到在所述第一应用程序显示所述预设页面的显示指令时,根据所述显示指令获取所述预设页面的页面链接,以及所述第二应用程序的下载链接;Further, the acquiring module is further configured to: when detecting that the first application displays the display instruction of the preset page, acquire a page link of the preset page according to the display instruction, and the a download link for the second application;
所述应用程序页面打开装置还包括:The application page opening device further includes:
建立模块,用于建立所述页面链接和所述下载链接的映射关系,以生成与所述预设页面对应的短链,并存储所述短链。And a establishing module, configured to establish a mapping relationship between the page link and the download link, to generate a short chain corresponding to the preset page, and store the short chain.
进一步地,所述短链中包括渠道参数,所述应用程序页面打开装置还包括:Further, the short-chain includes a channel parameter, and the application page opening device further includes:
计算模块,用于根据所述短链中的渠道参数计算所述第二应用程序的下载来源和下载次数。And a calculation module, configured to calculate a download source and a download frequency of the second application according to the channel parameter in the short chain.
进一步地,所述应用程序页面打开装置还包括:Further, the application page opening device further includes:
第一判断模块,用于根据所述短链判断所述终端是否安装有所述第二应用程序;a first determining module, configured to determine, according to the short chain, whether the terminal is installed with the second application;
启动模块,用于若根据所述短链确定所述终端已安装所述第二应用程序,则启动所述第二应用程序;a startup module, configured to start the second application program if it is determined that the terminal has installed the second application according to the short chain;
所述打开模块还用于根据所述短链在所述第二应用程序中打开所述预设页面。The opening module is further configured to open the preset page in the second application according to the short chain.
进一步地,所述第一判断模块包括:Further, the first determining module includes:
判断单元,用于根据所述短链判断是否在预设时间内成功启动所述第二应用程序;a determining unit, configured to determine, according to the short chain, whether the second application is successfully started within a preset time;
第一确定单元,用于若在所述预设时间内成功启动所述第二应用程序,则确定所述终端已安装所述第二应用程序;a first determining unit, configured to determine that the second application is installed by the terminal if the second application is successfully started within the preset time;
第二确定单元,用于若在所述预设时间内未启动所述第二应用程序,则确定所述终端未安装所述第二应用程序。And a second determining unit, configured to determine that the second application is not installed by the terminal if the second application is not started within the preset time.
进一步地,所述应用程序页面打开装置还包括:Further, the application page opening device further includes:
第二判断模块,用于判断所述第一标识信息和所述第二标识信息是否一致;a second determining module, configured to determine whether the first identifier information and the second identifier information are consistent;
第一显示模块,用于若所述第一标识信息和所述第二标识信息不一致,则在启动所述第二应用程序后,在所述第二应用程序中显示所述第二应用程序的默认页面。a first display module, configured to display, in the second application, the second application after the second application is started, if the first identifier information and the second identifier information are inconsistent Default page.
进一步地,所述应用程序页面打开装置还包括:Further, the application page opening device further includes:
第三判断模块,用于判断是否侦测到所述下载指令;a third determining module, configured to determine whether the download instruction is detected;
第二显示模块,用于若未侦测到所述下载指令,则在所述第一应用程序中显示所述预设页面。The second display module is configured to display the preset page in the first application if the download instruction is not detected.
进一步地,所述打开模块包括:Further, the opening module includes:
第三确定单元,用于若所述第一标识信息和所述第二标识信息一致,则确定所述终端的操作系统;通过所述操作系统确定所述预设页面的打开方式;a third determining unit, configured to determine an operating system of the terminal if the first identifier information and the second identifier information are consistent, and determine, by using the operating system, an open mode of the preset page;
打开单元,用于基于所述短链,根据所述打开方式在所述第二应用程序中打开所述预设页面。Opening a unit for opening the preset page in the second application according to the opening manner based on the short chain.
本发明应用程序页面打开装置具体实施方式与上述应用程序页面打开方法各实施例基本相同,在此不再赘述。The embodiment of the application page opening device of the present invention is basically the same as the embodiment of the application page opening method, and details are not described herein again.
需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者装置不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者装置所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者装置中还存在另外的相同要素。It is to be understood that the term "comprises", "comprising", or any other variants thereof, is intended to encompass a non-exclusive inclusion, such that a process, method, article, or device comprising a series of elements includes those elements. It also includes other elements that are not explicitly listed, or elements that are inherent to such a process, method, article, or device. An element that is defined by the phrase "comprising a ..." does not exclude the presence of additional equivalent elements in the process, method, item, or device that comprises the element.
上述本发明实施例序号仅仅为了描述,不代表实施例的优劣。The serial numbers of the embodiments of the present invention are merely for the description, and do not represent the advantages and disadvantages of the embodiments.
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端设备(可以是手机,计算机,服务器,空调器,或者网络设备等)执行本发明各个实施例所述的方法。Through the description of the above embodiments, those skilled in the art can clearly understand that the foregoing embodiment method can be implemented by means of software plus a necessary general hardware platform, and of course, can also be through hardware, but in many cases, the former is better. Implementation. Based on such understanding, the technical solution of the present invention, which is essential or contributes to the prior art, may be embodied in the form of a software product stored in a storage medium (such as ROM/RAM, disk, The optical disc includes a number of instructions for causing a terminal device (which may be a cell phone, a computer, a server, an air conditioner, or a network device, etc.) to perform the methods described in various embodiments of the present invention.
以上仅为本发明的优选实施例,并非因此限制本发明的专利范围,凡是利用本发明说明书及附图内容所作的等效结构或等效流程变换,或直接或间接运用在其他相关的技术领域,均同理包括在本发明的专利保护范围内。The above are only the preferred embodiments of the present invention, and are not intended to limit the scope of the invention, and the equivalent structure or equivalent process transformations made by the description of the present invention and the drawings are directly or indirectly applied to other related technical fields. The same is included in the scope of patent protection of the present invention.

Claims (20)

  1. 一种应用程序页面打开方法,其特征在于,所述应用程序页面打开方法包括以下步骤:An application page opening method, characterized in that the application page opening method comprises the following steps:
    当侦测到用户点击终端第一应用程序中所显示的第二应用程序预设页面的点击指令时,根据所述点击指令获取与所述预设页面对应的短链;When detecting that the user clicks the click instruction of the second application preset page displayed in the first application of the terminal, acquiring a short chain corresponding to the preset page according to the click instruction;
    若根据所述短链确定所述终端中未安装所述第二应用程序,则输出提示信息提示用户触发下载所述第二应用程序的下载指令;If it is determined that the second application is not installed in the terminal according to the short chain, outputting a prompt message prompting the user to trigger downloading of the download instruction of the second application;
    当侦测到所述下载指令时,根据所述下载指令下载所述第二应用程序,并获取与所述预设页面对应的第一标识信息和所述终端的第二标识信息;When the downloading instruction is detected, downloading the second application according to the downloading instruction, and acquiring first identification information corresponding to the preset page and second identification information of the terminal;
    若所述第一标识信息和所述第二标识信息一致,则根据所述短链在所述第二应用程序中打开所述预设页面;If the first identifier information and the second identifier information are consistent, opening the preset page in the second application according to the short chain;
    其中,所述第一标识信息包括所述终端显示所述预设页面时的网络之间互连的协议IP地址和显示所述预设页面设备的设备信息;所述第二标识信息包括所述终端当前的IP地址和设备信息。The first identifier information includes a protocol IP address interconnected between the networks when the terminal displays the preset page, and device information that displays the preset page device; the second identifier information includes the The current IP address and device information of the terminal.
  2. 如权利要求1所述的应用程序页面打开方法,其特征在于,所述当侦测到用户点击终端第一应用程序中所显示的第二应用程序预设页面的点击指令时,根据所述点击指令获取与所述预设页面对应的短链的步骤之前,还包括:The method for opening an application page according to claim 1, wherein when the user clicks a click command of the second application preset page displayed in the first application of the terminal, the click is performed according to the click Before the step of acquiring the short chain corresponding to the preset page, the method further includes:
    当侦测到在所述第一应用程序显示所述预设页面的显示指令时,根据所述显示指令获取所述预设页面的页面链接,以及所述第二应用程序的下载链接;When detecting that the first application displays the display instruction of the preset page, acquiring a page link of the preset page according to the display instruction, and a download link of the second application;
    建立所述页面链接和所述下载链接的映射关系,以生成与所述预设页面对应的短链,并存储所述短链。Establishing a mapping relationship between the page link and the download link to generate a short chain corresponding to the preset page, and storing the short chain.
  3. 如权利要求1所述的应用程序页面打开方法,其特征在于,所述短链中包括渠道参数,所述应用程序页面打开方法还包括:The application page opening method of claim 1, wherein the short chain includes a channel parameter, and the application page opening method further comprises:
    根据所述短链中的渠道参数计算所述第二应用程序的下载来源和下载次数。 Calculating a download source and a download frequency of the second application according to the channel parameter in the short chain.
  4. 如权利要求1所述的应用程序页面打开方法,其特征在于,所述当侦测到用户点击终端第一应用程序中所显示的第二应用程序预设页面的点击指令时,根据所述点击指令获取与所述预设页面对应的短链的步骤之后,还包括:The method for opening an application page according to claim 1, wherein when the user clicks a click command of the second application preset page displayed in the first application of the terminal, the click is performed according to the click After the step of acquiring the short chain corresponding to the preset page, the method further includes:
    根据所述短链判断所述终端是否安装有所述第二应用程序;Determining, according to the short chain, whether the terminal is installed with the second application;
    若根据所述短链确定所述终端已安装所述第二应用程序,则启动所述第二应用程序,并根据所述短链在所述第二应用程序中打开所述预设页面。If it is determined that the terminal has installed the second application according to the short chain, launching the second application, and opening the preset page in the second application according to the short chain.
  5. 如权利要求4所述的应用程序页面打开方法,其特征在于,所述根据所述短链判断所述终端中是否安装有所述第二应用程序的步骤包括:The application page opening method according to claim 4, wherein the step of determining whether the second application is installed in the terminal according to the short chain comprises:
    根据所述短链判断是否在预设时间内成功启动所述第二应用程序;Determining, according to the short chain, whether the second application is successfully started within a preset time;
    若在所述预设时间内成功启动所述第二应用程序,则确定所述终端已安装所述第二应用程序;If the second application is successfully started within the preset time, determining that the terminal has installed the second application;
    若在所述预设时间内未启动所述第二应用程序,则确定所述终端未安装所述第二应用程序。If the second application is not started within the preset time, it is determined that the terminal does not install the second application.
  6. 如权利要求1所述的应用程序页面打开方法,其特征在于,所述当侦测到所述下载指令时,根据所述下载指令下载所述第二应用程序,并获取与所述预设页面对应的第一标识信息和所述终端的第二标识信息的步骤之后,还包括:The method for opening an application page according to claim 1, wherein when the downloading instruction is detected, the second application is downloaded according to the downloading instruction, and the preset page is acquired. After the step of the corresponding first identification information and the second identification information of the terminal, the method further includes:
    判断所述第一标识信息和所述第二标识信息是否一致;Determining whether the first identification information and the second identification information are consistent;
    若所述第一标识信息和所述第二标识信息不一致,则在启动所述第二应用程序后,在所述第二应用程序中显示所述第二应用程序的默认页面。If the first identifier information and the second identifier information are inconsistent, after the second application is started, a default page of the second application is displayed in the second application.
  7. 如权利要求1所述的应用程序页面打开方法,其特征在于,所述若根据所述短链确定所述终端中未安装所述第二应用程序,则输出提示信息提示用户触发下载所述第二应用程序的下载指令的步骤之后,还包括:The method for opening an application page according to claim 1, wherein if the second application is not installed in the terminal according to the short chain, the prompt information is output to prompt the user to trigger the downloading. After the steps of the download instruction of the application, the method further includes:
    判断是否侦测到所述下载指令;Determining whether the download instruction is detected;
    若未侦测到所述下载指令,则在所述第一应用程序中显示所述预设页面。If the download instruction is not detected, the preset page is displayed in the first application.
  8. 如权利要求1所述的应用程序页面打开方法,其特征在于,所述若所述第一标识信息和所述第二标识信息一致,则根据所述短链在所述第二应用程序中打开所述预设页面的步骤包括:The application page opening method according to claim 1, wherein if the first identification information and the second identification information are consistent, the short chain is opened in the second application according to the short chain. The steps of the preset page include:
    若所述第一标识信息和所述第二标识信息一致,则确定所述终端的操作系统;If the first identifier information and the second identifier information are consistent, determining an operating system of the terminal;
    通过所述操作系统确定所述预设页面的打开方式;Determining, by the operating system, an open manner of the preset page;
    基于所述短链,根据所述打开方式在所述第二应用程序中打开所述预设页面。Based on the short chain, the preset page is opened in the second application according to the open mode.
  9. 如权利要求2所述的应用程序页面打开方法,其特征在于,所述若所述第一标识信息和所述第二标识信息一致,则根据所述短链在所述第二应用程序中打开所述预设页面的步骤包括:The application page opening method according to claim 2, wherein if the first identification information and the second identification information are consistent, the short chain is opened in the second application according to the short chain The steps of the preset page include:
    若所述第一标识信息和所述第二标识信息一致,则确定所述终端的操作系统;If the first identifier information and the second identifier information are consistent, determining an operating system of the terminal;
    通过所述操作系统确定所述预设页面的打开方式;Determining, by the operating system, an open manner of the preset page;
    基于所述短链,根据所述打开方式在所述第二应用程序中打开所述预设页面。Based on the short chain, the preset page is opened in the second application according to the open mode.
  10. 如权利要求3所述的应用程序页面打开方法,其特征在于,所述若所述第一标识信息和所述第二标识信息一致,则根据所述短链在所述第二应用程序中打开所述预设页面的步骤包括:The application page opening method according to claim 3, wherein if the first identification information and the second identification information are consistent, the short chain is opened in the second application according to the short chain The steps of the preset page include:
    若所述第一标识信息和所述第二标识信息一致,则确定所述终端的操作系统;If the first identifier information and the second identifier information are consistent, determining an operating system of the terminal;
    通过所述操作系统确定所述预设页面的打开方式;Determining, by the operating system, an open manner of the preset page;
    基于所述短链,根据所述打开方式在所述第二应用程序中打开所述预设页面。Based on the short chain, the preset page is opened in the second application according to the open mode.
  11. 如权利要求4所述的应用程序页面打开方法,其特征在于,所述若所述第一标识信息和所述第二标识信息一致,则根据所述短链在所述第二应用程序中打开所述预设页面的步骤包括:The application page opening method according to claim 4, wherein if the first identification information and the second identification information are consistent, the short chain is opened in the second application according to the short chain The steps of the preset page include:
    若所述第一标识信息和所述第二标识信息一致,则确定所述终端的操作系统;If the first identifier information and the second identifier information are consistent, determining an operating system of the terminal;
    通过所述操作系统确定所述预设页面的打开方式;Determining, by the operating system, an open manner of the preset page;
    基于所述短链,根据所述打开方式在所述第二应用程序中打开所述预设页面。Based on the short chain, the preset page is opened in the second application according to the open mode.
  12. 如权利要求5所述的应用程序页面打开方法,其特征在于,所述若所述第一标识信息和所述第二标识信息一致,则根据所述短链在所述第二应用程序中打开所述预设页面的步骤包括:The application page opening method according to claim 5, wherein if the first identification information and the second identification information are consistent, the short chain is opened in the second application according to the short chain The steps of the preset page include:
    若所述第一标识信息和所述第二标识信息一致,则确定所述终端的操作系统;If the first identifier information and the second identifier information are consistent, determining an operating system of the terminal;
    通过所述操作系统确定所述预设页面的打开方式;Determining, by the operating system, an open manner of the preset page;
    基于所述短链,根据所述打开方式在所述第二应用程序中打开所述预设页面。Based on the short chain, the preset page is opened in the second application according to the open mode.
  13. 如权利要求6所述的应用程序页面打开方法,其特征在于,所述若所述第一标识信息和所述第二标识信息一致,则根据所述短链在所述第二应用程序中打开所述预设页面的步骤包括:The application page opening method according to claim 6, wherein if the first identification information and the second identification information are consistent, the short chain is opened in the second application according to the short chain. The steps of the preset page include:
    若所述第一标识信息和所述第二标识信息一致,则确定所述终端的操作系统;If the first identifier information and the second identifier information are consistent, determining an operating system of the terminal;
    通过所述操作系统确定所述预设页面的打开方式;Determining, by the operating system, an open manner of the preset page;
    基于所述短链,根据所述打开方式在所述第二应用程序中打开所述预设页面。Based on the short chain, the preset page is opened in the second application according to the open mode.
  14. 如权利要求7所述的应用程序页面打开方法,其特征在于,所述若所述第一标识信息和所述第二标识信息一致,则根据所述短链在所述第二应用程序中打开所述预设页面的步骤包括:The application page opening method according to claim 7, wherein if the first identification information and the second identification information are consistent, the short chain is opened in the second application according to the short chain The steps of the preset page include:
    若所述第一标识信息和所述第二标识信息一致,则确定所述终端的操作系统;If the first identifier information and the second identifier information are consistent, determining an operating system of the terminal;
    通过所述操作系统确定所述预设页面的打开方式;Determining, by the operating system, an open manner of the preset page;
    基于所述短链,根据所述打开方式在所述第二应用程序中打开所述预设页面。Based on the short chain, the preset page is opened in the second application according to the open mode.
  15. 一种终端,其特征在于,所述终端包括存储器、处理器和存储在所述存储器上并可在所述处理器上运行的应用程序页面打开程序,所述应用程序页面打开程序被所述处理器执行时实现如权利要求1所述的应用程序页面打开方法中发送端对应的步骤。A terminal, comprising: a memory, a processor, and an application page open program stored on the memory and executable on the processor, the application page open program being processed The step of implementing the corresponding end of the application page opening method according to claim 1 when the device is executed.
  16. 一种计算机可读存储介质,其特征在于,所述计算机可读存储介质上存储有应用程序页面打开程序,所述应用程序页面打开程序被处理器执行时实现如权利要求1所述的应用程序页面打开方法的步骤。A computer readable storage medium, wherein the computer readable storage medium stores an application page open program, and the application page open program is executed by a processor to implement the application according to claim 1. The steps of the page open method.
  17. 一种应用程序页面打开装置,其特征在于,所述应用程序页面打开装置包括:An application page opening device, wherein the application page opening device comprises:
    获取模块,用于当侦测到用户点击终端第一应用程序中所显示的第二应用程序预设页面的点击指令时,根据所述点击指令获取与所述预设页面对应的短链;An acquiring module, configured to acquire a short chain corresponding to the preset page according to the click instruction when detecting that the user clicks a click instruction of the second application preset page displayed in the first application of the terminal;
    输出模块,用于若根据所述短链确定所述终端中未安装所述第二应用程序,则输出提示信息提示用户触发下载所述第二应用程序的下载指令;And an output module, configured to: if the second application is not installed in the terminal according to the short chain, output a prompt message prompting a user to trigger a download instruction of downloading the second application;
    下载模块,用于当侦测到所述下载指令时,根据所述下载指令下载所述第二应用程序;a downloading module, configured to download the second application according to the downloading instruction when the downloading instruction is detected;
    所述获取模块还用于获取与所述预设页面对应的第一标识信息和所述终端的第二标识信息;The acquiring module is further configured to acquire first identifier information corresponding to the preset page and second identifier information of the terminal;
    打开模块,用于若所述第一标识信息和所述第二标识信息一致,则根据所述短链在所述第二应用程序中打开所述预设页面;Opening a module, if the first identifier information and the second identifier information are consistent, opening the preset page in the second application according to the short chain;
    其中,所述第一标识信息包括所述终端显示所述预设页面时的网络之间互连的协议IP地址和显示所述预设页面设备的设备信息;所述第二标识信息包括所述终端当前的IP地址和设备信息。The first identifier information includes a protocol IP address interconnected between the networks when the terminal displays the preset page, and device information that displays the preset page device; the second identifier information includes the The current IP address and device information of the terminal.
  18. 如权利要求17所述的应用程序页面打开装置,其特征在于,所述获取模块还用于当侦测到在所述第一应用程序显示所述预设页面的显示指令时,根据所述显示指令获取所述预设页面的页面链接,以及所述第二应用程序的下载链接;The application page opening apparatus according to claim 17, wherein the obtaining module is further configured to: when detecting that the first application displays a display instruction of the preset page, according to the display The instruction acquires a page link of the preset page, and a download link of the second application;
    所述应用程序页面打开装置还包括:The application page opening device further includes:
    建立模块,用于建立所述页面链接和所述下载链接的映射关系,以生成与所述预设页面对应的短链,并存储所述短链。And a establishing module, configured to establish a mapping relationship between the page link and the download link, to generate a short chain corresponding to the preset page, and store the short chain.
  19. 如权利要求17所述的应用程序页面打开装置,其特征在于,所述短链中包括渠道参数,所述应用程序页面打开装置还包括:The application page opening device of claim 17, wherein the short chain includes a channel parameter, and the application page opening device further comprises:
    计算模块,用于根据所述短链中的渠道参数计算所述第二应用程序的下载来源和下载次数。And a calculation module, configured to calculate a download source and a download frequency of the second application according to the channel parameter in the short chain.
  20. 如权利要求17所述的应用程序页面打开装置,其特征在于,所述应用程序页面打开装置还包括:The application page opening apparatus of claim 17, wherein the application page opening apparatus further comprises:
    第一判断模块,用于根据所述短链判断所述终端是否安装有所述第二应用程序;a first determining module, configured to determine, according to the short chain, whether the terminal is installed with the second application;
    启动模块,用于若根据所述短链确定所述终端已安装所述第二应用程序,则启动所述第二应用程序;a startup module, configured to start the second application program if it is determined that the terminal has installed the second application according to the short chain;
    所述打开模块还用于根据所述短链在所述第二应用程序中打开所述预设页面。 The opening module is further configured to open the preset page in the second application according to the short chain.
PCT/CN2017/103544 2017-07-28 2017-09-26 Application program page opening method and apparatus, terminal and readable storage medium WO2019019340A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201710636446.7 2017-07-28
CN201710636446.7A CN107515764B (en) 2017-07-28 2017-07-28 Application page opening method, terminal and computer readable storage medium

Publications (1)

Publication Number Publication Date
WO2019019340A1 true WO2019019340A1 (en) 2019-01-31

Family

ID=60722842

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2017/103544 WO2019019340A1 (en) 2017-07-28 2017-09-26 Application program page opening method and apparatus, terminal and readable storage medium

Country Status (2)

Country Link
CN (1) CN107515764B (en)
WO (1) WO2019019340A1 (en)

Families Citing this family (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2019184053A1 (en) * 2018-03-28 2019-10-03 华为技术有限公司 Method and terminal for browsing page of application
CN110708346B (en) * 2018-07-09 2023-03-21 北京高绎信息技术有限公司 Information processing system and method
CN109446451B (en) * 2018-10-30 2021-01-05 网易传媒科技(北京)有限公司 Webpage display method, device, medium and computing equipment
CN109801095A (en) * 2018-12-14 2019-05-24 平安普惠企业管理有限公司 Method, apparatus and computer equipment based on the track cloud monitoring, tracing H5 to APP
CN109697632A (en) * 2018-12-18 2019-04-30 北京小米移动软件有限公司 Advertisement access method, device, equipment and storage medium
CN111538922B (en) * 2019-01-18 2023-11-21 百度在线网络技术(北京)有限公司 Link jump method, application client, device and storage medium
CN110109668A (en) * 2019-05-05 2019-08-09 北京金山安全软件有限公司 Application page display method and device, terminal device and medium
CN110471709B (en) * 2019-07-15 2022-12-06 北京字节跳动网络技术有限公司 Method, device, medium and electronic equipment for accelerating webpage opening speed
CN110442437A (en) * 2019-07-18 2019-11-12 维沃移动通信有限公司 A kind of application switching method and mobile terminal
CN112579264B (en) * 2019-09-30 2023-03-10 上海游昆信息技术有限公司 Application program jumping method, terminal and computer storage medium
CN110769052B (en) * 2019-10-18 2022-07-29 腾讯科技(深圳)有限公司 Channel information determination method and device, storage medium and electronic device
CN111367963B (en) * 2020-02-28 2023-07-25 北京百度网讯科技有限公司 Method, device, equipment and computer storage medium for determining source channel
CN111506839B (en) * 2020-04-17 2023-07-21 咪咕文化科技有限公司 Data statistics method and device, page server and statistics server
CN112291412B (en) * 2020-10-29 2022-04-22 维沃移动通信(杭州)有限公司 Application program control method and device and electronic equipment

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102299832A (en) * 2011-09-30 2011-12-28 互动在线(北京)科技有限公司 General network flow counting method
CN104239775A (en) * 2014-09-28 2014-12-24 北京奇虎科技有限公司 Method and device for establishing wireless connection of mobile phone end and PC (Personal Computer) end by short message
CN106293964A (en) * 2016-07-29 2017-01-04 青岛海信移动通信技术股份有限公司 The call method of a kind of application program and device

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106293652A (en) * 2015-05-20 2017-01-04 王筱娜 A kind of application dynamic initialization technology, system and application
US9628992B2 (en) * 2015-07-31 2017-04-18 Wyfi, Inc. WiFi access management system and methods of operation thereof
CN105718166A (en) * 2016-01-21 2016-06-29 努比亚技术有限公司 Display interface skip device and method

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102299832A (en) * 2011-09-30 2011-12-28 互动在线(北京)科技有限公司 General network flow counting method
CN104239775A (en) * 2014-09-28 2014-12-24 北京奇虎科技有限公司 Method and device for establishing wireless connection of mobile phone end and PC (Personal Computer) end by short message
CN106293964A (en) * 2016-07-29 2017-01-04 青岛海信移动通信技术股份有限公司 The call method of a kind of application program and device

Also Published As

Publication number Publication date
CN107515764B (en) 2020-04-24
CN107515764A (en) 2017-12-26

Similar Documents

Publication Publication Date Title
WO2019019340A1 (en) Application program page opening method and apparatus, terminal and readable storage medium
WO2019056752A1 (en) Household appliance network configuration method, device and system, and computer readable storage medium
WO2019019378A1 (en) Service processing method and apparatus, adapter and computer-readable storage medium
WO2019051908A1 (en) Terminal control method and device, and computer readable storage medium
WO2019019374A1 (en) Method, apparatus, and system for controlling household appliance with intelligent voice device
WO2019051890A1 (en) Terminal control method and device, and computer-readable storage medium
WO2019051899A1 (en) Terminal control method and device, and storage medium
WO2019051895A1 (en) Terminal control method and device, and storage medium
WO2019019376A1 (en) Service process management method, apparatus, and device, and computer readable storage medium
WO2015127859A1 (en) Sensitive text detecting method and apparatus
WO2018166107A1 (en) Hybrid-based compatibility method, adapter, operating apparatus and system, and computer-readable storage medium
WO2018233367A1 (en) Case registration method and apparatus, terminal, and computer readable storage medium
WO2019056462A1 (en) Name list distribution method, apparatus and device, and computer readable storage medium
WO2019062194A1 (en) Home appliance and method and system for controling home applicance and computer readable storage medium
WO2018176864A1 (en) Database permission management method and system, device, computer-readable storage medium
WO2018086293A1 (en) Method and apparatus for detecting data leakage interface, device, and storage medium
WO2018058919A1 (en) Identification information generating method, apparatus, device, and computer readable storage medium
WO2019051934A1 (en) Business personnel appraisal method, appraisal platform and computer-readable storage medium
WO2017063369A1 (en) Method of establishing wireless direct connection and device utilizing same
WO2018166236A1 (en) Claim settlement bill recognition method, apparatus and device, and computer-readable storage medium
WO2021002696A1 (en) Method for transferring subscription and electronic device for supporting the same
WO2019019351A1 (en) User behaviour data processing method and apparatus, and computer readable storage medium
WO2015180594A1 (en) Data distribution method and system and data receiving apparatus
WO2015158133A1 (en) Error correction method and system for voice control instruction
WO2015124073A1 (en) Process monitoring method, apparatus, and system

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 17919400

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 17919400

Country of ref document: EP

Kind code of ref document: A1

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 04.08.2020)

122 Ep: pct application non-entry in european phase

Ref document number: 17919400

Country of ref document: EP

Kind code of ref document: A1