Digital-key sharing method, digital-key verification method, and computing device

By simultaneously limiting the scope of use from the space and time dimensions in digital key sharing, the problem of insufficient security and convenience in the existing technology is solved, and higher security and user experience are achieved.

WO2024208262A1PCT designated stage expired Publication Date: 2024-10-10BOE TECHNOLOGY GROUP CO LTD +1

Patent Information

Application Number
PCT/CN2024/085798
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2023-04-07
Filing Date
2024-04-03
Publication Date
2024-10-10

AI Technical Summary

Technical Problem

During the digital key sharing process, it is difficult for existing technology to ensure security and convenience at the same time, especially due to insufficient restrictions in the space and time dimensions, resulting in multiple sharing and poor user experience.

Method used

By limiting the use range of digital keys from the spatial dimension and combining it with the time dimension, different ranges of effective spaces and usage periods are set to avoid multiple sharing and improve security and convenience.

Benefits of technology

It improves the security and user experience of digital keys, avoids multiple sharing, and improves user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN2024085798_10102024_PF_FP_ABST
    Figure CN2024085798_10102024_PF_FP_ABST
Patent Text Reader

Abstract

Provided are a digital-key sharing method, a digital-key verification method, and a computing device. The digital-key sharing method is executed by a first device and comprises: sending to a second device a digital-key creation request that comprises valid spatial information for a digital key, so as to generate the digital key at the second device; receiving a digital-key signature request from the second device, wherein the digital-key signature request comprises data to be signed of the digital key, and said data comprises the valid spatial information; and on the basis that the signing of the digital-key signature request is completed, sending a digital-key import request to the second device, so as to instruct the second device to store the generated digital key. Therefore, the security of a digital key can be improved in a spatial dimension.
Need to check novelty before this filing date? Find Prior Art

Description

Digital key sharing method, digital key verification method and computing device Technical Field

[0001] The present application relates to the field of Internet of Things, and more specifically, to a method for sharing a digital key, a method for verifying a shared digital key, and a computing device. Background Art

[0002] With the rapid development of network technology, digital keys have gradually become popular. For example, digital keys are widely used in scenarios such as cars, company access control, home door locks, safes, and bicycles.

[0003] As an example application, digital keys are a new product of improved automotive technology, allowing car owners to use mobile terminals, electronic bracelets, electronic watches and other devices as car keys, thereby realizing operations such as unlocking the vehicle, starting the vehicle, and controlling the temperature inside the vehicle without a physical key.

[0004] In many scenarios, it may be necessary to share a digital key from a first device to a second device so that the second device can be authorized to use the digital key to control the vehicle. For example, when a vehicle needs repair, the owner needs to share the digital key with the repair / maintenance personnel. At this time, the digital key owned by the owner's device (such as a mobile terminal) needs to be shared with the repair / maintenance personnel's device so that the repair / maintenance personnel can use the shared digital key to control the vehicle.

[0005] On the other hand, security and convenience are aspects that need to be paid attention to during the digital key sharing process. Therefore, a digital key sharing solution that can meet the requirements of security and convenience and a digital key verification solution for sharing are needed.

[0006] Summary of the Invention

[0007] According to one aspect of the present application, a method for sharing a digital key is provided, which is executed by a first device, and the method includes: sending a digital key creation request including valid space information for a digital key to a second device, for generating the digital key at the second device; receiving a digital key signature request from the second device, wherein the digital key signature request includes data to be signed for the digital key, and the data to be signed includes the valid space information; and based on completing the signing of the digital key signature request, sending a digital key import request to the second device to instruct the second device to save the generated digital key.

[0008] According to another aspect of the present application, a method for sharing a digital key is provided, which is performed by a first device, and the method includes: receiving a digital key creation request from the first device, the digital key creation request including valid space information for the digital key, wherein the valid space information is included in the validity configuration information sent from the first device to the second device; generating a digital key based on the valid space information, wherein the digital key includes the valid space information; sending a digital key signature request including data to be signed for the digital key to the first device, wherein the data to be signed includes the valid space information; and saving the generated digital key based on the digital key import request received from the first device.

[0009] According to another aspect of the present application, a method for verifying a shared digital key is provided, which is performed by the target object, and the method includes: receiving a key authentication request from the device providing the digital key, the key authentication request including the certificate and valid space information of the digital key; authenticating the certificate of the digital key; and determining whether the space requirements corresponding to the valid space information are met based on the usage location of the digital key.

[0010] According to another aspect of the present application, a method for sharing a digital key from a first device to a second device is provided, which is executed by a server, and the method includes: receiving a digital key creation request from the first device, wherein the digital key creation request includes location information of the first device for determining valid spatial information of the digital key or includes the valid spatial information; based on the valid spatial information, generating configuration information for generating the digital key on the second device, and sending the configuration information to the second device for generating the digital key at the second device, wherein the digital key includes the valid spatial information.

[0011] According to another aspect of the present application, a computing device is provided, comprising: a processor; and a memory having computer-readable instructions stored thereon, wherein when the instructions are executed, the processor is caused to perform the method described above.

[0012] According to another aspect of the present application, a computer-readable storage medium is provided, which stores a computer program. When the computer program is executed by a processor, the processor executes the steps of the method described above.

[0013] According to another aspect of the present application, a computer program product is provided, including a computer program, which implements the steps of the above method when executed by a processor.

[0014] In the embodiments of this application, for the first time, limiting the scope of digital key usage from a spatial perspective can improve the spatial security of digital keys. Furthermore, combining this with the temporal dimension can further enhance security. Furthermore, by setting different valid spatial ranges and / or different usage periods, multiple sharing of digital keys can be avoided, improving convenience and enhancing the user experience. BRIEF DESCRIPTION OF THE DRAWINGS

[0015] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the following briefly introduces the drawings required for use in the embodiments of the present application or the description of the prior art. Obviously, the drawings described below are only some embodiments recorded in this application. For ordinary technicians in this field, other drawings can also be obtained based on these drawings of the embodiments of the present application.

[0016] FIG1 shows a schematic diagram of a system for sharing a digital key between a first device and a second device according to an embodiment of the present application.

[0017] FIG2 is a schematic diagram showing the data structure of a digital key.

[0018] FIG3 shows a schematic diagram of an interface of an application program for sharing a digital key between a first device and a second device according to an embodiment of the present application.

[0019] FIG4 is a schematic diagram showing an application scenario for determining whether a digital key can be used to control a vehicle based on the available space.

[0020] FIG5 shows a schematic flow chart of a method for sharing a digital key according to an embodiment of the present application.

[0021] 6A-6B show a flow chart of a method for sharing a digital key according to an embodiment of the present application.

[0022] 7A to 7C respectively illustrate examples of the relationship between the usage time and usage space of a digital key and the valid space and valid usage period.

[0023] FIG8 shows a schematic diagram of a process for verifying a shared digital key according to an embodiment of the present application.

[0024] FIG9 exemplarily describes a process diagram of a digital key sharing method, which shows a schematic diagram of the interaction between the first device, the second device and the target object.

[0025] FIG10 shows a structural block diagram of a digital key sharing device according to an embodiment of the present application.

[0026] FIG11 shows a structural block diagram of a digital key sharing device according to an embodiment of the present application.

[0027] FIG12 shows a structural block diagram of a vehicle according to an embodiment of the present application.

[0028] FIG13 shows a structural block diagram of a server according to an embodiment of the present application.

[0029] FIG14 shows a schematic block diagram of a computing device according to an embodiment of the present application. DETAILED DESCRIPTION

[0030] The following will clearly and completely describe the technical solutions in the embodiments of the present application in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in this application, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of this application. Figure 1 shows a system schematic diagram of sharing a digital key between a first device and a second device according to an embodiment of the present application.

[0031] As shown in Figure 1, the system includes a first device 100, a second device 200, a vehicle (as a specific example of a target object to be controlled by a digital key) 300, a first server 400 for the first device 100, a second server 500 for the second device 200, and a vehicle server for the vehicle 300. The first device 100 and the second device 200 can communicate directly in a point-to-point manner or via a server.

[0032] For example, as shown in Figure 1, communication between the first device and the second device can be carried out via link 2 between the first device and the first server, links (3, 5) between the first server and the second server, and link (4) between the second server and the second device. For example, a digital key can be shared with the second device, configuration information that can be set at the first device (such as the validity configuration information described later) can be provided to the second device, etc. The first device communicates with the first server 400 via line 2, and the second device communicates with the second server via line 4. The first device / second device can also communicate directly with the vehicle server via line 6 / line 7, or can communicate indirectly with the vehicle server via lines 2 / line 3, line 4 / line 5 of their respective servers. The first server 400 and the second server 500 are each responsible for managing the life cycle of the digital key (the cycle of data) and updating, deleting, suspending, and restoring the certificates in the first device / second device via line 2 / line 4 respectively. Servers 400 and 500 can provide and update necessary certificates, load and install digital key instances, and allow services to disable and delete digital keys. The vehicle server 600 can create pairing passwords, sign public keys, provide certificates to devices, manage keys, provide necessary authentication data to sharers, issue legal digital key structures to sharers, etc. In other words, the first server, the second server, and the vehicle server work together to realize the sharing operation of the digital key from the first device to the second device.

[0033] The first device 100 and the second device 200 can each be various types of mobile electronic devices capable of data processing and transmission and reception, such as mobile phones, tablet computers, smart watches, smart bracelets, smart glasses and other devices, on which applications can be installed, so that they can interact with the server through the applications.

[0034] Server 400, 500, or 600 includes, but is not limited to, network hosts, a single network server, a set of multiple network servers, or a collection of computers based on cloud computing. Here, the cloud is composed of a large number of hosts or network servers based on cloud computing. Cloud computing is a type of distributed computing, a virtual computer composed of a group of loosely coupled computers.

[0035] In the present application, a server (one or more of the first server 400, the second server 500, or the vehicle server, collectively referred to herein as a server) can be used to generate configuration information for a digital key and send the configuration information for the digital key to a corresponding device for generating a digital key. Alternatively, the server can generate configuration information in response to a digital key creation request sent by the device, generate a corresponding digital key based on the configuration information, and then send the generated digital key to the corresponding device.

[0036] Optionally, when the first device and the second device share the data key through the same application, the first server 400 and the second server 500 can be the same server, and when the first device and the second device share the data key through different applications, the first server 400 and the second server 500 can be different servers with a communication link.

[0037] For example, the first device may send a digital key creation request to the server through an application. The digital key creation request may include the identification information of the first device and the identification information of the vehicle. After receiving this information, the server performs identity authentication and other processing, generates configuration information, and sends it to the first device. Based on the configuration information, the first device may generate a digital key for controlling (e.g., unlocking) the vehicle, where the digital key may be composed of a data structure.

[0038] When the first device needs to unlock the vehicle (smart vehicle), the generated digital key information is sent to the vehicle. After receiving the digital key information from the first device, the vehicle verifies the digital key information and unlocks the vehicle after the verification is passed.

[0039] When a second device needs to obtain a digital key shared by a first device, the second device can receive configuration information (from a server or from the first device) so that a second digital key similar to the first digital key of the first device can be generated on the second device. The specific process will be described later.

[0040] Furthermore, a schematic diagram of the data structure of a digital key is shown in Figure 2. Optionally, the digital key may be composed of a data structure that includes various information related to the digital key, such as certificate information for authentication, digital key valid use period information, signature information, etc.

[0041] For example, the data structure of the digital key generated at the first device (e.g., the owner's digital key) is the left half shown in Figure 2 (generally considered to be the certificate of the digital key), which does not include information such as the valid usage period, and the data structure of the digital key at the second device (e.g., the friend's digital key) includes the left and right data structures shown in Figure 2, that is, the data structure in the right half of Figure 2 is an additional part unique to the digital key at the second device, and the Friend Public Key field and the Device Public Key field include the same content, which is used to associate the two data structures. The content of the Validity Start / End field indicates the valid start time and end time (i.e., the valid usage period) of the digital key generated at the second device.

[0042] That is to say, in the above-mentioned digital key sharing process, in order to improve security, the validity of the digital key can be considered from the time dimension, that is, the digital key at the second device is only allowed to control the target object (such as a vehicle) within the valid usage period. If it is determined at the target object that the usage time of the digital key is not within the valid usage period, the target object refuses to be controlled by the digital key at the second device.

[0043] FIG3 shows a schematic diagram of an interface of an application program for sharing a digital key between a first device and a second device according to an embodiment of the present application.

[0044] As shown in Figure 3, a schematic diagram of the interface for sharing a digital key using an application on the first device is shown. For example, the valid period of use, the vehicle, and the second device (using the user ID of the second device) of the digital key to be shared can be set in the application on the first device, and the server generates validity configuration information (including valid period information) after interactive processing between the application and the server, and then forms a comprehensive configuration information together with other configuration information, and sends the configuration information to the second device, so that a digital key with a corresponding valid period can be generated on the second device. Alternatively, the validity configuration information can be generated locally on the first device, and the validity configuration information (including valid period information) is sent to the second device through point-to-point communication or via the server, so that it can be used to generate a digital key on the second device together with other configuration information locally or obtained from the server (for example, other configuration information pre-stored or pulled from the server in response to usage information sent by the first device).

[0045] In many scenarios, in order to further improve security, during the digital key sharing process, the validity of the digital key can also be considered from the spatial dimension, that is, the digital key at the second device is only allowed to control the target object within the valid spatial range. If the use location of the digital key at the target object is determined to be outside the valid spatial range, the target object refuses to be controlled by the digital key at the second device.

[0046] For example, as shown in FIG4 , the car owner shares the digital key with the repair and maintenance personnel, hoping that the repair and maintenance personnel can use the digital key within the repair shop, and cannot use the digital key outside the repair shop (for example, a shopping mall).

[0047] Therefore, an embodiment of the present application also provides a solution for sharing digital keys based on spatial dimensions.

[0048] Figure 5 shows a flow chart of a method for sharing a digital key according to an embodiment of the present application. This method can be executed by the first device shown in Figure 1 or at least partially executed by the server shown in Figure 1 , where a digital key has already been generated on the first device and is being shared with a second device. For example, the first device can be the vehicle owner's device, while the second device can be a device used by a repair or maintenance technician.

[0049] As shown in FIG. 5 , in step S510 , a digital key creation request including valid space information for a digital key is sent to a second device for generating a digital key at the second device.

[0050] Alternatively, the valid space information may be sent from the first device to the second device, for example, via path 2 / 3 / 5 / 4 in FIG1 or directly sent to the second device via point-to-point communication. The valid space information is information for indicating a valid space allowing the use of a digital key (second digital key) generated at the second device, while the digital key (first digital key) generated at the first device may not have valid space information, as shown in the left half of the data structure shown in FIG2 , because the digital key at the first device is used by the owner of a target object (e.g., a vehicle), who may control the target object at any time and at any location.

[0051] Optionally, the valid space information may be determined based on the location of the first device, and may be determined by the first device or by a first server of the first device. In addition, the valid space information may be included in the validity configuration information.

[0052] Optionally, the absolute position on the ground can be used to represent the valid space where the digital key is allowed to be used. For example, the shape of the projected area of ​​the space on the ground can be set (rectangle, square, circle, etc.), and the valid space can be set by the longitude and latitude of each feature point. For example, when the shape of the projected area is rectangular, the longitude and latitude of the upper left vertex and the lower right vertex can be used to set the valid space (the default height of the space is infinite).

[0053] For another example, in some scenarios, when a car owner visits a repair shop, the location of the car owner's first device is generally not a predetermined location (e.g., a workplace or home), and only then is it necessary to determine the valid space information. Therefore, in response to determining that the location of the first device is not a predetermined location and is within the perimeter of a certain location (e.g., a repair shop or 4S store), a valid space can be determined based on the perimeter of the location, and the valid space information about the valid space can then be included in the validity configuration information.

[0054] For example, the space corresponding to the perimeter of the location where the first device is located can be directly used as the effective space, or the effective space can be obtained by adjusting (expanding or reducing) the perimeter of the location. For example, when a car owner goes to a repair shop to repair his car, the effective space can be set to the space corresponding to the perimeter of the repair shop.

[0055] For example, in some scenarios, the perimeter of the location of the car owner's first device is unclear. For example, the first device is located on the side of the road. At this time, the perimeter of the location of the first device is difficult to determine. Therefore, the projection position of the first device on the ground can be used as a symmetrical point, and the same or different preset distances can be moved to all sides (the height of the default space is infinite). Based on the obtained perimeter range, the effective space of the digital key is obtained, and then the effective space information about the effective space is included in the validity configuration information.

[0056] Optionally, the space corresponding to the perimeter of the place where the first device is located can be processed to make the perimeter more regular. For example, if the perimeter of some places is an ellipse, the ellipse can be processed by moving the center of the ellipse in four directions by the same or different preset distances (the height of the default space is infinite). Based on the obtained perimeter, the effective space of the digital key is obtained, and then the effective space information about the effective space is included in the validity configuration information.

[0057] Optionally, after determining the valid spatial information of the digital key based on the location of the first device, the first device may create validity configuration information (e.g., endpoint configuration, where endpoint is a common interface method in the art with a standard configuration method), wherein the validity configuration information includes the determined valid spatial information. Alternatively, the first device may also send the location of the first device to a server, which determines the valid spatial information based on the location of the first device and creates the validity configuration information accordingly.

[0058] Accordingly, the second device may obtain the validity configuration information, and then obtain more configuration information for generating the digital key (e.g., locally stored or obtained from a server), and generate the digital key on the second device based on the configuration information. For example, the generated digital key may have a data structure as shown in FIG2 , and additionally, since the digital key generated by the second device also includes valid space information, the right half of the data structure should also include a column of information (e.g., location) to indicate the valid space information of the digital key.

[0059] In step S520, a digital key signature request is received from the second device, wherein the digital key signature request includes the data to be signed of the digital key, and the data to be signed includes the valid space information.

[0060] For example, the digital key signature request may be sent from the second device to the first device via path 4 / 5 / 3 / 2 in FIG. 1 or directly via point-to-point communication.

[0061] For example, after a digital key is generated on the second device, for greater security, the first device is required to sign and confirm the second digital key before it can be used to control the target object (vehicle). For example, the data to be signed that the second device can send to the first device may include valid space information of the generated digital key, and optionally, the certificate of the generated digital key, identification information of the second device, user identity information of the second device, and so on.

[0062] In step S530, based on completing the signing of the digital key signature request, a digital key import request (as a digital key signature response) is returned to the second device to instruct the storage of the generated digital key.

[0063] For example, a digital key import request can be sent from the second device to the first device via paths 2 / 3 / 5 / 4 in Figure 1, or directly sent to the first device via point-to-point communication. For example, the digital key import request can include valid space information of the digital key, confirmed by the signature. After receiving the digital key signature response, the second device can save the generated digital key so that it can be used to control the target object later.

[0064] Therefore, through the method described in FIG5 , the validity of the digital key is considered from a spatial dimension, thereby improving the security of the digital key sharing process in terms of space.

[0065] Optionally, in some scenarios, after the digital key sharing process is completed, that is, after the digital key has been generated, it may happen that during actual use, the expected usage space range of the digital key (indicated by the valid space information of the digital key) is smaller than the actual usage space range. For example, the vehicle needs to be transported to a repair shop outside the 4S shop for complex repairs, but the expected usage space range is only preset to the perimeter of the 4S shop. Therefore, when the digital key is used in the repair shop, its usage location exceeds the expected usage space range, and it cannot control the vehicle. The owner needs to share the digital key again, affecting the user experience.

[0066] Therefore, in some other embodiments, the validity configuration information may further include extended valid space information for the digital key, and after the second device obtains such validity configuration information, the generated digital key also includes the extended valid space information. That is, the digital key can also be used within the extended valid space corresponding to the extended valid space information.

[0067] Alternatively, the extended effective space may be determined in a manner similar to the previously described determination of the effective space, and the spatial range of the extended effective space may be larger than the spatial range of the effective space. The spatial range of the extended effective space is also within a range acceptable or expected by the user (car owner) of the first device. For example, if the repair shop is within 1 km of a 4S shop, the extended effective space may be extended to a space 1 km around the perimeter of the 4S shop (all spaces are expressed in ground latitude and longitude or coordinates).

[0068] In this way, the digital key generated at the second device can correspond to two different ranges of valid spaces. When the usage position of the digital key is not within the smaller valid space, it can be further determined whether it is within the extended valid space.

[0069] In addition, according to different actual situations, a larger number of extended effective spaces can be set, and this application does not impose any restrictions on this.

[0070] Therefore, as described above, by setting effective spaces in different ranges, it is possible to avoid the first device from sharing the digital key multiple times, thereby improving the user experience.

[0071] Optionally, the validity of a digital key can be considered from both a temporal and spatial perspective. In this case, the validity configuration information can also include valid usage period information for the digital key. That is, after being combined with the previous valid space or the extended valid space, the digital key can still be used within the previous valid space or the extended valid space and within the valid usage period.

[0072] Similarly, after the digital key sharing process is completed, that is, after the digital key has been generated at the second device, it may happen that during actual use, the expected usage time range of the digital key (indicated by the valid usage period information of the digital key) is less than the actual usage time range. For example, the vehicle maintenance requires a longer time than the maximum time of the expected usage time range. Therefore, when the digital key is used in a repair shop, its usage time exceeds the preset range, and it cannot control the vehicle. The owner needs to share the digital key again, affecting the user experience.

[0073] Therefore, in order to prevent the first device from sharing the digital key multiple times, the validity configuration information may further include valid usage period information and extended valid usage period information for the digital key.

[0074] In this way, a digital key can correspond to two valid usage periods of different lengths. If the digital key is used outside the shorter valid usage period and is used within the valid space, it can be further determined whether it is within the longer, extended valid usage period. For example, the shorter valid usage period may be 13:00-18:00, while the longer extended valid usage period may be 12:00-21:00. Alternatively, in some cases, the start time of the valid usage period remains unchanged, and only the end time is extended, for example, the extended valid usage period is 13:00-18:00.

[0075] The process of the digital key generated at the second device controlling the target object based on the valid space information and the valid usage period information will be described in detail later.

[0076] Optionally, the digital key generated at the second device may have the data structure of the certificate shown in the left half of Figure 2, and additionally, since the digital key also includes one or more of valid spatial information, extended valid spatial information, valid usage period information, and extended valid usage period information, the data structure shown in the right half should also include corresponding information (for example, location, dynamic location, validity start / end and / or dynamic validity start / end) to indicate these spatial information and time information.

[0077] Therefore, as described above, by simultaneously limiting the scope of use of the digital key from both the time dimension and the space dimension, the security of the digital key can be improved, and further, by setting effective spaces of different ranges and / or usage periods of different durations, the first device can be avoided from sharing the digital key multiple times, thereby improving convenience and thus enhancing the user experience.

[0078] Figures 6A and 6B illustrate a flow chart of a method for sharing a digital key according to an embodiment of the present application. This method can be executed by the second device shown in Figure 1 or at least partially by the server shown in Figure 1 , with the digital key already generated on the first device and shared with the second device. For example, the first device can be the vehicle owner's device, while the second device can be a device used by a repair or maintenance technician.

[0079] As shown in FIG6A , in step S610 , a digital key creation request is received from the first device, the digital key creation request including valid space information for the digital key, wherein the valid space information is included in validity configuration information sent to the second device.

[0080] In step S620 , a digital key is generated based on the valid space information, wherein the digital key includes the valid space information.

[0081] In step S630, a digital key signature request including the data to be signed of the digital key is sent to the first device, where the data to be signed includes the valid space information.

[0082] In step S640, based on the digital key import request (digital key signature response) received from the first device, the generated digital key is saved.

[0083] Steps S610-640 are steps corresponding to steps S510-530 described above with reference to FIG5 , so for more details, please refer to the relevant description of FIG5 , and therefore will not be repeated here.

[0084] The following mainly describes the process of the second device controlling the target object using the generated digital key. The following steps can be executed by the second device in Figure 1 or at least part of it by the server shown in Figure 1.

[0085] For example, in step S650, a key authentication request is sent to the target object, where the key authentication request includes the valid space information.

[0086] Alternatively, the second device may send the key authentication request to the target object (vehicle) via the target object's server (eg, vehicle server 600 ) or direct point-to-point communication via path 4 / 5 / 1 shown in FIG. 1 for authentication.

[0087] For example, the second device (e.g., a mobile terminal of a repair and maintenance personnel) can send an unlock request to the vehicle and notify the vehicle via the request that the digital key can only be used within the spatial range corresponding to the valid spatial information.

[0088] In step S660 , a key authentication response is received from the target object, wherein the key authentication response indicates whether the usage location of the digital key meets the space requirement corresponding to the valid space information.

[0089] Accordingly, optionally, the second device can receive a key authentication response from the target object (e.g., a vehicle) via the target object's server (e.g., vehicle server 600) or direct point-to-point communication via paths 1 / 5 / 4 shown in FIG1 . For example, after receiving the valid space information, the vehicle can determine its corresponding spatial range, and since the digital key's usage position is close to the vehicle's position when unlocking the vehicle, the vehicle can use its own position as the estimated usage position of the digital key, and determine whether the estimated usage position is within the valid space indicated by the valid space information, that is, whether the usage position of the digital key meets the spatial requirements corresponding to the valid space information, and return a key authentication response to the second device.

[0090] In addition, as mentioned above, the validity configuration information may further include the extended valid space information of the digital key, and accordingly the digital key also includes the extended valid space information.

[0091] Therefore, method 600 may further include step S670 and step S680.

[0092] In step S670, in response to receiving a key authentication response from the target object indicating that the usage location of the digital key does not meet the space requirement corresponding to the valid space information, a second key authentication request is sent to the target object, and the second key authentication request includes the extended valid space information.

[0093] In step S680 , a second key authentication response is received from the target object, wherein the second key authentication response indicates whether the usage location of the digital key meets the space requirement corresponding to the extended valid space information.

[0094] That is to say, when the usage position of the digital key fails to meet the current space requirements for the first time and is unable to control the target object, the second device can update the effective space information (i.e., use the extended effective space information) and send a key authentication request again to notify the target object that its effective space has been updated and expanded, so that the target object can determine whether the usage position of the digital key meets the updated space requirements based on the updated extended effective space.

[0095] Optionally, after updating the valid space information, the second device may notify the first device that it has used the extended valid space information. For example, the second device may send a notification message to the first device via point-to-point communication. Alternatively, the second device may send a notification message to the first device via a server. For example, the second server of the second device may send a notification message to the target object's server, which may then send the notification message to the first server of the first device, which may then send the notification message to the first device's first server, and finally to the first device, and so on.

[0096] In addition, the effective space information and the extended effective space information can be sent to the target object at one time, for example, through a key authentication request.

[0097] In this case, steps S650-680 can be replaced by the following steps.

[0098] In step S650', a key authentication request is sent to the target object, wherein the key authentication request includes the valid space information and the extended valid space information; and in step S660', a key authentication response is received from the target object, wherein the key authentication response indicates whether the usage location of the digital key meets the space requirements corresponding to the valid space information, or whether it meets the space requirements corresponding to the extended valid space information.

[0099] For example, after receiving the valid space information and the extended valid space information, the target object can determine their respective corresponding spatial ranges, and then the target object can first determine whether the estimated usage position of the digital key is within the valid space indicated by the valid space information, that is, whether the usage position of the digital key meets the spatial requirements corresponding to the valid space information. If so, a key authentication response indicating that the spatial requirements are met is returned to the second device; conversely, the target object can further determine whether the estimated usage position of the digital key is within the extended valid space indicated by the extended valid space information, that is, whether the usage position of the digital key meets the spatial requirements corresponding to the extended valid space information, and return a key authentication response indicating whether the spatial requirements are met. At this time, the key authentication response can also simultaneously indicate that the usage position of the digital key does not meet the spatial requirements corresponding to the valid space information.

[0100] Optionally, as described above, the validity configuration information may also include the valid period information of the digital key or may also include both the valid period information and the extended valid period information. Accordingly, the digital key generated at the second device may also include the valid period information or may also include both the valid period information and the extended valid period information.

[0101] In this case, in addition to the valid space information and the extended valid space information described above, at least one of valid usage period information and an extended valid usage period may be included in the validity configuration information.

[0102] For example, the following situations can be considered:

[0103] Case 1: The validity configuration information includes valid space information and valid usage period information;

[0104] Case 2: The validity configuration information includes valid space information, extended valid space information and valid usage period information;

[0105] Case 3: the validity configuration information includes valid space information, valid usage period information and extended valid usage period information; and

[0106] Case 4: the validity configuration information includes valid space information, extended valid space information, valid usage period information and extended valid usage period information.

[0107] Correspondingly, the digital key generated at the second device also includes this information. Therefore, when the second device sends a key authentication request to the target object, different spatial information and / or different time information can be included in the key authentication request according to different situations.

[0108] For example, as shown in Case 2, the second device may first send a first key authentication request to the target object, wherein the first key authentication request includes valid space information and valid usage period information; and in response to receiving a key authentication failure response from the target object indicating that the usage location of the digital key does not meet the space requirement corresponding to the valid space information (and the usage time of the digital key meets the time requirement corresponding to the valid usage period information), send a second key authentication request to the target object, wherein the second key authentication request includes extended valid space information (optionally also includes the valid usage period information again, or may not include it); and receive a second key authentication response from the target object, wherein the second key authentication response indicates whether the usage location of the second digital key meets the space requirement corresponding to the extended valid space information. If the space requirement corresponding to the extended valid space information is met and the time requirement is still met, the digital key of the second device is allowed to control the target object.

[0109] Alternatively, in response to receiving a key authentication failure response from the target object indicating that the usage time of the digital key does not meet the time requirement corresponding to the valid usage period information (regardless of whether the usage location of the digital key meets the valid space information or the space requirement corresponding to the extended valid space), since the digital key at the second device does not include the extended valid usage period information, the second device will no longer send a second key authentication request to the target object. At this time, the digital key of the second device is prohibited from controlling the target object.

[0110] Alternatively, in response to receiving a key authentication success response from the target object indicating that the usage location of the digital key meets the spatial requirements corresponding to the valid spatial information and the usage time of the digital key meets the time requirements corresponding to the valid usage period information, that is, the digital key authentication of the second device is successful, and therefore the digital key of the second device is allowed to control the target object.

[0111] Of course, the second device can include all information (valid space information, extended valid space information and valid usage period information for case 2) when sending a key authentication request to the target object for the first time. In this way, one or two judgments can be made on the destination object side without the need to send the key authentication request again subsequently, thereby reducing signaling overhead.

[0112] For example, for situation 2, after receiving the key authentication request, the target object can first determine whether the usage location of the digital key meets the spatial requirements corresponding to the valid spatial information and whether the usage time meets the time requirements corresponding to the valid usage period information. If both the spatial requirements and the time requirements are met, the digital key is allowed to control the target object; if the time requirement is not met (regardless of whether the spatial requirement is met), the digital key is prohibited from controlling the target object (because there is no extended valid usage period information); if the time requirement is met but the spatial requirement is not met, it is further determined whether the usage location of the digital key meets the updated spatial requirements corresponding to the extended valid spatial information, and if the updated spatial requirement is met and the time requirement is still met, the digital key is allowed to control the target object.

[0113] In other cases, the interaction process between the second device and the target object is similar. For example, if one of the two requirements mentioned above (i.e., spatial requirements and time requirements) cannot be updated (i.e., the digital key does not include corresponding extended information), then when this requirement cannot be met, the digital key is prohibited from controlling the target object; if one of the requirements is not currently met but can be updated and the other requirement is met, it is further determined whether the updated requirement is met, and the digital key is allowed to control the target object when the updated requirement is met and the other requirement is still met; if both requirements can be updated but are not currently met, it is further determined whether both updated requirements are met, and when both updated requirements are met, the digital key is allowed to control the target object.

[0114] For example, FIG7A to FIG7C respectively illustrate examples of the relationship between the usage time and usage space of a digital key and the valid space and valid usage period.

[0115] For example, in Figure 7A, the usage time of the digital key is within the first valid usage period, but the usage location is outside the first valid space. After updating the space requirements based on the extended valid space information, the usage location is within the updated second valid space and the usage time is still within the first valid usage period, so the digital key can control the target object.

[0116] For example, in Figure 7B, the usage time of the digital key is outside the first valid usage period, and the usage location is within the first valid space. After the time requirement is updated based on the extended valid usage period information, the usage time is within the updated second valid usage period and the usage location is still within the first valid space, so the digital key can control the target object.

[0117] For another example, in Figure 7C, the usage time of the digital key is outside the first valid usage period, and the usage location is also outside the first valid space. After updating the space requirements based on the extended valid space information and updating the time requirements based on the extended valid usage period information, the usage time is within the updated second valid usage period and the usage location is within the updated second valid space, so the digital key can control the target object.

[0118] Therefore, as described above, by sending a key authentication request to the target object through the second device and passing the authentication at the target object, the digital key can achieve secure control of the target object.

[0119] Figure 8 shows a flow chart of a method for verifying a shared digital key according to an embodiment of the present application. The method can be performed by the target object, the target object's server, or both. For example, it can be performed by the vehicle shown in Figure 1 (hereinafter used as an example) or at least part of it can be performed by the vehicle server.

[0120] As shown in FIG8 , in step S810 , a key authentication request is received from a device that provides the digital key, where the key authentication request includes the digital key certificate and valid space information.

[0121] For example, the key authentication request may be received from the second device providing the shared digital key via the path 4 / 5 / 1 shown in FIG. 1 or direct point-to-point communication.

[0122] In step S820, the certificate of the digital key is authenticated.

[0123] The data structure of the digital key certificate may include various relevant information for verification or authentication of the digital key as shown in the left half of Figure 2. Optionally, the authentication process may include the target object performing an authentication operation or the target object's server performing an authentication operation.

[0124] In step S830 , it is determined whether the space requirement corresponding to the valid space information is met based on the usage location of the digital key.

[0125] Alternatively, if the spatial requirement is not met and the extended effective spatial information of the digital key has been obtained, whether the spatial requirement corresponding to the extended effective spatial information is met is determined based on the usage location of the digital key. Thus, if the spatial requirement corresponding to the extended effective spatial information is met, the digital key is allowed to control the target object; otherwise, the digital key is prohibited from controlling the target object.

[0126] As described above with reference to FIG. 6A-FIG . 6B , the extended effective space information obtained from the device may be obtained from the key authentication request received from the device for the first time, or may be obtained from the key authentication request received from the device for the second time.

[0127] Optionally, as previously mentioned, the key authentication request may also include valid usage period information. In this case, the target object can determine whether the time requirement corresponding to the valid usage period information is met based on the digital key's usage period. In this case, if at least one of the space requirement or the time requirement is not met, the digital key is prohibited from controlling the target object.

[0128] Typically, to ensure security, digital keys must be used within their valid space and valid period. Therefore, the generated digital key typically includes information related to both the valid space and the valid period. When requesting authentication of the target object, the key authentication request also includes information related to both the valid space and the valid period. Of course, in situations where security requirements are less stringent, only one of the valid space and the valid period may be included.

[0129] The following description is based on the fact that the key authentication request includes information related to the valid space (valid space information and / or extended valid space information) and information related to the valid usage period (valid usage period information and / or extended valid usage period information).

[0130] For example, the key authentication request also includes at least one of the extended valid space information and the extended valid usage period information of the digital key, so the method 800 may further include step S840: when the space requirement (valid space information) is not met and the time requirement (valid usage period information) is met, and the extended valid space information has been obtained (for example, from the device that sent the key authentication request), determine whether the space requirement corresponding to the extended valid space information is met based on the usage location of the digital key. In this way, when the space requirement corresponding to the extended valid space information is met and the time requirement is still met, the digital key is allowed to control the target object; otherwise, the digital key is prohibited from controlling the target object.

[0131] Alternatively, method 800 may further include step S850: if the space requirement is satisfied but the time requirement is not satisfied, and if the extended valid usage period information has been obtained, determining whether the time requirement corresponding to the extended valid usage period information is satisfied based on the usage time of the digital key. In this manner, if the time requirement corresponding to the extended valid usage period information is satisfied and the space requirement is still satisfied, the digital key is permitted to control the target object; otherwise, the digital key is prohibited from controlling the target object.

[0132] Alternatively, method 800 may further include step S860: if neither the spatial requirement nor the temporal requirement is satisfied, and if the extended valid spatial information and the extended valid usage period information have been acquired, determining whether both the spatial requirement corresponding to the extended valid spatial information and the temporal requirement corresponding to the extended valid usage period information are satisfied based on the location and time of use of the digital key. Thus, if both the updated temporal and spatial requirements are satisfied, the digital key is permitted to control the target object; otherwise, the digital key is prohibited from controlling the target object.

[0133] Optionally, as described with reference to FIG. 6A-FIG . 6B , the obtained extended valid space information or extended valid usage period information may be obtained from the key authentication request received from the device for the first time, or may be obtained from the key authentication request received from the device for the second time.

[0134] Therefore, through the above-mentioned method executed at the target object, the digital key can achieve secure control of the target object, and due to the addition of extended effective space information and / or effective usage period information, repeated sharing of digital keys can be avoided, which also improves convenience and thus enhances user experience.

[0135] It should be noted that in the foregoing embodiments, especially the embodiment shown in FIG5 , the process of digital key sharing is schematically described with the first device and the second device as the execution entities, and involves point-to-point communication between the first device and the second device and communication via the server. However, at least part of the digital key sharing process as described above performed at the first device and the second device can be implemented by a server. The server can be a single server, or it can include a first server for the first device, a second server for the second device, and a server for the target object. For convenience, the server is described here as a single server. The following introduces some operations on the server side regarding digital key sharing.

[0136] First, the server can receive a digital key creation request from the first device (for example, via path 7 or path 2 / 3 (vehicle server) shown in Figure 1 or via path 2 (first server) or via path 2 / 3 / 5 / 4 (second server)), where the digital key creation request includes location information of the first device for determining the valid spatial information of the digital key or includes the valid spatial information.

[0137] This process may correspond to the process of step S510 described above. Therefore, the process of determining the valid spatial information based on the location of the first device may refer to the description above. Alternatively, the valid spatial information may be determined by the server. In this case, the digital key creation request may only include the location information of the first device, so that the server determines the valid spatial information based on the location information of the first device.

[0138] Optionally, the digital key creation request may also include identification information of the target object and identification information of the second device (e.g., identification information of the user of the second device). For example, the first device (e.g., the vehicle owner's device) may have generated a digital key (the first digital key, or the digital key to be shared) that can be used without restriction based on the first configuration information from the server, and then request the server to allow the second device to control the vehicle. Therefore, the server may be notified to share relevant information, such as the identification of the object to be shared, i.e., the second device, the identification of the object to be controlled (e.g., the vehicle), and information on the location where the digital key is allowed to be used.

[0139] Then, the server may generate configuration information for generating the digital key on the second device based on the valid space information.

[0140] Optionally, configuration information for generating a digital key at the device is generated at the server.

[0141] Optionally, since the generation of the digital key at the device requires obtaining configuration information from the server, the server can save the configuration information of the generated digital key. As shown in Figure 2 above, the data structure of the digital key at the second device and the digital key at the first device have the same part (left half), and the digital key generated at the second device has an additional part (right half), so the second configuration information for the digital key at the second device can be generated based on at least part of the configuration information of the first digital key and the received information related to the sharing process.

[0142] Then, the server can send the second configuration information to the second device for generating a digital key at the second device. Alternatively, the server can also generate a digital key based on the second configuration information, and then send the generated digital key to the second device, and save it after signing and confirming at the server or the first device as described later. The digital key includes the valid space information, that is, the digital key at the second device can be used within the spatial range corresponding to the determined valid space information. For example, in Figure 1, if the second configuration information is generated at the vehicle server, it is sent to the second device via path 5 / 4 or path 6, if it is generated at the first server, it is sent to the second device via path 3 / 5 / 4 or path 3 / 6, and if it is generated at the second server, it is sent to the second device via path 4.

[0143] In addition, on the other hand, the server may also receive a digital key signature request from the second device, wherein the digital key signature request includes the data to be signed of the digital key generated at the second device, and the data to be signed includes the valid space information.

[0144] This process may correspond to the process of step S520 above.

[0145] The server can then also sign and confirm the digital key signature request and send a digital key import request to the second device, or forward the digital signature request to the first device for signature confirmation by the first device and then receive the digital key import request from the first device, and send a digital key import request to the second device to instruct the second device to save the generated second digital key.

[0146] This process may correspond to the process of step S530 above.

[0147] Optionally, the digital key creation request may further include valid usage period information, so the server further generates the configuration information based on the valid usage period, and the digital key generated by the second device also includes the valid usage period.

[0148] Optionally, the digital key creation request may also include at least one of extended valid space information and extended valid usage period information, so the server further generates the configuration information based on the at least one of the extended valid space information and the extended valid usage period information, and the digital key at the second device also includes the at least one of the extended valid space information and the extended valid usage period information.

[0149] That is to say, the communication and interaction between the first device and the second device as described above can be completed through one or more servers, and at least part of the operations at the first device or the second device can be performed through the one or more servers, and this application does not limit this.

[0150] Figure 9 exemplarily illustrates a process diagram of a digital key sharing method, showing a schematic diagram of interactions between a first device, a second device, and a target object. Figure 9 illustrates an example in which validity configuration information includes valid space information, valid usage period information, and extended valid space information.

[0151] It should be noted that although FIG. 9 shows direct communication between devices and between devices and between devices and vehicles, it should be understood that this may also include communication via a server.

[0152] As shown in FIG9 , in process 1 , a first device (eg, a vehicle owner device) triggers a digital key sharing function, for example, in response to a user input.

[0153] In process 2, the first device obtains the current location, and then in process 3, the first device determines whether the current location is a predetermined location (such as a permanent location). If it is not a predetermined location, the first device obtains the corresponding perimeter range in process 4 to determine the effective space information for the digital key and the extended effective space information.

[0154] In process 5, the first device creates validity configuration information (eg, endpoint configuration), where the validity configuration information includes valid space information and extended valid space information.

[0155] In process 6, the first device sends a digital key creation request to the second device, which may include validity configuration information.

[0156] In process 7, the second device obtains validity configuration information, thereby obtaining valid space information and extended valid space information, and thus generates a digital key based on the valid space information. The data structure of the digital key includes the digital key certificate and the valid space information and extended valid space information.

[0157] In process 8, the second device sends a digital key signing request to the first device, where the request includes the digital key certificate, the valid space information, and the extended valid space information.

[0158] In process 9, the first device performs signature verification on the digital key certificate, the valid space information, and the extended valid space information received from the second device.

[0159] In process 10, the first device sends a digital key import request, which includes the certificate of the digital key received from the second device and the valid space information and extended valid space information. The request can be regarded as a response to a sharing confirmation indication or a signature request.

[0160] In process 11, the second device saves the certificate of the digital key generated at the second device and the valid space information and the extended valid space information.

[0161] In process 12 , the second device sends a digital key authentication request to the vehicle, where the request includes valid usage period information and valid space information of the digital key generated at the second device.

[0162] In process 13, the vehicle determines whether the time requirements and space requirements corresponding to the valid usage period information and the valid space information are met. If not, it further determines in process 14 that the time requirement is met and the space requirement is not met. Then, in process 15, the vehicle returns a digital key authentication response to the second device, and the response indication includes that the space requirement is not met.

[0163] In process 16 , the second device updates the valid space of the digital key according to the extended valid space information in the generated digital key.

[0164] Optionally, after updating the valid space of the digital key, the second device sends a notification message to the first device, notifying the first device that the valid space of the digital key at the second device has been dynamically expanded. For example, the second device may send the notification message to the first device via point-to-point communication, or the second device's server may send the notification message to the vehicle server, which may then send the notification message to the first device's server, and finally to the first device's server.

[0165] In process 17 , the second device sends a digital key authentication request to the vehicle again, where the request includes valid usage period information (corresponding to the non-updated valid usage period) and extended valid space information (corresponding to the updated valid space).

[0166] In process 18, it is determined whether the time requirements and space requirements corresponding to the valid usage period information and the valid space information are met. If both are met, the digital key is authenticated in process 19 and can be used to control the vehicle, and an authentication response is returned in process 20.

[0167] Of course, the above process 12-20 is based on sending digital key authentication requests multiple times to complete the digital key authentication including the extended valid space information, but it should be understood that, as mentioned earlier, the extended valid space information, valid space information and valid usage period information can be sent to the vehicle when the digital key authentication request is sent for the first time.

[0168] In addition, Figure 9 schematically shows that the first device, the second device and the vehicle are communicating and interacting directly, but it should be understood that the communication interaction between them can still be completed based on the communication interaction between their respective servers, and at least part of the operations of the first device, the second device and the vehicle can also be performed by their corresponding servers. This disclosure does not limit this.

[0169] Therefore, by limiting the scope of use of the digital key from both the time dimension and the space dimension, the security of the digital key can be improved. Furthermore, by setting effective spaces of different ranges and / or usage periods of different durations, the first device can be avoided from sharing the digital key multiple times, thereby improving convenience and thus enhancing the user experience.

[0170] According to another aspect of the present application, an electronic device is also provided.

[0171] Figure 10 shows a block diagram of a digital key sharing device according to an embodiment of the present application. The electronic device may be the first device or the first server in Figure 1 .

[0172] As shown in Figure 10, the apparatus 1000 may include a sending module 1010, a receiving module 1020, and a processing module 1030. Optionally, the sending module 1010 and the receiving module 1020 may be implemented by one transceiver module.

[0173] The sending module 1010 may send a digital key creation request including valid spatial information for the digital key to the second device, for generating the digital key at the second device.

[0174] The receiving module 1020 may receive a digital key signature request from the second device, wherein the digital key signature request includes the data to be signed of the digital key, and the data to be signed includes the valid space information.

[0175] The processing module 1030 can perform signature confirmation on the received digital key signature request, and based on completing the signature on the digital key signature request, send a digital key import request to the second device through the sending module 1010 to instruct the second device to save the generated digital key.

[0176] Optionally, the processing module 1030 may further determine the valid space information based on the position of the first device, wherein the sending module 1010 may include the valid space information in the validity configuration information sent from the first device to the second device.

[0177] Optionally, the validity configuration information further includes extended valid space information for the digital key, so that the digital key generated at the second device includes the extended valid space information.

[0178] Optionally, the validity configuration information also includes valid period information for the digital key, so that the digital key generated at the second device also includes valid period information; or the validity configuration information also includes valid period information and extended valid period information for the digital key, and the digital key also includes the valid period information and the extended valid period information.

[0179] For more details on the operations performed by each module, please refer to the previous description of Figure 5, so they will not be repeated here.

[0180] Figure 11 shows a block diagram of a digital key sharing device according to an embodiment of the present application. The electronic device may be the second device or the second server in Figure 1. Optionally, the sending module 1110 and the receiving module 1120 may be implemented by a transceiver module.

[0181] As shown in FIG. 11 , the apparatus 1100 may include a sending module 1110 , a receiving module 1120 , and a processing module 1130 .

[0182] The receiving module 1120 may receive a digital key creation request from the first device, wherein the digital key creation request includes valid space information for the digital key, wherein the valid space information is included in validity configuration information sent from the first device to the second device.

[0183] The processing module 1130 may generate a digital key based on the valid space information, wherein the digital key includes the valid space information.

[0184] The sending module 1110 may send a digital key signature request including the data to be signed of the digital key to the first device, wherein the second data to be signed includes valid space information.

[0185] The processing module 1130 may also save the generated second digital key based on the digital key import request (digital key signature response) received from the first device.

[0186] After the digital key sharing process is completed, the target object needs to authenticate the digital key so that the digital key can control the target object.

[0187] For example, the sending module 1110 may further send a key authentication request to the target object, wherein the key authentication request includes the valid space information. The receiving module 1120 may further receive a key authentication response from the target object, wherein the key authentication response indicates whether the usage location of the digital key meets the space requirement corresponding to the valid space information.

[0188] Optionally, in the case of several situations described above, when the space requirements and / or time requirements need to be updated at the second device, the processing module 1130 or the sending module 1110 can generate a second digital key authentication request, and include extended valid space information and / or extended valid usage period information in the request.

[0189] For more details on the operations performed by each module, please refer to the previous description of Figures 6A to 7B, so they will not be repeated here.

[0190] FIG12 shows a block diagram of a vehicle according to an embodiment of the present application. The vehicle may be the vehicle in FIG1 .

[0191] As shown in Figure 12, a vehicle 1200 may include a vehicle body 1210 and a control system 1220. The control system 1220 may include a sending module 1220-1, a receiving module 1220-2, and a processing module 1220-3. The control system of the vehicle 1200 may operate in conjunction with a vehicle server.

[0192] For example, the receiving module 1220 - 2 may receive a key authentication request from the device providing the digital key (eg, from the second device or from the server of the second device via the vehicle server), the key authentication request including the certificate and valid space information of the digital key.

[0193] The processing module 1220 - 3 may authenticate the certificate of the digital key and determine whether the space requirement corresponding to the valid space information is satisfied based on the usage location of the digital key.

[0194] Optionally, when the processing module 1220-3 or the vehicle server determines that the space requirement is not met, the sending module 1220-1 may send a key authentication response to the second device to indicate whether the usage location of the digital key meets the space requirement corresponding to the valid space information.

[0195] For more details on the operations performed by each module, please refer to the previous description of Figures 6A-8, so they will not be repeated here.

[0196] Figure 13 shows a block diagram of a server according to an embodiment of the present application. The server may be any one of the servers in Figure 1 or a general term for multiple servers.

[0197] As shown in FIG. 13 , each of the one or more servers 1300 may include a sending module 1310 , a receiving module 1320 , and a processing module 1330 .

[0198] The receiving module 1320 may receive a digital key creation request from a first device, wherein the digital key creation request includes location information of the first device for determining valid spatial information of the digital key or includes the valid spatial information.

[0199] The processing module 1330 may generate configuration information for generating the digital key at the second device based on the valid space information.

[0200] The sending module 1330 may send the configuration information to the second device, so as to generate the digital key at the second device, wherein the digital key includes the valid space information.

[0201] Optionally, the receiving module 1320 may also receive a digital key signature request from the second device, wherein the digital key signature request includes the data to be signed of the digital key generated at the second device, and the data to be signed includes the valid space information. The processing module 1330 may also perform signature confirmation on the digital key signature request and send a digital key import request to the second device through the sending module 1310. Alternatively, the sending module 1310 may forward the digital signature request to the first device and after the receiving module 1320 receives the digital key import request from the first device, the sending module 1310 may send a digital key import request to the second device to instruct the second device to save the generated second digital key.

[0202] For more details on the operations performed by each module, please refer to the previous description of Figures 5 to 8, so they will not be repeated here.

[0203] In addition, although the above modules are shown in Figures 10 to 13 by way of example, it should be understood that each device can also be divided into more sub-modules according to different functions, or the modules can be combined into new modules. In some example embodiments, a module or its sub-modules can be implemented with electronic hardware (e.g., a general-purpose processor, a DSP, an ASIC, an FPGA or other programmable logic device, discrete gate or transistor logic, discrete hardware components, etc.), computer software (e.g., which can be stored in random access memory (RAM), flash memory, read-only memory (ROM), erasable programmable ROM (EPROM), etc.), or a combination of the two.

[0204] Figure 14 shows a schematic block diagram of a computing device according to an embodiment of the present application. The computing device may be the first device (or first server), the second device (or second server), or the vehicle as shown in Figure 1 .

[0205] As shown in Figure 14, the computing device 1400 includes one or more processors, one or more memories, a network interface, an input device, and a display screen connected via a system bus. Among them, the memory includes a non-volatile storage medium and an internal memory. The non-volatile storage medium of the terminal stores an operating system and may also store a computer executable program. When the computer executable program is executed by the processor, the processor can implement various operations of the digital key sharing method or the method of controlling the target object using a digital key. The internal memory may also store a computer executable program. When the computer executable program is executed by the processor, the processor can implement various operations of the digital key sharing method or the method of controlling the target object using a digital key.

[0206] The processor can be an integrated circuit chip with signal processing capabilities. The above-mentioned processor can be a general-purpose processor, a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field-programmable gate array (FPGA) or other programmable logic device, a discrete gate or transistor logic device, or a discrete hardware component. The various methods, steps, and logic block diagrams disclosed in the embodiments of this application can be implemented or executed. The general-purpose processor can be a microprocessor or any conventional processor, etc., and can be an X84 architecture or an ARM architecture.

[0207] The non-volatile memory may be a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), or a flash memory. It should be noted that the memory of the methods described herein is intended to include, but is not limited to, these and any other suitable types of memory.

[0208] The display screen of the computing device can be a liquid crystal display screen or an electronic ink display screen, and the input device of the computing device can be a touch layer covering the display screen, or a button, trackball or touchpad set on the terminal housing, or an external keyboard, touchpad or mouse.

[0209] The computing device can be a terminal or a server. The terminal may include, but is not limited to, smartphones, tablets, laptops, desktop computers, smart TVs, etc.; various clients (applications, APPs) can run in the terminal, such as multimedia playback clients, social clients, browser clients, information streaming clients, educational clients, etc. The server can be an independent physical server, or a server cluster or distributed system composed of multiple physical servers. It can also be a cloud server that provides basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, CDN, and big data and artificial intelligence platforms.

[0210] According to another aspect of the present application, a computer-readable storage medium is provided, which stores a computer program. When the computer program is executed by a processor, the processor executes the steps of the digital key sharing method or the method of controlling a target object using a digital key as described above.

[0211] According to another aspect of the present application, a computer program product is also provided, including a computer program, which, when executed by a processor, implements the steps of the digital key sharing method or the method of controlling a target object using a digital key as described above.

[0212] It should be noted that the flowcharts and block diagrams in the accompanying drawings illustrate the possible architecture, functions and operations of the methods and devices according to various embodiments of the present application. In this regard, each box in the flowchart or block diagram can represent a module, program segment, or a part of the code, and the module, program segment, or a part of the code contains at least one executable instruction for realizing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the box can also occur in a different order than that marked in the accompanying drawings. For example, two boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram and / or flowchart, and the combination of boxes in the block diagram and / or flowchart, can be implemented with a dedicated hardware-based system that performs the specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.

[0213] The exemplary embodiments of the present application described in detail above are merely illustrative and not restrictive. Those skilled in the art will appreciate that various modifications and combinations may be made to these embodiments or their features without departing from the principles and spirit of the present application, and such modifications should fall within the scope of the present application.

Claims

1. A method for sharing a digital key, performed by a first device, the method comprising: sending a digital key creation request including valid spatial information for a digital key to a second device for generating the digital key at the second device; receiving a digital key signature request from a second device, wherein the digital key signature request includes data to be signed of the digital key, and the data to be signed includes the valid space information; and Based on completing the signing of the digital key signature request, a digital key import request is sent to the second device to instruct the second device to save the generated digital key.

2. The method according to claim 1, further comprising: Before sending the digital key creation request, determining the valid space information based on the position of the first device, The valid space information is included in validity configuration information sent from the first device to the second device.

3. The method according to claim 2, wherein: Determining the valid spatial information based on the position of the first device includes: In response to determining that the location of the first device is not a predetermined location and the location of the first device is within a perimeter of a place, determining an effective space for the digital key based on the perimeter of the place; Valid space information about the valid space is included in the validity configuration information.

4. The method according to claim 2, wherein: Determining the valid spatial information based on the position of the first device includes: Taking the position of the first device as a symmetrical point, move the same or different preset distances to the surrounding areas, and the resulting perimeter range is the effective space for the digital key; Valid space information about the valid space is included in the validity configuration information.

5. The method according to claim 2, wherein: The validity configuration information also includes extended validity space information for the digital key, and The digital key includes the extended effective space information.

6. The method according to claim 1, wherein: The validity configuration information further includes valid usage period information for the digital key, and the digital key further includes the valid usage period information; or The validity configuration information further includes valid usage period information and extended valid usage period information for the digital key, and the digital key further includes the valid usage period information and the extended valid usage period information.

7. The method according to claim 5, wherein: When the usage position of the digital key does not meet the space requirement corresponding to the valid space information, the extended valid space information is used to determine whether the usage position of the digital key meets the space requirement corresponding to the extended valid space information.

8. The method according to claim 6, wherein: When the usage location of the digital key meets the space requirement corresponding to the valid space information, and the usage time of the digital key does not meet the time requirement corresponding to the valid usage period information, the extended valid usage period information is used to determine whether the usage time of the digital key meets the time requirement corresponding to the extended valid usage period information.

9. A method for verifying a shared digital key, performed by a target object, the method comprising: receiving a key authentication request from a device providing the digital key, the key authentication request including a certificate and valid space information of the digital key; authenticating the certificate of the digital key; Based on the usage position of the digital key, it is determined whether the space requirement corresponding to the valid space information is met.

10. The method according to claim 9, further comprising: In a case where the space requirement is not met and the extended valid space information of the digital key is acquired, it is determined whether the space requirement corresponding to the extended valid space information is met based on the use position of the digital key.

11. The method according to claim 9, wherein the key authentication request further includes valid period information. The method further comprises: Based on the usage time of the digital key, it is determined whether the time requirement corresponding to the valid usage period information is satisfied.

12. The method according to claim 11, further comprising: If at least one of the space requirement and the time requirement is not satisfied, the digital key is prohibited from controlling the target object.

13. The method according to claim 11, further comprising: When the space requirement is not met and the time requirement is met, and the extended valid space information is acquired, it is determined whether the space requirement corresponding to the extended valid space information is met based on the use position of the digital key.

14. The method according to claim 11, further comprising: In a case where the space requirement is satisfied and the time requirement is not satisfied, and the extended valid usage period information is acquired, it is determined whether the time requirement corresponding to the extended valid usage period information is satisfied based on the usage time of the digital key.

15. The method according to claim 11, further comprising: When both the space requirement and the time requirement are not met and the extended valid space information and the extended valid usage period information are obtained, it is determined based on the usage location and usage time of the digital key whether the space requirement corresponding to the extended valid space information and the time requirement corresponding to the extended valid usage period information are both met.

16. A method for sharing a digital key from a first device to a second device, performed by a server, the method comprising: receiving a digital key creation request from a first device, wherein the digital key creation request includes location information of the first device for determining valid spatial information of the digital key or includes the valid spatial information; Based on the effective space information, generating a method for generating the digital key at the second device Configuration information, The configuration information is sent to the second device for generating the digital key at the second device, wherein the digital key includes the valid space information.

17. The method according to claim 16, further comprising: receiving a digital key signature request from the second device, wherein the digital key signature request includes data to be signed of the digital key generated at the second device, and the data to be signed includes the valid space information; and Sign and confirm the digital key signature request, and send a digital key import request to the second device, or after forwarding the digital signature request to the first device and receiving the digital key import request from the first device, send a digital key import request to the second device to instruct the second device to save the generated second digital key.

18. The method according to claim 16, wherein: The digital key creation request also includes valid usage period information, the server further generates the configuration information based on the valid usage period, and the digital key generated by the second device also includes the valid usage period information.

19. The method according to claim 16, wherein: The digital key creation request also includes at least one of extended valid space information and extended valid usage period information, wherein the server further generates the configuration information based on the at least one of the extended valid space information and the extended valid usage period information, and the digital key generated by the second device also includes the at least one of the extended valid space information and the extended valid usage period information.

20. The method according to claim 19, wherein: When the usage position of the digital key does not meet the space requirement corresponding to the valid space information, the extended valid space information is used to determine whether the usage position of the digital key meets the space requirement corresponding to the extended valid space information.

21. The method according to claim 19, wherein: When the usage location of the digital key meets the space requirement corresponding to the valid space information, and the usage time of the digital key does not meet the time requirement corresponding to the valid usage period information, the extended valid usage period information is used to determine whether the usage time of the digital key meets the time requirement corresponding to the extended valid usage period information.

22. A computing device comprising: processor; as well as A memory having computer-readable instructions stored thereon, wherein the instructions, when executed, cause the processor to perform the method according to any one of claims 1 to 21.

Citation Information

Patent Citations

  • Vehicle digital key distribution management method and device

    CN112669491A

  • Identity authentication method and device and medium

    CN112839040A

  • Digital key issuing and verifying method and system

    CN115396893A

  • Digital key sharing method and device, terminal equipment, vehicle and storage medium

    CN115734223A

  • Method by which device shares digital key

    US20220014353A1

Cited By

  • INTEGRATED TRANSFER OF AN OWNER'S DIGITAL KEY

    DE102025113904A1