Central device and vehicle information communication system
By using the waiting queue and priority condition mechanism in the central device, the processing congestion problem when vehicle information is sent in a centralized manner is solved, and efficient information processing is achieved.
Patent Information
- Application Number
- CN202180009346.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Priority Date
- 2020-01-21
- Filing Date
- 2021-01-08
- Publication Date
- 2024-10-01
- Estimated Expiration
- 2041-01-08
AI Technical Summary
When a large amount of vehicle information is sent to the central device, it is difficult for the central device to process it efficiently, resulting in information processing congestion.
A waiting queue mechanism is adopted to decide whether to store information based on whether the items in the vehicle information meet the writing priority conditions, and prioritize vehicle information with low access frequency to avoid information accumulation.
When a large amount of vehicle information is sent together, information processing that meets the writing priority conditions is prioritized to effectively avoid information processing congestion and improve the processing efficiency of the system.
Smart Images

Figure CN114945901B_ABST
Abstract
Description
[0001] CROSS-REFERENCE TO RELATED APPLICATIONS
[0002] This application is based on Japanese application No. 2020-7527 filed on January 21, 2020, and the contents thereof are incorporated herein by reference. Technical Field
[0003] The present disclosure relates to a center device that stores vehicle information transmitted from a vehicle-side device including a plurality of electronic control devices, and a system including the vehicle-side device and the center device. Background Art
[0004] In recent years, with the diversification of vehicle control such as driving assistance functions and automatic driving functions, the scale of vehicle control, diagnosis and other applications installed in the electronic control device (hereinafter referred to as ECU (Electronic Control Unit)) of the vehicle has increased. In addition, with the version upgrade brought about by functional improvement, the opportunity to rewrite (recompile) ECU applications has also increased. On the other hand, with the development of communication networks, etc., the technology of vehicle networking has also become popular. Due to such a situation, for example, Patent Document 1 discloses a technology for distributing ECU update programs from a software distribution server to vehicle-mounted devices through OTA (Over The Air) and rewriting the update program on the vehicle side.
[0005] Patent Document 1: Japanese Patent No. 6480263
[0006] As described above, as a prerequisite for recompiling, the central device having a server for distributing update programs needs to grasp information such as the version of the program installed in the electronic control device of each vehicle. Therefore, in the above-mentioned system, each vehicle sends the vehicle information to the central device at a predetermined timing, and the central device stores the sent vehicle information in a storage unit.
[0007] However, when vehicle information from a large number of vehicles is concentratedly transmitted to the center device at a specific time period such as in the morning when many people go to work, the center device may not be able to handle all the information. Summary of the invention
[0008] The present disclosure has been made in view of the above circumstances, and an object thereof is to provide a center device and a vehicle information communication system that can efficiently process vehicle information even when vehicle information from a large number of vehicles is collectively transmitted in a specific time period.
[0009] According to the central device described in technical solution 1, the vehicle information storage unit has a waiting queue used to sequentially write a plurality of single vehicle information transmitted by the control unit. When the control unit is about to transmit the vehicle information sent from the vehicle-side device in response to a predetermined change in the vehicle state to the vehicle information storage unit, the control unit refers to the waiting queue, and stores the vehicle information in the waiting queue if the write waiting number is less than a specified amount. On the other hand, if the write waiting number in the waiting queue is greater than a specified amount, the control unit stores the vehicle information in the waiting queue if one of the items included in the vehicle information satisfies the write priority condition, but does not store the vehicle information in the waiting queue if all of the above items do not satisfy the write priority condition.
[0010] That is, when the number of waiting for writing in the waiting queue becomes greater than a predetermined amount due to the concentrated transmission of vehicle information from a large number of vehicle-side devices in a specific time period, the control unit determines whether to store the vehicle information in the waiting queue according to whether any of the items included in the vehicle information satisfies the write priority condition. In this way, when the control unit receives a large amount of vehicle information in a concentrated manner, if any of the items included in the vehicle information satisfies the write priority condition, the information is stored in the waiting queue and thus stored in the vehicle information storage unit. Therefore, a large amount of vehicle information can be efficiently processed according to their contents.
[0011] According to the central device described in the second technical solution, one of the above items is set as access log information indicating the date and time when the vehicle-side device sends the information in time series, and if the access frequency based on the access log information is less than the specified number of times, the control unit determines that the write priority condition is satisfied. As a result, the control unit can preferentially transmit and store the vehicle information of vehicles with relatively low access frequencies and fewer opportunities to send vehicle information to the vehicle information storage unit. BRIEF DESCRIPTION OF THE DRAWINGS
[0012] The above-mentioned purpose and other purposes, features and advantages of the present disclosure will become more apparent through the following detailed description with reference to the accompanying drawings. In the accompanying drawings:
[0013] Figure 1 is a diagram showing the overall structure of a vehicle information communication system in one embodiment,
[0014] Figure 2 is a diagram showing the electrical structure of CGW.
[0015] Figure 3 This is a diagram showing the electrical structure of the ECU.
[0016] Figure 4 This is a diagram showing how to connect the power cord.
[0017] Figure 5This is a diagram showing the functions of the server in the central device in a block diagram.
[0018] Figure 6 is a schematic diagram showing the flow of processing in the central device.
[0019] Figure 7 is a diagram showing an example of the structural information of a vehicle registered in the bicycle information DB.
[0020] Figure 8 is a timing diagram showing the processing procedure performed between the central device and the vehicle-side system,
[0021] Fig. 9 is a flowchart showing the processing contents executed by the bicycle information registration unit.
[0022] Fig.10 This is a functional block diagram showing the parts involved in the main idea. DETAILED DESCRIPTION
[0023] Hereinafter, an embodiment will be described with reference to the accompanying drawings. A vehicle program rewriting system is a system that can rewrite vehicle control, diagnosis and other application programs of an ECU mounted on a vehicle through OTA. Figure 1 As shown, the vehicle program rewriting system 1 includes a central device 3 on the communication network 2 side, a vehicle-side system 4 on the vehicle side, and a display terminal 5. The communication network 2 is composed of, for example, a mobile communication network based on 4G lines, the Internet, WiFi (Wireless Fidelity) (registered trademark), etc.
[0024] The display terminal 5 is a terminal having a function of accepting operation input from a user and a function of displaying various screens, and is, for example, a portable terminal 6 such as a smartphone or a tablet that a user can carry, and an in-vehicle display 7 such as a display having a navigation function and an instrument display that is arranged in a vehicle compartment. If the portable terminal 6 is within the communication range of the mobile communication network, it can be connected to the communication network 2. The in-vehicle display 7 is connected to the vehicle-side system 4.
[0025] If the user is outside the vehicle and within the communication range of the mobile communication network, the user can use the portable terminal 6 to confirm various screens related to the rewriting of the application while performing operation input, thereby completing the procedures related to the rewriting of the application. The user can use the vehicle-mounted display 7 to confirm various screens related to the rewriting of the application while performing operation input, thereby completing the procedures related to the rewriting of the application. That is, the user can use the portable terminal 6 and the vehicle-mounted display 7 separately outside the vehicle and inside the vehicle to complete the procedures related to the rewriting of the application.
[0026] The center device 3 coordinates the OTA function on the communication network 2 side in the vehicle program rewriting system 1 and functions as an OTA center. The center device 3 includes a file server 8, a web server 9, and a management server 10, and the servers 8 to 10 are configured to be able to communicate data with each other.
[0027] The file server 8 is a server that has a function of managing applications sent from the center device 3 to the vehicle-side system 4, and manages ECU programs and accompanying information provided by suppliers or the like as application providers, distribution specification data provided by OEMs (Original Equipment Manufacturers), and vehicle status acquired from the vehicle-side system 4. The file server 8 is capable of data communication with the vehicle-side system 4 via the communication network 2, and when a download request for a distribution package is generated, the file server 8 sends a distribution package in which re-edited data and distribution specification data are packaged to the vehicle-side system 4. The web server 9 is a server that manages web page information, and provides various screens related to the rewriting of applications to the portable terminal 6. The management server 10 manages personal information of users who register for the application rewriting service, and manages the rewriting history of applications for each vehicle.
[0028] The vehicle-side system 4 includes a host device 11. The host device 11 includes a DCM 12 and a CGW 13, and the DCM 12 and the CGW 13 are connected to each other so as to be able to perform data communication via a first bus 14. The DCM 12 is an on-vehicle communication device that performs data communication with the center device 3 via a communication network 2. When a distribution package is downloaded from a file server 8, the write data is extracted from the distribution package and transmitted to the CGW 13. The host device 11 is an example of a vehicle-side device.
[0029] CGW13 is a vehicle gateway device with a data relay function. When receiving write data from DCM12, it distributes the write data to the rewrite target ECU of the rewrite application program. The host device 11 manages the OTA function on the vehicle side in the vehicle program rewriting system 1 and acts as an OTA host. Figure 1 In the embodiment, the DCM 12 and the onboard display 7 are connected to the same first bus 14 , but the DCM 12 and the onboard display 7 may be connected to different busses.
[0030] In addition to the first bus 14 , the CGW 13 is connected to a second bus 15 , a third bus 16 , a fourth bus 17 , and a fifth bus 18 as in-vehicle buses. Various ECUs 19 are connected via the buses 15 to 17 , and a power management ECU 20 is connected via the bus 18 .
[0031] The second bus 15 is, for example, a bus of a vehicle body system network. The ECU 19 connected to the second bus 15 is, for example, a door ECU that controls the locking / unlocking of vehicle doors, an instrument ECU that controls the instrument display, an air conditioning ECU that controls the driving of air conditioners, a window ECU that controls the opening and closing of windows, and other ECUs that control the vehicle body systems. The third bus 16 is, for example, a bus of a driving system network. The ECU 19 connected to the third bus 16 is, for example, an engine ECU that controls the driving of an engine, a brake ECU that controls the driving of a brake, an ECT (ETC (Electronic Toll Collection System, registered trademark)) ECU that controls the driving of an automatic transmission, a power steering ECU that controls the driving of a power steering, and other ECUs that control the driving of a driving system.
[0032] The fourth bus 17 is, for example, a bus of a multimedia system network. The ECU 19 connected to the fourth bus 17 is, for example, an ECU for controlling a navigation system, an ETC ECU for controlling an electronic toll collection system, i.e., an ECU for controlling a multimedia system, such as an ETC ECU of an ECT system. The buses 15 to 17 may also be buses of systems other than the bus of a vehicle body system network, a bus of a driving system network, and a bus of a multimedia system network. In addition, the number of buses and the number of ECUs 19 are not limited to the illustrated configuration.
[0033] The power management ECU 20 is an ECU having a function of performing power management of the DCM 12 , the CGW 13 , the various ECUs 19 , and the like.
[0034] The sixth bus 21 is connected to the CGW 13 as a bus outside the vehicle. The DLC (Data Link Coupler) connector 22 that can be detachably connected to the tool 23 is connected to the sixth bus 21. The buses 14 to 18 inside the vehicle and the bus 21 outside the vehicle are composed of, for example, a CAN (Controller Area Network, registered trademark) bus, and the CGW 13 performs data communication with the DCM 12, various ECUs 19, and the tool 23 in accordance with the CAN data communication standard and the diagnostic communication standard (UDS: ISO14229). In addition, the DCM 12 and the CGW 13 can be connected via Ethernet, and the DLC connector 22 and the CGW 13 can also be connected via Ethernet.
[0035] If the rewrite target ECU 19 receives the write data from the CGW 13, it writes the write data into the flash memory to rewrite the application. In the above structure, the CGW 13 functions as a reprogramming master that distributes the write data to the rewrite target ECU 19 if it receives a write data acquisition request from the rewrite target ECU 19. The rewrite target ECU 19 functions as a reprogramming slave that writes the write data into the flash memory to rewrite the application if it receives the write data from the CGW 13.
[0036] As a method of rewriting the application program, there are a method of rewriting by wire and a method of rewriting by wireless. In the method of rewriting the application program by wire, if the tool 23 is connected to the DLC connector 22, the tool 23 transmits the write data to the CGW 13. The CGW 13 relays or distributes the write data transmitted from the tool 23 to the rewriting target ECU 19. In the method of rewriting the application program by wireless, as described above, if the DCM 12 downloads the distribution package from the file server 8, the write data is extracted from the distribution package and transmitted to the CGW 13.
[0037] like Figure 2 As shown, the CGW 13 has a microcomputer (hereinafter referred to as a microcomputer) 24, a data transmission circuit 25, a power supply circuit 26, and a power supply detection circuit 27 as electrical function modules. The microcomputer 24 has a CPU (Central Processing Unit) 24a, a ROM (Read Only Memory) 24b, a RAM (Random Access Memory) 24c, and a flash memory 24d. The microcomputer 24 performs various processes by executing various control programs stored in a non-transitional physical storage medium to control the operation of the CGW 13.
[0038] The data transmission circuit 25 controls data communication based on the CAN data communication standard and the diagnostic communication standard with the buses 14 to 18 and 21. The power supply circuit 26 inputs a battery power supply (hereinafter referred to as +B power supply), an accessory power supply (hereinafter referred to as ACC power supply), and an ignition power supply (hereinafter referred to as IG power supply). The power supply detection circuit 27 detects the voltage value of the +B power supply, the voltage value of the ACC power supply, and the voltage value of the IG power supply input by the power supply circuit 26, compares these detected voltage values with a predetermined voltage threshold value, and outputs the comparison result to the microcomputer 24. The microcomputer 24 determines whether the +B power supply, the ACC power supply, and the IG power supply supplied from the supply outside to the CGW 13 are normal or abnormal based on the comparison result input from the power supply detection circuit 27.
[0039] like Figure 3As shown, ECU19 has a microcomputer 28, a data transmission circuit 29, a power supply circuit 30 and a power supply detection circuit 31 as an electrical function module. The microcomputer 28 has a CPU 28a, a ROM 28b, a RAM 28c and a flash memory 28d. The microcomputer 28 performs various processes by executing various control programs stored in a non-transitional physical storage medium to control the operation of ECU19.
[0040] The data transmission circuit 29 controls the data communication with the buses 15 to 17 in accordance with the CAN data communication standard. The power supply circuit 30 inputs +B power supply, ACC power supply, and IG power supply. The power supply detection circuit 31 detects the voltage value of the +B power supply, the voltage value of the ACC power supply, and the voltage value of the IG power supply input by the power supply circuit 30, compares these detected voltage values with the specified voltage threshold value, and outputs the comparison result to the microcomputer 28. The microcomputer 28 determines whether the +B power supply, ACC power supply, and IG power supply supplied from the outside to the ECU19 are normal or abnormal based on the comparison result input from the power supply detection circuit 27. In addition, the ECU19 has basically the same structure except for the different connected loads such as sensors and actuators. In addition, the basic structure of the DCM12, the vehicle-mounted display 7, and the power management ECU is also the same. Figure 3 The ECU 19 shown is the same.
[0041] like Figure 4 As shown, the power management ECU 20, CGW 13, and ECU 19 are connected to the +B power line 32, the ACC power line 33, and the IG power line 34. The +B power line 32 is connected to the positive electrode of the vehicle battery 35. The ACC power line 33 is connected to the positive electrode of the vehicle battery 35 via the ACC switch 36. If the user performs an ACC operation, the ACC switch 36 switches from off to on, and the output voltage of the vehicle battery 35 is applied to the ACC power line 33. For example, if it is a type of vehicle in which the key is inserted into the insertion port, the ACC operation is an operation of inserting the key into the insertion port and turning it from the "OFF" position to the "ACC" position, and if it is a type of vehicle in which the start button is pressed, the ACC operation is an operation of pressing the start button once.
[0042] The IG power supply line 34 is connected to the positive electrode of the vehicle battery 35 via the IG switch 37. When the user performs the IG operation, the IG switch 37 is switched from off to on, and the output voltage of the vehicle battery 35 is applied to the IG power supply line 34. For example, if it is a vehicle of the type where the key is inserted into the insertion port, the IG operation is an operation of inserting the key into the insertion port and turning the key from the "OFF" position to the "ON" position, and if it is a vehicle of the type where the start button is pressed, the IG operation is an operation of pressing the start button twice. The negative electrode of the vehicle battery 35 is grounded.
[0043] When both the ACC switch 36 and the IG switch 37 are turned off, only the +B power is supplied to the vehicle-side system 4. The state in which only the +B power is supplied to the vehicle-side system 4 is referred to as the +B power state. When the ACC switch 36 is turned on and the IG switch 37 is turned off, the ACC power and the +B power are supplied to the vehicle-side system 4. The state in which the ACC power and the +B power are supplied to the vehicle-side system 4 is referred to as the ACC power state. When both the ACC switch 36 and the IG switch 37 are turned on, the +B power, the ACC power, and the IG power are supplied to the vehicle-side system 4. The state in which the +B power, the ACC power, and the IG power are supplied to the vehicle-side system 4 is referred to as the IG power state.
[0044] For ECU19, the startup state is different depending on the power state, and it is divided into +B system ECU started in +B power state, ACC system ECU started in ACC power state, and IG system ECU started in IG power state. For example, ECU19 driven for purposes such as vehicle anti-theft is +B system ECU. For example, ECU19 driven for purposes of non-driving systems such as audio is ACC system ECU. For example, ECU19 driven for purposes of driving systems such as engine control is IG system ECU.
[0045] The CGW 13 transmits a start request to the ECU 19 in the sleep state, thereby causing the ECU 19 to which the start request is sent to transition from the sleep state to the start state. In addition, the CGW 13 transmits a sleep request to the ECU 19 in the start state, thereby causing the ECU 19 to which the sleep request is sent to transition from the start state to the sleep state. The CGW 13 selects the ECU 19 to which the start request and the sleep request are sent from a plurality of ECUs by making the waveform of the transmission signal transmitted to the buses 15 to 17 different, for example.
[0046] The power control circuit 38 is connected in parallel with the ACC switch 36 and the IG switch 37. The CGW 13 sends a power control request to the power management ECU 20, so that the power management ECU 20 controls the power control circuit 38. That is, the CGW 13 sends a power start request to the power management ECU 20 as a power control request, so that the ACC power line 33, the IG power line 34 and the positive electrode of the vehicle battery 35 are connected inside the power control circuit 38. In this state, even if the ACC switch 36 and the IG switch 37 are turned off, the ACC power and the IG power are supplied to the vehicle-side system 4. The CGW 13 sends a power stop request to the power management ECU 20 as a power control request, so that the ACC power line 33, the IG power line 34 and the positive electrode of the vehicle battery 35 are disconnected inside the power control circuit 38.
[0047] DCM12, CGW13, ECU19 have a power self-holding function. That is, if the vehicle power is switched from ACC power or IG power to +B power when DCM12, CGW13, ECU19 is in the start state, it does not immediately shift from the start state to the sleep state or stop state after the switch, but continues the start state for a predetermined time even after the switch to self-hold the drive power. DCM12, CGW13, ECU19 shifts from the start state to the sleep state or stop state after a predetermined time (e.g., several seconds) has passed after the vehicle power is switched from ACC power or IG power to +B power.
[0048] Figure 5 The portion of the center device 3 mainly related to the functions of the servers 8 to 10 is shown in a block diagram. Figure 6 The following is an overview of the processing performed by the center device 3 regarding the program update of the ECU. In addition, the "database" is sometimes described as "DB". Figure 5 As shown, the center device 3 includes: a package management unit 3A, a structure information management unit 3B, a bicycle information management unit 3C and an activity management unit 3D. The package management unit 3A includes: a specification data generation unit 201, a package generation unit 202 and a package distribution unit 203, and an ECU re-editing data DB 204, an ECU metadata DB 205 and a package DB 206. The structure information management unit 3B includes a structure information registration unit 207 and a structure information DB 208.
[0049] The supplier uses the user interface (UI) function of the management server 10, namely the input unit 218 and the display unit 219, to register the individual data of the ECU. As the individual data of the ECU, there are program files such as new programs and differential data, program file related information such as verification data, size, encryption method, and other program file information, and data related to ECU attribute information such as the memory structure of ECU19. The program file is stored in the ECU recompilation data DB204. The ECU attribute information is stored in the ECU metadata DB205. The program file related information can be stored in the ECU recompilation data DB204 or in the ECU metadata DB205. The ECU recompilation data DB204 is an example of an update data storage unit. In addition, the ECU metadata DB205 is an example of a device related information storage unit.
[0050] The OEM registers formal structural information into the structural information DB 208 according to each vehicle model via the structural information registration unit 207. Formal structural information refers to structural information of the vehicle approved by a public institution. Structural information is identification information related to the hardware and software of the ECU 19 mounted on the vehicle, and is an example of vehicle-related information. The structural information also includes identification information of a system structure composed of multiple ECUs 19 and identification information of a vehicle structure composed of multiple systems. In addition, as structural information, restriction information of the vehicle related to program updates may also be registered. For example, group information of the ECU recorded in the rewrite specification data, a bus load table, information related to the battery load, etc. may also be registered. The ECU metadata DB 205 is an example of a device-related information storage unit.
[0051] The specification data generation unit 201 generates rewriting specification data by referring to each DB. The package generation unit 202 generates a distribution package including the rewriting specification data and the re-editing data, and registers it in the package DB 206. The package generation unit 202 may also generate a distribution package including the distribution specification data. The package distribution unit 203 distributes the registered distribution package to the vehicle-side system 4. The distribution package is equivalent to a file.
[0052] The bicycle information management unit 3C includes: a bicycle information registration unit 209, a structure information confirmation unit 210, an update confirmation unit 211, an SMS sending control unit 212, and a bicycle information DB 213. The bicycle information registration unit 209 temporarily stores the bicycle information uploaded by each vehicle in a buffer such as RAM and then registers it in the bicycle information DB 213. The bicycle information registration unit 209 can also register the bicycle information at the time of vehicle production or sales as an initial value in the bicycle information DB 213. When registering the uploaded bicycle information, the structure information confirmation unit 210 compares the bicycle information with the structure information of the same model vehicle registered in the structure information DB 208. The update confirmation unit 211 confirms whether there is an update based on a new program to the bicycle information, that is, whether there is an activity. When the bicycle information is updated, the SMS sending control unit 212 sends a message related to the update to the corresponding vehicle via SMS (Short Message Service). The bicycle information is an example of vehicle information, and the bicycle information registration unit 209 is an example of a control unit.
[0053] The activity management unit 3D includes an activity generation unit 214, an activity distribution unit 215, an instruction notification unit 216, and an activity DB 217. The OEM generates activity information, which is information related to program updates, through the activity generation unit 214 and registers it in the activity DB 217. The activity information here corresponds to the above-mentioned "distribution specification data", and is mainly information related to the update content displayed on the vehicle-side system 4. The activity distribution unit 215 distributes the activity information to the vehicle. The instruction notification unit 216 notifies the vehicle of the instructions required in connection with the program update. In the vehicle-side system 4, for example, the user determines whether to download the update program based on the activity information sent by the center device 3, and downloads it if necessary.
[0054] The management units 3A to 3D except for the databases are functions implemented by computer hardware and software. The vehicle communication unit 222 is a functional block for wirelessly communicating data between the center device 3 and the vehicle-side system 4 .
[0055] Next, the bicycle information DB 213 involved in the main purpose of this embodiment will be described. Figure 7 As shown, as an example, the data of each vehicle shown below is registered in the vehicle information DB213. Mainly, the structural information of each vehicle and the status information of the vehicle for program updates are registered. Specifically, for the "VIN" as the ID of each vehicle, there are "Vehicle SW ID", "Sys ID", "ECU ID", "ECU SW ID" and the like as structural information. The hash value of these structural information, that is, the "Digest" value, is also calculated and stored by the central device 3. In the case where the memory structure is 2-sided, the "operation side" is the side where the program currently used by ECU19 is written, and the uploaded value is registered together with the structural information.
[0056] The "access log" is the year, month, day and time when the vehicle uploads the single vehicle information to the center device 3. The "reprogramming status" indicates the status of the reprogramming in the vehicle, such as "activity issuance completed", "activation completed", "download completed", etc. In other words, the progress status can be used to know which stage the reprogramming in the vehicle has reached and which stage it has stopped. In addition, when the configuration information and the like are uploaded from the vehicle-side system 4 to the center device 3, the "VIN" of each vehicle is assigned to the information and the like. The single vehicle information DB 213 is an example of a vehicle information storage unit.
[0057] In addition, as described later Fig.10As shown, the bicycle information DB 213 has a waiting queue 213Q to sequentially write and store the bicycle information uploaded from each vehicle. The uploaded bicycle information is temporarily stored in the waiting queue 213Q in sequence, and is sequentially written to the storage device 213S using the FIFO (Fast In Fast Out) method. The storage device 213S is a non-volatile storage medium.
[0058] Figure 8 This is a diagram related to the "vehicle structure information synchronization" initially sent by the main device 11 of the vehicle-side system 4 to the center device 3. When the IG switch 37 on the vehicle side is turned on, CGW13 sends a "synchronization start request" to DCM12 as an opportunity. DCM12 accepts the request and replies to CGW13 with a "structure information collection request". Then, CGW13 inquires about the program version of each ECU19. Each ECU19 replies with "ECU SW ID" to CGW13. In addition, ECU19 with a memory structure of two surfaces or suspended will also reply to CGW13 with surface information indicating which surface among multiple surfaces is an operating surface and which surface is a non-operating surface. Furthermore, each ECU19 can also send calibration information of actuators, etc. to be controlled, permission information for receiving program update services, and fault codes generated in ECU19 to CGW13.
[0059] When the CGW13 completes receiving the "ECU SW ID" from each ECU19, it sends all of them together with the "VIN" to the DCM12. At this time, the "Vehicle SW ID" and "Sys ID" managed by the CGW13 may also be sent to the DCM12. The DCM12 receives them and takes all the "ECU SW ID" as an object, for example, using a hash function to generate a hash value as a digest value. When SHA-256 is used as a hash function, for example, the data value obtained by serially connecting the values of all the "ECU SW ID" is divided into message blocks of 64 bytes each, and the data value of the initial message block is applied to the initial hash value to obtain a hash value of 32 bytes in length, and the data values of the subsequent message blocks are applied to the hash value in sequence, and finally a hash value of 32 bytes in length is obtained. Here, the DCM12 may also take the values of not only all the "ECU SW ID" but also the "Vehicle SW ID", "SysID", surface information, and calibration information as an object, and generate a hash value.
[0060] The DCM 12 transmits the summary value of the "ECU SW ID" obtained as described above, together with the "VIN", "Vehicle Model", and "Access Log" to the center device 3. In addition, the DCM 12 may also transmit the fault code and permission information together with the summary value. Hereinafter, the above summary value may be referred to as "structure information summary", and all data values of the "ECU SW ID" as the source thereof may be referred to as "total structure information". "Total structure information" may also include "Vehicle SW ID", "Sys ID", surface information, and calibration information.
[0061] The center device 3 compares the summary value and updates the single vehicle information DB 213. The center device 3 that synchronizes the configuration information checks whether there is a program update, and notifies the vehicle-side system 4 of the activity information if there is an update. Then, the vehicle-side system 4 downloads the distribution package, installs it to the target ECU 19, and activates the new program. When these update processes are completed, the CGW 13 sends a "synchronization start request" to the DCM 12, and then performs the same process as above until the synchronization completion notification. In addition, the above process performed when the IG switch 37 is turned on can be performed when the gear position of the vehicle shift lever becomes "parking; parking", or the above process performed when the IG switch 37 is turned on can be performed after the program is updated. In addition, the above "IG switch 37 is turned on" and "the gear position of the shift lever becomes "parking"" are examples of "changes in vehicle status".
[0062] Next, the function of this embodiment will be described. However, since this embodiment has a characteristic that each vehicle uploads the single vehicle information to the central device 3, and the uploaded single vehicle information is written into the single vehicle information DB 213, the processing part will be described below. Fig. 9 As shown, each vehicle-side system 5 generates an access to the central device 3 for uploading the single vehicle information (S1). Figure 8 As shown, the access here corresponds to a process in which the DCM 12 transmits the digest value of the “ECU SW ID” together with the “VIN” and the “access log” to the center device 3 .
[0063] In this way, the bicycle information registration unit 209 of the center device 3 determines whether the center device 3 is in a congested state (S2). Here, the bicycle information registration unit 209 refers to the waiting queue 213Q of the bicycle information DB213 to obtain the write waiting number. And, if the write waiting number is, for example, 70% or more relative to the total amount of the write waiting number that can be stored in the waiting queue 213Q, it is determined to be in a congested state. The above-mentioned 70% of the total amount of the write waiting number is an example of a specified amount. In addition, the processing of step S2 is Fig.10 It is shown as "save request" or "request result" in.
[0064] In step S2, if it is determined that the bicycle information registration unit 209 is not in a congested state, the uploaded bicycle information is stored in the waiting queue 213Q (S6). On the other hand, if it is determined to be in a congested state, the bicycle information registration unit 209 refers to the item "access log" of the bicycle information and determines the priority according to the access frequency (S3). Here, for example, if there are more than three visits in a week, the access frequency is determined to be "high" and the process moves to step S4. If there are only two or less visits in a week, the access frequency is determined to be "low" and the process moves to step S6.
[0065] In step S4, the bicycle information registration unit 209 refers to the item "vehicle model" of the bicycle information and determines the priority according to the vehicle model, type, and type. For "aaa" and "bbb" as the "vehicle model", the following conditions are predetermined: if it is in a specific form such as "aaa", the registration of the bicycle information is prioritized, and for other forms, the registration of the bicycle information is not prioritized. For example, more multifunctional high-end vehicles can also be prioritized. Moreover, if the "vehicle model" is "aaa", it moves to step S6, and if it is in other forms, the main device 11 of the vehicle responds to the request to resend the bicycle information (S5).
[0066] The bicycle information registration unit 209 may also specify a condition in the retransmission request as a trigger for the main device 11 to retransmit the bicycle information. For example, the condition for retransmission is that 20 minutes have passed since the time when the retransmission request was received. The DCM 12 that receives the retransmission request from the center device 3 transmits the bicycle information to the center device 3 according to the specified retransmission condition if 20 minutes have passed since the time, for example.
[0067] As described above, according to the present embodiment, the bicycle information DB 213 of the center device 3 is provided with a waiting queue 213Q used for sequentially writing a plurality of bicycle information transmitted through the bicycle information registration unit 209. The bicycle information registration unit 209 refers to the waiting queue 213Q when transmitting the bicycle information sent from the host device 11 in response to a predetermined change in the vehicle state to the bicycle information DB 213, and stores the bicycle information in the waiting queue 213Q if the number of waiting items for writing is less than a prescribed amount. On the other hand, the bicycle information registration unit 209 processes as follows: if the number of waiting items for writing in the waiting queue 213Q is greater than a prescribed amount, the bicycle information is stored in the waiting queue 213Q if any of the items included in the bicycle information satisfies the write priority condition, but if all of the above items do not satisfy the write priority condition, the bicycle information is not stored in the waiting queue 213Q.
[0068] In this way, when the bicycle information registration unit 209 receives a large amount of bicycle information in a concentrated manner, if any of the items included in the bicycle information satisfies the write priority condition, the information is stored in the waiting queue 213Q and then stored in the storage device 213S of the bicycle information DB 213. Therefore, a large amount of bicycle information can be efficiently processed according to their contents.
[0069] Specifically, one of the above items is set as access log information that indicates the date and time when the main device 11 sends the information in time series. If the access frequency based on the access log information is less than the specified number of times, the bicycle information registration unit 209 determines that the write priority condition is satisfied. As a result, the bicycle information registration unit 209 can give priority to transmitting and storing the bicycle information of vehicles with relatively low access frequencies and fewer opportunities to send bicycle information to the bicycle information DB 213.
[0070] In addition, one of the above items is set to be information indicating the type of vehicle, that is, "vehicle model", and if the "vehicle model" satisfies a specific condition, the bicycle information registration unit 209 determines that the write priority condition is satisfied. In this way, for example, bicycle information of a high-end car with relatively more functions can be registered in the bicycle information DB 213 with priority.
[0071] Furthermore, when any of the above items does not satisfy the write priority condition, the bicycle information registration unit 209 sends a request for re-sending the bicycle information to the corresponding main device 11. Therefore, when the communication between the main device 11 and the central device 3 temporarily becomes congested, the congestion can be eliminated by making the main device 11 re-send the bicycle information after a constant period of time.
[0072] In addition, the bicycle information registration unit 209 specifies a condition that becomes a trigger for the host device 11 to execute retransmission in the retransmission request, and the host device 11 retransmits the bicycle information when the specified retransmission condition is satisfied. Thus, the bicycle information registration unit 209 can flexibly eliminate the congestion state by dynamically setting the retransmission condition according to the degree of communication congestion.
[0073] (Other Embodiments)
[0074] Alternatively, only one of steps S3 and S4 may be executed.
[0075] For the resending condition specified in the resending request, a time may be specified, or the vehicle may be located at a specific location or area.
[0076] In step S5, even if the bicycle information registration unit 209 does not specify the re-sending conditions of the bicycle information in the re-sending request, the bicycle information can be re-sent to the central device 3 immediately if a re-sending request is received, or re-sent after a constant time has passed, according to the conditions predetermined on the DCM12 side.
[0077] The specific content of each condition is an example and can be changed appropriately according to different designs. For example, with respect to the type of vehicle, single vehicle information of a vehicle equipped with an automatic driving function may be stored preferentially.
[0078] The functions performed by the central device 3 can be implemented by hardware or software, or by the combination of hardware and software.
[0079] The rewritten data is not limited to application programs, but can also include map data, control parameters, and other data.
[0080] The present disclosure is described based on the embodiments, but it is understood that the present disclosure is not limited to the embodiments and configurations. The present disclosure also includes various modifications and variations within the scope of equality. In addition, various combinations and methods, even other combinations and methods including only one element, more or fewer elements, are also included in the scope and thought range of the present disclosure.
Claims
1. A central device, comprising: a communication unit for wirelessly communicating with a vehicle-side device, wherein the vehicle-side device is mounted on the vehicle and includes a plurality of electronic control devices; a vehicle information storage unit that stores vehicle information transmitted from the vehicle-side device in response to a predetermined change in the vehicle state; and the control unit transmits and writes the vehicle information to the vehicle information storage unit when the communication unit receives the vehicle information. The vehicle information storage unit has a waiting queue used to sequentially write a plurality of vehicle information transmitted by the control unit. The control unit refers to the waiting queue when transmitting the vehicle information to the vehicle information storage unit, and stores the vehicle information in the waiting queue if the write waiting number is less than a specified amount. If the write waiting number is greater than the specified amount, the vehicle information will be stored in the waiting queue if any of the items included in the vehicle information satisfies the write priority condition, and will not be stored in the waiting queue if all of the items do not satisfy the write priority condition.
2. The central device according to claim 1, wherein: One of the items is access log information indicating the date and time when the vehicle-side device sends the information in time series, If the access frequency based on the access log information is less than a predetermined number of times, the control unit determines that the write priority condition is satisfied.
3. The central device according to claim 1 or 2, wherein: One of the items is information indicating the type of vehicle. If the vehicle model satisfies a specific condition, the control unit determines that the write priority condition is satisfied.
4. The central device according to claim 1 or 2, wherein: When any one of the items does not satisfy the write priority condition, the control unit transmits a request for retransmission of the vehicle information to the corresponding vehicle-side device.
5. A vehicle information communication system, comprising a vehicle-side device and a central device, wherein the vehicle-side device is mounted on a vehicle and includes a plurality of electronic control devices, and the central device includes a communication unit for wirelessly communicating with the vehicle-side device. The above-mentioned central device has: a vehicle information storage unit that stores vehicle information transmitted from the vehicle-side device in response to a predetermined change in the vehicle state; and the control unit transmits and writes the vehicle information to the vehicle information storage unit when the communication unit receives the vehicle information. The vehicle information storage unit has a waiting queue used to sequentially write a plurality of vehicle information transmitted by the control unit. The control unit refers to the waiting queue when transmitting the vehicle information to the vehicle information storage unit, and stores the vehicle information in the waiting queue if the write waiting number is less than a predetermined amount. If the write waiting number is greater than the specified amount, the vehicle information will be stored in the waiting queue if any of the items included in the vehicle information satisfies the write priority condition, and will not be stored in the waiting queue if all of the items do not satisfy the write priority condition.
6. The vehicle information communication system according to claim 5, wherein: One of the items is access log information indicating the date and time when the vehicle-side device sends the information in time series, If the access frequency based on the access log information is less than a predetermined number of times, the control unit determines that the write priority condition is satisfied.
7. The vehicle information communication system according to claim 5 or 6, wherein: One of the items is information indicating the type of vehicle. If the vehicle model satisfies a specific condition, the control unit determines that the write priority condition is satisfied.
8. The vehicle information communication system according to claim 5 or 6, wherein: The vehicle-side device transmits the vehicle information when an ignition switch of the vehicle is turned on or a shift lever of the vehicle is in the "parking" position.
9. The vehicle information communication system according to claim 5 or 6, wherein: When any one of the items does not satisfy the write priority condition, the control unit transmits a request for retransmission of the vehicle information to the corresponding vehicle-side device.
10. The vehicle information communication system according to claim 9, wherein: The control unit specifies, in the retransmission request, a condition that triggers the vehicle-side device to execute retransmission, The vehicle-side device resends the vehicle information when the above conditions are met.
11. A recording medium having a program for a center device recorded thereon, The above-mentioned central device has: a communication unit for wirelessly communicating with a vehicle-side device, wherein the vehicle-side device is mounted on the vehicle and includes a plurality of electronic control devices; a vehicle information storage unit that stores vehicle information transmitted from the vehicle-side device in response to a predetermined change in the vehicle state; and the control unit transmits and writes the vehicle information to the vehicle information storage unit when the communication unit receives the vehicle information. The vehicle information storage unit has a waiting queue used to sequentially write a plurality of vehicle information transmitted by the control unit. The program is executed by the control unit, so that the control unit refers to the waiting queue when transmitting the vehicle information to the vehicle information storage unit, and if the write waiting number is less than a specified amount, the vehicle information is stored in the waiting queue. When the write waiting number is greater than the specified amount and one of the items included in the vehicle information satisfies the write priority condition, the vehicle information is stored in the waiting queue. When the write waiting number is greater than the predetermined amount and all of the items do not satisfy the write priority condition, they are not stored in the waiting queue.
12. A vehicle information communication method, which is implemented by a central device, The above-mentioned central device has: a communication unit for wirelessly communicating with a vehicle-side device, wherein the vehicle-side device is mounted on the vehicle and includes a plurality of electronic control devices; a vehicle information storage unit that stores vehicle information transmitted from the vehicle-side device in response to a predetermined change in the vehicle state; and the control unit transmits and writes the vehicle information to the vehicle information storage unit when the communication unit receives the vehicle information. The vehicle information storage unit has a waiting queue used to sequentially write a plurality of vehicle information transmitted by the control unit. The above method has: When the vehicle information is to be transmitted to the vehicle information storage unit, the control unit refers to the waiting queue, and if the write waiting number is less than a predetermined amount, the control unit stores the vehicle information in the waiting queue; When the write waiting number is greater than the predetermined amount and one of the items included in the vehicle information satisfies a write priority condition, the control unit stores the vehicle information in the waiting queue; and The control unit does not store the items in the waiting queue when the write waiting number is greater than the predetermined number and all the items do not satisfy the write priority condition.
13. A recording medium having a program for a vehicle information communication system recorded thereon, The vehicle information communication system is composed of a vehicle-side device and a central device, wherein the vehicle-side device is mounted on the vehicle and includes a plurality of electronic control devices, and the central device includes a communication unit for wirelessly communicating with the vehicle-side device. The above-mentioned central device has: a vehicle information storage unit that stores vehicle information transmitted from the vehicle-side device in response to a predetermined change in the vehicle state; and the control unit transmits and writes the vehicle information to the vehicle information storage unit when the communication unit receives the vehicle information. The vehicle information storage unit has a waiting queue used to sequentially write a plurality of vehicle information transmitted by the control unit. The program is executed by the control unit, so that the control unit refers to the waiting queue when transmitting the vehicle information to the vehicle information storage unit, and if the write waiting number is less than a specified amount, the vehicle information is stored in the waiting queue. When the write waiting number is greater than the specified amount and one of the items included in the vehicle information satisfies the write priority condition, the vehicle information is stored in the waiting queue. When the write waiting number is greater than the predetermined amount and all of the items do not satisfy the write priority condition, they are not stored in the waiting queue.
14. A vehicle information communication method, which is a method implemented by a vehicle information communication system, The vehicle information communication system is composed of a vehicle-side device and a central device, wherein the vehicle-side device is mounted on the vehicle and includes a plurality of electronic control devices, and the central device includes a communication unit for wirelessly communicating with the vehicle-side device. The above-mentioned central device has: a vehicle information storage unit that stores vehicle information transmitted from the vehicle-side device in response to a predetermined change in the vehicle state; and the control unit transmits and writes the vehicle information to the vehicle information storage unit when the communication unit receives the vehicle information. The vehicle information storage unit has a waiting queue used to sequentially write a plurality of vehicle information transmitted by the control unit. The above method has: When the vehicle information is to be transmitted to the vehicle information storage unit, the control unit refers to the waiting queue, and if the write waiting number is less than a predetermined amount, the control unit stores the vehicle information in the waiting queue; When the write waiting number is greater than the predetermined amount and one of the items included in the vehicle information satisfies a write priority condition, the control unit stores the vehicle information in the waiting queue; and The control unit does not store the items in the waiting queue when the write waiting number is greater than the predetermined number and all the items do not satisfy the write priority condition.
