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...
Gespeichert in:
Hauptverfasser: | , , |
---|---|
Format: | Patent |
Sprache: | chi ; eng |
Schlagworte: | |
Online-Zugang: | Volltext bestellen |
Tags: |
Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
|
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 |
---|