WO2022199569A1 - 一种终端设备的配置方法、装置和通信设备 - Google Patents
一种终端设备的配置方法、装置和通信设备 Download PDFInfo
- Publication number
- WO2022199569A1 WO2022199569A1 PCT/CN2022/082192 CN2022082192W WO2022199569A1 WO 2022199569 A1 WO2022199569 A1 WO 2022199569A1 CN 2022082192 W CN2022082192 W CN 2022082192W WO 2022199569 A1 WO2022199569 A1 WO 2022199569A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- key
- message
- server
- request message
- terminal device
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Ceased
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W12/00—Security arrangements; Authentication; Protecting privacy or anonymity
- H04W12/03—Protecting confidentiality, e.g. by encryption
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W4/00—Services specially adapted for wireless communication networks; Facilities therefor
- H04W4/30—Services specially adapted for particular environments, situations or purposes
- H04W4/40—Services specially adapted for particular environments, situations or purposes for vehicles, e.g. vehicle-to-pedestrians [V2P]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W12/00—Security arrangements; Authentication; Protecting privacy or anonymity
- H04W12/03—Protecting confidentiality, e.g. by encryption
- H04W12/033—Protecting confidentiality, e.g. by encryption of the user plane, e.g. user's traffic
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W12/00—Security arrangements; Authentication; Protecting privacy or anonymity
- H04W12/04—Key management, e.g. using generic bootstrapping architecture [GBA]
- H04W12/041—Key generation or derivation
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W12/00—Security arrangements; Authentication; Protecting privacy or anonymity
- H04W12/04—Key management, e.g. using generic bootstrapping architecture [GBA]
- H04W12/043—Key management, e.g. using generic bootstrapping architecture [GBA] using a trusted network node as an anchor
- H04W12/0431—Key distribution or pre-distribution; Key agreement
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W12/00—Security arrangements; Authentication; Protecting privacy or anonymity
- H04W12/04—Key management, e.g. using generic bootstrapping architecture [GBA]
- H04W12/043—Key management, e.g. using generic bootstrapping architecture [GBA] using a trusted network node as an anchor
- H04W12/0433—Key management protocols
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W12/00—Security arrangements; Authentication; Protecting privacy or anonymity
- H04W12/06—Authentication
- H04W12/069—Authentication using certificates or pre-shared keys
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W12/00—Security arrangements; Authentication; Protecting privacy or anonymity
- H04W12/10—Integrity
- H04W12/106—Packet or message integrity
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W12/00—Security arrangements; Authentication; Protecting privacy or anonymity
- H04W12/40—Security arrangements using identity modules
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W12/00—Security arrangements; Authentication; Protecting privacy or anonymity
- H04W12/60—Context-dependent security
- H04W12/69—Identity-dependent
- H04W12/72—Subscriber identity
Definitions
- the present application relates to the technical field of Internet of Vehicles, and in particular, to a configuration method, device and communication device of a terminal device.
- C-V2X Cellular-Vehicle to X
- vehicle networking management systems including vehicle driving status, road condition events, signal light information, etc.
- GBA Generic Bootstrapping Architecture
- C-V2X Service Provider virtual box
- the virtual box is for the CA server (the C-V2X application server (C-V2X Application Server) in the figure corresponds to the NAF/AP network element one-to-one), which is a pair of operators.
- the GBA session key used by the CA server to communicate with the IoV device is stored in the NAF/AP network element, the security protection operations such as message encryption and decryption, integrity protection, etc. are performed by the NAF/AP device.
- NAF/AP is developed in accordance with the security technical standards of the communication industry, so the CA server cannot flexibly use the GBA session key, and the security protection operations performed may not necessarily meet the security technical requirements of the C-V2X vehicle networking industry. Difficulties brought by the industrial application of GBA scheme.
- the online configuration method to complete the digital certificate configuration has extremely high design requirements for the security implementation of the C-V2X device.
- these information cannot be simply operated by the client application, and executed on the general-purpose central processing unit (CPU, Central Processing Unit), internal/external memory, etc. on the device. Instead, it should be processed in a trusted security environment in combination with the generation and acquisition method of the key.
- the existing configuration scheme lacks the overall security design and implementation on the device side, and cannot ensure the configuration security of the digital certificate.
- Embodiments of the present application provide a configuration method, apparatus, and communication device for a terminal device.
- an embodiment of the present application provides a method for configuring a terminal device, the method comprising:
- the terminal device generates a second key based on the first key, and encrypts and/or integrity protects the certificate request message based on the second key;
- the method further includes: receiving, by the terminal device, a first response message from a server, and performing an integrity checksum on the first response message based on the second key /or decryption to obtain the digital certificate carried in the first response message.
- the terminal device includes: an application client, a baseband chip, and a global subscriber identity module (USIM);
- an application client a baseband chip
- a global subscriber identity module USIM
- the terminal device generates a second key based on the first key, and encrypts and/or integrity protects the certificate request message based on the second key, including:
- the application client triggers, through the baseband chip, the USIM to generate a second key based on the first key
- the application client generates a first certificate request message, and sends the first certificate request message to the USIM through the baseband chip;
- the USIM generates a public-private key pair, adds the public key in the public-private key pair to the first certificate request message, and signs the first certificate request message with the private key in the public-private key pair, obtain a second certificate request message;
- the USIM encrypts and/or integrity protects the second certificate request message based on the second key, and adds a first check value to the second certificate request message;
- the USIM sends the second certificate request message after the above processing to the application client through the baseband chip.
- the sending the first request message includes: the application client sends a first request message to the server, where the first request message includes encryption with the second key and/or the integrity-protected second certificate request message; the first request message further includes: a bootstrap transaction identifier (B-TID) and/or a fully qualified domain name (FQDN) of the server.
- B-TID bootstrap transaction identifier
- FQDN fully qualified domain name
- the terminal device includes: an application client, a baseband chip, and a USIM;
- the terminal device receives the first response message from the server, performs integrity check and/or decryption on the first response message based on the second key, and obtains the number carried in the first response message Certificates, including:
- the application client receives the first response message from the server, and sends the first response message to the USIM through the baseband chip;
- the USIM performs integrity check and/or decryption on the first response message based on the second key
- the USIM obtains the digital certificate carried in the first response message, and stores the digital certificate in the security component.
- the method further includes: the terminal device performs a Generic Bootstrapping Architecture (GBA) authentication process or an application-oriented authentication or key management (AKMA) authentication process, and negotiates with the network device about the the first key.
- GBA Generic Bootstrapping Architecture
- AKMA application-oriented authentication or key management
- an embodiment of the present application further provides a method for configuring a terminal device, the method includes: the server receives a first request message from the terminal device; the first request message includes a second key encrypted and / or integrity-protected certificate request message;
- the server obtains the second key from a network device; the second key is generated by the network device based on the first key;
- the server performs integrity check and/or decryption on the first request message based on the second key, and issues a digital certificate after authorizing the first request message;
- the server sends a first response message to the terminal device, where the first response message includes the digital certificate.
- the server sends a first response message to the terminal device, including:
- the server constructs a first response message containing the digital certificate, encrypts and/or integrity protects the first response message based on the second key, and adds a second response message to the first response message. check value;
- the first request message further includes: a bootstrap transaction identifier (B-TID);
- the server obtains the second key from the network device, including:
- the server queries whether there is a second key corresponding to the B-TID
- the second key from the network device is obtained.
- the server obtains the second key from the network device, including:
- the server receives a second response message sent by the network device, where the second response message includes the second key.
- an embodiment of the present application further provides a method for configuring a terminal device, the method includes: a network device generates a second key based on a pre-negotiated first key, and sends the second key to a server.
- the method further includes: the network device and the terminal device negotiate the first key with the terminal device by performing a GBA authentication process or an AKMA authentication process.
- the network device generates a second key based on a pre-negotiated first key, and sends the second key to the server, including:
- the network device generates a second key based on the pre-negotiated first key, and sends a second response message to the server, where the second response message includes the second key.
- an embodiment of the present application further provides an apparatus for configuring a terminal device, where the apparatus includes: a first generating unit and a first communication unit; wherein,
- the first generating unit is configured to generate a second key based on the first key, and encrypt and/or integrity protect the certificate request message based on the second key;
- the first communication unit is configured to send a first request message, where the first request message includes the certificate request message encrypted and/or integrity protected by the second key.
- the first communication unit is further configured to receive a first response message from a server, and perform an integrity checksum on the first response message based on the second key /or decryption to obtain the digital certificate carried in the first response message.
- the first generating unit includes: an application client, a baseband chip, and a USIM;
- the application client is configured to trigger the USIM to generate a second key based on the first key through the baseband chip; and is also configured to generate a first certificate request message, and send the USIM to the USIM through the baseband chip sending the first certificate request message;
- the USIM is configured to generate a public-private key pair, add the public key in the public-private key pair to the first certificate request message, and use the private key in the public-private key pair to pair the first certificate request message Signing to obtain a second certificate request message; encrypting and/or integrity-protecting the second certificate request message based on the second key, and adding a first check value to the second certificate request message ; sending the second certificate request message encrypted and/or integrity protected by the second key to the application client through the baseband chip.
- the application client is configured to send a first request message to the server through the first communication unit, where the first request message includes encryption encrypted by the second key and/or the integrity-protected second certificate request message; the first request message further includes: B-TID and/or server FQDN.
- the first generating unit includes: an application client, a baseband chip, and a USIM;
- the application client is configured to receive a first response message from the server through the first communication unit, and send the first response message to the USIM through the baseband chip;
- the USIM is configured to perform an integrity check and/or decryption on the first response message based on the second key; after the verification is passed, obtain the digital certificate carried in the first response message, and store it in the first response message.
- the digital certificate is stored in the security component.
- the apparatus further includes a first execution unit, configured to execute a GBA authentication process or an AKMA authentication process, and negotiate the first key with the network device.
- an embodiment of the present application further provides an apparatus for configuring a terminal device, the apparatus includes: a second communication unit and a first verification unit; wherein,
- the second communication unit is configured to receive a first request message from a terminal device; the first request message includes a certificate request message encrypted and/or integrity-protected by the second key;
- the first verification unit is configured to obtain the second key from a network device; the second key is generated by the network device based on the first key; and is also configured to be based on the second key Perform integrity check and/or decryption on the first request message, and issue a digital certificate after authorizing the first request message;
- the second communication unit is further configured to send a first response message to the terminal device, where the first response message includes the digital certificate.
- the second communication unit is configured to construct a first response message including the digital certificate, encrypt the first response message based on the second key and /or integrity protection, adding a second check value to the first response message, and sending the above-processed first response message to the terminal device.
- the first request message further includes: a bootstrap transaction identifier (B-TID);
- the device further includes a second execution unit configured to query whether there is a second key corresponding to the B-TID; when the query result is that the second key corresponding to the B-TID does not exist, The second key from the network device is obtained through the second communication unit.
- an embodiment of the present application further provides an apparatus for configuring a terminal device, where the apparatus includes a second generating unit and a third communication unit; wherein,
- the second generating unit configured to generate a second key based on the pre-negotiated first key
- the third communication unit is configured to send the second key to the server.
- the apparatus further includes a third execution unit configured to negotiate the first key with the terminal device by executing the GBA authentication process or the AKMA authentication process with the terminal device.
- the second generating unit is configured to generate a corresponding second key for each server based on the pre-negotiated first key
- the third communication unit is configured to send the corresponding second key to each server respectively.
- an embodiment of the present application further provides a method for configuring a terminal device, the method comprising: the terminal device generates a second key based on the first key, and based on the second key, a part of the first message is paired or all encrypted and/or integrity protected; send the first message.
- the method further includes: receiving, by the terminal device, a second message from a server, and performing an integrity check on the second message based on the second key and/or decrypt.
- the terminal device includes: an application client, a baseband chip, and a global subscriber identity module (USIM);
- an application client a baseband chip
- a global subscriber identity module USIM
- the terminal device generates a second key based on the first key, and encrypts and/or integrity protects part or all of the first message based on the second key, including:
- the application client triggers, through the baseband chip, the USIM to generate a second key based on the first key
- the application client generates a first message, and sends the first message to the USIM through the baseband chip;
- the USIM encrypts and/or integrity protects part or all of the first message based on the second key
- the USIM sends the above-processed first message to the application client through the baseband chip.
- the sending the first message includes: the application client sends the first message to the server;
- the first message further includes: a bootstrap transaction identifier (B-TID) and/or a fully qualified domain name (FQDN) of the server; or includes: an application-oriented authentication or key management (AKMA) key identifier (A- KID) and/or FQDN.
- B-TID bootstrap transaction identifier
- FQDN fully qualified domain name
- AKMA application-oriented authentication or key management
- the terminal device includes: an application client, a baseband chip, and a global subscriber identity module (USIM);
- an application client a baseband chip
- a global subscriber identity module USIM
- the terminal device receives the second message from the server, and performs integrity check and/or decryption on the second message based on the second key, including:
- the application client receives the second message from the server, and sends the second message to the USIM through the baseband chip;
- the USIM performs an integrity check and/or decryption of the second message based on the second key.
- an embodiment of the present application further provides a method for configuring a terminal device, the method comprising:
- the server receives the first message from the terminal device, part or all of the first message is encrypted and/or integrity protected by the second key;
- the server obtains the second key from a network device; the second key is generated by the network device based on the first key;
- the server performs an integrity check and/or decryption of the first message based on the second key.
- the method further includes: the server encrypts and/or integrity protects part or all of the second message based on the second key; and sends the second message.
- the first message further includes: a bootstrap transaction identifier (B-TID), or an application-oriented authentication or key management (AKMA) key identifier (A-KID) );
- B-TID bootstrap transaction identifier
- AKMA application-oriented authentication or key management
- A-KID application-oriented authentication or key management
- the server obtains the second key from the network device, including:
- the server queries whether there is a second key corresponding to the B-TID or the A-KID;
- the second key from the network device is obtained.
- an embodiment of the present application further provides an apparatus for configuring a terminal device, the apparatus includes: a third generating unit and a fourth communication unit; wherein,
- the third generating unit is configured to generate a second key based on the first key, and encrypt and/or integrity protect part or all of the first message based on the second key;
- the fourth communication unit is configured to send the first message.
- the fourth communication unit is further configured to receive a second message from a server, and perform an integrity check on the second message based on the second key and/or decrypt.
- the third generating unit includes: an application client, a baseband chip, and a global subscriber identity module (USIM);
- an application client a baseband chip
- a global subscriber identity module USIM
- the application client is configured to trigger the USIM to generate a second key based on the first key through the baseband chip; and is also configured to generate a first message and send the information to the USIM through the baseband chip. the first message;
- the USIM is configured to encrypt and/or integrity protect a part or all of the first message based on the second key; and is also configured to send a message that has undergone the above-mentioned processing to the application client through the baseband chip after the first message.
- the application client is further configured to send the first message to the server;
- the first message further includes: a bootstrap transaction identifier (B-TID) and/or a fully qualified domain name (FQDN) of the server; or includes: an application-oriented authentication or key management (AKMA) key identifier (A- KID) and/or FQDN.
- B-TID bootstrap transaction identifier
- FQDN fully qualified domain name
- AKMA application-oriented authentication or key management
- the third generating unit includes: an application client, a baseband chip, and a global subscriber identity module (USIM);
- an application client a baseband chip
- a global subscriber identity module USIM
- the application client configured to receive the second message from the server, and send the second message to the USIM through the baseband chip;
- the USIM is configured to perform integrity check and/or decryption on the second message based on the second key.
- an embodiment of the present application further provides an apparatus for configuring a terminal device, the apparatus includes: a fifth communication unit and a second verification unit; wherein,
- the fifth communication unit is configured to receive a first message from the terminal device, and part or all of the first message is encrypted and/or integrity protected by the second key;
- the second verification unit is configured to obtain the second key from a network device; the second key is generated by the network device based on the first key; and is also configured to be based on the second key Perform integrity check and/or decryption on the first message.
- the apparatus further includes a fourth generating unit configured to encrypt and/or integrity protect part or all of the second message based on the second key;
- the fifth communication unit is further configured to send a second message.
- the first message further includes: a bootstrap transaction identifier (B-TID), or an application-oriented authentication or key management (AKMA) key identifier (A-KID) );
- B-TID bootstrap transaction identifier
- AKMA application-oriented authentication or key management
- A-KID application-oriented authentication or key management
- the apparatus further includes a fourth execution unit configured to query whether there is a second key corresponding to the B-TID or the A-KID;
- the second verification unit is configured to, when the query result obtained by the fourth execution unit is that there is no second key corresponding to the B-TID or the A-KID, pass the Five communication units obtain the second key from the network device.
- an embodiment of the present application further provides a computer-readable storage medium on which a computer program is stored, and when the program is executed by a processor, implements the first aspect, the second aspect, and the third aspect of the embodiment of the present application , the steps of the method of the seventh aspect or the eighth aspect.
- an embodiment of the present application further provides a communication device, including a memory, a processor, and a computer program stored in the memory and running on the processor, where the processor implements the present application when the processor executes the program Embodiments of the method of the first aspect, the second aspect, the third aspect, the seventh aspect or the eighth aspect.
- the terminal device In the configuration method, apparatus, and communication device of a terminal device provided by the embodiments of the present application, the terminal device generates a second key based on a first key, and encrypts and/or integrity protects a certificate request message based on the second key; Sending a request message, the request message includes the certificate request message encrypted and/or integrity protected by the second key; the server receives the request message from the terminal device; the request message includes the certificate request message encrypted and/or integrity-protected by the second key; key encryption and/or integrity protected certificate request message; obtain the second key from the network device; the second key is generated by the network device based on the first key; based on the second key Perform integrity check and/or decryption on the request message, and issue a digital certificate after the request message is authorized; send a response message to the terminal device, where the response message includes the digital certificate.
- the secure configuration of the digital certificate of the C-V2X terminal device can be realized in a "one-key configuration" manner, without the need to transform the security environment of the production line, nor to perform irrigation by a professional security agency. It can improve the flexibility of digital certificate configuration, reduce deployment difficulty and investment cost.
- Figure 1 is a schematic diagram of the GBA architecture
- FIG. 2 is a schematic flowchart 1 of a configuration method of a terminal device according to an embodiment of the present application
- FIG. 3 is a schematic diagram of a GBA enhanced architecture in an embodiment of the application.
- FIG. 4 is a schematic diagram of an optional architecture of a terminal device according to an embodiment of the present application.
- FIG. 5 is a second schematic flowchart of a configuration method for a terminal device according to an embodiment of the present application.
- FIG. 6 is a third schematic flowchart of a configuration method for a terminal device according to an embodiment of the present application.
- FIG. 7 is a schematic diagram 1 of an interaction flow of a configuration method for a terminal device according to an embodiment of the present application.
- FIG. 8 is a schematic diagram 1 of the composition structure of a configuration apparatus of a terminal device according to an embodiment of the present application.
- FIG. 9 is a second schematic diagram of the composition and structure of a configuration apparatus of a terminal device according to an embodiment of the present application.
- FIG. 10 is a third schematic structural diagram of a configuration of a configuration apparatus of a terminal device according to an embodiment of the present application.
- FIG. 11 is a fourth schematic flowchart of a configuration method for a terminal device according to an embodiment of the present application.
- FIG. 12 is a fifth schematic flowchart of a configuration method for a terminal device according to an embodiment of the present application.
- FIG. 13 is a second schematic diagram of an interaction flow of a configuration method for a terminal device according to an embodiment of the present application.
- FIG. 14 is a fourth schematic diagram of the composition and structure of a configuration apparatus of a terminal device according to an embodiment of the present application.
- FIG. 15 is a schematic diagram 5 of the composition structure of a configuration apparatus of a terminal device according to an embodiment of the present application.
- FIG. 16 is a schematic structural diagram of a hardware composition of a communication device according to an embodiment of the present application.
- FIG. 2 is a schematic flowchart 1 of a configuration method for a terminal device according to an embodiment of the present application; as shown in FIG. 2 , the method includes:
- Step 101 The terminal device generates a second key based on the first key, and encrypts and/or integrity protects the certificate request message based on the second key;
- Step 102 Send a first request message, where the first request message includes the certificate request message encrypted and/or integrity protected by the second key.
- the configuration method (hereinafter referred to as the method) of a terminal device in this embodiment is applied to a terminal device, and the terminal device may specifically be a car networking terminal device (also referred to as a C-V2X Device).
- the IoV terminal device may be, for example, an on-board unit (OBU, On Board Unit), a roadside unit (RSU, Road Side Unit), etc.; in other optional embodiments, the IoV terminal device may also be Pedestrian handheld devices, wearable devices, etc.
- the method further includes: the terminal device performs a GBA authentication process or an application-oriented authentication and key management (AKMA, Authentication and Key Management for Applications) authentication process, and communicates with the network device The first key is negotiated.
- AKMA application-oriented authentication and key management
- the network device here may specifically be a NAF or an AP under the GBA authentication process. Furthermore, under the AKMA authentication process, the network device may be a Network Exposure Function (NEF, Network Exposure Function), and the NEF is used to open network capabilities to other network elements.
- NEF Network Exposure Function
- a possible implementation manner for the terminal and the network device to negotiate the first key in advance is (here, the GBA-based authentication process of the C-V2X device is taken as an example):
- the C-V2X device performs AKA authentication with the BSF, and after the BSF returns a 200 OK response, the C-V2X device generates a GBA session key, that is, the first key. Subsequently, when the C-V2X device accesses the NAF/AP, the NAF/AP requests the BSF to negotiate and generate the same GBA session key, that is, the first key.
- the NAF/AP here provides GBA services to C-V2X service providers (eg, C-V2X application servers). The NAF/AP obtains the GBA session key, that is, the first key, from the BSF, thereby completing the process of negotiating the first key between the terminal and the network device.
- the C-V2X device When the C-V2X device needs to securely interact with the server for service messages (such as applying for a digital certificate), the C-V2X device initiates an application request to the server.
- the server accesses the NAF/AP through a pre-established secure connection with the network device, requests the NAF/AP to generate a second key for the current service based on the first key, and obtains the generated second key.
- the C-V2X terminal and the server can perform security processing such as encryption and integrity protection on the exchanged service messages, which is equivalent to establishing a secure communication channel between the C-V2X terminal and the server.
- the server here may be a C-V2X application server (C-V2X application server), and the C-V2X application server may be a CA server (CA is Certificate Authority, that is, a certificate authority).
- CA Certificate Authority
- the CA server can be: a registered CA server or an authorized CA server. That is, if the C-V2X device wants to apply for a registration certificate, the server should be the registration CA server (Enrolment CA server or ECA); if the C-V2X device wants to apply for an authorization certificate or an application certificate or an identity certificate, the server should be an authorized CA server (Enrolment CA server or ECA).
- Authorization CA server or ACA Authorization CA server or ACA).
- the CA server can be deployed by the MNO itself or by a third party, so that it can provide certificate services for C-V2X devices.
- the establishment of a secure communication channel between the C-V2X terminal and the server means that the terminal device will obtain a first key after passing the above GBA authentication process, and will subsequently generate a second key based on the first key.
- the server side can obtain the second key from the network device (the network device NAF/AP has negotiated the first key with the terminal in advance, and when the server needs the second key, it generates the second key based on the first key. key, return the second key to the server, and this process will be described in detail later).
- both the terminal device and the server have obtained the second key, and based on the second key, the security protection and transmission and reception of messages are performed, so that a secure channel (or referred to as a secure connection, a secure chain, or a secure channel) is actually established between the terminal device and the server. route, etc.) for well-protected messages sent and received based on the second key.
- a secure channel or referred to as a secure connection, a secure chain, or a secure channel
- the first key here may also be called a shared session key; the second key is generated based on the first key, and the second key may also be called an application session key or a session key.
- the terminal device applying this method can be deployed in the GBA enhanced architecture as shown in FIG. 3 .
- the network device NAF/AP is shared by a few C-V2X application servers (such as CA servers) (see the C-V2X Service Provider (C-V2X Service Provider) virtual box in Figure 3, the virtual box It does not include NAF/AP network elements, but NAF/AP network elements are deployed on the mobile network operator (MNO, Mobile Network Operator) side, and multiple CA servers (C-V2X Application Server (C-V2X Application Server) in the figure Server)) share a NAF/AP network element). It is not difficult to understand that sharing one NAF/AP network element with multiple CA servers can greatly reduce deployment costs and maintenance difficulties.
- C-V2X application servers such as CA servers
- the network device NAF/AP further provides each C-V2X application server (such as CA server) derives the GBA application session key (represented by K*), and shares K* with the CA server.
- each C-V2X application server such as CA server
- the C-V2X device also obtains the same K* from the local as in the GBA boot process, and then provides K* to the upper-layer C-V2X Application Client (C-V2X Application Client) call.
- the CA server and the C-V2X device share the same GBA application session key K*. They can use K* to achieve mutual authentication, protect transmitted messages, establish secure channels, etc., and then use the shared GBA application session key K* to protect the C-V2X certificate application and issuance process.
- the method of this embodiment can allow the user to realize the digital certificate configuration through a "one-click" trigger.
- the user can easily trigger the terminal to start the certificate configuration by clicking the trigger on the human-machine interface on the terminal or triggering through other interface software. operate.
- the terminal After receiving the trigger command, the terminal can automatically complete access authentication, secure channel establishment, key generation, digital certificate application, and subsequent digital certificate download and secure storage operations with the server to realize the initial security configuration of the terminal device.
- this method has a high degree of automation, lower application and maintenance costs, fewer manual operation steps, and is easy to popularize.
- the terminal device includes: an application client (which may also be referred to as a C-V2X application client), a baseband chip (which may also be referred to as a Device modem, which is used to access 4G or 5G network) and a global subscriber identity module (USIM, Universal Subscriber Identity Module); the terminal device generates a second key based on the first key, and encrypts and/or completes the certificate request message based on the second key protection, including: the application client triggers the USIM to generate a second key based on the first key through the baseband chip; the application client generates a first certificate request message, and sends a The USIM sends the first certificate request message; the USIM generates a public-private key pair, adds the public key in the public-private key pair in the first certificate request message, and uses the private key in the public-private key pair.
- an application client which may also be referred to as a C-V2X application client
- a baseband chip which may also be referred to as
- the first certificate request message is signed by the key to obtain the second certificate request message; the USIM encrypts and/or integrity protects the second certificate request message based on the second key, and the second certificate request message is encrypted and/or integrity protected by the USIM based on the second key.
- a first check value is added to the second certificate request message; the USIM sends the second certificate request message that has undergone the above processing to the application client through the baseband chip.
- the second key here may be composed of only one key or multiple keys (that is, the multiple keys here are all generated based on the first key, collectively referred to as the second key ).
- the second key is composed of a variety of keys, for example, an encryption key and/or an integrity protection key may be included, and of course other types of keys may also be included according to actual needs.
- the process that the USIM encrypts the second certificate request message based on the second key includes: the USIM encrypts the plaintext second certificate request message by using the encryption key in the second key to make it become ciphertext.
- the process that the USIM performs integrity protection on the second certificate request message based on the second key includes: the USIM performs integrity protection on the message by using the integrity protection key in the second key, for example, it can be A first check value is calculated for the encrypted message by using the integrity protection key, and then the calculated first check value is added to the second certificate request message.
- the first check value can be a hash operation message authentication code (HMAC, Hash-based Message Authentication Code) value
- HMAC Hash-based Message Authentication Code
- FIG. 4 is a schematic diagram of an optional architecture of a terminal device according to an embodiment of the application; as shown in FIG. 4 , the terminal device may include an application (Application) layer, a user library (User libraries), a Linux kernel (Linux Kernel), and hardware ( Hardware) layer and so on.
- the application layer can include CA management application and V2X application;
- the user library includes GBA interface library, USIM interface library, hardware security module (HSM, Hardware Security Module) interface library and LTE-V2X interface library, etc.;
- hardware layer includes HSM, LTE-V2X communication module and LTE-Uu communication module, LTE-Uu communication module may include baseband chip and USIM.
- the LTE-Uu communication module, LTE-V2X communication module and HSM are implemented as discrete modules or components, or can also be packaged and integrated into one module/module, but this does not affect the logical function division between them .
- the CA management application (that is, the CA application client) is the control software for the terminal device (such as the C-V2X terminal device) to realize the "initial security one-key configuration", which is responsible for the logic of the entire business process control.
- V2X application also known as C-V2X application
- C-V2X application is a service application module for terminal equipment to realize V2X direct communication through the PC5/V5 interface, and is responsible for the sending and receiving control of direct communication service messages. It accesses the LTE-V2X communication module at the hardware layer by calling the LTE-V2X interface library, and realizes C-V2X service interaction with other terminal devices.
- the GBA interface library, the USIM interface library, and the HSM interface library are the calling interfaces opened by the underlying hardware modules of the terminal to the upper-layer applications. They are respectively used to call the GBA security access authentication capability supported by the LTE-Uu communication module and the digital certificate management application provided by the USIM. capabilities and security capabilities, as well as secure storage and computing capabilities provided by HSMs.
- composition architecture of the terminal device in the embodiment of the present application is not limited to that shown in FIG. 4 , and other architectural forms may also fall within the protection scope of the embodiment of the present application.
- the application client in this embodiment is responsible for implementing the function of the CA management application, and is responsible for the management of the digital certificate of the terminal device. For details, refer to the CA management application in FIG. 4 .
- the application client triggers the USIM to generate the second key based on the first key by calling the USIM interface library through the baseband chip.
- the application client can generate a first certificate request message according to the "one-key trigger", call the USIM reconstruction certificate request interface (that is, the first USIM interface), and send the first certificate request message to the USIM through the baseband chip;
- the first USIM interface described in this embodiment is not limited to being a USIM reconstruction certificate request interface, and other interface names used for reconstructing a certificate request may also be within the protection scope of this embodiment of the present application.
- the USIM After receiving the first certificate request message, the USIM can generate a public-private key pair based on the random number generator inside the Universal Integrated Circuit Card (UICC, Universal Integrated Circuit Card), and complete the certificate request according to the requirements of the protocol format of the relevant C-V2X specifications message, add the public key in the public-private key pair to the first certificate request message, and use the private key in the public-private key pair to sign the first certificate request message to obtain the second certificate request message.
- USIM is based on the first certificate request message.
- the second certificate request is encrypted and/or integrity protected by the second key.
- the USIM sends the second certificate request message processed above to the application client through the baseband chip and through the interface library.
- the UICC here is a kind of security hardware with a security level of EAL 4+, based on which the USIM function can be implemented, and the security of Ks_int_NAF (that is, the first key) can be guaranteed.
- UICC can be understood as a general architecture, or can be understood as a security carrier.
- the USIM function is realized, that is, it becomes a USIM.
- UICC can also implement many applications, that is, the architecture can support the implementation of many functions.
- the USIM is implemented, so the USIM also has high security, and then the certificate public and private key pairs are generated in the USIM.
- the digital certificate in this embodiment may also be called an Enrollment Certificate (EC, Enrollment Certificate), which is used to identify a trusted terminal device. Therefore, it is necessary to implement the initial security of the digital certificate on the terminal device in a safe method. configuration.
- the server in this embodiment may be an ECA server, that is, an authorized CA server.
- the sending the first request message includes: the application client sends a first request message to the server, where the first request message includes encryption with the second key and/or the integrity-protected second certificate request message; the first request message also includes: a bootstrapping transaction identifier (B-TID, Bootstrapping-Transaction Identifier) and/or a server fully qualified domain name (FQDN, Fully Qualified Domain Name) Domain Name).
- B-TID bootstrapping transaction identifier
- FQDN Fully Qualified Domain Name
- the method further includes: receiving, by the terminal device, a first response message from a server, and performing an integrity checksum on the first response message based on the second key /or decryption to obtain the digital certificate carried in the first response message.
- the first response message may be carried by a HyperText Transfer Protocol (HTTP, HyperText Transfer Protocol) message, for example, may be carried by an HTTP 200 OK message.
- HTTP HyperText Transfer Protocol
- the terminal device includes: an application client, a baseband chip, and a USIM; the terminal device receives a first response message from the server, and based on the second key pair all performing integrity check and/or decryption on the first response message to obtain the digital certificate carried in the first response message, including: receiving, by the application client, the first response message from the server, and The baseband chip sends the first response message to the USIM; the USIM performs integrity verification and/or decryption on the first response message based on the second key; after the verification is passed, the USIM obtains The digital certificate carried in the first response message, and the digital certificate is stored in the security component.
- the application client receives the first response message from the CA server, and calls the USIM security check interface (ie the second USIM interface) to send the first response message to the USIM through the baseband chip; of course, , the second USIM interface described in this embodiment is not limited to being a USIM security verification interface, and other interfaces used for security verification may also be within the protection scope of this embodiment of the present application.
- the USIM performs integrity check and/or decryption on the first response message based on the second key, wherein the first response message carries a second check value, and the integrity check is to verify the The second check value carried in the first response message; wherein, optionally, the second check value may also be an HMAC value.
- the USIM may calculate based on some bits in the message to obtain a check value, and then compare the check value with the second check value, and if the comparison is consistent, it indicates that the integrity check is passed. After the verification is passed, the USIM obtains the digital certificate carried in the first response message.
- the USIM stores the digital certificate in a security component.
- the USIM (which may also include the HSM) is a local security entity/module of the terminal device, and can provide a reliable security environment for data computing, storage, and processing.
- keys such as the first key, sensitive parameters such as public and private keys
- FIG. 5 is a second schematic flowchart of a configuration method for a terminal device according to an embodiment of the present application; as shown in FIG. 5 , the method includes:
- Step 201 the server receives the first request message from the terminal device; the first request message includes the certificate request message encrypted and/or integrity protected by the second key;
- Step 202 Obtain the second key from a network device; the second key is generated by the network device based on the first key;
- Step 203 Perform integrity check and/or decryption on the first request message based on the second key, and issue a digital certificate after authorizing the first request message;
- Step 204 Send a first response message to the terminal device, where the first response message includes the digital certificate.
- the terminal device can automatically complete server access authentication, establishment of a secure channel, key generation, application for a digital certificate and subsequent digital certificate based on the GBA technical mechanism or the AKMA authentication mechanism. Operations such as certificate download and secure storage realize the initial security configuration of the terminal device.
- the server receives the first request message from the terminal device through the secure channel established above.
- the server may receive the first request message from the terminal device through the network device, that is, the first request message is sent by the terminal device, arrives at the network device, and then sends the first request message to the server via the network device.
- the server since the first request message includes a certificate request message encrypted and/or integrity-protected by the second key, the server needs to obtain the above-mentioned second key.
- the server obtains the second key from a network device.
- the terminal device performs the GBA authentication process or the AKMA authentication process
- the terminal device and the network device negotiate a first key, and the first key may also be referred to as a shared session key.
- the obtaining, by the server, the second key from the network device includes: the server sending a second request message to the network device, where the second request message is used to request the network device second key; the server receives a second response message sent by the network device, where the second response message includes the second key.
- the server may send a second request message to the network device, where the second request message is used to request the second key; then, after the network device receives the second request message, based on the pre-negotiated first key The key generates a second key, and then sends a second response message to the server, where the second response message includes the second key, thereby enabling the server to obtain the second key.
- the network device may also generate a second key based on the pre-negotiated first key, and send the second key to the server after sending it to the server. During the process of the first request message, the second key is sent to the server.
- the first request message further includes: B-TID; the server obtaining the second key from the network device includes: the server querying whether there is a connection with the The second key corresponding to the B-TID is obtained; when the query result is that there is no second key corresponding to the B-TID, the second key from the network device is obtained.
- the server may obtain the second key corresponding to the B-TID in advance. Then after receiving the first request message, you can first query whether there is a second key corresponding to the B-TID through the B-TID carried in the first request message; In the case of the second key corresponding to the TID, the second key from the network device is obtained; in the case where the second key corresponding to the B-TID exists, the B-TID corresponding to the B-TID can be directly obtained the second key.
- the server since the message sent by the terminal device is encrypted and/or integrity protected by the second key, after obtaining the second key, the server completes the first request message based on the second key. and/or decryption, and issue a digital certificate after the authorization of the first request message is passed.
- the certificate request message further includes a first check value
- the first check value may be a HAMC value
- the server may calculate based on some bits in the first request message to obtain a check value, and then compare the check value with the first check value, and if the comparison is consistent, it indicates that the integrity check is passed.
- the sending, by the server, a first response message to the terminal device includes: the server constructing, by the server, a first response message including the digital certificate, based on the second key Encryption and/or integrity protection are performed on the first response message, a second check value is added to the first response message, and the first response message processed above is sent to the terminal device.
- the addition of the second check value here is also a part of the integrity protection process for the first response message. In order to explain more clearly how subsequent terminals process based on the first response message, this embodiment will only add This step of the second check value is emphasized.
- the server constructs a first response message (or certificate response message) according to the protocol format requirements of the relevant C-V2X specifications, and calculates based on some bits in the first response message, The second check value is obtained, the second check value is added to the first response message, and the first response message processed above is sent to the terminal device.
- the first response message may be carried by an HTTP message, for example, may be carried by an HTTP 200 OK message.
- FIG. 6 is a third schematic flowchart of a configuration method for a terminal device according to an embodiment of the application; as shown in FIG. 6 , the method includes:
- Step 301 the network device generates a second key based on the pre-negotiated first key
- Step 302 Send the second key to the server.
- the network device may specifically be a NAF/AP.
- the terminal device performs the GBA authentication process or the AKMA authentication process, and starts to establish a secure access connection (or secure channel, secure link, etc.) with the server. After the authentication is completed, the terminal device and the network device have negotiated the first key.
- the first key may also be referred to as a shared session key.
- the network device may receive a second request message from the server, where the second request message is used to request a second key, and the network device generates the second key based on the pre-negotiated first key. key, and then send a second response message to the server, where the second response message includes the second key, thereby enabling the server to obtain the second key.
- the network device may also generate a second key based on the pre-negotiated first key, and send it to the server During the process of the first request message, the second key is sent to the server.
- the method further includes: the network device and the terminal device negotiate the first key with the terminal device by performing a GBA authentication process or an AKMA authentication process.
- the secure configuration of the digital certificate of the C-V2X terminal device can be realized in a "one-key configuration" manner, without the need to transform the security environment of the production line, nor to perform irrigation by a professional security agency. It can improve the flexibility of digital certificate configuration, reduce deployment difficulty and investment cost.
- the terminal device is a C-V2X device (C-V2X Device) and the network device is a NAF/AP as an example for description.
- the C-V2X device includes a USIM, a baseband chip and an application client; the baseband chip may also be called a Device Modem, and the application client may also be called a (C-V2X Application Client).
- the CA server is called the application server or C-V2X Application Server (C-V2X Application Server) in this example.
- FIG. 7 is a schematic diagram 1 of an interaction flow of a configuration method of a terminal device according to an embodiment of the present application; as shown in FIG. 7 , the method includes:
- Step 401 The C-V2X application client initiates a GBA start request to the baseband chip.
- the application client invokes the underlying baseband chip through the GBA interface library to start the GBA authentication process, and starts to establish a secure access connection to the CA server (such as the ECA server).
- CA server such as the ECA server
- Step 402 Execute the GBA authentication process, and negotiate the shared session key Ks_int_NAF (ie, the first key in the foregoing embodiment) with the NAF/AP.
- Ks_int_NAF the shared session key
- Step 403 The baseband chip sends a GBA response corresponding to the GBA start request to the C-V2X application client.
- Steps 404 to 408 In the case of using the GBA enhancement technology, the C-V2X application client transmits a message to the USIM through an interface call, that is, calling the USIM interface library (for example, the USIM reconstruction certificate request interface), to trigger the USIM to generate a message based on Ks_int_NAF
- the application session key K* (ie the second key)
- the USIM returns through the baseband chip and the interface, that is, the USIM interface library is called to transmit a message to the C-V2X application client to inform the C-V2X application client that the application session has been generated Key K*.
- the message sent by the C-V2X application client to the USIM may carry the B-TID, IMPI and NAF identifier (ID); after receiving the message, the USIM generates the application session key K* based on Ks_int_NAF.
- the C-V2X application client composes a certificate request message (ie, the aforementioned first certificate request message), and prepares to apply for a digital certificate from the CA server.
- the C-V2X application client calls through the interface, that is, calls the USIM reconstruction certificate request interface, and transmits a message to the USIM through the baseband chip.
- the transmitted message carries the prepared certificate request message (that is, the first certificate request in the foregoing embodiment). information).
- Step 411 After receiving the certificate request message, the USIM generates a public-private key pair, adds the public key in the public-private key pair to the certificate request message, and signs the certificate request message with the private key in the public-private key pair, Obtaining a second certificate request message; encrypting and/or integrity-protecting the second certificate request message based on the second key, and adding an HMAC value to the second certificate request message.
- the USIM performs the following operations:
- Steps 412 to 413 the USIM returns through the baseband chip and the interface, that is, by calling the USIM interface library to transmit a message to the C-V2X application client, and the transmitted message contains the application session key K* encryption and/or integrity protection. the second certificate request message.
- Step 414 The C-V2X application client sends a request message to the CA server, and the request message carries the K*-protected second certificate request message, B-TID, Server FQDN and other information.
- the request message is transmitted to the CA server via the NAF/AP.
- Steps 415 to 417 The CA server interacts with the NAF/AP through the pre-established security channel, requests the NAF/AP to generate the application session key K* based on Ks_int_NAF, and obtains the application session key K* and related information.
- the relevant information may include, for example, the lifetime of the application session key K* and the like.
- NAF/AP can send application session key K* and related information to CA server through HTTP 200 OK response message.
- the request message sent by the CA server to the NAF/AP may further include information such as B-TID, server FQDN (Server FQDN).
- Step 418 after the CA server obtains the application session key K*, performs integrity check and/or decryption on the request message based on the application session key K*, and issues a digital certificate after authorizing the request message;
- the response message of the digital certificate is encrypted and/or integrity protected based on the application session key K*, and the HMAC value is added to the response message.
- the CA server can perform the following operations:
- Step 419 The CA server returns a response message protected by the application session key K* to the C-V2X application client; exemplarily, the response message may be carried by an HTTP 200 OK message.
- Step 420-Step 421 the C-V2X application client calls through the interface, that is, calls the USIM security check interface, and transmits a message to the USIM via the baseband chip, and the transmitted message carries the above-mentioned response message protected by the application session key K* .
- Step 422-Step 424 the USIM uses the application session key K* to perform integrity verification and/or decryption on the response message; after the verification is successful, the USIM securely stores the digital certificate issued by the CA server in the security component, and passes the interface Return, transmit the result status indication to the C-V2X application client via the baseband chip.
- FIG. 8 is a schematic diagram 1 of the composition structure of a configuration apparatus of a terminal device according to an embodiment of the present application; as shown in FIG. 8 , the apparatus includes: a first generation unit 11 and a first communication unit 12; wherein,
- the first generating unit 11 is configured to generate a second key based on the first key, and encrypt and/or integrity protect the certificate request message based on the second key;
- the first communication unit 12 is configured to send a first request message, where the first request message includes the certificate request message encrypted and/or integrity protected by the second key.
- the first communication unit 12 is further configured to receive a first response message from a server, and perform an integrity check on the first response message based on the second key and/or decryption to obtain the digital certificate carried in the first response message.
- the first generating unit 11 includes: an application client, a baseband chip, and a USIM;
- the application client is configured to trigger the USIM to generate a second key based on the first key through the baseband chip; and is also configured to generate a first certificate request message, and send the USIM to the USIM through the baseband chip sending the first certificate request message;
- the USIM is configured to generate a public-private key pair, add the public key in the public-private key pair to the first certificate request message, and use the private key in the public-private key pair to pair the first certificate request message Signing to obtain a second certificate request message; encrypting and/or integrity-protecting the second certificate request message based on the second key, and adding a first check value to the second certificate request message ; sending the second certificate request message encrypted and/or integrity protected by the second key to the application client through the baseband chip.
- the application client is configured to send a first request message to the server through the first communication unit 12, where the first request message includes the second key
- the encrypted and/or integrity-protected second certificate request message; the first request message further includes: B-TID and/or server FQDN.
- the first generating unit 11 includes: an application client, a baseband chip, and a USIM;
- the application client is configured to receive the first response message from the server through the first communication unit 12, and send the first response message to the USIM through the baseband chip;
- the USIM is configured to perform an integrity check and/or decryption on the first response message based on the second key; after the verification is passed, obtain the digital certificate carried in the first response message, and store it in the first response message.
- the digital certificate is stored in the security component.
- the apparatus further includes a first execution unit, configured to execute a GBA authentication process or an AKMA authentication process, and negotiate the first key with the network device.
- the first generation unit 11, the first communication unit 12 and the first execution unit in the device can all be composed of a central processing unit (CPU, Central Processing Unit), a digital signal processor ( DSP, Digital Signal Processor), Microcontroller Unit (MCU, Microcontroller Unit) or Programmable Gate Array (FPGA, Field-Programmable Gate Array) combined with communication modules (including: basic communication kits, operating systems, communication modules, standardized interfaces and protocol, etc.) and transceiver antenna implementation.
- CPU Central Processing Unit
- DSP Digital Signal Processor
- MCU Microcontroller Unit
- FPGA Field-Programmable Gate Array
- FIG. 9 is a second schematic structural diagram of the configuration of a terminal device configuration apparatus according to an embodiment of the present application; as shown in FIG. 9 , the apparatus includes: a second communication unit 21 and a verification unit 22 ; wherein,
- the second communication unit 21 is configured to receive a first request message from a terminal device; the first request message includes a certificate request message encrypted and/or integrity protected by the second key;
- the verification unit 22 is configured to obtain the second key from a network device; the second key is generated by the network device based on the first key; and is also configured to be based on the second key pair
- the first request message is subjected to integrity check and/or decryption, and a digital certificate is issued after the authorization of the first request message is passed;
- the second communication unit 21 is further configured to send a first response message to the terminal device, where the first response message includes the digital certificate.
- the second communication unit 21 is configured to construct a first response message including the digital certificate, and encrypt the first response message based on the second key and/or integrity protection, adding a second check value to the first response message, and sending the above-processed first response message to the terminal device.
- the first request message further includes: B-TID;
- the device further includes a second execution unit configured to query whether there is a second key corresponding to the B-TID; when the query result is that the second key corresponding to the B-TID does not exist, The second key from the network device is obtained through the second communication unit.
- the second communication unit 21 is configured to send a second request message to the network device, where the second request message is used to request the second key;
- the second response message sent by the network device includes the second key.
- the second communication unit 21, the verification unit 22 and the second execution unit in the device can be combined with a communication module (including a basic communication suite) by a CPU, a DSP, an MCU or an FPGA in practical applications. , operating system, communication modules, standardized interfaces and protocols, etc.) and transceiver antenna implementation.
- a communication module including a basic communication suite
- FIG. 10 is a schematic diagram 3 of a configuration structure of a configuration apparatus of a terminal device according to an embodiment of the application; as shown in FIG. 10 , the apparatus includes a second generation unit 31 and a third communication unit 32; wherein,
- the second generating unit 31 is configured to generate a second key based on the pre-negotiated first key
- the third communication unit 32 is configured to send the second key to the server.
- the apparatus further includes a third execution unit configured to negotiate the first key with the terminal device by executing the GBA authentication process or the AKMA authentication process with the terminal device.
- the second generating unit 31 is configured to generate a corresponding second key for each server based on the pre-negotiated first key
- the third communication unit 32 is configured to send the corresponding second key to each server respectively.
- the third communication unit 32 is configured to receive second request information sent by the server, where the second request message is used to request the second key; The server sends a second response message, where the second response message includes the second key generated by the second generating unit 31 .
- the second generation unit 31, the third communication unit 32 and the third execution unit in the device can be combined with a communication module (including basic communication module) by CPU, DSP, MCU or FPGA in practical applications. kits, operating systems, communication modules, standardized interfaces and protocols, etc.) and transceiver antenna implementation.
- a communication module including basic communication module
- CPU, DSP, MCU or FPGA in practical applications. kits, operating systems, communication modules, standardized interfaces and protocols, etc.
- FIG. 11 is a fourth schematic flowchart of a configuration method for a terminal device according to an embodiment of the application; as shown in FIG. 11 , the method includes:
- Step 501 The terminal device generates a second key based on the first key, and encrypts and/or integrity protects part or all of the first message based on the second key;
- Step 502 Send a first message.
- the configuration method (hereinafter referred to as the method) of a terminal device in this embodiment is applied to a terminal device, and the terminal device may specifically be a car networking terminal device (also referred to as a C-V2X Device).
- the terminal device may specifically be a car networking terminal device (also referred to as a C-V2X Device).
- the IoV terminal device may be, for example, an OBU, an RSU, etc.; in other optional embodiments, the IoV terminal device may also be a pedestrian's handheld device, a wearable device, and the like.
- the method further includes: the terminal device performs a GBA authentication process or an AKMA authentication process, and negotiates the first key with a network device.
- the terminal device performs a GBA authentication process or an AKMA authentication process, and negotiates the first key with a network device.
- the terminal device includes: an application client, a baseband chip, and a USIM; the terminal device generates a second key based on the first key, and pairs the first key based on the second key.
- Part or all of a message is encrypted and/or integrity protected, including: the application client triggers the USIM to generate a second key based on the first key through the baseband chip; the application client generates a second key the first message, and send the first message to the USIM through the baseband chip; the USIM encrypts and/or integrity protects part or all of the first message based on the second key;
- the USIM sends the above-processed first message to the application client through the baseband chip.
- the second key may be composed of only one key, or may be composed of multiple keys (that is, the multiple keys here are all generated based on the first key, which are collectively referred to as the second key key).
- the second key is composed of a variety of keys, for example, an encryption key and/or an integrity protection key may be included, and of course other types of keys may also be included according to actual needs.
- the USIM encrypts and/or integrity protects part or all of the first message based on the second key, and the specific process of the encryption and/or integrity protection can be referred to as described in the foregoing embodiments, here No longer.
- the first message may be any message, information, etc. sent by the terminal device to the server.
- the sending the first message includes: the application client sends the first message to the server; the first message further includes: the B-TID and/or the server or include: AKMA Key Identifier (A-KID) and/or FQDN.
- A-KID AKMA Key Identifier
- the method further includes: receiving, by the terminal device, a second message from a server, and performing an integrity check on the second message based on the second key and/or decrypt.
- the second message may be any message, information, etc. sent by the server to the terminal device.
- the terminal device includes: an application client, a baseband chip, and a USIM; the terminal device receives a second message from a server, and pairs the second message with the second key based on the second key.
- Performing integrity check and/or decryption on the message including: the application client receives the second message from the server, and sends the second message to the USIM through the baseband chip; the USIM is based on the The second key performs integrity check and/or decryption on the second message.
- the application client receives the second message from the server, and invokes the USIM security check interface to send the second message to the USIM through the baseband chip; of course, the interface in this embodiment is not limited to USIM security check interface, and other interfaces used for security verification may also be within the protection scope of the embodiments of the present application.
- the USIM performs integrity check and/or decryption on the second message based on the second key, and the specific process of the integrity check and/or decryption may refer to the foregoing embodiments, which will not be repeated here. Further, the USIM returns the plaintext information and/or processing result obtained by decryption to the application client.
- FIG. 12 is a fourth schematic flowchart of a configuration method for a terminal device according to an embodiment of the present application; as shown in FIG. 12 , the method includes:
- Step 601 the server receives the first message from the terminal device, and part or all of the first message is encrypted and/or integrity protected by the second key;
- Step 602 the server obtains the second key from a network device; the second key is generated by the network device based on the first key;
- Step 603 The server performs integrity check and/or decryption on the first message based on the second key.
- the terminal device can automatically complete server access authentication, establishment of a secure channel and key generation based on the GBA technical mechanism or the AKMA authentication mechanism, so as to realize the initial security of the terminal device. configuration.
- the server receives the first message from the terminal device through the above established secure channel.
- the server may receive the first message from the terminal device through the network device, that is, the first request message is sent by the terminal device, arrives at the network device, and then sends the first message to the server via the network device.
- the server since part or all of the first message is encrypted and/or integrity protected by the second key, the server needs to obtain the above-mentioned second key.
- the server obtains the second key from a network device.
- the terminal device performs the GBA authentication process or the AKMA authentication process
- the terminal device and the network device negotiate a first key, and the first key may also be referred to as a shared session key.
- the obtaining, by the server, the second key from the network device includes: the server sending a third message to the network device, where the third message is used to request the second key key; the server receives a fourth message sent by the network device, where the fourth message includes the second key.
- the server may send a third message to the network device, where the third message is used to request the second key; after receiving the third message, the network device generates the first key based on the pre-negotiated first key. second key, and then send a fourth message to the server, where the fourth message includes the second key, thereby enabling the server to obtain the second key.
- the network device may also generate a second key based on the pre-negotiated first key, and in the process of sending the first message to the server, Sending the second key to the server.
- the first message further includes: a B-TID, or an AKMA key identifier (A-KID); the server obtains the second key from a network device key, including: the server queries whether there is a second key corresponding to the B-TID or the A-KID; when the query result is that there is no second key corresponding to the B-TID or the A-KID In the case of a second key, the second key is obtained from the network device.
- a B-TID or an AKMA key identifier (A-KID)
- A-KID AKMA key identifier
- the server may obtain the second key corresponding to the B-TID in advance. Then after receiving the first request message, you can first query whether there is a second key corresponding to the B-TID through the B-TID carried in the first request message; In the case of the second key corresponding to the TID, the second key from the network device is obtained; in the case where the second key corresponding to the B-TID exists, the B-TID corresponding to the B-TID can be directly obtained the second key.
- the method further includes: the server encrypts and/or integrity protects part or all of the second message based on the second key; and sends the second message.
- the server when the server is to send the second message to the terminal device, the server constructs the second message according to the protocol format requirements of the relevant specifications, and specifically encrypts part or all of the second message based on the second key and/or
- the specific process of encryption and/or integrity protection can be referred to as described in the foregoing embodiments, and details are not repeated here.
- the terminal device is UE and the network device is AF as an example for description.
- the UE includes a USIM, a baseband chip and an application client; the baseband chip may also be called a Device Modem, and the application client may also be called a (C-V2X Application Client).
- the example is called Application Server or C-V2X Application Server.
- FIG. 13 is a schematic diagram 2 of an interaction flow of a configuration method for a terminal device according to an embodiment of the present application; as shown in FIG. 13 , the method includes:
- Step 701 the UE starts AKMA.
- the application client invokes the underlying baseband chip through the GBA interface library to start the GBA authentication process, and starts to establish a secure access connection to the CA server (such as the ECA server).
- CA server such as the ECA server
- Step 702 Execute the AKMA authentication process, and negotiate with the AF to share the session key K AF (ie, the first key in the foregoing embodiment).
- Step 703 The UE obtains the shared session key K AF .
- Steps 704 to 705 the UE generates an application session key K* based on the shared session key K AF , and uses the application session key K* to encrypt and/or integrity protect the message (uplink message).
- the application client transmits a message to the USIM through the baseband chip, and the message may carry information such as B-TID; after receiving the message, the USIM generates the application session key K* based on the shared session key K AF , and uses the application session key K*.
- the key K* encrypts or protects part or all of the message, and sends the processed message to the application client through the baseband chip.
- Step 706 The UE sends a message (that is, an uplink message) to the application server, and the message carries the uplink message protected by the application session key K*, B-TID, server FQDN (Server FQDN) and other information.
- a message that is, an uplink message
- the message carries the uplink message protected by the application session key K*, B-TID, server FQDN (Server FQDN) and other information.
- the message is transmitted to the application server via the AF.
- Steps 707 to 709 the application server interacts with the AF through a pre-established secure channel, requests the AF to generate the application session key K* based on the shared session key K AF , and obtains the application session key K* and related information.
- the relevant information may include, for example, the lifetime of the application session key K* and the like.
- the AF can send the application session key K* and related information to the application server through the HTTP 200 OK response message.
- the request message sent by the application server to the AF may further include information such as B-TID and server FQDN (Server FQDN).
- Step 710 After acquiring the application session key K*, the application server performs integrity check and/or decryption on the message using the application session key K*.
- the above is the transmission process of the uplink message between the terminal and the application server.
- Step 711 the application server encrypts and/or integrity protects the message (downlink message) using the application session key K*.
- Step 712 the application server sends a message (downlink message) to the UE.
- Step 713 The UE performs integrity check and/or decryption on the message using the application session key K*.
- Step 714 The application session key K* can be used to securely transmit uplink and downlink messages between the UE and the application server.
- FIG. 14 is a fourth schematic structural diagram of the configuration of a terminal device configuration apparatus according to an embodiment of the application; as shown in FIG. 14 , the apparatus includes: a third generation unit 51 and a fourth communication unit 52; wherein,
- the third generating unit 51 is configured to generate a second key based on the first key, and encrypt and/or integrity protect part or all of the first message based on the second key;
- the fourth communication unit 52 is configured to send the first message.
- the fourth communication unit 52 is further configured to receive a second message from a server, and perform an integrity checksum/ or decrypt.
- the third generating unit 51 includes: an application client, a baseband chip, and a USIM;
- the application client is configured to trigger the USIM to generate a second key based on the first key through the baseband chip; and is also configured to generate a first message and send the information to the USIM through the baseband chip. the first message;
- the USIM is configured to encrypt and/or integrity protect a part or all of the first message based on the second key; and is also configured to send a message that has undergone the above-mentioned processing to the application client through the baseband chip after the first message.
- the application client is further configured to send the first message to the server;
- the first message further includes: the B-TID and/or the FQDN of the server; or includes: the AKMA key identifier (A-KID) and/or the FQDN.
- A-KID AKMA key identifier
- the third generating unit 51 includes: an application client, a baseband chip, and a USIM;
- the application client configured to receive the second message from the server, and send the second message to the USIM through the baseband chip;
- the USIM is configured to perform integrity check and/or decryption on the second message based on the second key.
- the third generation unit 51 and the fourth communication unit 52 in the device can be combined with a communication module (including: basic communication suite, operating system, Communication modules, standardized interfaces and protocols, etc.) and transceiver antenna implementation.
- a communication module including: basic communication suite, operating system, Communication modules, standardized interfaces and protocols, etc.
- transceiver antenna implementation including: basic communication suite, operating system, Communication modules, standardized interfaces and protocols, etc.
- FIG. 15 is a fourth schematic diagram of the composition and structure of a configuration apparatus of a terminal device according to an embodiment of the application; as shown in FIG. 15 , the apparatus includes: a fifth communication unit 61 and a second verification unit 62; wherein,
- the fifth communication unit 61 is configured to receive a first message from a terminal device, part or all of the first message is encrypted and/or integrity protected by a second key;
- the second verification unit 62 is configured to obtain the second key from a network device; the second key is generated by the network device based on the first key; and is also configured to be based on the second key.
- the key performs integrity check and/or decryption on the first message.
- the apparatus further includes a fourth generating unit configured to encrypt and/or integrity protect part or all of the second message based on the second key;
- the fifth communication unit 61 is further configured to send a second message.
- the first message further includes: a B-TID, or an AKMA key identifier (A-KID);
- the apparatus further includes a fourth execution unit configured to query whether there is a second key corresponding to the B-TID or the A-KID;
- the second verification unit 62 is configured to, when the query result obtained by the fourth execution unit is that there is no second key corresponding to the B-TID or the A-KID, pass the The fifth communication unit 61 obtains the second key from the network device.
- the fifth communication unit 61, the second verification unit 62 and the third execution unit in the device can be combined with a communication module (including: basic CPU, DSP, MCU or FPGA) in practical applications.
- a communication module including: basic CPU, DSP, MCU or FPGA
- Communication suites, operating systems, communication modules, standardized interfaces and protocols, etc. and transceiver antenna implementation.
- FIG. 16 is a schematic diagram of a hardware structure of a communication device according to an embodiment of the application.
- the communication device includes a memory 42 , a processor 41 , and a computer program stored in the memory 42 and running on the processor 41 .
- the processor 41 executes the program, it implements the steps of the configuration method of the terminal device in the terminal device according to the embodiment of the present application; or, when the processor 41 executes the program, implements the steps of the aforementioned method for configuring a terminal device in a network device in the embodiment of the present application,
- the communication device may also include one or more network interfaces 43 .
- the various components in the communication device are coupled together by the bus system 44 .
- the bus system 44 is used to implement the connection communication between these components.
- the bus system 44 also includes a power bus, a control bus and a status signal bus.
- the various buses are designated as bus system 44 in FIG. 16 .
- the memory 42 may be either volatile memory or non-volatile memory, and may include both volatile and non-volatile memory.
- the non-volatile memory can be a read-only memory (ROM, Read Only Memory), a programmable read-only memory (PROM, Programmable Read-Only Memory), an erasable programmable read-only memory (EPROM, Erasable Programmable Read-only memory) Only Memory), Electrically Erasable Programmable Read-Only Memory (EEPROM, Electrically Erasable Programmable Read-Only Memory), Magnetic Random Access Memory (FRAM, ferromagnetic random access memory), Flash Memory (Flash Memory), Magnetic Surface Memory , CD-ROM, or CD-ROM (Compact Disc Read-Only Memory); magnetic surface memory can be disk memory or tape memory.
- RAM Random Access Memory
- SRAM Static Random Access Memory
- SSRAM Synchronous Static Random Access Memory
- DRAM Dynamic Random Access Memory
- SDRAM Synchronous Dynamic Random Access Memory
- DDRSDRAM Double Data Rate Synchronous Dynamic Random Access Memory
- ESDRAM Enhanced Type Synchronous Dynamic Random Access Memory
- SLDRAM Synchronous Link Dynamic Random Access Memory
- DRRAM Direct Rambus Random Access Memory
- the memory 42 described in the embodiments of the present application is intended to include, but not limited to, these and any other suitable types of memory.
- the methods disclosed in the above embodiments of the present application may be applied to the processor 41 or implemented by the processor 41 .
- the processor 41 may be an integrated circuit chip with signal processing capability. In the implementation process, each step of the above-mentioned method can be completed by a hardware integrated logic circuit in the processor 41 or an instruction in the form of software.
- the above-mentioned processor 41 may be a general-purpose processor, a DSP, or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, and the like.
- the processor 41 may implement or execute the methods, steps, and logical block diagrams disclosed in the embodiments of this application.
- a general purpose processor may be a microprocessor or any conventional processor or the like.
- the steps of the method disclosed in the embodiments of the present application can be directly embodied as being executed by a hardware decoding processor, or executed by a combination of hardware and software modules in the decoding processor.
- the software module may be located in a storage medium, and the storage medium is located in the memory 42, and the processor 41 reads the information in the memory 42, and completes the steps of the foregoing method in combination with its hardware.
- the communication device may be implemented by one or more Application Specific Integrated Circuit (ASIC, Application Specific Integrated Circuit), DSP, Programmable Logic Device (PLD, Programmable Logic Device), Complex Programmable Logic Device (CPLD, Complex Programmable Logic Device), FPGA, general-purpose processor, controller, MCU, Microprocessor (Microprocessor), or other electronic components implemented for performing the aforementioned method.
- ASIC Application Specific Integrated Circuit
- DSP Digital Signal processor
- PLD Programmable Logic Device
- CPLD Complex Programmable Logic Device
- FPGA general-purpose processor
- controller MCU
- Microprocessor Microprocessor
- the embodiment of the present application further provides a computer-readable storage medium, such as a memory 42 including a computer program, and the computer program can be executed by the processor 41 of the communication device to complete the steps of the foregoing method.
- the computer-readable storage medium can be memory such as FRAM, ROM, PROM, EPROM, EEPROM, Flash Memory, magnetic surface memory, optical disk, or CD-ROM; it can also be various devices including one or any combination of the above memories.
- the embodiment of the present application further provides a computer-readable storage medium, on which a computer program is stored, and when the program is executed by the processor, implements the steps of the aforementioned configuration method of the terminal device applied to the terminal device in the embodiment of the present application; or , when the program is executed by the processor, it implements the steps of the configuration method of the embodiment of the present application applied to the terminal device in the server; or, when the program is executed by the processor, it realizes the aforementioned embodiment of the present application. the steps of the configuration method.
- the disclosed apparatus and method may be implemented in other manners.
- the device embodiments described above are only illustrative.
- the division of the units is only a logical function division. In actual implementation, there may be other division methods.
- multiple units or components may be combined, or Can be integrated into another system, or some features can be ignored, or not implemented.
- the coupling, or direct coupling, or communication connection between the components shown or discussed may be through some interfaces, and the indirect coupling or communication connection of devices or units may be electrical, mechanical or other forms. of.
- the unit described above as a separate component may or may not be physically separated, and the component displayed as a unit may or may not be a physical unit, that is, it may be located in one place or distributed to multiple network units; Some or all of the units may be selected according to actual needs to achieve the purpose of the solution in this embodiment.
- each functional unit in each embodiment of the present application may all be integrated into one processing unit, or each unit may be separately used as a unit, or two or more units may be integrated into one unit; the above integration
- the unit can be implemented either in the form of hardware or in the form of hardware plus software functional units.
- the aforementioned program can be stored in a computer-readable storage medium, and when the program is executed, execute It includes the steps of the above method embodiments; and the aforementioned storage medium includes: a removable storage device, a ROM, a RAM, a magnetic disk or an optical disk and other media that can store program codes.
- the above-mentioned integrated units of the present application are implemented in the form of software function modules and sold or used as independent products, they may also be stored in a computer-readable storage medium.
- the computer software products are stored in a storage medium and include several instructions for A computer device (which may be a personal computer, a server, or a network device, etc.) is caused to execute all or part of the methods described in the various embodiments of the present application.
- the aforementioned storage medium includes: a removable storage device, a ROM, a RAM, a magnetic disk or an optical disk and other mediums that can store program codes.
Landscapes
- Engineering & Computer Science (AREA)
- Computer Security & Cryptography (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Mobile Radio Communication Systems (AREA)
- Telephonic Communication Services (AREA)
- Telephone Function (AREA)
Abstract
Description
Claims (44)
- 一种终端设备的配置方法,所述方法包括:终端设备基于第一密钥生成第二密钥,基于所述第二密钥对证书请求消息进行加密和/或完整性保护;发送第一请求消息,所述第一请求消息中包括经所述第二密钥加密和/或完整性保护的所述证书请求消息。
- 根据权利要求1所述的方法,其中,所述方法还包括:所述终端设备接收来自服务器的第一响应消息,基于所述第二密钥对所述第一响应消息进行完整性校验和/或解密,获得所述第一响应消息中携带的数字证书。
- 根据权利要求1所述的方法,其中,所述终端设备包括:应用客户端、基带芯片和全球用户识别模块USIM;所述终端设备基于第一密钥生成第二密钥,基于所述第二密钥对证书请求消息进行加密和/或完整性保护,包括:所述应用客户端通过所述基带芯片触发所述USIM基于所述第一密钥生成第二密钥;所述应用客户端生成第一证书请求消息,并通过所述基带芯片向所述USIM发送所述第一证书请求消息;所述USIM生成公私钥对,在所述第一证书请求消息中添加所述公私钥对中的公钥,并利用所述公私钥对中的私钥对所述第一证书请求消息进行签名,获得第二证书请求消息;所述USIM基于所述第二密钥对所述第二证书请求消息进行加密和/或完整性保护,在所述第二证书请求消息中添加第一校验值;所述USIM通过所述基带芯片向所述应用客户端发送经上述处理后的所述第二证书请求消息。
- 根据权利要求3所述的方法,其中,所述发送第一请求消息,包括:所述应用客户端向服务器发送第一请求消息,所述第一请求消息中包括经所述第二密钥加密和/或完整性保护的所述第二证书请求消息;所述第一请求消息中还包括:引导事务标识B-TID和/或服务器的全限定域名FQDN。
- 根据权利要求2所述的方法,其中,所述终端设备包括:应用客户端、基带芯片和USIM;所述终端设备接收来自所述服务器的第一响应消息,基于所述第二密钥对所述第一响应消息进行完整性校验和/或解密,获得所述第一响应消息中携带的数字证书,包括:所述应用客户端接收来自所述服务器的第一响应消息,并通过所述基带芯片向所述USIM发送所述第一响应消息;所述USIM基于所述第二密钥对所述第一响应消息进行完整性校验和/或解密;校验通过后,所述USIM获得所述第一响应消息中携带的数字证书,并在安全组件中存储所述数字证书。
- 根据权利要求1所述的方法,其中,所述方法还包括:所述终端设备执行通用引导架构GBA认证流程或面向应用的认证或密钥管理AKMA认证流程,与网络设备协商所述第一密钥。
- 一种终端设备的配置方法,所述方法包括:服务器接收来自终端设备的第一请求消息;所述第一请求消息中包括经第二密钥加密和/或完整性保护的证书请求消息;所述服务器获得来自网络设备的所述第二密钥;所述第二密钥由所述网络设备基于第一密钥生成;所述服务器基于所述第二密钥对所述第一请求消息进行完整性校验和/ 或解密,并在对所述第一请求消息授权通过后签发数字证书;所述服务器向所述终端设备发送第一响应消息,所述第一响应消息中包括所述数字证书。
- 根据权利要求7所述的方法,其中,所述服务器向所述终端设备发送第一响应消息,包括:所述服务器构建包含有所述数字证书的第一响应消息,基于所述第二密钥对所述第一响应消息进行加密和/或完整性保护,在所述第一响应消息中添加第二校验值;向所述终端设备发送经上述处理后的第一响应消息。
- 根据权利要求7所述的方法,其中,所述第一请求消息中还包括:引导事务标识B-TID;所述服务器获得来自网络设备的所述第二密钥,包括:所述服务器查询是否存在与所述B-TID对应的第二密钥;在查询结果为不存在与所述B-TID对应的第二密钥的情况下,获得来自网络设备的所述第二密钥。
- 根据权利要求7所述的方法,其中,所述服务器获得来自网络设备的所述第二密钥,包括:所述服务器向所述网络设备发送第二请求消息,所述第二请求消息用于请求所述第二密钥;所述服务器接收所述网络设备发送的第二响应消息,所述第二响应消息中包括所述第二密钥。
- 一种终端设备的配置方法,所述方法包括:网络设备基于预先协商的第一密钥生成第二密钥,向服务器发送所述第二密钥。
- 根据权利要求11所述的方法,其中,所述方法还包括:所述网络设备与所述终端设备通过执行通用引导架构GBA认证流程或面向应用的认证和密钥管理AKMA认证流程,与所述终端设备协商所述第一密钥。
- 根据权利要求11所述的方法,其中,所述网络设备基于预先协商的第一密钥生成第二密钥,向服务器发送所述第二密钥,包括:所述网络设备基于预先协商的第一密钥,为每个服务器生成对应的第二密钥,向每个服务器发送所述对应的第二密钥。
- 根据权利要求11至13任一项所述的方法,其中,所述网络设备基于预先协商的第一密钥生成第二密钥,向服务器发送所述第二密钥,包括:所述网络设备接收所述服务器发送的第二请求信息,所述第二请求消息用于请求所述第二密钥;所述网络设备基于预先协商的第一密钥生成第二密钥,向所述服务器发送第二响应消息,所述第二响应消息中包括所述第二密钥。
- 一种终端设备的配置装置,所述装置包括:第一生成单元和第一通信单元;其中,所述第一生成单元,配置为基于第一密钥生成第二密钥,基于所述第二密钥对证书请求消息进行加密和/或完整性保护;所述第一通信单元,配置为发送第一请求消息,所述第一请求消息中包括经所述第二密钥加密和/或完整性保护的所述证书请求消息。
- 根据权利要求15所述的装置,其中,所述第一通信单元,还配置为接收来自服务器的第一响应消息,基于所述第二密钥对所述第一响应消息进行完整性校验和/或解密,获得所述第一响应消息中携带的数字证书。
- 根据权利要求15所述的装置,其中,所述第一生成单元包括:应用客户端、基带芯片和全球用户识别模块USIM;所述应用客户端,配置为通过所述基带芯片触发所述USIM基于所述第一密钥生成第二密钥;还配置为生成第一证书请求消息,并通过所述基带芯片向所述USIM发送所述第一证书请求消息;所述USIM,配置为生成公私钥对,在所述第一证书请求消息中添加所述公私钥对中的公钥,并利用所述公私钥对中的私钥对所述第一证书请求消息进行签名,获得第二证书请求消息;基于所述第二密钥对所述第二证书请求消息进行加密和/或完整性保护,并在所述第二证书请求消息中添加第一校验值;通过所述基带芯片向所述应用客户端发送经所述第二密钥加密和/或完整性保护的所述第二证书请求消息。
- 根据权利要求17所述的装置,其中,所述应用客户端,配置为通过所述第一通信单元向服务器发送第一请求消息,所述第一请求消息中包括经所述第二密钥加密和/或完整性保护的所述第二证书请求消息;所述第一请求消息中还包括:引导事务标识B-TID和/或服务器全限定域名FQDN。
- 根据权利要求16所述的装置,其中,所述第一生成单元包括:应用客户端、基带芯片和全球用户识别模块USIM;所述应用客户端,配置为通过所述第一通信单元接收来自所述服务器的第一响应消息,并通过所述基带芯片向所述USIM发送所述第一响应消息;所述USIM,配置为基于所述第二密钥对所述第一响应消息进行完整性校验和/或解密;校验通过后,获得所述第一响应消息中携带的数字证书,并在安全组件中存储所述数字证书。
- 根据权利要求15所述的装置,其中,所述装置还包括第一执行单元,配置为执行通用引导架构GBA认证流程或面向应用的认证和密钥管理AKMA认证流程,与网络设备协商所述第一密钥。
- 一种终端设备的配置装置,所述装置包括:第二通信单元和第一 校验单元;其中,所述第二通信单元,配置为接收来自终端设备的第一请求消息;所述第一请求消息中包括经第二密钥加密和/或完整性保护的证书请求消息;所述第一校验单元,配置为获得来自网络设备的所述第二密钥;所述第二密钥由所述网络设备基于第一密钥生成;还配置为基于所述第二密钥对所述第一请求消息进行完整性校验和/或解密,并在对所述第一请求消息授权通过后签发数字证书;所述第二通信单元,还配置为向所述终端设备发送第一响应消息,所述第一响应消息中包括所述数字证书。
- 根据权利要求21所述的装置,其中,所述第二通信单元,配置为构建包含有所述数字证书的第一响应消息,基于所述第二密钥对所述第一响应消息进行加密和/或完整性保护,在所述第一响应消息中添加第二校验值,向所述终端设备发送经上述处理后的第一响应消息。
- 根据权利要求21所述的装置,其中,所述第一请求消息中还包括:引导事务标识B-TID;所述装置还包括第二执行单元,配置为查询是否存在与所述B-TID对应的第二密钥;在查询结果为不存在与所述B-TID对应的第二密钥的情况下,通过所述第二通信单元获得来自网络设备的所述第二密钥。
- 一种终端设备的配置装置,所述装置包括第二生成单元和第三通信单元;其中,所述第二生成单元,配置为基于预先协商的第一密钥生成第二密钥;所述第三通信单元,配置为向服务器发送所述第二密钥。
- 根据权利要求24所述的装置,其中,所述装置还包括第三执行单元,配置为与终端设备通过执行通用引导架构GBA认证流程或面向应用的认证和密钥管理AKMA认证流程,与所述终端设备协商所述第一密钥。
- 根据权利要求24所述的装置,其中,所述第二生成单元,配置为基于预先协商的第一密钥,为每个服务器生成对应的第二密钥;所述第三通信单元,配置为分别向每个服务器发送所述对应的第二密钥。
- 一种终端设备的配置方法,所述方法包括:终端设备基于第一密钥生成第二密钥,基于所述第二密钥对第一消息的部分或全部进行加密和/或完整性保护;发送第一消息。
- 根据权利要求27所述的方法,其中,所述方法还包括:所述终端设备接收来自服务器的第二消息,基于所述第二密钥对所述第二消息进行完整性校验和/或解密。
- 根据权利要求27所述的方法,其中,所述终端设备包括:应用客户端、基带芯片和全球用户识别模块USIM;所述终端设备基于第一密钥生成第二密钥,基于所述第二密钥对第一消息的部分或全部进行加密和/或完整性保护,包括:所述应用客户端通过所述基带芯片触发所述USIM基于所述第一密钥生成第二密钥;所述应用客户端生成第一消息,并通过所述基带芯片向所述USIM发送所述第一消息;所述USIM基于所述第二密钥对所述第一消息的部分或全部进行加密和/或完整性保护;所述USIM通过所述基带芯片向所述应用客户端发送经上述处理后的所述第一消息。
- 根据权利要求29所述的方法,其中,所述发送第一消息,包括:所述应用客户端向服务器发送所述第一消息;所述第一消息中还包括:引导事务标识B-TID和/或服务器的全限定域名FQDN;或者包括:面向应用的认证或密钥管理AKMA密钥标识符A-KID和/或FQDN。
- 根据权利要求28所述的方法,其中,所述终端设备包括:应用客户端、基带芯片和全球用户识别模块USIM;所述终端设备接收来自服务器的第二消息,基于所述第二密钥对所述第二消息进行完整性校验和/或解密,包括:所述应用客户端接收来自所述服务器的第二消息,并通过所述基带芯片向所述USIM发送所述第二消息;所述USIM基于所述第二密钥对所述第二消息进行完整性校验和/或解密。
- 一种终端设备的配置方法,所述方法包括:服务器接收来自终端设备的第一消息,所述第一消息的部分或全部经第二密钥加密和/或完整性保护;所述服务器获得来自网络设备的所述第二密钥;所述第二密钥由所述网络设备基于第一密钥生成;所述服务器基于所述第二密钥对所述第一消息进行完整性校验和/或解密。
- 根据权利要求32所述的方法,其中,所述方法还包括:所述服务器基于所述第二密钥对第二消息的部分或全部进行加密和/或完整性保护;发送第二消息。
- 根据权利要求32所述的方法,其中,所述第一消息中还包括:引导事务标识B-TID,或者包括面向应用的认证或密钥管理AKMA密钥标识符A-KID;所述服务器获得来自网络设备的所述第二密钥,包括:所述服务器查询是否存在与所述B-TID或所述A-KID对应的第二密钥;在查询结果为不存在与所述B-TID或所述A-KID对应的第二密钥的情况下,获得来自网络设备的所述第二密钥。
- 一种终端设备的配置装置,所述装置包括:第三生成单元和第四通信单元;其中,所述第三生成单元,配置为基于第一密钥生成第二密钥,基于所述第二密钥对第一消息的部分或全部进行加密和/或完整性保护;所述第四通信单元,配置为发送第一消息。
- 根据权利要求35所述的装置,其中,所述第四通信单元,还配置为接收来自服务器的第二消息,基于所述第二密钥对所述第二消息进行完整性校验和/或解密。
- 根据权利要求35所述的装置,其中,所述第三生成单元包括:应用客户端、基带芯片和全球用户识别模块USIM;所述应用客户端,配置为通过所述基带芯片触发所述USIM基于所述第一密钥生成第二密钥;还配置为生成第一消息,并通过所述基带芯片向所述USIM发送所述第一消息;所述USIM,配置为基于所述第二密钥对所述第一消息的部分或全部进行加密和/或完整性保护;还配置为通过所述基带芯片向所述应用客户端发送经上述处理后的所述第一消息。
- 根据权利要求37所述的装置,其中,所述应用客户端,还配置为向服务器发送所述第一消息;所述第一消息中还包括:引导事务标识B-TID和/或服务器的全限定域名FQDN;或者包括:面向应用的认证或密钥管理AKMA密钥标识符A-KID 和/或FQDN。
- 根据权利要求36所述的装置,其中,所述第三生成单元包括:应用客户端、基带芯片和全球用户识别模块USIM;所述应用客户端,配置为接收来自所述服务器的第二消息,并通过所述基带芯片向所述USIM发送所述第二消息;所述USIM,配置为基于所述第二密钥对所述第二消息进行完整性校验和/或解密。
- 一种终端设备的配置装置,所述装置包括:第五通信单元和第二校验单元;其中,所述第五通信单元,配置为接收来自终端设备的第一消息,所述第一消息的部分或全部经第二密钥加密和/或完整性保护;所述第二校验单元,配置为获得来自网络设备的所述第二密钥;所述第二密钥由所述网络设备基于第一密钥生成;还配置为基于所述第二密钥对所述第一消息进行完整性校验和/或解密。
- 根据权利要求40所述的装置,其中,所述装置还包括第四生成单元,配置为基于所述第二密钥对第二消息的部分或全部进行加密和/或完整性保护;所述第五通信单元,还配置为发送第二消息。
- 根据权利要求40所述的装置,其中,所述第一消息中还包括:引导事务标识B-TID,或者包括面向应用的认证或密钥管理AKMA密钥标识符A-KID;所述装置还包括第四执行单元,配置为查询是否存在与所述B-TID或所述A-KID对应的第二密钥;所述第二校验单元,配置为在所述第四执行单元获得的查询结果为不存在与所述B-TID或所述A-KID对应的第二密钥的情况下,通过所述第五 通信单元获得来自网络设备的所述第二密钥。
- 一种计算机可读存储介质,其上存储有计算机程序,该程序被处理器执行时实现权利要求1至6任一项所述方法的步骤;或者,该程序被处理器执行时实现权利要求7至10任一项所述方法的步骤;或者,该程序被处理器执行时实现权利要求11至14任一项所述方法的步骤;或者,该程序被处理器执行时实现权利要求27至31任一项所述方法的步骤;或者,该程序被处理器执行时实现权利要求32至34任一项所述方法的步骤。
- 一种通信设备,包括存储器、处理器及存储在存储器上并可在处理器上运行的计算机程序,所述处理器执行所述程序时实现权利要求1至6任一项所述方法的步骤;或者,所述处理器执行所述程序时实现权利要求7至10任一项所述方法的步骤;或者,所述处理器执行所述程序时实现权利要求11至14任一项所述方法的步骤;或者,所述处理器执行所述程序时实现权利要求27至31任一项所述方法的步骤;或者,所述处理器执行所述程序时实现权利要求32至34任一项所述方法的步骤。
Priority Applications (7)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CA3213048A CA3213048A1 (en) | 2021-03-22 | 2022-03-22 | Configuration method and apparatus for terminal device, and communication device |
| AU2022245724A AU2022245724B2 (en) | 2021-03-22 | 2022-03-22 | Configuration method and apparatus for terminal device, and communication device |
| BR112023019397A BR112023019397A2 (pt) | 2021-03-22 | 2022-03-22 | Método para configurar um dispositivo de terminal, e dispositivo de comunicação |
| EP22774225.1A EP4297443B1 (en) | 2021-03-22 | 2022-03-22 | Configuration method and apparatus for terminal device, and communication device |
| MX2023011195A MX2023011195A (es) | 2021-03-22 | 2022-03-22 | Metodo y aparato de configuracion para dispositivo terminal, y dispositivo de comunicacion. |
| US18/551,861 US12490093B2 (en) | 2021-03-22 | 2022-03-22 | Configuration method and apparatus for terminal device, and communication device |
| JP2023558176A JP7766706B2 (ja) | 2021-03-22 | 2022-03-22 | 端末機器の構成方法、装置及び通信機器 |
Applications Claiming Priority (4)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202110304444 | 2021-03-22 | ||
| CN202110304444.4 | 2021-03-22 | ||
| CN202111217636.8A CN115119166B (zh) | 2021-03-22 | 2021-10-19 | 一种终端设备的配置方法、装置和通信设备 |
| CN202111217636.8 | 2021-10-19 |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| WO2022199569A1 true WO2022199569A1 (zh) | 2022-09-29 |
Family
ID=83325109
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| PCT/CN2022/082192 Ceased WO2022199569A1 (zh) | 2021-03-22 | 2022-03-22 | 一种终端设备的配置方法、装置和通信设备 |
Country Status (9)
| Country | Link |
|---|---|
| US (1) | US12490093B2 (zh) |
| EP (1) | EP4297443B1 (zh) |
| JP (1) | JP7766706B2 (zh) |
| CN (2) | CN120825685A (zh) |
| AU (1) | AU2022245724B2 (zh) |
| BR (1) | BR112023019397A2 (zh) |
| CA (1) | CA3213048A1 (zh) |
| MX (1) | MX2023011195A (zh) |
| WO (1) | WO2022199569A1 (zh) |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| EP4694255A4 (en) * | 2023-03-24 | 2026-02-25 | Beijing Xiaomi Mobile Software Co Ltd | APPROVAL METHOD FOR KEYS, DEVICES, APPROVALS AND STORAGE SUPPORTS |
Families Citing this family (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US12425827B2 (en) * | 2022-05-26 | 2025-09-23 | Qualcomm Incorporated | Managing processing of a basic safety message |
| CN115915133B (zh) * | 2022-11-09 | 2025-10-28 | 浙江钧信保安服务有限公司 | 一种基于商用密码的移动终端证书调用存储方法及系统 |
| US12587854B2 (en) | 2024-01-25 | 2026-03-24 | Qualcomm Incorporated | Downlink message protection for ambient wireless devices |
Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN101808286A (zh) * | 2010-03-16 | 2010-08-18 | 西安西电捷通无线网络通信股份有限公司 | 一种适合集群系统的组播密钥协商方法及系统 |
| WO2015144042A1 (zh) * | 2014-03-27 | 2015-10-01 | 西安西电捷通无线网络通信股份有限公司 | 一种网络鉴权认证的方法及设备 |
| CN106797564A (zh) * | 2014-09-26 | 2017-05-31 | 高通股份有限公司 | 请求式服务网络认证 |
| CN110958229A (zh) * | 2019-11-20 | 2020-04-03 | 南京理工大学 | 一种基于区块链的可信身份认证方法 |
| CN112449323A (zh) * | 2019-08-14 | 2021-03-05 | 华为技术有限公司 | 一种通信方法、装置和系统 |
Family Cites Families (13)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| DE112008002860T5 (de) * | 2007-10-23 | 2010-12-09 | Telefonaktiebolaget L M Ericsson (Publ) | Verfahren und Vorrichtung für das Bereitstellen einer sicheren Verknüpfung mit einer Benutzeridentität in einem System für digitale Rechteverwaltung |
| CN101938520B (zh) * | 2010-09-07 | 2015-01-28 | 中兴通讯股份有限公司 | 一种基于移动终端签名的远程支付系统及方法 |
| CN102202306B (zh) * | 2011-06-13 | 2014-02-05 | 中国电信股份有限公司 | 移动安全认证终端及方法 |
| US9350550B2 (en) | 2013-09-10 | 2016-05-24 | M2M And Iot Technologies, Llc | Power management and security for wireless modules in “machine-to-machine” communications |
| WO2017091959A1 (zh) * | 2015-11-30 | 2017-06-08 | 华为技术有限公司 | 一种数据传输方法、用户设备和网络侧设备 |
| CN106888449B (zh) * | 2015-12-15 | 2020-10-16 | 中国移动通信集团公司 | 基于usim应用信息处理方法及系统 |
| JP6515080B2 (ja) | 2016-12-02 | 2019-05-15 | Kddi株式会社 | 情報処理システム、情報処理方法、及びプログラム |
| CN108667781A (zh) * | 2017-04-01 | 2018-10-16 | 西安西电捷通无线网络通信股份有限公司 | 一种数字证书管理方法及设备 |
| JP7139621B2 (ja) | 2018-02-27 | 2022-09-21 | 大日本印刷株式会社 | 電子情報記憶媒体、通信プログラム、及び通信デバイス |
| CN109121135A (zh) | 2018-08-23 | 2019-01-01 | 刘高峰 | 基于gba的客户端注册和密钥共享方法、装置及系统 |
| CN111404670A (zh) * | 2019-01-02 | 2020-07-10 | 中国移动通信有限公司研究院 | 一种密钥生成方法、ue及网络设备 |
| WO2020199134A1 (en) * | 2019-04-02 | 2020-10-08 | Qualcomm Incorporated | Methods and systems for provisioning of certificates for vehicle-based communication |
| WO2020249861A1 (en) * | 2019-06-08 | 2020-12-17 | Nokia Technologies Oy | Communication security between user equipment and third-party application using communication network-based key |
-
2021
- 2021-10-19 CN CN202511110780.XA patent/CN120825685A/zh active Pending
- 2021-10-19 CN CN202111217636.8A patent/CN115119166B/zh active Active
-
2022
- 2022-03-22 JP JP2023558176A patent/JP7766706B2/ja active Active
- 2022-03-22 WO PCT/CN2022/082192 patent/WO2022199569A1/zh not_active Ceased
- 2022-03-22 BR BR112023019397A patent/BR112023019397A2/pt unknown
- 2022-03-22 US US18/551,861 patent/US12490093B2/en active Active
- 2022-03-22 AU AU2022245724A patent/AU2022245724B2/en active Active
- 2022-03-22 MX MX2023011195A patent/MX2023011195A/es unknown
- 2022-03-22 EP EP22774225.1A patent/EP4297443B1/en active Active
- 2022-03-22 CA CA3213048A patent/CA3213048A1/en active Pending
Patent Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN101808286A (zh) * | 2010-03-16 | 2010-08-18 | 西安西电捷通无线网络通信股份有限公司 | 一种适合集群系统的组播密钥协商方法及系统 |
| WO2015144042A1 (zh) * | 2014-03-27 | 2015-10-01 | 西安西电捷通无线网络通信股份有限公司 | 一种网络鉴权认证的方法及设备 |
| CN106797564A (zh) * | 2014-09-26 | 2017-05-31 | 高通股份有限公司 | 请求式服务网络认证 |
| CN112449323A (zh) * | 2019-08-14 | 2021-03-05 | 华为技术有限公司 | 一种通信方法、装置和系统 |
| CN110958229A (zh) * | 2019-11-20 | 2020-04-03 | 南京理工大学 | 一种基于区块链的可信身份认证方法 |
Non-Patent Citations (1)
| Title |
|---|
| See also references of EP4297443A4 |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| EP4694255A4 (en) * | 2023-03-24 | 2026-02-25 | Beijing Xiaomi Mobile Software Co Ltd | APPROVAL METHOD FOR KEYS, DEVICES, APPROVALS AND STORAGE SUPPORTS |
Also Published As
| Publication number | Publication date |
|---|---|
| EP4297443A4 (en) | 2024-07-10 |
| MX2023011195A (es) | 2024-01-05 |
| BR112023019397A2 (pt) | 2023-11-07 |
| JP7766706B2 (ja) | 2025-11-10 |
| JP2024512011A (ja) | 2024-03-18 |
| AU2022245724B2 (en) | 2025-04-24 |
| US12490093B2 (en) | 2025-12-02 |
| EP4297443A1 (en) | 2023-12-27 |
| EP4297443B1 (en) | 2025-11-05 |
| CN115119166A (zh) | 2022-09-27 |
| US20240179523A1 (en) | 2024-05-30 |
| CN120825685A (zh) | 2025-10-21 |
| CN115119166B (zh) | 2025-09-05 |
| CA3213048A1 (en) | 2022-09-29 |
| AU2022245724A1 (en) | 2023-10-12 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN113015159B (zh) | 初始安全配置方法、安全模块及终端 | |
| AU2020396746B2 (en) | Provisioning method and terminal device | |
| WO2022199569A1 (zh) | 一种终端设备的配置方法、装置和通信设备 | |
| WO2022252992A1 (zh) | 用户数据授权方法及用户数据授权系统 | |
| CN109547464A (zh) | 用于存储和执行访问控制客户端的方法及装置 | |
| CN112994873B (zh) | 一种证书申请方法及设备 | |
| CN109218263A (zh) | 一种控制方法及装置 | |
| CN114095919B (zh) | 一种基于车联网的证书授权处理方法及相关设备 | |
| CN118843111B (zh) | 一种车联网通信方法、系统、设备及存储介质 | |
| CN111600903A (zh) | 一种通信方法、系统、设备及可读存储介质 | |
| KR20190078154A (ko) | 차량용 통합 인증 장치 및 방법 | |
| CN116260584A (zh) | 通信方法、系统、装置、相关设备及存储介质 | |
| CN119483915A (zh) | 一种远程证明方法、装置及相关设备 | |
| CN117118628A (zh) | 电力物联网轻量级身份认证方法、装置及电子设备 | |
| CN108702615A (zh) | 保护接口以及用于建立安全通信链路的过程 | |
| CN113422753A (zh) | 数据处理方法、装置、电子设备及计算机存储介质 | |
| CN118473715B (zh) | 一种基于ukey证书的协同签名开通方法及系统 | |
| CN121125104A (zh) | 机密计算的远程验证方法、装置、相关设备、存储介质及计算机程序产品 | |
| CN120185811A (zh) | 一种设备可信接入方法、装置、设备及存储介质 | |
| CN120896692A (zh) | 量子安全基础设施的密钥分发方法、装置、设备及介质 | |
| HK40059898A (zh) | 数据处理方法、装置、电子设备及计算机存储介质 | |
| CN118413362A (zh) | 一种基于ukey证书的协同签名跨渠道开通方法及系统 | |
| CN121463031A (zh) | T-box与ivi安全鉴权方法、系统、电子设备及计算机可读介质 | |
| CN118827105A (zh) | 安全通信方法、装置、相关设备及存储介质 |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| 121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 22774225 Country of ref document: EP Kind code of ref document: A1 |
|
| WWE | Wipo information: entry into national phase |
Ref document number: 18551861 Country of ref document: US Ref document number: MX/A/2023/011195 Country of ref document: MX Ref document number: 2023558176 Country of ref document: JP Ref document number: 3213048 Country of ref document: CA |
|
| WWE | Wipo information: entry into national phase |
Ref document number: 2022774225 Country of ref document: EP |
|
| WWE | Wipo information: entry into national phase |
Ref document number: 2022245724 Country of ref document: AU Ref document number: AU2022245724 Country of ref document: AU |
|
| REG | Reference to national code |
Ref country code: BR Ref legal event code: B01A Ref document number: 112023019397 Country of ref document: BR |
|
| ENP | Entry into the national phase |
Ref document number: 2022774225 Country of ref document: EP Effective date: 20230922 |
|
| ENP | Entry into the national phase |
Ref document number: 2022245724 Country of ref document: AU Date of ref document: 20220322 Kind code of ref document: A |
|
| WWE | Wipo information: entry into national phase |
Ref document number: 202317072317 Country of ref document: IN |
|
| NENP | Non-entry into the national phase |
Ref country code: DE |
|
| WWE | Wipo information: entry into national phase |
Ref document number: 11202307186T Country of ref document: SG |
|
| ENP | Entry into the national phase |
Ref document number: 112023019397 Country of ref document: BR Kind code of ref document: A2 Effective date: 20230922 |
|
| WWG | Wipo information: grant in national office |
Ref document number: 2022774225 Country of ref document: EP |