CN107515764B - Application page opening method, terminal and computer readable storage medium - Google Patents

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

Info

Publication number
CN107515764B
CN107515764B CN201710636446.7A CN201710636446A CN107515764B CN 107515764 B CN107515764 B CN 107515764B CN 201710636446 A CN201710636446 A CN 201710636446A CN 107515764 B CN107515764 B CN 107515764B
Authority
CN
China
Prior art keywords
application program
page
terminal
identification information
short chain
Prior art date
Legal status (The legal status 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 status listed.)
Active
Application number
CN201710636446.7A
Other languages
Chinese (zh)
Other versions
CN107515764A (en
Inventor
李偲
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Ping An Technology Shenzhen Co Ltd
Original Assignee
Ping An Technology Shenzhen Co Ltd
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 Ping An Technology Shenzhen Co Ltd filed Critical Ping An Technology Shenzhen Co Ltd
Priority to CN201710636446.7A priority Critical patent/CN107515764B/en
Priority to PCT/CN2017/103544 priority patent/WO2019019340A1/en
Publication of CN107515764A publication Critical patent/CN107515764A/en
Application granted granted Critical
Publication of CN107515764B publication Critical patent/CN107515764B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/61Installation
    • 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

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Information Transfer Between Computers (AREA)
  • Stored Programmes (AREA)

Abstract

The invention discloses an application program page opening method, a terminal and a computer readable storage medium, wherein the method comprises the following steps: when a click instruction of a user for clicking a preset page of a second application program displayed in a first application program of a terminal is detected, acquiring a short chain corresponding to the preset page according to the click instruction; if the second application program is determined not to be installed in the terminal according to the short chain, outputting prompt information to prompt a user to trigger a downloading instruction for downloading the second application program; downloading a second application program according to the downloading instruction, and acquiring first identification information corresponding to a preset page and second identification information of the terminal; and if the first identification information is consistent with the second identification information, opening a preset page in the second application program according to the short chain. According to the invention, each application program of the terminal is not independent any more, and the application programs can exchange data with each other, so that the intelligence of the terminal is improved, and meanwhile, the speed of opening the preset page in the second application program by a user is also improved.

Description

Application page opening method, terminal and computer readable storage medium
Technical Field
The present invention relates to the field of communications technologies, and in particular, to an application page opening method, a terminal, and a computer-readable storage medium.
Background
With the rapid development of terminals and the internet, various network applications cover aspects of people's lives. When an application is downloaded at the terminal, the application will stay on the top page of the application after it is opened, even if the user has previously opened the web page through other applications. For example, when a user opens a webpage of panning in wechat, the panning application is already installed in the terminal, and the panning application cannot be started and entered into the page when the panning webpage is opened in wechat. Therefore, each application program in the terminal is independent, and data cannot be exchanged between the application programs.
Disclosure of Invention
The invention mainly aims to provide an application program page opening method, a terminal and a computer readable storage medium, aiming at solving the technical problem that each application program in the terminal is independent and data among the application programs cannot be exchanged.
In order to achieve the above object, the present invention provides an application page opening method, including:
when a click instruction of a user for clicking a preset page of a second application program displayed in a first application program of a terminal is detected, acquiring a short chain corresponding to the preset page according to the click instruction;
if the second application program is determined not to be installed in the terminal according to the short chain, outputting prompt information to prompt a user to trigger a downloading instruction for downloading the second application program;
when the downloading instruction is detected, downloading the second application program 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 identification information is consistent with the second identification information, opening the preset page in the second application program according to the short chain;
the first identification information comprises a protocol IP address interconnected between networks when the terminal displays the preset page and equipment information for displaying equipment of the preset page; the second identification information includes the current IP address and device information of the terminal.
Preferably, before the step of obtaining a short chain corresponding to a preset page according to a click instruction when the click instruction of a user for clicking the preset page of a second application program displayed in a first application program of a terminal is detected, the method further includes:
when a display instruction for displaying the preset page in the first application program is detected, acquiring a page link of the preset page and a download link of the second application program according to the display instruction;
and establishing a mapping relation 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 method for opening the application page further includes:
and calculating the downloading source and the downloading times of the second application program according to the channel parameters in the short chain.
Preferably, after the step of obtaining the short chain corresponding to the preset page according to the click instruction when the click instruction of the user for clicking the preset page of the second application program displayed in the first application program of the terminal is detected, the method further includes:
judging whether the terminal is provided with the second application program or not according to the short chain;
and if the second application program is determined to be installed on the terminal according to the short chain, starting the second application program, and opening the preset page in the second application program according to the short chain.
Preferably, the step of determining whether the second application is installed in the terminal according to the short chain includes:
judging whether the second application program is successfully started within preset time or not according to the short chain;
if the second application program is successfully started within the preset time, determining that the second application program is installed in the terminal;
and if the second application program is not started within the preset time, determining that the second application program is not installed in the terminal.
Preferably, after the step of downloading the second application program according to the download instruction and acquiring the first identification information corresponding to the preset page and the second identification information of the terminal when the download instruction is detected, the method further includes:
judging whether the first identification information and the second identification information are consistent;
and if the first identification information is inconsistent with the second identification information, displaying a default page of the second application program in the second application program after the second application program is started.
Preferably, after the step of outputting a prompt message to prompt a user to trigger a download instruction for downloading the second application program if it is determined that the second application program is not installed in the terminal according to the short chain, the method further includes:
judging whether the downloading instruction is detected;
and if the downloading instruction is not detected, displaying the preset page in the first application program.
Preferably, if the first identification information and the second identification information are consistent, the step of opening the preset page in the second application program according to the short chain includes:
if the first identification information is consistent with the second identification information, determining an operating system of the terminal;
determining an opening mode of the preset page through the operating system;
and opening the preset page in the second application program according to the opening mode based on the short chain.
In addition, in order to achieve the above object, the present invention further provides a terminal, where the terminal includes a memory, a processor, and an application page opening program stored in the memory and operable on the processor, and when the application page opening program is executed by the processor, the corresponding step of the sending end in the application page opening method is implemented.
In addition, to achieve the above object, the present invention further provides a computer readable storage medium, on which an application page opening program is stored, and the application page opening program, when executed by a processor, implements the steps of the application page opening method as described above.
According to the method, when a click instruction of a user for clicking a preset page of a second application program displayed in a first application program of a terminal is detected, a short chain corresponding to the preset page is obtained according to the click instruction; if the second application program is determined not to be installed in the terminal according to the short chain, outputting prompt information to prompt a user to trigger a downloading instruction for downloading the second application program; when the downloading instruction is detected, downloading the second application program according to the downloading instruction, and acquiring first identification information corresponding to the preset page and second identification information of the terminal; and if the first identification information is consistent with the second identification information, opening the preset page in the second application program according to the short chain. When a page of another application program is opened in a certain application program, if the application program of the page is not installed in the terminal, the user is prompted to download the application program of the page. After the application program of the page is successfully installed and started, the page is directly opened in the application program of the page, so that the application programs of the terminal are not independent any more, data can be exchanged with each other, the intelligence of the terminal is improved, and meanwhile, the speed of opening the preset page in the second application program by a user is also improved.
Drawings
Fig. 1 is a schematic terminal structure diagram of a hardware operating environment according to an embodiment of the present invention;
FIG. 2 is a flowchart illustrating a first embodiment of a method for opening an application page according to the present invention;
fig. 3 is a schematic flowchart of a process of opening the preset page in the second application according to the short chain if the first identification information is consistent with the second identification information according to the embodiment of the present invention;
FIG. 4 is a flowchart illustrating a second embodiment of a method for opening an application page according to the present invention;
fig. 5 is a flowchart illustrating a method for opening an application page according to a third embodiment of the present invention.
The implementation, functional features and advantages of the objects of the present invention will be further explained with reference to the accompanying drawings.
Detailed Description
It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
As shown in fig. 1, fig. 1 is a schematic terminal structure diagram of a hardware operating environment according to an embodiment of the present invention.
It should be noted that fig. 1 is a schematic diagram of a terminal structure of a hardware operating environment of the terminal. The terminal of the embodiment of the invention can be a PC, and can also be a mobile terminal device such as a smart phone, a tablet computer, an electronic book reader, an MP3(Moving Picture Experts Group Audio Layer III, Audio Layer 3 of dynamic image Experts compression standard), an MP4(Moving Picture Experts Group Audio Layer IV, Audio Layer 4 of dynamic image Experts compression standard), a portable computer, and the like.
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, a communication bus 1002. Wherein a communication bus 1002 is used to enable connective communication between these components. The user interface 1003 may include a Display screen (Display), an input unit such as a Keyboard (Keyboard), and the optional user interface 1003 may also include a standard wired interface, a wireless interface. The network interface 1004 may optionally include a standard wired interface, a wireless interface (e.g., WI-FI interface). The memory 1005 may be a high-speed RAM memory or a non-volatile memory (e.g., a magnetic disk memory). The memory 1005 may alternatively be a storage device separate from the processor 1001.
Optionally, the terminal may further include a camera, a Radio Frequency (RF) circuit, a sensor, an audio circuit, a WiFi module, and the like.
Those skilled in the art will appreciate that the terminal structure shown in fig. 1 is not intended to be limiting and may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components.
As shown in fig. 1, a memory 1005, which is a kind of computer storage medium, may include therein an operating system and an application page opening program. The operating system is a program for managing and controlling hardware and software resources in the terminal, and supports an application page opening program and the running of other software and/or programs.
In the schematic structural diagram of the terminal shown in fig. 1, the network interface 1004 is mainly used for connecting a background server and performing data communication with the server; the user interface 1003 is mainly used for receiving and detecting various operation commands. The processor 1001 may be configured to invoke an application page opening program stored in the memory 1005 and perform the following operations:
when a click instruction of a user for clicking a preset page of a second application program displayed in a first application program of a terminal is detected, acquiring a short chain corresponding to the preset page according to the click instruction;
if the second application program is determined not to be installed in the terminal according to the short chain, outputting prompt information to prompt a user to trigger a downloading instruction for downloading the second application program;
when the downloading instruction is detected, downloading the second application program 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 identification information is consistent with the second identification information, opening the preset page in the second application program according to the short chain;
the first identification information comprises a protocol IP address interconnected between networks when the terminal displays the preset page and equipment information for displaying equipment of the preset page; the second identification information includes the current IP address and device information of the terminal.
Further, when a click instruction of a user for clicking a preset page of a second application program displayed in a first application program of a terminal is detected, before a step of obtaining a short chain corresponding to the preset page according to the click instruction, the processor 1001 may be further configured to invoke an application program page opening program stored in the memory 1005, and perform the following operations:
when a display instruction for displaying the preset page in the first application program is detected, acquiring a page link of the preset page and a download link of the second application program according to the display instruction;
and establishing a mapping relation 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 processor 1001 may be further configured to call an application page opening program stored in the memory 1005, and perform the following operations:
and calculating the downloading source and the downloading times of the second application program according to the channel parameters in the short chain.
Further, after the step of obtaining the short chain corresponding to the preset page according to the click instruction when the click instruction of the user for clicking the preset page of the second application program displayed in the first application program of the terminal is detected, the processor 1001 may be further configured to call an application program page opening program stored in the memory 1005, and execute the following operations:
judging whether the terminal is provided with the second application program or not according to the short chain;
and if the second application program is determined to be installed on the terminal according to the short chain, starting the second application program, and opening the preset page in the second application program according to the short chain.
Further, the step of determining whether the second application is installed in the terminal according to the short chain includes:
judging whether the second application program is successfully started within preset time or not according to the short chain;
if the second application program is successfully started within the preset time, determining that the second application program is installed in the terminal;
and if the second application program is not started within the preset time, determining that the second application program is not installed in the terminal.
Further, after the step of downloading the second application program according to the download instruction and acquiring the first identification information corresponding to the preset page and the second identification information of the terminal when the download instruction is detected, the processor 1001 may be further configured to invoke an application program page opening program stored in the memory 1005, and execute the following operations:
judging whether the first identification information and the second identification information are consistent;
and if the first identification information is inconsistent with the second identification information, displaying a default page of the second application program in the second application program after the second application program is started.
Further, after the step of outputting a prompt message to prompt the user to trigger a download instruction for downloading the second application program if it is determined that the second application program is not installed in the terminal according to the short chain, the processor 1001 may be configured to invoke an application program page opening program stored in the memory 1005, and execute the following operations:
judging whether the downloading instruction is detected;
and if the downloading instruction is not detected, displaying the preset page in the first application program.
Further, if the first identification information is consistent with the second identification information, the step of opening the preset page in the second application program according to the short chain includes:
if the first identification information is consistent with the second identification information, determining an operating system of the terminal;
determining an opening mode of the preset page through the operating system;
and opening the preset page in the second application program according to the opening mode based on the short chain.
Based on the hardware structure, various embodiments of the application page opening method are provided.
Referring to fig. 2, fig. 2 is a flowchart illustrating a first embodiment of an application page opening method according to the present invention.
In the present embodiment, an embodiment of an application page opening method is provided, and it should be noted that although a logical order is shown in the flowchart, in some cases, the steps shown or described may be performed in an order different from that here.
The application program page opening method comprises the following steps:
step S10, when a click command of a user for clicking a preset page of a second application program displayed in a first application program of the terminal is detected, short chains corresponding to the preset page are obtained according to the click command.
When the terminal detects a click instruction of a user for clicking a preset page of a second application program displayed by a first application program, the terminal triggers an acquisition instruction according to the click instruction, and acquires a short chain corresponding to the preset page according to the acquisition instruction. The obtaining instruction is an operation instruction corresponding to the click instruction, and when the terminal detects the click instruction of the user, the terminal calls the corresponding obtaining instruction according to the click instruction. It should be noted that, in this embodiment, when the first application program displays the preset page of the second application program, a short chain corresponding to the preset page is generated and stored in the memory. The short chain at least comprises a page link of the preset page and a download address of the second application program. The preset page is a specific page of the second application program. Because the page link of the preset page exists in the short chain, the terminal acquires the short chain of the page link containing the preset page in the memory in the process of acquiring the short chain corresponding to the preset page according to the acquisition instruction.
In this embodiment, the terminal may detect whether the click command is detected through the touch screen.
In the embodiment of the invention, when the first application program displays the preset page of the second application program, the processor of the terminal acquires the related information of the second application program and the channel parameter of the first application program, and configures the related information and the channel parameter into the Palink. Specifically, the related information includes a second application name, a Bundle ID (application Identifier) and/or a Package name (application Package name), a URI (Uniform Resource Identifier) Scheme, a download link, a Team ID (only provided by the IOS edition), and a URI. The Palink incorporates an SDK (software development Kit).
And step S20, if the second application program is determined not to be installed in the terminal according to the short chain, outputting prompt information to prompt a user to trigger a downloading instruction for downloading the second application program.
When the terminal determines that the second application program is not installed according to the short chain, the terminal outputs prompt information in a screen of the terminal to prompt a user to trigger a downloading instruction for downloading the second application program. In this embodiment, the terminal may output a text prompt message "whether to download the second application program" in its screen, and display selection buttons of "yes" and "no" on its screen, so that the user may trigger a download instruction to download the second application program by clicking the selection button. It can be understood that, when the user clicks the "yes" corresponding button, a download instruction for downloading the second application program is triggered; and when the user clicks the button corresponding to the No, the downloading instruction for downloading the second application program is not triggered.
Step S30, when the download instruction is detected, downloading the second application program according to the download instruction, and acquiring first identification information corresponding to the preset page and second identification information of the terminal.
The first identification information comprises a protocol IP address interconnected between networks when the terminal displays the preset page and equipment information for displaying equipment of the preset page; the second identification information includes the current IP address and device information of the terminal.
When the terminal detects a downloading instruction triggered by a user through a touch screen of the terminal, the terminal acquires a downloading link in a short chain according to the downloading instruction, downloads a second application program through the downloading link, acquires first identification information corresponding to a preset page through the short chain and acquires second identification information of the terminal. Specifically, in this embodiment, the terminal acquires first identification information through a preset page, where the first identification information includes an IP address when the terminal displays the preset page and device information of a device displaying the preset page, and is recorded as a first IP address and the first device information; and the terminal acquires second identification information through the SDK in the Palink, wherein the second identification information comprises the current IP address and the equipment information of the terminal and is recorded as the second IP address and the second equipment information. The device information includes resolution, operating system, device model, and the like.
And after the terminal downloads the second application program, automatically installing the second application program, and after the second application program is successfully installed, automatically starting the second application program.
Further, the application page opening method further comprises the following steps:
step a, judging whether the downloading instruction is detected;
and b, if the downloading instruction is not detected, displaying the preset page in the first application program.
And after the terminal outputs the prompt message, judging whether a downloading instruction for downloading the second application program is detected. And if the terminal does not detect the downloading instruction, continuing to display the preset page of the second application program in the first application program.
Further, the application page opening method further comprises the following steps:
and c, judging whether the first identification information and the second identification information are consistent.
And d, if the first identification information is inconsistent with the second identification information, displaying a default page of the second application program in the second application program after the second application program is started.
And when the terminal acquires the first identification information and the second identification information, judging whether the first identification information and the second identification information are consistent. And if the first identification information is inconsistent with the second identification information, displaying a default page of the second application program in the second application program after the second application program is started. It will be appreciated that the default page is the home page of the second application. The user searches the keywords corresponding to the preset page in the home page, and the preset page can be opened. Specifically, the first identification information is acquired by a processor in the terminal controlling a preset page, and the second identification information is acquired by a processor controlling an SDK. And the processor controls the preset page to acquire the first identification information and controls the SDK to acquire the second identification information, and whether the first identification information and the second identification information are consistent or not is compared. And when the first IP address is inconsistent with the second IP address and/or the first equipment information is inconsistent with the second equipment information, confirming that the first identification information is inconsistent with the second identification information. And when the first IP address is consistent with the second IP address and the first equipment information is consistent with the second equipment information, confirming that the first identification information is consistent with the second identification information.
And step S40, if the first identification information is consistent with the second identification information, opening the preset page in the second application program according to the short chain.
And when the terminal determines that the first identification information is consistent with the second identification information, the terminal opens a preset page in the second application program according to the page link in the short chain.
Further, referring to fig. 3, step S40 includes:
step S41, if the first identification information and the second identification information are consistent, determining an operating system of the terminal.
And step S42, determining the opening mode of the preset page through the operating system.
And step S43, opening the preset page in the second application program according to the opening mode based on the short chain.
When the terminal determines that the first identification information and the second identification information are consistent, the terminal determines the type of the operating system. It should be noted that there are two types of terminal operating systems, which are Android and iOS. When the operating system of the terminal is Android, determining that an opening mode for opening a preset page is a Uniform Resource Locator (URL) Scheme. When the webpage link in the short chain is obtained, the terminal directly jumps to the preset page after the second application program is started according to the webpage link through the URL Scheme so as to open the preset page in the second application program. And when the operating system of the terminal is iOS, determining that the opening mode for opening the preset page is Universal Link. When the webpage Link in the short chain is obtained, the terminal directly jumps to the preset page after the second application program is started according to the webpage Link through the Universal Link so as to open the preset page in the second application program. It should be noted that the URL Scheme is not a conventional HTTP (hypertext Transfer Protocol) link; while the Universal Link is a form of a conventional HTTP Link. The application program can locate a specific page or locate a specific function in the application program through the URL Scheme or the Universal Link.
If the first application program is WeChat and the second application program is APP of a certain E-business, the user opens an active page in the APP in the WeChat, and if the APP is not installed in the terminal, the terminal outputs prompt information on a screen of the terminal to prompt the user to download the APP. When the user selects to download the APP, the terminal downloads the APP, and directly enters the active page after the APP is successfully installed and started, without the need that the user searches keywords corresponding to the active page in the APP home page after starting the APP, finds the active page, and then clicks the active page to open the active page in the APP.
In the embodiment, when a click instruction of a user for clicking a preset page of a second application program displayed in a first application program of a terminal is detected, a short chain corresponding to the preset page is obtained according to the click instruction; if the second application program is determined not to be installed in the terminal according to the short chain, outputting prompt information to prompt a user to trigger a downloading instruction for downloading the second application program; when the downloading instruction is detected, downloading the second application program according to the downloading instruction, and acquiring first identification information corresponding to the preset page and second identification information of the terminal; and if the first identification information is consistent with the second identification information, opening the preset page in the second application program according to the short chain. When a page of another application program is opened in a certain application program, if the application program of the page is not installed in the terminal, the user is prompted to download the application program of the page. After the application program of the page is successfully installed and started, the page is directly opened in the application program of the page, so that the application programs of the terminal are not independent any more, data can be exchanged with each other, the intelligence of the terminal is improved, the speed of opening the preset page in the second application program by a user is improved, the conversion rate of popularization and propagation of the preset page of the second application program is improved, and the user can conveniently check the preset page in the second application program.
Further, a second embodiment of the application page opening method of the present invention is provided.
The difference between the second embodiment of the application page opening method and the first embodiment of the application page opening method is that, referring to fig. 4, the application page opening method includes:
step S50, when the display instruction for displaying the preset page in the first application is detected, acquiring a page link of the preset page and a download link of the second application according to the display instruction.
And step S60, establishing a mapping relation between the page link and the download link to generate a short chain corresponding to the preset page, and storing the short chain.
When the terminal detects a display instruction for displaying a preset page in the first application program, the page link of the preset page and the download link of the second application program corresponding to the preset page are obtained according to the received display instruction. In particular, the display instruction may be triggered by a user in a terminal screen, which is a touch screen.
When the terminal acquires the page link of the preset page and the download link of the second application, establishing a mapping relation between the page link and the download link, generating a short chain corresponding to the preset page, and storing the short chain. It should be noted that the short chain is a form in which the page link and the download link are stored in the memory correspondingly.
In the embodiment, a short chain corresponding to the preset page is generated, where the short chain includes a page link of the preset page and a download link for downloading the second application program, so that the terminal can download the second application program in the process of displaying the preset page in the first application program according to the short chain, and directly jump to the preset page after the second application program is started, so that the user can quickly open the preset page in the second application program.
Further, the short chain comprises channel parameters, and the application program page opening method further comprises the following steps:
and e, calculating the downloading source and the downloading times of the second application program according to the channel parameters in the short chain.
The short chain may also include a channel parameter of the first application. After the terminal downloads the second application program, the downloading source and the downloading times of the second application program can be calculated according to the channel parameters of the first application program in the short chain, so that an application program merchant can optimize the delivery channel of the application program according to the calculated downloading source and downloading times. It should be noted that, when the first application is a wechat, the channel parameter may be an identifier, such as "weixin"; when the first application is an update QQ, the channel parameter may be an identifier, such as "QQ," that represents the update QQ.
Further, a third embodiment of the application page opening method of the present invention is provided.
The difference between the third embodiment of the application page opening method and the first embodiment of the application page opening method is that, referring to fig. 5, the application page opening method includes:
and step S70, judging whether the terminal is provided with the second application program according to the short chain.
When the terminal acquires the short chain corresponding to the preset page, the terminal judges whether a second application program is installed according to the acquired short chain.
Further, step S70 includes:
and f, judging whether the second application program is successfully started within preset time or not according to the short chain.
And g, if the second application program is successfully started within the preset time, determining that the second application program is installed in the terminal.
And h, if the second application program is not started within the preset time, determining that the second application program is not installed in the terminal.
The specific process that the terminal judges whether the second application program is installed according to the acquired short chain is as follows: and the terminal starts the second application program according to the short-chain middle page link and judges whether the second application program is started successfully within the preset time. If the second application program is successfully started within the preset time, the terminal determines that the second application program is installed; and if the second application program is not successfully started within the preset time, the terminal determines that the second application program is not installed. The preset time may be set according to specific needs, for example, may be set to 5 seconds, 8 seconds, or 10 seconds.
Step S80, if the second application program is determined to be installed on the terminal according to the short chain, the second application program is started, and the preset page is opened in the second application program according to the short chain.
And when the terminal determines that the second application program is installed according to the short chain, the terminal automatically starts the second application program and opens a preset page in the second application program according to the webpage link in the short chain.
In this embodiment, when the second application program is installed in the terminal, the second application program is automatically started, and the preset page is directly displayed in the second application program, so that the opening speed of the preset page in the second application program is increased.
In addition, an embodiment of the present invention further provides a computer-readable storage medium, where an application page opening program is stored on the computer-readable storage medium, and when executed by a processor, the application page opening program implements the following steps:
when a click instruction of a user for clicking a preset page of a second application program displayed in a first application program of a terminal is detected, acquiring a short chain corresponding to the preset page according to the click instruction;
if the second application program is determined not to be installed in the terminal according to the short chain, outputting prompt information to prompt a user to trigger a downloading instruction for downloading the second application program;
when the downloading instruction is detected, downloading the second application program 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 identification information is consistent with the second identification information, opening the preset page in the second application program according to the short chain;
the first identification information comprises a protocol IP address interconnected between networks when the terminal displays the preset page and equipment information for displaying equipment of the preset page; the second identification information includes the current IP address and device information of the terminal.
Further, when a click instruction of a user for clicking a preset page of a second application program displayed in a first application program of a terminal is detected, before the step of obtaining a short chain corresponding to the preset page according to the click instruction, the application program page opening program is executed by a processor to realize the following steps:
when a display instruction for displaying the preset page in the first application program is detected, acquiring a page link of the preset page and a download link of the second application program according to the display instruction;
and establishing a mapping relation 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 when executed by the processor implements the following steps:
and calculating the downloading source and the downloading times of the second application program according to the channel parameters in the short chain.
Further, after the step of obtaining the short chain corresponding to the preset page according to the click instruction when the click instruction of the user for clicking the preset page of the second application program displayed in the first application program of the terminal is detected, the following steps are implemented when the application program page opening program is executed by the processor:
judging whether the terminal is provided with the second application program or not according to the short chain;
and if the second application program is determined to be installed on the terminal according to the short chain, starting the second application program, and opening the preset page in the second application program according to the short chain.
Further, the step of determining whether the second application is installed in the terminal according to the short chain includes:
judging whether the second application program is successfully started within preset time or not according to the short chain;
if the second application program is successfully started within the preset time, determining that the second application program is installed in the terminal;
and if the second application program is not started within the preset time, determining that the second application program is not installed in the terminal.
Further, after the step of downloading the second application program according to the download instruction and acquiring the first identification information corresponding to the preset page and the second identification information of the terminal when the download instruction is detected, the application program page opening program is executed by the processor to implement the following steps:
judging whether the first identification information and the second identification information are consistent;
and if the first identification information is inconsistent with the second identification information, displaying a default page of the second application program in the second application program after the second application program is started.
Further, after the step of outputting a prompt message to prompt a user to trigger a download instruction for downloading the second application program if the second application program is determined not to be installed in the terminal according to the short chain, the application program page opening program is executed by the processor to implement the following steps:
judging whether the downloading instruction is detected;
and if the downloading instruction is not detected, displaying the preset page in the first application program.
Further, if the first identification information is consistent with the second identification information, the step of opening the preset page in the second application program according to the short chain includes:
if the first identification information is consistent with the second identification information, determining an operating system of the terminal;
determining an opening mode of the preset page through the operating system;
and opening the preset page in the second application program according to the opening mode based on the short chain.
The specific implementation manner of the computer-readable storage medium of the present invention is substantially the same as that of the above-mentioned embodiments of the application page opening method, and is not described herein again.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal device (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present invention.
The above description is only a preferred embodiment of the present invention, and not intended to limit the scope of the present invention, and all modifications of equivalent structures and equivalent processes, which are made by using the contents of the present specification and the accompanying drawings, or directly or indirectly applied to other related technical fields, are included in the scope of the present invention.

Claims (10)

1. An application page opening method is characterized by comprising the following steps:
when a click instruction of a user for clicking a preset page of a second application program displayed in a first application program of a terminal is detected, acquiring a short chain corresponding to the preset page according to the click instruction;
if the second application program is determined not to be installed in the terminal according to the short chain, outputting prompt information to prompt a user to trigger a downloading instruction for downloading the second application program;
when the download instruction is detected, downloading the second application program according to the download instruction, acquiring first identification information corresponding to the preset page through the short chain, and acquiring second identification information of the terminal through an SDK (software development kit) in a Palink, wherein in the process of displaying the preset page of the second application program, the terminal acquires related information of the second application program and channel parameters of the first application program, and configures the related information and the channel parameters into the Palink;
if the first identification information is consistent with the second identification information, opening the preset page in the second application program according to the short chain;
the first identification information comprises a protocol IP address interconnected between networks when the terminal displays the preset page and equipment information for displaying equipment of the preset page; the second identification information includes the current IP address and device information of the terminal.
2. The method for opening an application page according to claim 1, wherein before the step of obtaining the short chain corresponding to the preset page according to the click instruction when the click instruction of the user for clicking the preset page of the second application displayed in the first application of the terminal is detected, the method further comprises:
when a display instruction for displaying the preset page in the first application program is detected, acquiring a page link of the preset page and a download link of the second application program according to the display instruction;
and establishing a mapping relation between the page link and the download link to generate a short chain corresponding to the preset page, and storing the short chain.
3. The method of opening an application page of claim 1, wherein the short chain includes a channel parameter, the method further comprising:
and calculating the downloading source and the downloading times of the second application program according to the channel parameters in the short chain.
4. The method for opening an application page according to claim 1, wherein, when detecting a click command of a user for clicking a preset page of a second application program displayed in a first application program of a terminal, after the step of obtaining a short chain corresponding to the preset page according to the click command, the method further comprises:
judging whether the terminal is provided with the second application program or not according to the short chain;
and if the second application program is determined to be installed on the terminal according to the short chain, starting the second application program, and opening the preset page in the second application program according to the short chain.
5. The method for opening an application page according to claim 4, wherein the step of determining whether the second application is installed in the terminal according to the short chain comprises:
judging whether the second application program is successfully started within preset time or not according to the short chain;
if the second application program is successfully started within the preset time, determining that the second application program is installed in the terminal;
and if the second application program is not started within the preset time, determining that the second application program is not installed in the terminal.
6. The method for opening an application page according to claim 1, wherein after the step of downloading the second application program according to the download instruction and acquiring the first identification information corresponding to the preset page and the second identification information of the terminal when the download instruction is detected, the method further comprises:
judging whether the first identification information and the second identification information are consistent;
and if the first identification information is inconsistent with the second identification information, displaying a default page of the second application program in the second application program after the second application program is started.
7. The method for opening an application page according to claim 1, wherein after the step of outputting a prompt message to prompt a user to trigger a download instruction for downloading the second application program if it is determined that the second application program is not installed in the terminal according to the short chain, the method further comprises:
judging whether the downloading instruction is detected;
and if the downloading instruction is not detected, displaying the preset page in the first application program.
8. The method for opening the application page according to any one of claims 1 to 7, wherein if the first identification information and the second identification information are consistent, the step of opening the preset page in the second application according to the short chain includes:
if the first identification information is consistent with the second identification information, determining an operating system of the terminal;
determining an opening mode of the preset page through the operating system;
and opening the preset page in the second application program according to the opening mode based on the short chain.
9. A terminal, characterized in that the terminal comprises a memory, a processor and an application page opening program stored on the memory and executable on the processor, the application page opening program, when executed by the processor, implementing the steps in the application page opening method according to any of claims 1 to 8.
10. A computer-readable storage medium, on which an application page opening program is stored, which when executed by a processor implements the steps of the application page opening method according to any one of claims 1 to 8.
CN201710636446.7A 2017-07-28 2017-07-28 Application page opening method, terminal and computer readable storage medium Active CN107515764B (en)

Priority Applications (2)

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

Applications Claiming Priority (1)

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

Publications (2)

Publication Number Publication Date
CN107515764A CN107515764A (en) 2017-12-26
CN107515764B true CN107515764B (en) 2020-04-24

Family

ID=60722842

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710636446.7A Active CN107515764B (en) 2017-07-28 2017-07-28 Application page opening method, terminal and computer 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 (2)

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

Family Cites Families (4)

* 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
CN104239775B (en) * 2014-09-28 2016-11-30 北京奇虎科技有限公司 The method and apparatus that mobile phone terminal and PC end set up wireless connections by short message
US9628992B2 (en) * 2015-07-31 2017-04-18 Wyfi, Inc. WiFi access management system and methods of operation thereof
CN106293964A (en) * 2016-07-29 2017-01-04 青岛海信移动通信技术股份有限公司 The call method of a kind of application program and device

Patent Citations (2)

* 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
CN105718166A (en) * 2016-01-21 2016-06-29 努比亚技术有限公司 Display interface skip device and method

Also Published As

Publication number Publication date
CN107515764A (en) 2017-12-26
WO2019019340A1 (en) 2019-01-31

Similar Documents

Publication Publication Date Title
CN107515764B (en) Application page opening method, terminal and computer readable storage medium
US11921996B2 (en) Information processing terminal and control method
US9584612B2 (en) Systems and methods for pushing applications
CN109117361B (en) Remote debugging method, related equipment and system for small program
CN109388762B (en) Application sharing method and device
CN103269396B (en) The method and system that a kind of pair of mobile terminal is managed
EP2977893B1 (en) Lightweight app offline updating method, device and terminal
CN104778063A (en) Method and device for updating resource
CN107741844B (en) Method and device for generating application installation package
CN105472694B (en) Method, device, terminal and storage medium for accessing WiFi through scanning two-dimensional code
KR20150009996A (en) Method and device for displaying pushed information
CN109947771B (en) File type conversion method, apparatus, device and computer readable storage medium
JP2009527946A (en) Dynamic wallpaper on mobile communication devices
CN107729014B (en) Page jump method and structure based on Android
JP2014503926A (en) Apparatus and method for providing automatic application installation function in digital device
WO2015000383A1 (en) Method, apparatus and system for information recommending
CN104881304B (en) Resource downloading method and device
CN108156271B (en) Communication method and device and electronic equipment
CN106713395B (en) Data downloading method and device
CN105183493A (en) Display method and device of network information
CN108182090B (en) Flash plug-in loading method and device based on blink kernel
CN111898053A (en) Page browsing method, device, equipment and computer readable storage medium
CN109740014B (en) Screenshot management method, terminal device and storage medium
CN108052401B (en) System attribute monitoring method, terminal device and computer readable storage medium
CN107391132B (en) Method, device and equipment for target App to execute preset action

Legal Events

Date Code Title Description
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant