A multi-node digital key positioning method, device, equipment and storage medium
By using a frequency offset modulation module and differential bus technology in the digital key positioning method, a combination of cyclic redundancy check of the received signal and Bluetooth security mechanism is achieved, which solves the problem of low security performance of digital key positioning, improves the accuracy and security of positioning, and enhances the scalability of the system.
Patent Information
- Application Number
- CN202210412543.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-04-19
- Publication Date
- 2025-11-21
- Estimated Expiration
- 2042-04-19
AI Technical Summary
Existing digital key positioning methods that rely on Bluetooth broadcasting for authentication have low security performance, leading to positioning errors and insufficient security.
A frequency offset modulation module is used to monitor the interaction signal, the received signal strength indication value is obtained through cyclic redundancy check, and data is transmitted through a differential bus to improve security and accuracy. Bluetooth security mechanism is used for authentication.
It improves the security performance and accuracy of digital key positioning, ensures data security through cyclic redundancy check, and enhances scalability by flexibly deploying multiple frequency offset modulation modules as anchor points.
Smart Images

Figure CN114866293B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] Embodiments of the present application relate to the technical field of node positioning, and in particular to a multi-node digital key positioning method, device, equipment and storage medium. BACKGROUND
[0002] With the development of society, the continuous increase of residents' income will promote the upgrading of consumption structure. In this process, more and more people buy cars. In the process of meeting the diversified needs of users, the degree of intelligence of cars is getting higher and higher.
[0003] In the process of intelligence of cars, Bluetooth technology plays an effective supporting role, realizing the connection and interactive operation of cars and mobile terminals (such as mobile phones), and mobile terminals replacing keys to realize keyless entry system and other applications. Through the mobile terminal as a digital key and the communication connection with the car for positioning algorithm processing, the position of the digital key is obtained, and positioning is realized.
[0004] The existing communication connection between the digital key and the car is usually that the digital key is a BLE (Bluetooth Low Energy) broadcaster, and multiple positioning anchors are BLE scanners. The positioning anchors are connected through CAN (Controller Area Network) / LIN (Local Interconnect Network) bus. The multiple positioning anchors perform positioning algorithm processing on the RSSI (Received Signal Strength Indication) of the BLE signal broadcast by the digital key received, and obtain the key position. It is difficult to perform identity authentication through the broadcast mode, and the security performance is low. SUMMARY
[0005] Embodiments of the present application provide a multi-node digital key positioning method, device, equipment and storage medium, which can solve the problem of low security performance of digital key positioning and improve the security performance of digital key positioning.
[0006] In a first aspect, embodiments of the present application provide a multi-node digital key positioning method, comprising:
[0007] obtaining a listening instruction according to the communication connection with the digital key;
[0008] sending the listening instruction to a plurality of frequency offset modulation modules, so that the frequency offset modulation modules listen to the interaction signal according to the listening instruction to obtain a received signal strength indication value of the correct interaction signal after cyclic redundancy check;
[0009] receiving the received signal strength indication value sent by the frequency offset modulation module;
[0010] performing positioning operation according to the received RSSI value to determine the location of the digital key.
[0011] Further, before obtaining the monitoring instruction according to the communication connection with the digital key, the method comprises:
[0012] broadcasting information through a Bluetooth broadcast channel in a time manner, so that the digital key initiates a connection request after scanning the broadcast information;
[0013] receiving the connection request sent by the digital key to perform the communication connection.
[0014] Further, the monitoring instruction comprises a start instruction, a first update instruction, a second update instruction and a stop instruction.
[0015] The start instruction comprises ID information, connection state information, frequency hopping interval information, a current connection event count value, a last unmapped channel, a cyclic redundancy check information initial value, access address information and a frequency hopping table, wherein the ID information comprises ID information of the frequency offset modulation module.
[0016] The first update instruction comprises ID information, connection state information, connection interval information, frequency hopping interval information, a current connection event count value and a last unmapped channel.
[0017] The second update instruction comprises a current connection event count value, a last unmapped channel and a frequency hopping table.
[0018] The stop instruction comprises ID information and connection state information.
[0019] Further, after sending the monitoring instruction to the plurality of frequency offset modulation modules, the method comprises:
[0020] sending the monitoring instruction to the plurality of frequency offset modulation modules, so that the frequency offset modulation modules obtain a communication channel with the digital key according to the frequency hopping interval, the current event count value, the last unmapped channel and the frequency hopping table, and perform radio frequency reception according to the communication channel to monitor data of an interaction signal sent by the digital key.
[0021] Further, the frequency offset modulation module obtains a received RSSI value by monitoring the interaction signal according to the monitoring instruction, which comprises:
[0022] The frequency offset modulation module monitors the interaction signal according to the monitoring instruction.
[0023] performing cyclic redundancy check information verification on the monitored interaction signal.
[0024] The cyclic redundancy check information is checked to be passed, and it is determined that the correct interaction signal is listened to;
[0025] An RSSI value in the correct interaction signal is obtained.
[0026] Further, the sending of the listening instruction to the plurality of frequency offset modulation modules comprises:
[0027] The starting instruction is sent to the plurality of frequency offset modulation modules, so that the frequency offset modulation module listens to the received signal strength indication value of the interaction signal sent by the digital key;
[0028] The first update instruction and the second update instruction are sent to the frequency offset modulation module in a timely manner, and the latest connection state information, connection interval information, frequency hopping interval information, current connection event count value, last unmapped channel and frequency hopping table are obtained from the frequency offset modulation module.
[0029] Further, the method comprises:
[0030] The plurality of frequency offset modulation modules are connected through a differential bus.
[0031] In a second aspect, the embodiments of the present application provide a multi-node digital key positioning device, comprising:
[0032] An instruction obtaining unit is configured to obtain a listening instruction according to a communication connection with a digital key;
[0033] A data transceiver unit is configured to send the listening instruction to a plurality of frequency offset modulation modules, so that the frequency offset modulation module listens to the interaction signal according to the listening instruction, and obtains the received signal strength indication value of the correct interaction signal after cyclic redundancy check;
[0034] An RSSI value obtaining unit is configured to receive the received signal strength indication value sent by the frequency offset modulation module;
[0035] A positioning operation unit is configured to perform positioning operation according to the received signal strength indication value, and determine the position of the digital key.
[0036] Further, the device further comprises a communication connection unit;
[0037] The communication connection unit is configured to broadcast information in a timely manner through a Bluetooth broadcast channel, so that the digital key initiates a connection request after scanning the broadcast information;
[0038] The connection request sent by the digital key is received to perform communication connection.
[0039] Further, the monitoring instruction comprises a starting instruction, a first updating instruction, a second updating instruction and a stopping instruction;
[0040] The starting instruction comprises ID information, connection state information, frequency hopping interval information, current connection event count value, last unmapped channel, cyclic redundancy check information initial value, access address information and frequency hopping table, wherein the ID information comprises ID information of the frequency offset modulation module;
[0041] The first updating instruction comprises ID information, connection state information, connection interval information, frequency hopping interval information, current connection event count value and last unmapped channel;
[0042] The second updating instruction comprises current connection event count value, last unmapped channel and frequency hopping table;
[0043] The stopping instruction comprises ID information and connection state information.
[0044] Further, the data transceiving unit is further configured to send the monitoring instruction to the plurality of frequency offset modulation modules, so that the frequency offset modulation modules acquire a communication channel of the digital key according to the frequency hopping interval, the current event count value, the last unmapped channel and the frequency hopping table, and the frequency offset modulation modules perform radio frequency reception according to the communication channel to monitor data of the interaction signal sent by the digital key.
[0045] Further, the apparatus further comprises a data processing unit;
[0046] The data processing unit is configured to monitor the interaction signal according to the monitoring instruction;
[0047] The monitored interaction signal is subjected to cyclic redundancy check information verification;
[0048] After the cyclic redundancy check information verification is passed, it is determined that a correct interaction signal is monitored;
[0049] The received signal strength indication value in the correct interaction signal is acquired.
[0050] Further, the data transceiving unit is further configured to send the starting instruction to the plurality of frequency offset modulation modules, so that the frequency offset modulation modules monitor the interaction signal sent by the digital key to obtain the received signal strength indication value;
[0051] The first updating instruction and the second updating instruction are sent to the frequency offset modulation modules at a timing, and the latest connection state information, connection interval information, frequency hopping interval information, current connection event count value, last unmapped channel and frequency hopping table fed back by the frequency offset modulation modules are acquired.
[0052] Further, the apparatus is further configured to connect to the plurality of frequency offset modulation modules through a differential bus.
[0053] In a third aspect, an embodiment of the present application provides a multi-node digital key positioning device, comprising:
[0054] a memory and one or more processors;
[0055] the memory is configured to store one or more programs;
[0056] When the one or more programs are executed by the one or more processors, the one or more processors are caused to implement the multi-node digital key positioning method according to the first aspect.
[0057] In a fourth aspect, an embodiment of the present application provides a storage medium storing computer executable instructions, which, when executed by a computer processor, are configured to implement the multi-node digital key positioning method according to the first aspect.
[0058] According to the communication connection with the digital key, the listening instruction is obtained, and the listening instruction is sent to the plurality of frequency offset modulation modules, so that the frequency offset modulation modules listen to the interaction signal according to the listening instruction, and the received signal strength indication value of the correct interaction signal after the cyclic redundancy check is obtained, the received signal strength indication value sent by the frequency offset modulation module is received, the positioning operation is performed on the received received signal strength indication value, and the position of the digital key is determined. By using the above technical means, the positioning operation can be performed on the received signal strength indication value of the correct interaction information after the cyclic redundancy check, so that the problem of low safety performance of the digital key positioning can be avoided, the accuracy and safety performance of the positioning operation data are ensured through the cyclic redundancy check, and the safety performance is provided by the digital key using the data channel communication and the Bluetooth security mechanism, so that the safety performance of the digital key positioning is improved. In addition, the listening is performed by the frequency offset modulation module, a plurality of frequency offset modulation modules can be flexibly deployed as the fixed anchor point, and the scalability is improved. BRIEF DESCRIPTION OF DRAWINGS
[0059] Figure 1 is a flowchart of a multi-node digital key positioning method provided by an embodiment of the present application;
[0060] Figure 2 is a connection diagram of various modules provided by an embodiment of the present application;
[0061] Figure 3 is a structural diagram of a multi-node digital key positioning apparatus provided by an embodiment of the present application;
[0062] Figure 4Fig. 1 is a structural schematic diagram of a multi-node digital key positioning device provided by an embodiment of the present application. DETAILED DESCRIPTION
[0063] In order to make the purposes, technical solutions and advantages of the present application clearer, the specific embodiments of the present application are further described in detail below with reference to the drawings. It can be understood that the specific embodiments described herein are only used to explain the present application, but not to limit the present application. In addition, it should be noted that, for the convenience of description, only parts related to the present application are shown in the drawings, but not all. Before discussing the example embodiments in more detail, it should be mentioned that some example embodiments are described as processes or methods depicted as flowcharts. Although the flowcharts describe the operations (or steps) as sequential processes, many of the operations can be implemented in parallel, concurrently or simultaneously. In addition, the order of the operations can be rearranged. The processes can be terminated when the operations are completed, but can also have additional steps not included in the drawings. The processes can correspond to methods, functions, procedures, subroutines, subprograms, etc.
[0064] The multi-node digital key positioning method, device, equipment and storage medium provided by the present application aim to guarantee the accuracy of positioning operation data by cyclic redundancy check information verification when positioning the digital key, so as to improve the security performance of digital key positioning. And by listening through the frequency offset modulation module, multiple frequency offset modulation modules can be flexibly deployed as fixed anchor points to improve scalability. Compared with the traditional digital key positioning method, which is usually broadcast, the positioning anchor point processes the received signal strength indication value in the received digital key broadcast Bluetooth signal to obtain the position of the digital key. However, it is difficult to verify the identity through the broadcast Bluetooth information, which may cause interference of the received information, resulting in positioning operation error and low security performance. Based on this, the multi-node digital key positioning method of the present embodiment is provided to solve the problem of low security performance of the existing digital key positioning.
[0065] Figure 1 A flowchart of a multi-node digital key positioning method provided by an embodiment of the present application is given. The multi-node digital key positioning method provided in the embodiment can be executed by a multi-node digital key positioning device. The multi-node digital key positioning device can be realized by software and / or hardware. The multi-node digital key positioning device can be composed of two or more physical entities, or one physical entity. Generally, the multi-node digital key positioning device can be a module with data transceiving function, such as a Bluetooth module.
[0066] The following takes the Bluetooth module as an example to describe the main body for executing the multi-node digital key positioning method.
[0067] Referring to Figure 1 The multi-node digital key positioning method specifically comprises the following steps:
[0068] S101, obtaining a listening instruction according to a communication connection with the digital key.
[0069] Figure 2 is a connection diagram of various modules provided by the embodiment of the present application, referring to Figure 2 , the Bluetooth module 12 is connected with a plurality of frequency offset modulation modules 13 through a differential bus. The differential bus includes a LIN differential bus, which belongs to a two-wire differential. The LIN data is transmitted through the two-wire differential mode instead of the existing single-wire mode, so that the transmission rate of the LIN differential bus can be as high as 500 kbps, and the listening failure caused by synchronization delay is greatly reduced. The LIN bus data format is based on a data frame, one data frame is composed of 8 bytes of data, one or more data frames form different instructions, and each data frame is assigned a different ID. The digital key 11 can be a mobile terminal, such as a mobile phone and the like. In the embodiment, the digital key 11 is taken as a mobile phone as an example for description. The Bluetooth broadcast channel broadcasts information in time, so that the digital key 11 initiates a connection request after scanning the broadcast information, and receives the connection request sent by the digital key 11 to establish a communication connection. After establishing a communication connection with the digital key 11 and completing the identity authentication of the digital key 11, a listening instruction is sent to a plurality of frequency offset modulation modules 13, wherein the frequency offset modulation module 13 includes a general FSK module, and the general FSK module is an FSK (Frequency-shift keying) listening module.
[0070] The listening instruction includes a start instruction, a first update instruction, a second update instruction and a stop instruction. The start instruction is composed of 3 data frames, specifically including ID information, connection state information, frequency hopping interval information, current connection event count value, last unmapped channel, cyclic redundancy check information (CRC) initial value, access address information and frequency hopping table, wherein the ID information includes the ID information of the frequency offset modulation module 13. The first update instruction is composed of 1 data frame, specifically including ID information, connection state information, connection interval information, frequency hopping interval information, current connection event count value and last unmapped channel. The second update instruction is composed of 1 data frame, specifically including current connection event count value, last unmapped channel and frequency hopping table. The stop instruction is composed of 1 data frame, specifically including ID information and connection state information. In addition, it also includes an RSSI reporting instruction, which is composed of a cut data frame and includes a transmission received signal strength indication value (RSSI value).
[0071] The connection state includes being in a connected state and being in a disconnected state. The frequency hopping interval information is used to calculate the next frequency hopping channel. By receiving the frequency hopping interval information, the corresponding channel used by the next communication is found in the frequency hopping table. The count value of the current connection event includes how many connection events currently exist, and the connection interval is the time interval between two adjacent connection events. Among them, the ID information in the start instruction, the connection state information, the current connection event count value and the last unmapped channel are generated by the Bluetooth module 12 itself configuration, and the frequency hopping interval information, the cyclic redundancy check information (CRC) initial value, the access address information and the frequency hopping table are generated according to the communication connection.
[0072] S102, send the listening instruction to the plurality of frequency offset modulation modules, so that the frequency offset modulation module listens to the interactive signal according to the listening instruction, and obtains the received signal strength indication value of the correct interactive signal after cyclic redundancy check.
[0073] After establishing a communication connection with the digital key 11 and completing the identity authentication of the digital key 11, the listening instruction is sent to the plurality of frequency offset modulation modules 13, so that the frequency offset modulation module 13 acquires the communication channel with the digital key 11 according to the frequency hopping interval, the current event count value, the last unmapped channel and the frequency hopping table, so that the frequency offset modulation module 13 performs radio frequency reception according to the communication channel to listen to the data of the interactive signal sent by the digital key 11.
[0074] In an embodiment, after establishing a communication connection with the digital key 11 and completing the identity authentication of the digital key 11, the start instruction is sent to the plurality of frequency offset modulation modules 13, so that the frequency offset modulation module 13 performs general FSK configuration according to the start instruction. The general FSK configuration includes data rate configuration and data format configuration, wherein the data rate configuration is 1Mbps, and the data format configuration is preamble, synchronization address, H0 is 8 bits, length field is 8 bits, H1 is 0 bit, data load and cyclic redundancy check information (CRC), to adapt to the Bluetooth data frame. Among them, the synchronization address is associated with the access address in the start instruction, the cyclic redundancy check information (CRC) is associated with the cyclic redundancy check information (CRC) initial value in the start instruction, and other configuration information data rate is 1Mbps, preamble, H0 is 8 bits, length field is 8 bits, H1 is 0 bit and data load belong to the self configuration information of the frequency offset modulation module 13. In addition, the frequency offset modulation module 13 also performs general FSK data whitening setting, general FSK cyclic redundancy check information (CRC) setting and synchronization address setting.
[0075] In an embodiment, after receiving the start instruction, the frequency offset modulation module 13 calculates the communication channel of the digital key 11 and the Bluetooth module 12 for data interaction according to the frequency hopping interval in the start instruction, the current event count value, the last unmapped channel and the frequency hopping table, and obtains the communication channel of the Bluetooth module 12 and the digital key 11. The frequency offset modulation module 13 opens the radio frequency reception on the communication channel and continuously receives until the end of the connection interval to listen to the data of the interaction signal sent by the digital key 11, and performs cyclic redundancy check information verification on the listened data of the interaction signal, and determines the correct interaction signal after the verification passes, and obtains the corresponding received signal strength indication value according to the correct interaction signal.
[0076] In an embodiment, the frequency offset modulation module 13 performs data processing on the received interaction signal, obtains the length field, continuously receives the data of the interaction signal into the buffer area according to the length field, and performs whitening processing on the data in the buffer area. The data packet length field is obtained by extracting and analyzing the interaction signal, so as to determine how and when to perform the required bit stream processing on the data. According to the length field, the data is continuously received into the packet receiving buffer, and the data is whitened and cyclic redundancy check information (CRC) verified in the receiving process.
[0077] In an embodiment, the frequency offset modulation module 13 matches the information in the interaction signal according to the listening instruction, and when the access address information matches and the interaction signal data packet whose cyclic redundancy check information verification (CRC verification) passes is the correct interaction signal data packet. The received signal strength indication value (RSSI value) is obtained by the received signal strength indication value estimator (RSSI estimator) estimating the energy of the input signal in the correct interaction signal. The received signal strength indication value (RSSI value) in the correct interaction signal is obtained, so as to realize one-time successful listening.
[0078] In an embodiment, if more than two received signal strength indication values are received in one connection interval, the first received signal strength indication value received is marked as a digital key 11 data packet, and the received signal strength indication value (RSSI value) of the digital key 11 data packet is saved, so as to realize one-time successful listening to the digital key 11.
[0079] S103、Receiving the received signal strength indication value sent by the frequency offset modulation module.
[0080] The frequency offset modulation module 13 listens to the interactive signal according to the listening instruction, and performs cyclic redundancy check information checking on the listened interactive signal. After the cyclic redundancy check information checking is passed, it is determined that a correct interactive signal is listened to, a received signal strength indication value in the correct interactive signal is obtained, and the received signal strength indication value in the correct interactive signal is sent to the Bluetooth module 12 through the LIN bus. The Bluetooth module 12 receives the received signal strength indication value sent by the frequency offset modulation module 13. The received signal strength indication value of the correct interactive information after the cyclic redundancy check is subjected to positioning operation, so as to avoid the problem of low positioning safety performance of the digital key. The accuracy and safety performance of the positioning operation data are ensured through the cyclic redundancy check, and the safety performance is provided by the digital key using data channel communication and the Bluetooth security mechanism, so as to improve the safety performance of the digital key positioning.
[0081] S104, performing positioning operation according to the received signal strength indication value to determine the position of the digital key.
[0082] The received signal strength indication values (RSSI values) fed back by the plurality of frequency offset modulation modules 13 are received, and positioning operation processing is performed according to the plurality of received signal strength indication values (RSSI values), so as to finally locate the position of the digital key 11.
[0083] In an embodiment, the start instruction is sent to the plurality of frequency offset modulation modules 13, so that the frequency offset modulation modules 13 listen to the received signal strength indication values of the interactive signals sent by the digital key 11. The first update instruction and the second update instruction are sent to the frequency offset modulation modules 13 at a timing, and the latest connection state information, connection interval information, frequency hopping interval information, current connection event count value, last unmapped channel and frequency hopping table fed back by the frequency offset modulation modules 13 are obtained.
[0084] For example, referring to Figure 2 , the listening process includes a configuration listening stage, a listening stage, a synchronization stage and a disconnection stage. Among them, the configuration listening stage includes that the Bluetooth module 12 establishes a communication connection with the digital key 11, and after the Bluetooth module 12 completes matching with the digital key 11, the Bluetooth module 12 sends a start instruction to the plurality of frequency offset modulation modules 13.
[0085] In an embodiment, the listening stage comprises that after the frequency offset modulation module 13 receives the start instruction, the frequency offset modulation module 13 calculates the communication channel of the digital key 11 and the Bluetooth module 12 for data interaction according to the frequency hopping interval in the start instruction, the current event count value, the last unmapped channel and the frequency hopping table, acquires the communication channel of the Bluetooth module 12 and the digital key 11, and opens the radio frequency reception on the communication channel and continuously receives until the end of the connection interval, so as to listen to the data of the interaction signal sent by the digital key 11 and acquire the received signal strength indication value. The Bluetooth module 12 receives the RSSI value reporting instruction of the frequency offset modulation module 13 to transmit the received signal strength indication value (RSSI value). The frequency offset modulation module 13 reports the received signal strength indication value (RSSI value) to the Bluetooth module 12 through the LIN differential bus.
[0086] In an embodiment, the listening stage further comprises that when the frequency offset modulation module 13 listens to the interaction signal, the frequency offset modulation module 13 determines the preamble format according to the first bit of the synchronization address in the received interaction signal information. When the first bit of the synchronization address is 0, the preamble is 0xAA. When the first bit of the synchronization address is 1, the preamble is 0x55. The frequency offset modulation module 13 performs the preamble detection through the physical layer. The frequency offset modulation module 13 searches for the specified synchronization address, and after triggering the synchronization address matching, stores the interaction signal information in the receiving buffer. The general FSK data packet processor of the frequency offset modulation module 13 extracts and analyzes the length field of the interaction signal information, so as to determine how and when to perform the required bit stream processing on the data. The frequency offset modulation module 13 continuously receives the data packet into the receiving buffer according to the length field. The data is subjected to the de-whitening processing and the CRC verification in the receiving process.
[0087] In an embodiment, the synchronization stage comprises that the Bluetooth module 12 sends the first update instruction and the second update instruction to the frequency offset modulation module 13 at irregular time. Since the digital key 11 will continuously update the frequency hopping table and the connection parameters according to the actual situation during the Bluetooth connection process, the Bluetooth module 12 needs to send the first update instruction and the second update instruction, so that the Bluetooth module 12 and the frequency offset modulation module 13 can synchronize the frequency hopping table, the connection interval information, the current connection event count value and the last unmapped channel at irregular time. After the frequency offset modulation module 13 receives the first update instruction and / or the second update instruction, the frequency offset modulation module 13 restarts the listening of the next connection event according to the new synchronization frequency hopping table, the connection interval information, the current connection event count value and the last unmapped channel. The disconnection stage comprises that after the Bluetooth module 12 disconnects with the digital key 11, the Bluetooth module 12 sends the stop instruction to the frequency offset modulation module 13 to stop the listening.
[0088] In an embodiment, the Bluetooth module 12 broadcasts information through a Bluetooth broadcast channel. After the digital key 11 scans the broadcast information of the Bluetooth module 12, the digital key 11 initiates a connection request to the Bluetooth module 12. The Bluetooth module 12 receives the connection request sent by the digital key 11 and establishes a communication connection with the digital key 11. After the Bluetooth module 12 establishes a communication connection with the digital key 11 and completes the identity authentication of the Bluetooth module 12 and the digital key 11, the Bluetooth module 12 sends a start instruction to the n frequency offset modulation modules 13, that is, the Bluetooth module 12 sends a start instruction to the frequency offset modulation module 131, the frequency offset modulation module 132, the frequency offset modulation module 133,..., and the frequency offset modulation module n respectively. The value of n can be set according to actual conditions, which is not limited in this embodiment. The frequency offset modulation module 131, the frequency offset modulation module 132, the frequency offset modulation module 133,..., and the frequency offset modulation module n calculate the communication channel for data interaction between the digital key 11 and the Bluetooth module 12 according to the frequency hopping interval, the current event count value, the last unmapped channel, and the frequency hopping table in the received start instruction, obtain the communication channel of the Bluetooth module 12 and the digital key 11, open the radio frequency reception on the communication channel, and continuously receive until the end of the connection interval to listen to the data of the interaction signal sent by the digital key 11 and obtain the received signal strength indication value. The frequency offset modulation module 131, the frequency offset modulation module 132, the frequency offset modulation module 133,..., and the frequency offset modulation module n obtain the cyclic redundancy check information corresponding to the interaction signal according to the listened interaction signal between the digital key 11 and the Bluetooth module 12, perform check on the cyclic redundancy check information, screen out correct interaction signals that match the access address information and pass the cyclic redundancy check (CRC check), extract and analyze the data packet of the correct interaction signal, obtain the data packet length field, and determine how and when to perform the required bit stream processing on the data. According to the length field, the data is continuously received into the packet receiving buffer, and the data is whitened in the receiving process. The frequency offset modulation module 131, the frequency offset modulation module 132, the frequency offset modulation module 133,..., and the frequency offset modulation module n listen to the received signal strength indication value (RSSI value) in the correct interaction signal, which are the RSSI value A listened by the frequency offset modulation module 131, the RSSI value B listened by the frequency offset modulation module 132, the RSSI value C listened by the frequency offset modulation module 133,..., and the RSSI value N listened by the frequency offset modulation module n.The frequency offset modulation module 131 sends the RSSI value A, the frequency offset modulation module 132 sends the RSSI value B, the frequency offset modulation module 133 sends the RSSI value C, and the frequency offset modulation module n sends the RSSI value N to the Bluetooth module 12 through the LIN differential bus. The Bluetooth module 12 performs positioning operation processing according to the RSSI value A, the RSSI value B, the RSSI value C, and the RSSI value N, and finally locates the position of the digital key 11.
[0089] In an embodiment, the LIN bus is generally a low-speed bus that returns cash, and the transmission speed can only reach 20 kbps at most. The transmission rate is low for monitoring, and there is a delay when starting monitoring and data synchronization, resulting in continuous monitoring failure. In the embodiment, the physical layer of the LIN bus is improved, and the LIN data is transmitted in a differential bus mode instead of a single-wire mode, so that the LIN transmission rate can be as high as 500 kbps, greatly reducing the monitoring failure caused by synchronization delay.
[0090] In an embodiment, the parameter synchronization is realized by the first update instruction and the second update instruction. Each synchronization needs to recalculate the communication channel to ensure the consistency of the monitoring channel and the Bluetooth connection channel, thereby improving the accuracy of monitoring and the security performance.
[0091] According to the above, the monitoring instruction is obtained according to the communication connection with the digital key 11, the monitoring instruction is sent to the plurality of frequency offset modulation modules 13, the frequency offset modulation modules 13 monitor the interaction signal according to the monitoring instruction, the received signal strength indication value of the correct interaction information after the cyclic redundancy check is obtained, the received signal strength indication value sent by the frequency offset modulation module 13 is received, and the positioning operation is performed on the received received signal strength indication value to determine the position of the digital key 11. By using the above technical means, the positioning operation is performed on the received signal strength indication value of the correct interaction information after the cyclic redundancy check, which can avoid the problem of low security performance of the digital key 11 positioning. The accuracy and security performance of the positioning operation data are ensured by the cyclic redundancy check, and the security performance is provided by the digital key using the data channel communication and the Bluetooth security mechanism, thereby improving the security performance of the digital key 11 positioning. In addition, the monitoring is performed by the frequency offset modulation module 13, and a plurality of frequency offset modulation modules 13 can be flexibly deployed as fixed-point anchors to improve the scalability.
[0092] On the basis of the above embodiment, Figure 3 A structure diagram of a multi-node digital key positioning device provided by the embodiment of the application is provided. Referring to Figure 3 The multi-node digital key positioning device provided by the embodiment includes an instruction acquisition unit 21, a data transceiver unit 22, a received signal strength indication value acquisition unit 23, and a positioning operation unit 24.
[0093] The instruction obtaining unit 21 is configured to obtain a monitoring instruction according to a communication connection with the digital key;
[0094] The data transceiving unit 22 is configured to send the monitoring instruction to the plurality of frequency offset modulation modules, so that the frequency offset modulation modules monitor the interaction signals according to the monitoring instruction to obtain a received signal strength indication value of a correct interaction signal after cyclic redundancy check;
[0095] The received signal strength indication value obtaining unit 23 is configured to receive the received signal strength indication value sent by the frequency offset modulation module;
[0096] The positioning operation unit 24 is configured to perform positioning operation according to the received signal strength indication value to determine the position of the digital key.
[0097] Further, the apparatus further comprises a communication connection unit;
[0098] The communication connection unit is configured to broadcast information in a Bluetooth broadcast channel in a time manner, so that the digital key initiates a connection request after scanning the broadcast information;
[0099] The connection request sent by the digital key is received to perform communication connection.
[0100] Further, the monitoring instruction comprises a start instruction, a first update instruction, a second update instruction and a stop instruction;
[0101] The start instruction comprises ID information, connection state information, frequency hopping interval information, a current connection event count value, a last unmapped channel, cyclic redundancy check information initial value, access address information and a frequency hopping table, wherein the ID information comprises ID information of the frequency offset modulation module;
[0102] The first update instruction comprises ID information, connection state information, connection interval information, frequency hopping interval information, a current connection event count value and a last unmapped channel;
[0103] The second update instruction comprises a current connection event count value, a last unmapped channel and a frequency hopping table;
[0104] The stop instruction comprises ID information and connection state information.
[0105] Further, the data transceiving unit 22 is further configured to send a listening instruction to the plurality of frequency offset modulation modules, so that the frequency offset modulation modules acquire a communication channel of the digital key according to the frequency hopping interval, the current event count value, the last unmapped channel and the frequency hopping table, and the frequency offset modulation modules perform radio frequency reception according to the communication channel to listen to data of the interaction signal sent by the digital key.
[0106] Further, the apparatus further comprises a data processing unit;
[0107] The data processing unit is configured to listen to the interaction signal according to the listening instruction.
[0108] The listened interaction signal is subjected to cyclic redundancy check information verification.
[0109] After the cyclic redundancy check information verification is passed, it is determined that the correct interaction signal is listened to.
[0110] The received signal strength indication value in the correct interaction signal is acquired.
[0111] Further, the data transceiving unit 22 is further configured to send the starting instruction to the plurality of frequency offset modulation modules, so that the frequency offset modulation modules listen to the interaction signal sent by the digital key to obtain the received signal strength indication value.
[0112] The first update instruction and the second update instruction are sent to the frequency offset modulation modules at a timing, and the latest connection state information, the connection interval information, the frequency hopping interval information, the current connection event count value, the last unmapped channel and the frequency hopping table fed back by the frequency offset modulation modules are acquired.
[0113] Further, the apparatus is further configured to be connected to the plurality of frequency offset modulation modules through a differential bus.
[0114] According to the above technical means, the receiving signal strength indication value of the correct interaction information after the cyclic redundancy check can be subjected to positioning operation, thereby avoiding the problem of low positioning safety performance of the digital key, and the accuracy and safety performance of the positioning operation data are ensured through the cyclic redundancy check, and the safety performance is provided by the data channel communication and the Bluetooth security mechanism used by the digital key, thereby improving the safety performance of the digital key positioning. In addition, the frequency offset modulation module can be flexibly deployed as a fixed anchor point, thereby improving the scalability.
[0115] The multi-node digital key positioning device provided by the embodiments of the present application can be used to execute the multi-node digital key positioning method provided by the above embodiments, and has the corresponding functions and beneficial effects.
[0116] The embodiments of the present application provide a multi-node digital key positioning device, which refers to Figure 4 The multi-node digital key positioning device includes a processor 31, a memory 32, a communication module 33, an input device 34, and an output device 35. The number of processors in the multi-node digital key positioning device can be one or more, and the number of memories in the multi-node digital key positioning device can be one or more. The processor, the memory, the communication module, the input device, and the output device of the multi-node digital key positioning device can be connected through a bus or other means.
[0117] The memory 32, as a computer readable storage medium, can be used to store software programs, computer executable programs and modules, such as program instructions / modules corresponding to the multi-node digital key positioning method as described in any embodiment of the present application (for example, the instruction acquisition unit, the data transceiving unit, the received signal strength indication value acquisition unit and the positioning operation unit in the multi-node digital key positioning device). The memory can mainly include a program storage area and a data storage area, wherein the program storage area can store an operating system and application programs required by at least one function; and the data storage area can store data created according to the use of the device and the like. In addition, the memory can include a high-speed random access memory, and can also include a non-volatile memory, such as at least one magnetic disk storage device, a flash memory device or other non-volatile solid-state memory device. In some examples, the memory can further include a memory remotely arranged with respect to the processor, which can be connected to the device through a network. Examples of the above network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network and a combination thereof.
[0118] The communication module 33 is used for data transmission.
[0119] The processor 31 executes various function applications and data processing of the device by running the software programs, instructions and modules stored in the memory, that is, implements the above-mentioned multi-node digital key positioning method.
[0120] The input device 34 can be used to receive input digital or character information, and generate key signal input related to user settings and function control of the device. The output device 35 can include a display device such as a display screen.
[0121] The multi-node digital key positioning device provided above can be used to execute the multi-node digital key positioning method provided in the above-mentioned embodiments, and has corresponding functions and beneficial effects.
[0122] The embodiment of the present application also provides a storage medium storing computer executable instructions, which, when executed by a computer processor, are used to execute a multi-node digital key positioning method, the multi-node digital key positioning method comprising: acquiring a listening instruction according to a communication connection with a digital key; sending the listening instruction to a plurality of frequency offset modulation modules, so that the frequency offset modulation modules listen to an interaction signal according to the listening instruction to obtain a received signal strength indication value of a correct interaction signal after cyclic redundancy check; receiving the received signal strength indication value sent by the frequency offset modulation module; and performing positioning operation according to the received signal strength indication value to determine the position of the digital key.
[0123] Storage medium - any type of memory device or storage device. The term "storage medium" is intended to include an installation medium, e.g., a CD-ROM, floppy disks, or tape apparatus; computer system memory or random access memory such as DRAM, DDR RAM, SRAM, EDO RAM, Rambus RAM, etc.; or a non-volatile memory such as a magnetic medium (e.g., a hard drive or optical storage); registers or other similar types of memory elements, etc. The memory medium can also include other types of storage medium or combinations thereof. In addition, the memory medium can reside in a first computer system's main memory, or in a second different computer system's memory, which second computer system can provide the first computer system with an instruction for execution. The term "memory medium" can also include two or more memory mediums that reside in different places, e.g., in different computer systems that are connected through a network such as the Internet. The memory medium can store program instructions that can be executed by one or more processors (e.g., embodied in one or more computer programs).
[0124] Of course, the storage medium storing computer executable instructions provided by the embodiments of the present application is not limited to the multi-node digital key positioning method as described above, and can also execute the related operations in the multi-node digital key positioning method provided by any of the embodiments of the present application.
[0125] The multi-node digital key positioning apparatus, the storage medium and the multi-node digital key positioning device provided in the above embodiments can execute the multi-node digital key positioning method provided by any of the embodiments of the present application, and the technical details not described in the above embodiments can be referred to the multi-node digital key positioning method provided by any of the embodiments of the present application.
[0126] The above are only the preferred embodiments of the present application and the technical principles applied. The present application is not limited to the specific embodiments described herein, and various obvious changes, re-adjustments and replacements made by those skilled in the art will not deviate from the protection scope of the present application. Therefore, although the present application has been described in more detail through the above embodiments, the present application is not limited to the above embodiments, and can also include more other equivalent embodiments without deviating from the concept of the present application, and the scope of the present application is determined by the scope of the claims.
Claims
1. A multi-node digital key positioning method, characterized in that, The following steps are performed by the Bluetooth module, and the method includes: The monitoring instructions are obtained based on the communication connection with the digital key. The monitoring instructions include a first update instruction, a second update instruction, and a start instruction. The first update instruction includes ID information, connection status information, connection interval information, frequency hopping interval information, current connection event count value, and the previous unmapped channel. The second update instruction includes the current connection event count value, the previous unmapped channel, and the frequency hopping table. The system connects to multiple frequency offset modulation modules via a LIN differential bus. The monitoring command is sent to these modules, including: sending a start command to each module to enable them to monitor the interaction signal sent by the digital key and obtain a received signal strength indication value; periodically sending the first and second update commands to each module; and providing feedback to the modules on the latest connection status information, connection interval information, frequency hopping interval information, current connection event count, previous unmapped channel, and frequency hopping table. When a frequency offset modulation module detects the interaction signal, it extracts and parses the length field of the interaction signal. Based on the length field, it determines the method and timing for performing bitstream processing on the data, including: determining the preamble format based on the first bit of the synchronization address in the interaction signal; when the first bit of the synchronization address is 0, the preamble is determined to be 0xA. A. When the first bit of the synchronization address is 1, the preamble is determined to be 0x55, and a target synchronization address is searched to trigger synchronization address matching. The interaction signal is stored in the receiving buffer. Storing the interaction signal in the receiving buffer includes: continuously storing the interaction signal in the receiving buffer and performing dewhitening processing according to the length field to obtain the received signal strength indication value of the correct interaction signal after cyclic redundancy check. This includes: the frequency offset modulation module obtains the communication channel with the digital key according to the frequency hopping interval information, the current connection event count value, the previous unmapped channel, and the frequency hopping table, so that the frequency offset modulation module performs radio frequency reception according to the communication channel to listen to the data of the interaction signal sent by the digital key, performs cyclic redundancy check information verification on the listened interaction signal, and determines that the correct interaction signal has been listened to after the cyclic redundancy check information verification is passed, and obtains the received signal strength indication value in the correct interaction signal. Receive the received signal strength indication value sent by the frequency offset modulation module; The location of the digital key is determined by performing a positioning calculation based on the received signal strength indication value.
2. The multi-node digital key positioning method according to claim 1, characterized in that, Before obtaining the listening instruction based on the communication connection with the digital key, the process includes: Information is broadcast periodically via Bluetooth broadcast channel so that the digital key initiates a connection request after scanning the broadcast information; Receive the connection request sent by the digital key to establish a communication connection.
3. The multi-node digital key positioning method according to claim 1, characterized in that, The monitoring instructions include a stop instruction; The startup command includes ID information, connection status information, frequency hopping interval information, current connection event count value, previous unmapped channel, initial value of cyclic redundancy check information, access address information, and frequency hopping table, wherein the ID information includes the ID information of the frequency offset modulation module; The stop command includes ID information and connection status information.
4. A multi-node digital key positioning device, characterized in that, include: The instruction acquisition unit is used to acquire monitoring instructions based on the communication connection with the digital key. The monitoring instructions include a first update instruction, a second update instruction, and a start instruction. The first update instruction includes ID information, connection status information, connection interval information, frequency hopping interval information, current connection event count value, and the previous unmapped channel. The second update instruction includes the current connection event count value, the previous unmapped channel, and a frequency hopping table. The data transceiver unit is used to connect to multiple frequency offset modulation modules via a LIN differential bus, and to send the monitoring command to the multiple frequency offset modulation modules. This includes: sending the start command to the multiple frequency offset modulation modules so that the frequency offset modulation modules can monitor the interaction signal sent by the digital key to obtain a received signal strength indication value; periodically sending the first update command and the second update command to the frequency offset modulation modules; and feeding back the latest connection status information, connection interval information, frequency hopping interval information, current connection event count value, the previous unmapped channel, and the frequency hopping table to the frequency offset modulation modules. A received signal strength indication value acquisition unit is used to receive the received signal strength indication value sent by the frequency offset modulation module; A positioning calculation unit is used to perform positioning calculations based on the received signal strength indication value to determine the location of the digital key; The frequency offset modulation module, upon detecting the interaction signal, extracts and parses the length field of the interaction signal. Based on the length field, it determines the method and timing for performing bitstream processing on the data. Specifically, it is used to: determine the preamble format based on the first bit of the synchronization address in the interaction signal; when the first bit of the synchronization address is 0, the preamble is determined to be 0xAA; when the first bit of the synchronization address is 1, the preamble is determined to be 0x55; search for a target synchronization address; trigger synchronization address matching; and store the interaction signal in the receive buffer. Storing the interaction signal in the receive buffer specifically includes: based on the length field... The process involves continuously storing the interaction signal in a receiving buffer and performing dewhitening processing to obtain the received signal strength indication value of the correct interaction signal after cyclic redundancy check (CRUD). Specifically, it also includes: obtaining the communication channel with the digital key based on the frequency hopping interval information, the current connection event count value, the previous unmapped channel, and the frequency hopping table, so that the frequency offset modulation module can perform radio frequency reception based on the communication channel to listen to the data of the interaction signal sent by the digital key, performing CRUD information verification on the listened interaction signal, and determining that the correct interaction signal has been listened to after the CRUD information verification passes, and obtaining the received signal strength indication value in the correct interaction signal.
5. A multi-node digital key positioning device, characterized in that, include: Memory and one or more processors; The memory is used to store one or more programs; When the one or more programs are executed by the one or more processors, the one or more processors cause the one or more processors to implement the method as described in any one of claims 1-3.
6. A storage medium for storing computer-executable instructions, characterized in that, The computer-executable instructions, when executed by a processor, are used to perform the method as described in any one of claims 1-3.
Citation Information
Patent Citations
Method for acquiring RSSI, positioning method, slave receiver and master receiver
CN110557717A
Multi-Bluetooth module and control method thereof
CN112396736A
Digital key positioning method based on Bluetooth RSSI
CN112600973A
RSSI-based digital key unlocking terminal positioning method and system
CN113298985A
Vehicle key positioning method and system based on Bluetooth
CN114071435A