Digital key control method, device, electronic device and medium

By adjusting the broadcast interval and power of the Bluetooth module and the collaborative control method between the key and vehicle ends, the problems of slow connection speed between the smart key and the vehicle end and slow reconnection speed when disconnected are solved, and fast connection and reconnection are achieved.

CN119541090BActive Publication Date: 2025-09-19CHONGQING SELIS PHOENIX INTELLIGENT INNOVATION TECH CO LTD
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202411779801.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-12-05
Publication Date
2025-09-19
Estimated Expiration
2044-12-05

AI Technical Summary

Technical Problem

The existing smart key has a slow connection speed with the vehicle end and a slow reconnection speed when disconnected.

Method used

By adjusting the broadcast interval and power of the Bluetooth module on the key and vehicle sides respectively, the key side reduces the broadcast interval and power during the connection process, and further reduces the broadcast interval when disconnected; the vehicle side resends the connection request when the connection fails, and rescans the key side broadcast after success or reaching the preset number of times.

Benefits of technology

It realizes the fast connection between the smart key and the vehicle end and the fast reconnection after disconnection, improving the connection success rate and speed.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119541090B_ABST
    Figure CN119541090B_ABST
Patent Text Reader

Abstract

The present application relates to the field of digital keys for vehicles, and more specifically, to a digital key control method, device, electronic device and medium. The digital key control method is applied to the key side, including: responding to the scan reply information sent by the vehicle-side Bluetooth module, controlling the key-side Bluetooth module to broadcast according to the first broadcast interval and the first broadcast power, the first broadcast interval is less than the initial broadcast interval, and the first broadcast power is greater than the initial broadcast power; responding to the connection request sent by the vehicle-side Bluetooth module, controlling the key-side Bluetooth module to broadcast according to the first broadcast interval and the first broadcast power until it is connected to the vehicle side; in the event of disconnection, controlling the key-side Bluetooth module to broadcast according to the second broadcast interval, the second broadcast interval is less than the initial broadcast interval. The present application achieves a fast connection between the key and the vehicle side by reducing the broadcast interval and the broadcast power of the key, and achieves a fast reconnection by reducing the broadcast interval when the two are disconnected.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of vehicle digital keys, and more specifically, to a digital key control method, device, electronic device, and medium. Background Art

[0002] With the increasing popularity of digital car keys, the third-generation digital key (NFC+BLE+UWB) has made significant progress in smart cars. NFC stands for Near Field Communication, BLE stands for Bluetooth Low Energy, and UWB stands for Ultra-Wideband. Mobile phones, watches, and wristbands, acting as car keys, are smart keys based on BLE connectivity. When a user approaches a vehicle with a smart key, the key must quickly establish a connection to measure distance and enable key operations such as unlocking, locking, and opening / closing the tailgate. However, existing smart keys are typically slow to establish a connection with the vehicle and, if disconnected, cannot quickly reconnect.

[0003] In view of this, this application is hereby filed. Summary of the Invention

[0004] The purpose of this application is to provide a digital key control method, device, electronic device and medium to solve the problems existing in the prior art of slow connection speed between the smart key and the vehicle end and slow reconnection speed when disconnection occurs.

[0005] In order to achieve the above objectives, this application adopts the following technical solutions:

[0006] In a first aspect, the present application provides a digital key control method, applied to a key end, comprising:

[0007] In response to a scan reply message sent by the vehicle-side Bluetooth module, controlling the key-side Bluetooth module to broadcast according to a first broadcast interval and a first broadcast power, wherein the first broadcast interval is less than an initial broadcast interval, and the first broadcast power is greater than the initial broadcast power;

[0008] In response to a connection request sent by the vehicle-side Bluetooth module, controlling the key-side Bluetooth module to broadcast according to the first broadcast interval and the first broadcast power until the key is connected to the vehicle;

[0009] In the case of disconnection, the key-end Bluetooth module is controlled to send broadcasts according to a second broadcast interval, where the second broadcast interval is shorter than the initial broadcast interval.

[0010] In some technical solutions, the first broadcast interval is determined in the following manner:

[0011] A first broadcast interval is determined according to the initial battery power, the current battery power, and the initial broadcast interval.

[0012] In some technical solutions, the second broadcast interval is determined in the following manner:

[0013] The second broadcast interval is determined according to the number of disconnections, the preset shortening ratio, and the initial broadcast interval.

[0014] In some technical solutions, the first broadcast power is determined in the following manner:

[0015] The first broadcast power is determined according to the preset increase ratio and the initial broadcast power.

[0016] In a second aspect, the present application provides a digital key control method, which is applied to a vehicle, including:

[0017] In response to the broadcast sent by the BLE physical key, a scan reply message and a connection request are sent;

[0018] In case of connection failure, resend the connection request until the connection is successful or the total number of connection requests sent meets the preset total number;

[0019] If the connection fails after the total number of connection requests is satisfied, the vehicle-side Bluetooth module is controlled to rescan the broadcast sent by the BLE physical key;

[0020] In the event of a disconnection, the vehicle-side Bluetooth module is controlled to rescan the broadcasts sent by the BLE physical key.

[0021] In some technical solutions, the preset total number of times is determined in the following manner:

[0022] The preset total number of times is determined based on the initial value of the number of connection requests sent, the number of successful connection establishments, the number of failed connection establishments, and the minimum number of connection requests sent.

[0023] In a third aspect, the present application provides a digital key control device, which is applied to a key end and includes:

[0024] a broadcast sending module, configured to respond to a scan reply message sent by the vehicle-side Bluetooth module and control the key-side Bluetooth module to broadcast according to a first broadcast interval and a first broadcast power, wherein the first broadcast interval is smaller than the initial broadcast interval and the first broadcast power is greater than the initial broadcast power;

[0025] a connection module, configured to respond to a connection request sent by the vehicle-side Bluetooth module and control the key-side Bluetooth module to broadcast according to the first broadcast interval and the first broadcast power until the key-side Bluetooth module is connected to the vehicle;

[0026] The reconnection module is used to control the key-end Bluetooth module to send broadcasts according to a second broadcast interval in the case of disconnection, where the second broadcast interval is shorter than the initial broadcast interval.

[0027] In a fourth aspect, the present application provides a digital key control device, which is applied to a vehicle, and includes:

[0028] The scanning module is used to respond to the broadcast sent by the BLE physical key and send scan reply information and connection request;

[0029] A connection request sending module is used to resend the connection request in case of connection failure until the connection is successful or the total number of connection requests sent meets the preset total number;

[0030] The rescanning module is used to control the vehicle-side Bluetooth module to rescan the broadcast sent by the BLE physical key if the connection fails after the total number of connection requests sent meets the preset total number of times; in the case of disconnection, the vehicle-side Bluetooth module is controlled to rescan the broadcast sent by the BLE physical key.

[0031] In a fifth aspect, the present application provides an electronic device, comprising:

[0032] at least one processor, and a memory communicatively coupled to the at least one processor;

[0033] The memory stores instructions that can be executed by at least one of the processors, and the instructions are executed by at least one of the processors to enable at least one of the processors to perform the above method.

[0034] In a sixth aspect, the present application provides a computer-readable storage medium having computer instructions stored thereon, wherein the computer instructions are used to enable a computer to execute the above method.

[0035] Compared with the prior art, the present invention has the following advantages:

[0036] The digital key control method provided in the present application is applied to the key end, including: responding to the scan reply information sent by the vehicle-end Bluetooth module, controlling the key-end Bluetooth module to broadcast according to the first broadcast interval and the first broadcast power, the first broadcast interval is less than the initial broadcast interval, and the first broadcast power is greater than the initial broadcast power; responding to the connection request sent by the vehicle-end Bluetooth module, controlling the key-end Bluetooth module to broadcast according to the first broadcast interval and the first broadcast power until it is connected to the vehicle end; in the case of disconnection, controlling the key-end Bluetooth module to broadcast according to the second broadcast interval, the second broadcast interval is less than the initial broadcast interval. After the vehicle-end Bluetooth module scans the broadcast information of the key end and receives the connection request, this method realizes a fast connection between the smart key and the vehicle end and improves the connection success rate by reducing the broadcast interval and the broadcast power. When the two are disconnected, a fast reconnection is also achieved by reducing the broadcast interval.

[0037] The digital key control method provided in this application is applied to the vehicle side, including: responding to the broadcast sent by the BLE physical key by scanning, sending a scan reply message and a connection request; in the case of connection failure, resending the connection request until the connection is successful or the total number of connection requests sent meets the preset total number; in the case that the connection fails after the total number of connection requests sent meets the preset total number, controlling the vehicle-side Bluetooth module to rescan the broadcast sent by the BLE physical key; in the case of disconnection, controlling the vehicle-side Bluetooth module to rescan the broadcast sent by the BLE physical key. This method corresponds to the control method applied to the key side, and therefore has at least the same technical effect as it, and this method also achieves a quick connection by resending the connection request when the connection fails, without the need to rescan the key-side broadcast, further speeding up the connection speed. BRIEF DESCRIPTION OF THE DRAWINGS

[0038] In order to more clearly illustrate the specific implementation methods of the present application or the technical solutions in the prior art, the following is a brief introduction to the drawings required for use in the specific implementation methods or the description of the prior art. Obviously, the drawings described below are some implementation methods of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without any creative work.

[0039] Figure 1 This is a flow chart of the digital key control method provided in Example 1 of the present application;

[0040] Figure 2 This is a flow chart of the digital key control method provided in Example 2 of the present application;

[0041] Figure 3 This is a schematic diagram of the structure of the digital key control device provided in Example 3 of the present application;

[0042] Figure 4 This is a schematic diagram of the structure of the digital key control device provided in Example 4 of the present application;

[0043] Figure 5 It is a structural diagram of the electronic device provided in this application. DETAILED DESCRIPTION

[0044] The following description of exemplary embodiments of the present application is made in conjunction with the accompanying drawings, including various details of the embodiments of the present application to facilitate understanding. These details should be considered as merely exemplary. Therefore, those skilled in the art will recognize that various changes and modifications may be made to the embodiments described herein without departing from the scope and spirit of the present application. Similarly, for the sake of clarity and conciseness, descriptions of well-known functions and structures are omitted in the following description.

[0045] As mentioned in the background, existing technologies suffer from slow connection speeds between smart keys and vehicles, as well as slow reconnection speeds after disconnection. To address this, the present application improves connection speed and success rate by reducing the key's broadcast interval and power after the vehicle scans the key's broadcast information and receives the vehicle's connection request. Furthermore, reducing the broadcast interval improves reconnection speed in the event of a disconnection. This application is further described in detail below with reference to the following examples.

[0046] Example 1

[0047] Figure 1 This is a flowchart of a digital key control method provided in this embodiment. The method can be executed by a digital key control device. The device can be composed of software and / or hardware and is generally integrated in an electronic device. The electronic device can be a smart key. Each step in the control method of this embodiment is executed by the smart key.

[0048] like Figure 1 As shown, this embodiment provides a digital key control method, including the following steps:

[0049] S110 , in response to the scan reply information sent by the vehicle-side Bluetooth module, controlling the key-side Bluetooth module to broadcast according to a first broadcast interval and a first broadcast power, where the first broadcast interval is smaller than the initial broadcast interval, and the first broadcast power is greater than the initial broadcast power.

[0050] The Bluetooth module on the key side will send broadcast information at a certain broadcast interval (i.e., the initial broadcast interval in this application) and broadcast power (i.e., the initial broadcast power in this application). When the vehicle-side Bluetooth module scans the broadcast information, the vehicle side will automatically send a scan reply information (for example, in the form of a reply frame). When the key side receives the scan reply information, it controls the key-side Bluetooth module to broadcast according to the first broadcast interval and the first broadcast power. The broadcast information is the same as the broadcast information at the initial broadcast interval and the initial broadcast power, but since the broadcast interval and the broadcast power have been reduced, it is more conducive to the vehicle-side Bluetooth module to scan the broadcast information faster.

[0051] In an optional implementation manner, the first broadcast interval is determined in the following manner:

[0052] A first broadcast interval is determined according to the initial battery power, the current battery power, and the initial broadcast interval.

[0053] The "Battery Initial Level" is the level of power when the battery is fully charged, and the "Battery Current Level" is the level of power when the broadcast information is being sent.

[0054] Optionally, the first broadcast interval interval conn Use the following formula to calculate: ,in, is the initial battery charge, V is the current battery charge, and interval is the initial broadcast interval.

[0055] In an optional implementation manner, the first broadcast power is determined in the following manner:

[0056] The first broadcast power is determined according to the preset increase ratio and the initial broadcast power.

[0057] The "preset increase ratio" refers to a preset ratio for increasing the initial broadcast power, which may be 1.5 or 2, for example.

[0058] Optionally, the first broadcast power conn Use the following formula to calculate: power conn =k1·power nomal , where k1 is the preset increase ratio, power nomal is the initial broadcast power.

[0059] S120 , responding to a connection request sent by the vehicle-side Bluetooth module, controlling the key-side Bluetooth module to broadcast according to the first broadcast interval and the first broadcast power until the key-side Bluetooth module is connected to the vehicle.

[0060] During the entire process from the vehicle-side Bluetooth module sending a scan reply message to the key-side successfully connecting to the vehicle, the key-side Bluetooth module always broadcasts at the first broadcast interval and the first broadcast power to improve the overall connection speed. After a successful connection, the broadcast power can be restored to the initial broadcast power.

[0061] S130 . In case of disconnection, control the key-end Bluetooth module to send broadcasts according to a second broadcast interval, where the second broadcast interval is shorter than the initial broadcast interval.

[0062] If the key accidentally loses connection with the vehicle's Bluetooth, it needs to be reconnected quickly to reduce functional failures caused by the disconnection. In this case, the key broadcast interval should be adjusted to the second broadcast interval, and the broadcast power can still be the initial broadcast power. Because the owner is near the vehicle at this time, adjusting the broadcast interval to speed up the reconnection speed is sufficient. If the broadcast power is increased, the connection will still be reestablished when the owner is too far away from the vehicle, which is not practical.

[0063] In an optional implementation manner, the second broadcast interval is determined in the following manner:

[0064] The second broadcast interval is determined according to the number of disconnections, the preset shortening ratio, and the initial broadcast interval.

[0065] The "Number of Disconnections" refers to the total number of disconnections between the vehicle and key during the current connection cycle, which is the period from when the vehicle and key successfully connect to when the vehicle is locked. The "Preset Reduction Ratio" is a preset ratio by which the initial broadcast interval is shortened, for example, 0.5 or 0.7.

[0066] Optionally, the second broadcast interval interval disconn Use the following formula to calculate: interval disconn =interval*k2* , k2 is the preset shortening ratio, and n is the number of disconnections. For example, when k2 is 0.5 and n is 1, the interval disconn is 0.5interval, when k2 is 0.5 and n is 2, interval disconn The calculation method means that each time a connection is disconnected, the second broadcast interval is shortened by half of the previous broadcast interval.

[0067] The above-mentioned digital key control method is applied to the key end, including: responding to the scan reply information sent by the vehicle-end Bluetooth module, controlling the key-end Bluetooth module to broadcast according to the first broadcast interval and the first broadcast power, the first broadcast interval is less than the initial broadcast interval, and the first broadcast power is greater than the initial broadcast power; responding to the connection request sent by the vehicle-end Bluetooth module, controlling the key-end Bluetooth module to broadcast according to the first broadcast interval and the first broadcast power until it is connected to the vehicle end; in the event of disconnection, controlling the key-end Bluetooth module to broadcast according to the second broadcast interval, the second broadcast interval is less than the initial broadcast interval. After the vehicle-end Bluetooth module scans the key-end broadcast information and receives the connection request, this method reduces the broadcast interval and the broadcast power to achieve a fast connection between the smart key and the vehicle end and improve the connection success rate. When the two are disconnected, the broadcast interval is also reduced to achieve a fast reconnection.

[0068] Example 2

[0069] Figure 2 This is a flowchart of a digital key control method provided in this embodiment. The method can be executed by a digital key control device. The device can be composed of software and / or hardware and is generally integrated in an electronic device. The electronic device can be a body controller or a digital key controller. Each step in the control method of this embodiment is executed by the digital key controller.

[0070] like Figure 2 As shown, this embodiment provides a digital key control method, which is applied to a vehicle side, including:

[0071] S210 , in response to scanning the broadcast sent by the BLE physical key, sending a scan reply message and a connection request.

[0072] S220: If the connection fails, resend the connection request until the connection is successful or the total number of connection requests sent meets the preset total number.

[0073] In this embodiment, when a connection fails, a connection request needs to be resent, and there is no need to rescan the broadcast sent by the key, thereby shortening the connection time.

[0074] In an optional implementation, the preset total number of times is determined in the following manner:

[0075] The preset total number of times is determined based on the initial value of the number of connection requests sent, the number of successful connection establishments, the number of failed connection establishments, and the minimum number of connection requests sent.

[0076] The "Initial value of the number of connection requests sent" is the initial value of the number of connection requests allowed by the vehicle during the current connection cycle, for example, 2 or 3. The "Number of successful connection establishments" is the total number of successful connections between the vehicle and the key. The "Number of failed connection establishments" is the total number of failed connections between the vehicle and the key. The "Minimum value of the number of connection requests sent" is the minimum number of connection requests allowed by the vehicle, and can be the same as the initial value of the number of connection requests sent, for example, 2 or 3.

[0077] Optionally, the preset total number N is calculated using the following formula: N=N1+m N -floor(m Y / 10) and N≧N2, where N1 is the initial value of the number of connection requests sent, N2 is the minimum value of the number of connection requests sent, m N The number of failed connection establishment attempts, m Y is the number of successful connections, floor() represents the rounding down function, for example, when m Y When / 10 is 0.3, floor(m Y / 10) is 0, when m Y When / 10 is 1.3, floor(m Y / 10) is 1. This calculation method means that for every connection failure, the preset total number of times is increased by 1 based on the initial number of connection requests sent. For every 10 successful connection attempts, the preset total number of times is decreased by 1 based on the initial number of connection requests sent. However, the number of times the preset total number of times the connection request is sent must be greater than or equal to the minimum number of connection requests sent.

[0078] S230: If the connection fails after the total number of connection requests is sent meets the preset total number, control the vehicle-side Bluetooth module to rescan the broadcast sent by the BLE physical key.

[0079] If the total number of connection requests sent meets the preset total number and the connection still fails, it means that the key is far away from the vehicle and needs to be scanned again.

[0080] S240: In the event of a disconnection, control the vehicle-side Bluetooth module to rescan the broadcast sent by the BLE physical key.

[0081] The above-mentioned digital key control method is applied to the vehicle side, including: responding to scanning a broadcast sent by a BLE physical key, sending a scan reply message and a connection request; in the case of a connection failure, resending the connection request until the connection is successful or the total number of connection requests sent meets the preset total number; in the case that the connection fails after the total number of connection requests sent meets the preset total number, controlling the vehicle-side Bluetooth module to rescan the broadcast sent by the BLE physical key; in the case of a disconnection, controlling the vehicle-side Bluetooth module to rescan the broadcast sent by the BLE physical key. This method corresponds to the control method applied to the key side, and therefore has at least the same technical effect as it. In addition, this method also achieves a quick connection by resending the connection request when the connection fails, without the need to rescan the key-side broadcast, further speeding up the connection speed.

[0082] Example 3

[0083] like Figure 3 As shown, this embodiment provides a digital key control device, which is applied to a key end and includes:

[0084] The broadcast sending module 301 is configured to respond to the scan reply information sent by the vehicle-side Bluetooth module and control the key-side Bluetooth module to broadcast according to a first broadcast interval and a first broadcast power, wherein the first broadcast interval is smaller than the initial broadcast interval and the first broadcast power is greater than the initial broadcast power;

[0085] The connection module 302 is configured to respond to a connection request sent by the vehicle-side Bluetooth module and control the key-side Bluetooth module to broadcast according to the first broadcast interval and the first broadcast power until the key-side Bluetooth module is connected to the vehicle;

[0086] The reconnection module 303 is configured to control the key-end Bluetooth module to send a broadcast according to a second broadcast interval in the case of disconnection, where the second broadcast interval is shorter than the initial broadcast interval.

[0087] The device is used to execute the method in Example 1, and thus has at least functional modules and beneficial effects corresponding to the above method.

[0088] Example 4

[0089] like Figure 4 As shown, this embodiment provides a digital key control device, which is applied to a vehicle, including:

[0090] The scanning module 401 is used to respond to the broadcast sent by the BLE physical key by scanning and sending a scan reply message and a connection request;

[0091] The connection request sending module 402 is used to resend the connection request in case of connection failure until the connection is successful or the total number of connection requests sent meets a preset total number;

[0092] The rescan module 403 is used to control the vehicle-side Bluetooth module to rescan the broadcast sent by the BLE physical key when the connection fails after the total number of connection requests sent meets the preset total number of times; in the case of disconnection, the vehicle-side Bluetooth module is controlled to rescan the broadcast sent by the BLE physical key.

[0093] The device is used to execute the method in Example 2, and thus has at least functional modules and beneficial effects corresponding to the above method.

[0094] Example 5

[0095] like Figure 5 As shown, this embodiment provides an electronic device, including:

[0096] at least one processor; and

[0097] a memory communicatively connected to at least one of the processors; wherein,

[0098] The memory stores instructions executable by at least one processor, and the instructions are executed by at least one processor to enable at least one processor to perform the above method. The at least one processor in the electronic device is capable of performing the above method, thereby having at least the same advantages as the above method.

[0099] Optionally, the electronic device also includes interfaces for connecting various components, including high-speed interfaces and low-speed interfaces. The various components are connected to each other using different buses and can be installed on a common motherboard or installed in other ways as needed. The processor can process instructions executed in the electronic device, including instructions stored in or on the memory to display graphical information of a GUI (Graphical User Interface) on an external input / output device (such as a display device coupled to the interface). In other embodiments, if necessary, multiple processors can be used with multiple memories, and / or multiple buses can be used with multiple memories. Similarly, multiple electronic devices can be connected (for example, as a server array, a group of blade servers, or a multi-processor system), with each device providing part of the necessary operations. Figure 5 A processor 501 is taken as an example.

[0100] Memory 502, as a computer-readable storage medium, can be used to store software programs, computer-executable programs, and modules, such as the program instructions / modules corresponding to the digital key control method in the embodiments of this application (for example, the broadcast transmission module, connection module, and reconnection module in the digital key control device). Processor 501 executes the software programs, instructions, and modules stored in memory 502 to execute various functional applications and data processing of the device, thereby implementing the aforementioned digital key control method.

[0101] The memory 502 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system and at least one application required for a function; the data storage area may store data created based on the use of the terminal, etc. In addition, the memory 502 may include a high-speed random access memory and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, or other non-volatile solid-state storage device. In some instances, the memory 502 may further include a memory remotely located relative to the processor 501, and these remote memories may be connected to the device via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.

[0102] The electronic device may further include: an input device 503 and an output device 504. The processor 501, the memory 502, the input device 503 and the output device 504 may be connected via a bus or other means. Figure 5 The bus connection is taken as an example.

[0103] The input device 503 can receive input digital or character information, and the output device 504 can include a display device, an auxiliary lighting device (e.g., an LED), a tactile feedback device (e.g., a vibration motor), etc. The display device may include, but is not limited to, a liquid crystal display (LCD), a light-emitting diode (LED) display, and a plasma display. In some embodiments, the display device may be a touch screen.

[0104] Example 6

[0105] This embodiment provides a computer-readable storage medium having computer instructions stored thereon, the computer instructions being used to cause a computer to execute the above method. The computer instructions on the computer-readable storage medium are used to cause a computer to execute the above method, thereby having at least the same advantages as the above method.

[0106] The medium in this application may be any combination of one or more computer-readable media. The medium may be a computer-readable signal medium or a computer-readable storage medium. The medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or component, or any combination thereof. More specific examples of media (a non-exhaustive list) include: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination thereof. In this document, a medium may be any tangible medium containing or storing a program that can be used by or in combination with an instruction execution system, device or device.

[0107] A computer-readable signal medium may include a data signal propagated in baseband or as part of a carrier wave, which carries computer-readable program code. Such propagated data signals may take various forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination thereof. A computer-readable signal medium may also be any computer-readable medium other than a computer-readable storage medium that can transmit, propagate, or transport a program for use by or in conjunction with an instruction execution system, apparatus, or device.

[0108] The program code contained on the computer-readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wire, optical cable, RF (Radio Frequency), etc., or any suitable combination of the foregoing.

[0109] Computer program code for performing the operations of the present application can be written in one or more programming languages, or a combination thereof, including object-oriented programming languages ​​such as Java, Smalltalk, C++, and conventional procedural programming languages ​​such as "C" or similar programming languages. The program code can be executed entirely on the user's computer, partially on the user's computer, as a stand-alone software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In cases involving a remote computer, the remote computer can be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or can be connected to an external computer (e.g., through the Internet using an Internet service provider).

[0110] It should be understood that the various forms of the processes shown above can be used to reorder, add, or delete steps. For example, the steps described in this application can be performed in parallel, sequentially, or in a different order, as long as the desired results of the technical solutions disclosed in this application can be achieved. This is not a limitation herein.

[0111] The above specific embodiments do not constitute a limitation on the scope of protection of this application. Those skilled in the art will appreciate that various modifications, combinations, sub-combinations, and substitutions may be made based on design requirements and other factors. Any modifications, equivalent substitutions, and improvements made within the spirit and principles of this application shall be included within the scope of protection of this application.

Claims

1. A digital key control method, characterized in that: Applied to key end, including: In response to a scan reply message sent by the vehicle-side Bluetooth module, controlling the key-side Bluetooth module to broadcast according to a first broadcast interval and a first broadcast power, wherein the first broadcast interval is less than an initial broadcast interval, and the first broadcast power is greater than the initial broadcast power; In response to a connection request sent by the vehicle-side Bluetooth module, controlling the key-side Bluetooth module to broadcast according to the first broadcast interval and the first broadcast power until the key is connected to the vehicle; In the case of disconnection, the key-end Bluetooth module is controlled to send broadcasts according to a second broadcast interval, which is shorter than the initial broadcast interval.

2. The digital key control method according to claim 1, characterized in that: The first broadcast interval is determined in the following manner: A first broadcast interval is determined according to the initial battery power, the current battery power, and the initial broadcast interval.

3. The digital key control method according to claim 1, characterized in that: The second broadcast interval is determined in the following manner: The second broadcast interval is determined according to the number of disconnections, the preset shortening ratio, and the initial broadcast interval.

4. The digital key control method according to claim 1, characterized in that: The first broadcast power is determined in the following manner: The first broadcast power is determined according to the preset increase ratio and the initial broadcast power.

5. A digital key control method, characterized in that: Applied to vehicle side, including: In response to the broadcast sent by the BLE physical key, a scan reply message and a connection request are sent; In case of connection failure, resend the connection request until the connection is successful or the total number of connection requests sent meets the preset total number; If the connection fails after the total number of connection requests is satisfied, the vehicle-side Bluetooth module is controlled to rescan the broadcast sent by the BLE physical key; In case of disconnection, control the vehicle-side Bluetooth module to rescan the broadcasts sent by the BLE physical key; The preset total number of times is determined in the following manner: The preset total number of times is determined based on the initial value of the number of connection requests sent, the number of successful connection establishments, the number of failed connection establishments, and the minimum number of connection requests sent.

6. A digital key control device, characterized in that: Applied to key end, including: a broadcast sending module, configured to respond to a scan reply message sent by the vehicle-side Bluetooth module and control the key-side Bluetooth module to broadcast according to a first broadcast interval and a first broadcast power, wherein the first broadcast interval is smaller than the initial broadcast interval and the first broadcast power is greater than the initial broadcast power; a connection module, configured to respond to a connection request sent by the vehicle-side Bluetooth module and control the key-side Bluetooth module to broadcast according to the first broadcast interval and the first broadcast power until the key-side Bluetooth module is connected to the vehicle; The reconnection module is used to control the key-end Bluetooth module to send broadcasts according to a second broadcast interval in the case of disconnection, where the second broadcast interval is shorter than the initial broadcast interval.

7. A digital key control device, characterized in that: Applied to the vehicle side, including: The scanning module is used to respond to the broadcast sent by the BLE physical key and send scan reply information and connection request; A connection request sending module is used to resend the connection request in case of connection failure until the connection is successful or the total number of connection requests sent meets the preset total number; A rescanning module is used to control the vehicle-side Bluetooth module to rescan the broadcast sent by the BLE physical key if the total number of connection requests sent meets the preset total number of times and the connection still fails; in the case of disconnection, control the vehicle-side Bluetooth module to rescan the broadcast sent by the BLE physical key; The preset total number of times is determined in the following manner: The preset total number of times is determined based on the initial value of the number of connection requests sent, the number of successful connection establishments, the number of failed connection establishments, and the minimum number of connection requests sent.

8. An electronic device, characterized in that: include: at least one processor, and a memory communicatively coupled to the at least one processor; The memory stores instructions that can be executed by at least one of the processors, and the instructions are executed by at least one of the processors to enable the at least one processor to execute the method according to any one of claims 1 to 5.

9. A computer-readable storage medium, characterized in that The medium stores computer instructions, which are used to enable a computer to execute the method according to any one of claims 1 to 5.

Citation Information

Patent Citations

  • Bluetooth key and vehicle connection method, vehicle Bluetooth system and Bluetooth key

    CN113920615A