Application access method and system based on jsbridge

An access method and technology to be accessed, applied in the fields of instruments, digital data authentication, computing, etc., can solve problems such as difficulty in interaction, lack of open ability, and no support for the integration of complex functions of advanced software, so as to ensure privacy security and improve freedom. degree and the effect of openness

Pending Publication Date: 2022-05-10
INSPUR SOFTWARE CO LTD
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] First, because javascript cannot directly invoke the capabilities provided by native itself, it is difficult for H5 to interact with native functions;
[0005] The second is that the traditional jsbridge only supports simple calls to the basic functions of native terminal devices, and does not support complex function integration of advanced software such as instant messaging and task management, resulting in too high a technical threshold;
[0006] Third, due to the lack of standard application access rules, the integration of new applications on the unified platform is too complex and the opening capabilities are insufficient

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
  • Application access method and system based on jsbridge
  • Application access method and system based on jsbridge
  • Application access method and system based on jsbridge

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0087] The application access method based on jsbridge of the present invention is applied to a system including jsbridge middleware and an open platform, and multiple bridging methods are configured in the jsbridge middleware.

[0088] For individual users, the method includes the following steps:

[0089] S100. Based on the registration information submitted by the H5 application, the H5 application is reviewed through the open platform, and the authorization information is returned to the open platform;

[0090] S200. Open the H5 application in the APP system, and judge whether there is a parameter code behind the application address of the H5 application. If not, provide an authorization page through the APP system, obtain the authorization of the individual user based on the authorization page, and based on the authorization, enter the H5 application. Add the parameter code after the application address of the application;

[0091] S300. If the application address of the...

Embodiment 2

[0137] The jsbridge-based application access system of the present invention includes jsbridge middleware and an open platform. The jsbridge middleware is used to realize business interaction based on a bridging method, and is used to obtain a login-free code code based on a login-free password acquisition function, and convert the login-free code code returns the H5 application; the open platform includes a front-end interface and a back-end server. The front-end interface is used to interact with administrators and developers. Developers submit registration information through the front-end interface. Review and return authorization information to the H5 application.

[0138] For individual users, the background server is used to return the token and refreshToken to the H5 application based on the request parameters. The validity period of the refreshToken is longer than the validity period of the token. When the token has exceeded the validity period but the refreshToken is ...

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 an application access method and system based on jsbridge, belongs to the technical field of H5 application access, and aims to solve the technical problem of how to realize interaction between a native H5 application and a native advanced function. For a user as an individual, the method comprises the following steps: checking the H5 application through an open platform based on registration information of the H5 application, and returning authorization information; authorizing the H5 application based on the authorization information; for a user as an enterprise, the method comprises the following steps: checking and authorizing the H5 application through an open platform based on registration information of the H5 application, and returning authorization information; the method comprises the following steps: acquiring a user from an open platform based on a login-free code and an access token, calling the open platform and the jsbridge middleware, and realizing a service function based on a bridging method configured in the jsbridge middleware.

Description

technical field [0001] The invention relates to the technical field of H5 application access, in particular to a jsbridge-based application access method and system. Background technique [0002] With the development of computer technology, software technology is becoming more and more perfect, and more and more businesses are realized through software technology. The vigorous development of software technology has brought us a lot of convenience, but there are many types of software, and each software has its own application scenarios, followed by more and more application software and more and more account passwords, While this makes bringing convenience to people, it has brought new troubles to people virtually. [0003] Traditional methods have the following disadvantages: [0004] First, because javascript cannot directly invoke the capabilities provided by native itself, it is difficult for H5 to interact with native functions; [0005] The second is that the tradit...

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): G06F21/44G06F21/50
CPCG06F21/445G06F21/50G06F21/1014
Inventor 靳昇旭张连超王柏华
Owner INSPUR SOFTWARE CO LTD
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