Vehicle key remote sharing method and related apparatus

By using UWB ranging technology and cloud server key management to generate and verify session keys, the problem of low security in remote car key sharing is solved, enabling more secure keyless entry and start of vehicles.

CN117097458BActive Publication Date: 2026-05-05BYD CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
BYD CO LTD
Filing Date
2022-05-12
Publication Date
2026-05-05

AI Technical Summary

Technical Problem

Existing remote car key sharing technologies have low security, especially those based on Bluetooth technology, which pose security risks.

Method used

Using UWB ranging technology, the borrower's client and the vehicle's terminal generate and verify session keys through a cloud server, generate a secure sequence, and communicate based on UWB data frames to ensure the security of remote car key sharing.

Benefits of technology

It improves the security of remote car key sharing, enhances ranging and positioning accuracy, prevents relay attacks, and ensures the security of keyless entry and start operations for vehicles.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117097458B_ABST
    Figure CN117097458B_ABST
Patent Text Reader

Abstract

This invention discloses a method and related apparatus for remotely sharing car keys. The method, applied to a borrower's client, includes: upon receiving a master key from a cloud server, generating a session key request, wherein the master key is generated by the cloud server upon receiving a sharing request from the car owner's client; sending the session key request to the vehicle, wherein the session key request instructs the vehicle to generate a session key; upon receiving the session key, generating a security sequence based on the session key and the master key, generating a UWB data frame based on the security sequence, and sending the UWB data frame to the vehicle using UWB ranging, so that the vehicle can verify the UWB data frame based on the master key sent by the cloud server. The remote car key sharing method and related apparatus of this invention improve the security of remote car key sharing.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of remote car key sharing technology, and in particular to a method and related apparatus for remote car key sharing. Background Technology

[0002] With the rapid development of vehicle technology, the level of vehicle intelligence is gradually increasing, and car keys are transitioning from physical keys to virtual keys. The Passive Entry Passive Start (PEPS) system has become a highlight of virtual keys. The emergence of virtual keys makes remote car key sharing possible, allowing users to lend their vehicles to others or for multiple family members to use the car. Among related technologies, Bluetooth technology is used for remote car key sharing, but it suffers from issues such as low security. Summary of the Invention

[0003] This invention aims to at least partially solve one of the technical problems in related technologies. Therefore, the first objective of this invention is to propose a first method for remotely sharing car keys, which improves the security of remote car key sharing.

[0004] The second objective of this invention is to propose a second method for remotely sharing car keys.

[0005] The third objective of this invention is to propose a third method for remotely sharing car keys.

[0006] The fourth objective of this invention is to provide a car borrower client application.

[0007] The fifth objective of this invention is to provide a vehicle end.

[0008] The sixth objective of this invention is to provide a cloud server.

[0009] The seventh object of the present invention is to provide a computer-readable storage medium.

[0010] The eighth objective of this invention is to provide a remote car key sharing system.

[0011] To achieve the above objectives, a first aspect of the present invention proposes a first method for remotely sharing a car key. The method is applied to a borrower's client and includes: generating a session key request after receiving a master key sent by a cloud server, wherein the master key is generated by the cloud server upon receiving a sharing request from the car owner's client; sending the session key request to the vehicle terminal, wherein the session key request instructs the vehicle terminal to generate a session key; upon receiving the session key, generating a security sequence based on the session key and the master key, and generating a UWB data frame based on the security sequence; and sending the UWB data frame to the vehicle terminal using UWB ranging, so that the vehicle terminal can verify the UWB data frame based on the master key sent by the cloud server.

[0012] According to the car key remote sharing method of the present invention, the borrower's client can generate a security sequence based on the master key obtained from the cloud server and the session key obtained from the vehicle, and then generate a UWB data frame based on the security sequence. The UWB data frame is then sent to the vehicle based on UWB ranging, thereby enabling the vehicle to verify the UWB data frame based on the same master key obtained from the cloud server, thus improving the security of remote car key sharing.

[0013] In some embodiments of the present invention, when receiving the master key sent by the cloud server, the method further includes: receiving the vehicle owner's vehicle UWB configuration information sent by the cloud server, and configuring its own UWB module according to the vehicle owner's vehicle UWB configuration information before generating the UWB data frame.

[0014] In some embodiments of the present invention, the UWB data frame includes a SYNC sequence, an SFD sequence, an STS sequence, a PHY sequence, and a PSDU sequence.

[0015] To achieve the above objectives, a second aspect of the present invention proposes a second method for remotely sharing car keys. The method is applied to a vehicle and includes: upon receiving a session key request from a borrower's client, generating a session key, wherein the session key is generated by the borrower's client after receiving a master key from a cloud server, and the master key is generated by the cloud server upon receiving a sharing request from a car owner's client; sending the session key to the borrower's client so that the borrower's client generates a security sequence based on the session key and the master key, and generates a UWB data frame based on the security sequence; receiving the UWB data frame sent by the borrower's client using UWB ranging, and verifying the UWB data frame based on the master key sent by the cloud server.

[0016] According to the car key remote sharing method of the present invention, the borrower's client can generate a security sequence based on the master key obtained from the cloud server and the session key obtained from the vehicle, and then generate a UWB data frame based on the security sequence. The UWB data frame is then sent to the vehicle based on UWB ranging, thereby enabling the vehicle to verify the UWB data frame based on the same master key obtained from the cloud server, thus improving the security of remote car key sharing.

[0017] In some embodiments of the present invention, the verification of the UWB data frame based on the master key sent by the cloud server includes: parsing the UWB data frame to determine whether the master key in the security sequence is consistent with the master key sent by the cloud server; if they are consistent, the verification is determined to be successful.

[0018] In some embodiments of the present invention, verifying the UWB data frame based on the master key sent by the cloud server includes: generating a verification sequence based on the master key sent by the cloud server and the session key; parsing the UWB data frame to determine whether the security sequence is consistent with the verification sequence; if they are consistent, the verification is determined to be successful.

[0019] In some embodiments of the present invention, the method further includes: receiving the car rental period forwarded by the cloud server; and deleting the master key sent by the cloud server when the car rental period expires.

[0020] To achieve the above objectives, a third aspect of the present invention proposes a third method for remotely sharing car keys, applied to a cloud server. The method includes: receiving a sharing request sent by a car owner's client, wherein the sharing request includes borrower information; obtaining the car owner's vehicle UWB configuration information according to the sharing request, and generating a master key according to the car owner's vehicle UWB configuration information; sending the master key to the borrower's client according to the borrower information, and sending the master key to the vehicle terminal, wherein the borrower's client generates a session key request after receiving the master key, and sends the session key request to the vehicle terminal; the vehicle terminal generates a session key upon receiving the session key request, and sends the session key to the borrower's client; the borrower's client generates a security sequence according to the session key and the master key, and generates a UWB data frame according to the security sequence; and sends the UWB data frame to the vehicle terminal based on UWB ranging; the vehicle terminal verifies the UWB data frame according to the master key sent by the cloud server.

[0021] According to the car key remote sharing method of the present invention, the borrower's client can generate a security sequence based on the master key obtained from the cloud server and the session key obtained from the vehicle, and then generate a UWB data frame based on the security sequence. The UWB data frame is then sent to the vehicle based on UWB ranging, thereby enabling the vehicle to verify the UWB data frame based on the same master key obtained from the cloud server, thus improving the security of remote car key sharing.

[0022] To achieve the above objectives, a fourth aspect of the present invention provides a car borrower client, which includes a memory, a processor, and a car key remote sharing program stored in the memory and executable on the processor. When the processor executes the car key remote sharing program, it implements the first car key remote sharing method described above.

[0023] According to the car borrower client of the present invention, the car borrower client can generate a security sequence based on the master key obtained from the cloud server and the session key obtained from the vehicle, and then generate a UWB data frame based on the security sequence. The UWB data frame is then sent to the vehicle based on UWB ranging, thereby enabling the vehicle to verify the UWB data frame based on the same master key obtained from the cloud server, thus improving the security of remote car key sharing.

[0024] To achieve the above objectives, a fifth aspect of the present invention provides a vehicle terminal, the vehicle terminal including a memory, a processor, and a car key remote sharing program stored in the memory and executable on the processor, wherein when the processor executes the car key remote sharing program, the second car key remote sharing method described above is implemented.

[0025] According to the vehicle-side device of the present invention, the borrower's client can generate a security sequence based on the master key obtained from the cloud server and the session key obtained from the vehicle-side device, and then generate a UWB data frame based on the security sequence. The UWB data frame is then sent to the vehicle-side device based on UWB ranging, thereby enabling the vehicle-side device to verify the UWB data frame based on the same master key obtained from the cloud server, thus improving the security of remote sharing of car keys.

[0026] To achieve the above objectives, a sixth aspect of the present invention provides a cloud server, the cloud server including a memory, a processor, and a car key remote sharing program stored in the memory and executable on the processor, wherein when the processor executes the car key remote sharing program, the third car key remote sharing method described above is implemented.

[0027] According to the cloud server of the present invention, the borrower's client can generate a security sequence based on the master key obtained from the cloud server and the session key obtained from the vehicle, and then generate a UWB data frame based on the security sequence. The UWB data frame is then sent to the vehicle based on UWB ranging, thereby enabling the vehicle to verify the UWB data frame based on the same master key obtained from the cloud server, thus improving the security of remote car key sharing.

[0028] To achieve the above objectives, a seventh aspect of the present invention provides a computer-readable storage medium storing a car key remote sharing program thereon, which, when executed by a processor, implements the car key remote sharing method described in any of the above embodiments.

[0029] According to the computer-readable storage medium of the present invention, the borrower's client can generate a security sequence based on the master key obtained from the cloud server and the session key obtained from the vehicle, and then generate a UWB data frame based on the security sequence. The UWB data frame is then sent to the vehicle based on UWB ranging, thereby enabling the vehicle to verify the UWB data frame based on the same master key obtained from the cloud server, thus improving the security of remote car key sharing.

[0030] To achieve the above objectives, an eighth aspect of the present invention provides a remote car key sharing system, including a car owner client, a borrower client, a cloud server, and a vehicle terminal. The car owner client is used to initiate a sharing request, wherein the sharing request includes borrower information. The cloud server is used to obtain the car owner's vehicle UWB configuration information according to the sharing request, generate a master key based on the car owner's vehicle UWB configuration information, and send the master key to the borrower client and the vehicle terminal based on the borrower information. The borrower client uses... Upon receiving the master key, the system generates a session key request and sends the session key request to the vehicle terminal. The vehicle terminal generates a session key upon receiving the session key request and sends the session key to the borrower's client. The borrower's client is further configured to generate a security sequence based on the session key and the master key, generate a UWB data frame based on the security sequence, and send the UWB data frame to the vehicle terminal using UWB ranging. The vehicle terminal is also configured to verify the UWB data frame based on the master key sent by the cloud server.

[0031] According to the car key remote sharing system of the present invention, the borrower's client can generate a security sequence based on the master key obtained from the cloud server and the session key obtained from the vehicle, and then generate a UWB data frame based on the security sequence. The UWB data frame is then sent to the vehicle based on UWB ranging, thereby enabling the vehicle to verify the UWB data frame based on the same master key obtained from the cloud server, thus improving the security of remote car key sharing.

[0032] Additional aspects and advantages of the invention will be set forth in part in the description which follows, and in part will be obvious from the description, or may be learned by practice of the invention. Attached Figure Description

[0033] The above and / or additional aspects and advantages of this application will become apparent and readily understood from the description of the embodiments taken in conjunction with the following drawings, in which:

[0034] Figure 1 This is a flowchart illustrating a method for remotely sharing car keys according to an embodiment of the present invention;

[0035] Figure 2 This is a structural block diagram of a car key remote sharing system according to an embodiment of the present invention;

[0036] Figure 3 This is a schematic diagram of the frame format of a UWB data frame according to an embodiment of the present invention;

[0037] Figure 4 This is a schematic diagram illustrating the process of generating a secure sequence according to an embodiment of the present invention;

[0038] Figure 5 This is a flowchart illustrating a remote car key sharing method according to another embodiment of the present invention;

[0039] Figure 6 This is a flowchart illustrating a remote car key sharing method according to another embodiment of the present invention;

[0040] Figure 7 This is a flowchart illustrating a remote car key sharing method according to another embodiment of the present invention;

[0041] Figure 8 This is a flowchart illustrating a remote car key sharing method according to another embodiment of the present invention;

[0042] Figure 9 This is a flowchart illustrating a remote car key sharing method according to another embodiment of the present invention;

[0043] Figure 10 This is a structural block diagram of a car borrower's client according to an embodiment of the present invention;

[0044] Figure 11 This is a structural block diagram of the vehicle end according to an embodiment of the present invention.

[0045] Figure 12 This is a structural block diagram of a cloud server according to an embodiment of the present invention;

[0046] Figure 13 This is an interactive schematic diagram of a car key remote sharing system according to an embodiment of the present invention. Detailed Implementation

[0047] Embodiments of the present invention are described in detail below. Examples of these embodiments are illustrated in the accompanying drawings, wherein the same or similar reference numerals denote the same or similar elements or elements having the same or similar functions throughout. The embodiments described below with reference to the accompanying drawings are exemplary and intended to explain the present invention, and should not be construed as limiting the present invention.

[0048] The following describes in detail, with reference to the accompanying drawings, the method and related apparatus for remotely sharing car keys according to embodiments of the present invention.

[0049] Figure 1 This is a flowchart illustrating a remote car key sharing method according to an embodiment of the present invention. The first remote car key sharing method of this embodiment is applied to the borrower's client, such as... Figure 1 As shown, the first method for remotely sharing a car key according to an embodiment of the present invention includes the following steps:

[0050] S11: After receiving the master key sent by the cloud server, generate a session key request. The master key is generated by the cloud server when it receives the sharing request sent by the car owner's client.

[0051] S13: Send a session key request to the vehicle, wherein the session key request is used to instruct the vehicle to generate a session key;

[0052] S15: Upon receiving the session key, generate a security sequence based on the session key and the master key, and generate a UWB data frame based on the security sequence;

[0053] S17: UWB data frames are sent to the vehicle terminal based on UWB ranging, so that the vehicle terminal can verify the UWB data frames according to the master key sent by the cloud server.

[0054] According to the car key remote sharing method of the present invention, the borrower's client can generate a security sequence based on the master key obtained from the cloud server and the session key obtained from the vehicle, and then generate a UWB data frame based on the security sequence. The UWB data frame is then sent to the vehicle based on UWB ranging, enabling the vehicle to verify the UWB data frame using the same master key obtained from the cloud server, thus improving the security of remote car key sharing. Furthermore, since the ranging in this embodiment is based on UWB data frames, compared to Bluetooth-based ranging in related technologies, it improves ranging accuracy and positioning accuracy.

[0055] Specifically, the car owner's client includes, but is not limited to, mobile phones, tablets, laptops, smart wearable devices (smartwatches, smart bracelets, etc.), smart home appliances, and head-mounted displays. The borrower's client includes, but is not limited to, mobile phones, tablets, laptops, smart wearable devices (smartwatches, smart bracelets, etc.), smart home appliances, and head-mounted displays. The vehicle's end includes, but is not limited to, in-vehicle terminals and vehicles. Vehicles can be understood to include, but are not limited to, pure electric vehicles, hybrid electric vehicles, range-extended electric vehicles, and gasoline-powered vehicles.

[0056] Please combine Figure 2 In some embodiments, the car key remote sharing system 1000 includes a borrower client 100, a vehicle terminal 200, a cloud server 300, and a car owner client 400. All three clients—car owner client 400, borrower client 100, and vehicle terminal 200—are equipped with a UWB module and a service application (APP). The UWB module includes a security sequence generator and a signal transceiver. The security sequence generator generates security sequences, and the signal transceiver sends and receives UWB data frames. The car owner client 400 and vehicle terminal 200 can use the UWB module to send UWB data frames for distance measurement based on UWB ranging, enabling the car owner to enter or start their vehicle without a key. When the UWB data frame sent by the borrower's client 100 is verified by the vehicle's terminal 200, the borrower's client 100 and the vehicle's terminal 200 can send UWB data frames to measure distance using UWB distance measurement via the UWB module. This enables the borrower to enter or start the owner's vehicle without a key. For example, when the distance between the borrower's client 100 and the vehicle's terminal 200 reaches a first distance, the door unlocks; when the distance reaches a second distance, the vehicle automatically starts. The first distance is greater than the second distance. In this way, the borrower can also experience the convenience of seamless entry.

[0057] UWB modules communicate with each other via UWB data frames; this communication process is called a UWB session. Please refer to... Figure 3In some embodiments of the present invention, UWB data frames include a SYNC sequence, an SFD sequence, an STS sequence, a PHY sequence, and a PSDU sequence. If the vehicle owner client and the borrower client need to establish a UWB session with the vehicle, their corresponding UWB data frames should have the same frame format. Specifically, the same SYNC sequence and SFD sequence can be configured when binding the vehicle owner client to the vehicle and when binding the borrower client to the vehicle. Furthermore, to further ensure security, the frame format can be uniquely set based on the vehicle number information. The SYNC sequence can be used for frame detection, timing synchronization, and carrier frequency offset recovery. The SFD carried in the SFD sequence can be used for frame synchronization. The PHY sequence can be used to convey information for decoding data in the PHY Service Data Unit (PSDU), which may include the data rate used to transmit the PSDU, the length of the preamble of the current frame, and the length of the data packet. The STS sequence, as a secure timestamp sequence, can carry a secure sequence generated based on the session key and master key, thereby enhancing the security of the UWB session.

[0058] Further, in step S11, with the car owner's authorization, the borrower can log in to the car borrower's client service application (APP) and click to generate a session key request within the APP. In step S13, the car borrower's client sends the generated session key request to the vehicle. Upon receiving the session key request, the vehicle's UWB module generates a session key according to a pre-set algorithm, stores the session key in a PSDU sequence, and sends it to the car borrower's client via a UWB data frame. At this point, the UWB data frame is unencrypted; that is, the STS sequence of the UWB data frame does not carry a security sequence.

[0059] In step S15, in some embodiments, the secure sequence generator of the UWB module is used to generate a secure sequence, and the secure sequence generation process is as follows: Figure 4As shown, a 128-bit master key is assigned to variable Key, a 128-bit session key is assigned to variable Data, an index is assigned to variable b, and variable a is initialized to 0. For the generation of a complete secure sequence, Key is used as the key for the AES128 encryption algorithm unchanged. The high 64 bits of Data are assigned to the high 64 bits of variable Data_aes, bits 32-63 of Data and variable b are assigned to bits 32-63 of variable Data_aes (for example, first add variable b to bits 32-63 of Data to get new bits 32-63 of Data, and then assign the new bits 32-63 of Data to bits 32-63 of variable Data_aes), bits 0-31 of Data and variable a are assigned to bits 0-31 of variable Data_aes (for example, first add variable a to bits 0-31 of Data to get new bits 0-31 of Data, and then assign the new bits 0-31 of Data to bits 0-31 of variable Data_aes), and then variable data_aes is provided as data to the AES128 encryption algorithm. Based on the key and data, the AES128 block generates a 128-bit secure sequence as the result, and then sends the secure sequence to the transceiver of the UWB module to generate a UWB data frame.

[0060] It's important to note that the index used to generate the security sequence in each UWB data frame is different. The indexes default to different values ​​and can gradually increase over time. For example, if the index value of the first ranging frame is 0, then the index value of the response frame for the first ranging frame is 1, the index value of the second ranging frame is 2, and so on. The first and second ranging frames can be understood as UWB data frames used for distance measurement, sent by the initiator. The response frame can be understood as a UWB data frame used for distance measurement, sent by the responder. This changing index means the security sequence is constantly changing, further enhancing the security of remote car key sharing.

[0061] UWB-based ranging methods include, but are not limited to, bilateral two-way ranging and single-sided two-way ranging.

[0062] In some embodiments of the present invention, when the master key sent by the cloud server is received, the first method for remote sharing of car keys further includes: receiving the vehicle owner's vehicle UWB configuration information sent by the cloud server, and configuring its own UWB module according to the vehicle owner's vehicle UWB configuration information before generating UWB data frames.

[0063] In this way, the borrower's client can send UWB data frames to the vehicle using the same UWB ranging method as the car owner's client.

[0064] In one example, the borrower's client configures its own UWB module based on the vehicle owner's vehicle UWB configuration information to conduct UWB sessions with the vehicle using a bilateral bidirectional ranging method.

[0065] In another example, the borrower's client configures its own UWB module based on the vehicle owner's UWB configuration information to conduct UWB sessions with the vehicle using a one-sided bidirectional ranging method.

[0066] Please combine Figure 5 The second method for remotely sharing car keys according to an embodiment of the present invention is applied to the vehicle end, and the method includes the following steps:

[0067] S21: Upon receiving a session key request from the car borrower's client, generate a session key. The session key is generated by the car borrower's client after receiving the master key from the cloud server. The master key is generated by the cloud server upon receiving a sharing request from the car owner's client.

[0068] S23: Send the session key to the borrower's client so that the borrower's client can generate a security sequence based on the session key and the master key, and generate a UWB data frame based on the security sequence;

[0069] S25: Receive UWB data frames sent by the borrower's client based on UWB ranging, and verify the UWB data frames according to the master key sent by the cloud server.

[0070] According to the car key remote sharing method of the present invention, the borrower's client can generate a security sequence based on the master key obtained from the cloud server and the session key obtained from the vehicle, and then generate a UWB data frame based on the security sequence. The UWB data frame is then sent to the vehicle based on UWB ranging, thereby enabling the vehicle to verify the UWB data frame based on the same master key obtained from the cloud server, thus improving the security of remote car key sharing.

[0071] Specifically, when the vehicle receives a session key request from the borrower's client, it can directly generate a session key according to a pre-set algorithm.

[0072] The vehicle-side and the owner's client are pre-configured with the same UWB ranging method. Both can send and receive UWB data frames and perform ranging based on this same method. When the borrower's client is authorized by the owner, it can determine the UWB ranging method used by both the vehicle-side and the owner's client. Therefore, the borrower's client can configure its own UWB module to send and receive UWB data frames with the vehicle-side and perform ranging using the same method as the owner's client.

[0073] Understandably, the vehicle verifies each UWB data frame received to ensure the security of remote car key sharing.

[0074] Please combine Figure 6 In some embodiments of the present invention, step S25 includes:

[0075] S251: Parse the UWB data frame to determine whether the master key in the security sequence is consistent with the master key sent by the cloud server;

[0076] S253: If they match, the verification is successful.

[0077] In this way, the received UWB data frame is verified by comparing the master key in the security sequence with the master key sent by the cloud server.

[0078] Specifically, the vehicle can parse the received UWB data frame to determine the master key in the security sequence of the received UWB data frame, and then determine whether the master key obtained by parsing is consistent with the master key sent by the cloud server. If they are consistent, the verification is successful. Then, distance measurement is performed based on the received UWB data frame, and the location information of the borrower's client relative to the vehicle is determined based on the distance measurement result. Based on this location information, a preset keyless start operation is performed, such as illuminating the welcome lights, unlocking the door, and starting the engine. If they are inconsistent, the verification is failed, and the received UWB data frame is ignored or discarded. Distance measurement and subsequent operations are not performed based on the received UWB data frame.

[0079] Please combine Figure 7 In some embodiments of the present invention, step S25 includes:

[0080] S255: Generate a verification sequence based on the master key and session key sent by the cloud server;

[0081] S257: Parse the UWB data frame to determine whether the security sequence and the verification sequence are consistent;

[0082] S259: If they match, the verification is successful.

[0083] In this way, the received UWB data frames are verified by comparing the security sequence with the verification sequence.

[0084] Specifically, the method for generating the verification sequence on the vehicle side is basically the same as the method for generating the security sequence on the borrower's client side, and will not be elaborated here to avoid redundancy. The master key, session key, and index used to generate the verification sequence are the same as those used to generate the security sequence. Therefore, when the security sequence of the received UWB data frame matches the verification sequence generated on the vehicle side, the verification is considered successful. Then, distance measurement is performed based on the received UWB data frame, and the position information of the borrower's client relative to the vehicle side is determined based on the distance measurement result. Based on this position information, a preset keyless start operation is performed, such as turning on the welcome lights, unlocking the doors, and starting the engine. If they do not match, the verification is considered unsuccessful, and the received UWB data frame is ignored or discarded. Distance measurement and subsequent operations are not performed based on the received UWB data frame.

[0085] The index used to generate the verification sequence and the index used to generate the security sequence change synchronously based on the same UWB ranging method. For example, when sending and receiving the first ranging frame, both the verification and security sequences use an index of 0; when sending and receiving the response frame to the first ranging frame, both the verification and security sequences use an index of 1; and when sending and receiving the second ranging frame, both the verification and security sequences use an index of 2. This effectively prevents relay attacks. Relay attacks are understood to be non-physical contact methods of car theft. Relay attacks are related to security sequences. In related technologies, an unauthorized client obtains the master key and session key through information theft. This unauthorized client can then generate a security sequence based on the master key and session key, enabling it to communicate with the vehicle and achieve keyless unlocking or entry. Since the security sequence and verification sequence of this invention are constantly changing, the index value will change after each round of ranging (e.g., automatically incremented by one), and the changes on the borrower's client and the vehicle's end are consistent. In this way, both the borrower's client and the vehicle's end can correctly parse the sequence. Even if an unauthorized client obtains the master key and session key, its index value cannot be consistent with that of the vehicle's end. Therefore, even if an unauthorized client generates a security sequence, it cannot be verified by the vehicle's end.

[0086] Please combine Figure 8 In some embodiments of the present invention, the second method for remotely sharing car keys further includes:

[0087] S27: Receive the car rental period forwarded by the cloud server;

[0088] S29: Delete the master key sent by the cloud server when the car rental period expires.

[0089] This prevents the borrower's client from unlocking and / or starting the owner's vehicle again via the remotely shared car key after the rental period has expired.

[0090] Specifically, the car rental period can be set by the car owner when authorizing the borrower's client, and uploaded to the cloud server through the car owner's client so that the cloud server can forward the rental period to the car's client. After deleting the master key sent by the cloud server, the car's client can notify the car owner through the cloud server.

[0091] In some embodiments, the vehicle owner can terminate the authorization of the borrower's client at any time. Specifically, the vehicle owner's client sends a termination authorization request to the cloud server. After receiving the termination authorization request, the cloud server communicates with the vehicle to determine the vehicle status (e.g., whether the engine is stopped and whether it is parked in a safe location). If the vehicle status is normal, the cloud server agrees to terminate the authorization, the vehicle automatically deletes the stored master key, and notifies both the vehicle owner's client and the borrower's client.

[0092] Please combine Figure 9 The third method for remotely sharing car keys according to this invention is applied to a cloud server, and the method includes the following steps:

[0093] S31: Receive a sharing request sent by the car owner's client, wherein the sharing request includes the borrower's information;

[0094] S33: Obtain the vehicle owner's UWB configuration information based on the sharing request, and generate a master key based on the vehicle owner's UWB configuration information;

[0095] S35: Based on the borrower's information, the master key is sent to the borrower's client and then to the vehicle. Upon receiving the master key, the borrower's client generates a session key request and sends it to the vehicle. Upon receiving the session key request, the vehicle generates a session key and sends it to the borrower's client. The borrower's client generates a security sequence based on the session key and the master key, generates a UWB data frame based on the security sequence, and sends the UWB data frame to the vehicle using UWB ranging. The vehicle verifies the UWB data frame using the master key sent by the cloud server.

[0096] According to the car key remote sharing method of the present invention, the borrower's client can generate a security sequence based on the master key obtained from the cloud server and the session key obtained from the vehicle, and then generate a UWB data frame based on the security sequence. The UWB data frame is then sent to the vehicle based on UWB ranging, thereby enabling the vehicle to verify the UWB data frame based on the same master key obtained from the cloud server, thus improving the security of remote car key sharing.

[0097] Specifically, the borrower's information may include the borrower's account and the borrowing period.

[0098] It should be noted that the specific values ​​mentioned above are only for illustrating the implementation of the present invention in detail, and should not be construed as limiting the present invention. In other examples, implementation methods, or embodiments, other values ​​may be selected according to the present invention, and no specific limitations are made here.

[0099] To implement the above embodiments, this invention also proposes a car borrower client, which can implement the first method for remotely sharing car keys. Please refer to... Figure 10 The car borrower client 100 includes a memory 102, a processor 104, and a car key remote sharing program 106 stored on the memory 102 and run on the processor 104. When the processor 104 executes the car key remote sharing program 106, it implements the first car key remote sharing method described above.

[0100] According to the embodiment of the present invention, the car borrower client 100 can generate a security sequence based on the master key obtained from the cloud server and the session key obtained from the vehicle, and then generate a UWB data frame based on the security sequence. The UWB data frame is then sent to the vehicle based on UWB ranging, thereby enabling the vehicle to verify the UWB data frame based on the same master key obtained from the cloud server, thus improving the security of remote car key sharing.

[0101] It should be noted that the above explanation of the embodiments and beneficial effects of the first method of remote car key sharing also applies to the borrower client 100 of the present invention. To avoid redundancy, it will not be elaborated in detail here.

[0102] To implement the above embodiments, this invention also proposes a vehicle-mounted terminal that can implement the second method for remotely sharing car keys described above. Please refer to... Figure 11 The vehicle terminal 200 includes a memory 202, a processor 204, and a remote car key sharing program 206 stored in the memory 202 and run on the processor 204. When the processor 204 executes the remote car key sharing program 206, the second remote car key sharing method described above is implemented.

[0103] According to the vehicle terminal 200 of the present invention, the borrower's client can generate a security sequence based on the master key obtained from the cloud server and the session key obtained from the vehicle terminal 200, and then generate a UWB data frame based on the security sequence. The UWB data frame is then sent to the vehicle terminal 200 based on UWB ranging, thereby enabling the vehicle terminal 200 to verify the UWB data frame based on the same master key obtained from the cloud server, thus improving the security of remote sharing of car keys.

[0104] It should be noted that the above explanation of the embodiments and beneficial effects of the second method for remotely sharing car keys also applies to the vehicle terminal 200 of the present invention. To avoid redundancy, it will not be elaborated in detail here.

[0105] To implement the above embodiments, this invention also proposes a cloud server capable of implementing the third method for remotely sharing car keys. Please refer to... Figure 12 The cloud server 300 includes a memory 302, a processor 304, and a car key remote sharing program 306 stored on the memory 302 and run on the processor 304. When the processor 304 executes the car key remote sharing program 306, the above-mentioned third car key remote sharing method is implemented.

[0106] According to the cloud server 300 of the present invention, the borrower's client can generate a security sequence based on the master key obtained from the cloud server 300 and the session key obtained from the vehicle, and then generate a UWB data frame based on the security sequence. The UWB data frame is then sent to the vehicle based on UWB ranging, thereby enabling the vehicle to verify the UWB data frame based on the same master key obtained from the cloud server 300, thus improving the security of remote car key sharing.

[0107] It should be noted that the above explanation of the embodiments and beneficial effects of the third method for remotely sharing car keys also applies to the cloud server 300 of the present invention. To avoid redundancy, it will not be elaborated in detail here.

[0108] To implement the above embodiments, this invention also proposes a computer-readable storage medium storing a car key remote sharing program thereon, which, when executed by a processor, implements the car key remote sharing method of any of the above embodiments.

[0109] According to the computer-readable storage medium of the present invention, the borrower's client can generate a security sequence based on the master key obtained from the cloud server and the session key obtained from the vehicle, and then generate a UWB data frame based on the security sequence. The UWB data frame is then sent to the vehicle based on UWB ranging, thereby enabling the vehicle to verify the UWB data frame based on the same master key obtained from the cloud server, thus improving the security of remote car key sharing.

[0110] To implement the above embodiments, this invention also proposes a remote car key sharing system. Please refer to... Figure 2 and Figure 13The car key remote sharing system 1000 includes a car owner client 400, a borrower client 100, a cloud server 300, and a vehicle terminal 200. The car owner client 100 initiates a sharing request, which includes the borrower's information. The cloud server 300 obtains the car owner's vehicle UWB configuration information based on the sharing request, generates a master key based on the UWB configuration information, and sends the master key to the borrower client 100 and then to the vehicle terminal 200 based on the borrower's information. The borrower client 100 generates a session key request upon receiving the master key and sends it to the vehicle terminal 200. The vehicle terminal 200 generates a session key upon receiving the session key request and sends it to the borrower client 100. The borrower client 100 also generates a security sequence based on the session key and the master key, generates a UWB data frame based on the security sequence, and sends the UWB data frame to the vehicle terminal 200 using UWB ranging. The vehicle terminal 200 is also used to verify UWB data frames based on the master key sent by the cloud server 300.

[0111] According to the car key remote sharing system 1000 of the present invention, the borrower client 100 can generate a security sequence based on the master key obtained from the cloud server 300 and the session key obtained from the vehicle terminal 200, and then generate a UWB data frame based on the security sequence. The UWB data frame is then sent to the vehicle terminal 200 based on UWB ranging, thereby enabling the vehicle terminal 200 to verify the UWB data frame based on the same master key obtained from the cloud server 300, thus improving the security of remote car key sharing.

[0112] Specifically, the borrower's information may include the borrower's account and the borrowing period. The cloud server 300 can locally store the vehicle owner's UWB configuration information, so that after receiving a sharing request, the cloud server 300 can quickly retrieve the vehicle owner's UWB configuration information from the local storage and generate a master key based on the vehicle owner's UWB configuration information.

[0113] In some embodiments, after sending the master key and vehicle owner's UWB configuration information to the borrower's client 100 based on the borrower's information, and sending the master key and borrowing period to the vehicle client 200, the cloud server 300 also notifies the vehicle owner's client 400 that the sharing was successful.

[0114] The borrower's client 100 can store the master key and the vehicle owner's UWB configuration information, while the vehicle's client 200 can store the master key and the borrowing period. When the borrower logs into the service application APP of the borrower's client 100 and clicks to generate a session key request, the borrower's client 100 generates a session key request and sends it to the vehicle's client 200.

[0115] It should be noted that the above explanations and descriptions of the embodiments and beneficial effects of the first, second, and third remote car key sharing methods also apply to the remote car key sharing system 1000 of this invention. To avoid redundancy, they will not be elaborated in detail here.

[0116] Those skilled in the art will understand that embodiments of the present invention can be provided as methods, systems, or computer program products. Therefore, the present invention can take the form of a completely hardware embodiment, a completely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, the present invention can take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.

[0117] This invention is described with reference to flowchart illustrations and / or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each block of the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, special-purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, generate instructions for implementing the flowchart illustrations and / or block diagrams. Figure 1 One or more processes and / or boxes Figure 1 A device that provides the functions specified in one or more boxes.

[0118] These computer program instructions may also be stored in a computer-readable storage medium that can direct a computer or other programmable data processing device to function in a particular manner, such that the instructions stored in the computer-readable storage medium produce an article of manufacture including instruction means, which are implemented in a process Figure 1 One or more processes and / or boxes Figure 1 The function specified in one or more boxes.

[0119] These computer program instructions may also be loaded onto a computer or other programmable data processing equipment to cause a series of operational steps to be performed on the computer or other programmable equipment to produce a computer-implemented process, thereby providing instructions that execute on the computer or other programmable equipment for implementing the process. Figure 1 One or more processes and / or boxes Figure 1 The steps of the function specified in one or more boxes.

[0120] In the description of this specification, references to terms such as "one embodiment," "some embodiments," "example," "specific example," or "some examples," etc., indicate that a specific feature, structure, material, or characteristic described in connection with that embodiment or example is included in at least one embodiment or example of the invention. In this specification, the illustrative expressions of the above terms do not necessarily refer to the same embodiment or example. Furthermore, the specific features, structures, materials, or characteristics described may be combined in any suitable manner in one or more embodiments or examples.

[0121] Furthermore, the terms "first," "second," etc., used in the embodiments of this invention are for descriptive purposes only and should not be construed as indicating or implying relative importance, or implicitly specifying the number of technical features indicated in this embodiment. Therefore, features defined with terms such as "first" and "second" in the embodiments of this invention can explicitly or implicitly indicate that the embodiment includes at least one of those features. In the description of this invention, the word "multiple" means at least two or more, such as two, three, four, etc., unless otherwise explicitly specified in the embodiments.

[0122] It should be noted that the technical features of the above embodiments can be combined arbitrarily. For the sake of brevity, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.

[0123] Although embodiments of the present invention have been shown and described above, it is understood that the above embodiments are exemplary and should not be construed as limiting the present invention. Those skilled in the art can make changes, modifications, substitutions and variations to the above embodiments within the scope of the present invention.

Claims

1. A method for remotely sharing car keys, characterized in that, Applied to the borrower's client application, the method includes: After receiving the master key sent by the cloud server, a session key request is generated, wherein the master key is generated by the cloud server when it receives a sharing request sent by the car owner's client; The session key request is sent to the vehicle terminal, wherein the session key request is used to instruct the vehicle terminal to generate a session key; Upon receiving the session key, a security sequence is generated based on the session key and the master key, and a UWB data frame is generated based on the security sequence. The UWB data frame is sent to the vehicle terminal using UWB ranging, so that the vehicle terminal can verify the UWB data frame according to the master key sent by the cloud server.

2. The remote car key sharing method according to claim 1, characterized in that, Upon receiving the master key sent by the cloud server, the method further includes: The system receives the vehicle owner's UWB configuration information sent by the cloud server and configures its own UWB module according to the vehicle owner's UWB configuration information before generating the UWB data frame.

3. The remote car key sharing method according to claim 1 or 2, characterized in that, The UWB data frames include SYNC sequences, SFD sequences, STS sequences, PHY sequences, and PSDU sequences.

4. A method for remotely sharing car keys, characterized in that, Applied to the vehicle end, the method includes: Upon receiving a session key request from the car borrower's client, a session key is generated. The session key is generated by the car borrower's client after receiving a master key from the cloud server. The master key is generated by the cloud server when it receives a sharing request from the car owner's client. The session key is sent to the borrower's client so that the borrower's client can generate a security sequence based on the session key and the master key, and generate a UWB data frame based on the security sequence; The system receives UWB data frames sent by the borrower's client using UWB ranging and verifies the UWB data frames using the master key sent by the cloud server.

5. The remote car key sharing method according to claim 4, characterized in that, Verification of the UWB data frame based on the master key sent by the cloud server includes: The UWB data frame is parsed to determine whether the master key in the security sequence is consistent with the master key sent by the cloud server. If they match, the verification is successful.

6. The remote car key sharing method according to claim 4, characterized in that, Verification of the UWB data frame based on the master key sent by the cloud server includes: A verification sequence is generated based on the master key sent by the cloud server and the session key; The UWB data frame is parsed to determine whether the security sequence and the verification sequence are consistent. If they match, the verification is successful.

7. The method for remotely sharing car keys according to any one of claims 4-6, characterized in that, Also includes: Receive the car rental period forwarded by the cloud server; When the car rental period expires, delete the master key sent by the cloud server.

8. A method for remotely sharing car keys, characterized in that, Applied to a cloud server, the method includes: Receive a sharing request sent by the car owner's client, wherein the sharing request includes the borrower's information; The vehicle owner's UWB configuration information is obtained according to the sharing request, and a master key is generated according to the vehicle owner's UWB configuration information. The master key is sent to the borrower's client based on the borrower's information, and then to the vehicle's terminal. Upon receiving the master key, the borrower's client generates a session key request and sends it to the vehicle's terminal. Upon receiving the session key request, the vehicle's terminal generates a session key and sends it to the borrower's client. The borrower's client generates a security sequence based on the session key and the master key, generates a UWB data frame based on the security sequence, and sends the UWB data frame to the vehicle's terminal using UWB ranging. The vehicle's terminal verifies the UWB data frame using the master key sent by the cloud server.

9. A car borrower client application, characterized in that, The device includes a memory, a processor, and a car key remote sharing program stored in the memory and executable on the processor. When the processor executes the car key remote sharing program, it implements the car key remote sharing method according to any one of claims 1-3.

10. A vehicle end, characterized in that, The device includes a memory, a processor, and a car key remote sharing program stored in the memory and executable on the processor. When the processor executes the car key remote sharing program, it implements the car key remote sharing method according to any one of claims 4-7.

11. A cloud server, characterized in that, The device includes a memory, a processor, and a car key remote sharing program stored in the memory and executable on the processor. When the processor executes the car key remote sharing program, it implements the car key remote sharing method according to claim 8.

12. A computer-readable storage medium, characterized in that, It stores a car key remote sharing program, which, when executed by the processor, implements the car key remote sharing method according to any one of claims 1-8.

13. A car key remote sharing system, characterized in that, This includes the car owner's client, the borrower's client, the cloud server, and the vehicle's terminal, among which... The car owner's client is used to initiate a sharing request, wherein the sharing request includes the borrower's information; The cloud server is used to obtain the vehicle owner's UWB configuration information according to the sharing request, generate a master key according to the vehicle owner's UWB configuration information, send the master key to the borrower's client according to the borrower's information, and send the master key to the vehicle terminal. The borrower's client is used to generate a session key request after receiving the master key, and send the session key request to the vehicle terminal; The vehicle terminal is used to generate a session key upon receiving the session key request and send the session key to the borrower's client. The borrower's client is also used to generate a security sequence based on the session key and the master key, generate a UWB data frame based on the security sequence, and send the UWB data frame to the vehicle terminal based on UWB ranging. The vehicle terminal is also used to verify the UWB data frame based on the master key sent by the cloud server.

Citation Information

Patent Citations

  • Authorization method of vehicle key, vehicle key, smart equipment and vehicle

    CN109383449A

  • Carsharing system, information processing device for carsharing, information processing method for carsharing, and storage medium on which program for carsharing is stored

    CN109979106A