Method and system for efficient message validation
First Claim
1. A system for efficiently performing bus message validation, comprising:
- a central processing unit;
an interface module having an interface suitable for communicating on an external broadcast bus, wherein the interface module may receive a plurality of bus messages communicated over the external broadcast bus, each of the plurality of bus messages containing a message identifier designating an intended receiving system for that bus message, and further wherein the interface module generates an interrupt when a bus message is received;
a memory storing multiple mask values;
a comparator coupled to the memory and the interface module, wherein the interface module transfers the message identifier to the comparator; and
a controller coupled to the interface module, the comparator and the memory, the controller being programmed to transfer in succession a first plurality of mask values of the multiple mask values to the comparator when the interrupt is generated;
wherein the comparator compares one or more transferred mask values of a plurality of mask values with the message identifier contained in a received bus message and provides an indication to the central processing unit when a comparison indicates a match, wherein a match validates the received bus message for the system.
22 Assignments
0 Petitions
Accused Products
Abstract
A communications processor (30) includes a DMA controller (34) and a module associated with a broadcast communications protocol such as a CAN module (50), both connected to a common internal bus (36). The CAN module (50) includes a single comparator (56) for comparison of multiple identifier mask values with the identifier of a message transmitted on the CAN bus (25). The communications processor (30) also includes a random access memory (RAM) (40) which stores the multiple identifier mask values which the DMA controller (34) automatically transfers to the CAN module (50) without intervention by the CPU (32). In addition, the CAN module (50) provides a valid message interrupt to the CPU (32) only after the message has been validated and does not interrupt the CPU (32) when messages intended only for other nodes are encountered.
33 Citations
12 Claims
-
1. A system for efficiently performing bus message validation, comprising:
-
a central processing unit; an interface module having an interface suitable for communicating on an external broadcast bus, wherein the interface module may receive a plurality of bus messages communicated over the external broadcast bus, each of the plurality of bus messages containing a message identifier designating an intended receiving system for that bus message, and further wherein the interface module generates an interrupt when a bus message is received; a memory storing multiple mask values; a comparator coupled to the memory and the interface module, wherein the interface module transfers the message identifier to the comparator; and a controller coupled to the interface module, the comparator and the memory, the controller being programmed to transfer in succession a first plurality of mask values of the multiple mask values to the comparator when the interrupt is generated; wherein the comparator compares one or more transferred mask values of a plurality of mask values with the message identifier contained in a received bus message and provides an indication to the central processing unit when a comparison indicates a match, wherein a match validates the received bus message for the system. - View Dependent Claims (2, 3, 4, 5, 6)
-
-
7. A method of efficiently performing bus message validation in a system coupled to a broadcast bus, the system including a central processing unit (CPU), the method comprising:
-
receiving a bus message from the broadcast bus, wherein the bus message contains a message identifier designating an intended receiving system for the bus message; retrieving in succession a first plurality of mask values from a memory by programming a controller separate from the CPU; comparing the first plurality of mask values retrieved from the memory in a common comparator with the message identifier; and validating the bus message for the system when the step of comparing indicates a match. - View Dependent Claims (8, 9, 10, 11, 12)
-
Specification