Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

A power monitoring high-speed CAN message processing method and system

A technology of power monitoring and message processing, which is applied in the field of CAN communication, can solve the problems of power supply monitoring not being able to be carried out in time, message reception, etc., and achieve the effect of improving message analysis and processing capabilities

Active Publication Date: 2022-06-21
FENGHUO COMM SCI & TECH CO LTD
View PDF6 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0010] Aiming at the above defects or improvement needs of the prior art, the present invention provides a high-speed CAN message processing scheme for power monitoring, the purpose of which is to improve the message processing capability of power monitoring and avoid packet loss, thereby solving the problem of a large number of messages in the traditional solution. The technical problem that the power supply monitoring cannot receive, cache and parse the message in time when the file is impacted

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
  • A power monitoring high-speed CAN message processing method and system
  • A power monitoring high-speed CAN message processing method and system
  • A power monitoring high-speed CAN message processing method and system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0053] In order to solve the technical problem in the traditional solution that the power supply monitoring cannot perform message reception, buffering and parsing in time when a large number of messages are impacted, the embodiment of the present invention provides a high-speed CAN message processing method for power supply monitoring, such as: figure 2 It mainly includes the following steps:

[0054] Step 10: Build a perfect hash table for caching CAN messages, so that each hash table row corresponds to a message ID, and at the same time specify a corresponding parsing function for the CAN message of each message ID in the perfect hash table Entrance.

[0055] The present invention mainly solves the packet loss problem caused by the impact of a large number of packets, so a data structure that can be accessed quickly needs to be used to cache the packets. A perfect hash table, also known as an ideal hash table, refers to a hash table without hash code collisions, that is, ...

Embodiment 2

[0083] In order to solve the technical problem that the power monitoring cannot perform message reception, buffering and parsing in time when a large number of messages are impacted in the traditional solution, the embodiment of the present invention provides a high-speed CAN message processing system for power monitoring, which is used to realize the above-mentioned Embodiment 1. The message processing method in .

[0084] like Figure 7 As shown in the figure, the message processing system provided by the embodiment of the present invention mainly includes a power supply monitoring and multiple rectification modules (that is, the sorting module 1 to sorting module n in the figure), and the power supply monitoring and the multiple rectification modules pass through CAN bus for communication. Wherein, the power supply monitor can issue a broadcast query command to the plurality of rectifier modules, and all the rectifier modules will immediately return data frame messages, so...

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 a power monitoring high-speed CAN message processing method and system, constructing a perfect hash table for buffering CAN messages, so that each hash table line corresponds to a message ID, and at the same time in the perfect hash table is The CAN message of each ID specifies the corresponding analysis function entry; after the power monitoring receives the CAN message, it locates the position of the CAN message in the perfect hash table according to the message ID, and then caches the CAN message to the perfect hash table. The corresponding position in the hash table; after the current round of messages are received, the perfect hash table is traversed, and the corresponding analysis function is called in turn according to the message ID to complete the analysis process of each CAN message in the perfect hash table. This solution solves the problem of message receiving and buffering when a large number of messages are impacted, and at the same time solves the problem of too many branch structures during message parsing, and improves the message parsing and processing capabilities.

Description

technical field [0001] The invention belongs to the technical field of CAN communication, and more particularly, relates to a method and system for processing high-speed CAN messages for power monitoring. Background technique [0002] Controller Area Network (CAN for short) belongs to the category of field bus. It is a serial communication network that effectively supports distributed control systems. It is also a serial communication bus specially developed for the automotive industry in the 1980s. . Due to its high performance, high reliability and unique design, it has attracted more and more attention, and has been widely used in the automotive industry, aviation industry, industrial control, security protection and other fields. [0003] The power system is a device that converts high-voltage alternating current or high-voltage direct current into low-voltage direct current for the operation of communication equipment. The power supply system is usually composed of po...

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): H04L69/22H04L12/40G06F16/901G06F16/903
CPCH04L69/22H04L12/40006G06F16/9014G06F16/903H04L2012/40215
Inventor 林飞浪
Owner FENGHUO COMM SCI & TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products