A BLE connection roaming method, electronic device, vehicle and mobile terminal
By scoring roaming targets and enabling seamless roaming switching for Bluetooth nodes, the problem of Bluetooth node signal strength being affected by obstruction has been solved, improving the accuracy and security of vehicle unlocking.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- BYD CO LTD
- Filing Date
- 2024-04-29
- Publication Date
- 2026-08-04
AI Technical Summary
Bluetooth node signal strength is affected by obstruction, leading to signal attenuation and inaccurate distance judgment, which affects the accuracy and security of vehicle unlocking.
After establishing a BLE connection between the mobile terminal and the Bluetooth node, each Bluetooth node is scored as a roaming target. The scoring items include signal strength, channel quality, behavioral intention, and historical roaming records. The Bluetooth node with the highest score is selected as the target roaming node, and a seamless roaming handover is performed.
Stable connections between Bluetooth nodes were achieved, improving the positioning accuracy between the vehicle and the mobile terminal and the security of vehicle unlocking.
Smart Images

Figure CN118354294B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of automotive digital keys, and more specifically to a BLE connection roaming method, electronic device, vehicle, and mobile terminal. Background Technology
[0002] With the development of vehicle electrification and intelligence, using Bluetooth technology for vehicle unlocking has become one of the main methods. Currently, the way to unlock a vehicle using Bluetooth technology is to install a Bluetooth node on the vehicle body and establish a BLE connection based on the signal strength RSSI of the Bluetooth node.
[0003] However, the Bluetooth node is affected by the obstruction of the vehicle, causing signal attenuation. This affects the signal strength of the Bluetooth node and the stability of the connection between the Bluetooth node and the terminal. Furthermore, the signal attenuation decreases non-linearly with distance, which leads to inaccurate distance judgment between the Bluetooth node and the terminal. Consequently, the accuracy and security of the vehicle unlocking location cannot meet user needs. Summary of the Invention
[0004] The summary section introduces a series of simplified concepts, which will be further explained in detail in the detailed description section. The summary section of this invention is not intended to limit the key features and essential technical features of the claimed technical solution, nor is it intended to determine the scope of protection of the claimed technical solution.
[0005] This invention provides a BLE connection roaming method, comprising: when a mobile terminal has established a BLE connection with a first Bluetooth node, performing a roaming target scoring on a second Bluetooth node, the roaming target scoring including multiple scoring items; scoring the scoring items to determine the Bluetooth node with the highest score in each scoring item; when the number of items in which the second Bluetooth node is the highest-scoring Bluetooth node exceeds a preset threshold, determining the second Bluetooth node as a target roaming Bluetooth node; and switching the BLE connection roaming between the mobile terminal and the first Bluetooth node to a BLE connection between the mobile terminal and the target roaming Bluetooth node.
[0006] For example, the multiple scoring items include at least three of the following scores: signal strength score, channel quality score, behavioral intention score, and historical roaming record score.
[0007] For example, determining the second Bluetooth node as a target roaming Bluetooth node when the number of items in which the second Bluetooth node is the highest-scoring Bluetooth node exceeds a preset threshold includes: determining the second Bluetooth node as a target roaming Bluetooth node when the number of items in which the second Bluetooth node is the highest-scoring Bluetooth node exceeds 70% of the number of roaming target scoring items.
[0008] For example, when the signal strength score is included in the scoring items, scoring the scoring items includes: obtaining the signal strength between the mobile terminal and each Bluetooth node; when the signal strength between the mobile terminal and the second Bluetooth node is greater than the signal strength between the mobile terminal and other Bluetooth nodes, the second Bluetooth node scores a point, and the other Bluetooth nodes do not score a point.
[0009] For example, when the channel quality score is included in the scoring item, scoring the scoring item includes: obtaining the channel quality between the mobile terminal and each Bluetooth node; when the channel quality between the mobile terminal and the second Bluetooth node is better than the channel quality between the mobile terminal and other Bluetooth nodes, the second Bluetooth node scores a point, and the other Bluetooth nodes do not score a point.
[0010] For example, when the scoring item includes the behavioral intention score, scoring the scoring item includes: obtaining the inertia parameters of the mobile terminal; determining the inertia probability of each blue node based on the inertia parameters; when the inertia probability of the second Bluetooth node is higher than the inertia probabilities of the other Bluetooth nodes, the second Bluetooth node scores a point, and the other Bluetooth nodes do not score a point.
[0011] For example, obtaining the inertial parameters of the mobile terminal includes: determining the inertial parameters of the mobile terminal through multiple calibration processes based on the changes in the mobile terminal's motion speed and the changes in the signal strength between the mobile terminal and the Bluetooth node.
[0012] For example, when the historical roaming record score is included in the scoring item, the scoring of the scoring item includes: obtaining the historical roaming count of each Bluetooth node; when the historical roaming count of the second Bluetooth node is less than that of other Bluetooth nodes, the second Bluetooth node scores a score, and the other Bluetooth nodes do not score a score.
[0013] For example, the Bluetooth nodes are connected to each other in communication.
[0014] The present invention also provides an electronic device, the electronic device comprising:
[0015] The memory, the processor, and the computer program stored on the memory and running on the processor, wherein the processor, when executing the computer program, implements the BLE connection roaming method as described above.
[0016] The present invention also provides a vehicle comprising at least two Bluetooth nodes and the electronic devices described above.
[0017] The present invention also provides a mobile terminal, including the electronic device described above.
[0018] According to the BLE connection roaming method, electronic device, vehicle, and mobile terminal provided by the present invention, after the mobile terminal establishes a BLE connection with a Bluetooth node, roaming target scoring is performed on each Bluetooth node. When the number of items in which the second Bluetooth node has the highest score exceeds a preset threshold, it is designated as the target roaming Bluetooth node. The BLE connection roaming between the mobile terminal and the original Bluetooth node is switched to the BLE connection between the mobile terminal and the target roaming Bluetooth node. This not only achieves seamless roaming switching between Bluetooth nodes and ensures the connection stability between the mobile terminal and the Bluetooth node, but also improves the positioning accuracy between the vehicle and the mobile terminal and enhances the security of vehicle unlocking. Attached Figure Description
[0019] The following drawings, which are incorporated herein by reference as part of this invention, are provided for understanding the invention. The drawings illustrate embodiments of the invention and their descriptions, serving to explain the principles of the invention.
[0020] In the attached image:
[0021] Figure 1 A flowchart of a BLE connection roaming method according to an embodiment of the present invention is shown;
[0022] Figures 2A-2E A schematic diagram showing the connection between a mobile terminal and various Bluetooth nodes according to an embodiment of the present invention is shown;
[0023] Figure 3 A flowchart of the roaming target scoring method according to an embodiment of the present invention is shown;
[0024] Figure 4 A flowchart illustrating data interaction between Bluetooth nodes according to an embodiment of the present invention is shown;
[0025] Figure 5 A flowchart of the data calibration process according to an embodiment of the present invention is shown;
[0026] Figure 6 A schematic block diagram of an electronic device according to an embodiment of the present invention is shown. Detailed Implementation
[0027] In the following description, numerous specific details are set forth in order to provide a more thorough understanding of the invention. However, it will be apparent to those skilled in the art that the invention can be practiced without one or more of these details. In other instances, certain technical features well-known in the art have not been described in order to avoid obscuring the invention.
[0028] It should be understood that the invention can be embodied in various forms and should not be construed as being limited to the embodiments set forth herein. Rather, providing these embodiments will make the disclosure thorough and complete, and will fully convey the scope of the invention to those skilled in the art. In the drawings, for clarity, the dimensions and relative dimensions of layers and regions may be exaggerated. The same reference numerals denote the same elements throughout.
[0029] The terminology used herein is for the purpose of describing particular embodiments only and is not intended to limit the invention. When used herein, the singular forms “a,” “an,” and “the” are also intended to include the plural forms unless the context clearly indicates otherwise. It should also be understood that the terms “comprising” and / or “including,” when used in this specification, identify the presence of the stated features, integers, steps, operations, elements, and / or components, but do not exclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and / or groups. When used herein, the term “and / or” includes any and all combinations of the associated listed items.
[0030] To fully understand this invention, detailed steps and structures will be presented in the following description to illustrate the technical solution proposed by this invention. Preferred embodiments of the invention are described in detail below; however, in addition to these detailed descriptions, the invention may have other embodiments.
[0031] Figure 1 A schematic flowchart of a BLE connection roaming method according to an embodiment of the present invention is shown.
[0032] Specifically, a BLE connection roaming method 100 according to an embodiment of the present invention includes:
[0033] Step S110: If the mobile terminal has established a BLE connection with the first Bluetooth node, perform a roaming target rating on the second Bluetooth node. The roaming target rating includes multiple rating items.
[0034] Step S120: Score the scoring items and determine the Bluetooth node with the highest score in each scoring item;
[0035] Step S130: When the number of items in which the second Bluetooth node is the highest-scoring Bluetooth node exceeds a preset threshold, the second Bluetooth node is determined to be the target roaming Bluetooth node;
[0036] Step S140: Switch the BLE connection roaming between the mobile terminal and the first Bluetooth node to a BLE connection between the mobile terminal and the target roaming Bluetooth node.
[0037] The following is a combination of... Figures 2A-2EThis describes the arrangement of Bluetooth nodes on a vehicle according to an embodiment of the present invention. Exemplarily, the vehicle includes at least two Bluetooth nodes. In one embodiment, such as... Figures 2A-2E As shown, Bluetooth nodes located inside the vehicle typically include one node, such as Bluetooth node Anchor_0 located on the inner side of the roof or in the Body Control Module (BCM). Bluetooth nodes located on the outer side of the vehicle typically include multiple nodes. For example, Bluetooth node Anchor_1 is located in the left rearview mirror, with the antenna tilted backward to ensure the signal is not obstructed in the left front door; Bluetooth node Anchor_2 is located in the right rearview mirror, with the antenna tilted backward to ensure the signal is not obstructed in the right front door; Bluetooth node Anchor_3 is located in the right rear door handle, with the antenna facing outward; Bluetooth node Anchor_4 is located in the left rear door handle, with the antenna facing outward; Bluetooth node Anchor_5 is located in the rear bumper to ensure the signal is not obstructed in the rear direction. Furthermore, Bluetooth nodes on the outer side of the vehicle may also include Bluetooth nodes located in the front bumper (not shown), Bluetooth nodes located on the outer side of the roof (not shown), etc., and this application does not limit this. Furthermore, the vehicle's Bluetooth nodes are interconnected, for example, via the vehicle's CAN bus.
[0038] In step S110, establishing a BLE connection between the mobile terminal and the first Bluetooth node includes: acquiring the signal strength between the mobile terminal and each Bluetooth node; when the signal strength between the mobile terminal and the first Bluetooth node is greater than the signal strength between the mobile terminal and other Bluetooth nodes, the mobile terminal establishes a BLE connection with the first Bluetooth node.
[0039] In one embodiment, such as Figure 2A As shown, before the mobile terminal establishes a BLE connection with one of the Bluetooth nodes in the vehicle, at least one Bluetooth node broadcasts a signal to the mobile terminal. Typically, Bluetooth nodes Anchor_1, Anchor_2, Anchor_3, Anchor_4, and Anchor_5, located outside the vehicle, are all in broadcast mode, sending broadcast signals outwards. This greatly increases the probability of the mobile terminal finding the Bluetooth node and extends the connection distance of the mobile terminal. Bluetooth node Anchor_0, located inside the vehicle, may or may not send broadcast signals; this application does not impose any restrictions on this.
[0040] In one embodiment, such as Figure 2AAs shown, when the mobile terminal scans Bluetooth nodes Anchor_0, Anchor_1, Anchor_2, Anchor_3, and Anchor_4, it further compares the RSSI of each Bluetooth node. When the RSSI of Bluetooth node Anchor_2 is greater than that of the other Bluetooth nodes, the mobile terminal selects the Bluetooth node Anchor_2 with the strongest RSSI as the target device and initiates a BLE connection request. Bluetooth node Anchor_2 and the mobile terminal successfully establish a BLE connection. Figure 2A As shown.
[0041] In embodiments of the present invention, a security authentication mechanism is added. After a mobile terminal establishes a BLE connection with a Bluetooth node, authentication is required, and data encryption is performed to prevent relay attacks and improve vehicle unlocking security. If authentication fails or no authentication request is received from the mobile terminal within a specified time (e.g., 15 seconds), the current BLE connection is disconnected, releasing link resources to ensure that a valid terminal can connect to the Bluetooth node. Once a Bluetooth node successfully connects to the mobile terminal, other Bluetooth nodes cease broadcasting and enter sleep mode, reducing vehicle power consumption. Furthermore, the mobile terminal stops Bluetooth scanning, further reducing its power consumption and extending standby time.
[0042] With the mobile terminal having established a BLE connection with the first Bluetooth node, a roaming target score is performed on the second Bluetooth node. This roaming target score includes multiple scoring items. Further, the multiple scoring items include at least three of the following: signal strength score, channel quality score, behavioral intention score, and historical roaming record score.
[0043] Next, step S120 is performed to score the scoring items and determine the Bluetooth node with the highest score in each scoring item.
[0044] For example, when the signal strength score is included in the scoring items, scoring the scoring items includes: obtaining the signal strength between the mobile terminal and each Bluetooth node; when the signal strength between the mobile terminal and the second Bluetooth node is greater than the signal strength between the mobile terminal and other Bluetooth nodes, the second Bluetooth node scores a point, and the other Bluetooth nodes do not score a point.
[0045] In one embodiment, after the mobile terminal establishes a BLE connection with a Bluetooth node, it still obtains the signal strength RSSI of the mobile terminal and each Bluetooth node, and compares the signal strength RSSI of each Bluetooth node to sort the signal strength RSSI of each Bluetooth node. The Bluetooth node with the strongest signal strength RSSI gets a score in the signal strength score, while other Bluetooth nodes do not get a score.
[0046] In one embodiment, such as Figure 2A As shown, after the mobile terminal establishes a BLE connection with Bluetooth node Anchor_2, it still acquires the RSSI signals of Bluetooth nodes Anchor_0, Anchor_1, Anchor_2, Anchor_3, and Anchor_4. When the mobile terminal is located at the right front of the vehicle, the RSSI signal strength of Bluetooth node Anchor_2 is greater than that of Bluetooth nodes Anchor_0, Anchor_1, Anchor_3, and Anchor_4, and Bluetooth node Anchor_2 scores a point. However, as the mobile terminal moves from the right front of the vehicle to the left front of the vehicle, the RSSI signal strength of Bluetooth node Anchor_1 gradually increases, while the RSSI signal strength of Bluetooth node Anchor_2 gradually decreases. When the RSSI signal strength of Bluetooth node Anchor_1 is greater than that of Bluetooth nodes Anchor_0, Anchor_2, Anchor_3, and Anchor_4, Bluetooth node Anchor_1 scores a point, while Bluetooth nodes Anchor_0, Anchor_2, Anchor_3, and Anchor_4 do not score a point.
[0047] In embodiments of the present invention, the method further includes steps of performing Kalman filtering and / or Gaussian filtering on the signal strength of the Bluetooth node, combined with signal attenuation compensation and region detection algorithms, to improve the positioning accuracy from the mobile terminal to the Bluetooth node. Since the RSSI signal strength is easily affected by the surrounding environment in real-world conditions, such as the angle of the phone, obstacles in space, and object reflections, filtering compensation of the RSSI value is necessary. The filtering employs a Kalman filtering algorithm to make the signal variation an asymptotic curve, while simultaneously using the mean of data within a calculation window to perform secondary compensation for abrupt signal changes.
[0048] For example, when the scoring item includes the behavioral intention score, scoring the scoring item includes: obtaining the inertia parameters of the mobile terminal; determining the inertia probability of each blue node based on the inertia parameters; when the inertia probability of the second Bluetooth node is higher than the inertia probabilities of the other Bluetooth nodes, the second Bluetooth node scores a point, and the other Bluetooth nodes do not score a point.
[0049] In one embodiment, refer to Figure 3 The roaming target scoring also includes a step of behavioral intention scoring. The inertial parameters of the mobile terminal are obtained, and the inertial probabilities of each Bluetooth node are compared based on these parameters to rank the inertial probabilities. The Bluetooth node with the highest probability receives a score in this behavioral intention scoring process, while other Bluetooth nodes receive no score.
[0050] Before performing the corresponding steps of the BLE connection roaming method 100 according to an embodiment of the present invention, a data calibration process is also included, such as... Figure 5 As shown, the inertial parameters of the mobile terminal are calculated by establishing a relationship between the distance between the mobile terminal and the vehicle and the change in signal strength RSSI. These inertial parameters characterize the inertial parameters of the user (i.e., the vehicle owner).
[0051] In one embodiment, refer to Figure 5 As shown, after the mobile terminal establishes a connection with one of the vehicle's Bluetooth nodes, the signal strength between the mobile terminal and the Bluetooth node is acquired and Gaussian filtered. The distance between the mobile terminal and the vehicle is also acquired. As the driver walks, the distance between the mobile terminal and the vehicle changes, and the RSSI signal strength changes accordingly. A relationship between the distance change and the signal strength change is established. The average speed of the mobile terminal is obtained, and a relationship between the speed change and the signal strength change is established to obtain the mobile terminal's inertial parameters. By repeating the above calibration process multiple times, the inertial parameters of the mobile terminal are determined and stored. In addition, it is necessary to periodically monitor the changes in the inertial parameters and RSSI signal strength, and update the stored inertial parameters in a timely manner to avoid the defect of inaccurate positioning caused by judging only the RSSI signal strength.
[0052] In one embodiment, refer to Figure 2EAs shown, the mobile terminal is located at the front left of the vehicle and establishes a BLE connection with Bluetooth node Anchor_1. When the mobile terminal moves from the front left of the vehicle to the rear, its speed and direction of movement are predicted based on the current speed and direction of movement, combined with the inertial parameters determined in the calibration process described above. Even if the mobile terminal subsequently loses connection with Bluetooth node Anchor_1 and fails to establish a connection with other Bluetooth nodes in the vehicle, making it impossible to accurately determine the mobile terminal's position, its speed and direction of movement can still be predicted based on the inertial parameters. For example, if the predicted speed and direction of movement remain unchanged, then the inertial probability of Bluetooth node Anchor_4 is greater than that of Bluetooth nodes Anchor_5, Anchor_2, and Anchor_3, and the inertial probability of Anchor_5 is greater than that of Bluetooth nodes Anchor_2 and Anchor_3. Bluetooth node Anchor_4 scores a point, while Bluetooth nodes Anchor_5, Anchor_2, and Anchor_3 score no points.
[0053] In one embodiment, determining the mobile terminal's behavioral intention also includes determining whether the mobile terminal is approaching or moving away from the vehicle. When the mobile terminal is approaching the vehicle, it is predicted that the user's behavioral intention is to open the door, so the PE / PS area can be enlarged, that is, the area where the key is located can be enlarged. When the mobile terminal is moving away from the vehicle, it is predicted that the user's behavioral intention is to leave the vehicle, so the PE / PS area can be reduced to improve the timeliness of vehicle locking.
[0054] For example, when the channel quality score is included in the scoring item, scoring the scoring item includes: obtaining the channel quality between the mobile terminal and each Bluetooth node; when the channel quality between the mobile terminal and the second Bluetooth node is better than the channel quality between the mobile terminal and other Bluetooth nodes, the second Bluetooth node scores a point, and the other Bluetooth nodes do not score a point.
[0055] In one embodiment, refer to Figure 3 Roaming target scoring also includes a channel quality scoring step. After a mobile terminal establishes a BLE connection with a Bluetooth node, the channel quality (CQI) between the mobile terminal and each Bluetooth node is still acquired, and the channel quality of each Bluetooth node is compared to rank them. The Bluetooth node with the best channel quality receives a score in this signal strength scoring process, while other Bluetooth nodes receive no score. Channel quality includes, but is not limited to, bit error rate.
[0056] In one embodiment, such as Figure 2AAs shown, the channel quality CQI between the mobile terminal and Bluetooth nodes Anchor_0, Anchor_1, Anchor_2, Anchor_3, and Anchor_4 is obtained. CQI is used to represent the quality of the current channel and corresponds to the signal-to-noise ratio of the channel. The value range is 0 to 31: when the CQI value is 0, the channel quality is the worst; when the CQI value is 31, the channel quality is the best. When the mobile terminal is located at the right front of the vehicle, the channel quality CQI of Bluetooth node Anchor_2 is better than that of Bluetooth nodes Anchor_0, Anchor_1, Anchor_3, and Anchor_4. At this time, Bluetooth node Anchor_2 scores a point. However, as the mobile terminal moves from the right front of the vehicle to the left front of the vehicle, the channel quality CQI of Bluetooth node Anchor_1 gradually improves, while the channel quality CQI of Bluetooth node Anchor_2 gradually deteriorates. When the channel quality CQI of Bluetooth node Anchor_1 is better than that of Bluetooth nodes Anchor_0, Anchor_2, Anchor_3, and Anchor_4, Bluetooth node Anchor_1 scores a point, while Bluetooth nodes Anchor_0, Anchor_2, Anchor_3, and Anchor_4 do not score a point.
[0057] For example, scoring the historical roaming record of the second Bluetooth node based on the roaming algorithm includes: obtaining the historical roaming count of each Bluetooth node; when the historical roaming count of the second Bluetooth node is less than that of other Bluetooth nodes, the second Bluetooth node scores a point, and the other Bluetooth nodes do not score a point.
[0058] In one embodiment, refer to Figure 3 Roaming target scoring also includes a step of scoring historical roaming records. Based on the historical roaming record information of each Bluetooth node, the environment around the vehicle can be assessed, such as whether there are obstructions and whether there is frequent jumping behavior around the vehicle.
[0059] In one embodiment, when the mobile terminal moves back and forth around the vehicle body multiple times, the target roaming node may change frequently. Therefore, it is necessary to obtain the historical roaming count of each Bluetooth node and compare the historical roaming counts of each Bluetooth node to sort the historical roaming counts of each Bluetooth node. The Bluetooth node with the fewest historical roaming counts scores a point in the signal strength scoring process.
[0060] This completes the scoring process for each Bluetooth node based on the roaming algorithm. It should be noted that, in addition to the aforementioned signal strength score, channel quality score, behavioral intention score, and historical roaming record score, more scoring items may be included; this application does not impose any restrictions on this.
[0061] Next, step S130 is executed. When the number of items in which the second Bluetooth node is the highest-scoring Bluetooth node exceeds a preset threshold, the second Bluetooth node is determined to be the target roaming Bluetooth node.
[0062] In one embodiment, the threshold for Bluetooth node scoring can be set as needed. For example, when the roaming algorithm includes N scoring items, the threshold can be preset to 0.5N, 0.7N, or N-1, where N and the preset threshold are both positive integers.
[0063] In one embodiment, refer to Figure 3 When the roaming target rating consists of four items: signal strength rating, channel quality rating, behavioral intention rating, and historical roaming record rating, the preset threshold is 3. When the number of items with the highest score for one of the Bluetooth nodes is greater than or equal to 3, that is, when the Bluetooth node scores at least three times in the signal strength rating, channel quality rating, behavioral intention rating, and historical roaming record rating, the second Bluetooth node is determined to be the target roaming Bluetooth node.
[0064] Next, step S140 is executed to switch the BLE connection roaming between the mobile terminal and the first Bluetooth node to a BLE connection between the mobile terminal and the target roaming Bluetooth node.
[0065] In one embodiment, refer to Figure 4 As shown, since the mobile terminal establishes a BLE connection with the first Bluetooth node, and all Bluetooth nodes in the vehicle are interconnected, the target roaming Bluetooth node can obtain information such as the media access control address, pairing information, and LTK key data. The target roaming Bluetooth node establishes a BLE connection with the mobile terminal. When the target roaming Bluetooth node establishes a BLE connection with the mobile terminal, the BLE connection between the first Bluetooth node and the mobile terminal is disconnected, realizing a seamless roaming handover of the BLE connection between the mobile terminal and the vehicle's Bluetooth nodes.
[0066] In one embodiment, such as Figure 2A and 2B As shown, after the mobile terminal establishes a BLE connection with Bluetooth node Anchor_2, as the mobile terminal moves from the right front of the vehicle to the left front of the vehicle, if the number of items with the highest scores in signal strength score, channel quality score, behavioral intention score, and historical roaming record score of Bluetooth node Anchor_1 is greater than or equal to 3, Bluetooth node Anchor_1 becomes the target roaming Bluetooth node, and the BLE connection roaming between the mobile terminal and Bluetooth node Anchor_2 is switched to the BLE connection between the mobile terminal and Bluetooth node Anchor_1.
[0067] In one embodiment, such as Figure 2Band 2C As shown, after the mobile terminal establishes a BLE connection with Bluetooth node Anchor_1, as the mobile terminal enters the driver's seat, if Bluetooth node Anchor_0 has a score of 3 or more in the signal strength score, channel quality score, behavioral intention score, and historical roaming record score, then Bluetooth node Anchor_0 becomes the target roaming Bluetooth node, and the BLE connection between the mobile terminal and Bluetooth node Anchor_1 is switched to a BLE connection between the mobile terminal and Bluetooth node Anchor_0.
[0068] In one embodiment, such as Figure 2C and 2D As shown, after the mobile terminal establishes a BLE connection with Bluetooth node Anchor_0, as the mobile terminal leaves the driver's seat and moves to the rear of the vehicle, if Bluetooth node Anchor_4 has a maximum of 3 or more of the highest scores in signal strength score, channel quality score, behavioral intention score, and historical roaming record score, then Bluetooth node Anchor_4 becomes the target roaming Bluetooth node, and the BLE connection between the mobile terminal and Bluetooth node Anchor_0 is switched to a BLE connection between the mobile terminal and Bluetooth node Anchor_4.
[0069] In one embodiment, such as Figure 2D and 2E As shown, after the mobile terminal establishes a BLE connection with Bluetooth node Anchor_4, as the mobile terminal continues to move towards the rear of the vehicle, if Bluetooth node Anchor_5 has a number of items with the highest scores in signal strength score, channel quality score, behavioral intention score, and historical roaming record score that are greater than or equal to 3, Bluetooth node Anchor_5 becomes the target roaming Bluetooth node, and the BLE connection roaming between the mobile terminal and Bluetooth node Anchor_4 is switched to the BLE connection between the mobile terminal and Bluetooth node Anchor_5.
[0070] According to the BLE connection roaming method provided by the present invention, after a mobile terminal establishes a BLE connection with a Bluetooth node, each Bluetooth node is scored as a roaming target. When the number of items for which another Bluetooth node has the highest score exceeds a preset threshold, it is designated as the target roaming Bluetooth node. The BLE connection roaming between the mobile terminal and the original Bluetooth node is switched to a BLE connection between the mobile terminal and the target roaming Bluetooth node. This not only achieves seamless roaming switching between Bluetooth nodes and ensures the connection stability between the mobile terminal and the Bluetooth node, but also improves the positioning accuracy between the vehicle and the mobile terminal and enhances the security of vehicle unlocking.
[0071] Figure 6A schematic block diagram of an electronic device 600 according to an embodiment of the present invention is shown. The electronic device 600 includes a memory 610 and a processor 620.
[0072] The memory 610 stores program code for implementing corresponding steps in the BLE connection roaming method 100 according to an embodiment of the present invention.
[0073] The processor 620 is used to run the program code stored in the memory 610 to perform the corresponding steps of the BLE connection roaming method 100 according to an embodiment of the present invention.
[0074] In addition, the present invention also includes a vehicle comprising at least two Bluetooth nodes and an electronic device 600.
[0075] For example, electronic device 600 can be any electronic device on the vehicle used to perform BLE connection roaming method 100, such as central control device or controller.
[0076] In one embodiment, the vehicle includes, but is not limited to, electric vehicles (EVs), pure electric vehicles / battery electric vehicles (PEVs / BEVs), hybrid electric vehicles (HEVs), range-extended electric vehicles (REEVs), plug-in hybrid electric vehicles (PHEVs), and new energy vehicles.
[0077] In one embodiment, the vehicle includes the Bluetooth node described above.
[0078] In addition, the present invention also includes a mobile terminal, the mobile terminal comprising an electronic device 600.
[0079] In one embodiment, the mobile terminal includes, but is not limited to, a Bluetooth key and a mobile communication device (e.g., a mobile phone), wherein the mobile communication device obtains information about valid Bluetooth nodes that can be connected to the mobile communication device by installing an application.
[0080] According to embodiments of the present invention, a computer-readable storage medium is also provided, on which program instructions are stored. When executed by a computer or processor, the program instructions are used to perform corresponding steps of the BLE connection roaming method 100 of the present invention. The computer-readable storage medium may, for example, include a storage component of a tablet computer, a hard disk of a personal computer, a read-only memory (ROM), an erasable programmable read-only memory (EPROM), a portable compact disc read-only memory (CD-ROM), a USB memory, or any combination of the above storage media. The computer-readable storage medium may be any combination of one or more computer-readable storage media; for example, one computer-readable storage medium may contain computer-readable program code for randomly generating sequences of action instructions, and another computer-readable storage medium may contain computer-readable program code for performing BLE connection control.
[0081] In one embodiment, the computer program instructions, when executed by a computer, can perform the BLE connection roaming method 100 according to an embodiment of the present invention.
[0082] Although exemplary embodiments have been described herein with reference to the accompanying drawings, it should be understood that the above exemplary embodiments are merely illustrative and are not intended to limit the scope of this application. Various changes and modifications can be made therein by those skilled in the art without departing from the scope and spirit of this application. All such changes and modifications are intended to be included within the scope of this application as claimed in the appended claims.
[0083] Those skilled in the art will recognize that the units and algorithm steps of the various examples described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are implemented in hardware or software depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of this application.
[0084] In the several embodiments provided in this application, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are merely illustrative. For instance, the division of units is only a logical functional division, and in actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated into another device, or some features may be ignored or not executed.
[0085] Numerous specific details are set forth in the specification provided herein. However, it will be understood that embodiments of this application may be practiced without these specific details. In some instances, well-known methods, structures, and techniques have not been shown in detail so as not to obscure the understanding of this specification.
[0086] Similarly, it should be understood that, in order to streamline this application and aid in understanding one or more of the various inventive aspects, features of this application may sometimes be grouped together in a single embodiment, figure, or description thereof in the description of exemplary embodiments of this application. However, this approach should not be construed as reflecting an intention that the claimed application requires more features than are expressly recited in each claim. Rather, as reflected in the corresponding claims, its inventive point lies in solving the corresponding technical problem with features fewer than all features of a single disclosed embodiment. Therefore, the claims following the detailed description are hereby expressly incorporated into that detailed description, wherein each claim itself is a separate embodiment of this application.
[0087] Those skilled in the art will understand that, apart from the mutual exclusion of features, all features disclosed in this specification (including the accompanying claims, abstract, and drawings) and all processes or units of any method or apparatus so disclosed can be combined in any combination. Unless otherwise expressly stated, each feature disclosed in this specification (including the accompanying claims, abstract, and drawings) may be replaced by an alternative feature that serves the same, equivalent, or similar purpose.
[0088] Furthermore, those skilled in the art will understand that although some embodiments described herein include certain features but not others included in other embodiments, combinations of features from different embodiments are intended to be within the scope of this application and form different embodiments. For example, in the claims, any one of the claimed embodiments can be used in any combination.
[0089] The various component embodiments of this application can be implemented in hardware, or as software modules running on one or more processors, or a combination thereof. Those skilled in the art will understand that microprocessors or digital signal processors (DSPs) can be used in practice to implement some or all of the functions of some modules in the article analysis device according to the embodiments of this application. This application can also be implemented as an apparatus program (e.g., a computer program and computer program product) for performing part or all of the methods described herein. Such an implementation of this application can be stored on a computer-readable medium, or can be in the form of one or more signals. Such signals can be downloaded from an Internet website, provided on a carrier signal, or provided in any other form.
[0090] It should be noted that the above embodiments are illustrative of this application and not restrictive, and that those skilled in the art can devise alternative embodiments without departing from the scope of the appended claims. In the claims, any reference signs placed between parentheses should not be construed as limiting the claims. The word "comprising" does not exclude the presence of elements or steps not listed in the claims. The word "a" or "an" preceding an element does not exclude the presence of a plurality of such elements. This application can be implemented by means of hardware comprising several different elements and by means of a suitably programmed computer. In the unit claims enumerating several means, several of these means may be embodied by the same item of hardware. The use of the words first, second, and third, etc., does not indicate any order. These words can be interpreted as names.
[0091] The above description is merely a specific embodiment or illustration of the embodiments of this application. The scope of protection of this application is not limited thereto. Any variations or substitutions that can be easily conceived by those skilled in the art within the scope of the technology disclosed in this application should be included within the scope of protection of this application. The scope of protection of this application shall be determined by the scope of the claims.
Claims
1. A BLE connection roaming method for vehicle unlocking, characterized in that, include: When the mobile terminal has established a BLE connection with the first Bluetooth node set up in the vehicle, a roaming target score is performed on the second Bluetooth node set up in the vehicle. The roaming target score includes at least three of the following: signal strength score, channel quality score, behavioral intention score, and historical roaming record score. When the behavioral intention score is included in the scoring items, scoring the scoring items includes: determining the inertial parameters of the mobile terminal through multiple calibration processes based on the changes in the mobile terminal's movement speed and the changes in the signal strength between the mobile terminal and the Bluetooth nodes; determining the inertial probability of each Bluetooth node based on the inertial parameters; when the inertial probability of the second Bluetooth node is higher than the inertial probabilities of other Bluetooth nodes, the second Bluetooth node scores a point, and the other Bluetooth nodes do not score a point. When the historical roaming record score is included in the scoring items, scoring the scoring items includes: obtaining the historical roaming count of each Bluetooth node; when the historical roaming count of the second Bluetooth node is less than that of other Bluetooth nodes, the second Bluetooth node scores a point, and the other Bluetooth nodes do not score a point; The scoring items are scored to determine the Bluetooth node with the highest score in each scoring item; When the number of items in which the second Bluetooth node is the highest-scoring Bluetooth node exceeds a preset threshold, the second Bluetooth node is determined to be the target roaming Bluetooth node; The BLE connection roaming between the mobile terminal and the first Bluetooth node is switched to a BLE connection between the mobile terminal and the target roaming Bluetooth node.
2. The BLE connection roaming method for vehicle unlocking as described in claim 1, characterized in that, The step of determining the second Bluetooth node as a target roaming Bluetooth node when the number of items in which the second Bluetooth node is the highest-scoring Bluetooth node exceeds a preset threshold includes: determining the second Bluetooth node as a target roaming Bluetooth node when the number of items in which the second Bluetooth node is the highest-scoring Bluetooth node exceeds 70% of the number of roaming target scoring items.
3. The BLE connection roaming method for vehicle unlocking as described in claim 1, characterized in that, When the signal strength score is included in the scoring items, scoring the scoring items includes: Obtain the signal strength between the mobile terminal and each Bluetooth node; When the signal strength between the mobile terminal and the second Bluetooth node is greater than the signal strength between the mobile terminal and other Bluetooth nodes, the second Bluetooth node scores a point, while the other Bluetooth nodes do not score a point.
4. The BLE connection roaming method for vehicle unlocking as described in claim 1, characterized in that, When the channel quality score is included in the scoring items, scoring the scoring items includes: Obtain the channel quality between the mobile terminal and each Bluetooth node; When the channel quality between the mobile terminal and the second Bluetooth node is better than the channel quality between the mobile terminal and other Bluetooth nodes, the second Bluetooth node scores a point, while the other Bluetooth nodes do not score a point.
5. The BLE connection roaming method for vehicle unlocking as described in any one of claims 1 to 4, characterized in that, The Bluetooth nodes communicate with each other.
6. An electronic device, characterized in that, The electronic device includes: A memory, a processor, and a computer program stored in the memory and running on the processor, wherein the processor, when executing the computer program, implements the BLE connectivity roaming method for unlocking a vehicle as described in any one of claims 1-5.
7. A vehicle, characterized in that, It includes at least two Bluetooth nodes and the electronic device as described in claim 6.
8. A mobile terminal, characterized in that, Includes the electronic device as described in claim 6.