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

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 fi...

Ausführliche Beschreibung

Gespeichert in:
Bibliographische Detailangaben
1. Verfasser: CAI XINDONG
Format: Patent
Sprache:chi ; eng
Schlagworte:
Online-Zugang:Volltext bestellen
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
Beschreibung
Zusammenfassung: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 c