Vehicle data collection device and vehicle data collection system
By designing a vehicle data collection device with multi-level retention function, the problem of the inability to collect vehicle data in the prior art before and after the potential risks occur, a comprehensive understanding of the vehicle operating status is achieved, and the efficiency of AI learning and software verification is improved.
Patent Information
- Application Number
- CN202380075443.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Priority Date
- 2022-11-14
- Filing Date
- 2023-08-09
- Publication Date
- 2025-06-06
AI Technical Summary
The prior art cannot collect data generated by vehicle data before and after the occurrence of potential risks, resulting in the inability to fully understand the operating status of the vehicle, affecting AI learning and software verification.
A vehicle data collection device is designed, which has functions such as setting, determining collection conditions, output data, multi-stage holding and sending. The setting unit determines the setting information corresponding to the collection request, and the collection condition determination unit determines that the collection condition is established, the data output unit outputs vehicle data, the multi-level holding unit holds the collection data, and transmits data when the communication is established.
While suppressing communication pressure and cost increase, it realizes the flexibly collecting data before and after the collection conditions of vehicle data is established, meeting the needs of a comprehensive understanding of the vehicle's operating status and improving the efficiency of AI learning and software verification.
Smart Images

Figure CN120112966A_ABST
Abstract
Description
Technical Field
[0001] The invention relates to a vehicle data collection device and a vehicle data collection system. Background Art
[0002] In recent years, a vehicle data collection device has been developed that collects data from a sold vehicle and sends it to a server device installed outside the vehicle. The vehicle data collection device collects vehicle data such as control signals exchanged inside any electronic control unit (hereinafter referred to as "ECU") installed in the vehicle or between ECUs during driving, etc., based on a request from the server device. The vehicle data collection device then sends the collected vehicle data to the server device via a mobile phone communication network or the like.
[0003] The server device collects vehicle data from multiple vehicles for various purposes. For example, the server device can be used for AI (Artificial Intelligence) learning by collecting sensor data when potential risks occur from autonomous vehicles. In addition, the server device can be used for software verification by collecting software input and output data.
[0004] An example of a vehicle data collection system is disclosed in Patent Document 1. A server device in the system disclosed in Patent Document 1 determines a condition for collecting vehicle data, and if it is detected that the collection condition is satisfied, requests an ECU to be collected to transmit the vehicle data to be collected.
[0005] Prior art literature
[0006] Patent Literature
[0007] Patent Document 1: Japanese Patent Application Publication No. 2016-132368 Summary of the invention
[0008] Problems to be solved by the invention
[0009] However, in the system described in Patent Document 1, the transmission of vehicle data is requested after the collection condition is detected to be satisfied, so the vehicle data before the collection condition is satisfied cannot be collected. For example, in the case where it is desired to collect vehicle data from an autonomous driving vehicle in which a potential risk occurs so that AI can learn to suppress the occurrence of the potential risk, it is important to collect not only the vehicle data obtained after the potential risk occurs, but also the vehicle data obtained in the process until the potential risk occurs. The system disclosed in Patent Document 1 cannot collect vehicle data before the collection condition is satisfied, and therefore cannot collect vehicle data obtained in the process until the potential risk occurs.
[0010] In order to collect vehicle data before the collection condition is satisfied, it is necessary to accumulate vehicle data from before the collection condition is satisfied. In order to accumulate vehicle data from before the collection condition is satisfied, for example, when a non-volatile memory is provided in any ECU, it is necessary to frequently send vehicle data from the ECU that is the output source of vehicle data to the ECU that is provided with the non-volatile memory, which will oppress communication. In addition, for example, when a non-volatile memory is provided in each ECU, communication oppression between ECUs is avoided. However, the ECU that is the output source of vehicle data is not determined before receiving a request from a server device, and it is necessary to provide a non-volatile memory for all ECUs that may become the output source, thereby increasing costs. In addition, when a volatile memory provided by each ECU is used to accumulate vehicle data, the capacity that can be allocated to the accumulated volatile memory is different for each vehicle, so it is necessary to abandon the collection method that cannot collect vehicles with small capacity, or abandon the collection itself from vehicles with small capacity, so it is difficult to collect vehicle data flexibly.
[0011] The present invention has been made in view of the above circumstances, and an object of the present invention is to flexibly collect vehicle data before and after vehicle data collection conditions are met while suppressing communication pressure and cost increase.
[0012] Means for solving problems
[0013] In order to solve the above-mentioned problem, a vehicle data collection device of the present invention collects the vehicle data from an electronic control device according to a vehicle data collection request, and the vehicle data collection device comprises: a setting unit that determines a collection setting that is setting information for the electronic control device corresponding to the collection request; a collection condition determination unit that sets the collection data of the vehicle data based on the collection setting and determines whether the set collection condition is satisfied; a collection data output unit that sets the collection data of the vehicle data to be collected based on the collection setting and obtains and outputs the set collection data from the electronic control device; a multi-stage storage unit that stores the collection data output before the collection condition is satisfied and the collection data output after the collection condition is satisfied based on the collection setting; a transmission waiting unit that waits for the collection data held by the multi-stage storage unit to be sent to a request source of the collection request; and a transmission unit that sends the collection data waiting in the transmission waiting unit to the request source, wherein the collection request includes a setting value related to the number of collection data held by the multi-stage storage unit, and the setting unit determines the collection setting by changing the number of collection data held by the multi-stage storage unit according to the setting value.
[0014] Effects of the Invention
[0015] According to the present invention, it is possible to flexibly collect vehicle data before and after a vehicle data collection condition is satisfied while suppressing communication pressure and cost increase.
[0016] Other problems, structures, and effects than those described above will become apparent from the following description of the embodiments. BRIEF DESCRIPTION OF THE DRAWINGS
[0017] Figure 1 This is a diagram showing a schematic configuration of a vehicle data collection system including the vehicle data collection device according to the first embodiment.
[0018] Figure 2 Yes means Figure 1 A diagram showing a schematic structure of a vehicle is shown.
[0019] Figure 3 Yes means Figure 2 FIG. 1 is a diagram showing the functional structure of a vehicle data collection device.
[0020] Figure 4 It is composed Figure 3 A flow chart of the communication procedure of the communication function shown.
[0021] Figure 5 It is composed Figure 3 Flowchart of the setting procedure of the setting function shown.
[0022] Figure 6 It is composed Figure 3 A flowchart of the determination procedure of the determination function shown.
[0023] Figure 7 It is composed Figure 3 Flowchart of the collection procedure of the collection function shown.
[0024] Figure 8 It is composed Figure 3 The flowchart of the waiting procedure of the waiting function is shown.
[0025] Fig. 9 Yes Description Figure 3 A diagram showing the operation of the multi-stage holding unit.
[0026] Fig.10 Yes Description Figure 3 The diagram shown is a diagram of the operation of the multi-stage holding unit when the setting unit determines the collection setting based on the front and back priorities.
[0027] Fig.11 Yes Description Figure 3 The diagram shown is a diagram of the operation of the multi-stage holding unit when the setting unit determines the collection setting based on the condition priority.
[0028] Fig.12 Yes Description Figure 3 The illustrated diagram is a diagram of the operation of the multi-stage storage unit when the setting unit determines the collection setting based on the form priority.
[0029] Fig.13 Yes Description Figure 3 FIG. 1 is a diagram showing an operation example of the vehicle data collection device shown.
[0030] Fig.14 Yes Description Figure 3 FIG. 1 is a diagram showing an operation example of the vehicle data collection device shown.
[0031] Fig.15 Yes Description Figure 3 FIG. 1 is a diagram showing an operation example of the vehicle data collection device shown.
[0032] Fig.16 This is a diagram showing a schematic configuration of a vehicle data collection device according to a second embodiment.
[0033] Fig.17 This is a diagram showing a schematic configuration of a vehicle data collection device according to a third embodiment.
[0034] Fig.18 This is a diagram showing the functional structure of a vehicle data collection device according to a fourth embodiment.
[0035] Fig.19 Yes means Fig.18 FIG. 1 is a diagram showing an operation example of the vehicle data collection device shown.
[0036] Fig. 20 This is a sequence diagram for explaining the vehicle data collection device according to the fifth embodiment.
[0037] Fig.21 This is a diagram showing the functional structure of a vehicle data collection device according to a sixth embodiment.
[0038] Fig. 22 This is a diagram showing the functional structure of a vehicle data collection device according to a seventh embodiment.
[0039] Fig.23 This is a diagram showing the functional structure of a vehicle data collection device according to the eighth embodiment.
[0040] Fig.24 This is a diagram showing a schematic configuration of a vehicle data collection system according to a ninth embodiment.
[0041] Fig.25 Yes means Fig.24 A diagram of the functional architecture of a vehicle data collection system is shown. DETAILED DESCRIPTION
[0042] Hereinafter, embodiments of the present invention will be described using the drawings. In addition, unless otherwise specified, structures with the same reference numerals in each embodiment have the same functions in each embodiment, and description thereof will be omitted.
[0043] In each embodiment described below, the present invention is applied to a control unit (ECU) of an electric vehicle with an automatic driving function. However, the present invention can also be applied to a control unit (ECU) of various vehicles such as an electric vehicle without an automatic driving function, a hybrid vehicle, an engine vehicle, or a construction vehicle traveling at a construction site.
[0044] [Implementation Method 1]
[0045] use Figure 1 to Figure 15 , the vehicle data collection device 5 according to the first embodiment is described.
[0046] Figure 1 This is a diagram showing a schematic configuration of a vehicle data collection system 1 including a vehicle data collection device 5 according to the first embodiment. Figure 1 The dashed arrows shown represent the flow of signals or data.
[0047] The vehicle data collection system 1 comprises: a terminal device 2 for an administrator to input administrator settings; a server device 3 connected to the terminal device 2 in a manner capable of communicating by wire or wirelessly; and a vehicle 4 connected to the server device 3 via a wireless communication network such as a mobile phone communication network.
[0048] The terminal device 2 has a user interface such as a display and a keyboard. The administrator can input the administrator settings to the terminal device 2 via a GUI (Graphical User Interface). The administrator settings are settings for vehicle data collection input by the administrator, including the range of vehicles for which vehicle data collection is attempted and the request for transmission to each vehicle. The terminal device 2 sends the input administrator settings to the server device 3.
[0049] The server device 3 is composed of a CPU (Central Processing Unit), a DRAM (Dynamic Random Access Memory), a hard disk drive, a network adapter, etc., and various functions of the server device 3 are realized by the CPU executing the server program.
[0050] The server device 3 includes a request unit 100 that generates a vehicle data collection request based on the administrator setting sent from the terminal device 2 and sends the generated collection request to the vehicle 4. Specifically, the request unit 100 serializes the request included in the administrator setting sent from the terminal device 2 and calculates the request byte string. In addition, the request unit 100 selects a plurality of vehicles including the vehicle 4 based on the range included in the administrator setting and sends the request byte string via the mobile phone communication network. Thus, the server device 3 can transmit the vehicle data collection request corresponding to the request included in the administrator setting to the vehicle 4 for the plurality of vehicles corresponding to the range included in the administrator setting.
[0051] The range included in the administrator's settings may also be a range specified by the vehicle model. Thus, the server device 3 can transmit vehicle data collection requests only to vehicles 4 of a specific model. The range included in the administrator's settings may also be a range specified by the vehicle model. Thus, the server device 3 can transmit vehicle data collection requests only to vehicles 4 of a specific model. The range included in the administrator's settings may also be a range specified by the region where the vehicle 4 is located. Thus, the server device 3 can transmit vehicle data collection requests only to vehicles 4 existing in specific regions such as specific towns and villages, specific roads, and specific intersections. The range included in the administrator's settings may also be a range specified by a list of vehicle registration numbers. Thus, the server device 3 can transmit vehicle data collection requests only to vehicles 4 of specific vehicle registration numbers.
[0052] The vehicle 4 collects vehicle data from the ECU mounted on the vehicle 4 in response to a request from the server device 3. The collected vehicle data is temporarily stored on the vehicle 4 side until the communication between the vehicle 4 and the server device 3 is established, and then serialized and converted into a waiting data byte string, and sent to the server device 3 via the mobile phone communication network. In this way, the server device 3 can collect vehicle data.
[0053] Figure 2 Yes means Figure 1 A diagram showing a schematic structure of a vehicle 4 is shown. Figure 2 The dashed arrows shown represent the flow of signals or data.
[0054] The vehicle 4 includes: a motor 6 that drives the vehicle 4; a brake 7 that brakes the vehicle 4; a steering wheel 8 that controls the steering of the vehicle 4; a camera 9 that takes a picture of the front of the vehicle 4; a LiDAR 10 (Light Detection And Ranging) 10 that measures the surroundings of the vehicle 4; a powertrain ECU 11 that instructs the motor 6 to move; a brake ECU 12 that instructs the brake 7 to move; a steering wheel ECU 13 that instructs the steering wheel 8 to move; an automatic driving ECU 14 that calculates an automatic driving instruction value of the vehicle 4; a gateway ECU 15 that prevents illegal intrusion from outside the vehicle; and a telematics ECU 16 that communicates with the outside of the vehicle. In addition, the vehicle 4 includes a vehicle data collection device 5 that collects vehicle data from the ECU in response to a vehicle data collection request from the server device 3.
[0055] The motor 6 converts the electric energy supplied to the motor 6 into kinetic energy to generate power. The generated power is transmitted to the drive wheel after being decelerated by the reducer, and becomes the driving force for driving the vehicle 4. The brake 7 generates friction by pressing the brake pads against the disc rotor that rotates with the wheel. In this way, the kinetic energy of the rotating wheel can be converted into heat energy to brake the vehicle 4. The steering wheel 8 can control the steering of the vehicle 4 by changing the direction of travel by changing the angle of the drive wheel. The camera 9 can capture the front of the vehicle 4 by converting the intensity of the light incident on the imaging element into an electric charge, and output image data. The LiDAR 10 irradiates the surroundings of the vehicle 4 with laser, measures the distance to the surroundings of the vehicle 4 by detecting the reflected light, and can output the measurement results as point group data.
[0056] The powertrain ECU 11 is configured to include a CPU and a DRAM, etc., and the CPU executes a powertrain control program to calculate a command value for the motor 6. The brake ECU 12 is configured to include a CPU and a DRAM, etc., and the CPU executes a brake control program to calculate a command value for the brake 7. The steering wheel ECU 13 is configured to include a CPU and a DRAM, etc., and the CPU executes a steering wheel control program to calculate a command value for the steering wheel 8. Thus, the vehicle 4 can control driving such as acceleration, deceleration, and turning of the vehicle 4.
[0057] The automatic driving ECU 14 is composed of a CPU, a DRAM, and a flash memory, etc., and the CPU executes the automatic driving control program to calculate the automatic driving command value. At this time, the automatic driving ECU 14 calculates the automatic driving command value based on the image data sent from the camera 9 or the point group data sent from the LiDAR 10. In addition, the automatic driving ECU 14 sends the calculated automatic driving command value to the powertrain ECU 11, the brake ECU 12, and the steering wheel ECU 13 by executing the automatic driving control program by the CPU. As a result, the vehicle 4 can drive autonomously.
[0058] The gateway ECU 15 is composed of a CPU and a DRAM, etc., and the CPU executes a gateway control program to monitor the communication with the outside of the vehicle and prevent illegal intrusion from the outside of the vehicle. The telematics ECU 16 is composed of a CPU, a DRAM, and a communication antenna, etc., and the CPU executes a communication program to communicate with the server device 3 via a mobile phone communication network.
[0059] Figure 3 Yes means Figure 2 FIG. 5 is a diagram showing the functional structure of the vehicle data collection device 5 shown.
[0060] The vehicle data collection device 5 includes a communication function 20 for communicating with a request source (the server device 3 in this embodiment) for collecting vehicle data, a setting function 21 for setting each ECU related to the collection of vehicle data, and a determination function 22 for determining whether a condition for collecting vehicle data is satisfied. In addition, the vehicle data collection device 5 includes a collection function 23 for collecting vehicle data, and a waiting function 24 for waiting for the vehicle data (hereinafter also referred to as "collected data") collected by the collection function 23 to be sent to the server device 3.
[0061] Each function 20 to 24 of the vehicle data collection device 5 is installed in each ECU. Each function 20 to 24 of the vehicle data collection device 5 is composed of the hardware and software of each ECU. For example, the communication function 20 is installed in the telematics ECU 16. The communication function 20 is composed of the CPU, memory and communication program included in the telematics ECU 16. For example, the setting function 21 is installed in the gateway ECU 15. The setting function 21 is composed of the CPU, memory and setting program included in the gateway ECU 15. For example, the determination function 22 is installed in the powertrain ECU 11, the brake ECU 12, the steering wheel ECU 13, the automatic driving ECU 14 or the gateway ECU 15. The determination function 22 is composed of the CPU, memory and determination program included in the powertrain ECU 11, the brake ECU 12, the steering wheel ECU 13, the automatic driving ECU 14 or the gateway ECU 15. For example, the collection function 23 is installed in the powertrain ECU 11, the brake ECU 12, the steering wheel ECU 13, the automatic driving ECU 14 or the gateway ECU 15. The collection function 23 is composed of a CPU, a memory, and a collection program included in the powertrain ECU 11, the brake ECU 12, the steering wheel ECU 13, the autonomous driving ECU 14, or the gateway ECU 15. The waiting function 24 is installed in the autonomous driving ECU 14. The waiting function 24 is composed of a CPU, a memory, and a waiting program included in the autonomous driving ECU 14. The functions 20 to 24 of the vehicle data collection device 5 are implemented by the CPU of each ECU executing the program constituting each function 20 to 24. The CPU of each ECU executes the program constituting each function 20 to 24 in parallel with the control program of each ECU.
[0062] The communication function 20 includes a receiving unit 30 for receiving a collection request from the server device 3 as a request source for vehicle data. In addition, the communication function 20 includes a sending unit 31 for sending the collected vehicle data (collected data) to the server device 3 as a request source. Figure 4 This will be described later.
[0063] The setting function 21 includes a setting unit 40 that determines collection settings corresponding to each ECU based on a vehicle data collection request received by the receiving unit 30 .
[0064] The collection setting is the setting information for each ECU related to the collection of vehicle data. The collection setting is the setting information for each ECU corresponding to the received collection request. Specifically, the collection setting is based on the specifications of each ECU (i.e., powertrain ECU11, brake ECU12, steering wheel ECU13, autonomous driving ECU14, gateway ECU15) constituting the collection function 23, so that each ECU can execute the collection program of the collection function 23, and the content of the received collection request is changed according to the setting information obtained by each ECU. The collection request includes a setting value related to the number of collection data retained by the multi-stage retention unit 53. The setting unit 40 can determine the collection setting by changing the number of collection data retained by the multi-stage retention unit 53 according to the setting value included in the collection request. For details about the setting function 21, use Figure 5 This will be described later.
[0065] The determination function 22 includes a collection condition determination unit 51 that sets the collection condition of the vehicle data based on the collection setting determined by the setting unit 40, and determines whether the set collection condition is satisfied. Furthermore, the determination function 22 includes a determination data output unit 50 that sets the vehicle data to be the determination object when the collection condition determination unit 51 determines whether the collection condition is satisfied based on the collection setting as determination data, and obtains and outputs the set determination data from the ECU.
[0066] The collection condition determination unit 51 determines whether the set collection condition is satisfied with respect to the determination data outputted from the determination data output unit 50. When the collection condition determination unit 51 determines that the collection condition is satisfied, it sends a condition indicating that the collection condition is satisfied to the multi-stage storage unit 53. Figure 6 This will be described later.
[0067] The collection function 23 includes a collection data output unit 52, which sets the vehicle data of the collection object as the collection data based on the collection setting determined by the setting unit 40, obtains and outputs the set collection data from the ECU. In addition, the collection function 23 includes a multi-stage storage unit 53, which stores the collection data output before the collection condition is satisfied and the collection data output after the collection condition is satisfied based on the collection setting.
[0068] The multi-stage retention unit 53 is configured to include a part of the memory and the collection program included in the ECU constituting the collection function 23. The memory constituting the multi-stage retention unit 53 is a volatile memory, such as a ring buffer. Based on the collection setting set by the setting unit 40 and the establishment condition sent from the collection condition determination unit 51, the multi-stage retention unit 53 deletes the retained collection data in order from old to new according to a predetermined action cycle, and sequentially retains the collection data output from the collection data output unit 52. In this way, the multi-stage retention unit 53 updates the collection data (hereinafter also referred to as "retention data") retained by the memory constituting the multi-stage retention unit 53 according to the action cycle. In addition, when the action cycle has passed a predetermined number of times since the establishment condition was received (that is, since the collection condition was established), the multi-stage retention unit 53 stops updating the retention data and sends the retention data of the multi-stage retention unit 53 to the sending waiting unit 60. For details about the collection function 23, use Figure 7 This will be described later.
[0069] The waiting function 24 includes a sending waiting unit 60 that waits for the collected data to be sent to the request source. The sending waiting unit 60 includes a memory and a waiting program included in the ECU constituting the waiting function 24. The memory constituting the sending waiting unit 60 is a non-volatile memory, such as a flash memory. The sending waiting unit 60 stores the retained data sent from the multi-stage retaining unit 53 in the memory constituting the sending waiting unit 60, and waits until the communication between the server device 3 as the request source and the vehicle 4 is established. When the communication between the server device 3 and the vehicle 4 is established, the retained data stored in the memory constituting the sending waiting unit 60 (hereinafter also referred to as "waiting data") is sent by the sending unit 31 to the server device 3 as the request source. For details of the waiting function 24, use Figure 8 This will be described later.
[0070] Figure 4 It is composed Figure 3 The CPU of the ECU constituting the communication function 20 repeatedly executes the communication program in a predetermined operation cycle while the power of the vehicle 4 is turned on. Figure 4 The communication procedure shown.
[0071] In step S001, the receiving unit 30 of the communication function 20 determines whether a new request byte string of a collection request is received from the server device 3. If it is determined that a new request byte string is received, the receiving unit 30 proceeds to step S002. If it is determined that a new request byte string is not received, the receiving unit 30 proceeds to step S003.
[0072] In step S002, the receiving unit 30 deserializes the received request byte string to restore the collection request. Deserialization is the inverse transformation of serialization. The restored collection request has the same content as the collection request sent from the server device 3. The receiving unit 30 sends the restored collection request to the setting unit 40, and if the sending is completed, it proceeds to step S003.
[0073] In step S003, the transmission unit 31 of the communication function 20 determines whether the transmission waiting unit 60 has waited for new waiting data. If it is determined that the new waiting data is waited, the transmission unit 31 proceeds to step S004. If it is determined that the new waiting data is not waited, the transmission unit 31 ends the transmission. Figure 4 The communication procedure shown.
[0074] In step S004, the transmission unit 31 determines whether the communication between the vehicle 4 and the server device 3 is established. The vehicle 4 and the server device 3 are connected via a mobile phone communication network. The transmission unit 31 determines whether the communication is established by sending a confirmation data packet between the vehicle 4 and the server device 3. If it is determined that the communication is established, the transmission unit 31 proceeds to step S005. If it is determined that the communication is not established, the transmission unit 31 ends. Figure 4 The communication procedure shown.
[0075] In step S005 , the transmission section 31 serializes the waiting data of the transmission waiting section 60 to calculate a waiting data byte string.
[0076] In step S006, the sending unit 31 sends the calculated waiting data byte string to the server device 3. In this way, the server device 3 can collect vehicle data. After step S006, the sending unit 31 ends. Figure 4 The communication procedure shown.
[0077] Figure 5 It is composed Figure 3 The CPU of the ECU constituting the setting function 21 repeatedly executes the setting program in a predetermined operation cycle while the power of the vehicle 4 is turned on. Figure 5 The setting procedure is shown.
[0078] In step S101, the setting unit 40 of the setting function 21 determines whether a new collection request is received from the receiving unit 30. If it is determined that a new collection request is received, the setting unit 40 proceeds to step S102. If it is determined that a new collection request is not received, the setting unit 40 ends. Figure 5 The setting procedure is shown.
[0079] In step S102, the setting unit 40 calculates and determines the collection setting based on the received collection request. When the capacity of the memory constituting the multi-stage retention unit 53 is insufficient, the setting unit 40 determines the collection setting by changing the number of collection data retained by the multi-stage retention unit 53 according to the setting value included in the collection request. The setting unit 40 sends the determined collection setting to the determination data output unit 50, the collection condition determination unit 51, the collection data output unit 52, and the multi-stage retention unit 53. Thus, the vehicle data collection device 5 can execute the collection program of the collection function 23 while suppressing communication pressure and cost increase, even when the specifications of the multiple vehicles selected according to the range included in the administrator setting (especially the specifications of each ECU) are different. Therefore, the vehicle data collection device 5 can flexibly collect vehicle data before and after the collection conditions are met while suppressing communication pressure and cost increase. After step S102, the setting unit 40 ends Figure 5 The setting procedure is shown.
[0080] Figure 6 It is composed Figure 3 The CPU of the ECU constituting the determination function 22 repeatedly executes the determination routine in a predetermined operation cycle while the power of the vehicle 4 is turned on. Figure 6 The judgment procedure shown.
[0081] In step S201, the determination data output unit 50 of the determination function 22 determines whether a new collection setting is received from the setting unit 40. If it is determined that a new collection setting is received, the determination data output unit 50 proceeds to step S202. If it is determined that a new collection setting is not received, the determination data output unit 50 proceeds to step S204.
[0082] In step S202, the determination data output unit 50 sets the determination data based on the received collection setting. Specifically, the determination data output unit 50 determines the control signal that is consistent with the collection setting among the control signals of the ECU constituting the determination function 22. And the determination data output unit 50 sets the determined control signal as the vehicle data to be determined when the collection condition determination unit 51 determines that the collection condition is satisfied, as the determination data.
[0083] In step S203, the collection condition determination unit 51 of the determination function 22 sets the collection condition based on the received collection setting. Specifically, the collection condition determination unit 51 determines the determination condition formula of the determination data so as to match the collection setting, and sets the determined determination condition formula as the collection condition.
[0084] In step S204, the determination data output unit 50 obtains the determination data from the ECU and outputs it to the collection condition determination unit 51. Specifically, the determination data output unit 50 obtains a control signal that matches the set determination data from the control signal of the ECU constituting the determination function 22. Then, the determination data output unit 50 outputs the obtained control signal to the collection condition determination unit 51 as determination data.
[0085] In step S205, the collection condition determination unit 51 determines whether the set collection condition is satisfied. Specifically, the collection condition determination unit 51 determines whether the collection condition is satisfied by determining whether the determination data output from the determination data output unit 50 satisfies the determined determination condition formula. If it is determined that the collection condition is satisfied, the collection condition determination unit 51 proceeds to step S206. If it is determined that the collection condition is not satisfied, the collection condition determination unit 51 ends. Figure 6 In addition, sometimes multiple collection conditions are set. In this case, if the collection condition determination unit 51 determines that any of the set collection conditions is satisfied, it proceeds to step S206, and if it determines that any of the set collection conditions is not satisfied, it ends. Figure 6 The judgment procedure shown.
[0086] In step S206, the collection condition determination unit 51 sends the establishment condition indicating the established collection condition to the multi-stage storage unit 53. After step S206, the collection condition determination unit 51 ends. Figure 6 The judgment procedure shown.
[0087] Figure 7 It is composed Figure 3 The CPU of the ECU constituting the collection function 23 repeatedly executes the collection program in a predetermined operation cycle while the power of the vehicle 4 is turned on. Figure 7 The collection procedure shown.
[0088] In step S301, the collected data output unit 52 of the collection function 23 determines whether a new collection setting is received from the setting unit 40. If it is determined that a new collection setting is received, the collected data output unit 52 proceeds to step S302. If it is determined that a new collection setting is not received, the collected data output unit 52 proceeds to step S304.
[0089] In step S302, the collected data output unit 52 sets the collected data based on the received collection setting. Specifically, the collected data output unit 52 determines the control signal that matches the collection setting among the control signals of the ECU constituting the collection function 23. Then, the collected data output unit 52 sets the determined control signal as the vehicle data to be collected in the collected data.
[0090] In step S303, the multi-stage holding unit 53 of the collection function 23 sets the holding action of the multi-stage holding unit 53 for holding the set collection data based on the received collection setting. Specifically, the multi-stage holding unit 53 sets the number of collection data held by the multi-stage holding unit 53 according to the received collection setting. The number of collection data held by the multi-stage holding unit 53 is the sum of the number of collection data output before the collection condition is satisfied and held in the multi-stage holding unit 53, and the number of collection data output after the collection condition is satisfied and held in the multi-stage holding unit 53.
[0091] The collection request sent from the receiving unit 30 includes a first setting value related to the amount of collected data output before the collection condition is satisfied and stored in the multistage storage unit 53, and a second setting value related to the amount of collected data output after the collection condition is satisfied and stored in the multistage storage unit 53.
[0092] The number of collected data output before the collection condition is satisfied and retained in the multi-stage retention unit 53 is determined by whether the collected data output until the action cycle of the CPU of the ECU constituting the collection function 23 is traced back to the time when the collection condition is satisfied (when the reception condition is satisfied) is retained in the multi-stage retention unit 53. Similarly, the number of collected data output after the collection condition is satisfied and retained in the multi-stage retention unit 53 is determined by whether the collected data output until the action cycle of the CPU of the ECU constituting the collection function 23 is traced back to the time when the collection condition is satisfied (when the reception condition is satisfied) is retained in the multi-stage retention unit 53. Therefore, the number of times the action cycle should be traced back from the time when the collection condition is satisfied (when the reception condition is satisfied) is determined in the first setting value included in the collection request. Similarly, the number of times the action cycle should be passed from the time when the collection condition is satisfied (when the reception condition is satisfied) is determined in the second setting value included in the collection request.
[0093] When the capacity of the memory constituting the multi-stage storage unit 53 is insufficient, the setting unit 40 changes the number of collected data to be retained by the multi-stage storage unit 53 according to the first setting value and the second setting value included in the collection request to determine the collection setting, and sends the determined collection setting to the multi-stage storage unit 53. Based on the received collection setting, the multi-stage storage unit 53 sets the number of collected data corresponding to the number of action cycles indicated by the changed first setting value as the number of collected data to be retained before the collection condition is satisfied, and sets the number of collected data corresponding to the number of action cycles indicated by the changed second setting value as the number of collected data to be retained after the collection condition is satisfied.
[0094] In step S304, the multi-stage storage unit 53 determines whether the action cycle has passed the number of times set based on the second setting value after receiving the new establishment condition from the collection condition determination unit 51. If it is determined that the action cycle has passed the number of times set based on the second setting value since the new establishment condition was received, the multi-stage storage unit 53 proceeds to step S305. If it is determined that the new establishment condition has not been received or the action cycle has not passed the number of times set based on the second setting value since the new establishment condition was received, the multi-stage storage unit 53 proceeds to step S306.
[0095] In step S305, the multi-stage holding unit 53 sends the held data to the sending waiting unit 60 with a low priority. When the multi-stage holding unit 53 is sent to the sending waiting unit 60 via CAN (Control Area Network), the multi-stage holding unit 53 assigns an ID (Identifier) with a lower priority than other messages to the held data. When the multi-stage holding unit 53 is sent to the sending waiting unit 60 via TSN (Time-Sensitive Networking), the multi-stage holding unit 53 sends the held data in a low priority window. As a result, the multi-stage holding unit 53 can send the held data to the sending waiting unit 60 without suppressing other communications.
[0096] In step S306, the collected data output unit 52 obtains the collected data from the ECU and outputs it to the multi-stage storage unit 53. Specifically, the collected data output unit 52 obtains a control signal that is consistent with the set collected data from the control signal of the ECU constituting the collection function 23. Then, the collected data output unit 52 outputs the obtained control signal to the multi-stage storage unit 53 as collected data.
[0097] In step S307, the multi-stage holding unit 53 updates the data held by the multi-stage holding unit 53. Specifically, the multi-stage holding unit 53 starts to delete the held collected data in order from the oldest to the newest, and sequentially holds the collected data output from the collected data output unit 52. After step S307, the multi-stage holding unit 53 ends. Figure 7 The collection procedure shown.
[0098] Figure 8 It is composed Figure 3 The CPU of the ECU constituting the waiting function 24 repeatedly executes the waiting routine in a predetermined operation cycle while the power of the vehicle 4 is turned on. Figure 8 Waiting procedure shown.
[0099] In step S401, the transmission waiting unit 60 of the waiting function 24 determines whether new held data has been received from the multi-stage holding unit 53. If it is determined that new held data has been received, the transmission waiting unit 60 proceeds to step S402. If it is determined that no new held data has been received, the transmission waiting unit 60 ends. Figure 8 Waiting procedure shown.
[0100] In step S402, the transmission waiting unit 60 stores the received data in the memory constituting the transmission waiting unit 60 and waits as the waiting data until the communication between the server device 3 as the request source and the vehicle 4 is established. After step S402, the transmission waiting unit 60 ends. Figure 8 Waiting procedure shown.
[0101] Fig. 9 Yes Description Figure 3 The diagram shows the operation of the multi-stage holding unit 53. Fig. 9 The example shown is a case where only one type of vehicle data is collected as the collected data and the volatile memory of the ECU constituting the collection function 23 has a capacity required to execute the collection request.
[0102] As described above, the number of collected data retained by the multi-stage retention unit 53 is specified by the first setting value B1 and the second setting value A1 included in the collection request. The setting unit 40 determines the collection setting based on the first setting value B1 and the second setting value A1. In this embodiment, the number of action cycles indicated by the first setting value B1 is set to "B1", and the number of action cycles indicated by the second setting value A1 is set to "A1".
[0103] When no new establishment condition is received from the collection condition determination unit 51, or when the operation cycle has not passed A1 times since the new establishment condition was received, the multi-stage holding unit 53 deletes the collection data older than the operation cycle (B1+A1) times held by the multi-stage holding unit 53 when receiving new collection data, and sequentially holds the new collection data to update the held data. The multi-stage holding unit 53 holds the collection data from the past to the present for the operation cycle (B1+A1) times.
[0104] When the action cycle has passed A1 times after receiving the new establishment condition from the collection condition determination unit 51, the multi-stage storage unit 53 stores the collected data before receiving the establishment condition for B1 times, and stores the collected data after receiving the establishment condition for A1 times. The multi-stage storage unit 53 stops updating the stored data and sends the stored data to the transmission waiting unit 60 with a low priority. Thus, the vehicle data collection device 5 can store the collected data output before the collection condition is established for B1 times, and store the collected data output after the collection condition is established for A1 times.
[0105] Fig.10 Yes Description Figure 3 The illustrated diagram is a diagram of the operation of the multi-stage storage unit 53 when the setting unit 40 determines the collection setting based on the front and back priorities. Fig.10 The example shown is a case where only one type of vehicle data is collected as the collection data and the volatile memory of the ECU constituting the collection function 23 does not have the capacity required to execute the collection request.
[0106] The collection request includes the first setting value B2, the second setting value A2, and the front-back priority. The front-back priority is information for setting whether the multi-stage storage unit 53 should store the collection data output before the collection condition is satisfied or the collection data output after the collection condition is satisfied.
[0107] The front and back priorities include front priority, rear priority, and same priority. Front priority is information that sets the collected data output before the collection condition is established to be kept with priority over the collected data output after the collection condition is established. Rear priority is information that sets the collected data output after the collection condition is established to be kept with priority over the collected data output before the collection condition is established. Same priority is information that sets no priority relationship between the collected data output before the collection condition and the collected data output after the collection condition is established.
[0108] The front and rear priorities are set according to the purpose of collecting vehicle data. For example, when collecting sensor data from an autonomous vehicle when a potential risk occurs and using it for AI learning, the process until the potential risk occurs is important, so the front and rear priorities can be set to front first.
[0109] The setting unit 40 determines the collection setting by changing the number of collected data stored in the multi-stage storage unit 53 by changing at least one of the first setting value B2 and the second setting value A2 based on the memory capacity and the front and back priorities of the ECU constituting the multi-stage storage unit 53 .
[0110] For example, when the capacity of the memory constituting the multi-stage holding unit 53 is insufficient to hold the collected data of the action cycle (B2+A2) times, and the front and back priorities included in the collection request are rear priority, the setting unit 40 changes the first setting value to B2' which is less than B2, and determines the collection setting.
[0111] When no new establishment condition is received from the collection condition determination unit 51, or when the operation cycle has not passed A2 times since the new establishment condition was received, the multi-stage holding unit 53 deletes the collection data older than the operation cycle (B2'+A2) times held by the multi-stage holding unit 53 when receiving new collection data, and sequentially holds the new collection data to update the held data. The multi-stage holding unit 53 holds the collection data from the past to the present for the operation cycle (B2'+A2) times.
[0112] When A2 action cycles have passed since the collection condition determination unit 51 received the new establishment condition, the multi-stage storage unit 53 stores the collected data before receiving the establishment condition for B2' action cycles, and stores the collected data after receiving the establishment condition for A2 action cycles. The multi-stage storage unit 53 stops updating the stored data, and sends the stored data to the transmission waiting unit 60 with a low priority. Thus, the vehicle data collection device 5 can store the collected data output before the collection condition is established for B2' action cycles, and store the collected data output after the collection condition is established for A2 action cycles.
[0113] In addition, for example, when the capacity of the memory constituting the multi-level holding unit 53 is insufficient to hold the collected data of the action cycle (B2+A2) times, and the front and back priorities included in the collection request are front priority, the setting unit 40 changes the second setting value to A2' which is less than A2 to determine the collection setting.
[0114] When no new establishment condition is received from the collection condition determination unit 51, or when the action cycle has not passed A2' times since the new establishment condition was received, the multi-stage holding unit 53 deletes the collection data older than the collection data of the action cycle (B2+A2') times held by the multi-stage holding unit 53 when receiving new collection data, and sequentially holds the new collection data to update the held data. The multi-stage holding unit 53 holds the collection data of the action cycle (B2+A2') times from the past to the present.
[0115] When the action cycle has passed A2' times after receiving the new establishment condition from the collection condition determination unit 51, the multi-stage holding unit 53 holds the collected data before receiving the establishment condition for B2 times, and holds the collected data after receiving the establishment condition for A2' times. The multi-stage holding unit 53 stops updating the held data, and sends the held data to the transmission waiting unit 60 with a low priority. Thus, the vehicle data collection device 5 can collect the collected data output before the collection condition is established for B2 times, and the collected data output after the collection condition is established for A2' times.
[0116] In addition, for example, when the capacity of the memory constituting the multi-level retention unit 53 is insufficient to maintain the collected data of the action cycle (B2+A2) times, and the front and back priorities contained in the collection request are the same priority, the setting unit 40 changes the first setting value to B2", which is less than B2, and changes the second setting value to A2", which is less than A2, to determine the collection setting.
[0117] When no new establishment condition is received from the collection condition determination unit 51, or when the action cycle has not passed A2" times since the new establishment condition was received, the multi-level holding unit 53 deletes collection data older than the action cycle (B2"+A2") times maintained by the multi-level holding unit 53 when receiving new collection data, and sequentially maintains the new collection data to update the maintained data. The multi-level holding unit 53 maintains the collection data from the past to the present for action cycles (B2"+A2") times (B2"=A2").
[0118] When an action cycle of A2" has passed since the collection condition determination unit 51 received the new establishment condition, the multi-level retention unit 53 will retain the collection data before the establishment condition is received for an action cycle of B2" times, and will retain the collection data after the establishment condition is received for an action cycle of A2" times. The multi-level retention unit 53 stops updating the retained data and sends the retained data to the sending waiting unit 60 with a low priority. Thus, the vehicle data collection device 5 can collect the collection data output before the collection condition is established for an action cycle of B2" times, and collect the collection data output after the collection condition is established for an action cycle of A2" times.
[0119] In this way, the vehicle data collection request can include the front and back priorities according to the purpose of vehicle data collection. Therefore, even if the specifications of the multiple vehicles selected according to the range included in the administrator setting are different and the capacity of the memory constituting the multi-level storage unit 53 is insufficient, the vehicle data collection device 5 can change the content of the collection request in a manner that can execute the collection program of the collection function 23 to determine the collection setting. Therefore, the vehicle data collection device 5 can flexibly collect vehicle data before and after the collection conditions are met while suppressing communication pressure and cost increase.
[0120] Fig.11 Yes Description Figure 3 The illustrated diagram is a diagram of the operation of the multi-stage storage unit 53 when the setting unit 40 determines the collection setting based on the condition priority. Fig.11 This example shows a case where the collected data D31 is output when the collection condition C31 is received and the collected data D32 is output when the collection condition C32 is received, and the volatile memory of the ECU constituting the collection function 23 does not have the capacity required to execute the collection request.
[0121] The collection request for the collected data D31 includes the first set value B31, the second set value A31, and the front and back priorities. The collection request for the collected data D32 includes the first set value B32, the second set value A32, and the front and back priorities. In addition, the collection request includes a condition priority. The condition priority is information about which collection condition among a plurality of collection conditions is prioritized in the multi-stage holding unit 53 to hold the collected data.
[0122] The condition priority is set according to the purpose of collecting vehicle data. For example, when the occurrence frequency of the establishment condition C31 is lower than that of the establishment condition C32, the condition priority can be set so that the establishment condition C31 takes precedence.
[0123] The setting unit 40 changes at least one of the first setting value B31, B32 and the second setting value A31, A32 according to the capacity of the memory constituting the multi-level holding unit 53 and the condition priority, thereby determining the collection setting to change the number of collection data D31, D32 held by the multi-level holding unit 53.
[0124] For example, when the capacity of the memory constituting the multi-stage holding unit 53 is insufficient to hold the collected data D31 of the action cycle (B31+A31) times and the collected data D32 of the action cycle (B32+A32) times, and the condition priority included in the collection request is the establishment condition C31, and the front and back priority for the collected data D32 is the back priority, the setting unit 40 changes the first setting value for the collected data D32 to B32' which is less than B32, and determines the collection setting. In addition, the setting unit 40 determines the collection setting in the following manner: the second setting value for the collected data D32 remains unchanged at A32, the first setting value for the collected data D31 remains unchanged at B31, and the second setting value for the collected data D31 remains unchanged at A31.
[0125] When the new establishment condition C31 is not received from the collection condition determination unit 51, or when the operation cycle has not passed A31 times since the new establishment condition C31 was received, the multi-stage holding unit 53 deletes the collection data D31 older than the collection data D31 of the operation cycle (B31+A31) times held by the multi-stage holding unit 53 when receiving new collection data D31, holds the new collection data D31 in sequence, and updates the held data. The multi-stage holding unit 53 holds the collection data D31 from the past to the present for the operation cycle (B31+A31) times.
[0126] When the operation cycle has elapsed A31 times since the collection condition determination unit 51 received the new establishment condition C31, the multi-stage storage unit 53 stores the collected data D31 before receiving the establishment condition C31 for the operation cycle B31 times, and stores the collected data D31 after receiving the establishment condition C31 for the operation cycle A31 times. The multi-stage storage unit 53 stops updating the stored data and sends the stored data to the transmission waiting unit 60 with a low priority. Thus, the vehicle data collection device 5 can store the collected data D31 output before the collection condition C31 is established for the operation cycle B31 times, and store the collected data D31 output after the collection condition C31 is established for the operation cycle A31 times.
[0127] On the other hand, when no new condition C32 is received from the collection condition determination unit 51, or when the operation cycle has not passed A32 times since the new condition C32 was received, the multi-stage storage unit 53 deletes the collection data D32 older than the collection data D32 of the operation cycle (B32'+A32) times held by the multi-stage storage unit 53 when receiving new collection data D32, and sequentially holds the new collection data D32, thereby updating the held data. The multi-stage storage unit 53 holds the collection data D32 from the past to the present for the operation cycle (B32'+A32) times.
[0128] When the operation cycle has elapsed A32 times since the collection condition determination unit 51 received the new establishment condition C32, the multi-stage storage unit 53 stores the collected data D32 before receiving the establishment condition C32 for the operation cycle B32' times, and stores the collected data D32 after receiving the establishment condition C32 for the operation cycle A32 times. The multi-stage storage unit 53 stops updating the stored data and sends the stored data to the transmission waiting unit 60 with a low priority. Thus, the vehicle data collection device 5 can store the collected data D32 output before the collection condition C32 is established for the operation cycle B32' times, and store the collected data D32 output after the collection condition C32 is established for the operation cycle A32 times.
[0129] In addition, for example, when the capacity of the memory constituting the multi-stage holding unit 53 is insufficient to hold the collected data D31 of the action cycle (B31+A31) times and the collected data D32 of the action cycle (B32+A32) times, and the condition priority included in the collection request is the establishment condition C32, and the front and back priority for the collected data D31 is the front priority, the setting unit 40 changes the second setting value for the collected data D31 to A31' which is less than A31, and determines the collection setting. In addition, the setting unit 40 determines the collection setting in the following manner: the first setting value for the collected data D31 remains unchanged at B31, the first setting value for the collected data D32 remains unchanged at B32, and the second setting value for the collected data D32 remains unchanged at A32.
[0130] When the new establishment condition C31 is not received from the collection condition determination unit 51, or when the operation cycle has not passed A31 times since the new establishment condition C31 was received, the multi-stage holding unit 53 deletes the collection data D31 older than the collection data D31 of the operation cycle (B31+A31') times held by the multi-stage holding unit 53 when receiving new collection data D31, and sequentially holds the new collection data D31, thereby updating the held data. The multi-stage holding unit 53 holds the collection data D31 from the past to the present for the operation cycle (B31+A31') times.
[0131] When the operation cycle has elapsed A31' times since the collection condition determination unit 51 received the new establishment condition C31, the multi-stage storage unit 53 stores the collected data D31 before receiving the establishment condition C31 for the operation cycle B31 times, and stores the collected data D31 after receiving the establishment condition C31 for the operation cycle A31' times. The multi-stage storage unit 53 stops updating the stored data, and sends the stored data to the transmission waiting unit 60 with a low priority. Thus, the vehicle data collection device 5 can store the collected data D31 output before the collection condition C31 is established for the operation cycle B31 times, and store the collected data D31 output after the collection condition C31 is established for the operation cycle A31' times.
[0132] On the other hand, when no new condition C32 is received from the collection condition determination unit 51, or when the operation cycle has not passed A32 times since the new condition C32 was received, the multi-stage storage unit 53 deletes the collection data D32 older than the collection data D32 of the operation cycle (B32+A32) times held by the multi-stage storage unit 53 when receiving new collection data D32, and sequentially holds the new collection data D32, thereby updating the held data. The multi-stage storage unit 53 holds the collection data D32 from the past to the present for the operation cycle (B32+A32) times.
[0133] When the operation cycle has elapsed A32 times since the collection condition determination unit 51 received the new establishment condition C32, the multi-stage storage unit 53 stores the collected data D32 before receiving the establishment condition C32 for the operation cycle B32 times, and stores the collected data D32 after receiving the establishment condition C32 for the operation cycle A32 times. The multi-stage storage unit 53 stops updating the stored data and sends the stored data to the transmission waiting unit 60 with a low priority. Thus, the vehicle data collection device 5 can store the collected data D32 output before the collection condition C32 is established for the operation cycle B32 times, and store the collected data D32 output after the collection condition C32 is established for the operation cycle A32 times.
[0134] In this way, the vehicle data collection request can include a condition priority according to the purpose of collecting vehicle data. Therefore, even if the specifications of the multiple vehicles selected according to the range included in the administrator setting are different and the capacity of the memory constituting the multi-level storage unit 53 is insufficient, the vehicle data collection device 5 can change the content of the collection request in a manner that can execute the collection program of the collection function 23 to determine the collection setting. Therefore, the vehicle data collection device 5 can flexibly collect vehicle data before and after the collection condition is met while suppressing communication pressure and cost increase.
[0135] Fig.12 Yes Description Figure 3 The illustrated diagram is a diagram of the operation of the multi-stage storage unit 53 when the setting unit 40 determines the collection setting based on the form priority. Fig.12 This example shows a case where the collected data D31 is output when the collection condition C31 is received and the collected data D32 is output when the collection condition C32 is received, and the volatile memory of the ECU constituting the collection function 23 does not have the capacity required to execute the collection request.
[0136] The collection request for the collection data D31 includes the first setting value B31 and the second setting value A31, as well as the front and back priorities and the form priorities. The collection request for the collection data D32 includes the first setting value B32 and the second setting value A32, as well as the front and back priorities and the form priorities. Furthermore, the collection request includes the condition priority. The form priority is information for setting whether to prioritize the maintenance of the retention form of the collection data set by the first setting value and the second setting value in the multi-stage retention unit 53.
[0137] The form priority includes form priority and form non-priority. The form priority is information for setting a priority to maintain the retention form of the collected data set by the first setting value and the second setting value. The form non-priority is information for setting a non-priority to maintain the retention form of the collected data set by the first setting value and the second setting value.
[0138] The form priority is set according to the purpose of collecting vehicle data. For example, when using vehicle data for AI learning, it is often desirable to collect vehicle data in a certain form, so the form priority can be set to form priority. For example, when using vehicle data for software verification, it is often desirable to collect vehicle data when the collection conditions are met without omission, so the form priority can be set to form non-priority.
[0139] The setting unit 40 changes at least one of the first setting value B31, B32 and the second setting value A31, A32 according to the capacity of the memory constituting the multi-stage holding unit 53 and the form priority, thereby determining the collection setting to change the number of collection data D31, D32 held by the multi-stage holding unit 53. At this time, when the form priority is form priority and it is difficult to maintain the holding form of the collection data D31, D32 set by the first setting value B31, B32 and the second setting value A31, A32, the setting unit 40 determines the collection setting in a manner to exclude the collection data D31, D32 from the collection object.
[0140] For example, when the capacity of the memory constituting the multi-stage holding unit 53 is insufficient to hold the collected data D31 of the action cycle (B31+A31) times and the collected data D32 of the action cycle (B32+A32) times, and the condition priority included in the collection request is the establishment condition C31, the front and back priority for the collected data D32 is the back priority, and the form priority for the collected data D32 is the form non-priority, the setting unit 40 changes the first setting value for the collected data D32 to B32' which is less than B32, and determines the collection setting. In addition, the setting unit 40 determines the collection setting in the following manner: the second setting value for the collected data D32 remains unchanged at A32, the first setting value for the collected data D31 remains unchanged at B31, and the second setting value for the collected data D31 remains unchanged at A31.
[0141] When the new establishment condition C31 is not received from the collection condition determination unit 51, or when the operation cycle has not passed A31 times since the new establishment condition C31 was received, the multi-stage holding unit 53 deletes the collection data D31 older than the collection data D31 of the operation cycle (B31+A31) times held by the multi-stage holding unit 53 when receiving new collection data D31, holds the new collection data D31 in sequence, and updates the held data. The multi-stage holding unit 53 holds the collection data D31 from the past to the present for the operation cycle (B31+A31) times.
[0142] When the operation cycle has elapsed A31 times since the collection condition determination unit 51 received the new establishment condition C31, the multi-stage storage unit 53 stores the collected data D31 before receiving the establishment condition C31 for the operation cycle B31 times, and stores the collected data D31 after receiving the establishment condition C31 for the operation cycle A31 times. The multi-stage storage unit 53 stops updating the stored data and sends the stored data to the transmission waiting unit 60 with a low priority. Thus, the vehicle data collection device 5 can store the collected data D31 output before the collection condition C31 is established for the operation cycle B31 times, and store the collected data D31 output after the collection condition C31 is established for the operation cycle A31 times.
[0143] On the other hand, when no new condition C32 is received from the collection condition determination unit 51, or when the operation cycle has not passed A32 times since the new condition C32 was received, the multi-stage storage unit 53 deletes the collection data D32 older than the collection data D32 of the operation cycle (B32'+A32) times held by the multi-stage storage unit 53 when receiving new collection data D32, and sequentially holds the new collection data D32, thereby updating the held data. The multi-stage storage unit 53 holds the collection data D32 from the past to the present for the operation cycle (B32'+A32) times.
[0144] When the action cycle has passed A32 times since the collection condition determination unit 51 received the new condition C32, the multi-stage holding unit 53 holds the collected data D32 before receiving the condition C32 for the action cycle B32' times, and holds the collected data D32 after receiving the condition C32 for the action cycle A32 times. The multi-stage holding unit 53 stops updating the held data, and sends the held data to the sending waiting unit 60 with a low priority. Thus, the vehicle data collection device 5 can collect the collected data D32 output before the collection condition C32 is satisfied for the action cycle B32' times, and collect the collected data D32 output after the collection condition C32 is satisfied for the action cycle A32 times. By setting the form priority to form non-priority, the vehicle data collection device 5 can collect vehicle data when the collection condition is satisfied without omission.
[0145] In addition, for example, when the capacity of the memory constituting the multi-stage holding unit 53 is insufficient to hold the collected data D31 of the operation cycle (B31+A31) times and the collected data D32 of the operation cycle (B32+A32) times, and the condition priority included in the collection request is the establishment condition C31, the front and back priority for the collected data D32 is the back priority, and the form priority for the collected data D32 is the form priority, it is difficult to maintain the holding form of the collected data D32 set by the first setting value B32 for the collected data D32. Therefore, the setting unit 40 determines the collection setting so that the collected data D32 is excluded from the collection object and only the collected data D31 is collected based on the first setting value B31 and the second setting value A31.
[0146] When the new establishment condition C31 is not received from the collection condition determination unit 51, or when the operation cycle has not passed A31 times since the new establishment condition C31 was received, the multi-stage holding unit 53 deletes the collection data D31 older than the collection data D31 of the operation cycle (B31+A31) times held by the multi-stage holding unit 53 when receiving new collection data D31, holds the new collection data D31 in sequence, and updates the held data. The multi-stage holding unit 53 holds the collection data D31 from the past to the present for the operation cycle (B31+A31) times.
[0147] When the operation cycle has elapsed A31 times since the collection condition determination unit 51 received the new establishment condition C31, the multi-stage holding unit 53 holds the collection data D31 before receiving the establishment condition C31 for the operation cycle B31 times, and holds the collection data D31 after receiving the establishment condition C31 for the operation cycle A31 times. The multi-stage holding unit 53 stops updating the held data, and sends the held data to the transmission waiting unit 60 with a low priority. Thus, the vehicle data collection device 5 can collect the collection data D31 output before the collection condition C31 is established for the operation cycle B31 times, and collect the collection data D31 output after the collection condition C31 is established for the operation cycle A31 times. By setting the format priority to format priority, the vehicle data collection device 5 can collect vehicle data only when it can be collected in the determined format, thereby preventing unnecessary pressure on the capacity of the volatile memory of the ECU constituting the collection function 23, or unnecessary pressure on the communication between the ECU and other ECUs.
[0148] In this way, the vehicle data collection request can include a form priority according to the purpose of collecting vehicle data. Therefore, even if the specifications of the multiple vehicles selected according to the range included in the administrator setting are different and the capacity of the memory constituting the multi-level storage unit 53 is insufficient, the vehicle data collection device 5 can change the content of the collection request in a manner that can execute the collection program of the collection function 23 to determine the collection setting. Therefore, the vehicle data collection device 5 can flexibly collect vehicle data before and after the collection conditions are met while suppressing communication pressure and cost increase.
[0149] Fig.13 Yes Description Figure 3 FIG. 2 is a diagram showing an operation example of the vehicle data collection device 5 shown. Fig.13 An example is shown of a case where image data received from the camera 9 is collected when there is a potential risk of excessively approaching a pedestrian in order to use vehicle data for learning of image recognition AI.
[0150] The judgment data output unit 50 installed in the automatic driving ECU 14 sets the distance to the pedestrian as the judgment data (step S202). The collection condition judgment unit 51 installed in the automatic driving ECU 14 sets the collection condition in such a way that when the distance to the pedestrian becomes less than a predetermined distance, it is judged that the pedestrian is too close (step S203). The collection data output unit 52 installed in the automatic driving ECU 14 sets the image data received from the camera 9 as the collection data (step S302). Thus, Fig.13 The vehicle data collection device 5 shown is capable of collecting image data when a potential risk of excessive approach to a pedestrian occurs.
[0151] Fig.14 Yes Description Figure 3 FIG. 2 is a diagram showing an operation example of the vehicle data collection device 5 shown. Fig.14 The present invention shows an example of utilizing vehicle data in verifying software for controlling brake 7, in which the input to the software, i.e., the target hydraulic pressure and actual hydraulic pressure of brake 7, and the output from the software, i.e., the control voltage of the hydraulic cylinder control motor, are collected when there is a potential risk of excessive approach to a pedestrian.
[0152] The judgment data output unit 50 installed in the automatic driving ECU 14 sets the distance to the pedestrian as the judgment data (step S202). The collection condition judgment unit 51 installed in the automatic driving ECU 14 sets the collection condition in such a way that it is judged that excessive approach to the pedestrian has occurred when the distance to the pedestrian becomes less than a predetermined distance (step S203). The collection data output unit 52 installed in the brake ECU 12 sets the target hydraulic pressure and actual hydraulic pressure of the brake 7 and the control voltage of the hydraulic cylinder control motor as the collection data (step S302). Thus, Fig.14 The vehicle data collection device 5 shown can collect the target hydraulic pressure, the actual hydraulic pressure and the control voltage when a potential risk of excessively approaching a pedestrian occurs. In addition, the vehicle data collection device 5 can also implement Fig.13 The examples shown and Fig.14 Thus, the vehicle data collection device 5 can simultaneously collect the target hydraulic pressure and the actual hydraulic pressure, as well as the control voltage and image data when there is a potential risk of excessive approach to a pedestrian.
[0153] Fig.15 Yes Description Figure 3 1 is a diagram showing an operation example of the vehicle data collection device 5. The diagram shows an example of a case where external signal data transmitted from the outside of the vehicle 4 to the vehicle 4 is collected when a suspicion of unauthorized access occurs in order to enhance the safety of the vehicle 4.
[0154] The judgment data output unit 50 installed in the gateway ECU 15 sets the external signal data sent from the telematics ECU 16 to the gateway ECU 15 as the judgment data (step S202). The collection condition judgment unit 51 installed in the gateway ECU 15 sets the collection condition so that when the signature of the external signal data matches the illegal signature, it is determined that a suspicion of illegal access has occurred (step S203). The collection data output unit 52 installed in the gateway ECU 15 sets the external signal data sent from the telematics ECU 16 to the gateway ECU 15 as the collection data (step S302). Thus, Fig.15 The vehicle data collection device 5 shown is capable of collecting external signal data when suspicion of illegal access occurs.
[0155] As described above, the vehicle data collection device 5 of the first embodiment includes: a setting unit 40 that determines the setting information corresponding to the collection request to each ECU, that is, the collection setting; a collection condition determination unit 51 that sets the collection condition of the vehicle data based on the collection setting and determines whether the set collection condition is satisfied; a collection data output unit 52 that sets the vehicle data to be collected, that is, the collection data, based on the collection setting, and obtains the set collection data from each ECU and outputs it; a multi-stage storage unit 53 that stores the collection data output before the collection condition is satisfied and the collection data output after the collection condition is satisfied based on the collection setting; a transmission waiting unit 60 that waits for the collection data stored in the multi-stage storage unit 53 to be sent to the request source; and a transmission unit 31 that sends the collection data waiting in the transmission waiting unit 60 to the request source. The collection request includes a setting value related to the number of collection data stored in the multi-stage storage unit 53. The setting unit 40 determines the collection setting by changing the number of collection data stored in the multi-stage storage unit 53 according to the setting value.
[0156] Thus, the vehicle data collection device 5 of the first embodiment can separate the function of accumulating the collected data from the transmission waiting unit 60 including the non-volatile memory, and can be provided as the multi-stage holding unit 53 including the volatile memory. Therefore, the vehicle data collection device 5 of the first embodiment does not need to frequently send the collected data from the collected data output unit 52 to the transmission waiting unit 60, and does not need to provide non-volatile memory for all ECUs that can be output sources of the collected data. In addition, the vehicle data collection device 5 of the first embodiment can change the number of collected data held by the multi-stage holding unit 53 according to the set value included in the collection request for each ECU. Therefore, the vehicle data collection device 5 of the first embodiment can accumulate the collected data before and after the collection condition is satisfied according to the capacity of the memory constituting the multi-stage holding unit 53. Therefore, even if the specifications of the plurality of vehicles selected according to the range included in the administrator setting are different, the vehicle data collection device 5 of the first embodiment can collect the vehicle data before and after the collection condition is satisfied while suppressing the communication pressure and the cost increase. Therefore, the vehicle data collection device 5 can flexibly collect the vehicle data before and after the collection condition is satisfied while suppressing the communication pressure and the cost increase.
[0157] Furthermore, in the vehicle data collection device 5 of the first embodiment, the multi-stage holding unit 53 deletes the stored collected data in the order of the oldest to the newest according to a predetermined action cycle, and sequentially holds the collected data output from the collected data output unit 52, thereby updating the collected data stored in the multi-stage holding unit 53, that is, the stored data, according to the action cycle. When the action cycle from the establishment of the collection condition has passed a predetermined number of times, the multi-stage holding unit 53 stops updating the stored data and sends the stored data to the transmission waiting unit 60. The transmission waiting unit 60 stores the stored data sent from the multi-stage holding unit 53 and waits until the communication with the request source is established. When the communication with the request source is established, the transmission unit 31 sends the waiting data of the transmission waiting unit 60, which is the stored data stored in the transmission waiting unit 60, to the request source.
[0158] Thus, the vehicle data collection device 5 of the first embodiment can use the existing volatile memory and program to form the multi-stage holding unit 53, so that the cost increase can be further suppressed. In addition, the vehicle data collection device 5 of the first embodiment can suppress the occurrence of communication errors with the request source, so that the occurrence of communication pressure can be further suppressed. Therefore, the vehicle data collection device 5 of the first embodiment can further suppress the occurrence of communication pressure and cost increase, and can flexibly and easily collect vehicle data before and after the collection condition is met.
[0159] Furthermore, in the vehicle data collection device 5 of the first embodiment, the collection request includes a first setting value related to the number of collected data output before the collection condition is satisfied and stored in the multi-stage storage unit 53, and a second setting value related to the number of collected data output after the collection condition is satisfied and stored in the multi-stage storage unit 53. The setting unit 40 determines the collection setting by changing the number of collected data stored in the multi-stage storage unit 53 according to the first setting value and the second setting value.
[0160] Thus, the vehicle data collection device 5 of the first embodiment can flexibly and easily change the number of collected data output before the collection condition is satisfied and the number of collected data output after the collection condition is satisfied and the number of collected data output after the collection condition is satisfied. Therefore, the vehicle data collection device 5 of the first embodiment can suppress communication pressure and cost increase, and can more flexibly and easily collect vehicle data before and after the collection condition is satisfied.
[0161] In addition, the vehicle data collection device 5 of the first embodiment may be initially set to collect vehicle data such as the inter-vehicle distance to the preceding vehicle to assist in utilizing an EDR (Event Data Recorder) or a driving recorder before the setting unit 40 determines the collection setting. Thus, the vehicle data collection device 5 of the first embodiment can effectively utilize the function of the vehicle data collection device 5 even before the collection setting is determined.
[0162] [Implementation Method 2]
[0163] use Fig.16 Next, a vehicle data collection device 5 according to Embodiment 2 will be described. In the vehicle data collection device 5 according to Embodiment 2, descriptions of the same configurations and operations as those of Embodiment 1 will be omitted.
[0164] Fig.16 This is a diagram showing a schematic configuration of a vehicle data collection device 5 according to the second embodiment. Fig.16 The dashed arrows shown represent the flow of signals or data.
[0165] In the vehicle data collection device 5 of the second embodiment, the source of the vehicle data collection request is the recording device 110 connected to the vehicle 4. That is, in the vehicle data collection system 1 of the second embodiment, the request unit 100 is provided in the recording device 110 instead of the server device 3.
[0166] The recording device 110 is connected by wire to the gateway ECU 15. The recording device 110 includes a CPU, a DRAM, a flash memory, and the like, and the function of the request unit 100 is realized by the CPU executing a recording device control program.
[0167] The vehicle data collection device 5 of the second embodiment receives the vehicle data collection request sent from the recording device 110 through the receiving unit 30 of the communication function 20 installed in the gateway ECU 15, and sends it to the setting unit 40 of the setting function 21 installed in the gateway ECU 15. In addition, in the vehicle data collection device 5 of the second embodiment, the determination function 22 installed in the automatic driving ECU 14 sets the determination data and the collection condition based on the collection setting, and the collection function 23 installed in the automatic driving ECU 14 sets and holds the collection data based on the collection setting. In addition, in the vehicle data collection device 5 of the second embodiment, the transmission waiting unit 60 of the waiting function 24 installed in the automatic driving ECU 14 waits the held collection data. In addition, in the vehicle data collection device 5 of the second embodiment, the transmission unit 31 of the communication function 20 installed in the gateway ECU 15 sends the collection data waited by the transmission waiting unit 60 to the recording device 110.
[0168] Thus, the vehicle data collection device 5 of the second embodiment can collect vehicle data through the recording device 110 even when the vehicle 4 does not communicate with the server device 3 or when the communication between the vehicle 4 and the server device 3 is not established. Therefore, the vehicle data collection device 5 of the second embodiment can suppress communication pressure and cost increase and flexibly collect vehicle data before and after the collection condition is met, even when the vehicle 4 does not communicate with the server device 3 or when the communication between the vehicle 4 and the server device 3 is not established.
[0169] [Implementation method 3]
[0170] use Fig.17 Next, a vehicle data collection device 5 according to Embodiment 3 will be described. In the vehicle data collection device 5 according to Embodiment 3, descriptions of the same configurations and operations as those of Embodiment 1 will be omitted.
[0171] Fig.17 This is a diagram showing a schematic configuration of a vehicle data collection device 5 according to a third embodiment. Fig.17 The dashed arrows shown represent the flow of signals or data.
[0172] In the vehicle data collection device 5 of the third embodiment, the source of the vehicle data collection request is the ECU mounted on the vehicle, that is, the IVI (In-Vehicle Infotainment) ECU 120. That is, in the vehicle data collection system 1 of the third embodiment, the request unit 100 is not provided in the server device 3 but in the IVI ECU 120.
[0173] The IVIECU 120 is connected by wire to the gateway ECU 15. The recording device 110 includes a CPU, a DRAM, a flash memory, and the like, and the function of the request unit 100 is realized by the CPU executing an IVI control program.
[0174] The vehicle data collection device 5 of the third embodiment receives the vehicle data collection request sent from the IVIECU 120 through the receiving unit 30 of the communication function 20 installed in the gateway ECU 15, and sends it to the setting unit 40 of the setting function 21 installed in the gateway ECU 15. In addition, in the vehicle data collection device 5 of the third embodiment, the determination function 22 installed in the automatic driving ECU 14 sets the determination data and the collection condition based on the collection setting, and the collection function 23 installed in the automatic driving ECU 14 sets and holds the collection data based on the collection setting. In addition, in the vehicle data collection device 5 of the third embodiment, the transmission waiting unit 60 of the waiting function 24 installed in the automatic driving ECU 14 waits the held collection data. In addition, in the vehicle data collection device 5 of the third embodiment, the transmission unit 31 of the communication function 20 installed in the gateway ECU 15 sends the collection data waited by the transmission waiting unit 60 to the IVIECU 120.
[0175] Thus, the vehicle data collection device 5 of the third embodiment can collect vehicle data through other ECUs mounted on the vehicle 4 even if no new device is installed outside the vehicle 4. Therefore, the vehicle data collection device 5 of the third embodiment can suppress communication pressure and cost increase, and flexibly collect vehicle data before and after the collection condition is met, even if no new device is installed outside the vehicle 4.
[0176] [Implementation Method 4]
[0177] use Fig.18 as well as Fig.19 Next, a vehicle data collection device 5 according to a fourth embodiment will be described. In the vehicle data collection device 5 according to the fourth embodiment, descriptions of the same configurations and operations as those of the first embodiment will be omitted.
[0178] Fig.18 This is a diagram showing the functional structure of the vehicle data collection device 5 according to the fourth embodiment.
[0179] The vehicle data collection device 5 of the fourth embodiment further includes a primary determination function 300 for determining whether a primary collection condition of vehicle data is satisfied before the determination function 22 .
[0180] The primary determination function 300 is installed in the powertrain ECU 11, the brake ECU 12, the steering ECU 13, the automatic driving ECU 14 or the gateway ECU 15. The primary determination function 300 is composed of a CPU, a memory and a primary determination program included in the powertrain ECU 11, the brake ECU 12, the steering ECU 13, the automatic driving ECU 14 or the gateway ECU 15.
[0181] The primary determination function 300 includes a primary collection condition determination unit 302, which sets the primary collection condition of vehicle data based on the collection setting determined by the setting unit 40, and determines whether the set primary collection condition is satisfied before the determination of the collection condition determination unit 51. Furthermore, the primary determination function 300 includes a primary determination data output unit 301, which sets the vehicle data to be the determination object when the primary collection condition determination unit 302 determines that the primary collection condition is satisfied based on the collection setting as primary determination data, obtains the set primary determination data from the ECU, and outputs it.
[0182] The primary collection condition determination unit 302 determines whether the set primary collection condition is satisfied with respect to the primary determination data output by the primary determination data output unit 301. When determining that the primary collection condition is satisfied, the primary collection condition determination unit 302 sends a primary satisfaction condition indicating the satisfied primary collection condition to the collection condition determination unit 51. When receiving the primary satisfaction condition, the collection condition determination unit 51 starts to determine whether the collection condition is satisfied.
[0183] Fig.19 Yes means Fig.18 FIG. 2 is a diagram showing an operation example of the vehicle data collection device 5 shown. Fig.19 An example is shown in which image data received from the camera 9 is collected when power consumption deteriorates during a red signal in order to improve the efficiency of autonomous driving.
[0184] The primary judgment data output unit 301 installed in the automatic driving ECU 14 sets the signal color as the primary judgment data. The primary collection condition judgment unit 302 installed in the automatic driving ECU 14 sets the primary collection condition in such a way that when the signal color changes to red, it is judged to be a red signal. The judgment data output unit 50 installed in the powertrain system ECU 11 sets the power consumption of the motor 6 as the judgment data. The collection condition judgment unit 51 installed in the powertrain system ECU 11 sets the collection condition in the following manner: if the power consumption of the motor 6 becomes above the predetermined level, it is judged that the power consumption has deteriorated, and, as a primary condition, if a red signal is received, the judgment of the power consumption is started. The collection data output unit 52 installed in the automatic driving ECU 14 sets the image data received from the camera 9 as the collection data. Thus, Fig.19The vehicle data collection device 5 shown can collect image data when power consumption deteriorates during a red signal.
[0185] In this way, the vehicle data collection device 5 of the fourth embodiment further includes a primary determination function 300 for determining whether the primary collection condition of the vehicle data is satisfied before the determination function 22. Thus, even when the determination data required for determining whether the collection condition is satisfied spans across multiple ECUs, the vehicle data collection device 5 of the fourth embodiment can reliably determine whether the collection condition is satisfied without transmitting and receiving the determination data itself between the ECUs. Therefore, the vehicle data collection device 5 of the fourth embodiment can suppress communication pressure and cost increase, and flexibly and reliably collect vehicle data before and after the collection condition is satisfied.
[0186] [Implementation method 5]
[0187] use Fig. 20 The vehicle data collection device 5 according to the fifth embodiment will be described. In the vehicle data collection device 5 according to the fifth embodiment, the same configuration and operation as those of the first embodiment will be omitted in their description.
[0188] Fig. 20 This is a sequence diagram for explaining the vehicle data collection device 5 according to the fifth embodiment.
[0189] The vehicle data collection device 5 of the fifth embodiment does not respond to the new collection request R2 and discards the collection request R2 even if it receives a new collection request R2 from another server device while collecting vehicle data based on the collection request R1 from the server device 3. Then, after receiving the request release of the collection request R1, if the vehicle data collection device 5 of the fifth embodiment receives a new collection request R3, it starts collecting vehicle data based on the collection request R3. That is, after notifying the release of the collection request R1 from the request source, the setting unit 40 of the vehicle data collection device 5 of the fifth embodiment determines a new collection setting so that the vehicle data is collected based on the new collection request R3.
[0190] Thus, the vehicle data collection device 5 of the fifth embodiment can prevent the collection setting from being overwritten without the knowledge of the manager. Therefore, the vehicle data collection device 5 of the fifth embodiment can flexibly and reliably collect vehicle data before and after the collection condition is satisfied, while suppressing communication pressure and cost increase.
[0191] [Implementation Method 6]
[0192] use Fig.21 The vehicle data collection device 5 according to the sixth embodiment will be described. In the vehicle data collection device 5 according to the sixth embodiment, the description of the same configuration and operation as those of the first embodiment will be omitted.
[0193] Fig.21 This is a diagram showing the functional configuration of the vehicle data collection device 5 according to the sixth embodiment.
[0194] The collection function 23 of the vehicle data collection device 5 of the sixth embodiment includes a transmission determination unit 400 and a power supply unit 401 in addition to the collected data output unit 52 and the multi-stage storage unit 53. The transmission determination unit 400 determines whether the collected data (retained data) held by the multi-stage storage unit 53 is being sent to the transmission waiting unit 60, and sends the determination result to the power supply unit 401. The power supply unit 401 supplies power to the memory constituting the multi-stage storage unit 53. When the power supply unit 401 receives the determination result indicating that the collected data held by the multi-stage storage unit 53 is being sent to the transmission waiting unit 60 (hereinafter also referred to as "transmission determination") from the transmission determination unit 400, it continues to supply power to the memory constituting the multi-stage storage unit 53.
[0195] Thus, even if the power of the vehicle 4 is turned off before the transmission of the collected data held by the multi-stage holding unit 53 including the volatile memory is completed, the vehicle data collection device 5 of the sixth embodiment can prevent the collected data from being lost due to the interruption of the power supply to the multi-stage holding unit 53. Therefore, the vehicle data collection device 5 of the sixth embodiment can flexibly and reliably collect vehicle data before and after the collection condition is satisfied, while suppressing communication pressure and cost increase.
[0196] [Implementation method 7]
[0197] use Fig. 22 The vehicle data collection device 5 according to the seventh embodiment will be described. In the vehicle data collection device 5 according to the seventh embodiment, the same configuration and operation as those of the first embodiment will be omitted in their description.
[0198] Fig. 22 This is a diagram showing the functional configuration of the vehicle data collection device 5 according to the seventh embodiment.
[0199] The vehicle data collection device 5 of the seventh embodiment further includes another multi-stage storage unit different from the multi-stage storage unit 53. When the memory capacity constituting the multi-stage storage unit 53 is insufficient, the collected data output unit 52 of the seventh embodiment sends the collected data to another multi-stage storage unit.
[0200] For example, Fig. 22The example in which the collection function 23 is installed in the automatic driving ECU 14 and the powertrain ECU 11 and the capacity of the memory constituting the multi-stage storage unit 53 installed in the automatic driving ECU 14 is insufficient for the capacity required for executing the collection request is shown. In this case, in the vehicle data collection device 5 of the seventh embodiment, the collection data output unit 52 installed in the automatic driving ECU 14 can send the collection data to the multi-stage storage unit 53 installed in the powertrain ECU 11.
[0201] Thus, the vehicle data collection device 5 of the seventh embodiment can reliably store and collect vehicle data even when the capacity of the memory constituting the multi-stage storage unit 53 is insufficient. Therefore, the vehicle data collection device 5 of the seventh embodiment can suppress communication pressure and cost increase, and flexibly and reliably collect vehicle data before and after the collection condition is met.
[0202] [Embodiment 8]
[0203] use Fig.23 Next, a vehicle data collection device 5 according to an eighth embodiment will be described. In the vehicle data collection device 5 according to the eighth embodiment, descriptions of the same configurations and operations as those of the first embodiment will be omitted.
[0204] Fig.23 This is a diagram showing the functional configuration of the vehicle data collection device 5 according to the eighth embodiment.
[0205] In the vehicle data collection device 5 according to the eighth embodiment, when the capacity of the memory constituting the multi-stage storage unit 53 is insufficient, the collected data output unit 52 transmits the collected data to the transmission waiting unit 60 .
[0206] For example, Fig.23 The example in which the collection function 23 is installed in the automatic driving ECU 14 and the capacity of the memory constituting the multi-stage storage unit 53 installed in the automatic driving ECU 14 is insufficient for the capacity required for executing the collection request is shown. In this case, in the vehicle data collection device 5 of the eighth embodiment, the collection data output unit 52 installed in the automatic driving ECU 14 can send the collection data to the sending waiting unit 60.
[0207] Thus, the vehicle data collection device 5 of the eighth embodiment can reliably send the vehicle data to the transmission waiting unit 60 for collection even when the capacity of the memory constituting the multi-stage holding unit 53 is insufficient. Therefore, the vehicle data collection device 5 of the seventh embodiment can suppress communication pressure and cost increase, and flexibly and reliably collect vehicle data before and after the collection condition is met.
[0208] [Implementation Method 9]
[0209] use Fig.24 as well as Fig.25 Next, a vehicle data collection system 1 according to a ninth embodiment will be described. In the vehicle data collection system 1 according to the ninth embodiment, descriptions of the same configurations and operations as those of the first embodiment will be omitted.
[0210] Fig.24 This is a diagram showing a schematic configuration of a vehicle data collection system 1 according to a ninth embodiment. Fig.24 The dashed arrows shown represent the flow of signals or data.
[0211] The vehicle data collection device 5 of the ninth embodiment serializes the collection setting determined by the setting unit 40 to calculate the collection setting byte string, and transmits it to the server device 3 via the mobile phone communication network. The server device 3 deserializes the plurality of collection setting byte strings received from the plurality of vehicles including the vehicle 4, respectively, and restores the plurality of collection settings. Then, the server device 3 performs statistical processing on the plurality of collection settings, and transmits the statistical processing results to the terminal device 2. The terminal device 2 visualizes the statistical processing results transmitted from the server device 3, and displays them on the display of the terminal device 2.
[0212] Fig.25 Yes means Fig.24 A diagram showing the functional structure of a vehicle data collection system 1 is shown.
[0213] As the communication function 20, the vehicle data collection device 5 of the ninth embodiment further includes a collection setting sending unit 500 for sending the collection setting determined by the setting unit 40 to the server device 3. The server device 3 of the ninth embodiment further includes: a collection setting receiving unit 501 for receiving a plurality of collection settings sent from the vehicle data collection devices 5 mounted on a plurality of vehicles; a statistical processing unit 502 for performing statistical processing on the plurality of collection settings; and a statistical processing result sending unit 503 for sending the statistical processing result of the statistical processing unit 502 to the terminal device 2.
[0214] Thus, even if the vehicle data collection system 1 of the ninth embodiment changes the content of the collection request to determine the collection setting in such a way that the vehicle data collection device 5 can execute the collection program of the collection function 23, the administrator can know in advance the multiple collection settings whose contents have been changed in multiple vehicles including the vehicle 4 before the collection of vehicle data is completed. Therefore, the vehicle data collection system 1 of the ninth embodiment can flexibly collect vehicle data before and after the collection conditions are met while suppressing communication pressure and cost increase, and can improve user convenience.
[0215] In addition, the present invention is not limited to the above-mentioned embodiments, and includes various modified examples. For example, the above-mentioned embodiments are embodiments described in detail in order to easily explain the present invention, and are not limited to all the structures described. In addition, a part of the structure of a certain embodiment can be replaced with the structure of other embodiments, and in addition, the structure of other embodiments can be added to the structure of a certain embodiment. In addition, with respect to a part of the structure of each embodiment, other structures can be added, deleted, or replaced.
[0216] In addition, the above-mentioned structures, functions, processing parts, processing units, etc. can also be implemented in part or in whole by hardware, for example, by designing in an integrated circuit. In addition, the above-mentioned structures, functions, etc. can also be implemented by software by interpreting and executing programs that implement each function through a processor. Information such as programs, tables, files, etc. that implement each function can be placed in a recording device such as a memory, a hard disk, an SSD (solid state drive), or a recording medium such as an IC card, an SD card, or a DVD.
[0217] In addition, the control lines and information lines are those considered necessary for explanation, and not all control lines and information lines are necessarily shown in the product. In fact, it can be considered that almost all the structures are connected to each other.
[0218] Explanation of symbols
[0219] 1…Vehicle data collection system, 2…Terminal device, 3…Server device, 4…Vehicle, 5…Vehicle data collection device, 31…Sending unit, 40…Setting unit, 50…Judgment data output unit, 51…Collection condition judgment unit, 52…Collection data output unit, 53…Multi-stage holding unit, 60…Sending waiting unit, 100…Request unit, 110…Recording device, 120…IVIECU, 301…One-time judgment data output unit, 302…One-time collection condition judgment unit, 400…Sending judgment unit, 401…Power supply unit, 500…Collection setting sending unit, 501…Collection setting receiving unit, 502…Statistical processing unit, 503…Statistical processing result sending unit.
Claims
1. A vehicle data collection device that collects vehicle data from an electronic control device according to a vehicle data collection request, It is characterized in that The vehicle data collection device comprises: a setting unit that determines a collection setting, which is setting information to be sent to the electronic control device corresponding to the collection request; a collection condition determination unit that sets a collection condition for the vehicle data based on the collection setting and determines whether the set collection condition is satisfied; a collected data output unit that sets collected data of the vehicle data to be collected based on the collection setting, and obtains and outputs the set collected data from the electronic control device; a multi-stage storage unit that stores the collected data output before the collection condition is satisfied and the collected data output after the collection condition is satisfied based on the collection setting; a transmission waiting unit that waits for the collection data held by the multi-stage holding unit to be transmitted to a request source of the collection request; and a sending unit that sends the collected data waiting in the sending waiting unit to the request source, The collection request includes a setting value related to the number of collection data to be stored in the multi-stage storage unit. The setting unit determines the collection setting by changing the number of stored data of the multi-stage storage unit according to the setting value.
2. The vehicle data collection device according to claim 1, It is characterized in that The multi-level holding unit performs the following processing: Deleting the stored collected data in order from the oldest to the newest according to a predetermined action cycle, and sequentially storing the collected data output from the collected data output unit, thereby updating the stored data stored as the collected data stored in the multi-stage storage unit according to the action cycle; as well as When a predetermined number of the action cycles have elapsed since the collection condition was established, stopping the updating of the retained data and sending the retained data to the sending waiting unit; The transmission waiting unit stores the held data transmitted from the multi-stage holding unit and waits until communication with the request source is established. The transmitting unit transmits the waiting data of the transmission waiting unit as the held data stored in the transmission waiting unit to the request source when communication with the request source is established.
3. The vehicle data collection device according to claim 1, It is characterized in that The collection request includes a first setting value related to the amount of the collected data output before the collection condition is satisfied and retained in the multi-stage retention unit, and a second setting value related to the amount of the collected data output after the collection condition is satisfied and retained in the multi-stage retention unit, The setting unit determines the collection setting by changing the storage quantity of the collected data of the multi-stage storage unit according to the first setting value and the second setting value.
4. The vehicle data collection device according to claim 3, It is characterized in that The collection request includes a front-to-back priority, which specifies whether the collected data output before the collection condition is satisfied or the collected data output after the collection condition is satisfied is to be preferentially stored in the multi-stage storage unit. The setting unit determines the collection setting so as to change the number of storage in the multi-stage holding unit by changing at least one of the first setting value and the second setting value based on the capacity of the memory constituting the multi-stage holding unit and the top and bottom priorities.
5. The vehicle data collection device according to claim 3, It is characterized in that The collection condition determination unit is capable of determining whether each of the plurality of collection conditions is satisfied. The collection request includes a condition priority, the condition priority setting which of the plurality of collection conditions is prioritized in the multi-stage storage unit to store the collection data, The setting unit determines the collection setting so as to change the number of storage in the multi-stage storage unit by changing at least one of the first setting value and the second setting value based on the capacity of the memory constituting the multi-stage storage unit and the condition priority.
6. The vehicle data collection device according to claim 3, It is characterized in that The collection request includes a format priority for setting whether to prioritize maintaining the storage format of the collection data set by the first setting value and the second setting value in the multi-stage storage unit. The setting unit determines the collection setting so as to change the number of storage in the multi-stage holding unit by changing at least one of the first setting value and the second setting value based on the capacity of the memory constituting the multi-stage holding unit and the format priority.
7. The vehicle data collection device according to claim 6, It is characterized in that The form priority includes a form priority that gives priority to maintaining the retention form of the collected data set by the first setting value and the second setting value, and a form non-priority that does not give priority to maintaining the retention form of the collected data set by the first setting value and the second setting value. The setting unit determines the collection setting so as to exclude the collected data from the collection target when the form priority is the form priority and it is difficult to maintain the retention form of the collected data set by the first setting value and the second setting value.
8. The vehicle data collection device according to claim 1, It is characterized in that The vehicle data collection device further comprises: a primary collection condition determination unit which sets a primary collection condition for the vehicle data based on the collection setting, and determines whether the set primary collection condition is satisfied before the determination by the collection condition determination unit. The collection condition determination unit starts determination of whether the collection condition is satisfied, when the primary collection condition determination unit determines that the primary collection condition is satisfied.
9. The vehicle data collection device according to claim 1, It is characterized in that The setting unit determines the new collection setting so that the vehicle data is collected according to the new collection request after the request source is notified of the release of the collection request.
10. The vehicle data collection device according to claim 1, It is characterized in that The vehicle data collection device further comprises: a sending-in-progress determination unit that determines whether the collected data held by the multi-stage holding unit is being sent to the sending waiting unit; and a power supply unit for supplying power to the memory constituting the multi-stage holding unit, When it is determined that the collected data held by the multi-stage holding unit is being transmitted to the transmission waiting unit, the power supply unit continues to supply power to the memory.
11. The vehicle data collection device according to claim 1, It is characterized in that When the capacity of the memory constituting the multi-stage storage unit is insufficient, the collected data output unit transmits the collected data to another multi-stage storage unit different from the multi-stage storage unit.
12. The vehicle data collection device according to claim 1, It is characterized in that When the capacity of the memory constituting the multi-stage holding unit is insufficient, the collected data output unit transmits the collected data to the transmission waiting unit.
13. The vehicle data collection device according to claim 1, It is characterized in that The request source is at least one of a server device provided outside the vehicle on which the electronic control device is mounted, a recording device connected to the vehicle, and another electronic control device mounted on the vehicle and different from the electronic control device.
14. A vehicle data collection system comprising: a server device that requests a vehicle to collect vehicle data ; and a vehicle, which collects the vehicle data from an electronic control device of the vehicle according to a request from the server device, characterized in that The server device includes: a request unit that generates a collection request for the vehicle data and transmits the generated collection request to the vehicle; The vehicle has: a setting unit that determines a collection setting, which is setting information to be sent to the electronic control device corresponding to the collection request; a collection condition determination unit that sets a collection condition for the vehicle data based on the collection setting and determines whether the set collection condition is satisfied; a collected data output unit that sets collected data of the vehicle data to be collected based on the collection setting, and obtains and outputs the set collected data from the electronic control device; a multi-stage storage unit that stores the collected data output before the collection condition is satisfied and the collected data output after the collection condition is satisfied based on the collection setting; a transmission waiting unit that waits for the collection data held by the multi-stage holding unit to be transmitted to a request source of the collection request; and a sending unit that sends the collected data waiting in the sending waiting unit to the request source, The collection request includes a setting value related to the number of collection data to be stored in the multi-stage storage unit. The setting unit determines the collection setting by changing the number of stored data of the multi-stage storage unit according to the setting value.
15. The vehicle data collection system according to claim 14, It is characterized in that The vehicle data collection system further includes a terminal device connected to the server device so as to be communicable. The vehicle further includes a collection setting sending unit that sends the collection setting to the server device. The server device further comprises: a collection setting receiving unit that receives a plurality of the collection settings transmitted from a plurality of the vehicles; a statistical processing unit that performs statistical processing on the plurality of collection settings; and a statistical processing result transmitting unit, which transmits the statistical processing result of the statistical processing unit to the terminal device, The terminal device displays the statistical processing result transmitted from the server device.
Citation Information
Patent Citations
Remote collection system of vehicle data
JP2016132368A