ASTERIX message parsing code generation method based on XML

A technology for message parsing and code generation, applied in the direction of creating/generating source codes, program control devices, programming languages/examples, etc., can solve the problems of heavy workload, repetitive work, and cumbersome development.

Active Publication Date: 2017-04-26
成都能通科技股份有限公司
View PDF3 Cites 16 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

As a result, there are problems such as cumbersome development, heavy workload, and more repetitive work in the process of manually completing the code

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • ASTERIX message parsing code generation method based on XML
  • ASTERIX message parsing code generation method based on XML
  • ASTERIX message parsing code generation method based on XML

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0053] combined with Figure 1-4 As shown, the XML-based ASTERIX message parsing code generation method is characterized in that it comprises the following four steps:

[0054] Step 1: Configure various parameters of the communication protocol according to the ICD and save it as an XML file;

[0055] Step 2: Read the XML configuration file obtained in Step 1 and parse and generate a memory object recognized by the computer program;

[0056] Step 3: Generate a corresponding data structure file according to the memory object obtained in Step 2;

[0057] Step 4: Generate the corresponding parsing code file based on the memory object obtained in step 2. At the same time, store the parsing code file in the data structure file described in step 3, and finally generate a main function that calls other parsing functions in an orderly manner , for the external program to call the corresponding message parsing code file through the main function.

[0058] The above step 1 extracts th...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention discloses an ASTERIX message parsing code generation method based on XML. The ASTERIX message parsing code generation method based on XML is characterized by comprising the following four steps: step 1, configurating the various parameters of the communication protocol according to the ICD and saving as a XML file; Step 2, reading the XML configuration file obtained in the step 1, and parsing to generate a memory object which can be recognized by the computer program; step 3, generating a corresponding data structure file according to the memory object obtained in the step 2; and step 4, generating a corresponding parsing code file according to the memory object obtained in the step 2. The invention is applicable to different types and versions of protocol and easy to modify; according to the invention, the message parsing program which can be run is generated by means of the XML configuration file, therefore, the ASTERIX message parsing code can be generated by means of the ASTERIX message parsing code generation method based on XML disclosed by the invention with the only need for the user to writie the configuration file according to the ICD. The scheme provided by the invention greatly improves the efficiency of the original work; and the analysis is partly modularized by the scheme, therefore, the scheme provided by the invention conforms to the modular tendency for problem solving in modern times.

Description

technical field [0001] The invention relates to radar data analysis, in particular to a European standard air traffic control radar data exchange message analysis method, specifically an XML-based ASTERIX message analysis code generation method. Background technique [0002] ASTERIX is a general structured radar data exchange, which is a standardized data transmission specification proposed by the European Air Traffic Management Organization to enable data interaction between radar surveillance equipment or air traffic control automation systems provided by different manufacturers. As more and more manufacturers provide support for the ASTERIX format interface, it has gradually become an international standard for radar data exchange formats. [0003] ASTERIX standardized data transmission specifications, including various types of data protocols (such as cat21, cat048, etc.), and with the changing needs, each type of protocol is divided into multiple protocol versions (such...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
Patent Type & Authority Applications(China)
IPC IPC(8): G06F9/44
CPCG06F8/31
Inventor 伍振华闻军涛江才纯
Owner 成都能通科技股份有限公司
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products