Bridging communication method, device and equipment and computer readable storage medium

A communication method and technology of a communication device, applied in the direction of program control device, creation/generation of source code, software simulation/interpretation/simulation, etc., capable of solving the problem that web container and native application cannot communicate effectively, and web container and native application cannot effectively communicate And other issues

Pending Publication Date: 2019-06-07
WEBANK (CHINA)
View PDF2 Cites 7 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] However, the request for a fake redirect is a simulated redirect. When JS (JavaScript, literal translation scripting language) sends multiple redirect requests continuously, the web container will directly filter out the subsequent redirect requests. The difference between the web container and the native application In addition,

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
  • Bridging communication method, device and equipment and computer readable storage medium
  • Bridging communication method, device and equipment and computer readable storage medium
  • Bridging communication method, device and equipment and computer readable storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0047] It should be understood that the specific embodiments described here are only used to explain the present invention, not to limit the present invention.

[0048] Such as figure 1 as shown, figure 1 It is a schematic diagram of the device structure of the hardware operating environment involved in the solution of the embodiment of the present invention.

[0049] Such as figure 1As shown, the bridge communication device may include: a processor 1001 , such as a CPU, a communication bus 1002 , a user interface 1003 , a network interface 1004 , and a memory 1005 . Wherein, the communication bus 1002 is used to realize connection and communication between these components. The user interface 1003 may include a display screen (Display), an input unit such as a keyboard (Keyboard), and the optional user interface 1003 may also include a standard wired interface and a wireless interface. Optionally, the network interface 1004 may include a standard wired interface and a wir...

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 bridging communication method, device and equipment and a computer readable storage medium, and the method comprises the steps: determining a target container label accordingto a field received by a bridging framework when monitoring a translation script language JS code file, and selecting a corresponding target bridging strategy according to the target container label;when the target bridging strategy is a first preset bridging strategy, parameters of a called JS function are captured from the JS code file, and the parameters are converted into corresponding native application parameters; when the target bridging strategy is a second preset bridging strategy, mapping a JS message of a JS function called in the JS code file to a callback manager; and capturingthe JS message from the callback manager, and analyzing the JS message to obtain a native application parameter. According to the invention, the communication effectiveness between the web container and the native application can be improved.

Description

technical field [0001] The present invention relates to the technical field of application development, in particular to a bridge communication method, device, equipment and computer-readable storage medium. Background technique [0002] Mixed-mode mobile applications refer to program applications between web applications and native applications. They have both the good user experience of native applications and the advantages of cross-platform development of web applications. Due to the different development languages ​​between web applications and native applications, the two It is impossible to directly communicate with each other. At present, the communication between the web container and the native application is mainly realized through bridging. [0003] The existing bridging method is webViewJavascriptBridge, which is mainly implemented based on the interception of false jump requests, that is, a false request is triggered on the web interface, and the false request ...

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): G06F9/455G06F8/30
Inventor 蔡欣东
Owner WEBANK (CHINA)
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