CN116264021A - Method and device for sharing digital car key and storage medium - Google Patents

Method and device for sharing digital car key and storage medium Download PDF

Info

Publication number
CN116264021A
CN116264021A CN202111530396.7A CN202111530396A CN116264021A CN 116264021 A CN116264021 A CN 116264021A CN 202111530396 A CN202111530396 A CN 202111530396A CN 116264021 A CN116264021 A CN 116264021A
Authority
CN
China
Prior art keywords
key
car key
digital car
message
digital
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202111530396.7A
Other languages
Chinese (zh)
Inventor
乔光军
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Xiaomi Mobile Software Co Ltd
Original Assignee
Beijing Xiaomi Mobile Software Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Xiaomi Mobile Software Co Ltd filed Critical Beijing Xiaomi Mobile Software Co Ltd
Priority to CN202111530396.7A priority Critical patent/CN116264021A/en
Publication of CN116264021A publication Critical patent/CN116264021A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Traffic Control Systems (AREA)

Abstract

The disclosure provides a method and device for sharing a digital car key and a storage medium. Wherein the method comprises the following steps: the URL address of the uniform resource locator for sharing the digital car key is sent to the equipment to be shared through a first message; and sending the safety information corresponding to the digital car key to the equipment at the end to be shared through a second message. The method and the device can reduce the risk that the URL address for sharing the digital car key and the safety information corresponding to the digital car key are intercepted by other equipment except the equipment at the end to be shared, and improve the safety of sharing the digital car key.

Description

Method and device for sharing digital car key and storage medium
Technical Field
The disclosure relates to the field of digital car keys, and in particular relates to a method and device for sharing a digital car key, and a storage medium.
Background
Currently, a URL (Uniform Resource Locator ) address for sharing a digital car key may be sent to a Friend (to-be-shared end) device by an Owner device, where the URL address includes a key corresponding to the digital car key.
Disclosure of Invention
In view of the above, the application discloses a method and a device for sharing a digital car key and a storage medium.
According to a first aspect of an embodiment of the present disclosure, there is provided a method of sharing a digital car key, the method being applied to a car owner device, the method including:
the URL address of the uniform resource locator for sharing the digital car key is sent to the equipment to be shared through a first message;
and sending the safety information corresponding to the digital car key to the equipment at the end to be shared through a second message.
Optionally, the message type of the first message is the same as or different from the message type of the second message.
Optionally, the security information includes any one of the following:
a key for encrypting or decrypting the digital car key;
a password for generating the key.
Optionally, the URL address is used to indicate an access address of the encrypted digital car key on a designated server;
in the case where the security information is the key, the method further includes:
encrypting the digital car key based on the key;
sending the encrypted digital car key to the appointed server;
After the encrypted URL address corresponding to the digital car key is determined, the step of sending the URL address of the uniform resource locator for sharing the digital car key to the equipment to be shared through the first message is executed.
Optionally, in the case that the security information is the password, before encrypting the digital car key based on the key, the method further includes:
the key is generated by the password.
Optionally, the generating the key by the password includes:
generating the key based on a specified algorithm or a specified protocol by the password and the target parameter; wherein the target parameter is a parameter corresponding to the specified algorithm or the specified protocol.
Optionally, the target parameter is pre-agreed by the host device and the device to be shared.
According to a second aspect of an embodiment of the present disclosure, there is provided a method for sharing a digital car key, where the method is applied to a device to be shared, and the method includes:
receiving a Uniform Resource Locator (URL) address which is transmitted by a vehicle owner terminal device through a first message and used for sharing the digital vehicle key;
receiving safety information corresponding to the digital car key, which is sent by the car owner equipment through a second message;
And determining the digital car key shared by the car owner equipment through the URL address and the safety information.
Optionally, the message type of the first message is the same as or different from the message type of the second message.
Optionally, the security information includes any one of the following:
a key for encrypting or decrypting the digital car key;
a password for generating the key.
Optionally, the URL address is used to indicate an access address of the encrypted digital car key on a designated server;
the determining, by the URL address and the security information, the digital car key shared by the owner side device includes:
accessing the appointed server through the URL address to obtain the encrypted digital car key;
under the condition that the safety information is the secret key, decrypting the encrypted digital car key through the secret key, and determining the digital car key shared by the car owner side equipment;
and under the condition that the safety information is the password, after the secret key is generated through the password, decrypting the encrypted digital car key through the secret key, and determining the digital car key shared by the car owner side equipment.
Optionally, the generating the key by the password includes:
generating the key based on a specified algorithm or a specified protocol by the password and the target parameter; wherein the target parameter is a parameter corresponding to the specified algorithm or the specified protocol.
Optionally, the target parameter is predetermined by the to-be-shared end device and the owner end device.
Optionally, in the case that the security information is the password, the method further includes:
responding to the received access request message requesting to access the URL address, and outputting prompt information; the prompt information is used for prompting a user to input the password;
and after the password input by the user is acquired, executing the step of generating the key through the password.
According to a third aspect of the embodiments of the present disclosure, there is provided an apparatus for sharing a digital car key, the apparatus being applied to a car owner device, the apparatus comprising:
the first sending module is used for sending the URL address of the uniform resource locator for sharing the digital car key to the equipment to be shared through a first message;
and the second sending module is used for sending the safety information corresponding to the digital car key to the equipment at the end to be shared through a second message.
According to a fourth aspect of the embodiments of the present disclosure, there is provided an apparatus for sharing a digital car key, where the apparatus is applied to an end device to be shared, the apparatus includes:
the first receiving module is used for receiving a Uniform Resource Locator (URL) address which is sent by the vehicle owner equipment through a first message and used for sharing the digital vehicle key;
the second receiving module is used for receiving the safety information which is sent by the vehicle owner equipment through the second message and corresponds to the digital vehicle key;
and the determining module is used for determining the digital car key shared by the car owner side equipment through the URL address and the safety information.
According to a fifth aspect of embodiments of the present disclosure, there is provided a computer-readable storage medium having stored thereon a computer program which, when executed by a processor, implements the steps of the method of sharing a digital car key of any one of the owner side devices.
According to a sixth aspect of the embodiments of the present disclosure, there is provided a computer readable storage medium having stored thereon a computer program which, when executed by a processor, implements the steps of the method for sharing a digital car key of any one of the device sides of the end to be shared.
According to a seventh aspect of embodiments of the present disclosure, there is provided an apparatus for sharing a digital car key, including:
a processor;
a memory for storing processor-executable instructions;
the processor is configured to execute the executable instructions to implement the steps of the method for sharing the digital car key of any one of the main end equipment sides.
According to an eighth aspect of an embodiment of the present disclosure, there is provided an apparatus for sharing a digital car key, including:
a processor;
a memory for storing processor-executable instructions;
the processor is configured to execute the executable instructions to implement the method for sharing the digital car key of any one of the equipment sides at the end to be shared.
The technical scheme provided by the embodiment of the disclosure can comprise the following beneficial effects:
in the method, the device at the owner end can respectively send the URL address for sharing the digital car key and the safety information corresponding to the digital car key to the device at the end to be shared through two different messages, so that the risk that the URL address and the safety information are intercepted and captured by other devices except the device at the end to be shared is reduced, and the safety of sharing the digital car key is improved.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the invention and together with the description, serve to explain the principles of the invention.
FIGS. 1A-1B are flow diagrams of a related art method for sharing a digital car key;
FIG. 2 is a flow chart illustrating a method of sharing a digital car key according to an exemplary embodiment of the present disclosure;
FIG. 3A is a flow chart illustrating another method of sharing a digital car key according to an exemplary embodiment of the present disclosure;
FIG. 3B is a flow chart illustrating another method of sharing a digital car key according to an exemplary embodiment of the present disclosure;
FIG. 4 is a flow chart illustrating another method of sharing a digital car key according to an exemplary embodiment of the present disclosure;
FIG. 5 is a flow chart illustrating another method of sharing a digital car key according to an exemplary embodiment of the present disclosure;
FIG. 6A is a flow chart illustrating another method of sharing a digital car key according to an exemplary embodiment of the present disclosure;
FIG. 6B is a flow chart illustrating another method of sharing a digital car key according to an exemplary embodiment of the present disclosure;
FIG. 7 is a flow chart illustrating another method of sharing a digital car key according to an exemplary embodiment of the present disclosure;
FIG. 8 is a flow chart illustrating another method of sharing a digital car key according to an exemplary embodiment of the present disclosure;
FIG. 9 is a block diagram illustrating an apparatus for sharing a digital car key according to an exemplary embodiment of the present disclosure;
FIG. 10 is a block diagram illustrating an apparatus for sharing a digital car key according to an exemplary embodiment of the present disclosure;
FIG. 11 is a schematic diagram of an apparatus for sharing a digital car key according to an exemplary embodiment of the present disclosure;
fig. 12 is a schematic diagram of another device for sharing a digital car key according to an exemplary embodiment of the present disclosure.
Detailed Description
Reference will now be made in detail to exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, the same numbers in different drawings refer to the same or similar elements, unless otherwise indicated. The implementations described in the following exemplary examples do not represent all implementations consistent with the invention. Rather, they are merely examples of apparatus and methods consistent with aspects of the invention as detailed in the accompanying claims.
A method of sharing a digital car key in CCC (Car Connectivity Consortium, internet of vehicles alliance) specifications may include the steps of:
firstly, the owner side equipment determines the URL address for sharing the digital car key through the brand server corresponding to the owner side equipment.
Wherein the URL address is an address on an intermediate server, including but not limited to a vehicle factory server, where the digital vehicle key is stored.
And secondly, the URL address can be sent to the equipment to be shared by the main equipment through a short message, a WeChat or other instant messaging modes.
And finally, the equipment to be shared can find the intermediate server through the URL address, so that the digital car key shared by the equipment at the car owner end is obtained.
In the embodiment of the present disclosure, the URL address includes a prkey field, where the prkey field indicates a key of the digital car key, and the interaction process may be shown in fig. 1A.
In addition, the disclosure further provides another method for sharing a digital car key, referring to fig. 1B, including the following steps:
in step 101, the host device creates a temporary mailbox on the relay server.
The temporary mailbox is used for storing the encrypted digital car key.
In step 102, the owner device sends the temporary mailbox address and the key on the relay server to the device to be shared through a URL address.
In step 103, the device to be shared accesses the temporary mailbox through the URL address, and obtains the digital car key through decryption of the key.
In step 104, the device to be shared deletes the temporary mailbox after obtaining the decrypted digital car key.
In the above mode, the URL address includes the key corresponding to the digital car key, and there is a risk of interception by other devices, so that the security is poor. In order to solve the technical problems, the present disclosure provides the following method for sharing a digital car key.
The method for sharing the digital car key provided by the present disclosure is described first from the side of the car owner's end device.
Referring to fig. 2, fig. 2 is a flowchart illustrating a method for sharing a digital car key according to an exemplary embodiment of the present disclosure, where the method for sharing a digital car key may include the following steps, where the main device may be a terminal device used by a vehicle owner, and the terminal device includes, but is not limited to, a mobile phone, a notebook computer, a desktop computer, an ipad, etc., as shown in fig. 2:
In step 201, a URL address of a URL used for sharing the digital car key is sent to a device to be shared through a first message.
In the embodiment of the disclosure, the terminal device to be shared may be a friend terminal device desiring to obtain a digital car key from a car owner terminal device. Wherein, the URL address does not include the key corresponding to the digital car key.
In one possible implementation, the message type of the first message may be a micro message or a short message or other message type of instant messaging.
In step 202, security information corresponding to the digital car key is sent to the device to be shared through a second message.
In one possible implementation manner, the message type of the second message may be the same as the message type of the first message, so that the possibility that other devices intercept the URL address and the security information at the same time is reduced, and thus the security of sharing the digital car key is improved. For example, the message type of the first message is a micro message or a short message or other message types of instant messaging, and the message type of the second message may also be a micro message or a short message or other message types of instant messaging.
In another possible implementation manner, the message type of the second message may be different from the message type of the first message, and compared with the case that the message type of the second message may be the same as the message type of the first message, the possibility that other devices intercept the URL address and the security information at the same time may be further reduced, so that the security of sharing the digital car key is improved.
For example, the message type of the first message is a WeChat, and the message type of the second message may be a short message or voice. For another example, if the message type of the first message is a sms, the message type of the second message may be a sms or voice. Under the condition that the message type is voice, the user of the vehicle owner side equipment can inform the safety information to the user of the equipment to be shared in a telephone voice or WeChat voice mode.
In the embodiment of the present disclosure, the security information may be information for protecting the security of the digital car key.
In one possible implementation, the security information may be a key that encrypts or decrypts the digital car key.
In another possible implementation, the security information may be a password used to generate the key.
In another possible implementation, the security information may be other information for securing a digital car key, which is not limited by the present disclosure.
In addition, the present disclosure does not limit the execution sequence of the step 201 and the step 202, and the step 201 may be executed first, then the step 202 may be executed, or the step 202 may be executed first, then the step 201 may be executed.
In the embodiment, the vehicle owner device can respectively send the URL address for sharing the digital vehicle key and the key corresponding to the digital vehicle key to the device to be shared through two different messages, so that the risk that the URL address and the key are intercepted by other devices except the device to be shared is reduced, and the security of sharing the digital vehicle key is improved.
In some alternative embodiments, referring to fig. 3A, fig. 3A is a flowchart of a method for sharing a digital car key according to an exemplary embodiment of the disclosure, where the method may be applied to a host device, and the security information is a key for encrypting or decrypting the digital car key, and the method includes the following steps:
in step 301, a digital car key is encrypted based on a key.
In the embodiment of the disclosure, the digital car key can be encrypted by the digital key framework of the car owner end device based on the key.
In step 302, the encrypted digital car key is sent to the designated server.
In the embodiment of the disclosure, the digital key frame of the vehicle owner device may send the encrypted digital vehicle key to the designated server. The specified server may be a trusted third party server or a relay server as a relay, which is not limited in this disclosure.
In one possible implementation, the designated server is a third party server, and the owner device may send the encrypted digital car key to a brand server corresponding to the owner device, where the brand server forwards the encrypted digital car key to the third party server.
In another possible implementation manner, the designated server is a relay server, the owner device may establish a temporary mailbox on the relay server, send the encrypted digital car key to the relay server, and store the encrypted digital car key in the temporary mailbox by the relay server.
In step 303, a URL address corresponding to the encrypted digital car key is determined.
The URL address is used for indicating the access address of the encrypted digital car key on the appointed server.
In one possible implementation, the URL address is used to indicate the address on the designated server where the encrypted digital car key is stored.
In another possible implementation, the URL address is used to indicate a temporary mailbox address on the designated server corresponding to the encrypted digital car key.
In step 304, the URL address for sharing the digital car key is sent to the device to be shared through the first message.
In the embodiment of the disclosure, the terminal device to be shared may be a friend terminal device desiring to obtain a digital car key from a car owner terminal device. Wherein, the URL address does not include the key corresponding to the digital car key.
In one possible implementation, the message type of the first message may be a micro message or a short message or other message type of instant messaging.
In step 305, a key corresponding to the digital car key is sent to the device to be shared through a second message.
In one possible implementation manner, the message type of the second message may be the same as the message type of the first message, so that the possibility that other devices intercept the URL address and the security information simultaneously is reduced, thereby improving the security of sharing the digital car key. For example, if the message type of the first message is a sms or a sms, the message type of the second message may also be a sms or a sms.
In another possible implementation manner, the message type of the second message may be different from the message type of the first message, and compared to the case where the message type of the second message may be the same as the message type of the first message, the possibility that other devices intercept URL addresses and security information at the same time may be further reduced, so that security of sharing the digital car key is improved.
For example, the message type of the first message is a WeChat, and the message type of the second message may be a short message or voice. For another example, if the message type of the first message is a sms, the message type of the second message may be a sms or voice. Under the condition that the message type is voice, the user of the vehicle owner side equipment can inform the key to the user of the equipment to be shared in a telephone voice or WeChat voice mode.
The present disclosure does not limit the execution sequence of the step 304 and the step 305, and the step 304 may be executed first, then the step 305 may be executed, or the step 305 may be executed first, then the step 304 may be executed.
In the embodiment, the owner side equipment can firstly generate the secret key through the password and encrypt the digital car key through the secret key, so that the convenience and safety of sharing the digital car key are improved.
In some alternative embodiments, referring to fig. 3B, fig. 3B is a flowchart of a method for sharing a digital car key according to an exemplary embodiment of the disclosure, where the method may be applied to a host device, and the security information is a password for generating a key, and the method includes the following steps:
in step 301', a key corresponding to a digital car key is generated by means of a password.
In the embodiment of the disclosure, considering that the key is generally longer, the user of the device to be shared is difficult to remember, and also difficult to input the key once and completely when the key is required to be input, the copying process is also troublesome, and in order to improve the convenience of the user of the device to be shared in acquiring the digital car key, the key corresponding to the digital car key can be replaced by the password which is shorter in length and easy to memorize.
In one possible implementation, the password may be determined by one of a number, letter, symbol, or a combination of a plurality of numbers, letters, symbols. Wherein the digits include, but are not limited to, arabic numerals, the letters include, but are not limited to, uppercase English letters, lowercase English letters, or letters corresponding to other languages, and the symbols include, but are not limited to, underlines, horizontal lines, separators, and the like.
It will be appreciated that the password setting rules in the present disclosure may be existing common password setting rules, which are not limited in this disclosure.
In another possible implementation, the key is generated by a DK frame work (Digital Key framework, digital key frame) of the host end device by a password.
In another possible implementation, the owner device may generate the key based on a specified algorithm or a specified protocol through the password and the target parameter.
Wherein the target parameter is a parameter corresponding to the specified algorithm or the specified protocol, the specified algorithm including but not limited to a spak2+ algorithm, the specified protocol including but not limited to an SRP (Secure Remote Password, secure remote key) protocol.
In the embodiment of the disclosure, the target parameters can be pre-agreed by the owner device and the sharing device. When the key is required to be generated, the digital key framework of the vehicle owner terminal equipment generates the key corresponding to the digital vehicle key according to a specified algorithm or a specified protocol through the password and the target parameter.
Taking the designated algorithm as a spak2+ algorithm as an example, the master device may pre-agree with target parameters corresponding to the spak2+ algorithm with the to-be-shared device, where the target parameters include, but are not limited to, at least one of the following: ECC (Ellipse Curve Cryptography, elliptic curve code) elliptic curve parameters, salt, cost parameter Nscrypt, block size r, parallelization parameter p, output length dkLen, etc. The digital key frame of the main terminal equipment can calculate and obtain the key according to the target parameter and the password and the spak2+ algorithm.
In step 302', the digital car key is encrypted based on the key.
In the embodiment of the disclosure, the digital car key can be encrypted by the digital key framework of the car owner end device based on the key.
In step 303', the encrypted digital car key is transmitted to the designated server.
In the embodiment of the disclosure, the digital key frame of the vehicle owner device may send the encrypted digital vehicle key to the designated server. The specified server may be a trusted third party server or a relay server as a relay, which is not limited in this disclosure.
In one possible implementation, the designated server is a third party server, and the owner device may send the encrypted digital car key to a brand server corresponding to the owner device, where the brand server forwards the encrypted digital car key to the third party server.
In another possible implementation manner, the designated server is a relay server, the owner device may establish a temporary mailbox on the relay server, send the encrypted digital car key to the relay server, and store the encrypted digital car key in the temporary mailbox by the relay server.
In step 304', the URL address corresponding to the encrypted digital car key is determined.
The URL address is used for indicating the access address of the encrypted digital car key on the appointed server.
In one possible implementation, the URL address is used to indicate the address on the designated server where the encrypted digital car key is stored.
In another possible implementation, the URL address is used to indicate a temporary mailbox address on the designated server corresponding to the encrypted digital car key.
In step 305', the URL address for sharing the digital car key is sent to the device to be shared through the first message.
In the embodiment of the disclosure, the terminal device to be shared may be a friend terminal device desiring to obtain a digital car key from a car owner terminal device. Wherein, the URL address does not include the key corresponding to the digital car key.
In one possible implementation, the message type of the first message may be a WeChat or a SMS.
In step 306', the password is sent to the to-be-shared terminal device through a second message.
In one possible implementation manner, the message type of the second message may be the same as the message type of the first message, so that the possibility that other devices intercept the URL address and the security information simultaneously is reduced, thereby improving the security of sharing the digital car key. For example, if the message type of the first message is a sms or a sms, the message type of the second message may also be a sms or a sms.
In another possible implementation manner, the message type of the second message may be different from the message type of the first message, and compared to the case where the message type of the second message may be the same as the message type of the first message, the possibility that other devices intercept URL addresses and security information at the same time may be further reduced, so that security of sharing the digital car key is improved.
For example, the message type of the first message is a WeChat, and the message type of the second message may be a short message or voice. For another example, if the message type of the first message is a sms, the message type of the second message may be a sms or voice. Under the condition that the message type is voice, the user of the vehicle owner side equipment can inform the password to the user of the equipment to be shared in a telephone voice or WeChat voice mode.
The present disclosure does not limit the execution sequence of the step 305 'and the step 306', and the step 305 'may be executed first, then the step 306' may be executed, or the step 306 'may be executed first, then the step 305' may be executed.
In the embodiment, the owner side equipment can firstly generate the secret key through the password and encrypt the digital car key through the secret key, so that the convenience and safety of sharing the digital car key are improved.
In some alternative embodiments, the owner side device may also directly send the unencrypted digital car key and the key generated by the password to the designated server, where the designated server encrypts the digital car key by using the key, and sends the URL address of the encrypted digital car key to the owner side device.
And the owner side equipment sends the URL address to the equipment to be shared through the first message, and sends the secret key to the equipment to be shared through the second message. The purpose of improving the safety of sharing the digital car key can be achieved.
In some alternative embodiments, referring to fig. 4, fig. 4 is a flowchart of a method for sharing a digital car key according to an exemplary embodiment of the disclosure, where the method may be applied to a host device, and includes the following steps:
in step 401, a URL address of a universal resource locator for sharing the digital car key is sent to a device to be shared through a first message.
In the embodiment of the disclosure, the terminal device to be shared may be a friend terminal device desiring to obtain a digital car key from a car owner terminal device. Wherein, the URL address does not include the key corresponding to the digital car key.
In one possible implementation, the message type of the first message may be a micro message or a short message or other message type of instant messaging.
In step 402, a password for generating a key corresponding to the digital car key is sent to the device to be shared through a second message.
In the embodiment of the disclosure, the key is generally longer, so that the user of the device to be shared is difficult to remember, and is also difficult to input the key completely at one time when the key is required to be input, and the copying process is also troublesome.
Accordingly, when sending the key to the device to be sent, the implementation manner of step 402 may be adopted, that is, the password for generating the key corresponding to the digital car key is sent to the device to be shared through the second message.
In one possible implementation, the password may be determined by one of a number, letter, symbol, or a combination of a plurality of numbers, letters, symbols. Wherein the digits include, but are not limited to, arabic numerals, the letters include, but are not limited to, uppercase English letters, lowercase English letters, or letters corresponding to other languages, and the symbols include, but are not limited to, underlines, horizontal lines, separators, and the like.
It will be appreciated that the password setting rules in the present disclosure may be existing common password setting rules, which are not limited in this disclosure.
In one possible implementation, the message type of the second message may be the same as the message type of the first message.
In another possible implementation, the message type of the second message may be different from the message type of the first message.
The present disclosure does not limit the execution order of the step 401 and the step 402, and the step 401 may be executed first, then the step 402 may be executed, or the step 402 may be executed first, then the step 401 may be executed.
In the embodiment, the secret key corresponding to the digital car key is replaced by the password which is short in length and easy to memorize, so that the convenience of a user of the equipment at the end to be shared for obtaining the digital car key is improved, the URL address for sharing the digital car key and the secret key corresponding to the digital car key are respectively sent to the equipment at the end to be shared through two different messages, the risk that the URL address and the secret key are intercepted by other equipment except the equipment at the end to be shared is reduced, and the safety of sharing the digital car key is improved.
The method for sharing the digital car key provided by the disclosure is described from the device side of the terminal to be shared.
Referring to fig. 5, fig. 5 is a flowchart illustrating a method for sharing a digital car key according to an exemplary embodiment of the present disclosure, where the to-be-shared end device may be a friend end device that desires to obtain the digital car key from a vehicle owner end device, and the friend end device includes, but is not limited to, a mobile phone, a notebook computer, a desktop computer, an ipad, and the like, and as shown in fig. 5, the method for sharing the digital car key may include the following steps:
in step 501, a URL address of a universal resource locator for sharing the digital car key, which is sent by a host device through a first message, is received.
In the embodiment of the disclosure, the vehicle owner end device may be a terminal device used by the vehicle owner. The message type of the first message may be a short message or a WeChat. Wherein, the URL address does not include the key corresponding to the digital car key.
In step 502, security information corresponding to the digital car key, which is sent by the car owner device through a second message, is received.
In one possible implementation manner, the message type of the second message may be the same as the message type of the first message, so that the possibility that other devices intercept the URL address and the key at the same time is reduced, and thus the security of sharing the digital car key is improved. For example, if the message type of the first message is a sms or a sms, the message type of the second message may also be a sms or a sms.
In another possible implementation manner, the message type of the second message may be different from the message type of the first message, and compared with the case that the message type of the second message may be the same as the message type of the first message, the possibility that other devices intercept the URL address and the security information at the same time may be further reduced, so that the security of sharing the digital car key is improved.
For example, the message type of the first message is a WeChat, and the message type of the second message may be a short message or voice. For another example, if the message type of the first message is a sms, the message type of the second message may be a sms or voice. Under the condition that the message type is voice, the user of the vehicle owner side equipment can inform the safety information to the user of the equipment to be shared in a telephone voice or WeChat voice mode.
In the embodiment of the present disclosure, the security information may be information for protecting the security of the digital car key.
In one possible implementation, the security information may be a key that encrypts or decrypts the digital car key.
In another possible implementation, the security information may be a password used to generate the key.
In another possible implementation, the security information may be other information for securing a digital car key, which is not limited by the present disclosure.
The present disclosure is not limited to the order of execution of the steps 501 and 502, and the step 501 may be executed first, followed by the step 502, or the step 502 may be executed first, followed by the step 501.
In step 503, the digital car key shared by the car owner device is determined through the URL address and the security information.
In the embodiment of the disclosure, the digital car key can be determined by the digital key framework of the terminal equipment to be shared based on the URL address and the security information.
Optionally, the URL address of the digital car key sent by the car owner device is sent to the digital key frame of the device to be shared, and the digital key frame of the device to be shared is used for displaying the information which does not contain the URL to the user interface after the analysis of the URL is completed, so that the potential safety hazard of URL leakage caused by directly displaying the URL on the user interface is avoided, and the safety of the intelligent car key in the sharing process is improved.
In the embodiment, the device to be shared can receive the URL address of the digital car key and the security information corresponding to the digital car key, which are sent by the device at the main end through two different messages, so that the risk that the URL address and the security information are intercepted by other devices except the device to be shared is reduced, and the security of sharing the digital car key is improved.
In some alternative embodiments, referring to fig. 6A, fig. 6A is a flowchart of a method for sharing a digital car key according to an exemplary embodiment of the disclosure, where the method may be applied to a device to be shared, and the security information is a key used for encrypting or decrypting the digital car key, and the method includes the following steps:
in step 601, a URL address of a universal resource locator for sharing the digital car key, which is sent by the host device through the first message, is received.
In the embodiment of the disclosure, the vehicle owner end device may be a terminal device used by the vehicle owner. The message type of the first message may be a short message or a WeChat. Wherein, the URL address does not include the key corresponding to the digital car key.
In one possible implementation, the URL address may be used to indicate the encrypted access address of the digital car key on the designated server.
In step 602, a key corresponding to the digital car key sent by the car owner device through a second message is received.
In one possible implementation manner, the message type of the second message may be the same as the message type of the first message, so that the possibility that other devices intercept the URL address and the security information simultaneously is reduced, thereby improving the security of sharing the digital car key. For example, if the message type of the first message is a sms or a sms, the message type of the second message may also be a sms or a sms.
In another possible implementation manner, the message type of the second message may be different from the message type of the first message, and compared to the case where the message type of the second message may be the same as the message type of the first message, the possibility that other devices intercept URL addresses and security information at the same time may be further reduced, so that security of sharing the digital car key is improved.
For example, the message type of the first message is a WeChat, and the message type of the second message may be a short message or voice. For another example, if the message type of the first message is a sms, the message type of the second message may be a sms or voice. Under the condition that the message type is voice, the user of the vehicle owner side equipment can inform the key to the user of the equipment to be shared in a telephone voice or WeChat voice mode.
The present disclosure does not limit the execution sequence of the step 601 and the step 602, and the step 601 may be executed first and then the step 602 may be executed, or the step 602 may be executed first and then the step 601 may be executed.
In step 603, the specified server is accessed through the URL address, and the encrypted digital car key is obtained.
In the embodiment of the present disclosure, the specified server may be a trusted third party server, or the specified server may be a relay server that is a relay device between the host device and the device to be shared.
In one possible implementation manner, the device to be shared may find the specified server through the brand server corresponding to the device to be shared, so as to access the specified server according to the URL address, thereby obtaining the encrypted digital car key.
In another possible implementation manner, the device to be shared can directly access the temporary mailbox on the designated server according to the URL address, so as to obtain the encrypted digital car key stored in the temporary mailbox.
In step 604, the encrypted digital car key is decrypted by the key, so as to determine the digital car key shared by the car owner device.
In the embodiment of the disclosure, the encrypted digital car key can be decrypted by the digital key frame of the terminal equipment to be shared through the key, so that the digital car key is obtained.
Optionally, the URL address of the digital car key sent by the car owner device is sent to the digital key frame of the device to be shared, and the digital key frame of the device to be shared is used for displaying the information which does not contain the URL to the user interface after the analysis of the URL is completed, so that the potential safety hazard of URL leakage caused by directly displaying the URL on the user interface is avoided, and the safety of the intelligent car key in the sharing process is improved.
In the above embodiment, the device to be shared may access the designated server based on the received URL address, so as to obtain an encrypted digital car key, further, decrypt the encrypted digital car key through the received key, so as to obtain the digital car key shared by the device at the owner end, reduce the risk that the URL address and the key are intercepted by other devices except the device to be shared, and improve the security of sharing the digital car key.
In some alternative embodiments, referring to fig. 6B, fig. 6B is a flowchart of a method for sharing a digital car key according to an exemplary embodiment of the disclosure, where the method may be applied to an end device to be shared, and the security information is a password for generating a key, and the method includes the following steps:
in step 601', a URL address of a universal resource locator for sharing the digital car key, which is sent by the host device through the first message, is received.
In the embodiment of the disclosure, the vehicle owner end device may be a terminal device used by the vehicle owner. The message type of the first message may be a short message or a WeChat. Wherein, the URL address does not comprise a password corresponding to the digital car key.
In one possible implementation, the URL address may be used to indicate the encrypted access address of the digital car key on the designated server.
In step 602', a password for generating a key, which is sent by the owner side device through the second message, is received.
In one possible implementation manner, the message type of the second message may be the same as the message type of the first message, so that the possibility that other devices intercept the URL address and the security information simultaneously is reduced, thereby improving the security of sharing the digital car key. For example, if the message type of the first message is a sms or a sms, the message type of the second message may also be a sms or a sms.
In another possible implementation manner, the message type of the second message may be different from the message type of the first message, and compared to the case where the message type of the second message may be the same as the message type of the first message, the possibility that other devices intercept URL addresses and security information at the same time may be further reduced, so that security of sharing the digital car key is improved.
For example, the message type of the first message is a WeChat, and the message type of the second message may be a short message or voice. For another example, if the message type of the first message is a sms, the message type of the second message may be a sms or voice. Under the condition that the message type is voice, the user of the vehicle owner side equipment can inform the password to the user of the equipment to be shared in a telephone voice or WeChat voice mode.
The present disclosure is not limited to the execution sequence of the step 601 'and the step 602', and the step 601 'may be executed first, then the step 602' may be executed, or the step 602 'may be executed first, then the step 601' may be executed.
In step 603', the specified server is accessed through the URL address, and the encrypted digital car key is obtained.
In the embodiment of the present disclosure, the specified server may be a trusted third party server, or the specified server may be a relay server that is a relay device between the host device and the device to be shared.
In one possible implementation manner, the device to be shared may find the specified server through the brand server corresponding to the device to be shared, so as to access the specified server according to the URL address, thereby obtaining the encrypted digital car key.
In another possible implementation manner, the device to be shared can directly access the temporary mailbox on the designated server according to the URL address, so as to obtain the encrypted digital car key stored in the temporary mailbox.
In step 604', after the key is generated by the password, the encrypted digital car key is decrypted by the key, so as to determine the digital car key shared by the car owner device.
In the embodiment of the present disclosure, the method of generating the key by the device to be shared through the password is similar to the method of generating the key by the device of the owner through the password, and will not be described herein.
In the embodiment of the disclosure, the encrypted digital car key can be decrypted by the digital key frame of the terminal equipment to be shared through the key, so that the digital car key is obtained.
Optionally, the URL address of the digital car key sent by the car owner device is sent to the digital key frame of the device to be shared, and the digital key frame of the device to be shared is used for displaying the information which does not contain the URL to the user interface after the analysis of the URL is completed, so that the potential safety hazard of URL leakage caused by directly displaying the URL on the user interface is avoided, and the safety of the intelligent car key in the sharing process is improved.
In the above embodiment, the device to be shared may access the designated server based on the received URL address, so as to obtain an encrypted digital car key, further, decrypt the encrypted digital car key through the received key, so as to obtain the digital car key shared by the device at the owner end, reduce the risk that the URL address and the key are intercepted by other devices except the device to be shared, and improve the security of sharing the digital car key. In some alternative embodiments, referring to fig. 7, fig. 7 is a flowchart of a method for sharing a digital car key according to an exemplary embodiment of the disclosure, where the method may be applied to a device to be shared, and includes the following steps:
In step 701, a URL address of a universal resource locator for sharing the digital car key, which is sent by the host device through a first message, is received.
In the embodiment of the disclosure, the vehicle owner end device may be a terminal device used by the vehicle owner. The message type of the first message may be a short message or a WeChat. Wherein, the URL address does not include the key corresponding to the digital car key.
In one possible implementation, the URL address may be used to indicate the encrypted access address of the digital car key on the designated server.
In step 702, a password sent by the vehicle owner device through the second message and used for generating a key corresponding to the digital vehicle key is received.
In the embodiment of the disclosure, considering that the key is generally longer, the user of the device to be shared is difficult to remember, and also difficult to input the key once and completely when the key is required to be input, the copying process is also troublesome, so as to improve the convenience of the user of the device to be shared in acquiring the digital car key, the owner end device can send the password with shorter length and easy memorization to the device to be shared through the second message, and then the digital key frame of the device to be shared can generate the key corresponding to the digital car key based on the password.
In one possible implementation, the password may be determined by one of a number, letter, symbol, or a combination of a plurality of numbers, letters, symbols. Wherein the digits include, but are not limited to, arabic numerals, the letters include, but are not limited to, uppercase English letters, lowercase English letters, or letters corresponding to other languages, and the symbols include, but are not limited to, underlines, horizontal lines, separators, and the like.
It will be appreciated that the password setting rules in the present disclosure may be existing common password setting rules, which are not limited in this disclosure.
In one possible implementation, the message type of the second message may be the same as the message type of the first message.
In another possible implementation, the message type of the second message may be different from the message type of the first message.
The present disclosure does not limit the execution sequence of the step 701 and the step 702, and the step 701 may be executed first, then the step 702 may be executed, or the step 702 may be executed first, then the step 701 may be executed.
In step 703, in response to receiving an access request message requesting access to the URL address, a hint is output.
In the embodiment of the disclosure, the prompt information may be used to prompt a user of the device to be shared to input a password for generating a key corresponding to the digital car key.
In one possible implementation manner, in a case that the to-be-shared end device detects a click operation of clicking the URL address, it is determined that the access request message is received. At this time, the device to be shared may output the prompt information. And the user of the terminal equipment to be shared can input the password according to the second message.
In step 704, the password entered by the user is obtained.
In the embodiment of the disclosure, the device to be shared may acquire the password input by the user through the physical key or the virtual key.
In step 705, the key is generated by the password.
In the embodiment of the disclosure, the device to be shared may generate the key through a digital key frame of the device to be shared.
In one possible implementation manner, the to-be-shared end device may generate the key based on a specified algorithm or a specified protocol through the password and the target parameter.
Wherein the target parameter is a parameter corresponding to the specified algorithm or the specified protocol, the specified algorithm includes but is not limited to a spak2+ algorithm, and the specified protocol includes but is not limited to an SRP protocol.
In the embodiment of the disclosure, the target parameters may be pre-defined by the device to be shared and the device of the vehicle owner. When the key is required to be generated, the digital key framework of the terminal equipment to be shared can generate the key corresponding to the digital car key through the password and the target parameter according to a specified algorithm or a specified protocol.
Taking the designated algorithm as a spak2+ algorithm as an example, the to-be-shared terminal device may pre-agree with target parameters corresponding to the spak2+ algorithm with the owner terminal device, where the target parameters include, but are not limited to, at least one of the following: ECC elliptic curve parameters, salt, cost parameter Nscrypt, block size r, parallelization parameter p, output length dkLen, etc. The digital key frame of the device to be shared can calculate the key according to the spak2+ algorithm through the target parameter and the password.
In step 706, the digital car key shared by the owner device is determined through the URL address and the key.
In the embodiment of the disclosure, the encrypted digital car key can be obtained by the digital key frame of the to-be-shared terminal device based on the URL address, and the encrypted digital car key is decrypted according to the key, so that the digital car key shared by the owner terminal device is obtained.
Optionally, the URL address of the digital car key sent by the car owner device is sent to the digital key frame of the device to be shared, and the digital key frame of the device to be shared is used for displaying the information which does not contain the URL to the user interface after the analysis of the URL is completed, so that the potential safety hazard of URL leakage caused by directly displaying the URL on the user interface is avoided, and the safety of the intelligent car key in the sharing process is improved.
In the embodiment, the device to be shared can output the prompt information under the condition of accessing the URL address, generate the key based on the password input by the user, and obtain the digital car key shared by the device at the owner end according to the URL address and the key, thereby improving the convenience and safety of sharing the digital car key.
In some alternative embodiments, referring to fig. 8, fig. 8 is a flowchart of a method for sharing a digital car key according to an exemplary embodiment of the present disclosure, the method may include the steps of:
in step 801, the owner side device generates a key corresponding to the digital car key through a password.
In one possible implementation, the key may be generated by a digital key framework of the host device based on a specified algorithm or a specified protocol through the password and the target parameter.
Wherein the target parameter is a parameter corresponding to the specified algorithm or the specified protocol, the specified algorithm includes but is not limited to a spak2+ algorithm, and the specified protocol includes but is not limited to an SRP protocol.
In the embodiment of the disclosure, the target parameters may be pre-defined by the owner device and the sharing device. When the key is required to be generated, the digital key framework of the vehicle owner terminal equipment generates the key corresponding to the digital vehicle key according to a specified algorithm or a specified protocol through the password and the target parameter.
Taking the designated algorithm as a spak2+ algorithm as an example, the master device may pre-agree with target parameters corresponding to the spak2+ algorithm with the to-be-shared device, where the target parameters include, but are not limited to, at least one of the following: ECC elliptic curve parameters, salt, cost parameter Nscrypt, block size r, parallelization parameter p, output length dkLen, etc. The digital key frame of the main terminal equipment can calculate the key according to the target parameter and the password and the spak2+ algorithm process.
In step 802, the owner side device encrypts the digital car key based on the key.
In step 803, the owner device sends the encrypted digital car key to the designated server.
The designated server may be a third party server or a relay server.
In step 804, the owner device determines the URL address corresponding to the encrypted digital car key.
The URL address is used for indicating the access address of the encrypted digital car key on the appointed server.
In one possible implementation, the URL address is used to indicate the address on the designated server where the encrypted digital car key is stored.
In another possible implementation, the URL address is used to indicate a temporary mailbox address on the designated server corresponding to the encrypted digital car key.
In step 805, the owner device sends the URL address to the device to be shared through a first message.
In the embodiment of the disclosure, the terminal device to be shared may be a friend terminal device desiring to obtain a digital car key from a car owner terminal device. Wherein, the URL address does not include the key corresponding to the digital car key.
In one possible implementation, the message type of the first message may be a WeChat or a SMS.
In step 806, the owner device sends the password for generating the key to the device to be shared through the second message.
In one possible implementation, the message type of the second message may be the same as the message type of the first message.
In another possible implementation, the message type of the second message may be different from the message type of the first message.
In step 807, the device to be shared outputs a prompt message in response to receiving an access request message requesting to access the URL address.
In the embodiment of the disclosure, the prompt information may be used to prompt a user of the device to be shared to input a password for generating a key corresponding to the digital car key.
In step 808, the device to be shared obtains the password input by the user.
In step 809, the device to be shared generates the key through the password.
The method for generating the key by the device to be shared is similar to the method for generating the key by the device at the vehicle owner end, and will not be described herein.
In step 810, the device to be shared accesses the designated server through the URL address to obtain the encrypted digital car key.
In step 811, the device to be shared decrypts the encrypted digital car key through the key, and determines the digital car key shared by the device at the owner end.
In the embodiment of the disclosure, the encrypted digital car key can be decrypted by the digital key frame of the terminal equipment to be shared through the key, so that the digital car key is obtained.
Optionally, the URL address of the digital car key sent by the car owner device is sent to the digital key frame of the device to be shared, and the digital key frame of the device to be shared is used for displaying the information which does not contain the URL to the user interface after the analysis of the URL is completed, so that the potential safety hazard of URL leakage caused by directly displaying the URL on the user interface is avoided, and the safety of the intelligent car key in the sharing process is improved.
In the embodiment, the secret key corresponding to the digital car key is replaced by the password which is short in length and easy to memorize, so that the convenience of a user of the device to be shared for obtaining the digital car key is improved, the URL address for sharing the digital car key and the secret key corresponding to the digital car key are respectively sent to the device to be shared through two different messages by the device at the owner end, the risk that the URL address and the secret key are intercepted by other devices except the device to be shared at the same time is reduced, and the safety of sharing the digital car key is improved.
Corresponding to the foregoing embodiment of the application function implementation method, the present disclosure further provides an embodiment of the application function implementation apparatus.
Referring to fig. 9, fig. 9 is a block diagram of an apparatus for sharing a digital car key, which is applied to a car owner's end device, according to an exemplary embodiment, the apparatus includes:
the first sending module 901 is configured to send, through a first message, a URL address of a universal resource locator for sharing the digital car key to a device to be shared;
and the second sending module 902 is configured to send, through a second message, security information corresponding to the digital car key to the device to be shared.
Optionally, the message type of the first message is the same as or different from the message type of the second message.
Optionally, the security information includes any one of the following:
a key for encrypting or decrypting the digital car key;
a password for generating the key.
The specific implementation is similar to the implementation of the embodiment shown in fig. 2 and will not be described here again.
In some optional embodiments, the URL address is used to indicate an access address of the encrypted digital car key on a designated server;
in the case where the security information is the key, the apparatus further includes:
The encryption module is used for encrypting the digital car key based on the secret key;
the third sending module is used for sending the encrypted digital car key to the appointed server;
and the first control module is used for controlling the first sending module to send the URL address of the uniform resource locator for sharing the digital car key to the equipment to be shared through a first message after determining the URL address corresponding to the encrypted digital car key.
The specific implementation is similar to the implementation of the embodiment shown in fig. 3A and will not be described herein.
In some optional embodiments, in the case where the security information is the password, the apparatus further includes:
and the generation module is used for generating the secret key through the password.
Optionally, the generating module includes:
a generation sub-module for generating the key based on a specified algorithm or a specified protocol by the password and the target parameter; wherein the target parameter is a parameter corresponding to the specified algorithm or the specified protocol.
Optionally, the target parameter is pre-agreed by the host device and the device to be shared.
The specific implementation is similar to the implementation of the embodiment shown in fig. 3B and will not be described herein.
In some alternative embodiments, the second transmitting module includes:
and the sending submodule is used for sending the password for generating the secret key to the equipment to be shared through the second message.
The specific implementation is similar to the implementation of the embodiment shown in fig. 4 and will not be described here again.
Referring to fig. 10, fig. 10 is a block diagram of an apparatus for sharing a digital car key, which is applied to a device to be shared, according to an exemplary embodiment, and the apparatus includes:
the first receiving module 1001 is configured to receive a URL address sent by the vehicle owner device through a first message and used to share the digital vehicle key;
a second receiving module 1002, configured to receive security information corresponding to the digital car key sent by the car owner device through a second message;
and a determining module 1003, configured to determine, according to the URL address and the security information, the digital car key shared by the owner device.
Optionally, the message type of the first message is the same as or different from the message type of the second message.
Optionally, the security information includes any one of the following:
a key for encrypting or decrypting the digital car key;
a password for generating the key.
The URL address of the digital car key sent by the car owner equipment is sent to the digital key frame of the equipment to be shared, the digital key frame of the equipment to be shared is used for completing analysis of the URL and then displaying information which does not contain the URL to the user interface, potential safety hazards of URL leakage caused by directly displaying the URL on the user interface are avoided, and safety in the intelligent car key sharing process is improved.
The specific implementation is similar to the implementation of the embodiment shown in fig. 5 and will not be described here again.
In some optional embodiments, the URL address is used to indicate an access address of the encrypted digital car key on a designated server;
the determining module includes:
the first determining submodule is used for accessing the appointed server through the URL address to obtain the encrypted digital car key;
the second determining submodule is used for decrypting the encrypted digital car key through the secret key under the condition that the safety information is the secret key, and determining the digital car key shared by the car owner side equipment;
And the third determining submodule is used for decrypting the encrypted digital car key through the secret key after the secret key is generated through the secret key under the condition that the safety information is the secret code, and determining the digital car key shared by the car owner side equipment.
The URL address of the digital car key sent by the car owner equipment is sent to the digital key frame of the equipment to be shared, the digital key frame of the equipment to be shared is used for completing analysis of the URL and then displaying information which does not contain the URL to the user interface, potential safety hazards of URL leakage caused by directly displaying the URL on the user interface are avoided, and safety in the intelligent car key sharing process is improved.
Optionally, the third determining submodule is further configured to:
generating the key based on a specified algorithm or a specified protocol by the password and the target parameter; wherein the target parameter is a parameter corresponding to the specified algorithm or the specified protocol.
Optionally, the target parameter is predetermined by the to-be-shared end device and the owner end device.
The specific implementation is similar to the implementation of the embodiment shown in fig. 6A and 6B, and will not be described here again.
In some optional embodiments, in the case where the security information is the password, the apparatus further includes:
the output module is used for responding to the received access request message requesting to access the URL address and outputting prompt information; the prompt information is used for prompting a user to input the password;
and the second control module is used for controlling the third generation sub-module to generate the secret key through the password after acquiring the password input by the user.
The URL address of the digital car key sent by the car owner equipment is sent to the digital key frame of the equipment to be shared, the digital key frame of the equipment to be shared is used for completing analysis of the URL and then displaying information which does not contain the URL to the user interface, potential safety hazards of URL leakage caused by directly displaying the URL on the user interface are avoided, and safety in the intelligent car key sharing process is improved.
The specific implementation is similar to the implementation of the embodiment shown in fig. 7 and will not be described here again.
For the device embodiments, reference is made to the description of the method embodiments for the relevant points, since they essentially correspond to the method embodiments. The apparatus embodiments described above are merely illustrative, wherein the elements described above as separate elements may or may not be physically separate, and the elements shown as elements may or may not be physical elements, may be located in one place, or may be distributed over a plurality of network elements. Some or all of the modules may be selected according to actual needs to achieve the objectives of the disclosed solution. Those of ordinary skill in the art will understand and implement the present invention without undue burden.
Accordingly, the present disclosure also provides a computer readable storage medium storing a computer program, where the computer program is executed by a processor to implement the steps of the method for sharing a digital car key according to any one of the above-mentioned owner side devices.
Correspondingly, the disclosure further provides a computer readable storage medium, configured to store a computer program, where the computer program is executed by a processor and configured to implement the steps of the method for sharing a digital car key on the device side of the to-be-shared end.
Correspondingly, the disclosure also provides a device for sharing the digital car key, comprising:
a processor;
a memory for storing processor-executable instructions;
the processor is configured to execute the executable instructions to implement the steps of the method for sharing the digital car key in any one of the above main end equipment sides.
FIG. 11 is a block diagram illustrating an apparatus for sharing a digital car key according to an exemplary embodiment. For example, apparatus 1100 may be a mobile phone, computer, digital broadcast terminal, messaging device, game console, tablet device, medical device, exercise device, personal digital assistant, or the like.
Referring to fig. 11, apparatus 1100 may include one or more of the following components: a processing component 1102, a memory 1104, a power component 1106, a multimedia component 1108, an audio component 1110, an input/output (I/O) interface 1112, a sensor component 1116, and a communication component 1118.
The processing component 1102 generally controls overall operation of the apparatus 1100, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations. The processing component 1102 may include one or more processors 1120 to execute instructions to perform all or part of the steps of the methods described above. Further, the processing component 1102 can include one or more modules that facilitate interactions between the processing component 1102 and other components. For example, the processing component 1102 may include a multimedia module to facilitate interaction between the multimedia component 1108 and the processing component 1102.
One of the processors 1120 in the processing component 1102 may be configured to perform the method for sharing a digital car key described in any of the above-described owner side devices.
Memory 1104 is configured to store various types of data to support operations at apparatus 1100. Examples of such data include instructions for any application or method operating on the device 1100, contact data, phonebook data, messages, pictures, videos, and the like. The memory 1104 may be implemented by any type or combination of volatile or nonvolatile memory devices such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic or optical disk.
The power supply component 1106 provides power to the various components of the device 1100. The power supply component 1106 can include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power for the device 1100.
Multimedia component 1108 includes a screen between device 1100 and the user that provides an output interface. In some embodiments, the screen may include a Liquid Crystal Display (LCD) and a Touch Panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive input signals from a user. The touch panel includes one or more touch sensors to sense touches, swipes, and gestures on the touch panel. The touch sensor may sense not only the boundary of a touch or sliding action, but also the duration and pressure associated with the touch or sliding operation. In some embodiments, multimedia component 1108 includes a front camera and/or a rear camera. The front camera and/or the rear camera may receive external multimedia data when the apparatus 1100 is in an operational mode, such as a photographing mode or a video mode. Each front camera and rear camera may be a fixed optical lens system or have focal length and optical zoom capabilities.
The audio component 1110 is configured to output and/or input an audio signal. For example, the audio component 1110 includes a Microphone (MIC) configured to receive external audio signals when the device 1100 is in an operational mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signals may be further stored in the memory 1104 or transmitted via the communication component 1118. In some embodiments, the audio component 1110 further comprises a speaker for outputting audio signals.
The I/O interface 1112 provides an interface between the processing component 1102 and peripheral interface modules, which may be keyboards, click wheels, buttons, etc. These buttons may include, but are not limited to: homepage button, volume button, start button, and lock button.
Sensor assembly 1116 includes one or more sensors for providing status assessment of various aspects of device 1100. For example, the sensor assembly 1116 may detect an on/off state of the device 1100, a relative positioning of the components, such as a display and keypad of the device 1100, the sensor assembly 1116 may also detect a change in position of the device 1100 or a component of the device 1100, the presence or absence of user contact with the device 1100, an orientation or acceleration/deceleration of the device 1100, and a change in temperature of the device 1100. Sensor assembly 1116 may include a proximity sensor configured to detect the presence of nearby objects without any physical contact. Sensor assembly 1116 may also include a light sensor such as a CMOS or CCD image sensor for use in imaging applications. In some embodiments, the sensor assembly 1116 may also include an acceleration sensor, a gyroscopic sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
Communication component 1118 is configured to facilitate communication between apparatus 1100 and other devices in a wired or wireless manner. The device 1100 may access a wireless network based on a communication standard, such as WiFi,3G,4G,5G,6G or a combination thereof. In one exemplary embodiment, communication component 1118 receives broadcast signals or broadcast-related information from an external broadcast management system via a broadcast channel. In one exemplary embodiment, communication component 1118 also includes a Near Field Communication (NFC) module to facilitate short range communications. For example, the NFC module may be implemented based on Radio Frequency Identification (RFID) technology, infrared data association (IrDA) technology, ultra Wideband (UWB) technology, bluetooth (BT) technology, and other technologies.
In an exemplary embodiment, the apparatus 1100 may be implemented by one or more Application Specific Integrated Circuits (ASICs), digital Signal Processors (DSPs), digital Signal Processing Devices (DSPDs), programmable Logic Devices (PLDs), field Programmable Gate Arrays (FPGAs), controllers, microcontrollers, microprocessors, or other electronic elements for executing the methods described above.
In an exemplary embodiment, a non-transitory computer-readable storage medium is also provided, such as a memory 1104 including instructions executable by the processor 1120 of the apparatus 1100 to perform the above-described method. For example, the non-transitory computer readable storage medium may be ROM, random Access Memory (RAM), CD-ROM, magnetic tape, floppy disk, optical data storage device, etc.
Correspondingly, the disclosure also provides a device for sharing the digital car key, comprising:
a processor;
a memory for storing processor-executable instructions;
the processor is configured to execute the executable instructions to implement the method for sharing the digital car key according to any one of the above-mentioned to-be-shared end device sides.
FIG. 12 is a block diagram illustrating an apparatus for sharing a digital car key according to an exemplary embodiment. For example, apparatus 1200 may be a mobile phone, computer, digital broadcast terminal, messaging device, game console, tablet device, medical device, exercise device, personal digital assistant, or like terminal device.
Referring to fig. 12, apparatus 1200 may include one or more of the following components: a processing component 1202, a memory 1204, a power component 1206, a multimedia component 1208, an audio component 1210, an input/output (I/O) interface 1212, a sensor component 1216, and a communication component 1218.
The processing component 1202 generally controls overall operation of the apparatus 1200, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations. The processing component 1202 may include one or more processors 1220 to execute instructions to perform all or part of the steps of the methods described above. Further, the processing component 1202 may include one or more modules that facilitate interactions between the processing component 1202 and other components. For example, the processing component 1202 may include a multimedia module to facilitate interaction between the multimedia component 1208 and the processing component 1202.
One of the processors 1220 in the processing module 1202 may be configured to perform the method for sharing a digital car key as described in any of the above on the side of the end device to be shared.
The memory 1204 is configured to store various types of data to support operations at the apparatus 1200. Examples of such data include instructions for any application or method operating on the apparatus 1200, contact data, phonebook data, messages, pictures, videos, and the like. The memory 1204 may be implemented by any type or combination of volatile or non-volatile memory devices, such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic or optical disk.
Power supply assembly 1206 provides power to the various components of device 1200. The power supply components 1206 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power for the apparatus 1200.
The multimedia component 1208 includes a screen between the device 1200 and the user that provides an output interface. In some embodiments, the screen may include a Liquid Crystal Display (LCD) and a Touch Panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive input signals from a user. The touch panel includes one or more touch sensors to sense touches, swipes, and gestures on the touch panel. The touch sensor may sense not only the boundary of a touch or sliding action, but also the duration and pressure associated with the touch or sliding operation. In some embodiments, the multimedia component 1208 includes a front camera and/or a rear camera. The front camera and/or the rear camera may receive external multimedia data when the apparatus 1200 is in an operational mode, such as a photographing mode or a video mode. Each front camera and rear camera may be a fixed optical lens system or have focal length and optical zoom capabilities.
The audio component 1210 is configured to output and/or input audio signals. For example, the audio component 1210 includes a Microphone (MIC) configured to receive external audio signals when the apparatus 1200 is in an operational mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signals may be further stored in the memory 1204 or transmitted via the communication component 1218. In some embodiments, audio assembly 1210 further includes a speaker for outputting audio signals.
The I/O interface 1212 provides an interface between the processing component 1202 and peripheral interface modules, which may be a keyboard, click wheel, buttons, etc. These buttons may include, but are not limited to: homepage button, volume button, start button, and lock button.
The sensor assembly 1216 includes one or more sensors for providing status assessment of various aspects of the apparatus 1200. For example, the sensor assembly 1216 may detect the on/off state of the device 1200, the relative positioning of the components, such as the display and keypad of the device 1200, the sensor assembly 1216 may also detect the change in position of the device 1200 or a component of the device 1200, the presence or absence of user contact with the device 1200, the orientation or acceleration/deceleration of the device 1200, and the change in temperature of the device 1200. The sensor assembly 1216 may include a proximity sensor configured to detect the presence of nearby objects without any physical contact. The sensor assembly 1216 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 1216 may also include an acceleration sensor, a gyroscopic sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
The communication component 1218 is configured to facilitate communication between the apparatus 1200 and other devices, either wired or wireless. The apparatus 1200 may access a wireless network based on a communication standard, such as WiFi,3G,4G,5G,6G, or a combination thereof. In one exemplary embodiment, the communication component 1218 receives broadcast signals or broadcast related information from an external broadcast management system via a broadcast channel. In one exemplary embodiment, the communication component 1218 further includes a Near Field Communication (NFC) module to facilitate short range communications. For example, the NFC module may be implemented based on Radio Frequency Identification (RFID) technology, infrared data association (IrDA) technology, ultra Wideband (UWB) technology, bluetooth (BT) technology, and other technologies.
In an exemplary embodiment, the apparatus 1200 may be implemented by one or more Application Specific Integrated Circuits (ASICs), digital Signal Processors (DSPs), digital Signal Processing Devices (DSPDs), programmable Logic Devices (PLDs), field Programmable Gate Arrays (FPGAs), controllers, microcontrollers, microprocessors, or other electronic elements for executing the methods described above.
It is noted that relational terms such as first and second, and the like are used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. The terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure disclosed herein. This application is intended to cover any adaptations, uses, or adaptations of the disclosure following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.
It is to be understood that the present disclosure is not limited to the precise arrangements and instrumentalities shown in the drawings, and that various modifications and changes may be effected without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims (20)

1. A method for sharing a digital car key, wherein the method is applied to a car owner device, and the method comprises:
the URL address of the uniform resource locator for sharing the digital car key is sent to the equipment to be shared through a first message;
and sending the safety information corresponding to the digital car key to the equipment at the end to be shared through a second message.
2. The method of claim 1, wherein the first message is of the same or different message type than the second message.
3. The method of claim 1, wherein the security information comprises any of:
a key for encrypting or decrypting the digital car key;
a password for generating the key.
4. A method according to claim 3, wherein the URL address is used to indicate the access address of the encrypted digital car key on a designated server;
in the case where the security information is the key, the method further includes:
encrypting the digital car key based on the key;
sending the encrypted digital car key to the appointed server;
after the encrypted URL address corresponding to the digital car key is determined, the step of sending the URL address of the uniform resource locator for sharing the digital car key to the equipment to be shared through the first message is executed.
5. The method of claim 4, wherein in the case where the security information is the password, before encrypting the digital car key based on the key, the method further comprises:
The key is generated by the password.
6. The method of claim 5, wherein the generating the key by the password comprises:
generating the key based on a specified algorithm or a specified protocol by the password and the target parameter; wherein the target parameter is a parameter corresponding to the specified algorithm or the specified protocol.
7. The method of claim 6, wherein the target parameter is pre-agreed by the host device and the end device to be shared.
8. The method for sharing the digital car key is characterized by being applied to equipment at a terminal to be shared, and comprises the following steps:
receiving a Uniform Resource Locator (URL) address which is transmitted by a vehicle owner terminal device through a first message and used for sharing the digital vehicle key;
receiving safety information corresponding to the digital car key, which is sent by the car owner equipment through a second message;
and determining the digital car key shared by the car owner equipment through the URL address and the safety information.
9. The method of claim 8, wherein the first message is the same or different message type than the second message.
10. The method of claim 8, wherein the security information comprises any of:
a key for encrypting or decrypting the digital car key;
a password for generating the key.
11. The method of claim 10, wherein the URL address is used to indicate an access address of the encrypted digital car key on a designated server;
the determining, by the URL address and the security information, the digital car key shared by the owner side device includes:
accessing the appointed server through the URL address to obtain the encrypted digital car key;
under the condition that the safety information is the secret key, decrypting the encrypted digital car key through the secret key, and determining the digital car key shared by the car owner side equipment;
and under the condition that the safety information is the password, after the secret key is generated through the password, decrypting the encrypted digital car key through the secret key, and determining the digital car key shared by the car owner side equipment.
12. The method of claim 11, wherein the generating the key by the password comprises:
Generating the key based on a specified algorithm or a specified protocol by the password and the target parameter; wherein the target parameter is a parameter corresponding to the specified algorithm or the specified protocol.
13. The method of claim 12, wherein the target parameters are predetermined by the end-to-be-shared device and the host-end device.
14. The method of claim 11, wherein in the case where the security information is the password, the method further comprises:
responding to the received access request message requesting to access the URL address, and outputting prompt information; the prompt information is used for prompting a user to input the password;
and after the password input by the user is acquired, executing the step of generating the key through the password.
15. An apparatus for sharing a digital car key, wherein the apparatus is applied to a car owner device, and the apparatus comprises:
the first sending module is used for sending the URL address of the uniform resource locator for sharing the digital car key to the equipment to be shared through a first message;
and the second sending module is used for sending the safety information corresponding to the digital car key to the equipment at the end to be shared through a second message.
16. A device for sharing a digital car key, wherein the device is applied to equipment at a terminal to be shared, and the device comprises:
the first receiving module is used for receiving a Uniform Resource Locator (URL) address which is sent by the vehicle owner equipment through a first message and used for sharing the digital vehicle key;
the second receiving module is used for receiving the safety information which is sent by the vehicle owner equipment through the second message and corresponds to the digital vehicle key;
and the determining module is used for determining the digital car key shared by the car owner side equipment through the URL address and the safety information.
17. A computer readable storage medium having stored thereon a computer program, which when executed by a processor performs the steps of the method of sharing a digital car key as claimed in any of claims 1 to 7.
18. A computer readable storage medium having stored thereon a computer program, which when executed by a processor performs the steps of the method of sharing a digital car key as claimed in any of claims 8 to 14.
19. An apparatus for sharing a digital car key, comprising:
a processor;
A memory for storing processor-executable instructions;
wherein the processor is configured to execute the executable instructions to implement the steps of the method of sharing a digital car key of any one of claims 1-7.
20. An apparatus for sharing a digital car key, comprising:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to execute the executable instructions to implement the steps of the method of sharing a digital car key of any one of claims 8-14.
CN202111530396.7A 2021-12-14 2021-12-14 Method and device for sharing digital car key and storage medium Pending CN116264021A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111530396.7A CN116264021A (en) 2021-12-14 2021-12-14 Method and device for sharing digital car key and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111530396.7A CN116264021A (en) 2021-12-14 2021-12-14 Method and device for sharing digital car key and storage medium

Publications (1)

Publication Number Publication Date
CN116264021A true CN116264021A (en) 2023-06-16

Family

ID=86723428

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111530396.7A Pending CN116264021A (en) 2021-12-14 2021-12-14 Method and device for sharing digital car key and storage medium

Country Status (1)

Country Link
CN (1) CN116264021A (en)

Similar Documents

Publication Publication Date Title
EP2985975B1 (en) Method, apparatus and system for authenticating access and computer program
EP2961128B1 (en) Method, system, computer program and computer program product for binding a token key to an account
CN106453052B (en) Message interaction method and device
US20170171794A1 (en) Method and apparatus for acquiring routing information
CN109039990B (en) Behavior verification method and device based on verification code
CN103914520B (en) Data query method, terminal device and server
JP6101863B2 (en) Information transmission method, apparatus, program, and recording medium for voice service
US20220382884A1 (en) Method and device for parsing shared password
CN108900553B (en) Communication method, device and computer readable storage medium
US20220294624A1 (en) Encryption method and device, electronic apparatus and storage medium
CN109246110B (en) Data sharing method and device and computer readable storage medium
CN111917728A (en) Password verification method and device
CN105282162A (en) Processing method and device for account management business
CN111030897A (en) Wired network distribution method and device, electronic equipment and storage medium
CN113055169B (en) Data encryption method and device, electronic equipment and storage medium
CN114218510A (en) Service page display method, device and equipment
CN114221764A (en) Public key updating method, device and equipment based on block chain
CN112243000B (en) Application data processing method and device, computer equipment and storage medium
CN112115464A (en) Unlocking processing method and device, electronic equipment and storage medium
CN105335638A (en) Method and device for resetting password
CN114124462B (en) Verification code transmission method and device, electronic equipment and storage medium
CN107566354B (en) Webpage content detection method and device and storage medium
EP3276995B1 (en) Information writing method and device
CN107302519B (en) Identity authentication method and device for terminal equipment, terminal equipment and server
CN108924136B (en) Authorization authentication method, device and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination