Unlock instant, AI-driven research and patent intelligence for your innovation.

Message parsing method, device, computer equipment and storage medium

A message parsing and computer program technology, applied in the fields of message parsing methods, computer equipment and storage media, and devices, can solve the problems of low table lookup efficiency and long lookup time.

Active Publication Date: 2021-03-09
GUANGZHOU AUTOMOBILE GROUP CO LTD
View PDF13 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] Based on this, it is necessary to provide a message analysis method, device, computer equipment and storage medium for the technical problem that when the number of messages of the above-mentioned search method is relatively large, it takes a long time to search, resulting in low table look-up efficiency.

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
  • Message parsing method, device, computer equipment and storage medium
  • Message parsing method, device, computer equipment and storage medium
  • Message parsing method, device, computer equipment and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0057] In order to make the purpose, technical solution and advantages of the present application clearer, the present application will be further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described here are only used to explain the present application, and are not intended to limit the present application.

[0058] A message parsing method provided by this application can be applied to such as figure 1 Shown computer equipment, the computer equipment can be a server, and its internal structure diagram can be as follows figure 1 shown. The computer device includes a processor, memory, network interface and database connected by a system bus. Wherein, the processor of the computer device is used to provide calculation and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stor...

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 relates to a message analysis method and device, computer equipment and a storage medium. The computer equipment obtains a key of a current message according to the attribute characteristics of the current message, generates a hash value of the current message according to the key and a low N bit of an identity identifier of the current message, a hash table is queriedaccording to the hash value of the current message, a definition value of the current message in the hash tableis acquired, and finally the current message is analyzed according to the definition value of the current message. According to the embodiment of the invention, the hash value adopts the fixed digit of the message ID, for example, the low 8 bit of the CAN message ID, a good balance can be achieved between the memory space occupied by a hash table and the table look-up efficiency, and when the number of the messages is large, the look-up time is shortened, so that the high table look-up efficiency isobtained with small memory overhead.

Description

technical field [0001] The present application relates to the technical field of message analysis, in particular to a message analysis method, device, computer equipment and storage medium. Background technique [0002] The Controller Area Network (CAN) bus transmits data in units of messages. When analyzing CAN bus messages, it is usually necessary to parse the data segments into signals and then analyze the signals. [0003] Message parsing generally generates a table for searching message definitions based on the definition of each message in the database file, then generates keys for table lookup according to message characteristics, then looks up the The received value is used to parse the packet. Among them, the current search method uses the CAN message ID as the key to search sequentially, and each search for a message requires an average search length of (n+1) / 2, where n is the number of messages defined in the database. [0004] When the number of packets in the ...

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 Patents(China)
IPC IPC(8): H04L29/06
CPCH04L69/22
Inventor 习成黄树程李璐冉光伟
Owner GUANGZHOU AUTOMOBILE GROUP CO LTD