In-vehicle network system and method for controlling thereof
The vehicle network system addresses latency and bus load issues by applying a random offset value to message transmission times, optimizing timing through server-based delay adjustments, maintaining stable communication in complex networks.
Patent Information
- Authority / Receiving Office
- KR · KR
- Patent Type
- Patents
- Current Assignee / Owner
- HYUNDAI MOTOR CO LTD
- Filing Date
- 2020-08-04
- Publication Date
- 2026-07-29
AI Technical Summary
The increasing complexity of vehicle communication networks due to fast response speed requirements in autonomous vehicles leads to increased load on the communication bus, resulting in message transmission latency and potential vehicle malfunctions.
A vehicle network system that applies a random offset value to message transmission times, determining an optimal offset value using a server-based delay value to minimize latency and reduce bus load without adding additional channels.
Minimizes message transmission delay and reduces communication bus load by dynamically adjusting message timing, ensuring stable controller operation even with increased message frequency.
Smart Images

Figure R1020200097650_ABST
Abstract
Description
Technology Field
[0001] This invention relates to an in-vehicle network system and a control method thereof for securing optimal in-vehicle network performance. Background Technology
[0002] Electronic devices within a vehicle can transmit and receive data through a vehicle communication network. Recently, various options have been applied to vehicles, and accordingly, the complexity of electronic components installed within the vehicle and communication networks is increasing. For example, Electronic Control Units (ECUs) of electronic devices within a vehicle can communicate with each other using a Controller Area Network (CAN). A gateway can perform routing between CAN messages in different domains.
[0003] Recently, technologies requiring fast response speeds related to autonomous vehicles are being installed in vehicles. To achieve fast response speeds, the transmission cycle of messages sent by the controller is shortened; however, as the number of messages with short transmission cycles increases, the load on the communication bus increases. When the load on the communication bus increases, latency occurs in message transmission, which leads to problems such as vehicle malfunction. The problem to be solved
[0004] The disclosed invention provides a vehicle network system and a control method thereof that can minimize the delay of message transmission in a controller by applying a random offset value to the message transmission time of the controller and determining an optimal offset value using the delay value of a message stored in a server.
[0005] The disclosed invention provides a vehicle network system and a control method thereof that can reduce the load on the communication bus and reduce the delay in message transmission without adding a separate channel, even when the number of messages increases due to an increase in the number of controllers and functions. means of solving the problem
[0006] As a technical means for achieving the technical problem described above, a vehicle network system according to one embodiment includes a server and at least one controller that communicates with the server through a gateway provided in the vehicle, wherein the at least one controller determines a random offset value regarding the transmission time of a message, calculates a latency value of the message based on the application of the random offset value, and transmits controller specification information and the latency value of the message to the server, and the server determines an optimal offset value regarding the transmission time of the message using the controller specification information, the latency value of the message, and a predetermined latency standard, and transmits the optimal offset value to the controller.
[0007] The above at least one controller can determine the random offset value whenever operation is initiated based on operating conditions.
[0008] The above at least one controller can update the current offset value using the optimal offset value transmitted from the server.
[0009] The above at least one controller can update the current offset value to the optimal offset value when operation is terminated based on a termination condition.
[0010] The above at least one controller can transmit the controller specification information and the delay value of the message to the server when there is a request from the server.
[0011] The above server can determine the optimal offset value by further utilizing the delay value of a homogeneous message related to the controller specification information collected from other vehicles.
[0012] The above at least one controller can calculate the time from the time of attempt to transmit the message until the message is input into the communication bus as the delay value of the message.
[0013] The above server can be connected to the above gateway via wireless communication.
[0014] The above server can transmit the above optimal offset value to the controller at a predetermined update cycle.
[0015] A method for controlling a vehicle network system comprising a server and at least one controller communicating with the server through a gateway provided within a vehicle, wherein the control method may include: determining a random offset value regarding the transmission time of a message transmitted by the at least one controller; calculating a latency value of the message based on the application of the random offset value; transmitting controller specification information and the latency value of the message to the server; the server determining an optimal offset value regarding the transmission time of the message using the controller specification information, the latency value of the message, and a predetermined latency standard; and transmitting the optimal offset value to the controller.
[0016] Determining the above random offset value can be performed whenever operation is initiated based on operating conditions.
[0017] A control method for a vehicle network system according to one embodiment may further include updating the current offset value of at least one controller using the optimal offset value transmitted from the server.
[0018] Updating the current offset value of the above-mentioned at least one controller can be performed when operation is terminated based on a termination condition.
[0019] Transmitting to the above server may be performed when there is a request from the above server.
[0020] Determining the above optimal offset value may further utilize the delay value of a homogeneous message related to the controller specification information collected from other vehicles.
[0021] Calculating the latency value of the above message may include calculating the time from the time of the attempt to transmit the above message until the above message is input into the communication bus as the latency value of the above message.
[0022] A control method for a vehicle network system according to one embodiment may further include connecting the gateway and the server by wireless communication.
[0023] Transmitting the above optimal offset value to the controller can be performed at predetermined update cycles. Effects of the invention
[0024] The disclosed vehicle network system and control method can minimize the delay in message transmission in the controller by applying a random offset value to the message transmission time of the controller and determining an optimal offset value using the delay value of the message stored in the server.
[0025] In addition, the disclosed vehicle network system and its control method can reduce the load on the communication bus and reduce the delay in message transmission without adding a separate channel, even when the number of messages increases due to an increase in the number of controllers and functions. Brief explanation of the drawing
[0026] Figure 1 illustrates a vehicle network system. Figure 2 illustrates the transmission period and delay of a message sent by the controller. Figure 3 illustrates the effect of applying an offset to the message transmission time. FIG. 4 illustrates the configuration of a controller according to one embodiment. FIG. 5 illustrates the configuration of a server according to one embodiment. FIG. 6 is a flowchart illustrating a control method of a vehicle network system according to one embodiment. Specific details for implementing the invention
[0027] Throughout the specification, the same reference numerals refer to the same components. This specification does not describe all elements of the embodiments, and general content in the art to which the invention pertains or content that overlaps between embodiments is omitted.
[0028] Terms such as "~part," "~unit," "~block," "~part," and "~module" used in the specification may be implemented in software or hardware. Terms such as "~part," "~unit," "~block," "~part," and "~module" may refer to a unit that processes at least one function or operation. Additionally, terms such as "~part," "~unit," "~block," "~part," and "~module" may refer to at least one hardware, circuit, at least one software stored in memory, or at least one process processed by a processor.
[0029] Throughout the specification, when a part is described as being "connected" to another part, this includes not only cases where they are directly connected but also cases where they are indirectly connected, and indirect connections include connections made via a wireless communication network.
[0030] Furthermore, when it is stated that a part "includes" a certain component, this means that, unless specifically stated otherwise, it does not exclude other components but may include additional components.
[0031] Terms such as "first," "second," etc., are used to distinguish one component from another, and the components are not limited by the aforementioned terms. A singular expression includes a plural expression unless the context clearly indicates an exception.
[0032] In each step, identification codes are used for convenience of explanation and do not describe the order of the steps; the steps may be performed differently from the specified order unless a specific order is clearly indicated in the context.
[0033] The operating principle and embodiments of the present invention are described below with reference to the attached drawings.
[0034] Figure 1 illustrates a vehicle network system.
[0035] Referring to FIG. 1, a vehicle network system (1) may include a server (20), a gateway (30) provided within a vehicle (10), and at least one controller (100) that communicates with the server (20) through the gateway (30). Various controllers (100) may be provided in the vehicle (10). FIG. 1 illustrates 17 controllers, from the first controller (101) to the 17th controller (117), as examples of controllers (100).
[0036] The gateway (30) can perform CAN (Controller Area Network) communication connections between controllers. The gateway (30) is connected to various communication buses and can relay messages transmitted between controllers connected to each communication bus. The controller (100) may refer to an Electronic Control Unit (ECU).
[0037] The controller (100) may be grouped into multiple domains according to communication protocols, functional characteristics, and purpose of use. The multiple domains may be composed of individual communication buses. For example, the first controller (101) and the second controller (102) are connected to a G-CAN communication bus, the third controller (103), the fourth controller (104) and the fifth controller (105) are connected to a P-CAN communication bus, the sixth controller (106), the seventh controller (107) and the eighth controller (108) are connected to a C-CAN communication bus, the ninth controller (109), the tenth controller (110), the eleventh controller (111) and the twelfth controller (112) are connected to an E-CAN communication bus, and the thirteenth controller (113), the fourteenth controller (114), the fifteenth controller (115), the sixteenth controller (116) and the seventeenth controller (117) can be connected to a B-CAN communication bus.
[0038] When message exchange is required between controllers connected to different communication buses, the gateway (30) can perform message routing by referring to a routing table. The gateway (10) can perform message routing based on the ID of the message transmitted by the controller (100).
[0039] Meanwhile, the controller (100) may be, for example, various types of sensors installed in the vehicle (10). The sensor may be a camera that captures images of the vehicle's surroundings and collects image data. Additionally, the sensor may be a radar that acquires location information, distance information, speed information, etc. of objects around the vehicle (e.g., a preceding vehicle, a pedestrian, etc.). Furthermore, the vehicle (10) may be equipped with a speed sensor that detects speed, an acceleration sensor that detects the vehicle's acceleration, a yaw rate sensor that detects the vehicle's rotational angular velocity, a gyroscope sensor that detects the vehicle's tilt, a steering angle sensor that detects the steering wheel's rotation and steering angle, a temperature sensor that detects the vehicle's internal temperature and external temperature, and an illuminance sensor that detects external illuminance.
[0040] Meanwhile, various electronic devices in addition to sensors may be installed in the vehicle (10), and each electronic device includes a controller. For example, the vehicle (10) may include an engine management system that generates power, a transmission control system that transmits power generated by the engine to the wheels, a braking system that decelerates or stops the vehicle through friction with the wheels, and a body control system that provides convenience to the driver or ensures the driver's safety.
[0041] The body control system may include an airbag control unit intended for the safety of occupants, such as the driver, in the event of a vehicle collision, an Electronic Stability Control (ESC) unit that controls the vehicle's posture during acceleration or cornering, a Lane Keeping Assist System that assists in preventing the vehicle from deviating from the driving lane, and a Lane Following Assist system.
[0042] Additionally, the vehicle (10) may further include a communication device (40). The communication device (40) may mediate a communication connection between the server (20) and the gateway (30). The server (20) and the gateway (30) may be connected via wireless communication through the communication device (40). Accordingly, the controller (100) may transmit and receive data to and from the server (20) via wireless communication through the gateway (30).
[0043] Figure 2 illustrates the transmission period and delay of a message sent by the controller.
[0044] Referring to FIG. 2, a message transmitted by a controller (100) is input into a communication bus based on a predetermined transmission period. For example, referring to the table (300) in FIG. 2, a first message transmitted by a first controller (101) and a second message transmitted by a second controller (102) may each be attempted to be transmitted every 40ms. Additionally, a third message transmitted by a third controller (103), a fourth message transmitted by a fourth controller (104), and a fifth message transmitted by a fifth controller (105) may each be attempted to be transmitted every 20ms.
[0045] However, while one message is being transmitted on a single communication bus, the transmission of another message is not possible. When the first controller (101), the second controller (102), the third controller (103), the fourth controller (104), and the fifth controller (105) are connected to the same communication bus and attempt to transmit messages simultaneously from each controller, the messages are input into the communication bus sequentially according to priority. The priority of the messages can be determined by the message ID. For example, the first message has the highest priority, and the fifth message has the lowest priority. Therefore, when the first to fifth messages are attempted to be transmitted simultaneously, they can be input into the communication bus sequentially starting from the first message.
[0046] When multiple messages are attempted to be transmitted simultaneously, latency occurs in the transmission of lower-priority messages because the messages are transmitted sequentially. That is, the second message may be input to the communication bus after the transmission of the first message, and the third message may be input to the communication bus after the transmission of both the first and second messages. The transmission of the fourth and fifth messages is similarly delayed.
[0047] Meanwhile, for the controller (100) to operate stably, the latency of the message must be 50% or less of the transmission period. For example, for a message with a transmission period of 10ms, the latency must be 5ms or less. That is, for a message with a transmission period of 10ms, the message transmission interval must be 15ms or less so that the controller (100) can operate normally without overlapping of messages.
[0048] Furthermore, if the load on the communication bus is high, message transmission delays may increase. In other words, as the load on the communication bus increases, it becomes difficult to send and receive messages at the desired time. In particular, if the number of messages with short transmission cycles increases, the load on the communication bus increases significantly.
[0049] The load on the communication bus is determined based on the message transmission period and the number of messages transmitted per second. For example, 100 messages with a transmission period of 10ms can be transmitted per second. Generally, since the time required to transmit one CAN message is 0.266ms, a message with a transmission period of 10ms occupies 26.6ms (=0.0266s) per second. Expressed as a percentage, a message with a transmission period of 10ms generates a load of 2.66%. In other words, for every additional message with a transmission period of 10ms, the load on the communication bus increases by 2.66%. As another example, the load on the communication bus generated by one message with a transmission period of 100ms is 0.266%. That is, as the number of messages with short transmission periods increases, the load on the communication bus increases significantly, and message delays may increase.
[0050] Meanwhile, to ensure smooth communication between controllers in the vehicle (10), the load of the communication bus is recommended to be 60% or less. Recently, as the number of controllers requiring fast response speeds in relation to autonomous vehicles increases, the number of messages with short transmission cycles increases, and accordingly, the load of the communication bus increases.
[0051] Figure 3 illustrates the effect of applying an offset to the message transmission time.
[0052] To reduce the load on the communication bus and message transmission delay, an offset may be applied to the message transmission time of the controller. As described above, overlap may occur between periodically transmitted messages due to message transmission delay. To prevent overlap between messages, the timing of message transmission can be partially adjusted by applying an offset to the time of message transmission. For example, an offset of 10ms can be applied to a message transmitted at a 10ms interval to increase the message interval to 20ms. Accordingly, overlap with the previous message can be avoided.
[0053] As illustrated in Figure 3, the effect of reducing message delay by applying an offset is greater for messages with shorter transmission cycles. However, when a fixed offset value is applied, the load on the communication bus is distributed initially, but after a few cycles, a problem may arise where messages overlap again. Since the controller applied varies depending on the vehicle, the pattern of message overlap differs depending on the function of the controller and the transmission cycle, and the degree of message delay varies depending on whether a specific event occurs (for example, a message caused by the operation of an air conditioner switch has a higher priority than a periodic message and is interrupted by the periodic message), there are limitations in solving the message delay problem by applying a fixed offset.
[0054] The disclosed invention can minimize the delay in message transmission by the controller by applying a random offset value at the time of message transmission by the controller and determining an optimal offset value using the delay value of the message stored in the server. The operation of the disclosed vehicle network system is described in detail below.
[0055] FIG. 4 illustrates the configuration of a controller according to one embodiment.
[0056] Referring to FIG. 4, the controller (100) may include a processor (1010), a memory (1020), and a transceiver (1030). The memory (1020) may store algorithms, programs, and / or applications for performing operations of the controller (100). Additionally, the memory (1020) may store controller specification information and delay values of messages. Additionally, the memory (1020) may store current offset values related to the time of transmission of messages. Additionally, the memory (1020) may include a buffer for temporarily storing transmitted and received memory.
[0057] The processor (1010) can perform the operation of the controller (100) using algorithms, programs, and / or applications stored in the memory (1020). The processor (1010) may be a microprocessor. The processor (1010) and the memory (1020) may be integrated on a single chip or may be provided in physically separate locations.
[0058] The memory (1020) may be implemented as at least one of a non-volatile memory device such as a cache, ROM (Read Only Memory), PROM (Programmable ROM), EPROM (Erasable Programmable ROM), EEPROM (Electrically Erasable Programmable ROM), and flash memory, or a volatile memory device such as RAM (Random Access Memory) to store various information.
[0059] Additionally, the processor (1010) may include an offset determination module (1011) and a latency measurement module (1012).
[0060] The offset determination module (1011) can determine a random offset value regarding the time of transmission of a message. The offset determination module (1011) can determine a random offset value whenever the controller (100) starts operating based on the operating conditions of the controller (100). For example, the operating condition of the vehicle ignition controller is that the ignition key is turned on. The operating condition of the air conditioner controller is that an air conditioner turn-on command is input. The offset determination module (1011) can determine the random offset value as one of 3ms, 5ms, 7ms, or 10ms. If the random offset value is determined as a decimal number, the overlap of the time of transmission of the message can be minimized.
[0061] The latency measurement module (1012) can calculate the latency value of a message based on the application of a random offset value. Message latency may occur even when a random offset value is applied. That is, there may be no message transmission latency initially when the random offset value is applied, but message latency may occur after several cycles have elapsed. The latency measurement module (1012) can calculate the time from the time of attempting to transmit the message until the message is input into the communication bus as the message latency value. The time of attempting to transmit the message can be defined as the time when the processor (1010) delivers the message to the buffer of the memory (1020).
[0062] The transceiver (1030) can transmit and receive data as a transceiver under the control of the processor (1010). The processor (1010) of the controller (100) can control the transceiver (1030) to transmit controller specification information and the delay value of the message when there is a request from the server (20). The controller specification information and the delay value of the message are transmitted to the server (20) through the gateway (30). Additionally, the processor (1010) can control the transceiver (1030) to receive the optimal offset value transmitted from the server (20).
[0063] The processor (1010) can update the current offset value using the optimal offset value transmitted from the server (20). The processor (1010) can update the current offset value to the optimal offset value when the controller (100) terminates operation based on the termination condition of the controller (100). For example, the termination condition of the vehicle ignition controller is that the ignition key is turned off. The termination condition of the air conditioner controller is that an air conditioner off command is input.
[0064] FIG. 5 illustrates the configuration of a server according to one embodiment.
[0065] Referring to FIG. 5, the server (20) may include a processor (21), memory (22), and a transceiver (23). The memory (22) may store algorithms, programs, and / or applications for performing operations of the server (20). Additionally, the memory (22) may store delay values of controller specification information and messages transmitted from the controller (100). Additionally, the memory (22) may store delay criteria used to determine the optimal offset value regarding the transmission time of the message. Additionally, the memory (22) may store delay values of similar messages related to controller specification information collected from other vehicles.
[0066] The processor (21) can perform operations of the server (20) using algorithms, programs, and / or applications stored in memory (22). The processor (21) may be a microprocessor. The processor (21) and memory (22) may be integrated into a single chip or may be provided in physically separate locations.
[0067] The memory (22) may be implemented as at least one of a non-volatile memory device such as a cache, ROM (Read Only Memory), PROM (Programmable ROM), EPROM (Erasable Programmable ROM), EEPROM (Electrically Erasable Programmable ROM) and flash memory, or a volatile memory device such as RAM (Random Access Memory) to store various information.
[0068] The transceiver (23) can transmit and receive data under the control of the processor (21) as a transceiver. The transceiver (23) can perform wireless communication with the communication device (40) of the vehicle (10).
[0069] The processor (21) may include a latency collection module (211), an optimal offset determination module (212), and an update verification module (213).
[0070] The delay collection module (211) can collect controller specification information and delay values of messages transmitted from the controller (100) of the vehicle (10). As described above, various controllers (100) may be installed in the vehicle (10), and the specification information of each controller (100) and the messages generated by each controller (100) may differ from one another. In addition, the delay values of messages generated by a single controller (100) may also differ each time a message is transmitted. That is, the delay collection module (211) can accumulate and collect controller specification information and delay values of messages. In addition, the delay collection module (211) can collect delay values of similar messages related to controller specification information from other vehicles.
[0071] The optimal offset determination module (212) can determine the optimal offset value regarding the transmission time of a message using controller specification information, the delay value of the message, and a predetermined delay criterion. The delay criterion can be predetermined according to the controller specification information and the function of the message. For example, the delay criterion regarding a message of a steering controller or a message of a braking controller can be predetermined such as "the delay time shall be 10% or less of the transmission period."
[0072] Additionally, the optimal offset determination module (212) can determine the optimal offset value by further utilizing the delay value of a similar message related to controller specification information collected from other vehicles. Other vehicles may also contain controllers identical or similar to the controller (100) of the vehicle (10), and message delays may occur in the controllers. The server (20) may further utilize the message delay value collected from the controllers of other vehicles to determine the optimal offset value that can minimize the message delay of the controller (100). The greater the amount of data that serves as the basis for determining the optimal offset value, the more suitable the offset value can be calculated.
[0073] The update verification module (213) can check whether the current offset value applied to the controller (100) of the vehicle (10) is the same as the optimal offset value. If the current offset value applied to the controller (100) of the vehicle (10) is not the same as the optimal offset value, the update verification module (213) can control the transceiver (23) to transmit the optimal offset value to the controller (100) of the vehicle (10).
[0074] The processor (21) can control the transceiver (23) to transmit the optimal offset value. The processor (21) can control the transceiver (23) to transmit the optimal offset value to the controller (100) of the vehicle (10) at predetermined update cycles. For example, the optimal offset value can be updated to the controller (100) of the vehicle (10) every month.
[0075] In this way, by applying an optimal offset value to the controller (100), the load on the communication bus can be reduced, and the delay in message transmission can be reduced without adding a separate channel even when the number of messages increases due to an increase in the number of controllers and functions. Therefore, it can help reduce costs and the weight of the vehicle (10).
[0076] FIG. 6 is a flowchart illustrating a control method of a vehicle network system according to one embodiment.
[0077] Referring to FIG. 6, at least one controller (100) provided in the vehicle (10) can start operation based on operating conditions (601) and determine a random offset value regarding the time of transmission of a message (602). The controller (100) can determine a random offset value whenever operation is started based on operating conditions. Subsequently, the at least one controller (100) can calculate a latency value of the message based on the application of the random offset value (603). The controller (100) can calculate the time from the time of attempt to transmit the message until the message is input into the communication bus as the latency value of the message.
[0078] The server (20) can request controller specification information and delay values of messages (604). The controller (100) can transmit controller specification information and delay values of messages in accordance with the request from the server (20) transmitted through the gateway (30) of the vehicle (10) (605).
[0079] The server (20) can determine an optimal offset value regarding the transmission time of a message using controller specification information, a delay value of a message, and a predetermined delay standard (606). The server (20) can further determine an optimal offset value by using the delay value of a similar message related to controller specification information collected from other vehicles.
[0080] The controller (100) of the vehicle (10) can terminate operation based on termination conditions (607). The server (20) can transmit the optimal offset value to the controller (100) of the vehicle (10). The server (20) can transmit the optimal offset value to the controller (100) at predetermined update cycles. The gateway (30) can transmit the optimal offset value transmitted from the server (20) to the controller (100). The controller (100) can update the current offset value using the optimal offset value transmitted from the server (609).
[0081] As described above, the disclosed vehicle network system and its control method can minimize the delay in message transmission in the controller by applying a random offset value to the message transmission time of the controller and determining an optimal offset value using the delay value of the message stored in the server.
[0082] In addition, the disclosed vehicle network system and its control method can reduce the load on the communication bus and reduce the delay in message transmission without adding a separate channel, even when the number of messages increases due to an increase in the number of controllers and functions.
[0083] Meanwhile, the disclosed embodiments may be implemented in the form of a recording medium that stores instructions executable by a computer. The instructions may be stored in the form of program code and, when executed by a processor, may generate a program module to perform the operation of the disclosed embodiments. The recording medium may be implemented as a computer-readable recording medium.
[0084] Computer-readable recording media include all types of recording media that store instructions that can be decoded by a computer. Examples include ROM (Read Only Memory), RAM (Random Access Memory), magnetic tape, magnetic disk, flash memory, optical data storage devices, etc.
[0085] As described above, the disclosed embodiments have been explained with reference to the attached drawings. Those skilled in the art will understand that the present invention may be practiced in forms different from the disclosed embodiments without changing the technical spirit or essential features of the invention. The disclosed embodiments are illustrative and should not be interpreted restrictively. Explanation of the symbols
[0086] 1: Vehicle network system 10: Vehicle 20: Server 30: Gateway 40: Communication device 100: Controller
Claims
Claim 1 A vehicle network system comprising a server and at least one controller communicating with the server through a gateway provided within the vehicle, wherein the at least one controller determines a random offset value regarding the transmission time of a message, calculates a latency value of the message based on the application of the random offset value, and transmits controller specification information and the latency value of the message to the server, and the server determines an optimal offset value regarding the transmission time of the message using the controller specification information, the latency value of the message, and a predetermined latency standard, and transmits the optimal offset value to the controller, wherein the latency value includes the time from the time of attempt to transmit the message until the message is input into a communication bus. Claim 2 A vehicle network system according to claim 1, wherein at least one controller determines the random offset value whenever operation is initiated based on operating conditions. Claim 3 A vehicle network system according to claim 1, wherein at least one controller updates a current offset value using the optimal offset value transmitted from the server. Claim 4 In paragraph 3, the vehicle network system, wherein at least one controller updates the current offset value to the optimal offset value when operation is terminated based on a termination condition. Claim 5 A vehicle network system according to claim 1, wherein at least one controller transmits the controller specification information and the delay value of the message to the server when there is a request from the server. Claim 6 A vehicle network system according to claim 1, wherein the server further utilizes the delay value of a homogeneous message related to the controller specification information collected from other vehicles to determine the optimal offset value. Claim 7 delete Claim 8 In paragraph 1, the vehicle network system, wherein the server is connected to the gateway by wireless communication. Claim 9 A vehicle network system according to claim 1, wherein the server transmits the optimal offset value to the controller at a predetermined update cycle. Claim 10 A method for controlling a vehicle network system comprising a server and at least one controller communicating with the server through a gateway provided within a vehicle, the method comprising: determining a random offset value regarding the transmission time of a message transmitted by the at least one controller; calculating a latency value of the message based on the application of the random offset value; transmitting controller specification information and the latency value of the message to the server; the server determining an optimal offset value regarding the transmission time of the message using the controller specification information, the latency value of the message, and a predetermined latency standard; and transmitting the optimal offset value to the controller; wherein the latency value includes the time from the time of attempt to transmit the message until the message is input into a communication bus. Claim 11 A method for controlling a vehicle network system according to claim 10, wherein determining the random offset value is performed whenever operation is initiated based on operating conditions. Claim 12 A method for controlling a vehicle network system according to claim 10, further comprising updating the current offset value of at least one controller using the optimal offset value transmitted from the server. Claim 13 A method for controlling a vehicle network system according to claim 12, wherein updating the current offset value of at least one controller is performed when operation is terminated based on a termination condition. Claim 14 A method for controlling a vehicle network system according to claim 10, wherein transmitting to the above server is performed when there is a request from the above server. Claim 15 A method for controlling a vehicle network system according to claim 10, wherein determining the optimal offset value further utilizes the delay value of a homogeneous message related to the controller specification information collected from other vehicles. Claim 16 delete Claim 17 A method for controlling a vehicle network system according to claim 10, further comprising connecting the gateway and the server by wireless communication. Claim 18 In claim 10, the method of controlling a vehicle network system, wherein transmitting the optimal offset value to the controller is performed at predetermined update cycles.