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

Method for realizing SDK multi-page jump based on js native

A multi-page, jumping technology, applied in the field of network information, can solve problems such as poor user experience and separate logic calls

Pending Publication Date: 2022-05-27
TIANYI ELECTRONICS COMMERCE
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0002] The business background is that the current h5 page provides external services in the form of an SDK. Now I want to enrich the page functions, but generally the SDK is just a separate method logic call, and some pages are just a single page. For those who want to use the SDK It is convenient, but the user experience is not good if there are multiple pages with rich content, so the SDK is empowered by multiple page jumps

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
  • Method for realizing SDK multi-page jump based on js native

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0025] In order to make the technical means, creative features, achievement goals and effects realized by the present invention easy to understand, the present invention will be further described below with reference to the specific embodiments.

[0026] refer to figure 1 , this specific implementation adopts the following technical solutions: a kind of js-based native realization of SDK multi-page jumping party, including the following steps:

[0027] S1. Change the link path of the current page natively through js without triggering the browser refresh mechanism, and use native js to have good compatibility with various systems and browser environments;

[0028] 1). Change the current page url through the window.history.pushState method without triggering the browser refresh;

[0029] 2). The value changed by the url of the current page is used as the routing identifier of the current page;

[0030] S2, the page jumps to the next page, stores the tag element of the current...

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 invention discloses a method for realizing SDK (Software Development Kit) multi-page jump based on js (JavaScript) native, and relates to the technical field of network information. According to the method, a js native method is utilized to change a route, a new page element is rendered, and an old page element is cached; when the user returns, the page elements are replaced by the previously cached page elements, so that the effect of returning to the browsing state of the previous page is achieved. According to the method, different elements are rendered by adopting the same module, so that the SDK can have a plurality of pages and can freely jump, the functionality is richer, meanwhile, the page rendering speed is high, the user experience is good, the function is more convenient to extend, and the SDK is uniformly packaged and can be provided for a js file used by a third party.

Description

technical field [0001] The invention relates to the technical field of network information, in particular to a method for realizing SDK multi-page jumping based on js natively. Background technique [0002] The business background is that the current h5 page is used as an SDK to provide services to the outside world. Now I want to enrich the page functions, but generally the SDK is only a separate method logic call, and a page is only a separate page. For some users who want to use the SDK It is convenient, but the user experience is not good for the needs of multiple pages with rich content, so the SDK is empowered by means of multiple page jumps. SUMMARY OF THE INVENTION [0003] In view of the deficiencies in the prior art, the purpose of the present invention is to provide a method for realizing the multi-page jump of the SDK based on js natively, to optimize the use experience of the SDK, to enable the SDK to perform multi-page interaction, and to expand the functions...

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
Patent Type & Authority Applications(China)
IPC IPC(8): G06F16/957G06F16/955G06F9/455
CPCG06F16/9574G06F16/955G06F9/45529
Inventor 苏会涛
Owner TIANYI ELECTRONICS COMMERCE
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