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, in a data length code (DLC) of the CAN message, indicating that the second data has been added, wherein a value of bits of the DLC that indicates a length of the second data is greater than a value of bits of the DLC that indicates a length of the first data,wherein the second data includes one or more bytes having an identical value, a first bit of the second data has a value different from a last bit of the first data, first and last bits in each byte have different values, first and fifth bits in each byte have different values, and fourth and last bits in each byte have different values,wherein the information is included in a field indicating a length of data to be transmitted in the CAN message,wherein the information is indicated by a value within a reserved range of the field, andwherein the length of the first data corresponds to a value of lower bits that remain after a most significant bit (MSB) is subtracted from a value within the reserved range of the field.
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.
51 Citations
16 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, in a data length code (DLC) of the CAN message, indicating that the second data has been added, wherein a value of bits of the DLC that indicates a length of the second data is greater than a value of bits of the DLC that indicates a length of the first data, wherein the second data includes one or more bytes having an identical value, a first bit of the second data has a value different from a last bit of the first data, first and last bits in each byte have different values, first and fifth bits in each byte have different values, and fourth and last bits in each byte have different values, wherein the information is included in a field indicating a length of data to be transmitted in the CAN message, wherein the information is indicated by a value within a reserved range of the field, and wherein the length of the first data corresponds to a value of lower bits that remain after a most significant bit (MSB) is subtracted from a value within the reserved range of the field. - View Dependent Claims (2, 3, 4, 5, 13)
-
-
6. 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 a data length code (DLC) of 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, and a value of bits of the DLC that indicates a length of the second data is greater than a value of bits of the DLC that indicates a length of the first data, wherein the second data includes one or more bytes having an identical value, a first bit of the second data has a value different from a last bit of the first data, first and last bits in each byte have different values, first and fifth bits in each byte have different values, and fourth and last bits in each byte have different values, wherein the information is included in a field indicating a length of data to be transmitted in the CAN message, wherein the information is indicated by a value within a reserved range of the field, and wherein the length of the first data corresponds to a value of lower bits that remain after a most significant bit (MSB) is subtracted from a value within the reserved range of the field. - View Dependent Claims (7, 14)
-
-
8. 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 when transmitting the first data in the CAN message, and transmits information, in a data length code (DLC) of the CAN message, indicating that the second data has been added in the CAN message when adding the second data to the first data, and a value of bits of the DLC that indicates a length of the second data is greater than a value of bits of the DLC that indicates a length of the first data, wherein the second data includes one or more bytes having an identical value, a first bit of the second data has a value different from a last bit of the first data, first and last bits in each byte have different values, first and fifth bits in each byte have different values, and fourth and last bits in each byte have different values, wherein the information is included in a field indicating a length of data to be transmitted in the CAN message, and is indicated by a value within a reserved range of the field, and wherein the length of the first data corresponds to a value of lower bits that remain after a most significant bit (MSB) is subtracted from a value within the reserved range of the field. - View Dependent Claims (9, 10, 15)
-
-
11. 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 a data length code (DLC) of the received CAN message, receives a number of bytes of the first data equal to the determined length, 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, and a value of bits of the DLC that indicates a length of the second data is greater than a value of bits of the DLC that indicates a length of the first data, wherein the second data includes one or more bytes having an identical value, a first bit of the second data has a value different from a last bit of the first data, first and last bits in each byte have different values, first and fifth bits in each byte have different values, and fourth and last bits in each byte have different values, wherein the information is included in a field indicating a length of data to be transmitted in the CAN message, and is indicated by a value within a reserved range of the field, and wherein a length of the extracted data corresponds to a value of lower bits that remain after a most significant bit (MSB) is subtracted from a value within the reserved range of the field. - View Dependent Claims (12, 16)
-
Specification