Component processing method and device, electronic equipment, and storage medium

The invention provides a component processing method and device, electronic equipment, and a storage medium, and is applied to the technical field of computers. The method is applied to a JS end, wherein the JS end is in communication connection with a Dart end through a message channel of a local e...

Ausführliche Beschreibung

Gespeichert in:
Bibliographische Detailangaben
Hauptverfasser: BU JIE, WANG HAIJUN, LUO ZHENGLONG, SHAN PENGTAO
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 provides a component processing method and device, electronic equipment, and a storage medium, and is applied to the technical field of computers. The method is applied to a JS end, wherein the JS end is in communication connection with a Dart end through a message channel of a local end, and the local end is used for executing a logic program based on a target language. The method comprises the following steps: when a loading instruction for a component is detected, calling a message sending interface to forward a method calling request for the component to a Dart end through the message channel of the local end; receiving a processing result sent by the Dart end according to the method calling request through the message channel of the local end, and loading the component according to the processing result; when a release request for the component sent by the Dart end is received through the message channel, releasing the memory space occupied by the component. According to the invention, lang