CENTRAL DEVICE AND CAMPAIGN INFORMATION DISTRIBUTION PROCEDURE

DE112022005679T5Pending Publication Date: 2024-10-17DENSO CORP
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
DE112022005679
Authority / Receiving Office
DE · DE
Patent Type
Applications
Current Assignee / Owner
Priority Date
2021-11-30
Filing Date
2022-10-27
Publication Date
2024-10-17

AI Technical Summary

Technical Problem

The increasing complexity of vehicle control systems and connected car technology leads to high operational costs due to varying vehicle access patterns and the need for global server infrastructure, resulting in inefficient resource allocation and increased expenses.

Method used

Implementing a serverless architecture for the center device that dynamically allocates resources on-demand for application program execution, releasing resources after completion, and employing a serverless architecture for campaign management functions to reduce infrastructure costs.

Benefits of technology

This approach reduces computing resource consumption and operational costs by only using resources when needed, optimizing infrastructure expenses and improving resource allocation efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 00000000_0000_ABST
    Figure 00000000_0000_ABST
Patent Text Reader

Abstract

According to the invention, an OTA center 1A (OTA: Over-The-Air) performs several functions via an application program, including: managing data to be written to multiple ECUs installed in a vehicle 31; and sending update data to the vehicle 31 via wireless communication. An application program that implements at least some of the functions utilizes a serverless architecture. By using computing service units 12A, 20A, and a database unit 41, job ID information is assigned to a request received by the vehicle 31, and the status indicating whether processing corresponding to the request is in progress or has been completed is managed. As a result, a response is sent back to the vehicle 31 regarding a request whose processing has been completed.
Need to check novelty before this filing date? Find Prior Art

Description

Center device and campaign information distribution method CROSS-REFERENCE TO RELATED APPLICATIONS

[0001] This application is based on Japanese Application No. 2021-194285, filed on November 30, 2021, the contents of which are incorporated herein by reference.

[0002] The present disclosure relates to a center device that manages data to be written to an electronic control device mounted on a vehicle, and a method for distributing campaign information to a vehicle.

[0003] In recent years, with the diversification of vehicle control, such as driving assistance functions and autonomous driving functions, the scale of application programs installed in vehicle electronic control units (hereinafter referred to as ECUs (Electronic Control Units)) for vehicle control, diagnosis, etc., has been increasing. Furthermore, with version upgrades for functional improvements, etc., there are also increasing opportunities to rewrite ECU application programs, i.e., so-called reprogramming. Meanwhile, with the advancement of communication networks, connected car technology has also become widespread. In light of this, for example, Patent Document 1 discloses a technology in which an ECU update program is distributed from a server to an in-vehicle device via OTA (Over The Air) and the update program is rewritten on the vehicle side.

[0004] Japanese Patent Application Laid-Open No. 2020-27624

[0005] When attempting to actually configure the center device disclosed in Patent Document 1, the configuration would be, for example, as shown in Figure 40, and it is assumed that each management block constituting the center device is realized by an architecture that generally assumes the use of a server. Note that in this application, an environment or configuration that executes application programs assuming the use of a server is referred to as a "server architecture." In other words, in a server architecture, resources are always allocated to application programs, and the programs are executed as resident processes.

[0006] However, as shown in Fig. 41, it is expected that access from vehicles to the server in the center device will be more frequent during the day and less frequent at night, so operating the server at night will result in a lot of unnecessary costs.

[0007] Furthermore, regulations require that a center device compatible with connected cars be installed in each country. Therefore, if the same scale of system is built for each country, the cost of running a server will be wasted in areas with few vehicles (see FIG. 42). The present disclosure has been made in light of the above circumstances, and its purpose is to configure a center device that wirelessly communicates with multiple vehicles at a lower cost.

[0008] According to the center device of claim 1 or 2, an application program executes a plurality of functions for managing data to be written to an electronic control unit mounted on a vehicle and transmitting update data to the vehicle via wireless communication. In this case, the application program that realizes at least some of the functions is started in response to the occurrence of an event, and resources are dynamically allocated to the execution of the application program code in an on-demand manner, and the resources allocated to the application program are released when the code execution is completed, employing a serverless architecture.

[0009] As mentioned above, the number of accesses from vehicles to the center device varies depending on the time of day, and the number of vehicles themselves varies depending on the region. If a serverless architecture is adopted for an application program that realizes at least some of the functions, resources are dynamically allocated and the program is launched each time an access occurs from a vehicle, and the resources are released once the code execution is complete. Therefore, compared to adopting a server architecture that runs the program as a resident process, it is possible to reduce the consumption of computing resources, and as a result, the running costs of the infrastructure can be reduced.

[0010] The campaign determination unit receives vehicle configuration information from the vehicle and determines whether campaign information for the vehicle is available. If campaign information is available, the campaign generation unit generates campaign notification information for the vehicle. The status management unit manages the generation status of the campaign information, and the campaign transmission unit distributes the campaign notification information to the vehicle according to the generation status. The application program that realizes the functions of the campaign determination unit, status management unit, and campaign generation unit employs a serverless architecture.

[0011] For example, even in communications that require connection management, the status management unit manages the generation status of campaign information, eliminating the need for the campaign generation unit and campaign transmission unit to continue operating until the campaign notification information is delivered to the vehicle. This allows for greater benefits from realizing these functions using a serverless architecture.

[0012] The above and other objects, features and advantages of the present disclosure will become more apparent from the following detailed description taken in conjunction with the accompanying drawings. 1 is a functional block diagram showing the configuration of the OTA center in the first embodiment, FIG. 2 is a diagram showing an example in which the functions of the OTA center are realized by applying AWS, FIG. 3 is a flow diagram showing in outline the processing performed between the vehicle-side system and the OTA center, FIG. 4A is a flowchart (part 1) showing the processing from receiving vehicle configuration information to transmitting campaign information, FIG. 4B is a flowchart (part 2) showing the processing from receiving vehicle configuration information to transmitting campaign information, FIG. 5A is a flowchart (part 1) showing the processing from registering campaign information to registering a distribution package in the CDN distribution unit, FIG. 5B is a flowchart (part 2) showing the processing from registering campaign information to registering a distribution package in the CDN distribution unit, FIG. 6 is a flowchart showing the processing from data access by the vehicle to distribution of the package by the CDN distribution unit, FIG. 7 is a flowchart showing the processing of registering software update data, and FIG. 8A is a flowchart showing the processing from registering case information to generating a package. 8B is a flowchart (part 2) showing the processing from the registration of project information to the generation of a package, FIG. 9 is a flowchart (part 3) showing the processing from the registration of project information to the generation of a package, FIG. 10 is a diagram explaining the effect of accumulating data for a certain period of time in a queuing buffer unit before passing it to a compute service function unit at the next stage, FIG. 11 is a diagram explaining the processing form of a server model and a serverless model, FIG. 12 is a diagram showing the running costs of the server model and the serverless model, FIG. 13 is a functional block diagram showing the configuration of an OTA center in the second embodiment, FIG. 14 is a diagram showing an example in which the functions of the OTA center are realized by applying AWS, FIG. 15A is a flowchart (part 1) showing the processing from the reception of vehicle configuration information to the transmission of a job ID and the generation of campaign information, FIG. 15B is a flowchart (part 2) showing the processing from the reception of vehicle configuration information to the transmission of a job ID and the generation of campaign information, and FIG.17A is a flowchart showing the processing from registration of campaign information to registration of a distribution package in the CDN distribution unit (part 1); FIG. 17B is a flowchart showing the processing from registration of campaign information to registration of a distribution package in the CDN distribution unit (part 2); FIG. 18 is a flowchart showing the processing from registration of campaign information to registration of a distribution package in the CDN distribution unit (part 3); FIG. 19A is a flowchart showing the processing from registration of case information to generation of a package (part 1); 24A is a flowchart (part 1) showing the processing from receiving a campaign information request to checking the generation status of the campaign information and sending it, FIG. 24B is a flowchart (part 2) showing the processing from receiving a campaign information request to checking the generation status of the campaign information and sending it, FIG. 25A is a flowchart (part 1) showing the processing from registering campaign information to registering a distribution package in the CDN distribution unit, FIG. 25B is a flowchart (part 2) showing the processing from registering campaign information to registering a distribution package in the CDN distribution unit, FIG. 26A is a flowchart (part 1) showing the processing from receiving a registration request for project information to checking the registered information and sending it, FIG. 26B is a flowchart (part 2) showing the processing from receiving a registration request for project information to checking the registered information and sending it, FIG. 27 is a diagram explaining problems that may occur in the third embodiment in the fourth embodiment, FIG. 28 is a functional block diagram showing the configuration of an OTA center, FIG. 29 is a diagram showing an example in which the functions of the OTA center are realized by applying AWS, and FIG.FIG. 31 is a functional block diagram showing the configuration of an OTA center in the fifth embodiment; FIG. 32 is a diagram showing an example in which the functions of the OTA center are realized by applying AWS; FIG. 33 is a flowchart showing the processing from receiving vehicle configuration information to sending a job ID and generating campaign information; FIG. 34 is a flowchart showing the processing from registering campaign information to registering a distribution package in a CDN distribution unit; FIG. 35 is a flowchart showing the processing from registering case information to generating a package; FIG. 38B is a flowchart (part 1) showing the processing from checking the generation status of campaign information to sending it, FIG. 38B is a flowchart (part 2) showing the processing from receiving a campaign information request to checking the generation status of campaign information and sending it, FIG. 39 is a flowchart showing the processing from data access by a car to package distribution by a CDN distribution unit, FIG. 40 is a functional block diagram assuming that the functions of an OTA center are configured mainly by applying a server architecture, FIG. 41 is a diagram showing trends in server access by time period in a connected car service, FIG. 42 is a diagram showing differences in the number of cars sold in each region, FIG. 43 is a functional block diagram showing the configuration of an OTA center in the seventh embodiment, and FIG. 44 is an example of a case where the center device 1E shown in FIG. 43 is configured using an AWS cloud.

[0013] First Embodiment Hereinafter, a first embodiment will be described. As shown in Fig. 1, an OTA center 1, which is a center device of this embodiment, includes a distribution system 2 and a common system 3. In the common system 3, a distribution package including ECU update programs and data to be distributed to a vehicle, i.e., a car 31, is generated and managed, and the generated distribution package is distributed to the car 31 via the distribution system 2 by wireless communication, i.e., OTA.

[0014] When the common system 3 generates a package, necessary data is transmitted and received between the OEM (Original Equipment Manufacturer) back office 4, which is an external server system, and the key management center 5. The OEM back office 4 includes a first server 6 to a fourth server 9. These servers 6 to 9 are similar to those shown in FIG. 40 and are systems for manufacturing information management, customer management, telematics contracts, and SMS (Short Message Service) distribution, respectively. The key management center 5 includes a fifth server 10, which is a system for issuing and managing keys used for OTA.

[0015] The first server 6 to the fifth server 10 employ the server architecture described above, and resources are always allocated to application programs, and the programs are executed as resident processes.

[0016] An API (Application Programming Interface) gateway unit (1) 11 of the distribution system 2 wirelessly communicates with the vehicle 31 and the OTA operator 34. Data received by the API gateway unit 11 is sequentially transferred to a compute service function unit (1) 12, a queuing buffer unit 13, a compute service function unit (2) 14, and a compute service processing unit (1) 15. The compute service function unit 12 accesses a database unit (1) 16. The compute service processing unit 15 accesses a file storage unit 18 and a database unit (2) 19. The database unit 19 stores campaign information, which is software update information corresponding to the vehicle 31 that requires a program update. The API gateway unit 11 inputs and outputs data and exchanges instructions and responses between the vehicle 31, the OTA operator 34, the smartphone 32, the PC 33, etc.

[0017] The data output by the compute service processing unit 15 is output to the API gateway unit 11 via the compute service function unit (3) 20. A CDN (Contents Delivery Network) distribution unit 21 accesses the file storage unit 18 and distributes the data stored in the file storage unit 18 to the vehicle 31 via OTA. The CDN distribution unit 21 is an example of a network distribution unit.

[0018] The API gateway unit (2) 22 of the common system 3 inputs and outputs data with the compute service processing unit 15 of the distribution system 2, as well as the compute service processing unit (2) 23 and the compute service function unit (4) 24 provided in the common system 3. The compute service processing unit 23 accesses the database unit (3) 25 and the file storage unit (3) 26. The compute service function unit 24 accesses the file storage unit 26 and the database unit (4) 27. The API gateway unit 22 also accesses the servers 6 to 10 provided in the OEM back office 4 and the key management center 5. The API gateway unit 22 inputs and outputs data and exchanges instructions and responses with the servers 6 to 10 provided in the OEM back office 4 and the key management center 5. For ease of explanation, the drawings show the transmission and reception of commands and data using lines. However, even if lines are not shown, it is possible to call the processing unit, function unit, and management unit, and to access the database unit and storage unit.

[0019] In the above configuration, the compute service function units 12, 14, 20, and 24, and the compute service processing units 15 and 23, employ a serverless architecture. A "serverless architecture" is activated when an event occurs, and resources are automatically allocated to the execution of application program code on an on-demand basis. Once the code execution is complete, the allocated resources are automatically released, and this architecture is based on a design concept that is opposed to the aforementioned "server architecture."

[0020] Furthermore, the "serverless architecture" is activated in response to the occurrence of an event, dynamically allocates resources for the execution of application program code, and releases the allocated resources once the execution of the code is complete. The resources may be released immediately after the execution of the code is complete, or may be released after waiting a predetermined time, for example, 10 seconds, after the execution is complete.

[0021] Here are four principles for configuring a serverless architecture: - Use computing services without using servers to execute program code on demand. - Use straight functions with a single purpose. - Configure a push-based event-driven pipeline. - Configure a thicker and more powerful front end.

[0022] 2 shows an example of the center device 1 shown in FIG. 1 configured using the AWS (Amazon Web Service) cloud. Amazon API Gateway: corresponds to API gateway units 11 and 22. AWS Lambda: corresponds to compute service function units 12, 20, and 24. Amazon Kinesis: corresponds to queuing buffer unit 13. Elastic Load Balancing: corresponds to compute service function unit 14. AWS Fargate: corresponds to compute service processing unit 15. Amazon S3: corresponds to file storage units 18 and 26. Amazon Aurora: corresponds to database units 19, 25, and 27. Note that Lambda and Fargate can achieve equivalent functions, so in the embodiments and figures, the parts labeled Lambda can be configured with Fargate, and the parts labeled Fargate can also be configured with Lambda.

[0023] The CDN 77 corresponds to the CDN distribution unit 21, which is a service provided by CDN77 Inc. This may be replaced with the Amazon CloudFront service provided by AWS. The CDN 77 is a cache server distributed around the world. The CDN distribution unit 21 is not limited to the CDN 77 or the Amazon CloudFront service, but corresponds to any service or server that realizes a content delivery network. The AWS (Amazon Web Service) cloud is an example of a cloud service that provides a serverless architecture. The configurations described in the embodiments and illustrated in the figures are changed as appropriate depending on the functions provided by the cloud service.

[0024] Next, the operation of this embodiment will be described. As shown in FIG. 3 , in the “vehicle configuration information synchronization” phase, vehicle configuration information is transmitted to the OTA center 1, for example, every two weeks, when the ignition switch of the vehicle 31 is turned on. When a campaign occurs, a short message may be transmitted from the fourth server 9 to the campaign target vehicle, and this short message may trigger transmission of the vehicle configuration information to the OTA center 1. The vehicle configuration information is information regarding the hardware and software of the ECU installed in the vehicle. Based on the transmitted vehicle configuration information, the OTA center 1 checks whether there is campaign information applicable to software updates. If there is corresponding campaign information, the OTA center 1 transmits the campaign information to the vehicle 31. When the vehicle 31 transmits the vehicle configuration information, the OTA center 1 compares the transmitted information with the vehicle configuration information of the vehicle 31 held by the OTA center 1, and updates the information to the newer information. This process is referred to as vehicle configuration information synchronization.

[0025] In the "campaign acceptance + DL acceptance" phase, when the driver of the car 31 who has received the campaign information presses a button for accepting the download displayed on the screen of the in-vehicle device, the data package for program update is downloaded from the CDN distribution unit 21. During the download, the progress rate of the download process is notified from the car 31 to the OTA center 1.

[0026] When the download is complete, the status changes to "Installation Accepted" and the installation is executed, and the progress rate of the installation process is notified from the car 31 to the OTA center 1. When the installation process is complete, the status changes to "Activation Executed" in the car 31, and when activation is completed, the OTA center 1 is notified of the completion of activation.

[0027] Each of the above processes will be described in detail below. <Receiving vehicle configuration information → Transmitting campaign information> As shown in Fig. 4, the API gateway unit 11 receives an HTTPS (Hypertext Transfer Protocol Secure) request for vehicle configuration information from the car 31 (S1). The request contents include, for example, the VIN (Vehicle Identification Number), the hardware ID of each ECU, and the software ID of each ECU. Next, the API gateway unit 11 starts the compute service function unit 12 and passes the received vehicle configuration information to the function unit 12 (S2).

[0028] The compute service function unit 12 passes the vehicle configuration information to the queuing buffer unit 13 (S3). The queuing buffer unit 13 accumulates and buffers the passed vehicle configuration information for a certain period of time, for example, one second or several seconds (S4). At this point, the compute service function unit 12 terminates the processing and releases resources such as the CPU and memory that were occupied for the processing (S5). The compute service function unit 12 may receive a TCP port number from the API gateway unit 11 and store it in the shared memory as necessary. The container applications of the compute service processing unit 15 include a container application related to the generation of campaign information, a container application related to the registration of a distribution package, and a container application related to package generation. The compute service function unit 14 interprets the passed information and launches the corresponding container application.

[0029] When the certain period of time has elapsed (S5A), the queuing buffer unit 13 starts the compute service function unit 14 and passes the vehicle configuration information accumulated within the certain period of time to the compute service function unit 14 (S6). The queuing buffer unit 13 is an example of an access buffer control unit. The compute service function unit 14 interprets part of the content of the passed vehicle configuration information, starts a container application of the compute service processing unit 15 that can execute appropriate processing, and passes the vehicle configuration information to the compute service processing unit 15 (S7).

[0030] Here, a container is a logical partition created on a host OS, and libraries, programs, etc. required to run an application are collected together. OS resources are logically separated and shared among multiple containers. An application executed in a container is called a container app.

[0031] The compute service processing unit 15 accesses the database unit 19 and determines whether campaign information, which is software update information, corresponding to the received vehicle configuration information is present (S8). If campaign information is present, the compute service processing unit 15 generates campaign information to be distributed to the vehicle 31 by referring to the database unit 19 (S9). Here, the compute service processing unit 15 is an example of a campaign determination unit and a campaign generation unit. The compute service function unit 14 corresponds to a first compute service unit, and the compute service processing unit 15 corresponds to a second compute service unit. Note that, in step S9, if campaign information is present and all the information necessary for distribution to the vehicle 31 is present, the process proceeds to step S10.

[0032] The compute service processing unit 15 starts the compute service function unit 20 and passes the generated campaign information to it (S10). At this point, the compute service processing unit 15 ends the processing and releases resources such as the CPU and memory that were occupied for that processing (S11). If there is no campaign information in step S8, the compute service processing unit 15 generates campaign information to be distributed to the vehicle 31 notifying that there is no campaign (S12), and then proceeds to step S10. In step S10, the compute service processing unit 15 passes campaign information notifying that there is a campaign or campaign information notifying that there is no campaign to the compute service function unit 20.

[0033] The compute service function unit 20 passes the received campaign information to the API gateway unit 11 to distribute it to the corresponding vehicle 31. At this point, the compute service function unit 20 ends the processing and releases resources such as the CPU and memory that were occupied for that processing (S14). The API gateway unit 11 sends an HTTPS response including the campaign information to the vehicle 31 (S15). As a result, the vehicle 31 receives the HTTPS response including the campaign information. The API gateway unit 11 is an example of a campaign sending unit.

[0034] Furthermore, in the above processing, the compute service function unit 20 may, if necessary, obtain the TCP port number stored by the compute service function unit 12 from the shared memory and request the API gateway unit 11 to deliver an HTTPS response to that TCP port number.

[0035] 5, the OTA operator 34 sends an HTTPS request for campaign information registration (S21). The API gateway unit 11 starts the compute service function unit 12 and passes the received campaign information to the compute service function unit 12 (S22).

[0036] The compute service function unit 12 passes the campaign information to the queuing buffer unit 13 (S23). The queuing buffer unit 13 accumulates and buffers the passed campaign information for a certain period of time (S24). At this point, the compute service function unit 12 ends the processing and releases resources such as the CPU and memory that were occupied for performing the processing (S25). The compute service function unit 12 is an example of a campaign registration unit and corresponds to a fifth compute service unit.

[0037] When the certain period of time has elapsed (S25A), the queuing buffer unit 13 starts the compute service function unit 14 and passes the campaign information accumulated within the certain period of time to the compute service function unit 14 (S26). The compute service function unit 14 interprets part of the content of the passed campaign information, starts a container application of the compute service processing unit 15 that can execute appropriate processing, and passes the campaign information to the compute service processing unit 15 (S27).

[0038] The compute service processing unit 15 registers the campaign information in the database unit 19 to link the target vehicle included in the received campaign information with the software package to be updated (S28). The compute service processing unit 15 also activates the compute service function unit 20 and notifies the API gateway unit 11 that the registration of the campaign information has been completed (S30). In step S30, the API gateway unit 11 transmits an HTTPS response including a notification that the registration of the campaign information has been completed to the OTA operator 34. The compute service processing unit 15 is an example of a campaign registration unit and corresponds to a fourth compute service unit.

[0039] Next, the compute service processing unit 15 stores the software package to be updated and URL information for downloading in the file storage unit 18 (S31). The compute service processing unit 15 then ends the processing and releases resources, such as the CPU and memory, that were occupied for that processing (S32). The file storage unit 18 then operates as an origin server for the CDN distribution unit 21 (S33). The compute service processing unit 15 is an example of a package distribution unit and corresponds to a third compute service unit. The origin server is a server on which the original data resides. The file storage unit 18 stores all of the software packages to be updated and URL information for downloading.

[0040] 6, the OTA master, which is actually comprised of a DCM (Data Communication Module) and a central ECU mounted on the vehicle 31, accesses the CDN distribution unit 21 based on the download URL information included in the campaign information (S41). The CDN distribution unit 21 determines whether the software package requested by the vehicle 31 is stored in its own cache memory (S42). If the software package is stored in the cache memory, the CDN distribution unit 21 transmits the software package to the vehicle 31 (S43).

[0041] On the other hand, if the requested software package is not stored in the cache memory, the CDN distribution unit 21 requests the software package from the file storage unit 18, which is the origin server (S44). The file storage unit 18 then transmits the requested software package to the CDN distribution unit 21 (S45). The CDN distribution unit 21 stores the software package received from the file storage unit 18 in its own cache memory and transmits it to the vehicle 31 (S46).

[0042] 7 , the API gateway unit 22 receives a registration request for software update data and related information from the first server 6 of the OEM back office 4 as an HTTPS request (S51). The API gateway unit 22 starts the compute service function unit 24 and passes the software update data and related information (S52). The compute service function unit 24 stores the software update data and related information in the file storage unit 26 (S53).

[0043] The compute service function unit 24 updates the search table stored in the database unit 27 so that it can refer to where the software update data and related information are stored (S54). At this point, the compute service function unit 24 ends the processing and releases resources such as the CPU and memory that were occupied for that processing (S55). Note that in step S55, the compute service function unit 24 may notify the API gateway unit 22 that the processing has ended, and the API gateway unit 22 may send an HTTPS response to the OEM back office 4 indicating that the registration of the software update data and its related information has been completed.

[0044] 8, the OTA operator 34 sends an HTTPS request for project information to the API gateway unit 11 to register the project information (S61). The project information is a collection of hardware information and software information of ECUs to which a certain distribution package can be applied. When the API gateway unit 11 starts the compute service function unit 12, it passes the received project information to the function unit 12 (S62).

[0045] The compute service function unit 12 passes the case information to the queuing buffer unit 13 (S63). The queuing buffer unit 13 accumulates and buffers the passed case information for a certain period of time (S64). The compute service function unit 12 ends the processing and releases resources such as the CPU and memory that were occupied for performing the processing (S65). Note that the compute service function unit 12 may receive a TCP port number from the API gateway unit 11 and store it in shared memory as necessary.

[0046] When the certain period of time has elapsed, the queuing buffer unit 13 starts the compute service function unit 14 and passes the case information accumulated within the certain period of time to the compute service function unit 14 (S66). The compute service function unit 14 interprets part of the content of the passed case information, starts a container application of the compute service processing unit 15 that can execute appropriate processing, and passes the case information to the compute service processing unit 15 (S67).

[0047] The compute service processing unit 15 accesses the database unit 19, and in order to generate a software package based on the software update target information included in the passed case information, starts the container application of the compute service processing unit 23 and passes the software update target information to the compute service processing unit 23 (S68). The compute service processing unit 15 ends the processing, and releases resources such as the CPU and memory that were occupied for performing that processing (S70).

[0048] Based on the received software update target information, the compute service processing unit 23 sends an HTTPS request for software update data to the API gateway unit 22 (S71). The API gateway unit 22 starts the compute service function unit 24 and passes the software update data request (S72). The compute service function unit 24 refers to the database unit 27 and obtains path information for the file storage unit 26 where the software update data is stored (S73).

[0049] The compute service function unit 24 accesses the file storage unit 26 based on the acquired path information and acquires the software update data (S74). The acquired software update data is then passed to the API gateway unit 22 for transmission to the compute service processing unit 23 (S75). The compute service function unit 24 ends the processing and releases resources such as the CPU and memory that were occupied for performing the processing (S76). The compute service function unit 24 is an example of a data management unit.

[0050] The API gateway unit 22 sends a software update response HTTPS response including the software update data to the compute service processing unit 23 (S77). The compute service processing unit 23 refers to the database unit 25 to identify the structure of the software package for the target vehicle (S78). Then, the compute service processing unit 23 processes the software update data so that it matches the identified software package structure, and generates a software package (S79). The compute service processing unit 23 stores the generated software package in the file storage unit 26 (S80). The compute service processing unit 23 is an example of a package generation unit.

[0051] The compute service processing unit 23 passes the path information of the file storage unit 26 in which the software package is stored to the API gateway unit 22 (S81) to transmit it to the compute service processing unit 15. The compute service processing unit 23 ends the processing and releases the resources such as the CPU and memory that were occupied to perform that processing (S82).

[0052] The API gateway unit 22 starts the compute service processing unit 15 and passes the path information of the software package (S83). The compute service processing unit 15 links the passed path information of the software package with the case information and updates the search table registered in the database unit 19 (S84). The compute service processing unit 15 starts the compute service function unit 20 and passes case registration completion information (S85). The compute service processing unit 15 ends the processing and releases resources such as the CPU and memory that were occupied to perform that processing (S86).

[0053] The compute service function unit 20 passes the passed case registration completion information to the API gateway unit 11 to return it to the OTA operator 34 (S87). The compute service function unit 20 ends the processing and releases the resources, such as the CPU and memory, that were occupied for that processing (S88). The API gateway unit 11 sends an HTTPS response of the case registration completion information to the OTA operator 34 (S89).

[0054] Furthermore, in the above processing, the compute service function unit 20 may, if necessary, obtain the TCP port number stored by the compute service function unit 12 from the shared memory and request the API gateway unit 11 to deliver an HTTPS response to that TCP port number.

[0055] Next, the effects of this embodiment will be described. As shown in FIG. 10 , the queuing buffer unit 13 accumulates a certain amount of stream data of vehicle configuration information transmitted from each vehicle 31 before passing it to the compute service function unit 14 and the compute service processing unit 15. Assuming that the above function is implemented using AWS Fargate, the frequency of processing can be reduced, thereby saving on the consumption of computing resources. The queuing buffer unit 13 also accumulates campaign information and project information for a certain period of time, similar to the vehicle configuration information, before passing it to the compute service function unit 14. This reduces the frequency of processing and suppresses the consumption of computing resources. The queuing buffer unit 13 may store the vehicle configuration information, campaign information, and project information in a single queuing buffer, or may include multiple queuing buffer units 13, each storing a different type of information in a different queuing buffer unit 13.

[0056] While Figure 10 shows an example of buffering vehicle configuration information sent from each car 31, when the OTA operator 34 registers for a campaign or registers project information, the queuing buffer unit 13 similarly accumulates a certain amount of information before passing it on to the next stage compute service function unit 14 and compute service processing unit 15.

[0057] 11 , in a conventional server model, application programs and servers are always running with resources occupied, and multiple processes are executed by one server. In contrast, in a model employing a serverless architecture like the present embodiment, when a request for each process is made, the corresponding application program is started, and when the process is completed, the program execution is stopped and deleted. Therefore, at this point, the resources used for the process are released.

[0058] As a result, as shown in Figure 12, in the conventional server model, the fixed costs associated with running the server at all times are higher than the actual operating costs. Furthermore, providing redundant servers as backups incurs even more costs. In contrast, by adopting a serverless architecture as in this embodiment, the running costs of the infrastructure can be significantly reduced, since the costs are essentially only those incurred when the server is actually running.

[0059] As described above, according to this embodiment, the OTA center 1 manages data to be written to multiple ECUs installed in the vehicle 31 and executes multiple functions using application programs to transmit update data via wireless communication to the vehicle 31. In this case, the application programs that realize at least some of the functions are started in response to the occurrence of an event, and a serverless architecture is adopted in which resources are dynamically allocated to the execution of the application program code on an on-demand basis, and the resources allocated to the application program are released once the code execution is completed.

[0060] In a program employing serverless architecture, resources are dynamically allocated and the program is started each time an access is made from the vehicle 31, and the resources are released once the code execution is complete. Therefore, compared to a case where a server architecture is employed in which the program is executed as a resident process, consumption of computing resources in the infrastructure can be reduced, and as a result, running costs for the infrastructure can be reduced.

[0061] Second Embodiment Hereinafter, the same parts as those in the first embodiment will be denoted by the same reference numerals and explanations thereof will be omitted, and only differences will be explained. Assuming that communication between the vehicle 31 and the OTA center 1 is performed using TCP (Transmission Control Protocol), which is a connection-oriented communication, connection management is required between the sender and the receiver. Similarly, assumining that communication between the OTA operator 34 and the OTA center 1 is performed using TCP (Transmission Control Protocol), which is a connection-oriented communication, connection management is required between the sender and the receiver.

[0062] First, when establishing a connection, the following handshake process is required: The sending side sends a TCP packet with the SYN (connection establishment request) flag enabled as an establishment request. The receiving side responds with an ACK (Acknowledgement) and at the same time sends a connection establishment request from the receiving side with the SYN flag enabled in the TCP header. The sending side sends an ACK packet in response to the SYN from the receiving side.

[0063] When disconnecting a connection, the following handshake process is required: - The sending side first sends a FIN (connection termination request). - The receiving side sends an ACK, followed by a FIN. - The sending side receives the FIN and sends the final ACK, then waits a certain amount of time before terminating the connection.

[0064] In the configuration of the first embodiment, when the above-described connection management is taken into consideration, it is necessary to constantly link the compute service function units 12 and 20 shown in Fig. 1. Furthermore, since the compute service function units 12 and 20 need to keep their processes running until the processing in the subsequent stages is completed and a response is returned, it is not possible to maximize the benefits of adopting a serverless architecture.

[0065] 13, in the OTA center 1A of the second embodiment, a database unit 41 is disposed between the compute service function unit 12A and the compute service processing unit 15A in the distribution system 2A. The database unit 41 is also accessible by the compute service function unit 20A. In the above, the compute service function units 12A and 20A and the database unit 41 are an example of a status management unit.

[0066] 14 shows an example of the configuration shown in FIG. 13 configured using the AWS cloud. Amazon Aurora, which corresponds to database units 16A and 41, is placed between AWS Lambda, which corresponds to the compute service function unit 12A, and AWS Fargate, which corresponds to the compute service processing unit 15A, and job IDs are managed in Amazon Aurora. Note that FIG. 14 illustrates an example of communication between a vehicle 31 and an OTA center 1.

[0067] Next, the operation of the second embodiment will be described. <Receiving vehicle configuration information → Sending job ID and sending campaign information> As shown in Figure 15, steps S1 and S2 are executed first, and the request in step S1 is "information request 1." It is assumed that this request is sent from one car 31, for example, once every two weeks or once a month. If it is assumed that one car 31 sends information request 1 once a month, then 10 million cars 31 will send about 8 requests per second.

[0068] Next, the compute service function unit 12A issues a new job ID and registers in the database unit 41 that the job ID is currently being processed (S91). A job ID is issued for each information request 1. Then, to return the job ID to the vehicle 31, which is outside the OTA center 1A, the compute service function unit 12A passes the job ID information to the API gateway unit 11A. The job ID information is, for example, "Job ID No. = 1" (S92). Then, the API gateway unit 11A transmits an HTTPS response to the information request for the job ID information to the vehicle 31 (S93).

[0069] The compute service function unit 12A passes the vehicle configuration information and job ID information received from the vehicle 31 to the queuing buffer unit 13A (S94). The queuing buffer unit 13A accumulates and buffers the passed vehicle configuration information and job ID information for a certain period of time, for example, several seconds (S95).

[0070] After steps S5 and S5A are executed, the queuing buffer unit 13A starts the compute service function unit 14A and passes the vehicle configuration information and job ID information accumulated within a certain period of time to the compute service function unit 14A (S96). The compute service function unit 14A interprets part of the contents of the passed vehicle configuration information and job ID information, starts a container application of the compute service processing unit 15A that can execute appropriate processing, and passes the vehicle configuration information and job ID information to the compute service processing unit 15A (S97).

[0071] The compute service processing unit 15A accesses the database unit 19A and determines whether campaign information corresponding to the received vehicle configuration information and job ID information exists (S98). From this point, steps S9 and S12 are executed depending on whether campaign information exists. In the following step S99, the compute service processing unit 15A registers in the database unit 41 that the processing of the above job ID has been completed (Finished) and the generated campaign information. Then, step S11 is executed, and the processing ends.

[0072] <Receiving a Campaign Information Request → Checking the Creation Status of Campaign Information and Sending the Campaign Information> As shown in Figure 16, when the API gateway unit 11A receives an HTTPS request for campaign information (information request 2) from the vehicle 31 (S101), it activates the compute service function unit 20A and passes the received campaign information request (S102). The request includes a job ID number. The compute service function unit 20A checks the database unit 41 to determine whether the status of the creation task for the job ID number is complete (S103).

[0073] If the campaign generation task has been completed, the compute service function unit 20A obtains the generated campaign information from the database unit 41 (S104) and passes it to the API gateway unit 11 (S105). At this point, the compute service function unit 20A ends the processing and releases the occupied resources such as the CPU and memory (S106). The API gateway unit 11 transmits an HTTPS response to the campaign information request to the vehicle 31 (S107).

[0074] On the other hand, if the campaign generation task is incomplete, the compute service function unit 20A passes campaign information indicating that the generation of the campaign information is incomplete to the API gateway unit 11A (S108), and then proceeds to step S106.

[0075] 17 , when steps S21 and S22 are executed (information request 1), the compute service function unit 12A issues a new job ID and registers in the database unit 41 that the job ID is being processed (S111). Subsequently, the job ID information is passed to the API gateway unit 11A to return the job ID number to the OTA operator 34 (S112).

[0076] The API gateway unit 11A transmits an HTTPS response to the campaign information request to the OTA operator 34 (S113). The compute service function unit 12A passes the received campaign information and job ID information to the queuing buffer unit 13A (S114). The queuing buffer unit 13A accumulates and buffers the received campaign information and job ID information for a certain period of time (S115). Then, steps S25 and S25A are executed.

[0077] The queuing buffer unit 13A starts the compute service function unit 14A and passes the campaign information and job ID information accumulated within a certain period of time to the compute service function unit 14A (S116). The compute service function unit 14A interprets part of the contents of the passed campaign information and job ID information, starts a container application of the compute service processing unit 15A that can execute appropriate processing, and passes the campaign information to the compute service processing unit 15A (S117).

[0078] The compute service processing unit 15A registers the campaign information in the database unit 19A to link the target vehicle included in the received campaign information and job ID information with the software package to be updated (S118). Next, the compute service processing unit 15A executes steps S31, S119, S32, and S33. In step S119, the compute service processing unit 15A registers in the database unit 41 that the processing of the above job ID has been completed.

[0079] 18 , when the API gateway unit 11A receives an HTTPS request for campaign information registration from the OTA operator 34 (S121), it activates the compute service function unit 20A and passes the received registration request, information request 2, to the compute service function unit 20A (S122). The compute service function unit 20A checks the database unit 41 to confirm whether the status of the registration task for the above job ID number is complete (S123).

[0080] If the campaign registration task has been completed, the compute service function unit 20A passes information indicating the completion of registration to the API gateway unit 11A (S124). At this point, the compute service function unit 20A ends the processing and releases the occupied resources such as the CPU and memory (S125). The API gateway unit 11A then transmits an HTTPS response to the campaign information registration request to the OTA operator 34 (S126).

[0081] On the other hand, if the campaign registration task is incomplete, the compute service function unit 20A passes campaign information indicating that the registration of the campaign information is incomplete to the API gateway unit 11A (S127), and then proceeds to step S125.

[0082] 19 , when steps S61 and S62 are executed (information request 1), the compute service function unit 12 issues a new job ID and registers in the database unit 41 that the job ID is being processed (S131). Then, in order to return the job ID to the OTA operator 34, the compute service function unit 12 passes the job ID information to the API gateway unit 11 (S132). Then, the API gateway unit 11 transmits an HTTPS response to the information request for the project information to the OTA operator 34 (S133).

[0083] The compute service function unit 12A passes the passed case information and job ID information to the queuing buffer unit 13A (S134). The queuing buffer unit 13A accumulates and buffers the passed case information and job ID information for a certain period of time, for example, several seconds (S135).

[0084] After steps S65 and S65A are executed, the queuing buffer unit 13A starts the compute service function unit 14A and passes the case information and job ID information accumulated within a certain period of time to the compute service function unit 14A (S136). The compute service function unit 14A interprets part of the contents of the passed case information and job ID information, starts a container application of the compute service processing unit 15A that can execute appropriate processing, and passes the case information and job ID information to the compute service processing unit 15A (S137).

[0085] The compute service processing unit 15A launches the container application of the compute service processing unit 23 and passes the software update target information to the compute service processing unit 23 to generate a software package based on the software update information contained in the passed case information (S138).

[0086] Thereafter, steps S70 to S86 are executed, but step S139 is executed instead of step S85. In step S139, the compute service processing unit 15A registers in the database unit 41 that the processing of the job ID has been completed.

[0087] 20, when the API gateway unit 11A receives an HTTPS request for registering project information (information request 2) from the OTA operator 34 (S141), the API gateway unit 11A starts the compute service function unit 20A and passes the received request for registering project information (S142). The compute service function unit 20A checks the database unit 41 to confirm whether the status of the task with the job ID number attached to the request is complete (S143).

[0088] If the case information registration task has been completed, the compute service function unit 20A passes information indicating that the case information registration has been completed to the API gateway unit 11A (S144), terminates the processing, and releases the occupied resources (S145). The API gateway unit 11A then transmits an HTTPS response to the case information registration request to the OTA operator 34 (S146). On the other hand, if the case information registration task has not been completed, the compute service function unit 20A passes information indicating that the case information registration has not been completed to the API gateway unit 11A to be transmitted to the OTA operator 34 (S147), and then proceeds to step S145.

[0089] As described above, according to the second embodiment, the compute service function units 12A and 20A and the database unit 41 assign job ID information to a request received from the vehicle 31, manage the status indicating whether the processing corresponding to the request is in progress or has been completed, and return a response to the request for which processing has been completed to the vehicle 31. This eliminates the need for the compute service function units 12A and 20A to be continuously running until the processing corresponding to the request is completed, making it possible to enjoy more of the benefits of adopting a serverless architecture.

[0090] Third Embodiment In the configuration of the second embodiment, the communication traffic between the vehicle 31 and the API gateway unit 11 of the OTA center 1A increases, which raises concerns about an increase in communication charges. Furthermore, in this configuration, if there is a design error on the vehicle 31 side or the OTA center 1A side, communication retries from the vehicle 31 may occur in an infinite loop, which may cause the OTA center 1A to fall into an overload state.

[0091] 21 , in the OTA center 1B of the third embodiment, compute service function units 42 and 43 are added to the configuration of the second embodiment. The compute service function unit 43 accesses the compute service function unit 42 and the database unit 41B, and the compute service function unit 42 accesses the API gateway unit 11B. The database unit 41B manages the connection ID number along with the job ID number and status. The compute service function unit 20B is an example of a destination management unit.

[0092] Fig. 22 shows an example of the configuration shown in Fig. 21 configured using AWS services. Amazon API Gateway: corresponds to the API gateway unit 11B. AWS Lambda: corresponds to the compute service function units 12B, 20B, and 42. AWS Fargate: corresponds to the compute service processing units 14B and 15B. Amazon Aurora: corresponds to the database units 19B, 25, and 27. CloudWatch: corresponds to the compute service function unit 43.

[0093] Next, the operation of the third embodiment will be described. <Receiving vehicle configuration information → Sending job ID and sending campaign information> As shown in Figure 23, when steps S1 and S2 are executed, the compute service function unit 12B issues a new job ID and registers in the database unit 41B the fact that the job ID is being processed and the connection ID number (S151). Thereafter, steps S92 to S106 are executed. The connection ID number is a so-called TCP port number. Note that the API gateway unit 11B does not store the job ID, but does store the connection ID number, which is the TCP port number used when communicating with the vehicle 31.

[0094] <Receiving a Campaign Information Request → Checking the Creation Status of Campaign Information and Sending Campaign Information> As shown in Figure 24, when the API gateway unit 11B executes step S101, it activates the compute service function unit 20B and passes the received campaign information request (S152). The request includes connection ID information along with the job ID number. The compute service function unit 20B searches the database unit 41B for the job ID number and registers the connection information in the table for the corresponding job ID number (S153). Then, step S106 is executed.

[0095] The processing of steps S154 to S160 is initiated periodically, for example, every few seconds. The compute service function unit 43 periodically checks the database unit 41B to see if there is a new job ID number for which a task has been completed (S154). If there is a job ID number for which a task has been completed, the compute service function unit 43 acquires the connection ID information and campaign information for that job ID number from the database unit 41B (S155). The acquired connection ID information and campaign information are then passed to the compute service function unit 42 (S156), after which the compute service function unit 43 terminates the processing and releases the occupied resources (S157).

[0096] Next, the compute service function unit 42 passes the connection ID information and campaign information to the API gateway unit 11B (S159). The API gateway unit 11B identifies the vehicle 31 to which the information should be returned based on the connection ID information, and transmits an HTTPS response to the campaign information request to the vehicle 31 (S160). On the other hand, if there is no job ID number for which the task has been completed in step S154, the same process as in step S157 is performed (S158) and then the process ends.

[0097] <Registration of Campaign Information (Information Request 2) → Registration of Distribution Package in CDN Distribution Unit 21> For Information Request 1, steps S21 to S33 are executed as in the second embodiment. In step S91, the compute service function unit 12A issues a new job ID and registers the job ID as being in "Processing" status and the connection ID number in the database unit 41. Then, as shown in FIG. 25 , after executing step S121, the API gateway unit 11B executes the same processes as steps S152 and S153 (S161, S162) and then executes step S125. The processes of steps S163 to S169 are the same as those of steps S154 to S160, except that the response in step S169 is sent to the OTA operator 34.

[0098] <Data access from vehicle → Transmission of distribution package from CDN to vehicle> <Registration of software update data> These processes are the same as those in the first embodiment. <Registration of case information and generation of package> This process is the same as that in the second embodiment.

[0099] <Receiving a request to register project information → Checking the registration status of the project information and sending the project registration information (results)> As shown in Fig. 26, the processes of steps S171 and S172 are the same as steps S141 and S142, but the information passed to the compute service function unit 20B includes connection ID information. The processes of steps S173 to S181 are the same as the processes of steps S153 to S160 shown in Fig. 24, except that the project information is substituted for the campaign information.

[0100] As described above, according to the third embodiment, when the compute service function unit 20B receives a request to which a job number is assigned from the vehicle 31 or the OTA operator 34, it assigns a connection number linked to the job number and registers the request in the database unit 41B. If there is a request for which processing has been completed by referring to the database unit 41, the compute service function units 42 and 43 identify the vehicle 31 or the OTA operator 34 to which a response is to be sent based on the connection number corresponding to the job number of the request, and transmit the response to the identified vehicle 31 or OTA operator 34 via the API gateway unit 11B. This eliminates the need for a process in which the vehicle 31 or the OTA operator 34 repeatedly sends a request to the API gateway unit 11B to check whether processing of the job number has been completed. This reduces the amount of communication that occurred in the second embodiment, and therefore reduces the amount of communication traffic between the vehicle 31 or the OTA operator 34 and the API gateway unit 11B.

[0101] Fourth Embodiment In the configuration of the third embodiment, it is assumed that the processing load of AWS Fagate, which corresponds to the compute service processing unit 15B arranged downstream of the queuing buffer unit 13B, is adjusted by auto-scaling. In this case, the number of tasks and the like are typically controlled using the target tracking scaling policy of Elastic Container Service (ECS) and CloudWatch metrics and alarms in ECS.

[0102] However, because there is inevitably a time lag between CloudWatch metrics and alarm issuance, scaling in units of a few seconds is difficult, and scaling basically has to be done in units of minutes. Therefore, simply applying AWS Fargate to a serverless system poses the problem of not being able to handle sudden surges in communication traffic from cars 31, as shown in Figure 27.

[0103] 28, an OTA center 1C of the fourth embodiment includes a distribution system 2C in which a compute service function unit 44 is added to the configuration of the third embodiment. A compute service function unit 14C accesses the compute service function unit 44, and the compute service function unit 44 accesses a compute service processing unit 15C.

[0104] The compute service function unit 44 actively executes scale-out. To rapidly auto-scale AWS Fargate, which corresponds to the compute service processing unit 15C, it uses, for example, Step Functions to obtain the number of connections to Fargate tasks, which are the data plane, every three seconds, and then raises the upper limit on the number of tasks in ECS, which is the control plane, based on the results. This adjusts the processing capacity of the compute service processing unit 15C. The compute service function unit 44 is an example of a processing capacity adjustment unit.

[0105] Figure 29 shows an example of the center device 1C shown in Figure 28 configured using the AWS cloud. Amazon API Gateway: corresponds to the API gateway unit 11C. AWS Lambda: corresponds to the compute service function units 12C, 20C, 42C, 44. SQS: corresponds to the queuing buffer unit 13C. AWS Step Functions: corresponds to the compute service function unit 14C. Amazon Aurora: corresponds to the database units 16C, 41C. CloudWatch: corresponds to the compute service function unit 43C.

[0106] Next, the operation of the fourth embodiment will be described. <Receiving vehicle configuration information →Transmitting JOB_ID and generating campaign information> Steps S1 to S5A are executed in the same manner as in the second embodiment shown in FIG. 15. Subsequently, as shown in FIG. 30, when the same process as step S96 is executed (S191), the compute service function unit 14C starts the compute service function unit 44 (S192). The compute service function unit 44 checks the following (1) to (3) (S192): Number of container applications running in the compute service processing unit 15C Processing load rate of each container application Number of job IDs residing in the queuing buffer unit 13C

[0107] Next, the compute service function unit 44 checks whether any of the following conditions is satisfied (S194): The number of activations in (1) above exceeds a predetermined threshold The load factor in (2) above exceeds a predetermined threshold The number of job IDs in (3) above exceeds a predetermined threshold If any of the conditions exceeds a threshold, the compute service function unit 44 forcibly adds and activates a container application in order to scale out the container application of the compute service processing unit 15C (S195).

[0108] Next, the compute service function unit 14C passes the vehicle configuration information and the job ID to the container application started by the compute service processing unit 15C (S196). Then, the compute service function units 14C and 44 terminate processing and release the occupied resources (S197). On the other hand, if the threshold is not exceeded under any of the conditions in step S194, the compute service function unit 14C passes the vehicle configuration information and the job ID to the container application already started in the compute service processing unit 15C (S198) and then proceeds to step S197. Thereafter, steps S98 to S11 shown in FIG. 15 are executed. Note that, although the process described here is based on an example of sending and receiving vehicle configuration information, sending a JOB_ID, and generating campaign information, the process can be applied to all processes in which scaling out of the compute service processing units 15A and 15B is expected.

[0109] As described above, according to the fourth embodiment, the compute service function unit 44 checks the processing load of the compute service processing unit 15C that generates campaign notification information for the vehicle 31 and the number of pieces of vehicle configuration information received from the vehicle 31, and then determines whether or not the processing capacity of the compute service processing unit 15C needs to be increased or decreased, and increases or decreases the processing capacity as necessary. This makes it possible to deal with a sudden increase in the amount of communication traffic between the vehicle 31 and the OTA operator 34.

[0110] Fifth Embodiment The fifth embodiment shows a configuration that optimizes development costs. As shown in Fig. 31 , an OTA center 1D of the fifth embodiment is configured by deleting the queuing buffer unit 13 and the compute service function unit 14 from the configuration of the second embodiment in a distribution center 2D.

[0111] Fig. 32 shows an example of the center device 1D shown in Fig. 31 configured using the AWS cloud. Amazon API Gateway: corresponds to the API gateway unit 11D. AWS Lambda: corresponds to the compute service function units 20D and 42D. AWS Step Functions: corresponds to the compute service function unit 12D. Dynamo DB: corresponds to the database units 16D and 41D and the compute service function unit 43D.

[0112] Next, the operation of the fifth embodiment will be described. <Receiving vehicle configuration information → Sending job ID and sending campaign information> As shown in Fig. 33, after steps S1 to S93 are executed, the compute service function unit 12D starts a container application of the compute service processing unit 15D that can execute appropriate processing, and passes the vehicle configuration information to the compute service processing unit 15D (S201). Then, steps S5 to S11 are executed.

[0113] <Receive campaign information request → Check campaign information generation status and send campaign information> This is the same as the process shown in FIG. 24 in the third embodiment.

[0114] 34, after steps S21 to S113 are executed, the compute service function unit 12D starts a container application of the compute service processing unit 15D that can execute appropriate processing, and passes the vehicle configuration information to the compute service processing unit 15DD (S202). Then, steps S25, S118, and S31 to S33 are executed.

[0115] <Registering campaign information → Registering distribution package to CDN distribution unit 21> This is the same as the process shown in Fig. 25 of the second embodiment. <Data access from car → Sending distribution package from CDN to car> This is the same as the process shown in Fig. 6 of the first embodiment. <Registering software update data> This is the same as the process shown in Fig. 7 of the first embodiment.

[0116] 35, when steps S61 to S133 are executed in the same manner as in FIG. 19 of the second embodiment, the compute service function unit 12D starts a container application of the compute service processing unit 15D that can execute appropriate processing, and passes vehicle configuration information to the compute service processing unit 15D (S203). Then, when steps S65 and S138 are executed, steps S70 to S86 are executed in the same manner as in FIG. 19 of the second embodiment.

[0117] <Receiving a request to register item information →Checking the registration status of item information and transmitting item registration information (results)> This is the same as the process shown in FIG. 26 in the third embodiment.

[0118] As described above, according to the fifth embodiment, the queuing buffer unit 13 and the compute service function unit 14 are eliminated, so that the OTA center 1D can be configured at low cost.

[0119] Sixth Embodiment In the sixth embodiment, a signed URL with an expiration date is used to enhance security. Using this signed URL, it is possible to specify the start date and time when a user can begin accessing content, the date and time or period during which access is permitted, and also to specify the IP address or range of IP addresses of users who can access the content. The above signature is an example of access control information.

[0120] For example, the OTA center creates a signed URL using a private key and returns it to the car, which then uses the signed URL to download or stream content from the CDN. At that time, the CDN verifies the signature using a public key to verify that the user has the credentials to access the file.

[0121] 36, an OTA center 1E of the sixth embodiment is a distribution system 2E in which a compute service function unit 45 is added to the configuration of the second embodiment. The compute service function unit 45 accesses a compute service processing unit 15E. A database unit 41E manages expiration dates and signed URLs.

[0122] Fig. 37 shows an example of the center device 1E shown in Fig. 36 configured using the AWS cloud. Amazon API Gateway: corresponds to the API gateway unit 11E. AWS Lambda: corresponds to the compute service function units 12E, 14E, 20E, and 45. AWS Step Functions: corresponds to the compute service function unit 14E. SQS: corresponds to the queuing buffer unit 13E. Dynamo DB: corresponds to the database units 16E and 41E and the compute service function unit 42E.

[0123] Next, the operation of the sixth embodiment will be described. <Receiving Vehicle Configuration Information → Sending Job ID and Campaign Information> First, steps S1 to S5 and steps S92 to S11 are executed, similar to the process shown in FIG. 23 for the third embodiment. Next, steps S101 to S106 are executed, similar to the process shown in FIG. 24. Then, as shown in FIG. 38, upon executing step S154, if there is a job ID number for which a task has been completed, the compute service function unit 43E acquires the connection ID information, campaign information, expiration date, and signed URL for that job ID number from the database unit 41E (S211). Then, after passing the acquired information to the compute service function unit 42E (S212), step S157 is executed. After passing the information to the API gateway unit 11E (S213), the compute service function unit 42E executes step S160.

[0124] The processing of steps S214 to S217 is executed periodically. The compute service function unit 45 periodically checks the database unit 41E to see if there are any expired signed URLs (S214). If there are any expired signed URLs, the compute service function unit 45 generates a new signed URL with a new expiration date (S215) and updates the database unit 41E (S216). Then, the compute service function unit 45 ends the processing and releases the occupied resources (S217).

[0125] <Registration of Campaign Information → Registration of Distribution Package to CDN Distribution Unit 21> This is the same processing as in the third embodiment.

[0126] <Data Access from Vehicle → Sending Distribution Package from CDN to Vehicle> As shown in Figure 39, the vehicle 31 accesses the CDN distribution unit 21 based on the download URL information, expiration date, and signed URL included in the campaign information (S221). The CDN distribution unit 21 verifies whether the expiration date and the signature of the signed URL are correct using the public key (S222). If the verification result is OK, the CDN distribution unit 21 verifies whether the expiration date has expired (S223), and if not, executes steps S42 to S46. On the other hand, if the expiration date has expired, the CDN distribution unit 21 sends an error message to the vehicle 31 (S224).

[0127] <Registration of software update data> <Registration of case information → Generation of package> <Reception of case information registration request → Check of case information generation status and transmission of case information> These are the same processes as in the third embodiment.

[0128] As described above, according to the sixth embodiment, the campaign information includes the expiration date and the signed URL together with the download URL information, and the OTA center 1E checks the expiration date and verifies the signature, so that the date and time when access to the content can be started and the date and time when access can be started can be specified, and the users who can access the content can be limited by the CDN distribution unit 21. Therefore, the security of communication with the vehicle 31 can be improved.

[0129] Seventh Embodiment In the above embodiment, a case where a serverless architecture is adopted for the OTA center has been described. The OTA center is assumed to communicate with cars, PCs, smartphones, OTA operators, OEM back offices, and key management centers. A server architecture may be adopted for at least some of the processing, decision, and management functions of the OTA center.

[0130] For example, if a system has been developed based on a server architecture, it is likely that there are programs that have been designed, implemented, and verified, as well as modules known as development assets. In such cases, if the entire system were to be rebuilt as a serverless architecture, assets such as developed programs and modules, as well as development knowledge, would not be available. This situation could result in increased development costs and longer development times.

[0131] The inventors of the present application have focused on combining processes employing a serverless architecture with processes employing a server architecture in a system, thereby effectively utilizing previously developed assets while enjoying the benefits of the serverless architecture. The serverless architecture is advantageous for processes in which the number of external requests fluctuates greatly. Specifically, the number of requests processed from cars, PCs, and smartphones (hereinafter referred to as "cars") fluctuates greatly depending on the region, time of day, vehicle price range, etc. On the other hand, the number of requests processed from OTA operators, OEM back offices, and key management centers (hereinafter referred to as "OTA operators") is smaller than the number of requests from cars, etc., and the fluctuations in the number of requests tend to be smaller.

[0132] Therefore, in the seventh embodiment, a serverless architecture is adopted for processing based on requests from vehicles, etc., and a server architecture is adopted for processing based on requests from OTA operators, etc. Note that details of the operation when the OTA center is configured with a serverless architecture have been explained in the above embodiments, and therefore will not be described here. Furthermore, details of modules that adopt a server architecture have been explained in, for example, Japanese Patent Application Laid-Open No. 2020-132042, and therefore will not be described here.

[0133] Next, the seventh embodiment will be described with reference to Fig. 43, focusing mainly on the differences from the sixth embodiment. The differences from the sixth embodiment include the removal of the compute service processing unit 15E and its integration into the compute service function unit 14F, and the addition of an operation and service infrastructure 46 as a module that employs a server architecture.

[0134] Fig. 44 shows an example of the center device 1E shown in Fig. 43 configured using the AWS cloud. Amazon API Gateway: corresponds to the API gateway unit 11E. AWS Lambda: corresponds to the compute service function units 12E, 14F, 20E, and 45. AWS Step Functions: corresponds to the compute service function unit 14F. SQS: corresponds to the queuing buffer unit 13E. Dynamo DB: corresponds to the database units 16E and 41E and the compute service function unit 42E. Note that while in the sixth embodiment AWS Fargate is provided as the compute service processing unit 15E, in the seventh embodiment AWS Lambda is provided as the compute service function unit 14F.

[0135] Next, the operation of the seventh embodiment will be described. When a vehicle, a PC, a smartphone, or an OTA operator makes a request to the OTA center, or when the OTA center returns a response to the vehicle, a PC, a smartphone, or an OTA operator, the request is made via the API gateway unit 11E. When the OEM back office makes a request to the OTA center, or when the OTA center returns a response to the OEM back office, the request is made via the API gateway unit 22. In response to a received request, the API gateway unit 11E, for example, interprets a portion of the content of the received information and determines whether to pass the information to the compute service function unit 12E or to the operation / service infrastructure 46. Similarly, in response to a received request, the API gateway unit 22, for example, interprets a portion of the content of the received information and determines the next request destination. The portion of the content of the received information is, for example, information indicating the sender or the transmission content.

[0136] <Receiving vehicle configuration information → Sending job ID and campaign information> <Data access from car → Sending distribution package from CDN to car> These processes are the same as those in the sixth embodiment.

[0137] <Registering campaign information → Registering a distribution package to the CDN distribution unit 21> <Registering project information → Generating a package> <Receiving a project information registration request → Checking the project information generation status and sending the project information> These processes are interactions between the OTA operator and the OTA center, and are processed by a module that employs a server architecture.

[0138] <Registration of Software Update Data> This process involves communication between the OEM back office and the OTA center, and is processed by a module that employs a server architecture.

[0139] As described above, according to the seventh embodiment, in addition to the effects obtained in the sixth embodiment, it is possible to effectively utilize development products such as programs and modules that have been developed on the premise of a server architecture, and at the same time, to obtain the benefits of a serverless architecture, thereby obtaining effects such as reducing development costs and shortening development time.

[0140] (Other Embodiments) Application programs employing a serverless architecture are not limited to those using AWS, and may use other cloud computing services. The portable information terminal is not limited to a smartphone or a personal computer. The external party with which the OTA center communicates is not limited to a vehicle or an OTA operator. The access control information is not limited to an expiration date and a signed URL.

[0141] Here are some examples of the characteristics of serverless architecture. Serverless architecture is an event-driven architecture in which services are loosely coupled. Loose coupling means that services have low dependency on each other. Furthermore, servers must be stateless, meaning that processes and functions must be designed so that they do not have internal state. In serverless architecture, requests must be connected statelessly from one service to the next. Serverless architecture is designed to allow resources to be changed flexibly in response to changes in system usage and load. Designing a serverless architecture in this way requires satisfying issues that are not considered in the design of a server architecture. As a result, a system that employs a serverless architecture cannot be built based on software system configuration, design, specifications, etc. that assume a server architecture.

[0142] Although the present disclosure has been described with reference to the embodiments, it is understood that the present disclosure is not limited to the embodiments or structures. The present disclosure also encompasses various modifications and equivalent modifications. In addition, various combinations and forms, including only one element, more than one element, or less than one element, are also within the scope and spirit of the present disclosure.

[0143] The means and / or functions provided by each device, etc., can be provided by software recorded in a tangible memory device and a computer that executes the software, software alone, hardware alone, or a combination thereof. For example, when a control device is provided by electronic circuits that are hardware, it can be provided by digital circuits including a large number of logic circuits, or analog circuits.

[0144] The control unit and the method described herein may be implemented by a special-purpose computer configured by configuring a processor and memory programmed to perform one or more functions embodied in a computer program. Alternatively, the control unit and the method described herein may be implemented by a special-purpose computer configured by configuring a processor with one or more dedicated hardware logic circuits. Alternatively, the control unit and the method described herein may be implemented by one or more special-purpose computers configured by combining a processor and memory programmed to perform one or more functions with a processor configured with one or more hardware logic circuits. Furthermore, the computer program may be stored as instructions executed by a computer on a computer-readable non-transitory tangible storage medium.

Claims

1. A center device that manages data to be written to an electronic control unit mounted on a vehicle and executes multiple functions using application programs for transmitting update data to the vehicle via wireless communication, wherein the application programs that realize some of the functions employ a server architecture in which resources are always allocated and executed as resident processes, and the application programs that realize at least some of the other functions employ a serverless architecture in which resources are activated in response to the occurrence of an event and resources are dynamically allocated to the execution of the application program code in an on-demand manner, and the resources allocated to the application program are released when the execution of the code is completed, and the center device comprises: a campaign determination unit (15) that receives vehicle configuration information from the vehicle and determines whether campaign information for the vehicle is available; a campaign generation unit (15) that generates campaign notification information for the vehicle if the campaign information is available; a status management unit (12, 20, 41, 43) that manages the generation status of the campaign information; and a campaign transmission unit (11) that distributes the campaign notification information to the vehicle depending on the generation status, and wherein the application programs that realize the functions of the campaign determination unit, status management unit, and campaign generation unit employ the serverless architecture.

2. A center device that manages data to be written to an electronic control unit mounted on a vehicle and executes multiple functions for transmitting update data to the vehicle via wireless communication using an application program, wherein the application program that realizes at least some of the functions is started when an event occurs, and resources are dynamically allocated to the execution of the application program code using an on-demand method, and employs a serverless architecture in which the resources allocated to the application program are released when the execution of the code is completed; the center device comprises: a campaign determination unit (15) that receives vehicle configuration information from the vehicle and determines whether campaign information for the vehicle is available; a campaign generation unit (15) that generates campaign notification information for the vehicle if the campaign information is available; a status management unit (12, 20, 41, 43) that manages the generation status of the campaign information; and a campaign transmission unit (11, 20) that distributes the campaign notification information to the vehicle depending on the generation status; and the application program that realizes the functions of the campaign determination unit, the status management unit, and the campaign generation unit employs the serverless architecture.

3. The application program comprises a first compute service unit (14) that transfers vehicle configuration information received from the vehicle via a gateway unit (11) to the campaign determination unit; a second compute service unit (15) that serves as the campaign determination unit and campaign generation unit and determines whether or not there is campaign information for the vehicle based on the vehicle configuration information, and if there is campaign information, generates campaign notification information for the vehicle; and a database unit (41) that manages the generation status of the campaign information, wherein the first compute service unit registers the generation status of the campaign information in the database according to the content of the vehicle configuration information, and selects and launches an application program possessed by the second compute service unit. A center device as described in claim 1 or 2.

4. A center device as described in claim 3, comprising a package distribution unit (15) that distributes to the vehicle a package including update data to be distributed to the vehicle, the package distribution unit performs distribution by transferring the update package linked to the campaign information to a network distribution unit (21), and an application program that realizes the functions of the package distribution unit adopts the serverless architecture.

5. The center device according to claim 4, wherein the application program that realizes the function of said package distribution unit includes a third compute service unit (15) that transfers the received update package to said network distribution unit.

6. A center device as described in any one of claims 1 to 5, comprising a campaign registration unit (15) that registers vehicle configuration information, campaign information for update data for that vehicle, and update data to be distributed together with this campaign information, and an application program that realizes the function of said campaign registration unit employs said serverless architecture.

7. The application program that realizes the functions of the campaign registration unit comprises a fourth compute service unit (15) that registers the campaign information in a database and also registers the update data in a file storage unit (17), a fifth compute service unit (12) that transfers the received campaign information to the fourth compute service unit, and a gateway unit (11) that transfers the campaign information to the fourth compute service unit when a request to register the campaign information is input by either an operations officer or a manufacturing information management system, and the fourth compute service unit selects and launches an application program possessed by the fifth compute service unit depending on the content of the campaign information, a center device as described in claim 6.

8. A center device as described in claim 7, comprising a package generation unit (23) that generates a package including update data to be distributed to the vehicle, wherein the package generation unit processes the received update data into an update package in a format that can be interpreted by a master device that is installed in the vehicle and transfers the received update data to the electronic control device to be updated, and an application program that realizes the functions of the package generation unit employs the serverless architecture.

9. A center device as described in claim 8, further comprising a data management unit (24) that transfers the vehicle configuration information and corresponding update data registered in the file storage unit to the package generation unit in response to a request from the package generation unit, and an application program that realizes the functions of the data management unit employs the serverless architecture.

10. A center device described in any one of claims 1 to 9, wherein the status management unit (12A) assigns a job number to a request received from outside and also assigns status information indicating whether the request is being processed or has been processed.

11. The center device according to claim 10, wherein said campaign transmission unit (11A) assigns said job number when transmitting a response to said request to said external device.

12. The center device according to claim 11, wherein the application program comprises a destination management unit (12B, 20B, 42, 43) that manages to which external parties the campaign notification information should be distributed, and the application program that realizes the functions of the destination management unit employs the serverless architecture.

13. The center device according to claim 12, wherein when the destination management unit (20B) receives a request from the external device to which the job number has been assigned, it assigns a connection number linked to the job number and registers it, the status management unit (42, 43) refers to the database unit and, if there is a request for which processing has been completed, identifies the external device to which the response will be sent based on the connection number corresponding to the job number of the request, and the campaign sending unit sends the response to the identified external device.

14. The center device according to any one of claims 10 to 13, wherein the external party is an in-vehicle device or an operation person.

15. The application program is provided with a processing capacity adjustment unit (44) that, upon checking the processing load of a second compute service unit that generates campaign notification information for the vehicle and the number of vehicle configuration information received from the vehicle, determines whether or not the processing capacity of the second compute service unit needs to be increased or decreased, and increases or decreases the processing capacity of the second compute service unit as necessary, and the processing capacity adjustment unit is a center device described in any one of claims 3 to 14, which adopts the serverless architecture.

16. The application program comprises an information control unit (45) that includes access control information in the information for acquiring the update package linked to the campaign notification information, and a network distribution unit (18E, 21E) that performs access control by confirming that the access control information is included in access from a vehicle, and the center device described in any one of claims 1 to 15, wherein the information control unit and the network distribution unit adopt the serverless architecture.

17. The center device according to claim 16, characterized in that the information control unit checks whether the expiration date of the access control information has expired, and if it has expired, generates access control information updated to a new expiration date.

18. A method for managing data to be written to an electronic control unit mounted on a vehicle and for executing multiple functions by an application program to transmit update data to the vehicle via wireless communication, wherein the application program that realizes some of the functions employs a server architecture in which resources are always allocated and executed as a resident process, and the application program that realizes at least some of the other functions employs a serverless architecture in which it is started in response to the occurrence of an event and resources are dynamically allocated on-demand for the execution of the application program's code, and the resources allocated to the application program are released when the execution of the code is completed, the method receiving vehicle configuration information from the vehicle and determining whether campaign information for the vehicle is available, generating campaign notification information for the vehicle if the campaign information is available, managing the generation status of the campaign information, and distributing the campaign notification information to the vehicle according to the generation status, and the application program that realizes the functions of determining whether campaign information is available, managing the generation status of the campaign information, and generating the campaign information employs the serverless architecture.

19. A method for managing data to be written to an electronic control unit mounted on a vehicle and executing multiple functions for transmitting update data to the vehicle via wireless communication using an application program, wherein the application program that realizes at least some of the functions is started when an event occurs, and resources are dynamically allocated to the execution of the application program code using an on-demand method, and when execution of the code is completed, the resources allocated to the application program are released, employing a serverless architecture; receiving vehicle configuration information from a vehicle, determining whether campaign information for the vehicle is available, generating campaign notification information for the vehicle if the campaign information is available, managing the generation status of the campaign information, and distributing the campaign notification information to the vehicle according to the generation status; and a campaign information distribution method in which the application program that realizes the functions of determining whether campaign information is available, managing the generation status of the campaign information, and generating the campaign information employs the serverless architecture.

Citation Information

Patent Citations

  • Center device, delivery package generation method, and program for delivery package generation

    JP2020027624A

  • Center device, data distribution system and distribution control program

    JP2020132042A

  • Game machine

    JP2021194285A