Digital key control method and device, electronic equipment and medium

By scanning the broadcast information of BLE physical keys in time on the vehicle side and sharing the scanning task with multiple Bluetooth modules, the problem of slow connection between BLE physical keys on the vehicle side is solved, fast connection is achieved and user experience is improved.

CN119445707AActive Publication Date: 2025-02-14CHONGQING SELIS PHOENIX INTELLIGENT INNOVATION TECH CO LTD
View PDF 7 Cites 0 Cited by

Patent Information

Application Number
CN202411616208.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-11-13
Publication Date
2025-02-14
Estimated Expiration
2044-11-13

AI Technical Summary

Technical Problem

In the prior art, the vehicle-side digital key is slow to connect to the BLE physical key, which may not take effect in time when the user is at the car door.

Method used

The first Bluetooth module of the digital key and the second Bluetooth module of the at least one body anchor point scan the broadcast information sent by the BLE physical key in a time-sharing manner within the preset scanning period, and when the broadcast information is scanned, the broadcast information is respectively connected Or close the scan window to ensure a quick connection.

Benefits of technology

The speed of discovering BLE physical keys is improved, ensuring that they are discovered by the vehicle at one time when the broadcast information appears within the discoverable range, greatly improving the connection speed and improving the user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119445707A_ABST
    Figure CN119445707A_ABST
Patent Text Reader

Abstract

The invention relates to the field of vehicle key connection, in particular to a digital key control method and device, electronic equipment and a medium. The digital key control method comprises the steps that a first Bluetooth module of a digital key and a second Bluetooth module of at least one vehicle body anchor point are controlled to scan broadcast information sent by a BLE entity key in a preset scanning period in a time-sharing mode; under the condition that the first Bluetooth module scans the information, the first Bluetooth module is controlled to be connected with the BLE entity key; and under the condition that the at least one second Bluetooth module scans the broadcast information, controlling to close the scanning window until the scanning stopping time reaches a preset time interval, controlling the first Bluetooth module to scan the broadcast information within the preset scanning time, and under the condition that the first Bluetooth module scans the broadcast information within the preset scanning time, controlling to close the scanning window until the scanning stopping time reaches the preset time interval. And controlling the first Bluetooth module to be connected with the BLE entity key. According to the invention, quick connection between the digital key and the BLE entity key can be realized.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of vehicle key connection, 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, bracelets, and BLE physical keys are car keys, which are smart keys based on BLE connections. BLE physical keys are powered by batteries with small capacity and cannot be charged, so their power consumption needs to be reduced within a certain range, otherwise the physical keys will have to replace batteries frequently. Smart keys such as mobile phones, watches, and bracelets have large battery capacity and can be charged, so their power consumption does not restrict key performance.

[0003] According to the power consumption characteristics of Bluetooth broadcast and scanning, the BLE physical key generally sends connection broadcasts at a certain period, and the vehicle scans the broadcasts to connect, so as to reduce the power consumption of the physical key; while the mobile phone, watch, and bracelet key scan the vehicle broadcast, and the mobile phone, watch, and bracelet key create a Bluetooth connection. Before the Bluetooth connection between the BLE physical key and the vehicle is established, the Bluetooth module on the physical key sends the connection broadcast as a broadcaster, and the Bluetooth module on the vehicle scans the connection broadcast sent by the BLE physical key as a scanner.

[0004] During the Bluetooth connection process, the party responsible for scanning opens the scanning window period, and within the scanning window period, if the target broadcast is scanned, the connection with the target broadcast can be initiated; the Bluetooth module of the digital key control device on the vehicle side is responsible for sending broadcasts to be scanned by mobile phones, watches, and bracelet keys, and also for scanning broadcasts sent by BLE physical keys. In addition, under the requirement of multi-key connection, it is also responsible for broadcasting and scanning during Bluetooth communication. Therefore, the Bluetooth module of the digital key control device on the vehicle side cannot use 100% of the time slice to scan the Bluetooth broadcast of the BLE physical key, which may result in a slow connection establishment when the BLE physical key is close to the car, and may even cause the BLE physical key to still not take effect when the user reaches the car door.

[0005] In view of this, this application is hereby filed. Summary of the invention

[0006] The purpose of the present application is to provide a digital key control method, device, electronic device and medium to solve the problem of slow connection speed of vehicle-side digital key to BLE physical key in the prior art.

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

[0008] In a first aspect, the present application provides a digital key control method, which is applied to a vehicle side, comprising:

[0009] Controlling the first Bluetooth module of the digital key and the second Bluetooth module of at least one vehicle body anchor point to scan the broadcast information sent by the BLE physical key in a time-sharing manner within a preset scanning period;

[0010] When the first Bluetooth module scans the broadcast information, controlling the first Bluetooth module to connect with the BLE physical key;

[0011] When at least one of the second Bluetooth modules scans the broadcast information, the scanning window is controlled to be closed until the scanning stop time reaches a preset time interval, and the first Bluetooth module is controlled to scan the broadcast information within the preset scanning time. When the first Bluetooth module scans the broadcast information within the preset scanning time, the first Bluetooth module is controlled to connect with the BLE physical key.

[0012] In some technical solutions, before the first Bluetooth module controlling the digital key and the second Bluetooth module of at least one vehicle body anchor point time-sharingly scan the broadcast information sent by the BLE physical key within a preset scanning period, it also includes:

[0013] The preset scanning period is determined according to the BLE physical key broadcast period, the number of vehicle body anchor points, the first Bluetooth module scanning time of the digital key and the second Bluetooth module scanning time of the vehicle body anchor points.

[0014] In some technical solutions, before the first Bluetooth module controlling the digital key and the second Bluetooth module of at least one vehicle body anchor point time-sharingly scan the broadcast information sent by the BLE physical key within a preset scanning period, it also includes:

[0015] The first Bluetooth module controlling the digital key sends a synchronous timing broadcast message in the vehicle body anchor point network;

[0016] The second Bluetooth module controlling at least one vehicle body anchor point receives the synchronous timing broadcast message and starts timing synchronously.

[0017] In some technical solutions, the first Bluetooth module controlling the digital key and the second Bluetooth module of at least one vehicle body anchor point time-sharingly scan the broadcast information sent by the BLE physical key within a preset scanning period, including:

[0018] Control the first Bluetooth module of the digital key to open a scanning window, scan the broadcast information sent by the BLE physical key within the scanning time of the first Bluetooth module, and close the scanning window;

[0019] The second Bluetooth module of at least one vehicle body anchor point is controlled to open a scanning window, scan the broadcast information within the scanning time of the second Bluetooth module, and close the scanning window.

[0020] In some technical solutions, when the second Bluetooth module does not open a scanning window and does not have other tasks, the second Bluetooth module is controlled to sleep; when the second Bluetooth module does not open a scanning window and does have other tasks, the second Bluetooth module is controlled to perform other tasks.

[0021] In some technical solutions, when at least one of the second Bluetooth modules scans the broadcast information, controlling to close the scanning window until the scanning stop time reaches a preset time interval, controlling the first Bluetooth module to scan the broadcast information within a preset scanning time, and when the first Bluetooth module scans the broadcast information within the preset scanning time, controlling the first Bluetooth module to connect with the BLE physical key, including:

[0022] When at least one of the second Bluetooth modules scans the broadcast information, acquiring a notification message sent by the second Bluetooth module;

[0023] According to the notification message, the scanning window is controlled to be closed until the scanning stop time reaches a preset time interval, the first Bluetooth module is controlled to open the scanning window, and the broadcast information is scanned within the preset scanning time. When the first Bluetooth module scans the broadcast information within the preset scanning time, the first Bluetooth module is controlled to connect with the BLE physical key.

[0024] In some technical solutions, the preset scanning period is shorter than the BLE entity key broadcasting period, the preset time interval is shorter than the BLE entity key broadcasting period, and the preset scanning time is longer than the scanning time of the first Bluetooth module during the time-sharing scanning.

[0025] In a second aspect, the present application provides a digital key control device, comprising:

[0026] A time-sharing scanning module, used to control the first Bluetooth module of the digital key and the second Bluetooth module of at least one vehicle body anchor point to time-sharingly scan the broadcast information sent by the BLE physical key within a preset scanning period;

[0027] a connection module, configured to control the first Bluetooth module to connect with the BLE physical key when the first Bluetooth module scans the broadcast information;

[0028] When at least one of the second Bluetooth modules scans the broadcast information, the scanning window is controlled to be closed until the scanning stop time reaches a preset time interval, and the first Bluetooth module is controlled to scan the broadcast information within the preset scanning time. When the first Bluetooth module scans the broadcast information within the preset scanning time, the first Bluetooth module is controlled to connect with the BLE physical key.

[0029] In a third aspect, the present application provides an electronic device, including:

[0030] at least one processor, and a memory communicatively coupled to at least one of the processors;

[0031] 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.

[0032] In a fourth 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.

[0033] Compared with the prior art, the beneficial effects of this application are:

[0034] The digital key control method provided in the present application is applied to the vehicle side, including: controlling the first Bluetooth module of the digital key and the second Bluetooth module of at least one vehicle body anchor point to scan the broadcast information sent by the BLE physical key in a time-sharing manner within a preset scanning period; when the first Bluetooth module scans the broadcast information, controlling the first Bluetooth module to connect with the BEL physical key; when at least one of the second Bluetooth modules scans the broadcast information, controlling the closing of the scanning window until the scanning stop time reaches a preset time interval, controlling the first Bluetooth module to scan the broadcast information within the preset scanning time, and when the first Bluetooth module scans the broadcast information within the preset scanning time, controlling the first Bluetooth module to connect with the BEL physical key. The method first controls the first Bluetooth module and the second Bluetooth module to scan the broadcast information in a preset scanning cycle in time-sharing manner, and can distribute the scanning tasks that the first Bluetooth module cannot complete due to the execution of the broadcast sending task to the second Bluetooth module, so as to ensure that the broadcast information is discovered by the vehicle end at one time when it appears in the discoverable range, greatly improving the speed of discovering the BLE physical key. When the time-sharing scanning is performed in the preset scanning cycle, if the broadcast information is discovered by the first Bluetooth module, the first Bluetooth module is directly connected to the BLE physical key. If the broadcast information is discovered by the second Bluetooth module, the scanning is first controlled to stop, and when the stop scanning time reaches the preset time interval, the first Bluetooth module is controlled to scan the broadcast information within the preset scanning time, and the broadcast information will definitely be scanned within the preset scanning time. When the broadcast information is discovered by the first Bluetooth module, the first Bluetooth module is connected to the BLE physical key. The method makes full use of the Bluetooth scanning function of the vehicle body anchor point through time-sharing multiplexing, and realizes that the first Bluetooth module establishes a connection with the BLE physical key when the BLE physical key sends the broadcast information for the first or second time within the discoverable range without affecting other tasks or functions of each Bluetooth module on the vehicle end, and the connection speed is fast, which improves the user experience. BRIEF DESCRIPTION OF THE DRAWINGS

[0035] 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.

[0036] Figure 1 It is a flowchart of the digital key control method provided by this application;

[0037] Figure 2 It is a structural schematic diagram of the digital key control device provided by the present application;

[0038] Figure 3It is a structural schematic diagram of the electronic device provided by this application. DETAILED DESCRIPTION

[0039] 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.

[0040] As mentioned in the background technology, the existing technology has the problem that the digital key on the vehicle side cannot use 100% of the time segment to scan the Bluetooth broadcast of the BLE physical key, which may lead to a slow connection establishment when the BLE physical key is close to the car, and may even cause the BLE physical key to still not take effect when the user reaches the door. Based on the above problems, the present application controls the first Bluetooth module of the digital key and the second Bluetooth module of at least one vehicle body anchor point to scan the broadcast information sent by the BLE physical key in a time-sharing manner within a preset scanning period, and then connects according to different situations, thereby ensuring that the broadcast information is effectively captured within the period when the BLE physical key sends the broadcast information, achieving the effect of fast connection, and ensuring that the BLE physical key takes effect in a timely manner. The present application is further described in detail below in conjunction with the embodiments.

[0041] Example 1

[0042] Figure 1 It 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 body controller or a digital key controller. For ease of understanding, each step in the control method of this embodiment takes the digital key controller as the execution subject.

[0043] like Figure 1 As shown, this embodiment provides a digital key control method, which is applied to a vehicle end and includes the following steps:

[0044] S110, controlling the first Bluetooth module of the digital key and the second Bluetooth module of at least one vehicle body anchor point to scan the broadcast information sent by the BLE physical key in a time-sharing manner within a preset scanning period.

[0045] Among them, the "digital key" is a key integrated in the vehicle end, which can authorize wearable devices such as smartphones, NFC smart cards, smart watches, smart bracelets, or BLE physical keys to unlock the vehicle through communication technologies such as NFC, BLE or UWB. The first Bluetooth module contained in the digital key can realize sending broadcasts and scanning broadcasts. The "body anchor point" is a device arranged around the vehicle body for the vehicle end to obtain the electromagnetic wave field strength value of the BLE physical key positioning. The body anchor point can be 1, 2, 3 or 4, etc. The second Bluetooth module set on the body anchor point can scan and broadcast. "Time-sharing scanning" is time-sharing scanning, for example, the preset scanning cycle is divided into 5 time periods, the first Bluetooth module scans in the first time period, the second Bluetooth module of the second body anchor point scans in the second time period, the second Bluetooth module of the third body anchor point scans in the third time period, and the second Bluetooth module of the fourth body anchor point scans in the fourth time period. The "preset scanning period" can be set according to the BLE physical key broadcast period, as long as the BLE physical key broadcast period covers the preset scanning period, for example, it is equal to the BLE physical key broadcast period, or 1 / 2 or 1 / 5 of the BLE physical key broadcast period. The BLE physical key broadcast period is the period during which the BLE physical key sends broadcast information.

[0046] In an optional implementation, before controlling the first Bluetooth module of the digital key and the second Bluetooth module of at least one vehicle body anchor point to time-share scan the broadcast information sent by the BLE physical key within a preset scanning period, it also includes:

[0047] The preset scanning period is determined according to the BLE physical key broadcast period, the number of vehicle body anchor points, the first Bluetooth module scanning time of the digital key and the second Bluetooth module scanning time of the vehicle body anchor points.

[0048] This embodiment determines the preset scanning period based on the BLE physical key broadcast period, the number of vehicle body anchor points, the scanning time of the first Bluetooth module of the digital key and the scanning time of the second Bluetooth module of the vehicle body anchor point. The preset scanning period is more in line with actual use requirements. The BLE physical key broadcast period is the period for the BLE physical key to send broadcasts, such as 500ms. The number of vehicle body anchor points refers to the number of vehicle body anchor points used to scan the broadcast information sent by the BLE physical key, such as 2, 4, etc. If one or more anchor points of the vehicle body are not used to scan the broadcast information sent by the BLE physical key, they are not counted. The scanning time of the first Bluetooth module and the scanning time of the second Bluetooth module can be pre-configured or use the default scanning time of the Bluetooth module, such as 20ms or 30ms, etc., and can be the same or different. The scanning time can be as short as possible to reduce Bluetooth power consumption.

[0049] In some examples, if the BLE physical key broadcast cycle is 500ms, within 500ms, the BLE physical key can send a total of 3 broadcasts on 3 network channels (such as 37, 38, and 39 network channels, which are data signal transmission channels using wireless signals as transmission media) (the transmission time of each broadcast is approximately 0.6 to 1.2ms), the number of vehicle body anchor points is 4, the scanning time of the first Bluetooth module of the digital key is 20ms, and the scanning time of the second Bluetooth module of the vehicle body anchor point is 20ms, then the preset scanning cycle is 20+20*4=100ms, 100ms<500ms, which meets the scanning requirements. It can be seen that the BLE physical key broadcast cycle is mainly used to determine whether the preset scanning cycle is within its coverage range. If it is within the range, the preset scanning cycle can be used. If it is not within the range, it is necessary to adjust the scanning time of the two Bluetooth modules or adjust the number of vehicle body anchor points.

[0050] If the moment when each Bluetooth module opens the scanning window can be accurately controlled during the time-sharing scanning process, the interference of the results caused by repeated scanning can be reduced. Therefore, in an optional implementation of this embodiment, before the first Bluetooth module controlling the digital key and the second Bluetooth module of at least one vehicle body anchor point time-sharingly scan the broadcast information sent by the BLE physical key within the preset scanning period, it also includes: the first Bluetooth module controlling the digital key sends a synchronous timing broadcast message in the vehicle body anchor point network; the second Bluetooth module controlling at least one vehicle body anchor point receives the synchronous timing broadcast message and starts the timing synchronously. This implementation can achieve time synchronization between the first Bluetooth module and at least one second Bluetooth module. The vehicle body anchor point network includes CAN / LIN / Ethernet or other networks used for vehicle body communication.

[0051] In an optional implementation, controlling the first Bluetooth module of the digital key and the second Bluetooth module of at least one vehicle body anchor point to time-share scan the broadcast information sent by the BLE physical key within a preset scanning period includes:

[0052] Control the first Bluetooth module of the digital key to open a scanning window, scan the broadcast information sent by the BLE physical key within the scanning time of the first Bluetooth module, and close the scanning window;

[0053] The second Bluetooth module of at least one vehicle body anchor point is controlled to open a scanning window, scan broadcast information within the scanning time of the second Bluetooth module, and close the scanning window.

[0054] This implementation method realizes time-sharing scanning by controlling each Bluetooth module to open and close the scanning window, thereby improving the accuracy of time-sharing scanning and reducing resource waste.

[0055] Continuing with the above example, since there are 4 vehicle body anchor points, there are also 4 corresponding second Bluetooth modules. The first Bluetooth module opens the scanning window immediately after sending the synchronization timing message, and starts scanning the broadcast information sent by the BLE physical key. If the second Bluetooth module receives the synchronization timing broadcast message, the 4 second Bluetooth modules calculate the opening time of their respective scanning windows according to their respective numbers, T2=T1+anchor point number*t, where T2 is the opening time of a second Bluetooth module scanning window, T1 is the opening time of the first Bluetooth module scanning window, and t is the scanning time of the first Bluetooth module (equal to the scanning time of the second Bluetooth module). For example, if the opening time of the scanning window of the first Bluetooth module is 0, the opening time of the scanning window of the first second Bluetooth module is 20ms, the opening time of the scanning window of the second second Bluetooth module is 40ms, the opening time of the scanning window of the third second Bluetooth module is 60ms, and the opening time of the scanning window of the fourth second Bluetooth module is 80ms.

[0056] In an optional implementation, when the second Bluetooth module does not open the scanning window and does not have other tasks, the second Bluetooth module is controlled to sleep; when the second Bluetooth module does not open the scanning window and has other tasks, the second Bluetooth module is controlled to perform other tasks. This implementation can further reduce the energy consumption of the second Bluetooth module, and stop sleeping after opening the scanning window. Other tasks are tasks other than scanning the broadcast information sent by the BLE physical key.

[0057] S120: When the first Bluetooth module scans the broadcast information, control the first Bluetooth module to connect with the BLE physical key.

[0058] If the first Bluetooth module scans the broadcast information, the first Bluetooth module is controlled to connect with the BLE physical key, thereby achieving a one-time discovery and one-time connection effect.

[0059] S130. When at least one second Bluetooth module scans the broadcast information, control the closing of the scanning window until the scanning stop time reaches a preset time interval, control the first Bluetooth module to scan the broadcast information within the preset scanning time, and when the first Bluetooth module scans the broadcast information within the preset scanning time, control the first Bluetooth module to connect with the BLE physical key.

[0060] If the second Bluetooth module scans the broadcast information, it is necessary to close the scanning window, that is, during the closing period, the first Bluetooth module and the second Bluetooth module will no longer scan until the stop scanning time reaches the preset time interval. At this time, the BLE physical key will enter the next sending cycle. At this time, it is very likely to scan the broadcast information by controlling the first Bluetooth module within the preset scanning time. If it is scanned, the first Bluetooth module is controlled to connect with the BLE physical key, thereby achieving the effect of one scan and two connections. Since the preset scanning cycle and the preset time interval are not too long, a quick connection can be achieved. Among them, the preset time interval can be less than or equal to the BLE physical key broadcast cycle.

[0061] In an optional implementation, when at least one second Bluetooth module scans broadcast information, controlling to close the scanning window until the scanning stop time reaches a preset time interval, controlling the first Bluetooth module to scan the broadcast information within the preset scanning time, and when the first Bluetooth module scans the broadcast information within the preset scanning time, controlling the first Bluetooth module to connect to the BLE physical key, including:

[0062] When at least one second Bluetooth module scans the broadcast information, obtaining a notification message sent by the second Bluetooth module;

[0063] According to the notification message, the scanning window is controlled to be closed until the scanning stop time reaches the preset time interval, the first Bluetooth module is controlled to open the scanning window, and the broadcast information is scanned within the preset scanning time. When the first Bluetooth module scans the broadcast information within the preset scanning time, the first Bluetooth module is controlled to connect with the BLE physical key.

[0064] In this embodiment, when a second Bluetooth module scans broadcast information, the second Bluetooth module will automatically send a notification message (a notification message refers to a message used to inform the digital key that the Bluetooth module has scanned broadcast information, which can be sent in the form of a body message. The body message refers to a message sent through CAN / LIN / Ethernet or other communication network transmission methods, and the message content includes broadcast content, cycle, next broadcast time point and other information). Therefore, the notification message can be obtained, and then the scanning window can be closed according to the notification message until the scanning stop time reaches the preset time interval, and the first Bluetooth module is controlled to open the scanning window. This method realizes the accurate scanning of the broadcast information by the first Bluetooth module through the notification message and the control of closing or opening the scanning window, thereby improving the connection efficiency.

[0065] In an optional implementation, the preset scanning period is less than the BLE physical key broadcast period, the preset time interval is less than the BLE physical key broadcast period, and the preset scanning time is greater than the scanning time of the first Bluetooth module during time-sharing scanning. The preset scanning period in this implementation is less than the BLE physical key broadcast period, so that the BLE physical key broadcast period covers the preset scanning period to ensure that the broadcast information is scanned; the preset time interval is less than the BLE physical key broadcast period, so that the first Bluetooth module enters the scanning working state in advance to ensure that no broadcast information is missed; the preset scanning time is greater than the scanning time of the first Bluetooth module during time-sharing scanning to ensure that the broadcast information can be scanned.

[0066] In some examples, the preset scanning period is 100ms, the BLE physical key broadcast period is 500ms, the preset time interval is 480ms, and the preset scanning time is 50ms.

[0067] In an optional embodiment, the method further includes: when neither the first Bluetooth module nor the second Bluetooth module scans the broadcast information within the first preset scanning cycle, repeating the step of controlling the first Bluetooth module of the digital key and the second Bluetooth module of at least one vehicle body anchor point to scan the broadcast information sent by the BLE physical key in a time-sharing manner within the preset scanning cycle. If neither the first Bluetooth module nor the second Bluetooth module scans the broadcast information within the first preset scanning cycle, it means that there is no BLE physical key that can be connected to the vehicle side, or the BLE physical key has not entered the discoverable range, then the step S110 needs to be repeated in the subsequent preset scanning cycle so that the adapted BLE physical key can be promptly discovered and connected when it enters the discoverable range.

[0068] The above method first controls the first Bluetooth module and the second Bluetooth module to scan the broadcast information in a preset scanning cycle in time-sharing manner, and can distribute the scanning tasks that the first Bluetooth module cannot complete due to the execution of the broadcast sending task to the second Bluetooth module, so as to ensure that the broadcast information is discovered by the vehicle end at one time when it appears in the discoverable range, greatly improving the speed of discovering the BLE physical key. When the time-sharing scanning is performed in the preset scanning cycle, if the broadcast information is discovered by the first Bluetooth module, the first Bluetooth module is directly connected to the BLE physical key. If the broadcast information is discovered by the second Bluetooth module, the scanning is first controlled to stop, and when the stop scanning time reaches the preset time interval, the first Bluetooth module is controlled to scan the broadcast information within the preset scanning time. The broadcast information will definitely be scanned within the preset scanning time. When the broadcast information is discovered by the first Bluetooth module, the first Bluetooth module is connected to the BLE physical key. The method makes full use of the Bluetooth scanning function of the vehicle body anchor point through time-sharing multiplexing, and realizes that the first Bluetooth module establishes a connection with the BLE physical key when the BLE physical key sends the broadcast information for the first or second time within the discoverable range without affecting other tasks or functions of each Bluetooth module on the vehicle end, and the connection speed is fast, which improves the user experience.

[0069] Example 2

[0070] like Figure 2 As shown, this embodiment provides a digital key control device, including:

[0071] A time-sharing scanning module 201, used to control the first Bluetooth module of the digital key and the second Bluetooth module of at least one vehicle body anchor point to time-sharingly scan the broadcast information sent by the BLE physical key within a preset scanning period;

[0072] A connection module 202, configured to control the first Bluetooth module to connect with the BLE physical key when the first Bluetooth module scans the broadcast information;

[0073] When at least one second Bluetooth module scans the broadcast information, the scanning window is controlled to be closed until the scanning stop time reaches a preset time interval, and the first Bluetooth module is controlled to scan the broadcast information within the preset scanning time. When the first Bluetooth module scans the broadcast information within the preset scanning time, the first Bluetooth module is controlled to connect with the BLE physical key.

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

[0075] Example 3

[0076] like Figure 3 As shown, this embodiment provides an electronic device, including:

[0077] at least one processor; and

[0078] a memory communicatively connected to at least one processor; wherein,

[0079] The memory stores instructions that can be executed by at least one processor, and the instructions are executed by at least one processor so that at least one processor can 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.

[0080] Optionally, the electronic device also includes an interface for connecting various components, including a high-speed interface and a low-speed interface. Various components are interconnected 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 3 A processor 301 is taken as an example.

[0081] The memory 302 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 time-sharing scanning module and the connection module in the digital key control device). The processor 301 executes various functional applications and data processing of the device by running the software programs, instructions and modules stored in the memory 302, that is, realizing the above-mentioned digital key control method.

[0082] The memory 302 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 302 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 302 may further include a memory remotely arranged relative to the processor 301, 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.

[0083] The electronic device may further include: an input device 303 and an output device 304. The processor 301, the memory 302, the input device 303 and the output device 304 may be connected via a bus or other means. Figure 3 The example of connecting through bus is taken in the following.

[0084] The input device 303 can receive input digital or character information, and the output device 304 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.

[0085] Example 4

[0086] 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.

[0087] 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 that may be used by or in combination with an instruction execution system, device, or device.

[0088] 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.

[0089] 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.

[0090] Computer program code for performing the operations of the present application may 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 may 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 may be connected to the user's computer via any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., via the Internet using an Internet service provider).

[0091] 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.

[0092] 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 vehicle side, including: Controlling the first Bluetooth module of the digital key and the second Bluetooth module of at least one vehicle body anchor point to scan the broadcast information sent by the BLE physical key in a time-sharing manner within a preset scanning period; When the first Bluetooth module scans the broadcast information, controlling the first Bluetooth module to connect with the BLE physical key; When at least one of the second Bluetooth modules scans the broadcast information, the scanning window is controlled to be closed until the scanning stop time reaches a preset time interval, and the first Bluetooth module is controlled to scan the broadcast information within the preset scanning time. When the first Bluetooth module scans the broadcast information within the preset scanning time, the first Bluetooth module is controlled to connect with the BLE physical key.

2. The digital key control method according to claim 1, characterized in that: Before the first Bluetooth module controlling the digital key and the second Bluetooth module of at least one vehicle body anchor point time-sharingly scan the broadcast information sent by the BLE physical key within a preset scanning period, the method further includes: The preset scanning period is determined according to the BLE physical key broadcast period, the number of vehicle body anchor points, the first Bluetooth module scanning time of the digital key and the second Bluetooth module scanning time of the vehicle body anchor points.

3. The digital key control method according to claim 1, characterized in that: Before the first Bluetooth module controlling the digital key and the second Bluetooth module of at least one vehicle body anchor point time-sharingly scan the broadcast information sent by the BLE physical key within a preset scanning period, the method further includes: The first Bluetooth module controlling the digital key sends a synchronous timing broadcast message in the vehicle body anchor point network; The second Bluetooth module controlling at least one vehicle body anchor point receives the synchronous timing broadcast message and starts timing synchronously.

4. The digital key control method according to claim 1, characterized in that: The first Bluetooth module of the control digital key and the second Bluetooth module of at least one vehicle body anchor point time-sharingly scan the broadcast information sent by the BLE physical key within a preset scanning period, including: Control the first Bluetooth module of the digital key to open a scanning window, scan the broadcast information sent by the BLE physical key within the scanning time of the first Bluetooth module, and close the scanning window; The second Bluetooth module of at least one vehicle body anchor point is controlled to open a scanning window, scan the broadcast information within the scanning time of the second Bluetooth module, and close the scanning window.

5. The digital key control method according to claim 4, characterized in that: When the second Bluetooth module does not open a scanning window and does not have other tasks, control the second Bluetooth module to sleep; when the second Bluetooth module does not open a scanning window and does have other tasks, control the second Bluetooth module to execute other tasks.

6. The digital key control method according to claim 1, characterized in that: When at least one of the second Bluetooth modules scans the broadcast information, controlling to close the scanning window until the scanning stop time reaches a preset time interval, controlling the first Bluetooth module to scan the broadcast information within a preset scanning time, and when the first Bluetooth module scans the broadcast information within the preset scanning time, controlling the first Bluetooth module to connect with the BLE physical key, including: When at least one of the second Bluetooth modules scans the broadcast information, acquiring a notification message sent by the second Bluetooth module; According to the notification message, the scanning window is controlled to be closed until the scanning stop time reaches a preset time interval, the first Bluetooth module is controlled to open the scanning window, and the broadcast information is scanned within the preset scanning time. When the first Bluetooth module scans the broadcast information within the preset scanning time, the first Bluetooth module is controlled to connect with the BLE physical key.

7. The digital key control method according to claim 1, characterized in that: The preset scanning period is shorter than the BLE entity key broadcasting period, the preset time interval is shorter than the BLE entity key broadcasting period, and the preset scanning time is longer than the scanning time of the first Bluetooth module during the time-sharing scanning.

8. A digital key control device, characterized in that: include: A time-sharing scanning module, used to control the first Bluetooth module of the digital key and the second Bluetooth module of at least one vehicle body anchor point to time-sharingly scan the broadcast information sent by the BLE physical key within a preset scanning period; a connection module, configured to control the first Bluetooth module to connect with the BLE physical key when the first Bluetooth module scans the broadcast information; When at least one of the second Bluetooth modules scans the broadcast information, the scanning window is controlled to be closed until the scanning stop time reaches a preset time interval, and the first Bluetooth module is controlled to scan the broadcast information within the preset scanning time. When the first Bluetooth module scans the broadcast information within the preset scanning time, the first Bluetooth module is controlled to connect with 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 7.

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 7.

Citation Information

Patent Citations

  • Bluetooth connection method and device, storage medium and electronic equipment

    CN113382393A

  • Device discovery method, terminal device, communication network and storage medium

    CN115550899A

  • Communication method and device, computer equipment and storage medium

    CN115866762A

  • Communication connection method and related product

    CN118574099A

  • Communication connection control method and device

    CN118785089A