Binary file detection method and device based on XML

The invention discloses a binary file detection method and device based on XML, and relates to the technical field of rail transit signal processing. The method comprises the steps of expressing a binary file I generated by off-line software as a ternary tree structure, then wirting the ternary tree...

Ausführliche Beschreibung

Gespeichert in:
Bibliographische Detailangaben
Hauptverfasser: LI BIAO, CAI JINXIN, WEI YANG, CHEN JIN, WANG TINGTING, LI YANFENG, XIN CHUNHUI
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 binary file detection method and device based on XML, and relates to the technical field of rail transit signal processing. The method comprises the steps of expressing a binary file I generated by off-line software as a ternary tree structure, then wirting the ternary tree structure into an XML configuration file through XML configuration grammar, generating intermediate data II with the same structure as intermediate data I according to the XML configuration file, the intermediate data II calling the off-line software to generate an interface of the binary file, outputting the binary file II, and checking whether the binary file II is correctly generated or not according to an expected value in the XML configuration file and a specified large-end or small-end format, so as to determine whether the binary file I generated by the offline software is correct or not. Data sources all come from the XML configuration file, it can be guaranteed that the calculation result of the off-line