CN-117097458-B - Remote sharing method and related device for vehicle keys
Abstract
The invention discloses a vehicle key remote sharing method and a related device, wherein the vehicle key remote sharing method applied to a borrower client side comprises the following steps: after receiving a master key sent by a cloud server, a session key request is generated, wherein the master key is generated when the cloud server receives a sharing request sent by a vehicle owner client, and the session key request is sent to a vehicle end, the session key request is used for indicating the vehicle end to generate the session key, when the session key is received, a safety sequence is generated according to the session key and the master key, a UWB data frame is generated according to the safety sequence, and the UWB data frame is sent to the vehicle end based on a UWB ranging mode, so that the vehicle end can verify the UWB data frame according to the master key sent by the cloud server. According to the vehicle key remote sharing method and the related device, the safety of vehicle key remote sharing is improved.
Inventors
- Fang Zhongyang
- DAI SHENGLONG
- WEI XIAOFANG
- Hui Jihui
Assignees
- 比亚迪股份有限公司
Dates
- Publication Date
- 20260505
- Application Date
- 20220512
Claims (13)
- 1. A vehicle key remote sharing method, applied to a borrower client, comprising: after receiving a master key sent by a cloud server, generating a session key request, wherein the master key is generated when the cloud server receives a sharing request sent by a vehicle owner client; The session key request is sent to a vehicle end, wherein the session key request is used for indicating the vehicle end to generate a session key; Generating a security sequence according to the session key and the master key when the session key is received, and generating a UWB data frame according to the security sequence; And transmitting the UWB data frame to the vehicle end based on a UWB ranging mode, so that the vehicle end can verify the UWB data frame according to the master key transmitted by the cloud server.
- 2. The vehicle key remote sharing method according to claim 1, wherein upon receiving the master key transmitted from the cloud server, the method further comprises: receiving the UWB configuration information of the vehicle owner and the vehicle, which is sent by the cloud server, and configuring a self UWB module according to the UWB configuration information of the vehicle owner and the vehicle before generating the UWB data frame.
- 3. The car key remote sharing method according to claim 1 or 2, wherein the UWB data frame includes a SYNC sequence, an SFD sequence, an STS sequence, a PHY sequence, and a PSDU sequence.
- 4. A vehicle key remote sharing method, characterized by being applied to a vehicle end, the method comprising: Generating a session key when receiving a session key request sent by a vehicle borrower client, wherein the session key is generated by the vehicle borrower client after receiving a master key sent by a cloud server, and the master key is generated by the cloud server when receiving a sharing request sent by a vehicle owner client; The session key is sent to the client side of the vehicle borrower, so that the client side of the vehicle borrower generates a safety sequence according to the session key and the master key, and generates a UWB data frame according to the safety sequence; And receiving the UWB data frame sent by the client of the borrower based on the UWB ranging mode, and verifying the UWB data frame according to the master key sent by the cloud server.
- 5. The vehicle key remote sharing method according to claim 4, wherein verifying the UWB data frame according to the master key transmitted by the cloud server comprises: Analyzing the UWB data frame to judge whether the master key in the security sequence is consistent with the master key sent by the cloud server; if so, verification is determined to be passed.
- 6. The vehicle key remote sharing method according to claim 4, wherein verifying the UWB data frame according to the master key transmitted by the cloud server comprises: generating a verification sequence according to the master key and the session key sent by the cloud server; analyzing the UWB data frame to judge whether the safety sequence is consistent with the verification sequence or not; if so, verification is determined to be passed.
- 7. The vehicle key remote sharing method according to any one of claims 4 to 6, characterized by further comprising: receiving a vehicle borrowing period forwarded by the cloud server; And deleting the master key sent by the cloud server when the vehicle borrowing period is up.
- 8. A vehicle key remote sharing method, which is applied to a cloud server, the method comprising: receiving a sharing request sent by an owner client, wherein the sharing request comprises information of a borrower; Acquiring UWB configuration information of an owner vehicle according to the sharing request, and generating a master key according to the UWB configuration information of the owner vehicle; The master key is sent to the vehicle borrower client according to the vehicle borrower information, and the master key is sent to the vehicle side, wherein the vehicle borrower client generates a session key request after receiving the master key and sends the session key request to the vehicle side, the vehicle side generates a session key when receiving the session key request and sends the session key to the vehicle borrower client, the vehicle borrower client generates a safety sequence according to the session key and the master key, generates a UWB data frame according to the safety sequence, and sends the UWB data frame to the vehicle side based on a UWB ranging mode, and the vehicle side verifies the UWB data frame according to the master key sent by the cloud server.
- 9. A borrower client comprising a memory, a processor and a remote sharing program of a car key stored on the memory and operable on the processor, wherein the processor implements the remote sharing method of a car key according to any one of claims 1-3 when executing the remote sharing program of a car key.
- 10. A vehicle end, characterized by comprising a memory, a processor and a vehicle key remote sharing program stored on the memory and capable of running on the processor, wherein the processor implements the vehicle key remote sharing method according to any one of claims 4-7 when executing the vehicle key remote sharing program.
- 11. The cloud server is characterized by comprising a memory, a processor and a vehicle key remote sharing program which is stored in the memory and can run on the processor, wherein the vehicle key remote sharing method is realized according to claim 8 when the processor executes the vehicle key remote sharing program.
- 12. A computer-readable storage medium, characterized in that a car key remote sharing program is stored thereon, which when executed by a processor, implements the car key remote sharing method according to any one of claims 1-8.
- 13. The remote sharing system for the car key is characterized by comprising a car owner client, a borrower client, a cloud server and a car end, wherein, The vehicle owner client is used for initiating a sharing request, wherein the sharing request comprises information of a vehicle borrower; The cloud server is used for acquiring UWB configuration information of a vehicle owner according to the sharing request, generating a master key according to the UWB configuration information of the vehicle owner, sending the master key to the client of the vehicle borrower according to the information of the vehicle borrower, and sending the master key to the vehicle end; The client side of the borrower is used for generating a session key request after receiving the master key and sending the session key request to the vehicle side; the vehicle end is used for generating a session key when receiving the session key request and sending the session key to the client of the borrower; the borrower client is further used for generating a safety sequence according to the session key and the master key, generating a UWB data frame according to the safety sequence, and transmitting the UWB data frame to the vehicle end based on a UWB ranging mode; The vehicle end is further used for verifying the UWB data frame according to the master key sent by the cloud server.
Description
Remote sharing method and related device for vehicle keys Technical Field The invention relates to the technical field of remote sharing of car keys, in particular to a remote sharing method of car keys and a related device. Background Along with the rapid development of the technical field of vehicles, the intelligent degree of the vehicles is gradually improved, the vehicle keys are transited from physical keys to virtual keys, and a vehicle PEPS (PASSIVE ENTRY PASSIVE START, keyless entry and keyless start) system becomes a functional bright point of the virtual keys. The presence of the virtual key makes it possible to remotely share the car key, by which the user can borrow the car to another person or a family multi-person car. In the related art, remote sharing of a car key is realized based on a Bluetooth technology, but the problem of low safety and the like exists. Disclosure of Invention The present invention aims to solve at least one of the technical problems in the related art to some extent. Therefore, a first object of the present invention is to provide a vehicle key remote sharing method, which can improve the security of vehicle key remote sharing. A second object of the present invention is to propose a second vehicle key remote sharing method. A third object of the present invention is to propose a third vehicle key remote sharing method. A fourth object of the present invention is to provide a borrower client. A fifth object of the present invention is to provide a vehicle end. A sixth objective of the present invention is to provide a cloud server. A seventh object of the present invention is to propose a computer readable storage medium. An eighth object of the present invention is to provide a vehicle key remote sharing system. In order to achieve the above purpose, an embodiment of a first aspect of the present invention provides a method for remotely sharing a vehicle key, which is applied to a client of a borrower, and the method includes generating a session key request after receiving a master key sent by a cloud server, wherein the master key is generated when the cloud server receives a sharing request sent by a vehicle owner client, sending the session key request to the vehicle, wherein the session key request is used for indicating the vehicle to generate a session key, generating a security sequence according to the session key and the master key when the session key is received, generating a UWB data frame according to the security sequence, and sending the UWB data frame to the vehicle based on a UWB ranging mode, so that the vehicle verifies the UWB data frame according to the master key sent by the cloud server. According to the vehicle key remote sharing method, the vehicle borrower client can generate the safety sequence according to the master key acquired from the cloud server and the session key acquired from the vehicle end, further generate the UWB data frame according to the safety sequence, and send the UWB data frame to the vehicle end based on the UWB ranging mode, so that the vehicle end can verify the UWB data frame according to the same master key acquired from the cloud server, and safety of vehicle key remote sharing is improved. In some embodiments of the present invention, when receiving the master key sent by the cloud server, the method further includes receiving the UWB configuration information of the vehicle owner and configuring the UWB module of the vehicle owner according to the UWB configuration information of the vehicle owner before generating the UWB data frame. In some embodiments of the invention, the UWB data frame comprises a SYNC sequence, an SFD sequence, an STS sequence, a PHY sequence, and a PSDU sequence. In order to achieve the above purpose, a second vehicle key remote sharing method is provided according to a second aspect of the present invention, and the method is applied to a vehicle terminal, and the method includes generating a session key when a session key request sent by a vehicle borrower client is received, wherein the session key is generated by the vehicle borrower client after receiving a master key sent by a cloud server, the master key is generated when the cloud server receives a sharing request sent by a vehicle owner client, sending the session key to the vehicle borrower client, so that the vehicle borrower 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, receiving the UWB data frame sent by the vehicle borrower client based on a UWB ranging mode, and verifying the UWB data frame according to the master key sent by the cloud server. According to the vehicle key remote sharing method, the vehicle borrower client can generate the safety sequence according to the master key acquired from the cloud server and the session key acquired from the vehicle end, further generate the UWB data frame according to the sa