Method and apparatus for transmitting can frame
AssigneeHyundai Autron Co., Ltd.
InventorKyung-Tae Kim
Life of this patent
Estimating the term…
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.
Claims8
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.
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.
Dependencies are inferred from the claim text.