XML-based visual communication protocol analysis method and system

The invention discloses an XML (Extensible Markup Language)-based visual communication protocol analysis method and system. The method comprises the following steps: defining an xml format protocol file; reading all xml protocol files under the specified directory, analyzing the xml protocol files a...

Ausführliche Beschreibung

Gespeichert in:
Bibliographische Detailangaben
Hauptverfasser: LIU SHUANG, MA ZHENGHUI, MIN JIHAI
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 an XML (Extensible Markup Language)-based visual communication protocol analysis method and system. The method comprises the following steps: defining an xml format protocol file; reading all xml protocol files under the specified directory, analyzing the xml protocol files and generating codes which can be identified by a compiler according to the template file; respectively reading all protocols into a protocol analyzer, storing values obtained by analyzing the protocols into corresponding objects, updating an address of a protocol data buffer area after all fields of the protocols are updated, and triggering an updating signal; when the initialization of the protocol analyzer is completed, all protocols are initialized into a singleton mode and managed, each protocol has an independent signal slot mechanism to be bound with an external module, and when an update signal is triggered, the external module automatically triggers an interface function bound with the update signal. The me