Processing method and device of protocol interpreter
A protocol parsing and processing method technology, applied in the field of protocol parser processing methods and devices, can solve the problem of high cost, and achieve the effects of reducing maintenance costs, improving development efficiency, and increasing security
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0039] see figure 1 , figure 1 It is a flow chart of the processing method of the protocol parser of the present invention, such as figure 1 As shown, the processing method includes the following steps:
[0040] In step S0, the configuration information of the message to be parsed is added to the message frame configuration table and the message detailed configuration table respectively; specifically, the configuration information of the message to be parsed is added to the message In the text frame configuration table and message detailed configuration table, because the database generally saves the configuration information of the message to be parsed in the form of a table, that is, each row represents a record. It should be noted that this step can be omitted if the configuration information of the message to be parsed has been added to the above message frame configuration table and message detailed configuration table.
[0041] In step S1, the class information cor...
Embodiment 2
[0047] The programming language is JAVA, the declared object is MeteorologicalData, and the class field information is java.lang.Integer as an example to illustrate the processing method of the protocol analysis processor.
[0048] In step S1, the class information com.casic.ca2000.MeteorologicalData corresponding to the message to be parsed is read from the message frame configuration table.
[0049] In step S2, the MeteorologicalData object of the class information is declared through the reflection mechanism of the programming language.
[0050] In step S3, the class field information java.lang.Integer corresponding to the message to be parsed is read from the message detailed configuration table.
[0051] In step S4, obtain all attributes of the object MeteorologicalData according to the reflection mechanism, and assign values to each attribute of the object MeteorologicalData according to the class field information java.lang.Integer, each attribute in the object Meteorol...
Embodiment 3
[0055] see figure 2 , figure 2 is a schematic structural diagram of the processing device of the protocol parser of the present invention, such as figure 2 As shown, the protocol parser has a built-in message frame configuration table and a detailed message configuration table, and the processing device includes:
[0056] The adding module 100 is configured to add the configuration information of the message to be parsed to the message frame configuration table and the message detailed configuration table in a record manner. It should be noted that if the configuration information of the message to be parsed has already been added to the above-mentioned message frame configuration table and message detailed configuration table, the adding module 100 can be omitted.
[0057] The first reading module 200 is connected with the adding module 100 and is used for reading the class information corresponding to the message to be parsed from the message frame configuration table. ...
PUM

Abstract
Description
Claims
Application Information

- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com