Method, system and device for establishing interconnection based on Bluetooth low power consumption protocol, and medium
By using the received signal strength indicator (RSSI) verification and power adjustment based on the Bluetooth low energy protocol, combined with the directional broadcast mode, the connection delay, false pop-up window and energy consumption problems in the handcart interconnection are solved, and fast and secure device connection is achieved.
Patent Information
- Application Number
- CN202510831940.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-06-20
- Publication Date
- 2025-09-12
AI Technical Summary
Existing trolley interconnection technologies have problems such as weak signal connection delay, false pop-up window interference, low security and high energy consumption.
Based on the Bluetooth low energy protocol, the received signal strength indicator (RSSI) is used for trust verification and power adjustment, switching to a directional connectable mode, combining a two-way communication whitelist and the Bluetooth pairing mechanism to achieve directional broadcasting, reduce energy consumption and improve the signal-to-noise ratio.
Improve connection speed in weak signal environments, reduce interference from false pop-up windows, enhance security, reduce energy consumption, and improve user experience.
Smart Images

Figure CN120640435A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of wireless communications, and in particular to a method, system, device and medium for establishing interconnection based on the Bluetooth low energy protocol. Background Art
[0002] With the advancement of automotive intelligence, phone-to-car connectivity is gaining increasing attention. Phone-to-car connectivity (Phone-to-Car Connectivity) connects smartphones to vehicle systems through wireless or wired communication technologies, enabling data sharing, functional collaboration, and intelligent control to enhance the driving experience and vehicle intelligence. Currently, phone-to-car connectivity typically involves the vehicle computer periodically sending Bluetooth Low Energy (BLE) broadcast packets. The phone, acting as a scanner, continuously scans for nearby BLE devices and filters for targeted broadcast packets.
[0003] However, the existing design has many problems:
[0004] 1. The phone discards broadcast packets when the RSSI (Received Signal Strength Indicator) is less than -70. As a result, in weak signal conditions (such as when the phone is in a pocket or in a car), the device must attempt to approach the device multiple times before the conditions are met to trigger the pop-up window. This results in noticeable user-perceived delays and reduces connectivity efficiency.
[0005] 2. The openness of BLE broadcasts means that the car computer may scan nearby non-target phones, causing error pop-ups, disrupting the user experience, and even causing incorrect operations and connecting to the wrong device.
[0006] 3. Standard BLE broadcast data is not encrypted. Malicious devices can forge broadcast packets and trick phones into displaying pop-up windows, posing a security risk.
[0007] 4. Continuous full-power broadcasting by the car computer increases energy consumption and causes waste of resources. Summary of the Invention
[0008] In order to solve the above-mentioned problems existing in the above-mentioned handcart interconnection technology, the present invention provides a method, system, device and medium for establishing interconnection based on the Bluetooth low energy protocol to increase connection speed, enhance anti-interference ability, reduce energy consumption and improve safety.
[0009] To achieve the above-mentioned purpose, the present invention adopts the following technical solutions:
[0010] In a first aspect, the present invention provides a method for establishing an interconnection based on the Bluetooth low energy protocol, the method comprising:
[0011] Receive the BLE broadcast signal sent by the vehicle-mounted device in non-directional connectable mode, and parse it to obtain the received signal strength indicator RSSI;
[0012] When the received signal strength indicator RSSI is lower than a preset threshold, performing a credibility check on the identification information of the vehicle-mounted device to verify whether the vehicle-mounted device belongs to a device in a pre-established trusted list;
[0013] If the verification is passed, a directional feedback broadcast containing the current received signal strength indicator RSSI is sent to the vehicle-mounted device;
[0014] Receive BLE broadcasts sent by the vehicle-mounted device at the adjusted transmit power;
[0015] Establish a screen projection connection with the vehicle-mounted device based on the enhanced BLE broadcast signal.
[0016] Optionally, the pre-established trusted list includes:
[0017] Whitelisted vehicle model identifiers preset by the vehicle manufacturer, and / or;
[0018] The vehicle-mounted device identifier that has a pre-established historical binding relationship with the mobile terminal.
[0019] Optionally, the sending of a directional feedback broadcast including a current received signal strength indicator RSSI to the vehicle-mounted device includes:
[0020] Carrying mobile terminal address information in the directional feedback broadcast protocol data;
[0021] Set the broadcast interval to T_adv, satisfying T_adv ≤ 10ms;
[0022] At least two of the three main channels are selected from the broadcast channel for alternating transmission.
[0023] Optionally, establishing a screen projection connection with the vehicle-mounted device based on the enhanced BLE broadcast signal includes: when the transmit power of the vehicle-mounted device reaches P_new, completing connection parameter negotiation within a preset time window [T_start, T_end];
[0024] Adopting the adaptive adjustment mechanism, the connection time interval is dynamically adjusted from the initial interval to I_opt∈[7.5ms,4000ms] according to the data transmission requirements.
[0025] In a second aspect, the present invention further provides a method for establishing an interconnection based on the Bluetooth low energy protocol, the method comprising:
[0026] BLE broadcast signal sent to mobile terminals in non-directional connectable mode;
[0027] Determining a credibility verification result in response to a comparison between a received signal strength indicator RSSI obtained based on parsing the BLE broadcast signal and a preset threshold;
[0028] After verification, receive the directional feedback broadcast containing the current received signal strength indicator RSSI;
[0029] parsing a received signal strength indicator RSSI in the directional feedback broadcast and calculating a transmit power adjustment amount;
[0030] Switch the broadcast mode to the directional connection mode and send BLE broadcasts to the mobile terminal according to the adjusted transmit power.
[0031] Optionally, the transmit power adjustment amount is calculated by the following formula:
[0032] ΔP=K×(|RSSI_th|-|RSSI_rcv|);
[0033] Wherein, ΔP is the transmit power adjustment amount, K is the preset proportional coefficient, where K≥1; RSSI_th is the absolute value of the preset signal strength threshold; RSSI_rcv is the absolute value of the actual received signal strength indicator value;
[0034] P_new = P_default+ΔP;
[0035] Among them, P_default is the default transmission power of the vehicle computer, and P_new is the adjusted transmission power of the vehicle equipment.
[0036] Optionally, when it is detected that the strength of the environmental interference signal exceeds a preset lower limit, an interference suppression factor γ is introduced to correct the transmit power adjustment amount using the following formula:
[0037] ΔP=K×(|RSSI_th|-|RSSI_rcv|)×(1+γ×(I_noise / I_th))
[0038] Where I_noise is the measured value of the interference signal strength; RSSI_th is the absolute value of the preset signal strength threshold; RSSI_rcv is the absolute value of the actual received signal strength indicator; γ is the configurable suppression coefficient, and its value range is [0.1, 0.5].
[0039] In a third aspect, the present invention provides a system for establishing interconnection based on the Bluetooth low energy protocol, the system comprising: an in-vehicle device and a mobile terminal;
[0040] Wherein, the mobile terminal includes:
[0041] The parsing module is used to receive the BLE broadcast signal sent by the vehicle-mounted device in a non-directional connectable mode and parse it to obtain the received signal strength indicator RSSI;
[0042] a verification module, configured to, when the received signal strength indicator RSSI is lower than a preset threshold, perform a credibility check on the identification information of the vehicle-mounted device to verify whether the vehicle-mounted device belongs to a device in a pre-established trusted list;
[0043] A directional broadcast module is used to send a directional feedback broadcast including the current received signal strength indicator RSSI to the vehicle-mounted device if the verification is passed;
[0044] The receiving module is used to receive the BLE broadcast sent by the vehicle-mounted device according to the adjusted transmission power;
[0045] The screen projection connection module is used to establish a screen projection connection with the vehicle-mounted device based on the enhanced BLE broadcast signal;
[0046] The vehicle-mounted equipment includes:
[0047] Non-directional broadcast module, used to send BLE broadcast signals to mobile terminals in non-directional connectable mode;
[0048] A response module is used to respond to a credibility verification result determined by comparing a received signal strength indicator RSSI obtained by analyzing the BLE broadcast signal with a preset threshold;
[0049] A directional feedback broadcast receiving module is used to receive a directional feedback broadcast including a current received signal strength indicator RSSI after verification;
[0050] a calculation module, configured to analyze a received signal strength indicator RSSI in the directional feedback broadcast and calculate a transmit power adjustment amount;
[0051] The BLE broadcast module is used to switch the broadcast mode to the directional connection mode and send a BLE broadcast to the mobile terminal based on the transmission power adjusted by the transmission power adjustment amount.
[0052] In a fourth aspect, the present invention provides an electronic device, comprising:
[0053] at least one processor; and,
[0054] A memory communicatively connected to the at least one processor; wherein the memory stores a computer program executable by the at least one processor, and the computer program is executed by the at least one processor to enable the at least one processor to perform the steps of the method described in any one of the first aspect or any one of the second aspect.
[0055] In a fifth aspect, the present invention provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the steps of the method described in any one of the first aspect or any one of the second aspect.
[0056] The beneficial effects of the present invention are embodied in:
[0057] The aforementioned method, system, device, and medium for establishing interconnection based on the Bluetooth low energy protocol effectively address existing issues with vehicle-to-vehicle interconnection technologies, such as weak signal connection delays, false pop-up window interference, low security, and high energy consumption. This method increases transmit power in real time based on RSSI values fed back by the mobile phone, and switches to a targeted connectable broadcast mode, allowing the vehicle computer to increase power only for trusted devices and reducing overall Bluetooth energy consumption. Furthermore, through a two-way communication whitelist and Bluetooth paired mechanism, targeted broadcasting improves the signal-to-noise ratio by 8-15dB, thereby reducing the impact of ambient noise.
[0058] The above invention can prevent the mobile phone from directly discarding the broadcast in a weak signal environment, but instead notify the vehicle computer to adjust the transmission power, thereby greatly reducing the connection time of the hand-vehicle interconnection under weak signal conditions.
[0059] In the above-mentioned invention solution, when the vehicle-mounted device is initialized, the non-directional connectable BLE transmission power is set to the minimum to avoid being scanned by non-target mobile phones that are too far away and causing false pop-ups; subsequently, by scanning the mobile phone to reply to the BLE broadcast, the RSSI value received by the mobile phone is judged, and the power is increased and then changed to a directional BLE broadcast to avoid interference from pop-ups on the mobile phones of irrelevant users. BRIEF DESCRIPTION OF THE DRAWINGS
[0060] To more clearly illustrate the specific embodiments of the present invention or the technical solutions in the prior art, the following briefly describes the drawings required for the specific embodiments or the description of the prior art. Similar elements or parts are generally identified by similar reference numerals throughout the drawings. Elements or parts in the drawings are not necessarily drawn to scale.
[0061] Figure 1 This is a flow chart of a method for establishing interconnection based on the Bluetooth low energy protocol with a mobile terminal as the execution subject provided by the present invention;
[0062] Figure 2 This is a flow chart of a method for establishing interconnection based on the Bluetooth low energy protocol with the vehicle-mounted device as the execution subject provided by the present invention;
[0063] Figure 3 This is a schematic diagram of a system structure for establishing interconnection based on the Bluetooth low energy protocol provided by the present invention;
[0064] Figure 4 It is a diagram of the internal structure of the electronic device provided by the present invention. DETAILED DESCRIPTION
[0065] The following embodiments of the technical solution of the present invention will be described in detail with reference to the accompanying drawings. The following embodiments are only used to more clearly illustrate the technical solution of the present invention and are therefore only examples and are not intended to limit the scope of protection of the present invention.
[0066] It should be noted that, unless otherwise specified, the technical or scientific terms used in this application should have the common meanings understood by those skilled in the art to which the present invention belongs.
[0067] The specific embodiments of the present invention provide a method, system, device and medium for establishing interconnection based on the Bluetooth low energy protocol, which is particularly suitable for optimizing low signal strength environments in vehicle-mounted screen projection scenarios; a dynamic encrypted broadcast mechanism is proposed to solve the problem of broadcast data forgery, and low-power wide-area non-directional broadcast is combined with two-way communication interaction to achieve directional enhanced power consumption and directional broadcast anti-false triggering.
[0068] The embodiments of the present invention are described below with reference to the accompanying drawings:
[0069] Please refer to Figure 1 , Figure 1 A method for establishing an interconnection based on the Bluetooth Low Energy (BLE) protocol is provided in Example 1 of the present invention. The method is executed by a mobile terminal and specifically includes the following steps:
[0070] S101 receives a BLE broadcast signal sent by an on-board device in a non-directional connectable mode, and parses and obtains a received signal strength indicator (RSSI);
[0071] S102: when the received signal strength indicator RSSI is lower than a preset threshold, performing a credibility check on the identification information of the vehicle-mounted device to verify whether the vehicle-mounted device belongs to a device in a pre-established trusted list;
[0072] If the verification is passed in step S103, a directional feedback broadcast including the current received signal strength indicator RSSI is sent to the vehicle-mounted device;
[0073] S104 receives the BLE broadcast sent by the vehicle-mounted device according to the adjusted transmission power;
[0074] S105 establishes a screen projection connection with the vehicle-mounted device based on the enhanced BLE broadcast signal.
[0075] In the above step S101, the pre-established trusted list includes:
[0076] Whitelisted vehicle model identifiers preset by the vehicle manufacturer, and / or;
[0077] The vehicle-mounted device identifier that has a pre-established historical binding relationship with the mobile terminal.
[0078] In the above step S101, parsing and obtaining the received signal strength indicator RSSI includes: the mobile terminal detecting the BLE broadcast of the vehicle-mounted device, and if the RSSI is less than a threshold (such as -70dBm), continuing to perform the next verification step;
[0079] In the above step S103, the sending of a directional feedback broadcast including the current received signal strength indicator RSSI to the vehicle-mounted device includes:
[0080] Carrying mobile terminal address information in the directional feedback broadcast protocol data;
[0081] Set the broadcast interval to T_adv, satisfying T_adv ≤ 10ms;
[0082] At least two of the three main channels are selected from the broadcast channel for alternating transmission.
[0083] In the above step S105, establishing a screen projection connection with the vehicle-mounted device based on the enhanced BLE broadcast signal includes: when the vehicle-mounted device transmission power reaches P_new, completing connection parameter negotiation within a preset time window [T_start, T_end];
[0084] Adopting the adaptive adjustment mechanism, the connection time interval is dynamically adjusted from the initial interval to I_opt∈[7.5ms,4000ms] according to the data transmission requirements.
[0085] In one embodiment, a specific embodiment of the present invention further provides a method for establishing interconnection based on the Bluetooth low energy protocol, wherein the method is performed by an in-vehicle device and includes:
[0086] S201 sends a BLE broadcast signal to the mobile terminal in a non-directional connectable mode;
[0087] S202 responds by comparing a received signal strength indicator RSSI obtained by analyzing the BLE broadcast signal with a preset threshold, determining a credibility verification result;
[0088] After S203 verification is passed, a directional feedback broadcast including the current received signal strength indicator RSSI is received;
[0089] S204: Analyze the received signal strength indicator RSSI in the directional feedback broadcast and calculate the transmit power adjustment amount;
[0090] S205 switches the broadcast mode to the directional connection mode, and sends a BLE broadcast to the mobile terminal according to the adjusted transmission power.
[0091] In the above step S201, in the BLE broadcast signal sent to the mobile terminal in the non-directional connectable mode, the non-directional connectable BLE transmission power can be set to -20dBm (minimum value) to avoid being scanned by non-target mobile phones that are too far away and causing false pop-up windows.
[0092] In the above step S204, the transmit power adjustment amount is calculated by the following formula:
[0093] ΔP=K×(|RSSI_th|-|RSSI_rcv|);
[0094] Wherein, ΔP is the transmit power adjustment amount, K is the preset proportional coefficient, where K≥1; RSSI_th is the absolute value of the preset signal strength threshold; RSSI_rcv is the absolute value of the actual received signal strength indicator value;
[0095] P_new = P_default+ΔP;
[0096] Among them, P_default is the default transmission power of the vehicle computer, and P_new is the adjusted transmission power of the vehicle equipment.
[0097] Optionally, when it is detected that the environmental interference signal strength exceeds a preset lower limit, that is, the preset lower limit is defined as RSSI less than -70dBm; at this time, the interference suppression factor γ is introduced to correct the transmit power adjustment amount by the following formula:
[0098] ΔP=K×(|RSSI_th|-|RSSI_rcv|)×(1+γ×(I_noise / I_th));
[0099] Where I_noise is the measured value of the interference signal strength; RSSI_th is the absolute value of the preset signal strength threshold; RSSI_rcv is the absolute value of the actual received signal strength indicator; γ is the configurable suppression coefficient, and its value range is [0.1, 0.5].
[0100] Example 1: This example 1 further illustrates the advantages of the method for establishing an interconnection based on the Bluetooth low energy protocol:
[0101] During the first vehicle-vehicle connection, the vehicle-mounted computer transmits at its lowest power of -20dBm. The phone must be very close to the display to trigger pop-ups, preventing accidental triggering of pop-ups on other phones. After the initial connection is successful, the vehicle-mounted computer and phone exchange a shared key, which is stored on both devices.
[0102] The non-first interconnection process is as follows:
[0103] On-board device: This is not the first connection. Initially, the car's BLE TX POWER is set to the lowest -20dbm, and non-directional connectable broadcasts are sent to avoid accidentally triggering pop-up windows on other mobile phones.
[0104] Add a dynamic token to the Manufacturer Specific Data field:
[0105] [Token=HMAC-SHA256(DeviceID+Timestamp+SecretKey)]
[0106] Among them, SecretKey is the shared key preset in the mobile phone and the car computer.
[0107] Example of advertising packet structure:
[0108] UUID(16B)| Token(32B)| Timestamp(4B)|
[0109] Mobile terminal: After scanning the broadcast, first check whether the UUID matches;
[0110] Extract the timestamp to verify timeliness (e.g., valid within ±3 seconds);
[0111] Generate tokens using the same algorithm for comparison.
[0112] After all verifications are passed, if the RSSI is less than -70dbm, the mobile phone sends a directional BLE broadcast to the vehicle computer. The broadcast content is as follows:
[0113] UUID (16B) | Received vehicle broadcast RSSI | Token (32B) | Timestamp (4B) |
[0114] On-board device: After scanning the broadcast, first check whether the UUID matches.
[0115] Extract the timestamp and verify its validity (e.g., valid within ±3 seconds).
[0116] Generate tokens using the same algorithm for comparison.
[0117] After all verifications are passed, the transmit power that needs to be increased is calculated based on the RSSI in the broadcast (the RSSI broadcast by the vehicle computer received by the mobile phone). The calculation formula is: Pnew = Pdefault + (|RSSI_th||−|RSSI_rcv||). Among them, the transmit power adjustment range is negatively correlated with RSSI. Pdefault is the default transmit power of the vehicle computer.
[0118] The device sets the broadcast parameters based on the calculated new transmit power and sends a BLE directional broadcast to the mobile phone to achieve directional enhancement and avoid false triggering of other mobile phones.
[0119] Mobile terminal: After scanning the broadcast, the RSSI threshold is met and verification is passed, and the Cart Interconnection window pops up.
[0120] Based on the same inventive concept, the embodiments of the present application also provide a system for establishing interconnection based on the Bluetooth low energy protocol for implementing the above-mentioned method for establishing interconnection based on the Bluetooth low energy protocol. The implementation solution provided by this system is similar to the implementation solution described in the above-mentioned embodiment method. Therefore, the specific limitations in one or more embodiments of the system for establishing interconnection based on the Bluetooth low energy protocol provided below can be found in the above-mentioned limitations on the method for establishing interconnection based on the Bluetooth low energy protocol, and will not be repeated here.
[0121] In one embodiment, the present invention provides a system for establishing interconnection based on the Bluetooth low energy protocol, such as Figure 3 As shown, it includes: a vehicle-mounted device 110 and a mobile terminal 120;
[0122] The mobile terminal 110 includes:
[0123] The parsing module 11 is used to receive the BLE broadcast signal sent by the vehicle-mounted device in a non-directional connectable mode, and parse and obtain the received signal strength indicator RSSI;
[0124] A verification module 12 is configured to perform a credibility check on the identification information of the vehicle-mounted device when the received signal strength indicator RSSI is lower than a preset threshold value, to verify whether the vehicle-mounted device belongs to a device in a pre-established trusted list;
[0125] A directional broadcast module 13 is configured to send a directional feedback broadcast including the current received signal strength indicator RSSI to the vehicle-mounted device if the verification passes;
[0126] The receiving module 14 is used to receive the BLE broadcast sent by the vehicle-mounted device according to the adjusted transmission power;
[0127] The screen projection connection module 15 is used to establish a screen projection connection with the vehicle-mounted device based on the enhanced BLE broadcast signal;
[0128] The vehicle-mounted device 120 includes:
[0129] The non-directional broadcast module 21 is used to send a BLE broadcast signal to the mobile terminal in a non-directional connectable mode;
[0130] A response module 22 is used to respond to a credibility verification result determined by comparing a received signal strength indicator RSSI obtained by analyzing the BLE broadcast signal with a preset threshold;
[0131] A directional feedback broadcast receiving module 23 is configured to receive a directional feedback broadcast including a current received signal strength indicator RSSI after verification;
[0132] A calculation module 24 is configured to analyze the received signal strength indicator RSSI in the directional feedback broadcast and calculate a transmit power adjustment amount;
[0133] The BLE broadcast module 25 is configured to switch the broadcast mode to the directional connection mode and send a BLE broadcast to the mobile terminal based on the transmit power adjusted by the transmit power adjustment amount.
[0134] In one embodiment, the present invention further provides an electronic device, which may be a terminal, and its internal structure diagram may be as follows: Figure 4 As shown. The electronic device includes a processor, memory, a communication interface, a display, and an input device connected via a system bus. The processor of the electronic device is used to provide computing and control capabilities. The memory of the electronic device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of the operating system and computer program in the non-volatile storage medium. The communication interface of the electronic device is used to communicate with an external terminal via wired or wireless communication. The wireless communication can be achieved via Wi-Fi, a mobile cellular network, NFC (near-field communication), or other technologies. When executed by the processor, the computer program implements any one of steps S101 to S105 or steps S201 to S205, a method for establishing an interconnection based on the Bluetooth low energy protocol. The display of the electronic device can be a liquid crystal display or an electronic ink display. The input device of the electronic device can be a touch layer covering the display, or keys, a trackball, or a touchpad provided on the electronic device housing, or an external keyboard, touchpad, or mouse.
[0135] Those skilled in the art will understand that Figure 4 The structure shown in the figure is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than shown in the figure, or combine certain components, or have a different component arrangement.
[0136] In one embodiment, the present invention further provides a computer-readable storage medium on which a computer program is stored, characterized in that when the computer program is executed by a processor, the steps of the method described in any one of the first and second aspects above are implemented.
[0137] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems, or computer program products. Therefore, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment, or an embodiment combining software and hardware. Furthermore, the present application may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to magnetic disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.
[0138] The present application is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of the present application. It should be understood that each process and / or block in the flowchart and / or block diagram, as well as the combination of processes and / or blocks in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 a process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.
[0139] These computer program instructions may also be stored in a computer readable memory that can direct a computer or other programmable data processing device to work in a specific manner, so that the instructions stored in the computer readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 a process or multiple processes and / or boxes Figure 1 The function specified in one or more boxes.
[0140] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operational steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing the instructions executed on the computer or other programmable device for implementing the process. Figure 1 a process or multiple processes and / or boxes Figure 1 A step that specifies a function in one or more boxes.
[0141] The above are merely embodiments of the present invention and are not intended to limit the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present invention are included in the scope of the claims of the present invention to be approved.
Claims
1. A method for establishing interconnection based on Bluetooth low energy protocol, characterized in that: The method comprises: Receive the BLE broadcast signal sent by the vehicle-mounted device in non-directional connectable mode, and parse it to obtain the received signal strength indicator RSSI; When the received signal strength indicator RSSI is lower than a preset threshold, performing a credibility check on the identification information of the vehicle-mounted device to verify whether the vehicle-mounted device belongs to a device in a pre-established trusted list; If the verification is passed, a directional feedback broadcast containing the current received signal strength indicator RSSI is sent to the vehicle-mounted device; Receive BLE broadcasts sent by the vehicle-mounted device at the adjusted transmit power; Establish a screen projection connection with the vehicle-mounted device based on the enhanced BLE broadcast signal.
2. The method according to claim 1, characterized in that The pre-established trusted lists include: Whitelisted vehicle model identifiers preset by the vehicle manufacturer, and / or; The vehicle-mounted device identifier that has a pre-established historical binding relationship with the mobile terminal.
3. The method according to claim 1, characterized in that The sending of a directional feedback broadcast including a current received signal strength indicator RSSI to the vehicle-mounted device includes: Carrying mobile terminal address information in the directional feedback broadcast protocol data; Set the broadcast interval to T_adv, satisfying T_adv ≤ 10ms; At least two of the three main channels are selected from the broadcast channel for alternating transmission.
4. The method according to claim 1, wherein The establishing of a screen projection connection with the vehicle-mounted device based on the enhanced BLE broadcast signal includes: completing connection parameter negotiation within a preset time window [T_start, T_end] when the vehicle-mounted device transmit power reaches P_new; Adopting the adaptive adjustment mechanism, the connection time interval is dynamically adjusted from the initial interval to I_opt∈[7.5ms,4000ms] according to the data transmission requirements.
5. A method for establishing interconnection based on the Bluetooth low energy protocol, characterized in that: The method comprises: BLE broadcast signal sent to mobile terminals in non-directional connectable mode; Determining a credibility verification result in response to a comparison between a received signal strength indicator RSSI obtained based on parsing the BLE broadcast signal and a preset threshold; After verification, receive the directional feedback broadcast containing the current received signal strength indicator RSSI; parsing a received signal strength indicator RSSI in the directional feedback broadcast to calculate a transmit power adjustment amount; Switch the broadcast mode to the directional connection mode and send BLE broadcasts to the mobile terminal according to the adjusted transmit power.
6. The method according to claim 5, characterized in that The transmit power adjustment amount is calculated by the following formula: ΔP=K×(|RSSI_th|-|RSSI_rcv|); Wherein, ΔP is the transmit power adjustment amount, K is the preset proportional coefficient, where K≥1; RSSI_th is the absolute value of the preset signal strength threshold; RSSI_rcv is the absolute value of the actual received signal strength indicator value; P_new = P_default + ΔP; Among them, P_default is the default transmission power of the vehicle computer, and P_new is the adjusted transmission power of the vehicle equipment.
7. The method according to claim 6, characterized in that When the detected environmental interference signal strength exceeds the preset lower limit, the interference suppression factor γ is introduced to correct the transmit power adjustment amount using the following formula: ΔP=K×(|RSSI_th|-|RSSI_rcv|)×(1+γ×(I_noise / I_th)) Where I_noise is the measured value of the interference signal strength; RSSI_th is the absolute value of the preset signal strength threshold; RSSI_rcv is the absolute value of the actual received signal strength indicator; γ is the configurable suppression coefficient, and its value range is [0.1, 0.5].
8. A system for establishing interconnection based on the Bluetooth low energy protocol, characterized in that: The system includes: a vehicle-mounted device and a mobile terminal; Wherein, the mobile terminal includes: The parsing module is used to receive the BLE broadcast signal sent by the vehicle-mounted device in a non-directional connectable mode and parse it to obtain the received signal strength indicator RSSI; a verification module, configured to, when the received signal strength indicator RSSI is lower than a preset threshold, perform a credibility check on the identification information of the vehicle-mounted device to verify whether the vehicle-mounted device belongs to a device in a pre-established trusted list; A directional broadcast module is used to send a directional feedback broadcast including the current received signal strength indicator RSSI to the vehicle-mounted device if the verification is passed; The receiving module is used to receive the BLE broadcast sent by the vehicle-mounted device according to the adjusted transmission power; The screen projection connection module is used to establish a screen projection connection with the vehicle-mounted device based on the enhanced BLE broadcast signal; The vehicle-mounted equipment includes: Non-directional broadcast module, used to send BLE broadcast signals to mobile terminals in non-directional connectable mode; A response module is used to respond to a credibility verification result determined by comparing a received signal strength indicator RSSI obtained by analyzing the BLE broadcast signal with a preset threshold; A directional feedback broadcast receiving module is used to receive a directional feedback broadcast including a current received signal strength indicator RSSI after verification; a calculation module, configured to analyze a received signal strength indicator RSSI in the directional feedback broadcast and calculate a transmit power adjustment amount; The BLE broadcast module is used to switch the broadcast mode to the directional connection mode and send a BLE broadcast to the mobile terminal based on the transmission power adjusted by the transmission power adjustment amount.
9. An electronic device, characterized in that: The electronic device comprises: at least one processor; and, A memory communicatively connected to the at least one processor; wherein the memory stores a computer program executable by the at least one processor, the computer program being executed by the at least one processor so as to enable the at least one processor to perform the steps of the method described in any one of claims 1 to 4 or any one of claims 5 to 7.
10. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 4 or any one of claims 5 to 7 are implemented.
Citation Information
Patent Citations
Bluetooth interconnection method and system for wearable device and mobile terminal
CN105516896A
Router wireless connection authentication method and system
CN107396283A
Numerical value transfer method, system, device, terminal and storage medium
CN110738491A
Method for controlling broadcast signal, wireless earphone, and computer readable storage medium
CN115589574A
Equipment control method and device, storage medium and electronic equipment
CN116489640A