Intelligent key management method and system and computer program product
Through Bluetooth connection and management of terminal devices and smart keys, the limitations of traditional keys in terms of security and convenience are solved, efficient management and upgrade of smart keys are achieved, and user experience and security are improved.
Patent Information
- Application Number
- CN202411340246.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-24
- Publication Date
- 2024-12-13
AI Technical Summary
Traditional mechanical keys and RFID remote keys have limitations in terms of security, convenience and accuracy, and smart key management methods need to be improved to address these challenges.
The terminal device responds to the addition of smart keys, displays prompt information and triggers the smart key to send Bluetooth broadcast information, establishes a Bluetooth connection to receive and store key information, realizes key management and upgrades, and uses Bluetooth connection to improve convenience and simplifies design.
It improves the management convenience and user experience of smart keys, enhances the sensitivity of Bluetooth connection, simplifies the design of smart keys, and improves the security and permission management of keys.
Smart Images

Figure CN119131941A_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the field of computer technology, and in particular to a smart key management method, system and computer program product. Background Art
[0002] With the rapid development of science and technology, the technology of car keys is also constantly evolving. Traditional mechanical keys and remote control keys based on radio frequency identification (RFID) technology have gradually revealed some limitations in terms of security, convenience and accuracy. In the past, mechanical keys were the main way to open cars, but such keys were easy to copy and the risk of vehicle theft was relatively high. Although RFID remote control keys have improved convenience to a certain extent, their signal transmission range is limited and they are easily interfered with, resulting in unstable unlocking and locking operations.
[0003] In recent years, with the development of smart key technology, more and more vehicles are equipped with smart keys, such as ultra-wideband (UWB) keys. Therefore, how to manage smart keys is particularly important. Summary of the invention
[0004] The embodiments of the present disclosure at least provide a smart key management method, system and computer program product.
[0005] In a first aspect, an embodiment of the present disclosure provides a smart key management method, which is applied to a terminal device, including:
[0006] In response to an adding operation for a smart key, displaying a first prompt message, wherein the first prompt message is used to prompt the smart key to perform a first movement corresponding to the adding operation; the first movement is used to trigger the smart key to send a first Bluetooth broadcast message;
[0007] After searching for the first Bluetooth broadcast information of the smart key, establishing a first Bluetooth connection with the smart key;
[0008] Receive key information transmitted by the smart key based on the first Bluetooth connection, and store the key information.
[0009] In a possible implementation, responding to the adding operation for the smart key includes:
[0010] Display key adding prompt information on the key management page;
[0011] In response to a triggering operation for the key adding prompt information, displaying a key adding list; the key adding list includes a smart key option;
[0012] In response to the trigger operation for the smart key option, preparation prompt information and a trigger button corresponding to the adding operation are displayed; the preparation prompt information includes information prompting to turn on the Bluetooth function of the terminal device.
[0013] In a possible implementation manner, the motion attribute of the first motion satisfies at least one of the following:
[0014] The movement duration exceeds a first preset duration, the movement direction is a preset direction, the movement amplitude is greater than a preset amplitude, and the movement path is a preset path.
[0015] In a possible implementation manner, the method further includes:
[0016] In response to an upgrade operation for the added smart key, display a second prompt message, wherein the second prompt message is used to prompt the smart key to perform a second movement corresponding to the adding operation; the second movement is used to trigger the smart key to send a second Bluetooth broadcast message;
[0017] After searching for the second Bluetooth broadcast information of the smart key, establishing a second Bluetooth connection with the smart key;
[0018] The first state information of the smart key is obtained, and when the first state information satisfies a first preset condition, the obtained upgrade software package corresponding to the smart key is transmitted to the smart key via Bluetooth to upgrade the smart key.
[0019] In a possible implementation manner, the first status information of the smart key includes the remaining power of the smart key and / or the current software package version number of the smart key;
[0020] The state information satisfies the first preset condition including that the remaining power of the smart key exceeds a preset power, and / or the current software package version number of the smart key is different from the version number of the upgrade software package.
[0021] In a possible implementation manner, the method further includes:
[0022] Determining an upgrade result of the smart key;
[0023] When the upgrade result is an upgrade failure, in response to a retry operation, the second prompt information is re-displayed to re-establish the second Bluetooth connection with the smart key.
[0024] In a possible implementation manner, the method further includes:
[0025] When the upgrade result is an upgrade failure, the upgrade failure reason is obtained and upgrade failure prompt information is displayed. The upgrade failure prompt information includes the upgrade failure reason and / or strategy information for resolving the upgrade failure.
[0026] In a possible implementation manner, the upgrade software package corresponding to the smart key is obtained according to the following steps:
[0027] After detecting an upgrade operation for the added smart key, requesting the server to obtain an upgrade software package corresponding to the smart key; or,
[0028] After establishing a second Bluetooth connection with the smart key, a request is made to a server to obtain an upgrade software package corresponding to the smart key.
[0029] In a possible implementation manner, after searching for the first Bluetooth broadcast information of the smart key, the method further includes:
[0030] Determine the second state information of the terminal device, and obtain the third state information of the vehicle corresponding to the smart key;
[0031] When the first state information and the third state information meet a second preset condition, establishing a first Bluetooth connection with the smart key;
[0032] The second status information includes network status information, Bluetooth status information and the number of added keys; and the third status information includes network status information.
[0033] In a possible implementation manner, the key information includes a key identification;
[0034] The method further comprises:
[0035] Sending a synchronization request carrying the key identifier to a server; the synchronization request is used to add the key identifier to a key whitelist of the corresponding vehicle stored in the server, and synchronize the key whitelist to the vehicle through the server; wherein the key identifier stored in the key whitelist is a key identifier with vehicle authority;
[0036] A synchronous response fed back by the server is received.
[0037] In a second aspect, the embodiment of the present disclosure further provides a smart key management system, including: a terminal device and a smart key, wherein:
[0038] The smart key is configured to send a first Bluetooth broadcast message after detecting a first motion applied by a user; after establishing a first Bluetooth connection with the terminal device, transmit key information to the terminal device through the first Bluetooth connection;
[0039] A terminal device is configured to respond to an adding operation for a smart key by displaying a first prompt message, wherein the first prompt message is used to prompt the smart key to perform a first movement corresponding to the adding operation; the first movement is used to trigger the smart key to send a first Bluetooth broadcast message; after searching for the first Bluetooth broadcast message of the smart key, establish a first Bluetooth connection with the smart key; receive key information transmitted by the smart key based on the first Bluetooth connection, and store the key information.
[0040] In a third aspect, an embodiment of the present disclosure further provides a computer program product, including a computer program, which, when executed, implements the method described in the above-mentioned first aspect, or any possible implementation manner of the first aspect.
[0041] In the smart key management method, system and computer program product provided by the embodiments of the present disclosure, after the terminal device responds to the adding operation for the smart key, it can display the first prompt information, and the user can perform the first movement according to the first prompt information to trigger the Bluetooth broadcast of the smart key; after searching for the first Bluetooth broadcast information of the smart key, it can establish a first Bluetooth connection with the smart key, and receive the key information transmitted by the smart key based on the first Bluetooth connection to store the key information of the smart key on the terminal device. In the above method, the sensitivity and convenience of the Bluetooth connection can be improved by controlling the movement of the smart key to trigger the Bluetooth broadcast, and adding the smart key in this way is convenient to operate and improve the user experience. In addition, by adopting the method provided by the embodiments of the present application, there is no need to install physical buttons on the smart key, which is conducive to simplifying the design of the smart key.
[0042] In order to make the above-mentioned objectives, features and advantages of the present disclosure more obvious and easy to understand, preferred embodiments are specifically cited below and described in detail with reference to the attached drawings. BRIEF DESCRIPTION OF THE DRAWINGS
[0043] In order to more clearly illustrate the technical solutions of the embodiments of the present disclosure, the following is a brief introduction to the drawings required for use in the embodiments. The drawings herein are incorporated into the specification and constitute a part of the specification. These drawings illustrate embodiments consistent with the present disclosure and are used together with the specification to illustrate the technical solutions of the present disclosure. It should be understood that the following drawings only illustrate certain embodiments of the present disclosure and should not be regarded as limiting the scope. For ordinary technicians in this field, other relevant drawings can also be obtained based on these drawings without creative work.
[0044] Figure 1 A flow chart of a smart key management method provided by an embodiment of the present disclosure is shown;
[0045] Figure 2 A schematic diagram of a smart key management device provided by an embodiment of the present disclosure is shown;
[0046] Figure 3 A schematic diagram of the structure of a computer device provided by an embodiment of the present disclosure is shown. DETAILED DESCRIPTION
[0047] In order to make the purpose, technical solutions and advantages of the embodiments of the present disclosure clearer, the technical solutions in the embodiments of the present disclosure will be clearly and completely described below in conjunction with the drawings in the embodiments of the present disclosure. Obviously, the described embodiments are only part of the embodiments of the present disclosure, rather than all the embodiments. The components of the embodiments of the present disclosure generally described and shown in the drawings here can be arranged and designed in various different configurations. Therefore, the following detailed description of the embodiments of the present disclosure provided in the drawings is not intended to limit the scope of the present disclosure claimed for protection, but merely represents selected embodiments of the present disclosure.
[0048] In recent years, with the development of smart key technology, more and more vehicles are equipped with smart keys, such as ultra-wideband (UWB) keys. Generally, users can use their mobile phones to activate, upgrade, switch, and manage smart keys. If the smart keys are not managed properly, the control of the vehicle may be affected. Therefore, how to manage smart keys is particularly important.
[0049] Based on the above research, the present disclosure provides a smart key management method, system and computer program product. After the terminal device can respond to the addition operation for the smart key, it can display a first prompt information, and the user can perform a first movement according to the first prompt information to trigger the Bluetooth broadcast of the smart key; after searching for the first Bluetooth broadcast information of the smart key, a first Bluetooth connection with the smart key can be established, and the key information transmitted by the smart key based on the first Bluetooth connection can be received to store the key information of the smart key on the terminal device. In the above method, the sensitivity and convenience of the Bluetooth connection can be improved by controlling the movement of the smart key to trigger the Bluetooth broadcast, and adding the smart key in this way is convenient to operate and improve the user experience. In addition, the method provided in the embodiment of the present application does not need to install a physical button on the smart key, which is conducive to simplifying the design of the smart key.
[0050] It should be noted that similar reference numerals and letters denote similar items in the following drawings, and therefore, once an item is defined in one drawing, further definition and explanation thereof is not required in subsequent drawings.
[0051] The term "and / or" herein only describes an association relationship, indicating that three relationships may exist. For example, A and / or B may represent the following three situations: A exists alone, A and B exist at the same time, and B exists alone. In addition, the term "at least one" herein represents any combination of at least two of any one or more of a plurality of. For example, including at least one of A, B, and C may represent including any one or more elements selected from the set consisting of A, B, and C.
[0052] It can be understood that before using the technical solutions disclosed in the embodiments of the present disclosure, the personal information involved in the present disclosure (including but not limited to attribute information, facial images, etc.) is obtained with the authorization of the user. Specifically, it can be through a pop-up window in the page, information push, etc., sending a prompt message requesting authorization to the user, and obtaining the above personal information after the user agrees to the authorization.
[0053] To facilitate understanding of this embodiment, a smart key management method disclosed in the embodiment of the present disclosure is first introduced in detail. The executor of the smart key management method provided in the embodiment of the present disclosure is generally a terminal device, which can be, for example, a smart phone, a smart wearable device, etc.
[0054] See also Figure 1 FIG. 1 is a flowchart of a smart key management method provided by an embodiment of the present disclosure, wherein the method includes steps 101 to 103, wherein:
[0055] Step 101: In response to an adding operation for a smart key, display a first prompt message, wherein the first prompt message is used to prompt the smart key to perform a first movement corresponding to the adding operation; the first movement is used to trigger the smart key to send a first Bluetooth broadcast message.
[0056] Step 102: after searching for the first Bluetooth broadcast information of the smart key, establish a first Bluetooth connection with the smart key.
[0057] Step 103: receiving key information transmitted by the smart key based on the first Bluetooth connection, and storing the key information.
[0058] The following is a detailed description of the above steps.
[0059] For step 101,
[0060] Here, the smart key may be, for example, a UWB key or a vehicle key using other positioning technologies. In a possible application scenario, the user may first trigger an "add key" button and then select the type of key to be added. After selecting the key type, an add operation for the smart key may be generated.
[0061] Specifically, the key adding prompt information can be displayed on the key management page, and then in response to the trigger operation for the key adding prompt information, a key adding list can be displayed, wherein the key adding list includes multiple types of key options, and the multiple types of key options include smart key options; then in response to the trigger operation for the smart key option, preparation work prompt information and a trigger button corresponding to the adding operation can be displayed; the preparation work prompt information includes information prompting to turn on the Bluetooth function of the terminal device. The user can perform the adding operation for the smart key by triggering the trigger button.
[0062] The preparation work prompt information is used to prompt the prerequisites for completing the adding operation of the smart key.
[0063] Here, the preparation work prompt information may include condition restrictions for the vehicle, condition restrictions for the terminal device, and condition restrictions for the smart key. Exemplarily, the preparation work prompt information is:
[0064] Please confirm before adding:
[0065] 1. Prepare a smart key to be added and make sure the battery has been installed.
[0066] 2. The vehicle is connected to the network normally.
[0067] 3. Turn on the Bluetooth function and permissions on your mobile phone.
[0068] After the user triggers the trigger button corresponding to the adding operation, the user can respond to the adding operation for the smart key and display the first prompt information.
[0069] The first prompt information is used to prompt the smart key to perform a first motion corresponding to the adding operation; the first motion is used to trigger the smart key to send a first Bluetooth broadcast information.
[0070] Optionally, the motion attribute of the first motion satisfies at least one of the following:
[0071] The movement duration exceeds a first preset duration, the movement direction is a preset direction, the movement amplitude is greater than a preset amplitude, and the movement path is a preset path.
[0072] In specific implementation, a motion sensor may be deployed in the smart key, and the smart key may monitor the motion of the smart key through the motion sensor. When it is detected that the motion attribute satisfies at least one of the above, it can be determined that the user has performed the above first motion on the smart key, and then the smart key is controlled to send the first Bluetooth broadcast information.
[0073] By setting the motion attribute of the first motion, it is possible to prevent the smart key from being randomly shaken and sending the first Bluetooth broadcast information, thereby wasting the power of the smart key.
[0074] In one possible implementation, the terminal device may always display the first prompt information before searching for the first Bluetooth broadcast information of the smart key, and then display the smart key adding page after searching for the first Bluetooth broadcast information of the smart key. In another possible implementation, if the first prompt information display time exceeds the second preset time, it means that the terminal device is still unable to search for the first Bluetooth broadcast information of the smart key at this time, and therefore, the third prompt information may be displayed on the terminal device, and the third prompt information is used to prompt to re-check the above-mentioned preparation work prompt information.
[0075] For steps 102 and 103,
[0076] In one possible implementation, after searching for the first Bluetooth broadcast information of the smart key and before establishing the first Bluetooth connection with the smart key, it is also necessary to detect the status of the terminal device and the vehicle corresponding to the smart key to determine whether the current status of the terminal device and the vehicle is suitable for adding a key.
[0077] Specifically, the second state information of the terminal device may be determined, and the third state information of the vehicle corresponding to the smart key may be obtained; when the first state information and the third state information meet the second preset condition, a first Bluetooth connection with the smart key may be established;
[0078] The second status information includes network status information, Bluetooth status information and the number of added keys; and the third status information includes network status information.
[0079] The first status information and the third status information satisfying the second preset condition may mean that the network status of the terminal device is good, Bluetooth is turned on, the number of added keys has not reached a preset number, and the network status of the vehicle is good.
[0080] Optionally, when the first status information and / or the third status information does not meet the second preset condition, a prompt message of adding failure can be displayed, which can include status information that does not meet the second preset condition, and prompt the user to perform corresponding operations to make the status information meet the second preset condition.
[0081] Before establishing the first Bluetooth connection, by detecting the second state information of the terminal device and the third state information of the vehicle, the first Bluetooth connection between the terminal device and the vehicle can be guaranteed, and after establishing the first Bluetooth connection, the key information of the smart key can be smoothly transmitted to the terminal device.
[0082] After receiving the key information transmitted by the smart key based on the first Bluetooth connection, the terminal device can store the key information, thereby completing the operation of adding the digital key corresponding to the smart key on the terminal device.
[0083] Optionally, the key information may include key information, random numbers, and other messages that need to be verified in the vehicle when controlling the vehicle.
[0084] In one possible implementation, in order to improve the security of vehicle keys, the smart key corresponding to the vehicle and the server may both store a key whitelist. The key identifiers stored in the key whitelist may be key identifiers with vehicle permissions. When a key is lost, the key identifier of the key can be removed from the key whitelist by reporting the loss. In this way, even if other people obtain the key, they still cannot control the vehicle with the key.
[0085] In actual application, if the smart key is not activated, the key identifier of the smart key does not exist in the key whitelist, and the smart key cannot control the vehicle. Therefore, the terminal device can also be used to detect whether the smart key has completed whitelist synchronization. If not, the smart key can be activated through the key management page.
[0086] Optionally, the process of detecting whether the smart key has completed whitelist synchronization may be performed after the key information is stored (ie, after key learning is completed).
[0087] Specifically, the key information may include a key identification. When the smart key is activated, a synchronization request carrying the key identification can be sent to the server in response to the activation operation of the smart key; the synchronization request is used to add the key identification to the key whitelist of the corresponding vehicle stored in the server, and synchronize the key whitelist to the vehicle through the server; wherein, the key identification stored in the key whitelist is a key identification with vehicle authority; and a synchronization response fed back by the server is received.
[0088] If the server sends a synchronous response indicating that the activation is successful, the adding operation of the smart key is completed. Correspondingly, if the server sends a synchronous response indicating that the activation failed, the reason for the activation failure can be displayed, such as a key identification error, a network connection failure, etc. The user can activate the smart key by triggering the activation again.
[0089] In this way, by synchronizing the key identification of the smart key in the key whitelist of the server and the vehicle, the security of the key can be improved and the permission management of each smart key can be facilitated.
[0090] After activating the smart key through the terminal device, the user can use the smart key to control the vehicle normally. For example, when the user approaches the vehicle with the smart key, the vehicle can automatically unlock the door after sensing the smart key; when the user enters the vehicle cabin with the smart key, the user can shift gears and start the vehicle; when the vehicle detects that the last smart key has left the vehicle for a certain distance, the door will automatically close and lock.
[0091] In a possible implementation, after the smart key is added to the terminal device, upgrade control of the smart key can also be implemented through the terminal device.
[0092] Specifically, in response to an upgrade operation for an added smart key, a second prompt message can be displayed, wherein the second prompt message is used to prompt the smart key to perform a second movement corresponding to the adding operation; the second movement is used to trigger the smart key to send a second Bluetooth broadcast message; then, a second Bluetooth connection with the smart key is established after searching for the second Bluetooth broadcast information of the smart key; and then the first status information of the smart key is obtained. When the first status information meets the first preset condition, the obtained upgrade software package corresponding to the smart key is transmitted to the smart key via Bluetooth to upgrade the smart key.
[0093] Here, the second motion may be a motion of the same type as the first motion, and the motion attribute of the second motion may also meet at least one of the following conditions:
[0094] The movement duration exceeds a first preset duration, the movement direction is a preset direction, the movement amplitude is greater than a preset amplitude, and the movement path is a preset path.
[0095] The first status information of the smart key may include the remaining power of the smart key and / or the current software package version number of the smart key. The first status information satisfying the first preset condition may mean that the remaining power of the smart key exceeds the preset power, and / or the current software package version number of the smart key is different from the version number of the upgrade software package.
[0096] Specifically, after establishing the second Bluetooth connection, the smart key can send the current remaining power and / or the current software package version number to the terminal device, and the terminal device can obtain the version number of the upgrade software package to be upgraded from the server. When it is detected that the remaining power of the smart key exceeds the preset power and / or the current software package version number of the smart key is different from the version number of the upgrade software package to be upgraded, it can be determined that the smart key needs to be upgraded.
[0097] In this way, the terminal device can avoid the upgrade software package being interrupted during the transmission process by detecting the first state information of the smart key before transmitting the upgrade software package, thereby causing invalid transmission and wasting transmission resources.
[0098] Optionally, the response to the upgrade operation of the added smart key may include: responding to the trigger operation of the upgrade button of the smart key added in the key management page, displaying the fourth prompt information and the trigger button corresponding to the upgrade operation, wherein the fourth prompt information may include upgrade instructions and upgrade precautions, wherein the upgrade instructions are used to explain the problems solved by this upgrade, such as the problem of being unable to use, the problem of excessive power consumption, etc., and the upgrade precautions are the conditions that need to be met to ensure the success of the upgrade, such as not being able to upgrade in a low-battery state, please do not turn off the mobile phone Bluetooth or app during the upgrade process, please do not disassemble the UWB smart key, etc. Then, the trigger button corresponding to the upgrade operation may be responded to, and the upgrade operation may be responded to, and the second prompt information may be displayed.
[0099] In one possible implementation, the terminal device may request the server to obtain the upgrade software package corresponding to the added smart key after detecting an upgrade operation for the smart key; or, after establishing a second Bluetooth connection with the smart key, request the server to obtain the upgrade software package corresponding to the smart key.
[0100] In a possible implementation, when the first status information satisfies a first preset condition, in order to improve the security during the transmission of the upgrade software package and to improve the stability of the connection, the terminal device and the smart key are connected via Bluetooth by pairing.
[0101] Specifically, after a Bluetooth connection is established between the terminal device and the smart key by pairing, the terminal device transmits the upgrade software package to the smart key through a second Bluetooth connection of the paired connection. If the pairing fails, an upgrade failure prompt message can be displayed to prompt the user.
[0102] Optionally, after the terminal device transmits the acquired upgrade software package corresponding to the smart key to the smart key via Bluetooth, it can also determine the upgrade result of the smart key; if the upgrade result is an upgrade failure, it responds to a retry operation and re-displays the second prompt information to re-establish a second Bluetooth connection with the smart key.
[0103] In addition, when the upgrade result is an upgrade failure, the upgrade failure reason is obtained and upgrade failure prompt information is displayed. The upgrade failure prompt information includes the upgrade failure reason and / or strategy information for solving the upgrade failure.
[0104] The reasons for the upgrade failure include at least one of the following:
[0105] The battery power is too low, the network status of the terminal device does not meet the preset network conditions, the Bluetooth connection between the terminal device and the smart key is disconnected, or other failure reasons.
[0106] By displaying the reasons for upgrade failure, problems in the upgrade process can be prompted, thereby improving the success rate of the next upgrade.
[0107] In one possible implementation, after the upgrade software package is sent to the smart key, the smart key can parse and process the upgrade software package and execute the upgrade process. After the smart key upgrade is completed, the key information of the upgraded smart key can be re-sent to the terminal device based on the second Bluetooth connection. The terminal device can store the upgraded key information to control the vehicle based on the upgraded smart key.
[0108] Optionally, during the upgrade process of the smart key, the terminal device may also display upgrade progress information and precautions during the upgrade process, such as not to disassemble the key during the upgrade process. Different upgrade progress information may be determined based on the operations currently performed by the terminal device and the smart key. For example, if the terminal device is currently downloading an upgrade software package from the server, the corresponding upgrade progress information is 10%, and if the terminal device sends an upgrade instruction to the smart key, the corresponding upgrade progress information is 30%, etc. The specific upgrade process will not be described in detail here.
[0109] In addition, after the upgrade is completed, the smart key can send the upgraded version number to the terminal device, and the terminal device can check the version number sent back by the smart key with the version number of the upgrade software package. If the two are consistent, it can be determined that the upgrade is successful.
[0110] Those skilled in the art will appreciate that, in the above method of specific implementation, the order in which the steps are written does not imply a strict execution order and does not constitute any limitation on the implementation process. The specific execution order of the steps should be determined by their functions and possible internal logic.
[0111] Based on the same inventive concept, the embodiment of the present disclosure also provides a smart key management system, including: a terminal device and a smart key, wherein:
[0112] The smart key is configured to send a first Bluetooth broadcast message after detecting a first motion applied by a user; after establishing a first Bluetooth connection with the terminal device, transmit key information to the terminal device through the first Bluetooth connection;
[0113] A terminal device is configured to respond to an adding operation for a smart key by displaying a first prompt message, wherein the first prompt message is used to prompt the smart key to perform a first movement corresponding to the adding operation; the first movement is used to trigger the smart key to send a first Bluetooth broadcast message; after searching for the first Bluetooth broadcast message of the smart key, establish a first Bluetooth connection with the smart key; receive key information transmitted by the smart key based on the first Bluetooth connection, and store the key information.
[0114] Optionally, the smart key management system may further include a server and a vehicle. The specific operations performed by the server and the vehicle may refer to the above method embodiments and will not be described in detail here.
[0115] Based on the same inventive concept, an intelligent key management device corresponding to the intelligent key management method is also provided in the embodiment of the present disclosure. Since the principle of solving the problem by the device in the embodiment of the present disclosure is similar to the above-mentioned intelligent key management method in the embodiment of the present disclosure, the implementation of the device can refer to the implementation of the method, and the repeated parts will not be repeated.
[0116] Reference Figure 2 , which is a schematic diagram of the architecture of a smart key management device provided by an embodiment of the present disclosure, the device includes: a display module 201, a connection module 202, and a receiving module 203; wherein,
[0117] The display module 201 is used to respond to the adding operation for the smart key and display the first prompt information, wherein the first prompt information is used to prompt the smart key to perform a first movement corresponding to the adding operation; the first movement is used to trigger the smart key to send a first Bluetooth broadcast information;
[0118] A connection module 202, configured to establish a first Bluetooth connection with the smart key after searching for the first Bluetooth broadcast information of the smart key;
[0119] The receiving module 203 is used to receive the key information transmitted by the smart key based on the first Bluetooth connection, and store the key information.
[0120] In a possible implementation, the display module 201 is used to:
[0121] Display key adding prompt information on the key management page;
[0122] In response to a triggering operation for the key adding prompt information, displaying a key adding list; the key adding list includes a smart key option;
[0123] In response to the trigger operation for the smart key option, preparation prompt information and a trigger button corresponding to the adding operation are displayed; the preparation prompt information includes information prompting to turn on the Bluetooth function of the terminal device.
[0124] In a possible implementation manner, the motion attribute of the first motion satisfies at least one of the following:
[0125] The movement duration exceeds a first preset duration, the movement direction is a preset direction, the movement amplitude is greater than a preset amplitude, and the movement path is a preset path.
[0126] In a possible implementation manner, the device further includes an upgrading module 204, which is used to:
[0127] In response to an upgrade operation for the added smart key, display a second prompt message, wherein the second prompt message is used to prompt the smart key to perform a second movement corresponding to the adding operation; the second movement is used to trigger the smart key to send a second Bluetooth broadcast message;
[0128] After searching for the second Bluetooth broadcast information of the smart key, establishing a second Bluetooth connection with the smart key;
[0129] The first state information of the smart key is obtained, and when the first state information satisfies a first preset condition, the obtained upgrade software package corresponding to the smart key is transmitted to the smart key via Bluetooth to upgrade the smart key.
[0130] In a possible implementation manner, the first status information of the smart key includes the remaining power of the smart key and / or the current software package version number of the smart key;
[0131] The state information satisfies the first preset condition including that the remaining power of the smart key exceeds a preset power, and / or the current software package version number of the smart key is different from the version number of the upgrade software package.
[0132] In a possible implementation manner, the upgrade module 204 is further configured to:
[0133] Determining an upgrade result of the smart key;
[0134] When the upgrade result is an upgrade failure, in response to a retry operation, the second prompt information is re-displayed to re-establish the second Bluetooth connection with the smart key.
[0135] In a possible implementation manner, the upgrade module 204 is further configured to:
[0136] When the upgrade result is an upgrade failure, the upgrade failure reason is obtained and upgrade failure prompt information is displayed. The upgrade failure prompt information includes the upgrade failure reason and / or strategy information for resolving the upgrade failure.
[0137] In a possible implementation manner, the upgrade software package corresponding to the smart key is obtained according to the following steps:
[0138] After detecting an upgrade operation for the added smart key, requesting the server to obtain an upgrade software package corresponding to the smart key; or,
[0139] After establishing a second Bluetooth connection with the smart key, a request is made to a server to obtain an upgrade software package corresponding to the smart key.
[0140] In a possible implementation, the connection module 202 is used to:
[0141] Determine the second state information of the terminal device, and obtain the third state information of the vehicle corresponding to the smart key;
[0142] When the first state information and the third state information meet a second preset condition, establishing a first Bluetooth connection with the smart key;
[0143] The second status information includes network status information, Bluetooth status information and the number of added keys; and the third status information includes network status information.
[0144] In a possible implementation manner, the key information includes a key identification;
[0145] The connection module 202 is also used for:
[0146] Sending a synchronization request carrying the key identifier to a server; the synchronization request is used to add the key identifier to a key whitelist of the corresponding vehicle stored in the server, and synchronize the key whitelist to the vehicle through the server; wherein the key identifier stored in the key whitelist is a key identifier with vehicle authority;
[0147] A synchronous response fed back by the server is received.
[0148] For descriptions of the processing flow of each module in the device and the interaction flow between each module, reference may be made to the relevant descriptions in the above method embodiment, which will not be described in detail here.
[0149] Based on the same technical concept, the embodiment of the present disclosure also provides a computer device. Figure 3As shown, it is a schematic diagram of the structure of a computer device 300 provided in an embodiment of the present disclosure, including a processor 301, a memory 302, and a bus 303. Among them, the memory 302 is used to store execution instructions, including a memory 3021 and an external memory 3022; the memory 3021 here is also called an internal memory, which is used to temporarily store the operation data in the processor 301, and the data exchanged with the external memory 3022 such as a hard disk. The processor 301 exchanges data with the external memory 3022 through the memory 3021. When the computer device 300 is running, the processor 301 communicates with the memory 302 through the bus 303, so that the processor 301 executes the following instructions:
[0150] In response to an adding operation for a smart key, displaying a first prompt message, wherein the first prompt message is used to prompt the smart key to perform a first movement corresponding to the adding operation; the first movement is used to trigger the smart key to send a first Bluetooth broadcast message;
[0151] After searching for the first Bluetooth broadcast information of the smart key, establishing a first Bluetooth connection with the smart key;
[0152] Receive key information transmitted by the smart key based on the first Bluetooth connection, and store the key information.
[0153] In a possible implementation manner, the instructions executed by the processor 301 in response to the adding operation for the smart key include:
[0154] Display key adding prompt information on the key management page;
[0155] In response to a triggering operation for the key adding prompt information, displaying a key adding list; the key adding list includes a smart key option;
[0156] In response to the trigger operation for the smart key option, preparation prompt information and a trigger button corresponding to the adding operation are displayed; the preparation prompt information includes information prompting to turn on the Bluetooth function of the terminal device.
[0157] In a possible implementation manner, in the instruction executed by the processor 301, the motion attribute of the first motion meets at least one of the following conditions:
[0158] The movement duration exceeds a first preset duration, the movement direction is a preset direction, the movement amplitude is greater than a preset amplitude, and the movement path is a preset path.
[0159] In a possible implementation manner, the instructions executed by the processor 301 further include:
[0160] In response to an upgrade operation for the added smart key, display a second prompt message, wherein the second prompt message is used to prompt the smart key to perform a second movement corresponding to the adding operation; the second movement is used to trigger the smart key to send a second Bluetooth broadcast message;
[0161] After searching for the second Bluetooth broadcast information of the smart key, establishing a second Bluetooth connection with the smart key;
[0162] The first state information of the smart key is obtained, and when the first state information satisfies a first preset condition, the obtained upgrade software package corresponding to the smart key is transmitted to the smart key via Bluetooth to upgrade the smart key.
[0163] In a possible implementation manner, in the instruction executed by the processor 301, the first status information of the smart key includes the remaining power of the smart key and / or the current software package version number of the smart key;
[0164] The state information satisfies the first preset condition including that the remaining power of the smart key exceeds a preset power, and / or the current software package version number of the smart key is different from the version number of the upgrade software package.
[0165] In a possible implementation manner, the instructions executed by the processor 301 further include:
[0166] Determining an upgrade result of the smart key;
[0167] When the upgrade result is an upgrade failure, in response to a retry operation, the second prompt information is re-displayed to re-establish the second Bluetooth connection with the smart key.
[0168] In a possible implementation manner, the instructions executed by the processor 301 further include:
[0169] When the upgrade result is an upgrade failure, the upgrade failure reason is obtained and upgrade failure prompt information is displayed. The upgrade failure prompt information includes the upgrade failure reason and / or strategy information for resolving the upgrade failure.
[0170] In a possible implementation manner, in the instructions executed by the processor 301, the upgrade software package corresponding to the smart key is obtained according to the following steps:
[0171] After detecting an upgrade operation for the added smart key, requesting the server to obtain an upgrade software package corresponding to the smart key; or,
[0172] After establishing a second Bluetooth connection with the smart key, a request is made to a server to obtain an upgrade software package corresponding to the smart key.
[0173] In a possible implementation manner, the instructions executed by the processor 301, after searching for the first Bluetooth broadcast information of the smart key, further include:
[0174] Determine the second state information of the terminal device, and obtain the third state information of the vehicle corresponding to the smart key;
[0175] When the first state information and the third state information meet a second preset condition, establishing a first Bluetooth connection with the smart key;
[0176] The second status information includes network status information, Bluetooth status information and the number of added keys; and the third status information includes network status information.
[0177] In a possible implementation manner, in the instruction executed by the processor 301, the key information includes a key identification;
[0178] The method further comprises:
[0179] Sending a synchronization request carrying the key identifier to a server; the synchronization request is used to add the key identifier to a key whitelist of the corresponding vehicle stored in the server, and synchronize the key whitelist to the vehicle through the server; wherein the key identifier stored in the key whitelist is a key identifier with vehicle authority;
[0180] A synchronous response fed back by the server is received.
[0181] The embodiment of the present disclosure also provides a computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, the steps of the smart key management method described in the above method embodiment are executed. The storage medium can be a volatile or non-volatile computer-readable storage medium.
[0182] The disclosed embodiment also provides a computer program product, which carries a program code. The instructions included in the program code can be used to execute the steps of the smart key management method described in the above method embodiment. For details, please refer to the above method embodiment, which will not be repeated here.
[0183] The computer program product may be implemented in hardware, software or a combination thereof. In one optional embodiment, the computer program product is implemented as a computer storage medium. In another optional embodiment, the computer program product is implemented as a software product, such as a software development kit (SDK).
[0184] Those skilled in the art can clearly understand that, for the convenience and simplicity of description, the specific working process of the system and device described above can refer to the corresponding process in the aforementioned method embodiment, and will not be repeated here. In the several embodiments provided in the present disclosure, it should be understood that the disclosed system, device and method can be implemented in other ways. The device embodiments described above are merely schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some communication interfaces, and the indirect coupling or communication connection of the device or unit can be electrical, mechanical or other forms.
[0185] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0186] In addition, each functional unit in each embodiment of the present disclosure may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.
[0187] If the functions are implemented in the form of software functional units and sold or used as independent products, they can be stored in a non-volatile computer-readable storage medium that is executable by a processor. Based on this understanding, the technical solution of the present disclosure, or the part that contributes to the prior art or the part of the technical solution, can be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present disclosure. The aforementioned storage medium includes: various media that can store program codes, such as a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.
[0188] Finally, it should be noted that the above-described embodiments are only specific implementation methods of the present disclosure, which are used to illustrate the technical solutions of the present disclosure, rather than to limit them. The protection scope of the present disclosure is not limited thereto. Although the present disclosure is described in detail with reference to the above-described embodiments, ordinary technicians in the field should understand that any technician familiar with the technical field can still modify the technical solutions recorded in the above-described embodiments within the technical scope disclosed in the present disclosure, or can easily think of changes, or make equivalent replacements for some of the technical features therein; and these modifications, changes or replacements do not make the essence of the corresponding technical solutions deviate from the spirit and scope of the technical solutions of the embodiments of the present disclosure, and should be included in the protection scope of the present disclosure. Therefore, the protection scope of the present disclosure should be based on the protection scope of the claims.
Claims
1. A smart key management method, characterized in that: Applied to terminal equipment, including: In response to an adding operation for a smart key, displaying a first prompt message, wherein the first prompt message is used to prompt the smart key to perform a first movement corresponding to the adding operation; the first movement is used to trigger the smart key to send a first Bluetooth broadcast message; After searching for the first Bluetooth broadcast information of the smart key, establishing a first Bluetooth connection with the smart key; Receive key information transmitted by the smart key based on the first Bluetooth connection, and store the key information.
2. The method according to claim 1, characterized in that: Respond to the adding operation for the smart key, including: Display key adding prompt information on the key management page; In response to a triggering operation for the key adding prompt information, displaying a key adding list; the key adding list includes a smart key option; In response to the trigger operation for the smart key option, preparation prompt information and a trigger button corresponding to the adding operation are displayed; the preparation prompt information includes information prompting to turn on the Bluetooth function of the terminal device.
3. The method according to claim 1, characterized in that The motion attribute of the first motion meets at least one of the following requirements: The movement duration exceeds a first preset duration, the movement direction is a preset direction, the movement amplitude is greater than a preset amplitude, and the movement path is a preset path.
4. The method according to claim 1, characterized in that: The method further comprises: In response to an upgrade operation for the added smart key, display a second prompt message, wherein the second prompt message is used to prompt the smart key to perform a second movement corresponding to the adding operation; the second movement is used to trigger the smart key to send a second Bluetooth broadcast message; After searching for the second Bluetooth broadcast information of the smart key, establishing a second Bluetooth connection with the smart key; The first state information of the smart key is obtained, and when the first state information satisfies a first preset condition, the obtained upgrade software package corresponding to the smart key is transmitted to the smart key via Bluetooth to upgrade the smart key.
5. The method according to claim 4, characterized in that The first status information of the smart key includes the remaining power of the smart key and / or the current software package version number of the smart key; The state information satisfies the first preset condition including that the remaining power of the smart key exceeds a preset power, and / or the current software package version number of the smart key is different from the version number of the upgrade software package.
6. The method according to claim 4, characterized in that The method further comprises: Determining an upgrade result of the smart key; When the upgrade result is an upgrade failure, in response to a retry operation, the second prompt information is re-displayed to re-establish the second Bluetooth connection with the smart key.
7. The method according to claim 6, characterized in that The method further comprises: When the upgrade result is an upgrade failure, the upgrade failure reason is obtained and upgrade failure prompt information is displayed. The upgrade failure prompt information includes the upgrade failure reason and / or strategy information for resolving the upgrade failure.
8. The method according to claim 4, characterized in that The upgrade software package corresponding to the smart key is obtained according to the following steps: After detecting an upgrade operation for the added smart key, requesting the server to obtain an upgrade software package corresponding to the smart key; or, After establishing a second Bluetooth connection with the smart key, a request is made to a server to obtain an upgrade software package corresponding to the smart key.
9. The method according to any one of claims 1 to 8, characterized in that After searching for the first Bluetooth broadcast information of the smart key, the method further includes: Determine the second state information of the terminal device, and obtain the third state information of the vehicle corresponding to the smart key; When the first state information and the third state information meet a second preset condition, establishing a first Bluetooth connection with the smart key; The second status information includes network status information, Bluetooth status information and the number of added keys; and the third status information includes network status information.
10. The method according to any one of claims 1 to 8, characterized in that The key information includes a key identification; The method further comprises: Sending a synchronization request carrying the key identifier to a server; the synchronization request is used to add the key identifier to a key whitelist of the corresponding vehicle stored in the server, and synchronize the key whitelist to the vehicle through the server; wherein the key identifier stored in the key whitelist is a key identifier with vehicle authority; A synchronous response fed back by the server is received.
11. An intelligent key management system, characterized in that: include: Terminal equipment and smart key, wherein, The smart key is configured to send a first Bluetooth broadcast message after detecting a first motion applied by a user; after establishing a first Bluetooth connection with the terminal device, transmit key information to the terminal device through the first Bluetooth connection; A terminal device is configured to respond to an adding operation for a smart key by displaying a first prompt message, wherein the first prompt message is used to prompt the smart key to perform a first movement corresponding to the adding operation; the first movement is used to trigger the smart key to send a first Bluetooth broadcast message; after searching for the first Bluetooth broadcast message of the smart key, establish a first Bluetooth connection with the smart key; receive key information transmitted by the smart key based on the first Bluetooth connection, and store the key information.
12. A computer program product, comprising a computer program, characterized in that When the computer program is executed, the steps of the smart key management method according to any one of claims 1 to 10 are implemented.
