CN112235732B - Equipment matching method for Bluetooth positioning - Google Patents

Equipment matching method for Bluetooth positioning Download PDF

Info

Publication number
CN112235732B
CN112235732B CN202010981224.0A CN202010981224A CN112235732B CN 112235732 B CN112235732 B CN 112235732B CN 202010981224 A CN202010981224 A CN 202010981224A CN 112235732 B CN112235732 B CN 112235732B
Authority
CN
China
Prior art keywords
bluetooth
main node
identification key
intelligent
node
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202010981224.0A
Other languages
Chinese (zh)
Other versions
CN112235732A (en
Inventor
陈枭雄
项康泰
樊旭颖
张斌
王雨竹
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
United Automotive Electronic Systems Co Ltd
Original Assignee
United Automotive Electronic Systems Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by United Automotive Electronic Systems Co Ltd filed Critical United Automotive Electronic Systems Co Ltd
Priority to CN202010981224.0A priority Critical patent/CN112235732B/en
Publication of CN112235732A publication Critical patent/CN112235732A/en
Application granted granted Critical
Publication of CN112235732B publication Critical patent/CN112235732B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/80Services using short range communication, e.g. near-field communication [NFC], radio-frequency identification [RFID] or low energy communication
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/06Selective distribution of broadcast services, e.g. multimedia broadcast multicast service [MBMS]; Services to user groups; One-way selective calling services
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • H04W76/14Direct-mode setup
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W8/00Network data management
    • H04W8/005Discovery of network devices, e.g. terminals

Abstract

The invention provides a device matching method for Bluetooth positioning, which utilizes intelligent devices to manage the identification code of the intelligent device and the Bluetooth broadcast MAC sent by a main node, the intelligent device with the self identification code can always actively send the identification code and the Bluetooth broadcast to the main node after establishing Bluetooth with the main node and authenticating, thus, the auxiliary node in communication connection with the main node can realize stable acquisition of the identification code of the intelligent equipment and the Bluetooth broadcast MAC, on one hand, the problem that the broadcast cannot be identified due to the fact that part of the intelligent equipment hides the broadcast data content is solved, on the other hand, the problem that the main node at the vehicle end cannot normally communicate and position due to the fact that the main node loses the pairing information of the intelligent equipment is solved, the auxiliary node of the Bluetooth PEPS system can more stably acquire the RSSI broadcasted by the intelligent equipment, so that the intelligent equipment can be positioned in a Bluetooth mode.

Description

Equipment matching method for Bluetooth positioning
Technical Field
The invention relates to the technical field of intelligent automobiles, in particular to an equipment matching method for Bluetooth positioning.
Background
The conventional BLE-PEPS (Bluetooth low energy-keyless start system) comprises a main node and an auxiliary node with different numbers.
The common method for acquiring the RSSI (received Signal Strength indication) of the BLE-PEPS system comprises the following two methods:
(1) the RSSI measurement of the connection channel between the intelligent device (such as a smart phone, a smart bracelet, a smart watch and the like) and the main node and the RSSI measurement of the connection channel between the intelligent device and the auxiliary node are combined together to obtain the RSSI measurement value of the main node and the auxiliary node, and the RSSI measurement value is used for positioning the intelligent device. In this way, since the smart device needs to be connected to multiple nodes on the vehicle at the same time, when the number of bluetooth nodes on the vehicle is large (greater than 3), the smart device cannot be stably connected to multiple modules on the vehicle at the same time, and thus the usage of the scheme is limited.
(2) The RSSI measurement of the connection channel between the intelligent equipment and the main node and the RSSI measurement of the broadcast sent by the intelligent equipment by the auxiliary node are combined together to obtain the RSSI measurement value of the main node and the auxiliary node for positioning the intelligent equipment. The key point of this scheme is that the secondary node can successfully filter out the broadcasts of the connected intelligent devices. However, during normal use, the following problems are encountered: the smart device may shield the broadcast content in some scenarios (e.g., turning off the screen), so that the secondary node cannot filter the broadcast of the smart device through the broadcast content, which results in that when the secondary node wants to identify the broadcast of the smart device, information such as an Identity decoding Key (IRK) of the smart device must be obtained to resolve a Media Access Control Address (MAC) of the broadcast of the smart device, so as to implement filtering of the broadcast. Therefore, the master node must pair with the smart device to acquire the IRK. In the conventional pairing, part of pairing information is deleted when the main node pairing information is full, so that the main node and the intelligent device with the deleted pairing information cannot realize pairing information synchronization, and further normal communication and positioning cannot be performed.
Disclosure of Invention
The invention aims to provide an equipment matching mode for Bluetooth positioning, and the equipment matching mode is used for solving the problem that normal communication and positioning cannot be performed between a main node and intelligent equipment due to the fact that the auxiliary node cannot filter out the broadcast of the intelligent equipment because the main node at a vehicle end loses the pairing information of the intelligent equipment in the prior art.
In order to solve the above technical problem, the present invention provides an apparatus matching method for bluetooth positioning, comprising:
s10, after passing the authentication of an intelligent device, the main node judges whether the identity identification key and the Bluetooth broadcast MAC of the intelligent device are received from the intelligent device; if yes, go to step S11, otherwise go to step S12;
s11, sending the identification key and the Bluetooth broadcast MAC to an auxiliary node, so that the auxiliary node identifies the Bluetooth broadcast of the intelligent device according to the identification key;
s12, performing Bluetooth pairing with the intelligent device, acquiring the identification password and the Bluetooth broadcast MAC of the intelligent device after the Bluetooth pairing is passed, sending the identification password and the Bluetooth broadcast MAC to the intelligent device, receiving the identification key and the Bluetooth broadcast MAC of the intelligent device from the intelligent device after the intelligent device is authenticated next time, and executing the step S11.
Optionally, in the device matching method for bluetooth positioning, the method for the master node to authenticate the smart device includes:
the main node sends Bluetooth broadcast, and establishes Bluetooth connection with the intelligent equipment after being scanned by the intelligent equipment; and the number of the first and second groups,
and carrying out asymmetric authentication on the Bluetooth channel and the intelligent equipment.
Optionally, in the device matching method for bluetooth positioning, the method for bluetooth pairing between the master node and the smart device includes:
the main node sends a safety connection request to trigger the intelligent equipment to send a Bluetooth pairing request; and the number of the first and second groups,
and the main node sends out a pairing response according to the Bluetooth pairing request sent by the intelligent equipment, and then completes pairing with the intelligent equipment.
Based on the same idea, the invention also provides a device matching method for Bluetooth positioning, which comprises the following steps:
s20, after the intelligent device is authenticated by a main node, judging whether the identity identification key and the Bluetooth broadcast MAC of the intelligent device are stored; if yes, go to step S21, otherwise go to step S22;
s21, sending the identification key and the Bluetooth broadcast MAC to the main node, so that the auxiliary node in communication connection with the main node can identify the Bluetooth broadcast of the intelligent device through the identification key;
S22, after the main node sends out the safety connection request, it sends the Bluetooth pairing request to the main node to carry out the Bluetooth pairing with the main node, and after the pairing is passed, it receives the ID identification key and the Bluetooth broadcast MAC of the intelligent device obtained by the main node, and after the next authentication by the main node, it executes the step S21.
Optionally, in the device matching method for bluetooth positioning, the method for bluetooth pairing between the intelligent device and the host node includes:
after receiving a security connection request sent by the main node, sending a Bluetooth pairing request to the main node; and (c) a second step of,
and after the main node makes a pairing response according to the Bluetooth pairing request, completing the pairing with the main node.
Optionally, in the device matching method for bluetooth positioning, the device matching method for bluetooth positioning further includes:
after receiving the identity identification key and the Bluetooth broadcast MAC acquired by the main node, storing the identity identification key and the Bluetooth broadcast MAC to an application layer, and after passing authentication of one main node, judging whether the application layer has the identity identification key and the Bluetooth broadcast MAC; and (c) a second step of,
Setting a first flag bit and a second flag bit on the application layer of the intelligent device, and if the application layer is judged to have the identity identification key and the Bluetooth broadcast MAC, sending the identity identification key and the Bluetooth broadcast MAC to the main node, and sending the first flag bit to the main node; and if the application layer is judged to be free from the identification key and the Bluetooth broadcast MAC, the second zone bit is used as a signal for representing that the application layer is free from the identification key and the Bluetooth broadcast MAC, and the signal is sent to the main node.
Based on the same idea, the invention also provides a device matching method for Bluetooth positioning, which comprises the following steps:
s30, the main node authenticates the intelligent device; if the authentication is passed, go to step S31;
s31, the intelligent device judges whether the self identification code and the Bluetooth broadcast MAC exist; if yes, go to step S32, otherwise go to step S34;
s32, sending the identification password and the Bluetooth broadcast MAC to the intelligent device, so that the auxiliary node in communication connection with the main node can identify the Bluetooth broadcast of the intelligent device through the identification key;
S33, the master node and the Bluetooth broadcast are paired, after the pairing is passed, the master node obtains the identification code of the intelligent device and the Bluetooth broadcast MAC, and sends the identification code and the Bluetooth broadcast MAC to the intelligent device, so that the intelligent device executes the step S32 after the intelligent device is authenticated by the master node next time.
Optionally, in the device matching method for bluetooth positioning, the method for the master node to authenticate the smart device includes:
the main node sends Bluetooth broadcast;
after the intelligent equipment scans the Bluetooth broadcast, Bluetooth connection is established between the intelligent equipment and the main node;
and the main node and the intelligent equipment perform asymmetric authentication in a Bluetooth channel.
Optionally, in the device matching method for bluetooth positioning, the method for bluetooth pairing between the master node and the smart device includes:
the main node sends a safe connection request;
the intelligent equipment sends a Bluetooth pairing request after receiving the safety connection request;
and the main node sends a pairing response after receiving the Bluetooth pairing request, so that the intelligent equipment is paired.
Optionally, in the device matching method for bluetooth positioning, the device matching method for bluetooth positioning further includes:
after receiving the identity identification key and the Bluetooth broadcast MAC acquired by the main node, the intelligent device stores the identity identification key and the Bluetooth broadcast MAC to an application layer, and judges whether the application layer has the identity identification key and the Bluetooth broadcast MAC after being authenticated by the main node; and the number of the first and second groups,
setting a first flag bit and a second flag bit in an application layer of the intelligent device, if the intelligent device judges that the identity identification key and the bluetooth broadcast MAC exist in the application layer, sending the first flag bit to the main node when the identity identification key and the bluetooth broadcast MAC are sent to the main node, and if the intelligent device judges that the identity identification key and the bluetooth broadcast MAC do not exist in the application layer, sending the second flag bit to the main node as a signal for representing that the identity identification key and the bluetooth broadcast MAC do not exist in the application layer.
In summary, the device matching method for bluetooth positioning provided by the present invention includes: the main node authenticates the intelligent equipment; if the authentication is passed, the intelligent equipment judges whether an identity identification password and a Bluetooth broadcast MAC exist in an application layer; if the identity identification password exists, the identity identification password and the Bluetooth broadcast MAC are sent to the intelligent equipment, so that an auxiliary node in communication connection with the main node can identify the Bluetooth broadcast of the intelligent equipment through the identity identification key; if the identity identification key does not exist, the master node and the Bluetooth broadcast are subjected to Bluetooth pairing, after the pairing is passed, the master node acquires the identity identification password and the Bluetooth broadcast MAC of the intelligent equipment and sends the identity identification password and the Bluetooth broadcast MAC to the intelligent equipment, so that the intelligent equipment sends the identity identification password and the Bluetooth broadcast MAC to the intelligent equipment after the intelligent equipment is authenticated by the master node next time, and an auxiliary node in communication connection with the master node identifies the Bluetooth broadcast of the intelligent equipment through the identity identification key; . By adopting the equipment matching method for Bluetooth positioning provided by the invention, the intelligent equipment which stores the identity identification code sent by the main node can always actively send the identity identification code and Bluetooth broadcast to the main node after establishing Bluetooth with the main node and passing authentication, so that the auxiliary node which is in communication connection with the main node can realize stable acquisition of the identity identification code and Bluetooth broadcast MAC of the intelligent equipment, on one hand, the problem that broadcast cannot be identified due to the fact that part of the intelligent equipment hides the broadcast data content is solved, on the other hand, the problem that normal communication and positioning cannot be carried out due to the fact that the main node at the vehicle end loses the pairing information of the intelligent equipment is solved, the auxiliary node of a Bluetooth PEPS system can more stably acquire the broadcast of the intelligent equipment, and the RSSI can carry out Bluetooth positioning on the intelligent equipment.
Drawings
Fig. 1 is a flowchart of a device matching method for bluetooth positioning according to an embodiment of the present invention;
fig. 2 is a flowchart of a device matching method for bluetooth positioning according to another embodiment of the present invention;
fig. 3 is a flowchart of a device matching method for bluetooth positioning according to another embodiment of the present invention.
Detailed Description
The following describes the device matching method for bluetooth positioning according to the present invention in further detail with reference to the accompanying drawings and specific embodiments. The advantages and features of the present invention will become more apparent from the following description. It is to be noted that the drawings are in a very simplified form and are not to precise scale, which is provided for the purpose of facilitating and clearly illustrating embodiments of the present invention. Further, the structures illustrated in the drawings are intended to be part of actual structures. In particular, the drawings may have different emphasis points and may sometimes be scaled differently.
An embodiment of the present invention provides an apparatus matching method for bluetooth positioning, as shown in fig. 1, including the following steps:
s10, after the master node passes the authentication of an intelligent device, judging whether the identity identification key and the Bluetooth broadcast MAC of the intelligent device are received from the intelligent device; if yes, go to step S11, otherwise go to step S12;
S11, sending the identification key and the Bluetooth broadcast MAC to an auxiliary node, so that the auxiliary node identifies the Bluetooth broadcast of the intelligent device according to the identification key;
s12, performing Bluetooth pairing with the intelligent device, acquiring the identification code and the Bluetooth broadcast MAC of the intelligent device after the Bluetooth pairing is passed, sending the identification code and the Bluetooth broadcast MAC to the intelligent device, receiving the identification key and the Bluetooth broadcast MAC of the intelligent device from the intelligent device after the intelligent device passes the next authentication, and executing the step S11.
That is, after the master node passes the authentication with an intelligent device, if the identity identification key (IRK) and the bluetooth broadcast MAC of the intelligent device cannot be received from the intelligent device, the IRK and the bluetooth broadcast MAC of the intelligent device are actively acquired, and after the IRK and the bluetooth broadcast MAC of the intelligent device are acquired, the IRK and the bluetooth broadcast MAC which are actively transmitted by the intelligent device are received after the master node passes the authentication with the intelligent device next time, so that on one hand, the problem that the broadcast cannot be identified due to the fact that part of the intelligent device hides the broadcast data content is solved, on the other hand, the problem that the vehicle master node cannot normally communicate and locate due to the fact that the pairing information of the intelligent device is lost is solved, and the auxiliary node of the bluetooth PEPS system can more stably acquire the RSSI broadcasted by the intelligent device, therefore, the intelligent device can be positioned in the Bluetooth mode.
In step S10, the authenticating, by the master node, the smart device may include:
the main node sends Bluetooth broadcast, and establishes Bluetooth connection with the intelligent equipment after the main node is scanned by the intelligent equipment; and (c) a second step of,
and carrying out asymmetric authentication on the Bluetooth channel and the intelligent equipment. The asymmetric authentication may be based on a communication protocol GEEA2.0 of the master node and the smart device.
In step S12, the bluetooth matching between the master node and the smart device may include the following steps:
the main node sends a safety connection request to trigger the intelligent equipment to send a Bluetooth pairing request; and the number of the first and second groups,
and the main node sends out a pairing response according to the Bluetooth pairing request sent by the intelligent equipment, and then completes pairing with the intelligent equipment.
Another embodiment of the present invention provides an apparatus matching method for bluetooth positioning, as shown in fig. 2, including the following steps:
s20, after the intelligent device is authenticated by a main node, judging whether the identity identification key and the Bluetooth broadcast MAC of the intelligent device are stored; if yes, go to step S21, otherwise go to step S22;
s21, sending the identification key and the Bluetooth broadcast MAC to the main node, so that the auxiliary node in communication connection with the main node can identify the Bluetooth broadcast of the intelligent device through the identification key;
S22, after the master node sends a security connection request, sending a bluetooth pairing request to the master node to perform bluetooth pairing with the master node, and after the pairing is passed, receiving the identity key and the bluetooth broadcast MAC of the smart device acquired by the master node, and after the master node passes the authentication next time, executing step S21.
The identity identification key sent to the main node is used for enabling an auxiliary node in communication connection with the main node to identify the Bluetooth broadcast of the intelligent equipment.
In step S22, the process of performing bluetooth pairing between the secondary node and the primary node includes:
after receiving a security connection request sent by the main node, sending a Bluetooth pairing request to the main node; and the number of the first and second groups,
and after the main node makes a pairing response according to the Bluetooth pairing request, completing the pairing with the main node.
Preferably, the method for bluetooth positioning further includes:
after receiving the identity identification key and the Bluetooth broadcast MAC acquired by the main node, storing the identity identification key and the Bluetooth broadcast MAC to an application layer, and after passing authentication of one main node, judging whether the application layer has the identity identification key and the Bluetooth broadcast MAC; and the number of the first and second groups,
Setting a first flag bit and a second flag bit in the application layer of the intelligent device, and if the intelligent device judges that the identification key and the bluetooth broadcast MAC exist in the application layer, sending the identification key and the bluetooth broadcast MAC to the main node, and sending the first flag bit to the main node; and if the intelligent device judges that the identification key and the Bluetooth broadcast MAC do not exist in the application layer, the second zone bit is used as a signal for representing that the identification key and the Bluetooth broadcast MAC do not exist in the application layer and is sent to the main node.
Through the setting of the first zone bit and the second zone bit, when the main node receives the second zone bit, the fact that the intelligent device cannot send the identification key and the Bluetooth broadcast MAC can be obtained, Bluetooth pairing is further executed, when the main node receives the first zone bit, the identification key and the Bluetooth broadcast MAC are analyzed, namely the main node can quickly judge subsequent steps, and therefore the time of the whole matching process is shortened.
Another embodiment of the present invention provides an apparatus matching method for bluetooth positioning, as shown in fig. 3, including the following steps:
s30, the main node authenticates the intelligent device; if the authentication is passed, go to step S31;
s31, the intelligent device judges whether the self identification code and the Bluetooth broadcast MAC exist; if yes, go to step S32, otherwise go to step S34;
s32, sending the identification password and the Bluetooth broadcast MAC to the intelligent device, so that the auxiliary node in communication connection with the main node can identify the Bluetooth broadcast of the intelligent device through the identification key;
s33, the master node and the Bluetooth broadcast are paired, after the pairing is passed, the master node obtains the identification code of the intelligent device and the Bluetooth broadcast MAC, and sends the identification code and the Bluetooth broadcast MAC to the intelligent device, so that the intelligent device executes the step S32 after the intelligent device is authenticated by the master node next time.
In step S31, the authenticating, by the master node, the smart device may specifically include:
the main node sends Bluetooth broadcast; after the intelligent equipment scans the Bluetooth broadcast, the intelligent equipment establishes Bluetooth connection with the main node; and the number of the first and second groups,
The main node and the intelligent equipment perform asymmetric authentication in a Bluetooth channel; the asymmetric authentication may be based on a communication protocol GEEA2.0 of the master node and the smart device.
In step S32, the process of performing bluetooth pairing between the master node and the smart device includes:
the main node sends a safe connection request;
the intelligent equipment sends a Bluetooth pairing request after receiving the safety connection request;
and the main node sends a pairing response after receiving the Bluetooth pairing request, so that the intelligent equipment is paired.
Preferably, the device method for bluetooth positioning provided by this implementation further includes:
after receiving the identity identification key and the Bluetooth broadcast MAC acquired by the main node, the intelligent device stores the identity identification key and the Bluetooth broadcast MAC to an application layer, and judges whether the application layer has the identity identification key and the Bluetooth broadcast MAC after being authenticated by the main node; and the number of the first and second groups,
setting a first flag bit and a second flag bit in the application layer of the intelligent device, and if the intelligent device judges that the identity identification key and the Bluetooth broadcast MAC exist in the application layer, sending the first flag bit to the main node when the identity identification key and the Bluetooth broadcast MAC are sent to the main node; and if the intelligent device judges that the identification key and the Bluetooth broadcast MAC do not exist in the application layer, the second zone bit is used as a signal for representing that the identification key and the Bluetooth broadcast MAC do not exist in the application layer and is sent to the main node.
Through the setting of the first zone bit and the second zone bit, when the main node receives the second zone bit, the fact that the intelligent device cannot send the identification key and the Bluetooth broadcast MAC can be obtained, Bluetooth pairing is further executed, when the main node receives the first zone bit, the identification key and the Bluetooth broadcast MAC are analyzed, namely the main node can quickly judge subsequent steps, and therefore the time of the whole matching process is shortened.
In summary, the device matching method for bluetooth positioning provided by the present invention includes: the main node authenticates the intelligent equipment; if the authentication is passed, the intelligent equipment judges whether an identity identification password and a Bluetooth broadcast MAC exist in an application layer; if the identity identification password exists, the identity identification password and the Bluetooth broadcast MAC are sent to the intelligent equipment, so that an auxiliary node in communication connection with the main node can identify the Bluetooth broadcast of the intelligent equipment through the identity identification key; and if the identity identification key does not exist, performing Bluetooth pairing on the master node and the Bluetooth broadcast, and after the pairing is passed, the master node acquires the identity identification password and the Bluetooth broadcast MAC of the intelligent equipment and sends the identity identification password and the Bluetooth broadcast MAC to the intelligent equipment so that the intelligent equipment sends the identity identification password and the Bluetooth broadcast MAC to the intelligent equipment after the intelligent equipment is authenticated by the master node next time, and an auxiliary node in communication connection with the master node identifies the Bluetooth broadcast of the intelligent equipment through the identity identification key. By adopting the equipment matching method for Bluetooth positioning provided by the invention, the intelligent equipment which stores the identity identification code sent by the main node can always actively send the identity identification code and Bluetooth broadcast to the main node after establishing Bluetooth with the main node and passing authentication, so that the auxiliary node which is in communication connection with the main node can realize stable acquisition of the identity identification code and Bluetooth broadcast MAC of the intelligent equipment, on one hand, the problem that broadcast cannot be identified due to the fact that part of the intelligent equipment hides the broadcast data content is solved, on the other hand, the problem that normal communication and positioning cannot be carried out due to the fact that the main node at the vehicle end loses the pairing information of the intelligent equipment is solved, the auxiliary node of a Bluetooth PEPS system can more stably acquire the broadcast of the intelligent equipment, and the RSSI can carry out Bluetooth positioning on the intelligent equipment.
The above description is only for the purpose of describing the preferred embodiments of the present invention, and is not intended to limit the scope of the present invention, and any variations and modifications made by those skilled in the art based on the above disclosure are within the scope of the appended claims.

Claims (10)

1. A device matching method for bluetooth positioning, comprising:
s10, after the master node passes the authentication of an intelligent device, judging whether the identity identification key and the Bluetooth broadcast MAC of the intelligent device are received from the intelligent device; if yes, go to step S11, otherwise go to step S12;
s11, the identity identification key and the Bluetooth broadcast MAC are sent to an auxiliary node, so that the auxiliary node identifies the Bluetooth broadcast of the intelligent equipment according to the identity identification key;
s12, performing Bluetooth pairing with the intelligent device, acquiring the identification key and the Bluetooth broadcast MAC of the intelligent device after the Bluetooth pairing is passed, sending the identification key and the Bluetooth broadcast MAC to the intelligent device, receiving the identification key and the Bluetooth broadcast MAC of the intelligent device from the intelligent device after the intelligent device is authenticated next time, and executing the step S11.
2. The device matching method for bluetooth positioning according to claim 1, wherein the method for the master node to authenticate the smart device comprises:
the main node sends Bluetooth broadcast, and establishes Bluetooth connection with the intelligent equipment after being scanned by the intelligent equipment; and the number of the first and second groups,
and carrying out asymmetric authentication on the Bluetooth channel and the intelligent equipment.
3. The device matching method for bluetooth positioning according to claim 1, wherein the method for bluetooth pairing of the master node and the smart device comprises:
the main node sends a safety connection request to trigger the intelligent equipment to send a Bluetooth pairing request; and the number of the first and second groups,
and the main node sends out a pairing response according to the Bluetooth pairing request sent by the intelligent equipment, and then completes pairing with the intelligent equipment.
4. A device matching method for bluetooth positioning, comprising:
s20, after the intelligent device is authenticated by a main node, judging whether the own identity identification key and Bluetooth broadcast MAC exist; if yes, go to step S21, otherwise go to step S22;
s21, sending the identification key and the Bluetooth broadcast MAC to the main node, so that the auxiliary node in communication connection with the main node can identify the Bluetooth broadcast of the intelligent device through the identification key;
S22, after the master node sends a security connection request, sending a bluetooth pairing request to the master node to perform bluetooth pairing with the master node, and after the pairing is passed, receiving the identity key and the bluetooth broadcast MAC of the smart device acquired by the master node, and after the master node passes the authentication next time, executing step S21.
5. The device matching method for Bluetooth positioning of claim 4, wherein the method for Bluetooth pairing of the smart device and the master node comprises:
after receiving a security connection request sent by the main node, sending a Bluetooth pairing request to the main node; and (c) a second step of,
and after the main node makes a pairing response according to the Bluetooth pairing request, completing the pairing with the main node.
6. The device matching method for bluetooth positioning according to claim 4, wherein the device matching method for bluetooth positioning further comprises:
after receiving the identification key and the Bluetooth broadcast MAC acquired by the main node, storing the identification key and the Bluetooth broadcast MAC to an application layer, and after passing authentication by the main node, judging whether the application layer has the identification key and the Bluetooth broadcast MAC; and the number of the first and second groups,
Setting a first flag bit and a second flag bit on the application layer of the intelligent device, and if the application layer is judged to have the identity identification key and the Bluetooth broadcast MAC, sending the identity identification key and the Bluetooth broadcast MAC to the main node, and sending the first flag bit to the main node; and if the application layer is judged to be free from the identification key and the Bluetooth broadcast MAC, the second zone bit is used as a signal for representing that the application layer is free from the identification key and the Bluetooth broadcast MAC, and the signal is sent to the main node.
7. A device matching method for bluetooth positioning, comprising:
s30, the main node authenticates the intelligent device; if the authentication is passed, go to step S31;
s31, the intelligent device judges whether the self identity identification key and the Bluetooth broadcast MAC exist; if yes, go to step S32, otherwise go to step S33;
s32, sending the identification key and the Bluetooth broadcast MAC to the main node, so that the auxiliary node in communication connection with the main node can identify the Bluetooth broadcast of the intelligent device through the identification key;
S33, the master node and the Bluetooth broadcast are paired, after the pairing is passed, the master node obtains the identification key and the Bluetooth broadcast MAC of the intelligent device and sends the identification key and the Bluetooth broadcast MAC to the intelligent device, so that the intelligent device executes the step S32 after the intelligent device is authenticated by the master node next time.
8. The device matching method for bluetooth positioning according to claim 7, wherein the method for the master node to authenticate the smart device comprises:
the main node sends Bluetooth broadcast;
after the intelligent equipment scans the Bluetooth broadcast, the intelligent equipment establishes Bluetooth connection with the main node;
and the master node and the intelligent equipment perform asymmetric authentication on a Bluetooth channel.
9. The device matching method for bluetooth positioning according to claim 7, wherein the method for bluetooth pairing of the master node and the smart device comprises:
the main node sends a safety connection request;
the intelligent equipment sends a Bluetooth pairing request after receiving the safety connection request;
and the main node sends a pairing response after receiving the Bluetooth pairing request, so that the intelligent equipment is paired.
10. The device matching method for bluetooth positioning according to claim 7, wherein the device matching method for bluetooth positioning further comprises:
after receiving the identity identification key and the Bluetooth broadcast MAC acquired by the main node, the intelligent device stores the identity identification key and the Bluetooth broadcast MAC to an application layer, and judges whether the application layer has the identity identification key and the Bluetooth broadcast MAC after being authenticated by the main node; and (c) a second step of,
setting a first flag bit and a second flag bit in an application layer of the intelligent device, if the intelligent device judges that the identity identification key and the bluetooth broadcast MAC exist in the application layer, sending the first flag bit to the main node when the identity identification key and the bluetooth broadcast MAC are sent to the main node, and if the intelligent device judges that the identity identification key and the bluetooth broadcast MAC do not exist in the application layer, sending the second flag bit to the main node as a signal for representing that the identity identification key and the bluetooth broadcast MAC do not exist in the application layer.
CN202010981224.0A 2020-09-17 2020-09-17 Equipment matching method for Bluetooth positioning Active CN112235732B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010981224.0A CN112235732B (en) 2020-09-17 2020-09-17 Equipment matching method for Bluetooth positioning

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010981224.0A CN112235732B (en) 2020-09-17 2020-09-17 Equipment matching method for Bluetooth positioning

Publications (2)

Publication Number Publication Date
CN112235732A CN112235732A (en) 2021-01-15
CN112235732B true CN112235732B (en) 2022-06-28

Family

ID=74107935

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010981224.0A Active CN112235732B (en) 2020-09-17 2020-09-17 Equipment matching method for Bluetooth positioning

Country Status (1)

Country Link
CN (1) CN112235732B (en)

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104104414A (en) * 2014-06-18 2014-10-15 深圳市警豹电子科技有限公司 Communication method for multiple bluetooth devices and forwarding method for bluetooth device matching information
US10735467B2 (en) * 2016-01-11 2020-08-04 Lg Electronics Inc. Method and apparatus for controlling a device using bluetooth technology
CN107197424B (en) * 2017-06-06 2023-06-13 欧普照明股份有限公司 Bluetooth connection method, bluetooth device and Bluetooth connection system
CN109005530B (en) * 2018-08-01 2021-04-06 飞天诚信科技股份有限公司 Method for executing pairing service with mobile terminal and Bluetooth device
CN109041031A (en) * 2018-08-30 2018-12-18 北京轩辕联科技有限公司 Bluetooth automatic matching method, apparatus, mobile unit and vehicle
CN110489958B (en) * 2019-08-27 2021-03-05 上海银基信息安全技术股份有限公司 Identity authentication method, positioning device and terminal to be unlocked

Also Published As

Publication number Publication date
CN112235732A (en) 2021-01-15

Similar Documents

Publication Publication Date Title
US7428747B2 (en) Secure channel reservation
US20100210242A1 (en) Identification, authentication and coverage control method based on the bluetooth® standard
US20210211423A1 (en) Methods, devices, apparatuses and computer readable media for connecting to network
US20100299730A1 (en) User authentication method, wireless communication apparatus, base station, and account management apparatus
CN109005532B (en) Bluetooth connection method, Bluetooth master device and Bluetooth slave device
US7822412B2 (en) System and method for accessing a wireless network
CN113920615B (en) Method for connecting Bluetooth key with vehicle, vehicle Bluetooth system and Bluetooth key
CN106856585B (en) Method and device for establishing short-distance wireless channel
EP1544744A1 (en) Terminal authentication system, terminal authentication method, and terminal authentication server
CN106603374B (en) A kind of automatic bridge joint method and system
CN112235732B (en) Equipment matching method for Bluetooth positioning
EP0827356A2 (en) A protection method in a mobile communication system
CN111182512B (en) Terminal connection method, device, terminal and computer readable storage medium
CN108123918A (en) A kind of account authentication login method and device
CN110636473A (en) Vehicle Bluetooth communication method and device, electronic equipment and readable storage medium
CN111295908B (en) Method and device for establishing a wireless connection between a vehicle and a vehicle accessory
CN105704705A (en) Method for switching terminals with shared eSIM information, terminal and server
CN110636474A (en) Bluetooth pairing method and device
US8751803B2 (en) Auto provisioning method in wireless communication network
EP3716672B1 (en) Device and method for enrolling a wireless access point into a map wireless network
CN111038444B (en) Communication method of PEPS system
US20020081994A1 (en) Communication apparatus, and authentication method of the same
CN112533203A (en) Zigbee-based network access method and related device
CN108551456B (en) Intelligent authentication equipment and working method thereof
US10812344B2 (en) Executing a corrective action in response to detecting a particular pattern in a performance level of a wireless connection

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant