IP Library Granted Patent US 9,794,197
Granted Patent B2
US 9,794,197 · App. 14/961,105 · Granted Oct 17, 2017

Method and apparatus for transmitting can frame

Inventor: Kyung-Tae Kim (Anyang-si, KR)
Assignee: HYUNDAI AUTRON CO., LTD.
H04L49/9021
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 9,794,197
App. No.
14/961,105
Granted
Oct 17, 2017
Kind
B2
Abstract

The present invention relates to a method and apparatus for transmitting a CAN frame. A method for transmitting a CAN frame includes receiving an input of a transmission file containing a plurality of CAN frames; detecting the number of the CAN frames contained in the transmission file; comparing the number of the CAN frames with the number of transmission buffers; mapping, when the number of the CAN frames is less than or equal to the number of the transmission buffers, the CAN frames onto the transmission buffers in a one-to-one mapping manner; and mapping, when the number of the CAN frames is greater than the number of the transmission buffers, the CAN frames onto the transmission buffers in a many-to-one mapping manner.

Claims (26)

1. A method for transmitting a controller area network (CAN) frame, the method comprising:

receiving an input of a transmission file containing a plurality of CAN frames;

detecting the number of the CAN frames contained in the transmission file;

comparing the number of the CAN frames with the number of transmission buffers;

mapping, when the number of the CAN frames is less than or equal to the number of the transmission buffers, the CAN frames onto the transmission buffers in a one-to-one mapping manner; and

mapping, when the number of the CAN frames is greater than the number of the transmission buffers, the CAN frames onto the transmission buffers in a many-to-one mapping manner,

wherein the mapping in the many-to-one mapping manner comprises:

setting a full search range;

searching a CAN frame having an ID contained in a preset unit search range within the full search range; and

mapping the CAN frame contained in the unit search range onto one transmission buffer.

2. The method according to claim 1 , wherein the mapping in the many-to-one mapping manner further comprises:

checking, after the mapping in the many-to-one mapping manner in the full search range is completed, if there is remaining CAN frames not having been mapped onto the transmission buffers; and

increasing the size of the unit search range when the number of the remaining CAN frames is greater than the number of the transmission buffers.

3. The method according to claim 1 , wherein the unit search range is defined by a maximum ID value and a minimum ID value.

4. The method according to claim 1 , wherein the transmission file is in a FIeld Bus EXchange (FIBEX)-based XML file format.

5. An apparatus for transmitting a controller area network (CAN) frame, the apparatus comprising:

an input unit configured to receive an input of a transmission file containing a plurality of controller area network (CAN) frames; and

a control unit configured to:

detect the number of the CAN frames contained in the transmission file;

compare the number of the CAN frames with the number of transmission buffers;

map, when the number of the CAN frames is less than or equal to the number of the transmission buffers, the CAN frames onto the transmission buffers in a one-to-one mapping manner; and

map, when the number of the CAN frames is greater than the number of the transmission buffers, the CAN frames onto the transmission buffers in a many-to-one mapping manner,

wherein the control unit sets a full search range, searches a CAN frame having an ID contained in a preset unit search range within the full search range, and maps the CAN frame contained in the unit search range onto one transmission buffer.

6. The apparatus according to claim 5 , wherein the control unit checks, after the mapping in the many-to-one mapping manner in the full search range is completed, if there is remaining CAN frames not having been mapped onto the transmission buffers, and increases the size of the unit search range when the number of the remaining CAN frames is greater than the number of the transmission buffers.

7. The apparatus according to claim 5 , wherein the unit search range is defined by a maximum ID value and a minimum ID value.

8. The apparatus according to claim 5 , wherein the transmission file is in a FIeld Bus EXchange (FIBEX)-based XML file format.

Assignments (2)
MERGER Recorded Oct 18, 2021
From: HYUNDAI AUTRON CO., LTD.
To: HYUNDAI AUTOEVER CORP.
Reel/Frame 057842/0221 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Dec 14, 2015
From: KIM, KYUNG-TAE
To: HYUNDAI AUTRON CO., LTD.
Reel/Frame 037286/0014 →
Priority Claims (1)
KR 10-2014-0177858 · Dec 10, 2014 · national
Continuity (1)
Related Publication 20160173418A1 · Jun 16, 2016