Interaction method based on native WebView extension application, and terminal

A technology for extending applications and interactive terminals, applied in the field of interaction methods and terminals based on native WebView extension applications, can solve the problems of high update cost, poor dynamic effect, inability to dynamically expand, etc., and achieve the effect of low update cost and rich interactive effects.

Active Publication Date: 2021-03-19
宝宝巴士股份有限公司
View PDF3 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, due to the addition of sub-applications implemented by native technology, the dynamic effects are often poor, and complex effects cannot be supported, and the coupling between the host application and exercises is strong. If there is a problem with one of them, the update cost will be high, and cannot be dynamically expanded

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
  • Interaction method based on native WebView extension application, and terminal
  • Interaction method based on native WebView extension application, and terminal

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0062] Please refer to figure 1 As shown, an interactive method based on the native WebView extension application, including:

[0063] S1. The host application creates a page containing WebView and creates a message channel, the host application can load a sub-application through the page, the host application initializes the service manager B, and the message channel is used for the service manager B to communicate with all Two-way communication with service manager A in the above sub-application;

[0064] S2. The host application registers the first service in the service manager B, and the sub-application can call the first service in the service manager B through the communication between the service manager A and the service manager B;

[0065] S3. The sub-application program initializes the service manager A, the sub-application program registers the second service and the event monitoring module in the service manager A, and the host application can communicate with th...

Embodiment 2

[0081] Please refer to figure 2 , an interactive terminal 1 based on a native WebView extended application, comprising a memory 2, a processor 3, and a computer program stored in the memory 2 and operable on the processor 3, and the processor 3 implements the computer program when executing the computer program Steps in the first embodiment.

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 relates to an interaction method and terminal based on a native WebView extension application, and the method comprises the steps: S1, enabling a host application to create a page containing WebView and create a message channel, enabling the host application to load a sub-application through the page, enabling the host application to initialize a service manager B, and enabling the host application to initialize the service manager B; wherein the message channel is used for bidirectional communication between the service manager B and a service manager A in the sub-application program; S2, registering a first service in a service manager B by the host application, and the sub-application program can communicate with the service manager B through the service manager A to callthe first service in the service manager B; and S3, initializing a service manager A by the sub-application, registering a second service and event monitoring module in the service manager A by the sub-application, and the host application can communicate with the service manager A through the service manager B to call the second service and event monitoring module in the service manager A.

Description

technical field [0001] The invention relates to the field of computer software, in particular to an interactive method and terminal based on native WebView extended applications. Background technique [0002] In the process of course product development, the traditional way is to add different functional exercises to the host application through native technology (native technology of each platform, such as native technology of Android and IOS platforms), so as to ensure the diversity of course product content. However, due to the addition of sub-applications implemented by native technology, the dynamic effects are often poor and cannot support complex effects, and the coupling between the host application and exercises is strong. If there is a problem with one of them, the update cost will be high, and Cannot be dynamically expanded. Contents of the invention [0003] (1) Technical problems to be solved [0004] In order to solve the above-mentioned problems in the pri...

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): G06F9/54G06F9/445
CPCG06F9/546G06F9/542G06F9/547G06F9/44584G06F9/44521Y02D10/00
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