Configurable protocol analysis method and device, equipment and storage medium
A protocol analysis and configuration file technology, applied in the field of communication data analysis, can solve problems such as re-modification, and achieve the effect of improving work efficiency
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0052] see figure 1 , figure 1 It is a schematic flowchart of a configurable protocol analysis method provided by Embodiment 1 of the present invention. The method can be applied to an electronic device, and the electronic device includes a processor, a communication interface, a memory, and a communication bus, wherein the processor, the communication interface, and the memory complete communication with each other through the communication bus, which is not specifically limited in the present invention. Specifically, as figure 1 As shown, the method includes the following steps S101-S104.
[0053] S101, acquiring input data and a communication protocol.
[0054]Specifically, the processor acquires input data and a communication protocol, the input data is data to be parsed, and the communication protocol is a protocol formulated according to user requirements.
[0055] S102. Convert the communication protocol into a protocol configuration file.
[0056] Specifically, th...
Embodiment 2
[0114] Such as figure 2 As shown, the embodiment of the present invention also provides a configurable protocol analysis device 400, the configurable protocol analysis device 400 includes a first acquisition unit 401, a first conversion unit 402, a first loading unit 403, a first An analysis unit 404 .
[0115] A first acquiring unit 401, configured to acquire input data and a communication protocol;
[0116] The first conversion unit 402 is configured to convert the communication protocol into a protocol configuration file;
[0117] The first loading unit 403 is configured to use preset software to load the protocol configuration file, and store the protocol configuration file in an object variable, where the object variable is a variable in the code of the software;
[0118] The first parsing unit 404 is configured to parse the input data according to the software and the protocol configuration file to obtain output data.
[0119] In an embodiment, the converting the com...
Embodiment 3
[0144] see image 3 The embodiment of the present invention also provides an electronic device, including a processor 111, a communication interface 112, a memory 113, and a communication bus 114, wherein the processor 111, the communication interface 112, and the memory 113 complete mutual communication through the communication bus 114 .
[0145] Memory 113, used to store computer programs;
[0146] The processor 111 is configured to execute the program stored in the memory 113 to implement the configurable protocol analysis method provided in Embodiment 1.
[0147] The embodiment of the present invention also provides a computer-readable storage medium on which a computer program is stored. When the computer program is executed by the processor 111 , the steps of the configurable protocol analysis method provided in Embodiment 1 are implemented.
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