CAN filter merging method and device and CAN controller

A filter and filter code technology, applied in the field of electronic information, can solve the problems of increasing the burden on the processor and slowing down the communication speed, so as to avoid processing a large amount of irrelevant data, reduce the burden, and speed up the communication speed.

Active Publication Date: 2020-02-18
深圳市道通合盛软件开发有限公司
View PDF8 Cites 3 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] In the process of realizing the embodiment of the present invention, the inventor found that there are at least the following problems in the above related technologies: the filter in the existing CAN controller, the number of filter codes that can be assigned is fixed, and the irrelevant data that needs to be filtered When there are many types, it can only be filtered by software filtering, which will increase the burden on the processor and slow down the communication speed.

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
  • CAN filter merging method and device and CAN controller
  • CAN filter merging method and device and CAN controller
  • CAN filter merging method and device and CAN controller

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0050] The present invention will be described in detail below in conjunction with specific embodiments. The following examples will help those skilled in the art to further understand the present invention, but do not limit the present invention in any form. It should be noted that those skilled in the art can make several modifications and improvements without departing from the concept of the present invention. These all belong to the protection scope of the present invention.

[0051]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, not to limit the present application.

[0052] It should be noted that, if there is no conflict, various features in the embodiments of the present ...

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 embodiment of the invention relates to the technical field of electronic information. The invention discloses a CAN filter merging method. The CAN filter comprises a special filter and at least one common filter, the special filter comprises a mask and at least two filtering codes; the common filter comprises a mask and a filter code; the method comprises the following steps: firstly, initializing a mask and a filtering code of a special filter; obtaining a first total number of filtering codes in the special filter; and, a second total number of common filters, obtaining masks and filtering codes of all common filters; based on the first total number, the second total number; masks and filtering codes of all common filters are used; according to the method for merging the CAN filters,the masks and the filtering codes of the special filters are adjusted, so that data correspondingly passing through all the common filters can pass through the special filters, the burden of a processor can be reduced, the situation that a CAN controller processes a large amount of irrelevant data is avoided, and the communication speed is increased.

Description

technical field [0001] The embodiment of the present invention relates to the field of electronic information technology, in particular to a method and device for combining CAN filters and a CAN controller. Background technique [0002] In the scenario of communication based on the CAN bus, it generally involves filtering the data of the bus, usually by setting the mask and filter code of the filter in the CAN controller to match the identifier of the data to realize the function of data filtering. [0003] In the process of realizing the embodiment of the present invention, the inventor found that there are at least the following problems in the above related technologies: the filter in the existing CAN controller, the number of filter codes that can be assigned is fixed, and the irrelevant data that needs to be filtered When there are many types, it can only be filtered by software filtering, which will increase the burden on the processor and slow down the communication s...

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): H04L12/40H04L12/891H04L47/41
CPCH04L12/40006H04L47/41H04L2012/40215G06F7/02H04L12/417G06F7/5443G06F7/764H04L12/40
Inventor 姜楚
Owner 深圳市道通合盛软件开发有限公司
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