Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Link jumping method and device

A technology of jumping and URL, which is applied in special data processing applications, instruments, electrical digital data processing, etc., and can solve problems such as unrecognizable and unsuccessful page jumping

Active Publication Date: 2017-01-04
北京云艾科技有限公司
View PDF6 Cites 12 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] In the prior art, in the H5 pages opened by many APPs, the web view component webview is used to render the page, but if the link corresponding to the above button does not start with http or https, the WebView component will not be able to recognize the link and will display an error information, causing the page to jump unsuccessfully

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Link jumping method and device
  • Link jumping method and device
  • Link jumping method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0046] refer to figure 1 , which shows a block diagram of steps of a link jump method in an embodiment of the present invention, including:

[0047] Step 110, monitoring whether an error occurs when the first application accesses the website through the page access component;

[0048] The first application of the present invention may be a non-browser APP, and the first application uses a webview component to display H5 pages.

[0049] In practical applications, many H5 pages displayed in the APP provide various buttons, and users can click the corresponding buttons to jump to the corresponding page. It can be understood that when the user clicks the corresponding button, the click of the link corresponding to the button is triggered, so that the process of jumping to the corresponding page can be performed.

[0050] Web page view component: WebView, a control for displaying web pages in the APP in the Android system, WebView can easily embed web pages into the app, and can ...

Embodiment 2

[0100] refer to figure 2 , which shows a block diagram of steps of a link jump method in an embodiment of the present invention, including:

[0101] Step 210, monitoring whether an error occurs when the first application accesses the website through the page access component;

[0102] Step 220, if there is an error when accessing the website through the page access component, obtain the website;

[0103] Step 230, from a plurality of predetermined rules, analyze the website according to the predetermined rules one by one, and judge whether there is a second application that can open the website in the system, until it is determined that there is a second application that can open the website in the system, Or there is no second application that can open the URL at all.

[0104] Step 240: If there is a second application that can open the website in the system, the third component notifies the second application corresponding to the website to visit the website.

[0105] Th...

Embodiment 3

[0109] refer to image 3 , which shows a structural block diagram of a link jump method in an embodiment of the present invention, including:

[0110] A monitoring module 310, configured to monitor whether an error occurs when the first application accesses the website through the page access component;

[0111] URL acquisition module 320, configured to acquire the URL if an error occurs when accessing the URL through the page access component;

[0112] The calling module 330 is configured to call the second application corresponding to the website to access the website through the third component.

[0113] Preferably, the URL acquisition module includes:

[0114] The first URL obtaining module is configured to notify the first application of the URL of the error through a callback function if the URL accessed by the webpage widget is in error.

[0115] Preferably, the calling module includes:

[0116] A judging submodule, configured to parse the website according to prede...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The embodiment of the invention provides a link jumping method and a link jumping device, and relates to the technical field of intelligent mobile terminals. The link jumping method comprises the following steps: monitoring whether an error is caused when a first application accesses a website through a page access assembly; if the error is caused when the first application accesses the website through a page access assembly, acquiring the website; invoking a second application corresponding to the website to access the website by using a third assembly. By the link jumping method, when a webview cannot successfully access the website, the third assembly is used for invoking the second application capable of opening the website to access the website, so that a page of the corresponding website can be normally opened.

Description

technical field [0001] The present invention relates to the technical field of intelligent mobile terminals, in particular to a method and device for link jumping. Background technique [0002] In smart mobile terminals, many APPs (applications) have been developed for the convenience of users. Users can access H5 (HTML5, HyperText Markup Language 5, Hypertext Markup Language 5) pages through applications, and many H5 pages will be displayed on the page. There is a button to jump to the corresponding website. [0003] In the prior art, in the H5 pages opened by many APPs, the web view component webview is used to render the page, but if the link corresponding to the above button does not start with http or https, the WebView component will not be able to recognize the link and will display an error information, resulting in unsuccessful page redirection. Contents of the invention [0004] In view of the above problems, the present invention proposes a link jump method an...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
IPC IPC(8): G06F17/30
Inventor 程金然蒋凯
Owner 北京云艾科技有限公司
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products