Digital key sharing method and device based on digital key cloud platform and medium
Through the introduction of the digital key cloud platform, the problem of digital keys being unable to be managed and shared in a unified manner has been solved, and the flexible sharing and management of digital keys has been realized, which has improved the convenience of use.
Patent Information
- Application Number
- CN202411546303.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-01
- Publication Date
- 2024-12-06
AI Technical Summary
The generation and use of digital keys require point-to-point connection, which makes it impossible to manage digital keys of different vehicle OEMs in a unified manner. Digital keys are usually only found in the mobile phones of car owners, making them difficult to share, reducing the flexibility of use.
Introduce a digital key cloud platform, obtain the shared request initiated by the car owner device through the friend device, parse and add the public key, update it to a signature request, use the private key of the car owner device to sign, update the signature request to an activation request, and send the public key of the friend device to Cloud platform registration realizes the sharing and unified management of digital keys.
It improves the flexibility and convenience of using digital keys, allows friend equipment to control the vehicle, and realizes unified sharing management of digital keys.
Smart Images

Figure CN119095034A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of smart keys, and in particular to a digital key sharing method, device and medium based on a digital key cloud platform. Background Art
[0002] With the development of smart vehicle technology, more and more vehicles are equipped with digital key systems. Compared with traditional keys, digital keys are easy to carry. However, the generation and use of digital keys requires a point-to-point connection between the device original equipment manufacturer (Device Original Equipment Manufacture, Device OEM) server of the mobile terminal (mobile phone) and the vehicle original equipment manufacturer (Vehicle Original Equipment Manufacture, Vehicle OEM) server, but the digital keys generated by different vehicle OEMs cannot be managed uniformly. In addition, digital keys are generally activated through the user's mobile phone and only exist in the owner's mobile phone. Usually, the owner can only control the vehicle through the mobile phone that activates the digital key, and other mobile devices cannot control it. In this case, since digital keys are not easy to share, the flexibility of using digital keys is greatly reduced. Summary of the invention
[0003] The purpose of the embodiments of the present invention is to provide a digital key sharing method, device and medium based on a digital key cloud platform, utilize the digital key cloud platform to achieve digital key sharing through unified management, and improve the flexibility and convenience of digital key use.
[0004] In order to solve the above technical problems, an embodiment of the present invention provides a digital key sharing method based on a digital key cloud platform, comprising: The friend device obtains the sharing request of the digital key initiated by the car owner device, parses the sharing request, adds the public key of the friend device thereto, and updates the sharing request to a signature request; the sharing request at least includes API endpoint configuration information, control authority data to be shared, and protocol version information of the digital key; the car owner device obtains the signature request, signs the public key with the private key of the car owner device, adds the signed public key to the signature request, and updates the signature request to an activation request; the friend device obtains the activation request, sends the signed public key to the digital key cloud platform to register it as activated, the shared key of the friend device takes effect, and the digital key sharing is completed.
[0005] In addition, in some embodiments, before the friend device as described above obtains the sharing request of the digital key initiated by the car owner device, it includes: the car owner device initiates the sharing request of the digital key, encrypts the sharing request and sends it to the relay server; in response to the sharing request, the relay server creates a transit mailbox for storing the sharing request, and returns a URL link to the car owner device; the car owner device adds a key to the URL link, and sends the URL link as a sharing invitation to the friend device.
[0006] In addition, in some embodiments, the friend device as described above obtains the sharing request of the digital key initiated by the car owner device, including: the friend device accepts the sharing invitation, requests the relay server to obtain the sharing request through the URL link; obtains the sharing request returned by the relay server, and decrypts the sharing request using the key.
[0007] In addition, in some embodiments, after the friend device as described above updates the sharing request to a signature request, it includes: the friend device encrypts the signature request and sends it to the relay server; the relay server adds the public key to the transfer mailbox based on the signature request to update the information stored in the transfer mailbox; after the transfer mailbox is updated, the relay server sends a first update notification to the vehicle owner device.
[0008] In addition, in some embodiments, the vehicle owner device as described above obtains the signature request, including: the vehicle owner device responds to the first update notification, requests the relay server to obtain the signature request; after obtaining the signature request returned by the relay server, decrypts the signature request.
[0009] In addition, in some embodiments, after the vehicle owner device as described above updates the signature request to the activation request, it includes: the vehicle owner device encrypts the activation request and sends it to the relay server; the relay server adds the signed public key to the transfer mailbox based on the activation request to update the information stored in the transfer mailbox; after the transfer mailbox is updated, the relay server sends a second update notification to the friend device.
[0010] In addition, in some embodiments, the friend device obtaining the activation request as described above includes: the friend device responding to the second update notification, requesting the relay server to obtain the activation request; after obtaining the activation request returned by the relay server, decrypting the activation request.
[0011] In addition, in some embodiments, before the friend device as described above sends the signed public key to the digital key cloud platform to register as an activated state, it also includes: the friend device sends a deletion instruction to the relay server, and the deletion instruction is used to instruct the relay server to delete the transit mailbox.
[0012] In addition, in some embodiments, the method described above also includes: the vehicle owner device initiates a shared key termination request, the termination request carries the ID information of the shared key, and the shared key is the control authority data shared by the digital key to the friend device; the digital key cloud platform forwards the termination request to the vehicle corresponding to the digital key using telematics; in response to the termination request, the vehicle deletes the shared key and informs the digital key cloud platform; the digital key cloud platform registers the shared key as deleted in the vehicle.
[0013] In addition, in some embodiments, after the digital key cloud platform as described above registers the shared key as deleted in the vehicle, it also includes: the friend device server receives a management instruction issued by the digital key cloud platform, and the management instruction includes the termination request; in response to the management instruction, the friend device server sends the termination request to the friend device; in response to the termination request, the friend device deletes the shared key and informs the digital key cloud platform.
[0014] In addition, in some embodiments, after the friend device as described above deletes the shared key and informs the digital key cloud platform, it also includes: the digital key cloud platform registers the shared key as a status of being deleted in the friend device; and initiates a termination notification to the owner device, wherein the termination notification is used to respond to the termination request and inform the user that the shared key has been terminated.
[0015] An embodiment of the present invention also provides an electronic device, comprising: at least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can execute the digital key sharing method based on the digital key cloud platform as described above.
[0016] An embodiment of the present invention further provides a computer-readable storage medium storing a computer program, which, when executed by a processor, implements the digital key sharing method based on the digital key cloud platform as described above.
[0017] The embodiment of the present invention introduces a digital key cloud platform, which performs unified management of digital key sharing. The friend device obtains the digital key sharing request initiated by the car owner device, parses the sharing request, adds the public key of the friend device to it, and updates the sharing request to a signature request; the sharing request contains at least the required API endpoint configuration information, the control authority to be shared, and the protocol version information of the digital key; the car owner device obtains the signature request, signs the public key with the private key of the car owner device, replaces the public key with the signed public key and adds the signed public key to the signature request, and updates the signature request to an activation request; the friend device obtains the activation request, sends the signed public key to the digital key cloud platform to register it as activated, the shared key of the friend device takes effect, and the digital key sharing is completed. That is, this solution uses the private key of the owner's device that already has the digital key to sign the public key of the friend's device, and registers and activates the signed public key of the friend's device on the digital key cloud platform. After registration is completed, when the friend's device is used to approach the vehicle for the first time to control it, the friend's device will send the signed public key together with the public key to the vehicle. Since the public key of the owner's device with the digital key is already stored inside the vehicle, the vehicle will use the public key of the owner's device to verify the signature. After the verification is passed, the public key of the friend's device will be added to the vehicle storage. The friend's device can control the vehicle, and the digital key is successfully shared to the friend's device, that is, the shared key of the friend's device takes effect. The above method can realize unified shared management of digital keys, and improve the flexibility and convenience of shared use of digital keys. BRIEF DESCRIPTION OF THE DRAWINGS
[0018] One or more embodiments are exemplarily described by the pictures in the corresponding drawings, and these exemplary descriptions do not constitute limitations on the embodiments.
[0019] Figure 1 The specific process of the digital key sharing method based on the digital key cloud platform according to one embodiment of the present invention is as follows: Figure 1 ; Figure 2 This is a specific process of a digital key sharing method based on a digital key cloud platform according to another embodiment of the present invention. Figure 2 ; Figure 3 This is a specific process of a digital key sharing method based on a digital key cloud platform according to another embodiment of the present invention. Figure 3 ; Figure 4 is a schematic structural diagram of an electronic device according to an embodiment of the present invention. DETAILED DESCRIPTION
[0020] To make the purpose, technical scheme and advantages of the embodiments of the present invention clearer, the embodiments of the present invention will be described in detail below in conjunction with the accompanying drawings. However, it will be appreciated by those skilled in the art that in the embodiments of the present invention, many technical details are proposed in order to enable the reader to better understand the present application. However, even without these technical details and various changes and modifications based on the following embodiments, the technical scheme claimed in the present application can be implemented. The division of the following embodiments is for the convenience of description and should not constitute any limitation on the specific implementation of the present application. The various embodiments can be combined and referenced with each other without contradiction.
[0021] Before explaining this solution in detail, let's first explain the implementation background of this solution. This solution is based on the CCC (Car Connectivity Consortium, 3C) Digital Key (DK) specification. 3C is a global cross-industry organization dedicated to developing standards for smartphone-to-car connectivity solutions. In July 2021, CCC defined UWB (Ultra Wide Band) technology as the core technology of the third-generation digital key and released the CCC R3 (third-generation digital key) specification. CCC R3 is based on NFC (Near Field Communication) / BLE (Bluetooth Low Energy) / UWB as the basic radio technology. The system uses asymmetric cryptography technology to perform mutual signature authentication between vehicles and devices, and only displays the identity of known vehicles. Only by using the private key signature calculation corresponding to the public key stored in the vehicle, the device can unlock the vehicle, start the engine, and other functions. However, in the process of mutual signature authentication between the vehicle and the device, the corresponding device OEM server and the vehicle OEM server need to be connected for data exchange, and the digital key systems of different vehicle OEMs operate independently, and different vehicle OEMs need to manage the connection of different brand equipment OEMs. The connection process is cumbersome, and the digital keys of different vehicle OEMs cannot be managed uniformly. In addition, the digital key is generally activated through the user's mobile phone and only exists in the owner's mobile phone. Usually, the owner can only control the vehicle through the mobile phone that activates the digital key, and other mobile devices cannot control it. In this case, since the digital key is not easy to share, the flexibility of using the digital key is greatly reduced.
[0022] To solve the above problems, the embodiment of the present invention provides a digital key sharing method based on a digital key cloud platform. This embodiment introduces a digital key cloud platform that is connected to the vehicle OEM server and the terminal device OEM server to form a cloud, and combines with the terminal (mobile terminal, vehicle) to realize the sharing operation of the digital key. Figure 1 As shown, the method of this embodiment specifically includes the following steps: Step 101: The friend device obtains the digital key sharing request initiated by the car owner device, parses the sharing request, adds the public key of the friend device to it, and updates the sharing request to a signature request; the sharing request contains at least API (Application Programming Interface) endpoint configuration information, control authority data to be shared, and protocol version information of the digital key.
[0023] Before describing the content of this embodiment in detail, it is necessary to explain the execution background of this step. When the car owner device of this embodiment initiates the digital key sharing request, the car owner device has successfully activated the digital key of the vehicle on the digital key cloud platform (HUB) through its device OEM server. Therefore, the vehicle can obtain the information that the digital key of the vehicle is successfully activated by the digital key cloud platform through the vehicle OEM server, and can control the vehicle. In other words, at this time, the public key of the car owner device has been stored in the vehicle, so the vehicle can execute the control of the car owner device.
[0024] Specifically, when a user (i.e., the car owner) wants to share his digital key with a friend, he can initiate a digital key sharing request. The friend device obtains the digital key sharing request initiated by the car owner device and obtains the information contained therein by parsing the sharing request. The information in the sharing request includes at least API endpoint configuration information, the control authority to be shared, and the protocol version information of the digital key. In addition, the sharing request may also include attribute information related to the digital key, such as: the display style of the key, whether a password is required to enable, etc., which is not limited in this embodiment. Among them, after the friend device obtains the API endpoint configuration information, it uses the API endpoint configuration information to create an API endpoint for transmitting a signature request to the outside; the control authority to be shared is used to enable the friend device to control the corresponding permission function after the digital key is successfully shared, such as: opening and closing the lock, finding the car, opening and closing the window, etc., which is not specifically limited in this embodiment. After the friend device obtains the sharing request, it adds the public key of the friend device to the sharing request, and updates the sharing request after adding the public key of the friend device to the signature request and initiates the signature request. That is, the information contained in the signature request has one more public key of the friend device than the sharing request. The public key of the friend's device specifically refers to the public key of the digital certificate of the friend's device, which will not be described in detail below.
[0025] It should be noted that the owner device and the friend device in this embodiment are electronic devices with wireless communication functions such as Bluetooth and capable of installing applications, and may be smart phones, and the present invention does not impose specific restrictions on this. In addition, the vehicle targeted by this solution must support the digital key function and the OEM of the vehicle has access to the digital key cloud platform, and the OEM of the device to which the owner device and the friend device belong has also accessed the digital key cloud platform.
[0026] In an example, Figure 2 As shown, before step 101 is executed, the steps of this embodiment also include: Step 201: The vehicle owner's device initiates a digital key sharing request, encrypts the sharing request and sends it to the relay server; Step 202: In response to the sharing request, the relay server creates a transfer mailbox for storing the sharing request and returns a URL (Uniform Resource Locator) link to the vehicle owner device; Step 203: The vehicle owner's device adds a key to the URL link and sends the URL link to the friend's device as a sharing invitation.
[0027] Specifically, since the owner device and the friend device may come from different manufacturers and are connected to different device OEM servers, they cannot directly exchange data. Therefore, this embodiment introduces a relay server to connect the owner device OEM server and the friend device OEM server, thereby realizing the transmission and interaction of data between the owner device and the friend device. The owner device initiates a digital key sharing request to the relay server. After receiving the sharing request, the relay server creates a transit mailbox (mailbox) to store the sharing request and the various information contained therein (API endpoint configuration information, control permissions to be shared, and protocol version information of the digital key, etc.). The transit mailbox (Maibox) is a data structure used to pass messages or events in asynchronous programming. It allows a thread or process to send a message to another thread or process without explicit shared memory or locking. The sender puts the message in the mailbox, and the receiver can read the message from the mailbox. After creating the transit mailbox, the relay server returns a URL link to the owner device, and the owner device adds a key to the URL link and provides the key to the friend device for it to decrypt the encrypted sharing request of the owner device obtained later. The car owner's device sends the URL link as a sharing invitation to the friend's device to invite the friend's device to enter the digital key sharing process. The URL link may also include information on whether NFC, BLE, UWB and other functions are supported, the brand of the car, and the activation password, etc. This embodiment does not make specific restrictions on this.
[0028] Accordingly, at this time, step 101 may specifically include: the friend device accepts the sharing invitation, requests the relay server to obtain a sharing request through a URL link; obtains the sharing request returned by the relay server, and decrypts the sharing request using a key.
[0029] Specifically, after the car owner device sends the URL link as a sharing invitation to the friend device, the action of clicking the URL link can be regarded as accepting the sharing invitation. After the friend device accepts the sharing invitation, it requests the relay server to obtain the sharing request through the URL link, that is, requests to obtain various information contained in the sharing request. This embodiment will not be described in detail later. The sharing request is obtained from the transit mailbox of the relay server and returned to the friend device. The friend device uses the key in the URL link to decrypt the obtained sharing request, and adds the public key of the friend device to the sharing request, and then updates the sharing request to a signed request.
[0030] In another example, after the friend device updates the sharing request to a signature request, the following steps include: the friend device encrypts the signature request and sends it to the relay server; the relay server adds the public key to the transit mailbox based on the signature request to update the information stored in the transit mailbox; after the transit mailbox is updated, the relay server sends a first update notification to the vehicle owner device.
[0031] Specifically, the friend device encrypts the signature request according to the key in the URL link so that the car owner device can decrypt it. After encryption, it is sent to the relay server to request to update the information stored in the transfer mailbox. The relay server adds the public key to the transfer mailbox according to the signature request to complete the information update. After the update is completed, the relay server sends a first update notification to the car owner device to inform the car owner device of the update status of the transfer mailbox.
[0032] Step 102: The vehicle owner device obtains the signature request, uses the private key of the vehicle owner device to sign the public key, adds the signed public key to the signature request, and updates the signature request to an activation request.
[0033] Specifically, after the friend device initiates a signature request, the car owner device obtains the signature request, obtains the public key of the friend device contained therein by parsing the signature request, and uses the private key of the car owner device's digital certificate to sign the public key of the friend device to obtain the signed public key (of the friend device), adds the signed public key to the signature request, updates the signature request to an activation request, and then initiates the activation request. Compared with the signature request, the activation request contains one more piece of information, the signed public key.
[0034] In one example, the vehicle owner device obtaining the signature request in step 102 may specifically include: the vehicle owner device responds to the first update notification and requests the relay server to obtain the signature request; after obtaining the signature request returned by the relay server, decrypting the signature request.
[0035] Specifically, after the car owner device learns that the transfer mailbox has been updated, it requests the relay server to obtain the signature request in the transfer mailbox. After obtaining the signature request, the car owner device parses it to obtain the public key of the friend device added by the friend device, and uses the private key of the car owner device to sign the public key of the friend device.
[0036] In another example, after the car owner device in step 102 updates the signature request to an activation request, it also includes: the car owner device encrypts the activation request and sends it to the relay server; the relay server adds the signed public key to the transit mailbox based on the activation request to update the information stored in the transit mailbox; after the transit mailbox is updated, the relay server sends a second update notification to the friend device.
[0037] Specifically, the car owner's device encrypts the activation request and sends it to the relay server to request the update of the information stored in the transfer mailbox. The relay server adds the signed public key to the transfer mailbox based on the signature request to complete the information update. After the update is completed, the relay server sends a second update notification to the friend's device to notify the friend's device of the update of the transfer mailbox.
[0038] Correspondingly, the friend device responds to the second update notification and requests the relay server to obtain an activation request; after obtaining the activation request returned by the relay server, the activation request is decrypted to obtain the public key signed by the private key of the owner's device.
[0039] Step 103: The friend's device obtains the activation request and sends the signed public key to the digital key cloud platform to register it as activated. The shared key of the friend's device takes effect and the digital key sharing is completed.
[0040] Specifically, after the owner device initiates an activation request, the friend device obtains the activation request, parses the activation request to obtain the signed public key contained therein, sends the signed public key to the digital key cloud platform to register as an activated state, and returns it to the friend device, notifying the friend device that the activation is complete. At this point, the digital key cloud platform has stored the public key of the friend device registered as an activated state. It should be noted that after the registration with the digital key cloud platform is completed, a unique ID information will be generated for the registered public key to identify the public key. After receiving the activation notification, when the friend device approaches the vehicle for the first time to control it, the friend device will send its signed public key together with its public key to the vehicle. Since the public key of the owner device has been stored inside the vehicle, the vehicle will use the public key of the owner device to verify the public key of the friend device signed by the private key of the owner device. After the verification is passed, the public key of the friend device will be added to the vehicle storage. The friend device can have the corresponding control authority over the vehicle based on the authority data obtained in the sharing request, which is equivalent to having the "shared key" shared by the digital key. It should be noted that the shared key is not a physical key, but refers to the control authority of the vehicle owned by the friend device.
[0041] In one example, before the friend device sends the signed public key to the digital key cloud platform to register as an activated state, it also includes: the friend device sends a deletion instruction to the relay server, and the deletion instruction is used to instruct the relay server to delete the transit mailbox, thereby deleting all information stored in the transit mailbox to ensure information security.
[0042] Compared with the related art, the embodiment of the present invention introduces a digital key cloud platform, uses a friend device to obtain a sharing request for a digital key initiated by a car owner device, parses the sharing request, adds the public key of the friend device thereto, and updates the sharing request to a signature request; the sharing request includes at least the required API endpoint configuration information, the control authority to be shared, and the protocol version information of the digital key; the car owner device obtains the signature request, uses the private key of the car owner device to sign the public key, adds the signed public key to the signature request instead of the public key, and updates the signature request to an activation request; the friend device obtains the activation request, sends the signed public key to the digital key cloud platform to register it as an activated state and returns it to the friend device, thereby completing the digital key sharing. That is, this solution uses the private key of the owner's device that already has the digital key to sign the public key of the friend's device, and registers and activates the signed public key of the friend's device on the digital key cloud platform. After registration is completed, when the friend's device approaches the vehicle for the first time to control it, the friend's device will send the signed public key together with the public key to the vehicle. Since the public key of the owner's device with the digital key is already stored inside the vehicle, the vehicle will use the public key of the owner's device to verify the signature. After the verification is passed, the public key of the friend's device will be added to the vehicle storage. The friend's device can control the vehicle, and the digital key is successfully shared to the friend's device, thereby improving the flexibility and convenience of using the digital key. The digital key status is recorded through the digital key cloud platform throughout the process to facilitate the management of the digital key after sharing.
[0043] Another embodiment of the present invention relates to a digital key sharing method based on a digital key cloud platform. This embodiment is a supplement to the above-mentioned embodiment and specifically includes the following contents: In an example, Figure 3 As shown, after sharing the digital key for a period of time, when the car owner wants to terminate the control of the vehicle by the friend's device, the following steps 301-304 can be performed.
[0044] Step 301: The car owner device initiates a shared key termination request, which carries the ID information of the shared key. The shared key is the control authority data shared by the car owner device to the friend device.
[0045] Specifically, the car owner device initiates a shared key termination request to the digital key cloud platform through the device OEM server of the car owner device. The termination request carries the ID information of the shared key, which is generated on the digital key cloud platform during registration and activation and is used to uniquely identify the shared key. After receiving the termination request, the digital key cloud platform returns a response to the car owner device and executes step 302.
[0046] Step 302: The digital key cloud platform uses telematics to forward the termination request to the vehicle corresponding to the digital key.
[0047] Specifically, when the vehicle OEM server and the vehicle are both online, the digital key cloud platform uses telematics to forward the termination request to the vehicle corresponding to the digital key through the vehicle OEM server. If the digital key cloud platform does not meet the condition that the vehicle OEM server and the vehicle are both online when receiving the termination request, the digital key cloud platform temporarily caches the termination request until the vehicle OEM server and the vehicle are both online and forward the termination request.
[0048] Step 303: In response to the termination request, the vehicle deletes the shared key and informs the digital key cloud platform.
[0049] Specifically, after the vehicle receives the termination request forwarded by the vehicle OEM server, the vehicle executes the operation of deleting the shared key and notifies the digital key cloud platform. Specifically, the vehicle's operation of deleting the shared key can be understood as the vehicle deleting the public key of the friend's device from its own storage, and after the deletion operation is completed, the vehicle uses remote control to notify the digital key cloud platform of the deletion result through the vehicle OEM server.
[0050] Step 304: The digital key cloud platform registers the shared key as deleted in the vehicle.
[0051] Specifically, the digital key cloud platform changes the registration status of the shared key, registers the shared key as deleted in the vehicle, and notifies the friend device OEM server of the deletion result.
[0052] In one example, after the digital key cloud platform registers the shared key as deleted in the vehicle, it also includes: The friend device server receives a management instruction issued by the digital key cloud platform, which includes a termination request; in response to the management instruction, the friend device (OEM) server sends a termination request to the friend device; in response to the termination request, the friend device deletes the shared key and informs the digital key cloud platform.
[0053] Specifically, the friend device deleting the shared key can be understood as deleting the control authority data stored in the friend device and shared by the owner device to the friend device.
[0054] After the friend's device deletes the shared key and informs the digital key cloud platform, it also includes: the digital key cloud platform registers the shared key as deleted in the friend's device; initiates a termination notification to the owner's device, the termination notification is used to respond to the termination request, and informs the user that the shared key has been terminated.
[0055] Compared with the related art, this embodiment actively initiates a termination request when the user wants to terminate the sharing of the digital key. The key that has been shared with the friend can be successfully deleted through the interaction between the digital key cloud platform and the vehicle end and the friend's device end, thereby improving the management efficiency of digital key sharing.
[0056] Another embodiment of the present invention relates to an electronic device, such as Figure 4 As shown, it includes at least one processor 402; and a memory 401 communicatively connected to the at least one processor 402; wherein the memory 401 stores instructions that can be executed by the at least one processor 402, and the instructions are executed by the at least one processor 402 so that the at least one processor 402 can execute any of the above-mentioned embodiments of the digital key sharing method based on the digital key cloud platform.
[0057] The memory 401 and the processor 402 are connected in a bus manner, and the bus may include any number of interconnected buses and bridges, and the bus connects various circuits of one or more processors 402 and the memory 401 together. The bus can also connect various other circuits such as peripheral devices, voltage regulators, and power management circuits, which are well known in the art and are therefore not further described herein. The bus interface provides an interface between the bus and the transceiver. The transceiver can be one element or multiple elements, such as multiple receivers and transmitters, providing a unit for communicating with various other devices on a transmission medium. The data processed by the processor 402 is transmitted on a wireless medium via an antenna, and further, the antenna also receives data and transmits the data to the processor 402.
[0058] The processor 402 is responsible for managing the bus and general processing, and can also provide various functions, including timing, peripheral interfaces, voltage regulation, power management, and other control functions. The memory 401 can be used to store data used by the processor 402 when performing operations. The electronic device in this embodiment can be a physical key, a mobile phone terminal, etc., and the present invention does not specifically limit this.
[0059] Another embodiment of the present invention relates to a computer-readable storage medium storing a computer program. When the computer program is executed by a processor, any one of the above-mentioned embodiments of the digital key sharing method based on the digital key cloud platform is implemented.
[0060] That is, those skilled in the art can understand that all or part of the steps in the above-mentioned embodiment method can be completed by instructing the relevant hardware through a program, and the program is stored in a storage medium, including a number of instructions to enable a device (which can be a single-chip microcomputer, chip, etc.) or a processor to execute all or part of the steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk and other media that can store program codes.
[0061] Those skilled in the art will appreciate that the above-mentioned embodiments are specific examples for implementing the present invention, and in actual applications, various changes may be made thereto in form and detail without departing from the spirit and scope of the present invention.
Claims
1. A digital key sharing method based on a digital key cloud platform, characterized in that: include: The friend device obtains the digital key sharing request initiated by the car owner device, parses the sharing request, adds the public key of the friend device thereto, and updates the sharing request to a signature request; the sharing request at least includes API endpoint configuration information, control authority data to be shared, and protocol version information of the digital key; The vehicle owner device obtains the signature request, signs the public key using the private key of the vehicle owner device, adds the signed public key to the signature request, and updates the signature request to an activation request; The friend device obtains the activation request, sends the signed public key to the digital key cloud platform and registers it as activated. The shared key of the friend device takes effect, and the digital key sharing is completed.
2. The method according to claim 1, characterized in that: Before the friend device obtains the digital key sharing request initiated by the owner device, the following steps are included: The vehicle owner device initiates the sharing request of the digital key, encrypts the sharing request and sends it to the relay server; In response to the sharing request, the relay server creates a transfer mailbox for storing the sharing request and returns a URL link to the vehicle owner device; The vehicle owner device adds a key to the URL link, and sends the URL link as a sharing invitation to the friend device.
3. The method according to claim 2, characterized in that The friend device obtains a digital key sharing request initiated by the owner device, including: The friend device accepts the sharing invitation and requests the relay server to obtain the sharing request through the URL link; The sharing request returned by the relay server is obtained, and the sharing request is decrypted by using the key.
4. The method according to claim 3, characterized in that After the friend device updates the sharing request to a signing request, the method includes: The friend device encrypts the signature request and sends it to the relay server; The relay server adds the public key to the transfer mailbox according to the signature request to update the information stored in the transfer mailbox; After the transfer mailbox is updated, the relay server sends a first update notification to the vehicle owner device.
5. The method according to claim 4, characterized in that The vehicle owner device obtains the signature request, including: The vehicle owner device responds to the first update notification and requests the relay server to obtain the signature request; After obtaining the signature request returned by the relay server, decrypt the signature request.
6. The method according to claim 2, characterized in that After the vehicle owner device updates the signature request to the activation request, the method includes: The vehicle owner device encrypts the activation request and sends it to the relay server; The relay server adds the signed public key to the transfer mailbox according to the activation request to update the information stored in the transfer mailbox; After the transfer mailbox is updated, the relay server sends a second update notification to the friend device.
7. The method according to claim 6, characterized in that The friend device obtains the activation request, including: The friend device responds to the second update notification and requests the relay server to obtain the activation request; After acquiring the activation request returned by the relay server, the activation request is decrypted.
8. The method according to claim 7, characterized in that Before the friend device sends the signed public key to the digital key cloud platform for registration as an activated state, the method further includes: The friend device sends a deletion instruction to the relay server, where the deletion instruction is used to instruct the relay server to delete the transit mailbox.
9. The method according to claim 1, characterized in that: The method further comprises: The car owner device initiates the shared key termination request, the termination request carries the ID information of the shared key, and the shared key is the control authority data shared by the car owner device to the friend device; The digital key cloud platform forwards the termination request to the vehicle corresponding to the digital key using telematics; In response to the termination request, the vehicle deletes the shared key and notifies the digital key cloud platform; The digital key cloud platform registers the shared key as being deleted in the vehicle.
10. The method according to claim 9, characterized in that After the digital key cloud platform registers the shared key as being deleted in the vehicle, the method further includes: The friend device server receives a management instruction issued by the digital key cloud platform, wherein the management instruction includes the termination request; In response to the management instruction, the friend device server sends the termination request to the friend device; In response to the termination request, the friend device deletes the shared key and informs the digital key cloud platform.
11. The method according to claim 10, characterized in that After the friend device deletes the shared key and informs the digital key cloud platform, the method further includes: The digital key cloud platform registers the shared key as being deleted from the friend's device; A termination notification is initiated to the vehicle owner device, where the termination notification is used to respond to the termination request and inform the user that the shared key has been terminated.
12. An electronic device, characterized in that: include: at least one processor; as well as, a memory communicatively connected to the at least one processor; wherein, The memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can execute the digital key sharing method based on the digital key cloud platform as described in any one of claims 1 to 11.
13. A computer-readable storage medium storing a computer program, characterized in that: When the computer program is executed by a processor, the digital key sharing method based on the digital key cloud platform described in any one of claims 1 to 11 is implemented.
Citation Information
Patent Citations
Vehicle control method and device and readable storage medium
CN114764956A
Digital key sharing method and device based on hosting, equipment and medium
CN115426197A
Digital key sharing method and device, terminal equipment, vehicle and storage medium
CN115734223A
Cross-protocol digital key sharing method and system and computer readable storage medium
CN116887221A
Method and device for sharing digital car key and storage medium
CN117044167A
Cited By
Digital key management method and device
CN120979679A
Vehicle control method, device and equipment based on shared vehicle key and medium
CN122067337A
Digital key cloud services platform for provisioning vehicle public key certificates
WO2026204392A1
