Method and apparatus for processing data in controller area network
First Claim
1. A method of processing data in a controller area network (CAN), the method comprising:
- adding second data to first data in a CAN message to be transmitted; and
transmitting information indicating that the second data has been added, in the CAN message.
1 Assignment
0 Petitions
Accused Products
Abstract
A method and apparatus for processing data in a Controller Area Network (CAN) are discussed. In an embodiment of this invention, dummy data is added to data to be transmitted via a CAN message, and information indicating that the dummy data is added is transmitted via the CAN message. A length of the dummy data is determined such that data to be transmitted via the CAN message becomes a predetermined length, and data in which five or more successive bits do not have a same value is added as the dummy data. The information is included in a field indicating a length of data to be transmitted via the CAN message, and is indicated by a value within a reserved range of the field. Accordingly, data processing efficiency can be improved, and flexible CAN communication can be performed via the CAN message.
29 Citations
24 Claims
-
1. A method of processing data in a controller area network (CAN), the method comprising:
-
adding second data to first data in a CAN message to be transmitted; and
transmitting information indicating that the second data has been added, in the CAN message. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9)
-
-
10. A method of processing data in a controller area network (CAN), the method comprising:
-
determining a length of first data to be transmitted in a CAN message based on information included in the received CAN message; and
receiving the first data corresponding to the determined length, wherein, when the information indicates that second data has been added to the first data, the method further comprises the step of extracting data except the second data from the received first data. - View Dependent Claims (11, 12, 13, 14)
-
-
15. An apparatus for processing data in a controller area network (CAN), the apparatus comprising:
-
a CAN controller configured to generate a CAN message including data to be transmitted and transmit the generated CAN message through a CAN bus, or receive the CAN message transmitted through the CAN bus and extract data from the received CAN message; and
a micro-controller configured to transmit data through the CAN controller, or to perform operational control of corresponding devices using the data extracted from the received CAN message, wherein, the CAN controller selectively adds second data to first data to first data when transmitting the first data in the CAN message, and transmits information indicating that the second data has been added in the CAN message when adding the second data to the first data. - View Dependent Claims (16, 17, 18, 19, 20)
-
-
21. An apparatus for processing data in a controller area network (CAN), the apparatus comprising:
-
a CAN controller configured to generate a CAN message including data to be transmitted and transmit the generated CAN message through a CAN bus, or to receive the CAN message transmitted through the CAN bus and extract data from the received CAN message; and
a micro-controller configured to transmit data through the CAN controller, or to perform operational control of corresponding devices using the data extracted from the received CAN message, wherein the CAN controller determines a length of first data to be transmitted in the CAN message based on information included in the received CAN message, receives a number of bytes of the first data equal to the determined length, and, when the information indicates that second data has been added to the first data, extracts data except the second data from the received first data. - View Dependent Claims (22, 23, 24)
-
Specification