Distribution server

By using shared key encryption and session key sharing technology in the distribution server, the confidentiality and security issues of vehicle-mounted device software update data in the wireless communication network are solved, and efficient and secure data distribution is achieved.

CN118678345APending Publication Date: 2024-09-20TOYOTA JIDOSHA KK

Patent Information

Application Number
CN202410201740.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Priority Date
2023-03-15
Filing Date
2024-02-23
Publication Date
2024-09-20

AI Technical Summary

Technical Problem

It is difficult to ensure the confidentiality and security of data when distributing vehicle-mounted device software update data through wireless communication networks with the existing technology. Especially when using shared encryption keys, there is a risk of eavesdropping and tampering.

Method used

Encrypt the update data using a common key in the distribution server and generate a different session key for each vehicle, using Diffie-Hellman key exchange or elliptic curve Diffie-Hellman key exchange method. Key sharing ensures the secure transmission and use of encryption keys.

Benefits of technology

It achieves safe and efficient distribution of software update data for vehicle-mounted devices, reduces the load on distribution servers and communication networks, and ensures forward confidentiality and anti-eavesdropping capabilities of data.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118678345A
    Figure CN118678345A
Patent Text Reader

Abstract

The invention provides a distribution server. The distribution server distributes update data of software of the in-vehicle device to a plurality of vehicles via a wireless communication network. The distribution server includes a processor. The processor distributes the update data encrypted with a common key to the plurality of vehicles. The processor transmits the common key encrypted by a session key method to each of the plurality of vehicles.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to a distribution server that distributes update data of software of a vehicle-mounted device. Background Art

[0002] Japanese Unexamined Patent Application Publication No. 2004-326689 (JP 2004-326689 A) describes a system in which update data of software of an in-vehicle device is distributed via a wireless communication network.

[0003] In order to prevent eavesdropping and tampering, it is necessary to encrypt the update data and distribute the update data. In the common key encryption method that encrypts and decrypts the update data by using the same encryption key, in order to ensure the confidentiality of the update data, a communication path with the possibility of eavesdropping cannot be used for the shared encryption key. In contrast, when the distribution server shares the encryption key with the vehicle through the session key method, the data to be distributed may be different for each vehicle. Summary of the invention

[0004] According to the solution of the present disclosure, a distribution server distributes update data of software of an on-board device to a plurality of vehicles via a wireless communication network. The distribution server includes a processor. The processor is configured to distribute the update data encrypted with a common key to the plurality of vehicles. The processor is configured to send the common key encrypted by a session key method to each of the plurality of vehicles.

[0005] The distribution server has an effect of being able to safely and easily distribute update data of the software of the vehicle-mounted device to a plurality of vehicles. BRIEF DESCRIPTION OF THE DRAWINGS

[0006] Features, advantages, and technical and industrial significance of exemplary embodiments of the present invention will be described hereinafter with reference to the accompanying drawings, in which like reference numerals represent like elements, and in which:

[0007] Figure 1 A diagram schematically showing a configuration of a distribution server according to a first embodiment;

[0008] Figure 2 is a sequence diagram showing the flow of processing related to distribution of update data in the distribution server according to the first embodiment; and

[0009] Figure 3 1 is a sequence diagram showing the flow of processing of a common key sharing process in the distribution server according to the second embodiment. DETAILED DESCRIPTION

[0010] First embodiment

[0011] In the following, reference will be made to Figure 1 and Figure 2 A first embodiment of the distribution server will be described in detail. The distribution server 20 of the present embodiment is configured as a server device that distributes update data of software of the vehicle-mounted device 16 mounted on the vehicle 10 .

[0012] Configuration of the distribution server 20

[0013] The vehicle 10 to which the distribution server 20 distributes update data includes an over-the-air (OTA) host 11 that manages the update of the software of the vehicle-mounted device 16. The OTA host 11 is configured as an electronic control unit including a processor 12, a storage unit 13, and a communication module 14. The processor 12 is a processing circuit that executes a program and thereby performs processing for managing software updates. The storage unit 13 is a memory that stores programs and data for managing software updates. The communication module 14 is a device that performs communication with the outside of the vehicle via a mobile communication network or the like. The OTA host 11 is connected to the vehicle-mounted device 16 whose software is to be updated via the vehicle-mounted network 15. Examples of the vehicle-mounted device 16 include various electronic control units, communication devices, sensors, etc. The OTA host 11 is also one of the vehicle-mounted devices 16, and the OTA host 11 can update the software due to the update data distributed by the distribution server 20.

[0014] The distribution server 20 is installed in an OTA center. The OTA center is a facility provided with equipment for distributing update data of software of the vehicle-mounted device 16 to the vehicle 10 via a wireless communication network. The distribution server 20 is a server device including a processor 21 and a storage unit 22. The storage unit 22 is a memory storing programs and data for distributing update data. The processor 21 is a processing circuit that reads and executes programs from the storage unit 22. The distribution server 20 is configured to perform communication with the OTA host 11 of the vehicle 10 via a mobile communication network or the like. Moreover, the distribution server 20 is configured to be able to perform distribution of data to the vehicle 10 via a content distribution network (CDN) 23.

[0015] Distribution of updated data

[0016] Figure 2 The flow of processing related to the distribution of update data by the distribution server 20 is shown. As a preparation for the distribution, the distribution server 20 performs generation of a common key A (S1) and encryption of update data by using the common key A (S2). The common key A is an encryption key of a common key encryption method such as the Advanced Encryption Standard (AES) method. The distribution server 20 newly generates the common key A for each distribution of update data. That is, the distribution server 20 uses a different key as the common key A for each distribution of update data.

[0017] Subsequently, the distribution server 20 performs a sharing process of sharing a common key A with each vehicle 10 to which the update data is to be distributed. The distribution server 20 performs the sharing process for each vehicle 10. During the sharing process, the distribution server 20 generates a key pair of a public key B and a private key C (S3). Moreover, during the sharing process, the distribution server 20 requests the OTA host 11 of the vehicle 10 to start the sharing process (S4). In response to the request, the OTA host 11 generates a key pair of a public key D and a private key E (S5). Subsequently, the distribution server 20 and the OTA host 11 exchange public keys B and D with each other (S6).

[0018] Next, the distribution server 20 generates an encryption key F (S7) by using the private key C generated by itself and the public key D received from the OTA host 11. Moreover, the OTA host 11 generates an encryption key F (S8) by using the private key E generated by itself and the public key B received from the distribution server 20. The generation of the key pair in S3 and 35 and the generation of the encryption key F in S7 and S8 are performed according to the Diffie-Hellman key exchange (DHE) method or the elliptic curve Diffie-Hellman key exchange (ECDHE) method. DHE stands for temporary Diffie-Hellman key sharing. ECDHE stands for temporary elliptic curve Diffie-Hellman key sharing. Therefore, each generated encryption key F in S7 and S8 is the same.

[0019] Thereafter, the distribution server 20 encrypts the common key A using the encryption key F (S9) and sends the encrypted common key A to the OTA host 11 (S10). The OTA host 11 obtains the common key A by decrypting the encrypted common key A using the encryption key F (S11). Thus, the sharing process of the common key A is completed. The encryption key F is used only once to send the common key A. Therefore, the encryption of the common key A by the distribution server 20 is performed by the session key method.

[0020] The distribution server 20 distributes the update data encrypted in S2 to each vehicle 10 via the content distribution network 23 (S13). The OTA host 11 decrypts the encrypted update data by using the common key A (S14) and updates the software of the vehicle-mounted device 16 (S15).

[0021] Functions and Effects of the Embodiments

[0022] The operation and effect of the present embodiment will be described. The distribution server 20 distributes update data of the software of the vehicle-mounted device 16 to the plurality of vehicles 10 via the wireless communication network. When distributing, the distribution server 20 distributes the update data encrypted with the common key A to the plurality of vehicles 10. In addition, the distribution server 20 sends the common key A encrypted by the session key method to each of the plurality of vehicles 10.

[0023] In the present embodiment, since the update data encrypted by the same common key A is distributed to all vehicles 10 to which the update data is to be distributed, it is not necessary to encrypt the update data for each vehicle 10. In addition, the distribution data to each vehicle 10 is the same. Therefore, it is possible to reduce the load of the distribution server 20 for encrypting the update data and the traffic of the communication network for distributing the update data. Note that in the present embodiment, it is necessary to encrypt and send the common key A for each vehicle 10. However, since the data of the common key A is smaller than the data of the update data, the increase in the load of the distribution server 20 for encryption and the traffic of the communication network for sending is limited. In addition, in the present embodiment, the common key A encrypted by the session key method is sent to the vehicle 10. Therefore, the forward secrecy of the common key A can be ensured, and therefore the forward secrecy of the update data encrypted by the common key A can also be ensured. As described above, the distribution server 20 of the present embodiment has the effect of being able to safely and easily perform the distribution of the update data of the software of the vehicle-mounted device 16 to a plurality of vehicles 10.

[0024] According to the distribution server 20 of the present embodiment described above, the following effects can also be achieved: (1) Since forward secrecy of update data can be ensured, a line that may be eavesdropped can be used for distribution of update data.

[0025] The distribution server 20 uses a different key as the common key A for each distribution of the update data. Therefore, the confidentiality of the common key A is improved. (3) The distribution server 20 performs distribution of the encrypted update data via the content distribution network 23. Therefore, the load of the distribution server 20 required for the distribution of the update data and the traffic of the communication line used for the distribution can be suppressed.

[0026] Second embodiment

[0027] Next, we will refer to Figures 1 to 3 A second embodiment of the distribution server 20 is described in detail. This embodiment differs from the first embodiment only in the sharing process of the common key A, and other parts such as the hardware configuration are common. In this embodiment, the configuration common to the above embodiment is designated by the same reference numerals, and its detailed description will be omitted.

[0028] As described above, the distribution server 20 performs encryption of the common key A by using the encryption key F shared with the vehicle 10 via exchange of public keys B, D by the session key method. The distribution server 20 of the present embodiment is configured to perform key exchange of public keys B, D using electronic signatures.

[0029] Figure 3 The flow of the processing of the sharing process of the common key A in the distribution server 20 of the present embodiment is shown. During the sharing process of the common key A, the distribution server 20 generates a key pair of a public key B and a private key C according to the DHE method or the ECDHE method (S50). In addition, the distribution server 20 generates an electronic signature SA (S51). Similarly, the OTA host 11 generates a key pair of a public key D and a private key E according to the DHE method or the ECDHE method (S52), and generates an electronic signature SB (S53). Subsequently, the distribution server 20 and the OTA host 11 exchange electronic signatures SA, SB and public keys B, D (S54). Specifically, the distribution server 20 sends the public key B together with the digital signature SA to the OTA host 11, and the OTA host 11 sends the public key D together with the digital signature SB to the distribution server 20.

[0030] Subsequently, the distribution server 20 verifies whether the public key D has been sent from the correct party by using the received electronic signature SB (S55). Subsequently, the distribution server 20 performs subsequent processing only when the transmission source is verified to be correct. In this case, the distribution server 20 generates an encryption key F by using the private key C generated by itself and the public key D received from the OTA host 11 (S56). Subsequently, the distribution server 20 encrypts the common key A using the encryption key F (S57), and sends the encrypted common key A to the OTA host 11 (S58).

[0031] Similarly, the OTA host 11 verifies whether the public key B has been sent from the correct party by using the received electronic signature A (S59). Subsequently, the OTA host 11 performs subsequent processing only when the verification transmission source is correct. In this case, the OTA host 11 generates an encryption key F by using the private key E generated by itself and the public key B received from the distribution server 20 (S60). Subsequently, the OTA host 11 decrypts the common key A received from the distribution server 20 by using the encryption key F.

[0032] For example, verification of the digital signatures SA, SB is performed as follows. The distribution server 20 and each vehicle 10 are provided in advance with a key pair of a public key and a private key according to a public key method such as Rivest Shamir Adleman (RSA). The distribution server 20 stores its own private key V and the public key Y of each vehicle 10. Moreover, the OTA host 11 of each vehicle 10 stores its own private key W and the public key X of the distribution server 20.

[0033] In the sharing process of the common key A, the distribution server 20 calculates the hash value of the public key B to be exchanged with the OTA host 11. Subsequently, the distribution server 20 generates a digital signature SA obtained by encrypting the hash value using the private key V. When the OTA host 11 receives the digital signature SA together with the public key B, the OTA host 11 decrypts the digital signature SA by using the public key X of the distribution server 20. Subsequently, the OTA host 11 calculates the hash value of the public key B, and when the value matches the value obtained by decrypting the digital signature SA, it is determined that the sending source of the public key B is correct.

[0034] Similarly, the OTA host 11 calculates a hash value of the public key D to be exchanged with the distribution server 20. Subsequently, the OTA host 11 generates a digital signature SB obtained by encrypting the value using the private key V. When the distribution server 20 receives the digital signature SB together with the public key D, the distribution server 20 decrypts the digital signature SB by using the public key Y of the corresponding vehicle 10. Subsequently, the distribution server 20 calculates a hash value of the public key D, and when the value matches the value obtained by decrypting the digital signature SB, it is determined that the transmission source of the public key D is correct. Note that the calculation of each hash value is performed by using the same hash function.

[0035] In the distribution server 20 of the present embodiment, it is possible to verify the exchange counterpart of the public keys B, D in the sharing process of the common key A. This makes the sharing process resistant to man-in-the-middle attacks due to spoofing.

[0036] Other embodiments

[0037] The above embodiment can be implemented by the following modified examples. The above embodiment and the following modified examples can be combined with each other within the scope of technical consistency to be achieved.

[0038] Also able to Figure 2 The sharing process of the common key A is performed at different periods in the period. For example, the sharing process (S13) can be performed after the distribution of the update data. In addition, the encryption (S2) of the update data can be performed after the sharing process is completed.

[0039] The encryption of the common key A may be performed by using a session key method other than key sharing by the DHE method or the ECDHE method. Distribution of update data may be performed in a state where the content distribution network 23 is not used.

[0040] In the above embodiment, common key A changes every time update data is distributed, but common key A may change at other times, such as at fixed intervals. Distribution server 20 may be composed of a plurality of server devices, and the server devices may perform distribution of update data by division of labor.

[0041] appendix

[0042] Appendix 1

[0043] A distribution server distributes update data of software of an on-vehicle device to a plurality of vehicles via a wireless communication network, wherein the distribution server performs: distributing the update data encrypted with a common key to the plurality of vehicles, and sending the common key encrypted by a session key method to each of the plurality of vehicles.

[0044] Appendix 2

[0045] The distribution server according to Appendix 1, wherein the distribution server uses a different key as the common key for each distribution of the update data.

[0046] Appendix 3

[0047] The distribution server according to Appendix 1 or 2, wherein the distribution server distributes the update data via a content distribution network.

[0048] Appendix 4

[0049] A distribution server according to any one of Appendices 1 to 3, wherein the distribution server encrypts the common key using an encryption key shared with each of the plurality of vehicles via key exchange performed by the session key method, and performs the key exchange using a digital signature.

[0050] Appendix 5

[0051] The distribution server according to any one of Appendices 1 to 4, wherein the distribution server encrypts the common key by the session key method using an encryption key shared by using a DHE method or an ECDHE method.

Claims

1. A distribution server that distributes update data of software of an on-board device to a plurality of vehicles via a wireless communication network, wherein the distribution server comprises a processor, wherein the processor is configured to: distributing the update data encrypted with a common key to the plurality of vehicles; and The common key encrypted by a session key method is transmitted to each of the plurality of vehicles.

2. The distribution server according to claim 1, characterized in that: The processor uses a different key as the common key for each distribution of the update data.

3. The distribution server according to claim 1, characterized in that: The processor distributes the update data via a content distribution network.

4. The distribution server according to claim 1, characterized in that: the processor encrypting the common key using an encryption key shared with each of the plurality of vehicles via a key exchange using the session key method; and The processor performs the key exchange using a digital signature.

5. The distribution server according to claim 1, characterized in that: The processor encrypts the common key by the session key method using an encryption key shared by using the DHE method or the ECDHE method.

Citation Information

Patent Citations

  • Method for rewriting software of on-vehicle equipment, system of telematics system, and telematics device

    JP2004326689A

Cited By

  • Data interaction method and device, electronic equipment and medium

    CN120729519A