Digital key control method and device, electronic equipment and medium
By adjusting the broadcast interval and power in the Bluetooth module of the smart key and the vehicle end, the problems of slow connection speed and slow connection speed are solved, and fast connection and efficient reconnection are achieved.
Patent Information
- Application Number
- CN202411779801.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-05
- Publication Date
- 2025-02-28
- Estimated Expiration
- 2044-12-05
AI Technical Summary
The existing smart keys are slow to connect to the vehicle end, and the reconnection speed is also slower when the connection is disconnected.
The connection process is accelerated by introducing shorter broadcast intervals and higher broadcast power in the Bluetooth modules on the key and vehicle ends. When disconnected, the broadcast interval is further reduced to achieve rapid reconnection.
It realizes the quick connection between the smart key and the vehicle end and improves the connection success rate, and can quickly reconnect when disconnected, improving the overall user experience.
Smart Images

Figure CN119541090A_ABST
Abstract
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 of digital keys (NFC+BLE+UWB) has made great 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 bracelets are used as car keys, which are smart keys based on BLE connections. When a user approaches a vehicle with a smart key, the smart key needs to quickly establish a connection with the vehicle so that distance measurement can be performed and buttons can be used to unlock, lock, open or close the tailgate. However, existing smart keys are usually slow in establishing a connection with the vehicle, and cannot be quickly reconnected in time when a disconnection occurs.
[0003] In view of this, this application is hereby filed. Summary of the invention
[0004] The purpose of the present 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: In a first aspect, the present application provides a digital key control method, which is applied to a key end, comprising: In response to the scan reply information sent by the vehicle-side Bluetooth module, 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 larger than the initial broadcast power; In response to a connection request sent by the vehicle-side Bluetooth module, 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; In the case of disconnection, the key-end Bluetooth module is controlled to send a broadcast according to a second broadcast interval, where the second broadcast interval is smaller than the initial broadcast interval.
[0006] In some technical solutions, 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.
[0007] In some technical solutions, 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.
[0008] In some technical solutions, 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.
[0009] In a second aspect, the present application provides a digital key control method, which is applied to a vehicle side, including: In response to scanning the broadcast sent by the BLE physical key, send a scan reply message and a connection request; 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 broadcast sent by the BLE physical key.
[0010] In some technical solutions, the preset total number of times is determined in the following manner: The preset total number of times is determined according to 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.
[0011] In a third aspect, the present application provides a digital key control device, applied to a key end, comprising: A broadcast sending module, used to respond to the scan reply information sent by the vehicle-side Bluetooth module, and control the key-side Bluetooth module to send a 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 larger 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 a broadcast according to a second broadcast interval in the case of disconnection, and the second broadcast interval is smaller than the initial broadcast interval.
[0012] In a fourth aspect, the present application provides a digital key control device, which is applied to a vehicle, and includes: The scanning module is used to respond to the broadcast sent by the BLE physical key and send a scan reply message and a connection request; A connection request sending module, used to resend the connection request in case of a connection failure, until the connection is successful or the total number of connection requests sent meets a preset total number; The rescanning module 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.
[0013] In a fifth aspect, the present application provides an electronic device, including: at least one processor, and a memory communicatively coupled to at least one of the processors; 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 so that at least one of the processors can perform the above method.
[0014] In a sixth aspect, the present application provides a computer-readable storage medium, on which computer instructions are stored, and the computer instructions are used to enable a computer to execute the above method.
[0015] Compared with the prior art, the beneficial effects of this application are: 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, the method realizes the rapid 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, the method also realizes rapid reconnection by reducing the broadcast interval.
[0016] The digital key control method provided in the present application is applied to the vehicle side, including: responding to scanning the broadcast sent by the BLE physical key, 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 of connection failure after the total number of connection requests sent meets the preset total number, the vehicle-side Bluetooth module is controlled to rescan the broadcast sent by the BLE physical key; in the case of disconnection, the vehicle-side Bluetooth module is controlled to rescan the broadcast sent by the BLE physical key. This method corresponds to the control method applied to the key side, so it has at least the same technical effect, and this method also achieves fast connection by resending the connection request when the connection fails, without rescanning the key-side broadcast, which further speeds up the connection speed. BRIEF DESCRIPTION OF THE DRAWINGS
[0017] In order to more clearly illustrate the specific implementation methods of the present application or the technical solutions in the prior art, the drawings required for use in the specific implementation methods or the description of the prior art will be briefly introduced below. 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 paying any creative work.
[0018] Figure 1 is a flowchart of a digital key control method provided in Example 1 of the present application; Figure 2 is a flowchart of a digital key control method provided in Example 2 of the present application; Figure 3 is a structural schematic diagram of a digital key control device provided in Example 3 of the present application; Figure 4 is a structural schematic diagram of a digital key control device provided in Example 4 of the present application; Figure 5 It is a structural schematic diagram of the electronic device provided by this application. DETAILED DESCRIPTION
[0019] The following is a description of exemplary embodiments of the present application in conjunction with the accompanying drawings, including various details of the embodiments of the present application to facilitate understanding, which should be considered as merely exemplary. Therefore, it should be recognized by those of ordinary skill in the art that various changes and modifications can 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, the description of well-known functions and structures is omitted in the following description.
[0020] As mentioned in the background technology, the prior art has the problem of slow connection speed between the smart key and the vehicle end, and slow reconnection speed when disconnection occurs. In response to this, the present application improves the connection speed and connection success rate by reducing the broadcast interval and broadcast power of the key end after the vehicle end scans the broadcast information sent by the key end and after the key end receives the connection request sent by the vehicle end, and improves the reconnection speed by reducing the broadcast interval when disconnection occurs. The present application is further described in detail below in conjunction with the embodiments.
[0021] Example 1 Figure 1 This is a flow chart 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.
[0022] like Figure 1 As shown, this embodiment provides a digital key control method, comprising the following steps: S110, in response to the scan reply information sent by the vehicle-side Bluetooth module, 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 an initial broadcast interval, and the first broadcast power is greater than an initial broadcast power.
[0023] 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 Bluetooth module on the vehicle side scans the broadcast information, the vehicle side will automatically send a scan reply message (for example, in the form of a reply frame). When the key side receives the scan reply message, it controls the Bluetooth module on the key side 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 because 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.
[0024] In an optional implementation manner, 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.
[0025] Among them, "Battery initial power" is the power of the battery when it is fully charged. "Battery current power" is the battery power when sending broadcast information at the current moment.
[0026] Optionally, the first broadcast interval interval conn The calculation is done using the following formula: ,in, is the initial battery power, V is the current battery power, and interval is the initial broadcast interval.
[0027] In an optional implementation manner, 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.
[0028] The "preset increase ratio" refers to a preset ratio for increasing the initial broadcast power, which may be 1.5 or 2, for example.
[0029] 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.
[0030] S120, 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 connecting with the vehicle-side.
[0031] During the whole process from the scan reply message sent by the vehicle-side Bluetooth module to the successful connection between the key-side and the vehicle-side, the key-side Bluetooth module always broadcasts at the first broadcast interval and the first broadcast power to improve the connection speed. After the successful connection, the broadcast power can be restored to the initial broadcast power.
[0032] 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 smaller than the initial broadcast interval.
[0033] When the key is accidentally disconnected from the vehicle's Bluetooth, it is necessary to quickly reconnect to reduce the functional failure caused by the disconnection. At this time, the key broadcast interval needs to be adjusted to the second broadcast interval, and the broadcast power can still be the initial broadcast power. Because the owner is near the car at this time, to speed up the reconnection, just adjust the broadcast interval. If the broadcast power is increased, the connection will still be reestablished when the owner is too far away from the vehicle, which has no practical effect.
[0034] In an optional implementation manner, 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.
[0035] Among them, "Number of disconnections" refers to the total number of disconnections between the vehicle and the key in this connection cycle. This connection cycle is the period from the successful connection between the vehicle and the key to the vehicle locking. "Preset shortening ratio" refers to the preset ratio of shortening the initial broadcast interval, for example, it can be 0.5 or 0.7.
[0036] 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, 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.
[0037] 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 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 the rapid 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, the method also realizes rapid reconnection by reducing the broadcast interval.
[0038] Example 2 Figure 2 It 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.
[0039] like Figure 2 As shown, this embodiment provides a digital key control method, which is applied to a vehicle end and includes: S210 , in response to scanning the broadcast sent by the BLE physical key, sending a scan reply message and a connection request.
[0040] S220: In case of a connection failure, resend the connection request until the connection is successful or the total number of connection requests sent meets a preset total number of times.
[0041] In this embodiment, when the connection fails, the connection request needs to be resent, and there is no need to rescan the broadcast sent by the key, thereby shortening the connection time.
[0042] In an optional implementation manner, the preset total number of times is determined in the following manner: The preset total number of times is determined according to 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.
[0043] Among them, "Initial value of the number of times the connection request is sent" refers to the initial value of the number of times the vehicle is allowed to send connection requests during the current connection cycle, for example, 2 or 3. "Number of successful connections" refers to the total number of successful connections between the vehicle and the key. "Number of failed connections" refers to the total number of failed connections between the vehicle and the key. "Minimum value of the number of times the connection request is sent" refers to the minimum number of times the vehicle is allowed to send connection requests, which can be the same as the initial value of the number of times the connection request is sent, for example, 2 or 3.
[0044] 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 number of connection requests sent, N2 is the minimum number of connection requests sent, and m N The number of failed connection establishments, m Y is the number of successful connections. floor() represents the rounding 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 every time a connection fails to be established, the preset total number of times is increased by 1 based on the initial value of the number of connection requests sent, and every 10 successful connections are established, the preset total number of times is reduced by 1 based on the initial value of the number of connection requests sent, but it must be greater than or equal to the minimum number of connection requests sent.
[0045] S230: When the connection fails after the total number of connection requests is sent meets the preset total number, the vehicle-side Bluetooth module is controlled to rescan the broadcast sent by the BLE physical key.
[0046] 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.
[0047] S240: In case of disconnection, control the vehicle-side Bluetooth module to rescan the broadcast sent by the BLE physical key.
[0048] The above-mentioned digital key control method is applied to the vehicle side, including: responding to scanning the broadcast sent by the BLE physical key, 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 of connection failure after the total number of connection requests sent meets the preset total number, the vehicle-side Bluetooth module is controlled to rescan the broadcast sent by the BLE physical key; in the case of disconnection, the vehicle-side Bluetooth module is controlled to rescan the broadcast sent by the BLE physical key. This method corresponds to the control method applied to the key side, so it has at least the same technical effect, and this method also achieves fast connection by resending the connection request when the connection fails, without rescanning the key-side broadcast, which further speeds up the connection speed.
[0049] Example 3 like Figure 3 As shown, this embodiment provides a digital key control device, which is applied to a key end, and includes: The broadcast sending module 301 is used to respond to the scan reply information sent by the vehicle-side Bluetooth module, and control the key-side Bluetooth module to send a 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 larger than the initial broadcast power; The connection module 302 is used to respond to the 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 it is connected with the vehicle-side; The reconnection module 303 is used to control the key-end Bluetooth module to send a broadcast according to a second broadcast interval when the connection is disconnected, and the second broadcast interval is smaller than the initial broadcast interval.
[0050] 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.
[0051] Example 4 like Figure 4 As shown, this embodiment provides a digital key control device, which is applied to a vehicle end, and includes: The scanning module 401 is used to respond to the broadcast sent by the BLE physical key and send a scan reply message and a connection request; The connection request sending module 402 is used to resend the connection request in case of a connection failure until the connection is successful or the total number of connection requests sent meets a preset total number; 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.
[0052] 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.
[0053] Example 5 like Figure 5 As shown, this embodiment provides an electronic device, including: at least one processor; and a memory communicatively connected to at least one of the processors; wherein, The memory stores instructions executable 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. At least one processor in the electronic device can perform the above method, and thus has at least the same advantages as the above method.
[0054] 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 mainboard or installed in other ways as needed. The processor can process instructions executed in the electronic device, including instructions stored in or on a memory to display graphical information of a GUI (Graphical User Interface) on an external input / output device (such as a display device coupled to an interface). In other embodiments, if necessary, multiple processors can be used together with multiple memories, and / or multiple buses can be used together 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), and each device provides some necessary operations. Figure 5 A processor 501 is taken as an example.
[0055] The memory 502 is a computer-readable storage medium that can be used to store software programs, computer executable programs and modules, such as program instructions / modules corresponding to the digital key control method in the embodiment of the present application (for example, the broadcast transmission module, connection module, and reconnection module in the digital key control device). The processor 501 executes various functional applications and data processing of the device by running the software programs, instructions and modules stored in the memory 502, that is, realizing the above-mentioned digital key control method.
[0056] 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 according to 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 arranged 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.
[0057] 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 example of connecting through bus is taken in the following.
[0058] 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., LED), and a tactile feedback device (e.g., a vibration motor), etc. The display device can 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 can be a touch screen.
[0059] Example 6 This embodiment provides a computer-readable storage medium, on which computer instructions are stored, and the computer instructions are used to enable a computer to execute the above method. The computer instructions on the computer-readable storage medium are used to enable a computer to execute the above method, and thus have at least the same advantages as the above method.
[0060] The medium in this application may adopt 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 device, or any combination thereof. More specific examples of the medium (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, the medium may be any tangible medium containing or storing a program, which may be used by or in combination with an instruction execution system, device, or device.
[0061] Computer-readable signal media may include data signals propagated in baseband or as part of a carrier wave, which carry computer-readable program code. Such propagated data signals may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. Computer-readable signal media may also be any computer-readable medium other than a computer-readable storage medium, which may send, propagate, or transmit a program for use by or in conjunction with an instruction execution system, apparatus, or device.
[0062] The program code contained on the computer-readable medium can 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 above.
[0063] Computer program code for performing the operation 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" language or similar programming languages. The program code can be executed entirely on the user's computer, partially on the user's computer, as a separate software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In the case of 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., using an Internet service provider to connect through the Internet).
[0064] It should be understood that the various forms of processes shown above can be used to reorder, add or delete steps. For example, the steps recorded in this application can be executed in parallel, sequentially or in different orders, as long as the expected results of the technical solution disclosed in this application can be achieved, and this document is not limited here.
[0065] The above specific implementations do not constitute a limitation on the protection scope of this application. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions can be made according to design requirements and other factors. Any modifications, equivalent substitutions and improvements made within the spirit and principles of this application should be included in the protection scope of this application.
Claims
1. A digital key control method, characterized in that: Applied to the key end, including: In response to the scan reply information sent by the vehicle-side Bluetooth module, 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 larger than the initial broadcast power; In response to a connection request sent by the vehicle-side Bluetooth module, 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; In the case of disconnection, the key-end Bluetooth module is controlled to send a broadcast according to a second broadcast interval, where the second broadcast interval is smaller 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 the vehicle side, including: In response to scanning the broadcast sent by the BLE physical key, send a scan reply message and a connection request; 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 broadcast sent by the BLE physical key.
6. The digital key control method according to claim 5, characterized in that: The preset total number of times is determined in the following manner: The preset total number of times is determined according to 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.
7. A digital key control device, characterized in that: Applied to the key end, including: A broadcast sending module, used to respond to the scan reply information sent by the vehicle-side Bluetooth module, and control the key-side Bluetooth module to send a 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 larger 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 a broadcast according to a second broadcast interval in the case of disconnection, and the second broadcast interval is smaller than the initial broadcast interval.
8. 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 a scan reply message and a connection request; A connection request sending module, used to resend the connection request in case of a connection failure, until the connection is successful or the total number of connection requests sent meets a preset total number; The rescanning module 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.
9. An electronic device, characterized in that: include: at least one processor, and a memory communicatively coupled to at least one of the processors; The memory stores instructions executable by at least one of the processors, and the instructions are executed by at least one of the processors so that the at least one processor can execute the method according to any one of claims 1 to 6.
10. A computer-readable storage medium, characterized in that: The medium stores computer instructions, and the computer instructions are used to enable a computer to execute the method according to any one of claims 1 to 6.
Citation Information
Patent Citations
Electronic equipment positioning system, method and device
CN110753309A
Bluetooth key and vehicle connection method, vehicle Bluetooth system and Bluetooth key
CN113920615A
A receiver
WO2013153380A1