Vehicle and control method thereof

文档序号:722003 发布日期:2021-04-16 浏览:29次 中文

阅读说明:本技术 车辆及其控制方法 (Vehicle and control method thereof ) 是由 朴泰焕 朴忠燮 于 2020-08-17 设计创作,主要内容包括:本公开涉及一种车辆,该车辆包括:图像生成控制器,被配置为生成多个图像帧,将第一MAC地址分配给多个图像帧中的第一图像帧,并且将第二MAC地址分配给多个图像帧中的第二图像帧;以太网交换机,包括多个以太网端口,并且被配置为基于第一MAC地址将第一图像帧传输到第一图像接收控制器和第二图像接收控制器,并切基于第二MAC地址将第二图像帧传输到第二图像接收控制器;第一图像接收控制器,被配置为接收第一图像帧,并且对第一图像帧进行图像处理;以及第二图像接收控制器,被配置为接收第一图像帧和第二图像帧,并且对第一图像帧和第二图像帧进行图像处理。(The present disclosure relates to a vehicle, including: an image generation controller configured to generate a plurality of image frames, assign a first MAC address to a first image frame of the plurality of image frames, and assign a second MAC address to a second image frame of the plurality of image frames; an Ethernet switch including a plurality of Ethernet ports and configured to transmit the first image frame to the first image receiving controller and the second image receiving controller based on the first MAC address and to transmit the second image frame to the second image receiving controller based on the second MAC address; a first image receiving controller configured to receive a first image frame and perform image processing on the first image frame; and a second image receiving controller configured to receive the first image frame and the second image frame and perform image processing on the first image frame and the second image frame.)

1. A vehicle, comprising:

an image generation controller configured to:

generating a plurality of image frames;

assigning a first media access control address, a first MAC address, to a first image frame of the plurality of image frames; and is

Assigning a second MAC address to a second image frame of the plurality of image frames;

an Ethernet switch comprising a plurality of Ethernet ports and configured to:

transmitting the first image frame to a first image receiving controller and a second image receiving controller based on the first MAC address; and is

Transmitting the second image frame to the second image receiving controller based on the second MAC address;

the first image reception controller configured to:

receiving the first image frame; and is

Performing image processing on the first image frame; and

the second image reception controller configured to:

receiving the first image frame and the second image frame; and is

And performing image processing on the first image frame and the second image frame.

2. The vehicle according to claim 1, wherein,

the image generation controller assigns the first MAC address and the second MAC address to the plurality of image frames based on a first frame number and a second frame number.

3. The vehicle according to claim 1, wherein,

the Ethernet switch includes:

a first Ethernet port connected to the first image receiving controller; and

a second Ethernet port connected to the second image receiving controller.

4. The vehicle according to claim 3, wherein,

the ethernet switch stores an access control list, ACL, which matches the first ethernet port and the second ethernet port with the first MAC address.

5. The vehicle according to claim 4,

the Ethernet switch routes the first Ethernet port to the first image receiving controller based on the ACL.

6. The vehicle according to claim 4,

the Ethernet switch routes the second Ethernet port to the second image receiving controller based on the ACL.

7. The vehicle according to claim 3, wherein,

the image generation controller is configured to:

comparing the first frame number with the second frame number;

assigning the first MAC address to the first image frame based on the comparison; and is

Assigning the second MAC address to the second image frame.

8. The vehicle according to claim 1, wherein,

the image generation controller comprises a camera, the first image reception controller comprises image recognition means, and the second image reception controller comprises an Audio Video Navigation (AVN).

9. The vehicle according to claim 2, wherein,

the image generation controller generates the image frame based on a maximum frame number of the first frame number and the second frame number.

10. A control method of a vehicle including an image generation controller, an ethernet switch, and a plurality of image reception controllers, the method comprising:

the image generation controller generates a plurality of image frames;

the image generation controller assigns a first media access control address, i.e., a first MAC address, to a first image frame of the plurality of image frames and assigns a second MAC address to a second image frame of the plurality of image frames;

the Ethernet switch transmitting the first image frame to a first image receiving controller and a second image receiving controller based on the first MAC address and transmitting the second image frame to the second image receiving controller based on the second MAC address;

the first image receiving controller receives the first image frame;

the second image receiving controller receives the first image frame and the second image frame; and

the first image receiving controller and the second image receiving controller process the received image frames.

11. The method of claim 10, wherein,

assigning the first MAC address and the second MAC address comprises:

assigning the first MAC address and the second MAC address to the plurality of image frames based on a first frame number and a second frame number.

12. The method of claim 10, wherein,

the Ethernet switch includes:

a first Ethernet port connected to the first image receiving controller; and

a second Ethernet port connected to the second image receiving controller.

13. The method of claim 12, wherein the method further comprises:

the ethernet switch stores an access control list, ACL, which matches the first ethernet port and the second ethernet port with the first MAC address.

14. The method of claim 13, wherein,

transmitting the first image frame and the second image frame comprises:

connecting the first Ethernet port to the first image receiving controller based on the ACL.

15. The method of claim 13, wherein,

transmitting the first image frame and the second image frame comprises:

connecting the second Ethernet port to the second image receiving controller based on the ACL.

16. The method of claim 12, wherein,

assigning the first MAC address and the second MAC address comprises:

comparing the first frame number with the second frame number;

assigning the first MAC address to the first image frame based on the comparison; and

assigning the second MAC address to the second image frame.

17. The method of claim 16, wherein,

assigning the first MAC address and the second MAC address comprises:

assigning the first, second, third, and fourth MAC addresses to the plurality of image frames based on the first, second, and third frame numbers.

Technical Field

The present disclosure relates to a vehicle that performs ethernet communication between controllers and a control method of the vehicle.

Background

The statements in this section merely provide background information related to the present disclosure and may not constitute prior art.

The vehicle includes various Electronic Control Units (ECUs). The vehicle may construct a communication network for communication between a plurality of ECUs.

In the related art, a vehicle uses a method such as Media Oriented System Transport (MOST) or Low Voltage Differential Signal (LVDS) as a communication network to internally transmit multimedia-related image data. Recent progress in technologies such as autonomous driving requires high-speed processing of image data, and therefore, a commercial Ethernet (Ethernet) method has been introduced into a communication network.

Conventionally, a vehicle may detect a lane through image data generated by an ECU such as a camera, or the lane may be displayed on a display for a driver to view. That is, since captured image data can be used for a plurality of ECUs, the vehicle includes an Ethernet switch (Ethernet switch) for distributing the image data.

The ECU for processing the generated image data has different required number of frames depending on its purpose and function. However, the ethernet switch of the conventional vehicle transmits all of a plurality of image frames included in image data to a plurality of ECUs having different frame numbers, and there is a problem that the performance of high-speed processing of ethernet communication is degraded.

Disclosure of Invention

Accordingly, an aspect of the present disclosure provides a vehicle capable of receiving an image frame by allocating a Media Access Control (MAC) address in units of an image frame and mapping the MAC address to a port of an ethernet switch based on the number of image frames required by an ECU without unnecessarily increasing an ethernet communication speed, and a control method thereof.

Additional aspects of the disclosure will be set forth in part in the description which follows and, in part, will be obvious from the description, or may be learned by practice of the disclosure.

According to an aspect of the present disclosure, a vehicle includes: an image generation controller configured to generate a plurality of image frames, assign a first MAC address to a first image frame of the plurality of image frames, and assign a second MAC address to a second image frame of the plurality of image frames; an Ethernet switch including a plurality of Ethernet ports and configured to transmit the first image frame to the first image receiving controller and the second image receiving controller based on the first MAC address and to transmit the second image frame to the second image receiving controller based on the second MAC address; a first image receiving controller configured to receive a first image frame and perform image processing on the first image frame; and a second image receiving controller configured to receive the first image frame and the second image frame and perform image processing on the first image frame and the second image frame.

The image generation controller may be configured to assign a first MAC address and a second MAC address to the plurality of image frames based on the first frame number and the second frame number.

The ethernet switch may include: a first Ethernet port connected to the first image receiving controller; and a second ethernet port connected to the second image receiving controller.

The ethernet switch may be configured to store an Access Control List (ACL) in which the first ethernet port and the second ethernet port match together in the first MAC address.

The ethernet switch may be configured to route the first ethernet port to the first image receiving controller based on the ACL.

The ethernet switch may be configured to route the second ethernet port to the second image receiving controller based on the ACL.

The image generation controller may be configured to compare the first frame number and the second frame number; a first MAC address is assigned to the first image frame and a second MAC address is assigned to the second image frame based on the comparison.

The image generation controller may comprise a camera. The first image receiving controller may comprise image recognition means. The second image receiving controller may include Audio Video Navigation (AVN).

The image generation controller may be configured to generate the image frame based on a maximum frame number of the first frame number and the second frame number.

According to another aspect of the present disclosure, in a control method of a vehicle, the vehicle includes an image generation controller, an ethernet switch, and a plurality of image reception controllers. The method comprises the following steps: generating, by an image generation controller, a plurality of image frames; the image generation controller assigns a first MAC address to a first image frame of the plurality of image frames and a second MAC address to a second image frame of the plurality of image frames; the Ethernet switch transmits the first image frame to the first image receiving controller and the second image receiving controller based on the first MAC address, and transmits the second image frame to the second image receiving controller based on the second MAC address; the first image receiving controller receives a first image frame; the second image receiving controller receives the first image frame and the second image frame; and the first image receiving controller and the second image receiving controller process the received image frames.

The assigning may include assigning the first MAC address and the second MAC address to the plurality of image frames based on the first frame number and the second frame number.

The ethernet switch may include: a first Ethernet port connected to the first image receiving controller; and a second ethernet port connected to the second image receiving controller.

The method may further include the ethernet switch storing an Access Control List (ACL) in the first MAC address that the first ethernet port and the second ethernet port match together.

The transmitting may include routing the first ethernet port to the first image receiving controller based on the ACL.

The transmitting may include routing the second ethernet port to the second image receiving controller based on the ACL.

The assigning may include: comparing the first frame number with the second frame number; assigning a first MAC address to the first image frame based on the comparison result; and assigning a second MAC address to the second image frame.

The assigning may include assigning the first to fourth MAC addresses to the plurality of image frames based on the first frame number, the second frame number, and the third frame number.

Further areas of applicability will become apparent from the description provided herein. It should be understood that the description and specific examples are intended for purposes of illustration only and are not intended to limit the scope of the present disclosure.

Drawings

In order that the disclosure may be well understood, various forms thereof will now be described, by way of example, with reference to the accompanying drawings, in which:

FIG. 1 is a control block diagram of a vehicle in one form of the present disclosure;

fig. 2 and 3 are views for describing problems that may occur in ethernet communication performed in a conventional vehicle;

fig. 4 is a view for describing an ethernet communication method of a vehicle of one form of the present disclosure;

fig. 5 is a view for describing a communication method of each image frame of another form of the present disclosure; and

fig. 6 is a flowchart showing a control method of a vehicle of one form of the present disclosure.

The drawings described herein are for illustration purposes only and are not intended to limit the scope of the present disclosure in any way.

Detailed Description

The following description is merely exemplary in nature and is not intended to limit the present disclosure, application, or uses. It should be understood that throughout the drawings, corresponding reference numerals indicate like or corresponding parts and features.

Like reference numerals refer to like elements throughout the specification. Not all elements of the exemplary forms of the present disclosure are described, and descriptions that are well known in the art or overlap each other in form will be omitted. Terms used throughout the specification, such as "part," "module," "member," "block," and the like, may be implemented in software and/or hardware, a plurality of "part," "module," "member" or "block" may be implemented in a single element, or a single "part," "module," "member" or "block" may include a plurality of elements.

It will be understood that when an element is referred to as being "connected" to another element, it can be directly or indirectly connected to the other element, wherein indirect connection includes "connection" through a wireless communication network.

Furthermore, when a component "comprises" or "comprising" an element, the component may further comprise, without excluding, other elements, unless specifically stated to the contrary.

Further, when a layer is referred to as being "on" another layer or substrate, the layer may be directly on the other layer or substrate, or a third layer may be disposed therebetween.

It will be understood that, although the terms first, second, third, etc. may be used herein to describe various elements, these elements should not be limited by these terms. These terms are only used to distinguish one element from another.

As used herein, the singular forms "a", "an" and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise.

For ease of description, identification codes are used, but are not intended to show the order of each step. Each of the steps may be performed in an order different than that shown unless the context clearly dictates otherwise.

FIG. 1 is a control block diagram of a vehicle in one form of the present disclosure.

Referring to fig. 1, a vehicle 1 may include: an image generation controller 5 for generating a plurality of image frames; an Ethernet switch 10 including a plurality of Ethernet ports (Ethernet ports); and a first image reception controller 15 and a second image reception controller 20 connected to the plurality of ethernet ports, respectively.

The image generation controller 5 may capture an image of the surroundings or interior of the vehicle 1 and convert the captured image signal into a plurality of image frames. The image generation controller 5 may include a Complementary Metal-Oxide Semiconductor (CMOS) sensor or a Charge Coupled Device (CCD) sensor that converts light input through the lens into an electrical signal so as to generate a plurality of image frames.

The image generation controller 5 may transmit the image frames generated from the converted electrical signals to the ethernet switch 10 through ethernet communication. To this end, the image generation controller 5 may assign Media Access Control (MAC) addresses of ethernet communication to the plurality of image frames.

The image generation controller 5 may generate an image having a frame number (frame count) required by the image reception controllers 15, 20 when assigning the MAC address. For example, when the first image reception controller 15 processes images at a rate of 30 frames per second, the image generation controller 5 may assign a MAC address to each of the 30 image frames. However, when the second image receiving controller 20 processes images at a speed of 6 frames per second, the image generation controller 5 may assign the first MAC address M0 (fig. 4) to 5 image frames among the image frames and assign the second MAC address M1 (fig. 4) to the remaining 25 image frames.

The image generation controller 5 may transmit the image frame including the MAC address assigned by ethernet communication (i.e., ethernet message) to the ethernet switch 10.

The ethernet switch 10 can perform routing to the ethernet ports #1, #2 defined in an Access Control List (ACL) based on the MAC address corresponding to the destination of the received ethernet message.

The ACL is a routing table based on preset ethernet MAC addresses and may include a single MAC address that matches both the first ethernet port and the second ethernet port. In detail, the ethernet switch 10 may determine the first MAC address M0 (fig. 4) assigned to 5 image frames among the received 30 image frames. The ACL matches the first ethernet port #1 and the second ethernet port #2 with the first MAC address. The ethernet switch 10 may transmit 5 image frames to the first image reception controller 15 through the first ethernet port #1, and may transmit 5 image frames transmitted to the first image reception controller 15 to the second image reception controller 20 through the second ethernet port # 2.

Thus, the vehicle 1 can process the image frames required by the image reception controllers 15, 20 without unnecessarily increasing the ethernet communication speed. A specific form of operation of the image generation controller 5 and the ethernet switch 10 in the present disclosure will be described in detail later with reference to fig. 4.

Meanwhile, although the ethernet switch 10 is shown in fig. 1 as including two ethernet ports #1, #2, the ethernet switch 10 is not necessarily limited thereto. The ethernet switch 10 may further include a plurality of ports according to the number of connections of the image generation controller 5 and the image reception controllers 15, 20.

The first image reception controller 15 and the second image reception controller 20 may receive the image frames transmitted by the ethernet switch 10 and then perform image processing on the image frames. The first image reception controller 15 and the second image reception controller 20 may process the image and then extract meaningful information or display the processed image. For example, the first image reception controller 15 may be a device that recognizes a lane or a preceding vehicle from an image captured by the image generation controller 5. Further, the second image reception controller 20 may be an Audio Video Navigation (AVN) module that displays the image taken by the image generation controller 5 on a display for the user to view.

The first image reception controller 15 and the second image reception controller 20 may determine the number of frames according to the purpose and function of the controllers. The first image reception controller 15 and the second image reception controller 20 may process the image frames transmitted through the ethernet port by the ethernet switch 10 according to the number of frames.

Meanwhile, the above-described configuration in fig. 1 is not necessarily limited to the referenced names, and may include various means for performing the above-described functions.

Fig. 2 and 3 are views for describing problems that may occur in ethernet communication performed in a conventional vehicle.

The conventional vehicle 2 using ethernet communication can transmit the image frame to the first image reception controller 15 and the second image reception controller 20 through the ethernet switch 10. However, the conventional vehicles 2, 3 have a problem in that the image frames are repeatedly transmitted to the plurality of image reception controllers 15, 20 or the same image frame is generated.

Referring to fig. 2, when the image frames generated by the image generation controller 5 are transmitted to the plurality of image reception controllers 15, 20, the image generation controller 5 of the conventional vehicle 2 may transmit the image frames with the maximum number of frames to be received in the image reception controllers 15, 20, for example, 30 frames that the second image reception controller 20 has.

Specifically, as shown in table 101, the image generation controller 5 may generate 30 image frames and assign a MAC address M0 to each image frame. Image generation controller 5 may transmit an ethernet message including the assigned MAC address to ethernet switch 10.

The ethernet switch 10 of the legacy vehicle 2 may include a routing table (ACL)10 a. The routing table 10a of the legacy vehicle 2 can match a plurality of ethernet ports #1, #2 with the MAC address M0.

The ethernet switch 10 may transmit the first through thirty-th image frame frames #0 through #29 to the first image reception controller 15 through the first ethernet port #1 through the routing table 10 a.

The first image reception controller 15 of the conventional vehicle 2 may receive 30 image frames within 1 second. When the number of frames of the first image reception controller 15 is 6, the first image reception controller 15 may perform image processing on the first image frame # 0. As shown in table 102, the first image receiving controller 15 may discard the second to fifth image frame frames #1 to # 4. That is, the first image receiving controller 15 may use only the first image frame #0, the sixth image frame #5, the eleventh image frame #10, the sixteenth image frame #15, the twenty-first image frame #20, and the twenty-sixth image frame #25 for image processing.

The second image reception controller 20 of the conventional vehicle 2 may receive 30 image frames within 1 second. When the frame number of the second image reception controller 20 is 30, the second image reception controller 20 may perform image processing on all of the first to thirtieth image frame frames #0 to #29 (table 103).

In the control method of fig. 2, since 30 image frames must be transmitted to the first image receiving controller 15, which needs to transmit 6 image frames, at an ethernet communication speed of 30 frame numbers, an unnecessary ethernet communication speed is required.

Referring to fig. 3, when the image frames generated by the image generation controller 5 are transmitted to the plurality of image reception controllers 15, 20, the image generation controller 5 of the conventional vehicle 3 may independently generate the image frames used by the image reception controllers 15, 20.

When the number of frames of the first image reception controller 15 is 6 and the number of frames of the second image reception controller 20 is 30, the image generation controller 5 may generate 36 image frames. The image generation controller 5 may assign the second MAC address M1 to 6 image frames to be used by the first image reception controller 15.

As shown in the table 104, the image generation controller 5 may assign the second MAC address M1 to the first image frame #0, the sixth image frame #5, the eleventh image frame #10, the sixteenth image frame #15, the twenty-first image frame #20, and the twenty-sixth image frame # 25.

The image generation controller 5 may assign the first MAC address M0 to 30 image frames to be used by the second image reception controller 20. As shown in table 104, the image generation controller 5 may assign the first MAC address M0 to the first through thirty-th image frame frames #0 through # 29.

The image generation controller 5 may transmit the 36 image frames to which the MAC addresses M0 and M1 are assigned to the ethernet switch 10.

The ethernet switch 10 of the legacy vehicle 3 may include a routing table (ACL)10 b. The ethernet switch 10 may match the first MAC address M0 with the second ethernet port #2 based on the routing table 10 b. The ethernet switch 10 may match the second MAC address M1 with the first ethernet port #1 based on the routing table 10 b.

As shown in table 105, the ethernet switch 10 may transmit the first image frame #0, the sixth image frame #5, the eleventh image frame #10, the sixteenth image frame #15, the twenty-first image frame #20, and the twenty-sixth image frame #25 to the first image reception controller 15 through the first ethernet port # 1.

The first image reception controller 15 of the conventional vehicle 3 may receive 6 image frames within 1 second and then perform image processing on the received image frames.

As shown in table 106, the ethernet switch 10 may transmit the first image frame #0 to the thirtieth image frame #29 to the second image reception controller 20 through the second ethernet port # 2.

The second image reception controller 20 of the conventional vehicle 3 may receive 30 image frames within 1 second and then perform image processing on the received image frames.

In the control method of fig. 3, since the number of frames transmitted to the ethernet switch 10 by the image generation controller 5 is increased from 30 to 36, it is inevitable to accompany an increase in the ethernet communication speed. Further, since the image generation controller 5 repeatedly generates the same first image frame #0, there is a difference between the transmission time between the first image frame #0 and the second image frame #1 and the transmission time between the second image frame #1 and the third image frame # 2. That is, since the image reception controllers 15, 20 receive a plurality of image frames having different transmission intervals, difficulty in image processing may increase.

Fig. 4 is a view for describing an ethernet communication method of a vehicle of one form of the present disclosure.

The image generation controller 5 of the vehicle 1 may compare the number of frames of the image frames to be received by the image reception controllers 15, 20, and may generate a plurality of image frames based on the maximum number of frames. Referring to fig. 4, when the number of frames of the first image reception controller 15 is 6 and the number of frames of the second image reception controller 20 is 30, the image generation controller 5 may assign different MAC addresses to 30 image frames to be transmitted per second.

The image generation controller 5 may assign different MAC addresses M0 and M1 to image frames corresponding to the smaller frame number of the frame numbers of the first image reception controller 15 and the second image reception controller 20 among the generated plurality of image frames.

As shown in the table 107, the image generation controller 5 may assign the first MAC address M0 to the first image frame #0, the sixth image frame #5, the eleventh image frame #10, the sixteenth image frame #15, the twenty-first image frame #20, and the twenty-sixth image frame # 25.

The image generation controller 5 may assign the second MAC address M1 to the remaining image frames other than the image frame to which the first MAC address M0 is assigned.

Image generation controller 50 may transmit 30 image frames assigned different MAC addresses to ethernet switch 10.

The ethernet switch 10 may match the first ethernet port #1 and the second ethernet port #2 together with the first MAC address M0, and may previously store the ACL 10c of the second ethernet port #2 matching the second MAC address M1.

The ethernet switch 10 may transmit the first image frame #0, the sixth image frame #5, the eleventh image frame #10, the sixteenth image frame #15, the twenty-first image frame #20, and the twenty-sixth image frame #25, to which the first MAC address M0 is assigned, to the first image reception controller 15 and the second image reception controller 20 based on the ACL 10 c.

The ethernet switch 10 may transmit the 24 image frames (e.g., frames #1, #2, etc.) assigned the second MAC address M1 to the second image receiving controller 20 based on the ALC 10 c.

As shown in table 108, the first image reception processor 15 may use the received first image frame #0, sixth image frame #5, eleventh image frame #10, etc. for image processing.

As shown in table 109, the second image reception processor 20 may use all of the received first image frame #0 to thirtieth image frame #29 and the like for image processing.

Thereby, the vehicle 1 can receive the image data in accordance with the number of frames required by the image reception controllers 15, 20, and further, since the image reception controllers 15, 20 can receive the image frames by a predetermined transmission delay (delay), the difficulty of the image processing can be reduced.

Fig. 5 is a view for describing a communication method of each image frame in another form of the present disclosure.

In another form of the present disclosure, the vehicle 1 may transmit the image frame to the three image reception controllers 15, 20, and 25 through the image generation controller 5. In this form of the disclosure, ethernet switch 10 may include three ethernet ports.

Specifically, the three image reception controllers 15, 20, and 25 may have different frame numbers. As shown in fig. 5, the first image receiving controller 15 may have 30 frames, the second image receiving controller 20 may have 10 frames, and the third image receiving controller 25 may have 6 frames.

The image generation controller 5 may compare the three frame numbers and assign 4 MAC addresses to 30 image frames corresponding to the maximum frame number based on the comparison result. That is, the image generation controller 5 may assign different MAC addresses to the first image frame #0, the second image frame #1, the fourth image frame #3, the sixth image frame #5, and the like corresponding to each frame number.

The image generation controller 5 may transmit the first image frame #1 to all three image reception controllers 15, 20, and 25 through three ethernet ports. For example, the image generation controller 5 may compare 02: 00: 00: 10: 00: the first MAC address of 05 is assigned to the first image frame # 0. The ethernet switch 10 may transmit the first image frame #0 through the first ethernet port #0, the second ethernet port #1, and the third ethernet port #2 based on the first MAC address.

The image generation controller 5 may compare 02: 00: 00: 10: 00: the second MAC address of 00 is allocated to the second image frame #1 and the third image frame # 2. The ethernet switch 10 may transmit the second image frame #1 and the third image frame #2 through the first ethernet port #0 based on the second MAC address.

The image generation controller 5 may compare 02: 00: 00: 10: 00: the third MAC address of 03 is allocated to the fourth image frame # 3. The ethernet switch 10 may transmit the fourth image frame #3 through the first ethernet port #0 and the second ethernet port #1 based on the third MAC address.

Similar to the second image frame #2, the image generation controller 5 may convert 02: 00: 00: 10: 00: the second MAC address of 00 is allocated to the fifth image frame # 4. The ethernet switch 10 may transmit the fifth image frame #4 through the first ethernet port #0 based on the second MAC address.

The image generation controller 5 may compare 02: 00: 00: 10: 00: 04 is assigned to the sixth image frame # 5. The ethernet switch 10 may transmit the sixth image frame #5 through the first ethernet port #0 and the third ethernet port #2 based on the fourth MAC address.

The image generation controller 5 may transmit 30 image frames from the first image frame #0 to the thirtieth image frame #29 to each image reception controller within 1 second, and then transmit the first MAC address 02: 00: 00: 10: 00: 05 to the thirty-first image frame # 30. The ethernet switch 10 may transmit the thirty-first image frame #30 through the first ethernet port #0, the second ethernet port #1, and the third ethernet port #2 based on the first MAC address.

In other words, the disclosed vehicle 1 is not limited to only two image reception controllers as long as the image generation controller 5 allocates different MAC addresses according to different numbers of frames, and the ethernet switch 10 repeatedly transmits image frames to different ethernet ports according to the MAC addresses.

Fig. 6 is a flowchart showing a control method of a vehicle of one form of the present disclosure.

Referring to fig. 6, the image generation controller 5 may generate a plurality of image frames (200).

The image generation controller 5 may be an electronic control module such as a camera that captures an image of the surroundings or the interior of the vehicle 1 and transmits a plurality of image frames to the ethernet switch 10 through ethernet communication.

The image generation controller 5 may assign different MAC addresses to the plurality of image frames based on the first frame number and the second frame number (210).

The image generation controller 5 may previously store a first frame number and a second frame number of the image reception controllers 15, 20 that receive the image frames, compare the first frame number and the second frame number, and assign different MAC addresses to the image frames according to the comparison result.

The image generation controller 5 may transmit the plurality of image frames to the ethernet switch 10 (220).

The plurality of image frames may be transmitted according to an ethernet communication protocol corresponding to an international standard, and the ethernet switch 10 may route the transmitted image frames.

After receiving the plurality of image frames, ethernet switch 10 may determine the ethernet port on which to transmit each image frame (230).

For example, the first ethernet port #0 and the second ethernet port #1 may match the first MAC address, and the second ethernet port #1 may match the second MAC address.

The ethernet switch 10 may transmit the first image frame through the first ethernet port (240), and the first image receiving controller 15 may process the first image frame (241).

Ethernet switch 10 may transmit the first image frame through second ethernet port #1 (250), and ethernet switch 10 may transmit the second image frame through second ethernet port #1 (251). The second image receiving controller 20 may process the first image frame and the second image frame (252).

Thus, the disclosed vehicle 1 can receive image data according to the number of frames required by the image reception controllers 15, 20, and furthermore, since the image reception controllers 15, 20 can receive image frames by a predetermined transmission delay (delay), the difficulty of image processing can be reduced.

According to a vehicle and a control method of the vehicle of one form of the present disclosure, an ECU receiving an image can receive an image frame without unnecessarily increasing an ethernet communication speed by allocating a Media Access Control (MAC) address in units of an image frame and mapping the MAC address to a port of an ethernet switch based on the number of video frames required by the ECU.

Since a separate configuration is not required to increase the ethernet communication speed, the ECU can receive image data of a desired number of frames, and furthermore, since the ECU can receive image frames through a predetermined transmission delay (delay), the difficulty of image processing can be reduced.

Meanwhile, the disclosed forms of the present disclosure may be embodied in the form of a recording medium storing instructions executable by a computer. The instructions may be stored in the form of program code, and when executed by a processor, the instructions may produce a program module for performing certain forms of operations of the present disclosure. The recording medium may be implemented as a non-transitory computer-readable recording medium.

The non-transitory computer-readable recording medium may include all kinds of recording media storing commands that can be interpreted by a computer. For example, the non-transitory computer-readable recording medium may be, for example, a ROM, a RAM, a magnetic tape, a magnetic disk, a flash memory, an optical data storage device, or the like.

The description of the disclosure is merely exemplary in nature and, thus, variations that do not depart from the gist of the disclosure are intended to be within the scope of the disclosure. Such variations are not to be regarded as a departure from the spirit and scope of the disclosure.

18页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:一种流媒体的实时通信方法及装置

网友询问留言

已有0条留言

还没有人留言评论。精彩留言会获得点赞!

精彩留言,会给你点赞!

技术分类