Message filtering method and device and electronic equipment

A technology of message and message identification, applied in electrical components, data exchange through path configuration, bus network, etc., can solve the problems of low filtering efficiency, heavy load of hardware filter, inability to handle, etc., and achieve the goal of improving filtering efficiency. Effect

Active Publication Date: 2019-06-07
BYD CO LTD
View PDF5 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] But above-mentioned method, after receiving CAN bus message, at first through the mode of hardware filter, then put into the message buffer device with the number corresponding to message ID, hardware filter mode has increased the limitation of use of this method property, if the message IDs of the CAN bus messages that need to be processed are many and irregular, then there is a situation that the hardware filter load is heavy and cannot be processed; in addition, when the above method traverses and compares the determined ID information subset, if If the determined ID information subset contains more content, the number of traversal comparisons will be more, and the filtering efficiency will be lower.

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 filtering method and device and electronic equipment
  • Message filtering method and device and electronic equipment
  • Message filtering method and device and electronic equipment

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0026] Embodiments of the present application are described in detail below, examples of which are shown in the drawings, wherein the same or similar reference numerals denote the same or similar elements or elements having the same or similar functions throughout. The embodiments described below by referring to the figures are exemplary, and are intended to explain the present application, and should not be construed as limiting the present application.

[0027] figure 1 It is a flowchart of an embodiment of the message filtering method of the present application, such as figure 1 As shown, the above message filtering method may include:

[0028] Step 101, receiving a message.

[0029] Wherein, the above-mentioned message may be a CAN bus message, and of course the above-mentioned message may also be another type of message, but this embodiment takes the above-mentioned message as a CAN bus message as an example for illustration.

[0030] Step 102, split the sequence corre...

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 provides a message filtering method and device and electronic equipment, and the method comprises the steps: receiving a message; Splitting a sequence corresponding to the message identifier of the message into a first sequence and a second sequence; Inquiring a truth table corresponding to the first sequence to obtain a value corresponding to the first sequence, and inquiring a truth table corresponding to the second sequence to obtain a value corresponding to the second sequence; And carrying out bitwise calculation on the value corresponding to the first sequence and the valuecorresponding to the second sequence, and if the bitwise calculation result is equal to the second sequence, processing the message. According to the message processing method and device, whether thereceived message is processed or not can be rapidly determined according to the message ID, so that the effect of software filtering can be achieved, hardware filtering is not needed, and the filtering efficiency is improved.

Description

technical field [0001] The present application relates to the technical field of bus communication, in particular to a message filtering method, device and electronic equipment. Background technique [0002] With the rapid development of the automobile industry, the functional design requirements of automobiles are increasing, and more and more electronic units are applied to automobiles. All kinds of electronic control units on the car are all linked to the bus, and the signals and data that need to be exchanged are sent and received through the bus. Among them, the more commonly used vehicle bus type is a controller area network (Controller Area Network; hereinafter referred to as: CAN) bus. [0003] Various electronic control units on the car are connected to the CAN bus through an external CAN transceiver, and the electronic control unit cooperates with the CAN transceiver through the internal CAN controller to send and receive CAN bus messages on the CAN bus. The CAN ...

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 Applications(China)
IPC IPC(8): H04L29/06H04L29/08H04L12/40
Inventor 肖亚芳
Owner BYD CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products