Data message general automatic analysis method and storage method
A technology of automatic parsing and data message, applied in electrical components, transmission systems, etc., to achieve the effect of strong versatility, ensuring compatibility, and simple operation
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0061] The general automatic parsing method of the data message comprises the following steps:
[0062] S1: In LDAP, several protocol formats are pre-configured.
[0063] The configured protocol format is the definition of each protocol field. Including protocol type, protocol header, data item content, protocol tail, etc.
[0064] S2: Obtain all the configured data protocols, obtain the data protocol content information of each protocol, and store them in the corresponding protocol structure to form a protocol data list.
[0065] The data protocol content information is the field information configured for each protocol. The complete protocol structure can be obtained by collating the field information and defining the format.
[0066] S3: Extract the message to be parsed from the cached data, and match the corresponding protocol structure in the protocol data list according to the protocol type to which the message belongs.
[0067] The data cached in the cache space is t...
Embodiment 2
[0083] A general storage method for message data, comprising the following steps:
[0084] A. In LDAP, the user adds or modifies the data format content of the device type data according to the agreed format, specifically including the name, type and data length of each data item, and the data format content corresponds to the configured protocol format;
[0085] B. According to the input device identification (such as device ID), judge whether there is a data table corresponding to the device, if it exists, choose to execute D, otherwise, execute C;
[0086] C. Build the data table:
[0087] C1: Obtain the corresponding data format content in LDAP according to the data type of the device corresponding to the input device identifier;
[0088] C2: Analyze the content of the acquired data format, obtain the information contained in each data item, and form an array of data item information; the information contained in the data item includes the data item name, type, and data l...
Embodiment 3
[0093] This embodiment specifically discloses the above-mentioned process of storing the analyzed data into the data table:
[0094] D1: Retrieve whether there is a data item to be stored in the device in the real-time table, if it exists, update each data item corresponding to the device in the real-time table to the latest data (data that is planned to be stored); if it does not exist, The data stored in the plan is directly inserted into the real-time table.
[0095] D2: In the history table, match the data items of the equipment, and insert the data to be stored into the matched data items.
[0096] In one embodiment, during the process of storing data into the data table, if writing (updating or inserting) data fails, an error handling step is performed. If the real-time table is deleted, execute B again after backing up the history 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