Hybrid application multi-level page routing skip method based on React Native

A hybrid application and page jump technology, applied in the direction of software design, etc., to achieve the effect of reducing the total amount of code and quickly locating

Active Publication Date: 2020-06-09
南京新贝金服科技有限公司
View PDF3 Cites 9 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0008] For the above-mentioned problems, there i

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
  • Hybrid application multi-level page routing skip method based on React Native
  • Hybrid application multi-level page routing skip method based on React Native
  • Hybrid application multi-level page routing skip method based on React Native

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0036] The present invention will be further described below in conjunction with accompanying drawing and exemplary embodiment:

[0037]figure 1 It is a flow chart realized by the method for React Native hybrid application multi-level page routing jump in the embodiment of the present invention, and the specific steps are as follows:

[0038] Step S1: The pages of each level in the hybrid application are registered in the routing table in the form of registered routing short links; based on the registered routing short links in the routing table, the jump mapping relationship between the routing short links of each level of pages is stored in In the routing jump system;

[0039] The routing jump system is selected as Android-side ARouter and IOS-side MGJRouter according to the operating system of the mobile application. By calling the third-party routing jump system, execute the jump action to jump to the native page;

[0040] Step S2: When the React Native side (referred to...

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 hybrid application multi-level page routing skip method based on React Native. The method comprises the steps of: uniquely identifying a native page and a React Native page of each level by using a routing short chain, wherein the native page and the React Native page are registered in a routing table through a routing short chain; verifying a routing short chain in a page skip request URL; judging the page type; on the basis of not increasing or even reducing manually written codes; achieving cross-level positioning and skipping of the page, wherein only the routingtable needs to be maintained and codes do not need to be added for later jump rule change; and aiming at multi-stage skip among React Native pages, enabling all React Native page to-be-monitored skipexecution notifications to directly call the navigator to execute skip action no matter what page level is, so that the total amount of codes needing to be written in traditional page skip is reduced,and cross-level positioning and skip of the page are realized.

Description

technical field [0001] The present invention relates to the field of mobile development, in particular to a React Native-based mixed application multi-level page routing and jumping method. Background technique [0002] A multi-level page is a description of the structural relationship of website pages, and any website is based on this three-level structure. [0003] Hybrid applications are a mixture of native applications and web applications, where native applications can directly run on the current operating system [0004] Response [0005] application program; Web application is a web application that needs to run in a browser; the combination of the two is usually a native application with an embedded browser. [0006] React Native is an excellent tool for developing hybrid applications. It is a cross-platform mobile application development framework open sourced by Facebook in April 2015. It is a derivative of Facebook's earlier open source JS framework React on the...

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): G06F8/20
CPCG06F8/20
Inventor 郭翰林张文心金文武
Owner 南京新贝金服科技有限公司
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products