Information processing device, information processing method, and information processing program

By reconstructing specific data frames with shorter data length codes, the information processing device addresses communication delays and load issues, enhancing efficiency and reliability in data relaying across multiple buses.

JP7826919B2Active Publication Date: 2026-03-10TOYOTA JIDOSHA KK
View PDF 4 Cites 0 Cited by

Patent Information

Authority / Receiving Office
JP · JP
Patent Type
Patents
Current Assignee / Owner
Filing Date
2022-12-01
Publication Date
2026-03-10

AI Technical Summary

Technical Problem

The increase in communication volume on each communication bus in a relay device connected to multiple communication buses causes delays in data relaying, necessitating the design of data frames for more efficient communication.

Method used

An information processing device extracts specific data frames with adjustable data lengths and reconstructs them with shorter data length codes to optimize communication efficiency.

Benefits of technology

This approach reduces the total capacity of relayed messages, ensuring efficient communication while preventing issues with message authentication and end-to-end transmission, and effectively managing communication load.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 0007826919000001
    Figure 0007826919000001
  • Figure 0007826919000002
    Figure 0007826919000002
  • Figure 0007826919000003
    Figure 0007826919000003
Patent Text Reader

Abstract

To design data frames that will enable more efficient communication in designing data frames to be communicated over a communication system.SOLUTION: An execution unit extracts, from among multiple types of data frames FL, a specific data frame SFL whose data length can be shortened based on the type of the data frame FL. The execution unit reconstructs the specific data frame SFL as a new data frame FL with a shorter data length by updating a data length code DLC included in the specific data frame SFL to a data length code DLC with a shorter data length.SELECTED DRAWING: Figure 4
Need to check novelty before this filing date? Find Prior Art

Description

[Technical Field]

[0001] The present invention relates to an information processing device, an information processing method, and an information processing program. [Background technology]

[0002] Patent Document 1 describes a communication system in which multiple devices are connected by a communication bus. This communication system includes a relay device that relays data communication. Multiple communication buses are connected to the relay device. The relay device transmits and receives data in accordance with the Ethernet (registered trademark) communication protocol. [Prior art documents] [Patent documents]

[0003] [Patent Document 1] Japanese Patent Application Laid-Open No. 2017-073709 Summary of the Invention [Problem to be solved by the invention]

[0004] When multiple communication buses are connected to a relay device, as in the communication system described in Patent Document 1, an increase in the communication volume on each communication bus causes delays in data relaying at the relay device. Therefore, when designing data frames to be communicated on a communication system, it is necessary to design data frames that enable more efficient communication. [Means for solving the problem]

[0005] In order to solve the above problem, one aspect of the present disclosure is an information processing device that is capable of extracting a specific data frame whose data length can be shortened based on the type of data frame from among multiple types of data frames that are transmitted and received on a communication bus and that include a data length code indicating a data length and a data field whose data length is indicated by the data length code, and reconstructing the specific data frame as a new data frame with a shorter data length by updating the data length code included in the specific data frame to a data length code with a shorter data length.

[0006] In order to solve the above problem, one aspect of the present disclosure is an information processing method in which a computer extracts a specific data frame whose data length can be shortened based on the type of the data frame from among multiple types of data frames transmitted and received on a communication bus, the data frame including a data length code indicating a data length and a data field with a data length indicated by the data length code, and reconstructs the specific data frame as a new data frame with a shorter data length by updating the data length code included in the specific data frame to a data length code with a shorter data length.

[0007] In order to solve the above problem, one aspect of the present disclosure is an information processing program that causes a computer to execute the following steps: extracting a specific data frame whose data length can be shortened based on the type of data frame from among multiple types of data frames that are transmitted and received on a communication bus, the data frame including a data length code indicating a data length and a data field with a data length indicated by the data length code; and reconstructing the specific data frame as a new data frame with a shorter data length by updating the data length code included in the specific data frame to a data length code with a shorter data length.

[0008] According to the above technical concepts, a specific data frame is reconstructed as a new data frame with a shorter data length, which allows for more efficient communication when designing data frames to be communicated over a communication system. [Brief explanation of the drawings]

[0009] [Figure 1] FIG. 1 is a schematic diagram showing a control system of a vehicle. [Figure 2] FIG. 2 is an explanatory diagram showing the structure of a data frame. [Figure 3] FIG. 3 is a schematic diagram showing an information processing system of a vehicle. [Figure 4] FIG. 4 is a flowchart showing a series of steps in the information processing method. [Figure 5] FIG. 5 is a flowchart showing the process of adjusting the number of data frames per period. [Figure 6] FIG. 6 is a flowchart showing the process of extracting a specific data frame. [Figure 7] FIG. 7 is a flowchart showing the process of updating the data length code. DETAILED DESCRIPTION OF THE INVENTION

[0010] (One embodiment) Hereinafter, an embodiment of an information processing device, an information processing method, and an information processing program will be described with reference to the drawings.

[0011] <Overview of vehicle communication system> First, the vehicle communication system will be described. As shown in Fig. 1, a vehicle 10 includes a communication system 20. The communication system 20 includes a relay device 30 and a plurality of control devices 40. The relay device 30 and each control device 40 are connected via a communication bus 50 for communication. In the communication system 20, a message MS is communicated using the CAN (Controller Area Network) FD (Flexible Date rate) protocol.

[0012] In this embodiment, two control devices 40 are connected to the relay device 30 via a first bus 51. In addition, two other control devices 40 are connected to the relay device 30 via a second bus 52.

[0013] The control device 40 controls, for example, actuators mounted on the vehicle 10. The control device 40 also outputs a motion request to another control device 40 based on, for example, a detection value from a sensor (not shown).

[0014] More specifically, one of the control devices 40 controls the engine of the vehicle 10. For example, one of the control devices 40 controls the brakes of the vehicle 10. For example, one of the control devices 40 is a so-called advanced safety ECU that outputs motion requests for acceleration and deceleration of the vehicle 10.

[0015] The control device 40 transmits a message MS composed of a predetermined data frame FL from the communication bus 50 to the destination control device 40 at a predetermined period. At this time, the control device 40 may also designate a control device 40 connected to a communication bus 50 other than the one to which the control device 40 is connected as the destination. In this case, the message MS is relayed by the relay device 30. The control device 40 also receives a message MS, the destination of which is itself, via the communication bus 50.

[0016] The relay device 30 relays a message MS transmitted and received across each communication bus 50. For example, assume that a message MS is transmitted from a control device 40 connected to the first bus 51 to a control device 40 connected to the second bus 52. In this case, the relay device 30 transmits the message MS received via the first bus 51 via the second bus 52.

[0017] As shown in FIG. 2, the data frame FL includes an identification number ID, a data length code DLC, and a data field FD. Data D, which is the main body of the message MS, is assigned to the data field FD. The data length, which is the size of the data field FD, is determined by the data length code DLC. The data length code DLC is a value indicating the data length, which is the size of the data field FD. The data length code DLC is an integer between "0" and "15." The number of data bytes of the data field FD, which indicates the size of the data field FD, is an integer between 0 and 8, namely, 12, 16, 20, 24, 32, 48, and 64. The larger the value of the data length code DLC, the larger the number of data bytes of the data field FD. For example, when the value of the data length code DLC is "12," the data length, i.e., the number of data bytes of the data field FD, is 24 bytes. For example, when the value of the data length code DLC is "13," the data length, i.e., the number of data bytes of the data field FD, is 32 bytes. The identification number ID indicates the type of content of the data D incorporated in the data field FD and the destination control device 40. The identification number ID is also used to determine the priority of communication arbitration.

[0018] 1, each control device 40 stores a message table MT that indicates the period at which each of multiple types of messages MS is to be transmitted. The control device 40 then repeatedly transmits the multiple types of messages MS in accordance with the message table MT.

[0019] In the message table MT, the number of types of messages MS to be transmitted in a specific cycle is set to a predetermined number RN or less. The message table MT also includes information for each message MS indicating whether the message MS is transmitted and received end-to-end.

[0020] In the communication system 20, multiple types of messages MS are repeatedly transmitted at a predetermined period, for example, from a control device 40 connected to the first bus 51 to a control device 40 connected to the second bus 52 via a relay device 30.

[0021] <Outline of the information processing system for communication systems> 3, the information processing system 100 includes a communication system 20 of a vehicle 10 and an information processing device 80. The information processing system 100 is a system for setting a data length code DLC of a data frame FL of each message MS in the communication system 20.

[0022] The information processing device 80 processes the message table MT in the communication system 20. In other words, the information processing device 80 is a device that sets the data length code DLC of the data frame FL of each message MS in the communication system 20.

[0023] The information processing device 80 is connected to a port of the relay device 30 when adjusting the message table MT in the communication system 20. The information processing device 80 can obtain information on the data frame FL of the message MS relayed by the relay device 30.

[0024] The information processing device 80 includes an execution unit 81 and a storage unit 82. The execution unit 81 is a CPU. The storage unit 82 is a ROM and a RAM. The execution unit 81 is capable of executing various programs stored in the storage unit 82. The information processing device 80 is used, for example, as a development tool for the vehicle 10 when developing the vehicle 10.

[0025] <Information processing method> The storage unit 82 stores an information processing program PR. The information processing program PR is a program that causes the information processing device 80, which is a computer, to execute an information processing method. The information processing method includes a step of extracting a specific data frame SFL and a step of reconstructing the specific data frame SFL as a new data frame FL with a shorter data length.

[0026] The execution unit 81 executes the information processing program PR when an input device (not shown) of the information processing device 80 is operated. When the execution unit 81 starts executing the information processing program PR, the execution unit 81 starts executing the information processing method. As a result, the execution unit 81 first performs the processing of step S11.

[0027] As shown in FIG. 4, in step S11, the execution unit 81 obtains a target bus load reduction amount for the target message table MT. Specifically, the execution unit 81 imagines a case in which multiple types of messages MS are transmitted according to the target message table MT, based on the current period and data length code DLC of the target message table MT. The execution unit 81 calculates the bus load value when the transmitted messages MS flow through the communication bus 50 in the imagined case. Next, the execution unit 81 subtracts a predetermined target bus load value from the calculated bus load value to obtain the target bus load reduction amount. After that, the execution unit 81 proceeds to step S12.

[0028] In step S12, the execution unit 81 arranges the multiple types of messages MS to be transmitted according to the message table MT in ascending order of transmission cycle. That is, the execution unit 81 arranges the data frames FL flowing on the communication bus 50 according to the message table MT in ascending order of transmission cycle. Thereafter, the execution unit 81 proceeds to step S13.

[0029] In step S13, the execution unit 81 adjusts the number of data frames FL per period. Details of the processing in step S13 will be described later. After the execution unit 81 adjusts the number of data frames FL per period, the execution unit 81 proceeds to step S14.

[0030] In step S14, the execution unit 81 extracts, from among the multiple types of data frames FL, a specific data frame SFL that can shorten the length of the data field FD based on the type of data frame FL. The details of the processing in step S14 will be described later. After extracting the specific data frame SFL, the execution unit 81 proceeds to step S15.

[0031] In step S15, the execution unit 81 updates the data length code DLC of the specific data frame SFL to a value that shortens the length of the data field FD. As a result, the execution unit 81 reconstructs the specific data frame SFL as a new data frame FL with a shorter data length. The processing of step S15 will be described in detail later. After the execution unit 81 shortens the data length code DLC of the specific data frame SFL, the execution unit 81 proceeds to the processing of step S16.

[0032] In step S16, the execution unit 81 determines whether the reduction amount of the bus load exceeds the target reduction amount. In other words, after updating the data length code DLC of the specific data frame SFL, the execution unit 81 determines whether the predicted communication load of the communication bus 50 is equal to or greater than a predetermined threshold. Specifically, the execution unit 81 calculates the bus load value from the period of the target message table MT and the data length code DLC included in the updated specific data frame SFL. Next, the execution unit 81 obtains the reduction amount by subtracting the currently calculated bus load value from the initial bus load value used when calculating the target bus load reduction amount. The execution unit 81 then compares the obtained reduction amount with the target reduction amount. If the bus load reduction amount exceeds the target reduction amount (S16: YES), the execution unit 81 terminates this series of processes.

[0033] On the other hand, if the reduction amount of the bus load is equal to or less than the target reduction amount (S16: NO), the execution unit 81 returns the process to step S13. As a result, a new specific data frame SFL is extracted and the data length code DLC of the newly extracted specific data frame SFL is shortened. The execution unit 81 repeats these processes until the reduction amount of the bus load exceeds the target reduction amount.

[0034] <Details of the process for adjusting the number of data frames per cycle> When the execution unit 81 starts the process of adjusting the number of data frames FL per period in step S13, the execution unit 81 first executes the process of step S21.

[0035] 5, in the process of step S21, the execution unit 81 first sets the target period x to the minimum value, and then the execution unit 81 proceeds to the process of step S22. In step S22, the execution unit 81 determines whether the number of data frames FL in the target cycle x is equal to or less than a predetermined specified number RN. The specified number RN is predetermined as a value smaller than the maximum number that can be transmitted in the target cycle x. For example, after adjusting the number of data frames FL per cycle through this series of processes, future design changes may result in additional data frames FL to be transmitted in the target cycle x. To accommodate such cases, the specified number RN is set as a value smaller than the maximum number. If the number of data frames FL in the target cycle x is greater than the specified number RN (S22: NO), the execution unit 81 proceeds to step S23.

[0036] In step S23, the execution unit 81 adjusts the period of one data frame FL among the data frames FL of the target period x. Specifically, the execution unit 81 increases the period of one data frame FL among the data frames FL of the target period x by one unit. Specifically, 1 ms is added to the period value of the target data frame FL. In other words, the period of one data frame FL among the data frames FL of the target period x is increased. This reduces the number of data frames FL whose period is the target period x. Then, the execution unit 81 returns the process to step S22. In other words, the execution unit 81 reduces the number of data frames FL of the target period x until it reaches the specified number RN.

[0037] On the other hand, if the number of data frames FL in the target period x is equal to or less than the specified number RN (S22: YES), the execution unit 81 proceeds to step S24. In step S24, the execution unit 81 determines whether the target period x is the maximum period. If the target period x is not the maximum period (S24: NO), the execution unit 81 proceeds to step S25.

[0038] In step S25, the execution unit 81 sets the value of the target period x to the next smallest value. That is, the execution unit 81 sets the target period x to a period that is one unit larger than the current target period x. After that, the execution unit 81 returns the process to step S22.

[0039] On the other hand, if the target period x is the maximum period (S24: YES), the execution unit 81 ends this series of processes. That is, the execution unit 81 performs the processes of steps S22 and S23 on the data frames FL for each period, thereby making the number of data frames FL in each period equal to or less than the specified number RN. This completes the process of step S13 shown in FIG. 1.

[0040] <Details of the process to extract a specific data frame> When the execution unit 81 starts the process of extracting the specific data frame SFL in step S14, the execution unit 81 first starts the process in step S31.

[0041] 6, in step S31, the execution unit 81 sets the target period x to the minimum value, and then the execution unit 81 proceeds to step S32. In step S32, the execution unit 81 sets the value of the target identification number ID to the minimum value, and then the execution unit 81 proceeds to step S33.

[0042] In step S33, the execution unit 81 determines whether or not extensibility is required for a data frame FL whose period is the target period x and whose identification number ID is the target identification number ID. Specifically, the execution unit 81 determines whether or not the data D included in the target data frame FL requires extensibility of the data field FD. Here, "extensibility is required" means that, at present, it is not necessary to allocate the data D to the entire data field FD, but the capacity of the data D may increase within the range of the data field FD in the future. A data frame FL including data D requiring extensibility of the data field FD is determined depending on the type of message MS or is determined in advance through testing or simulation. The execution unit 81 determines that extensibility is required when the target data frame FL matches a data frame FL previously determined as requiring extensibility. When the execution unit 81 determines that extensibility is not required for the target data frame FL (S33: NO), the execution unit 81 proceeds to step S34.

[0043] In step S34, the execution unit 81 determines whether a message authentication code (MAC) is attached to the target data frame FL. If a message authentication code (MAC) is not attached to the target data frame FL (S34: NO), the execution unit 81 proceeds to step S35.

[0044] In step S35, the execution unit 81 determines whether the target data frame FL is transmitted and received end-to-end. If the type of the target data frame FL matches a predetermined data frame FL that is transmitted and received end-to-end, the execution unit 81 determines that the target data frame FL is a data frame FL that is transmitted and received end-to-end. If the target data frame FL is not a data frame FL that is transmitted and received end-to-end (S35: NO), the execution unit 81 proceeds to step S36.

[0045] In step S36, the execution unit 81 determines whether the target data frame FL has already been extracted as a specific data frame SFL. If the target data frame FL has not yet been extracted as a specific data frame SFL (S36: NO), the execution unit 81 proceeds to step S37.

[0046] In step S37, the execution unit 81 extracts the target data frame FL as a specific data frame SFL. That is, the execution unit 81 extracts a data frame FL that does not require scalability as a specific data frame SFL. The execution unit 81 also extracts a data frame FL to which a message authentication code (MAC) is not assigned as a specific data frame SFL. The execution unit 81 also extracts a data frame FL that is not transmitted and received end-to-end as a specific data frame SFL. Furthermore, the execution unit 81 extracts a data frame FL that has not yet been extracted as a specific data frame SFL as a specific data frame SFL. After that, the execution unit 81 ends the process of extracting the current specific data frame SFL.

[0047] On the other hand, if extensibility is required for the target data frame FL (S33: YES), the execution unit 81 proceeds to step S38. Also, if a message authentication code MAC is assigned to the target data frame FL (S34: YES), the execution unit 81 proceeds to step S38. Also, if the target data frame FL is a data frame FL that is transmitted and received end-to-end (S35: YES), the execution unit 81 proceeds to step S38. Also, if the target data frame FL has already been extracted as a specific data frame SFL (S36: YES), the execution unit 81 proceeds to step S38.

[0048] In step S38, it is determined whether the target identification number ID is the maximum value. If the identification number ID of the target data frame FL is not the maximum value (S38: NO), the execution unit 81 proceeds to step S39.

[0049] In step S39, the execution unit 81 sets the target identification number ID to the next smallest value. Thereafter, the execution unit 81 returns the process to step S33. That is, the execution unit 81 determines the data frame FL with the smallest identification number ID value among the target data frames FL for which the processes of steps S33 to S37 have not yet been performed as the target. Then, the execution unit 81 performs the processes of steps S33 to S37 again for the target data frame FL. In this way, the processes of steps S33 to S37 are performed for all data frames FL with identification numbers IDs in the target cycle x, in order from the data frame FL with the smallest identification number ID, until a specific data frame SFL is extracted.

[0050] On the other hand, if the identification number ID of the target data frame FL is the maximum value (S38: YES), the execution unit 81 proceeds to step S40. In step S40, the execution unit 81 determines whether the target period x is the maximum value. If the target period x, which is the period of the target data frame FL, is not the maximum value (S40: NO), the execution unit 81 proceeds to step S41.

[0051] In step S41, the execution unit 81 sets the target period x to the next smallest value. Thereafter, the execution unit 81 returns the process to step S32. In this way, the execution unit 81 determines the data frame FL with the smallest period as the target among the target data frames FL for which the processes of steps S32 to S39 have not yet been performed. Then, the execution unit 81 performs the processes of steps S32 to S39 again for the target data frame FL. In this way, the execution unit 81 extracts a specific data frame SFL as follows: Of the multiple types of data frames FL, one that is transmitted and received every first period is defined as a first data frame FL1. Furthermore, a data frame FL of a type different from the first data frame FL1 that is transmitted and received every second period that is longer than the first period is defined as a second data frame FL2. At this time, the execution unit 81 extracts a specific data frame SFL from the second data frame FL2 on the condition that the specific data frame SFL could not be extracted from the first data frame FL1. That is, until the specific data frame SFL is extracted, the processes of steps S33 to S37 are performed for the data frames FL transmitted and received at a plurality of different cycles in order from the data frame FL with the shortest cycle.

[0052] When the target period x reaches the maximum value (S40: YES), the specific data frame SFL is not extracted. Then, the execution unit 81 outputs a signal indicating an error to a monitor (not shown), and ends the processing of step S14 shown in FIG.

[0053] 4, after extracting a specific data frame SFL in step S14, if the reduction amount of the bus load is equal to or less than the target reduction amount in step S16 (S16: NO), the execution unit 81 performs the process of step S14 again. In this repeated process, the execution unit 81 first extracts a specific data frame SFL from the first data frame FL1 transmitted and received for each specific target period x. The execution unit 81 also updates the data length codes DLC of all the specific data frames SFL extracted from the first data frame FL1. Thereafter, if the predicted communication load of the communication bus 50 is still equal to or greater than the threshold, the execution unit 81 extracts a specific data frame SFL again in step S14. The newly extracted specific data frame SFL at this time is a specific data frame SFL for which the target period x is a second period longer than the first period, which is the period for transmitting and receiving the first data frame FL1. That is, the execution unit 81 extracts the specific data frame SFL from the first data frame FL1, updates its data length code DLC, and then extracts the specific data frame SFL from the second data frame FL2.

[0054] <Details of the process to update the data length code> When the execution unit 81 starts the process of shortening the data length code DLC of the specific data frame SFL in step S15, it first starts the process of step S51.

[0055] 7, in step S51, the execution unit 81 sets the value of the data length code DLC of the extracted specific data frame SFL to a value obtained by subtracting "1" from the current value. After that, the execution unit 81 proceeds to step S52.

[0056] In step S52, the execution unit 81 determines whether the filling rate of the data D of the specific data frame SFL exceeds 100%. The filling rate of the data D is the value obtained by dividing the bit length of the data D by the bit length of the data field FD. In other words, the execution unit 81 determines whether the data D can fit into the data field FD with the value of the data length code DLC obtained in step S51.

[0057] When the filling rate of the data D of the specific data frame SFL is 100% or less (S52: NO), the execution unit 81 returns the process to step S51. That is, the execution unit 81 decreases the value of the data length code DLC of the specific data frame SFL by 1 until the filling rate exceeds 100%.

[0058] On the other hand, if the filling rate of the data D of the specific data frame SFL exceeds 100% (S52: YES), the execution unit 81 proceeds to step S53. In step S53, the execution unit 81 sets the value of the data length code DLC of the specific data frame SFL to a value obtained by adding "1" to the current value. As a result, the execution unit 81 updates the data length code DLC so that the filling rate of the data D stored in the data field FD becomes the maximum value within a range that does not exceed 100%. The execution unit 81 then completes the processing of step S15 shown in FIG. 1.

[0059] (Operation of the embodiment) According to the above embodiment, the information processing device 80 executes the information processing program PR, thereby adjusting the message table MT stored in the control device 40. At this time, the information processing device 80 extracts a specific data frame SFL from among multiple types of data frames FL. Then, the information processing device 80 updates the value of the data length code DLC of the specific data frame SFL to a value that shortens the length of the data field FD, thereby reconstructing the specific data frame SFL as a new data frame with a shorter data length.

[0060] (Effects of the embodiment) (1) According to the above embodiment, the specific data frame SFL is reconstructed as a new data frame with a shorter data length. Therefore, if the number of messages MS to be relayed by the relay device 30 remains the same, the total capacity of the messages MS to be relayed becomes smaller. In other words, when designing the data frame FL to be communicated on the communication system 20, it is possible to design the data frame FL so that more efficient communication can be realized.

[0061] (2) According to the above embodiment, when updating the data length code DLC included in the specific data frame SFL, the execution unit 81 updates it as follows. The execution unit 81 updates the data length code DLC so that the filling rate of the data D stored in the data field FD is the maximum value within a range that does not exceed 100%. This makes it possible to shorten the data length of the message MS to the maximum extent possible while ensuring the size of the data field FD in which the data D of the specific data frame SFL should be stored.

[0062] (3) According to the above embodiment, the execution unit 81 extracts a data frame FL to which no message authentication code MAC is assigned as a specific data frame SFL. For a data frame FL to which a message authentication code MAC is assigned, the data length is used during message authentication. Therefore, if the data length of a data frame FL to which a message authentication code MAC is assigned were shortened, problems would occur during message authentication. In this regard, according to the above embodiment, problems during message authentication can be prevented.

[0063] (4) According to the above embodiment, the execution unit 81 extracts a data frame FL that is not transmitted and received end-to-end as a specific data frame SFL. The data length of a data frame FL that is transmitted and received end-to-end is determined by the device that transmits and receives the data frame FL. Therefore, if the data length of a data frame FL that is transmitted and received end-to-end were shortened, a malfunction would occur in processing. In this regard, according to the above embodiment, it is possible to prevent malfunctions from occurring when a data frame FL that is transmitted and received end-to-end is processed.

[0064] (5) According to the above embodiment, the execution unit 81 extracts the specific data frame SFL from the second data frame FL2 on the condition that the specific data frame SFL could not be extracted from the first data frame FL1. In other words, the execution unit 81 extracts the specific data frame SFL from the first data frame FL1, which is transmitted and received in a relatively short first cycle, before the second data frame FL2, which is transmitted and received in a longer second cycle. If the data length of the data frame FL, which has a shorter cycle, can be shortened, the communication load can be more easily reduced since the transmission and reception are repeated more frequently. Therefore, the data frame FL that can provide the greatest effect can be preferentially selected as the specific data frame SFL.

[0065] (6) According to the above embodiment, the execution unit 81 extracts specific data frames SFL from the first data frame FL1. The execution unit 81 also updates the data length codes DLC of all specific data frames SFL extracted from the first data frame FL1. After these steps, if the predicted communication load of the communication bus 50 is equal to or greater than a threshold, the execution unit 81 extracts specific data frames SFL from the second data frame FL2. In other words, if the communication load of the communication bus 50 is still heavy even after shortening the data length of data frames FL with smaller cycles, the execution unit 81 attempts to extract specific data frames SFL from data frames FL with larger cycles. This increases the likelihood that the execution unit 81 can reduce the communication load of the communication bus 50 below the threshold.

[0066] (Other embodiments) The above embodiment can be modified as follows: The above embodiment and the following modifications can be combined with each other within the scope of technical compatibility.

[0067] The configuration of the communication system 20 is not limited to the example of the above embodiment. For example, the communication system 20 may have three or more communication buses 50. The information processing device 80 may be configured as a circuit including one or more processors that execute various processes according to a computer program (software). The information processing device 80 may also be configured as a circuit including one or more dedicated hardware circuits, such as an application-specific integrated circuit (ASIC), that execute at least some of the various processes, or a combination thereof. The processor includes a CPU and memory such as RAM and ROM. The memory stores program code or instructions configured to cause the CPU to execute the processes. The memory, i.e., computer-readable medium, includes any available medium that can be accessed by a general-purpose or dedicated computer. This also applies to the relay device 30 and the control device 40.

[0068] The method for updating the data length code DLC of the specific data frame SFL is not limited to the example in the above embodiment. For example, the information processing device 80 may update the data length code DLC only by processing step S51, omitting the processing of steps S52 and S53. Furthermore, in the processing of step S51, the value of the data length code DLC may be decreased by 2 or more.

[0069] In the above embodiment, the process of step S33 may be omitted. That is, the specific data frame SFL may be extracted regardless of the extensibility of the data frame FL. In the above embodiment, the process of step S34 may be omitted. That is, the specific data frame SFL may be extracted regardless of the message authentication of the data frame FL.

[0070] In the above embodiment, the process of step S35 may be omitted. That is, the specific data frame SFL may be extracted regardless of whether the data frame FL is transmitted and received end-to-end.

[0071] The method for selecting a specific data frame SFL from among multiple types of data frames FL is not limited to the example in the above embodiment. It is sufficient to extract the specific data frame SFL based on the type of data frame FL. For example, the data frame FL with the smallest period may be selected from among multiple types of data frames FL, and then one of the data frames FL with the smallest period may be randomly extracted as the specific data frame SFL.

[0072] When extracting a specific data frame SFL multiple times, the specific data frame SFL may be extracted from the second data frame FL2 before all of the specific data frames SFL extracted from the first data frame FL1 are extracted.

[0073] In the above embodiment, the specific data frame SFL may be extracted regardless of the period. For example, if the identification number ID is a different value for all data frames FL regardless of the period, the processing of steps S33 to S37 may be performed in the order of the identification numbers ID.

[0074] In the above embodiment, the processes of steps S12 and S13 may be omitted. The information processing device 80 may only extract specific data frames SFL and update the data length codes DLC of the specific data frames SFL from the message table MT to which a period and an identification number ID have been assigned in advance.

[0075] <Related technical ideas> The technical ideas that can be understood from the above-described embodiment and modified examples will be described. <1> extracting a specific data frame whose data length can be shortened based on the type of the data frame from among a plurality of types of data frames transmitted and received on a communication bus, the data frames including a data length code indicating a data length and a data field having the data length indicated by the data length code; updating the data length code included in the specific data frame to a data length code having a shorter data length, thereby reconstructing the specific data frame as a new data frame having a shorter data length; is feasible Information processing device.

[0076] <2> When updating the data length code included in the specific data frame, the data length code is updated so that the filling rate of the data stored in the data field becomes the maximum value within a range not exceeding 100%. <1> The information processing device described in

[0077] <3> The data frame to which the message authentication code is not assigned is extracted as the specific data frame. <1> or <2> The information processing device described in

[0078] <4> The data frame that is not transmitted and received end-to-end is extracted as the specific data frame. <1> ~ <3> 10. An information processing device according to claim 9, wherein:

[0079] <5> When a data frame of the plurality of types that is transmitted and received every first period is defined as a first data frame, and a data frame of a type different from the first data frame that is transmitted and received every second period that is longer than the first period is defined as a second data frame, extracting the specific data frame from the second data frame on the condition that the specific data frame could not be extracted from the first data frame; <1> ~ <4> 10. An information processing device according to claim 9, wherein:

[0080] <6> extracting the specific data frame from the first data frame and updating the data length codes of all the specific data frames extracted from the first data frame, and then extracting the specific data frame from the second data frame if a predicted communication load of the communication bus is equal to or greater than a predetermined threshold. <5> The information processing device described in [Explanation of symbols]

[0081] 10...Vehicle 20...Communication Systems 30...Relay device 40...Control device 50...Communication bus 51... Bus No. 1 52...2nd bus 80...Information processing device 81...Execution unit 82...Memory unit 100...Information Processing Systems PR…Information Processing Program

Claims

1. extracting a specific data frame whose data length can be shortened based on the type of the data frame from among a plurality of types of data frames transmitted and received on a communication bus, the data frames including a data length code indicating a data length and a data field having the data length indicated by the data length code; updating the data length code included in the specific data frame to a data length code having a shorter data length, thereby reconstructing the specific data frame as a new data frame having a shorter data length; is executable, When a data frame of the plurality of types that is transmitted and received every first period is defined as a first data frame, and a data frame of a type different from the first data frame that is transmitted and received every second period that is longer than the first period is defined as a second data frame, extracting the specific data frame from the second data frame on the condition that the specific data frame could not be extracted from the first data frame; Information processing device.

2. When updating the data length code included in the specific data frame, the data length code is updated so that the filling rate of the data stored in the data field becomes the maximum value within a range not exceeding 100%. The information processing device according to claim 1 .

3. The data frame to which the message authentication code is not assigned is extracted as the specific data frame. The information processing device according to claim 1 .

4. extracting the specific data frames from the first data frames and updating the data length codes of all the specific data frames extracted from the first data frames, and then extracting the specific data frames from the second data frames if a predicted communication load on the communication bus is equal to or greater than a predetermined threshold value; The information processing device according to claim 1 .

5. The computer extracting a specific data frame whose data length can be shortened based on the type of the data frame from among a plurality of types of data frames transmitted and received on a communication bus, the data frames including a data length code indicating a data length and a data field having the data length indicated by the data length code; updating the data length code included in the specific data frame to a data length code having a shorter data length, thereby reconstructing the specific data frame as a new data frame having a shorter data length; Run When a data frame of the plurality of types that is transmitted and received every first period is defined as a first data frame, and a data frame of a type different from the first data frame that is transmitted and received every second period that is longer than the first period is defined as a second data frame, The computer extracts the specific data frame from the second data frame on the condition that the specific data frame cannot be extracted from the first data frame. Information processing methods.

6. To the computer extracting a specific data frame whose data length can be shortened based on the type of the data frame from among a plurality of types of data frames transmitted and received on a communication bus, the data frames including a data length code indicating a data length and a data field having the data length indicated by the data length code; updating the data length code included in the specific data frame to a data length code having a shorter data length, thereby reconstructing the specific data frame as a new data frame having a shorter data length; Execute When a data frame of the plurality of types that is transmitted and received every first period is defined as a first data frame, and a data frame of a type different from the first data frame that is transmitted and received every second period that is longer than the first period is defined as a second data frame, causing the computer to extract the specific data frame from the second data frame on the condition that the specific data frame could not be extracted from the first data frame; Information processing program.

Citation Information

Patent Citations

  • Network system

    JP2006287738A

  • Reception device and reception method

    JP2016129339A

  • Relay device

    JP2017073709A

  • Method and apparatus for communicating over networks

    US20180054393A1