CN110753392A - Bluetooth key positioning system and method based on Internet of vehicles - Google Patents
Bluetooth key positioning system and method based on Internet of vehicles Download PDFInfo
- Publication number
- CN110753392A CN110753392A CN201911030311.1A CN201911030311A CN110753392A CN 110753392 A CN110753392 A CN 110753392A CN 201911030311 A CN201911030311 A CN 201911030311A CN 110753392 A CN110753392 A CN 110753392A
- Authority
- CN
- China
- Prior art keywords
- bluetooth
- module
- key
- rssi value
- vehicle
- 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.)
- Granted
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W64/00—Locating users or terminals or network equipment for network management purposes, e.g. mobility management
- H04W64/006—Locating users or terminals or network equipment for network management purposes, e.g. mobility management with additional information processing, e.g. for direction or speed determination
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01S—RADIO DIRECTION-FINDING; RADIO NAVIGATION; DETERMINING DISTANCE OR VELOCITY BY USE OF RADIO WAVES; LOCATING OR PRESENCE-DETECTING BY USE OF THE REFLECTION OR RERADIATION OF RADIO WAVES; ANALOGOUS ARRANGEMENTS USING OTHER WAVES
- G01S5/00—Position-fixing by co-ordinating two or more direction or position line determinations; Position-fixing by co-ordinating two or more distance determinations
- G01S5/02—Position-fixing by co-ordinating two or more direction or position line determinations; Position-fixing by co-ordinating two or more distance determinations using radio waves
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06N—COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
- G06N20/00—Machine learning
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04B—TRANSMISSION
- H04B17/00—Monitoring; Testing
- H04B17/30—Monitoring; Testing of propagation channels
- H04B17/309—Measuring or estimating channel quality parameters
- H04B17/318—Received signal strength
-
- G—PHYSICS
- G07—CHECKING-DEVICES
- G07C—TIME OR ATTENDANCE REGISTERS; REGISTERING OR INDICATING THE WORKING OF MACHINES; GENERATING RANDOM NUMBERS; VOTING OR LOTTERY APPARATUS; ARRANGEMENTS, SYSTEMS OR APPARATUS FOR CHECKING NOT PROVIDED FOR ELSEWHERE
- G07C2209/00—Indexing scheme relating to groups G07C9/00 - G07C9/38
- G07C2209/60—Indexing scheme relating to groups G07C9/00174 - G07C9/00944
- G07C2209/63—Comprising locating means for detecting the position of the data carrier, i.e. within the vehicle or within a certain distance from the vehicle
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W4/00—Services specially adapted for wireless communication networks; Facilities therefor
- H04W4/06—Selective distribution of broadcast services, e.g. multimedia broadcast multicast service [MBMS]; Services to user groups; One-way selective calling services
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W4/00—Services specially adapted for wireless communication networks; Facilities therefor
- H04W4/80—Services using short range communication, e.g. near-field communication [NFC], radio-frequency identification [RFID] or low energy communication
Abstract
The invention provides a Bluetooth key positioning system based on Internet of vehicles, which comprises a Bluetooth main module: is arranged in the vehicle; the Bluetooth main module is used for establishing communication connection with a Bluetooth module on a Bluetooth key; the Bluetooth master module is also used for acquiring the Bluetooth signal intensity measured by the Bluetooth slave module in real time to complete the positioning of the Bluetooth key; bluetooth key: a Bluetooth module is arranged; the Bluetooth key is also used for controlling the Bluetooth module to send Bluetooth signals in a broadcast mode; at least one bluetooth slave module: is arranged in the vehicle; the Bluetooth slave module is used for measuring the intensity of the Bluetooth signal after receiving the Bluetooth signal initiated by the Bluetooth module in the Bluetooth key and sending the obtained intensity of the Bluetooth signal to the Bluetooth master module, so that the accuracy of judging the position of the Bluetooth key is improved.
Description
Technical Field
The invention belongs to the technical field of Internet of vehicles, and particularly relates to a Bluetooth key positioning system and method based on the Internet of vehicles.
Background
The Bluetooth key system of the Internet of vehicles mainly comprises a T-Box (telematics BOX) with a Bluetooth Low Energy (BLE) function, a mobile phone with the BLE function and an APP (application program). The Bluetooth key system of the Internet of vehicles is mature day by day, and the popularization and utilization rate is gradually improved, so that the development trend of the Internet of vehicles is to replace the conventional radio frequency key by the Bluetooth key in the future.
In the bluetooth key system of car networking, the position of bluetooth key is judged crucial. For example, when it is determined that the bluetooth key is located in the vehicle, the user is allowed to start the engine. When the Bluetooth key is judged to be positioned outside the automobile, only the user is allowed to open or close the automobile door, and the user is forbidden to start the engine.
However, the accuracy of judging the position of the bluetooth key by the existing car networking bluetooth key system is generally low, so that the improvement of the accuracy of judging the position of the bluetooth key is beneficial to improving the reliability and the use convenience of the bluetooth key.
Disclosure of Invention
Aiming at the defects in the prior art, the invention provides a Bluetooth key positioning system and method based on the Internet of vehicles, which improve the accuracy of judging the position of the Bluetooth key.
In a first aspect, a bluetooth key positioning system based on internet of vehicles comprises:
the Bluetooth main module: is arranged in the vehicle; the Bluetooth main module is used for establishing communication connection with a Bluetooth module on a Bluetooth key; the Bluetooth master module is also used for acquiring the Bluetooth signal intensity measured by the Bluetooth slave module in real time to complete the positioning of the Bluetooth key;
bluetooth key: a Bluetooth module is arranged; the Bluetooth key is also used for controlling the Bluetooth module to send Bluetooth signals in a broadcast mode;
at least one bluetooth slave module: is arranged in the vehicle; the Bluetooth slave module is used for measuring the intensity of the Bluetooth signal after receiving the Bluetooth signal initiated by the Bluetooth module in the Bluetooth key and sending the obtained Bluetooth signal intensity to the Bluetooth master module.
Preferably, the number of the Bluetooth slave modules is 3-7.
In a second aspect, a bluetooth key location method based on internet of vehicles, operating on the system of the first aspect, includes the following steps:
the Bluetooth master module sends a communication signal in a broadcast mode, the Bluetooth module on the Bluetooth key establishes communication connection with the Bluetooth master module after receiving the communication signal, and the Bluetooth master module stops broadcasting the signal;
the Bluetooth module on the Bluetooth key sends Bluetooth signals in a broadcast mode;
the Bluetooth slave module measures the intensity of the received Bluetooth signals in real time to obtain RSSI values x containing m in-vehicle signal intensitiesiSet X of (2): x ═ X1,x2,...,xi,...xm]Wherein x isiMeasuring an RSSI value obtained after the Bluetooth key is placed in the vehicle for the ith time; assuming that the number of the Bluetooth slave modules is P, the number of the Bluetooth slave modules is P The RSSI value measured by the r-th Bluetooth slave module in the ith measurement is represented;
the Bluetooth slave module measures the intensity of the received Bluetooth signals in real time to obtain RSSI values y containing n external signal intensitiesjSet Y of (2): y ═ Y1,y2,...,yj,...yn]Wherein y isjThe RSSI value measured after the Bluetooth key is placed outside the vehicle for the jth time, the RSSI value measured by the r-th Bluetooth slave module in the j-th measurement is represented;
the Bluetooth slave module uploads the received RSSI value of the signal intensity inside the automobile and the RSSI value of the signal intensity outside the automobile to the Bluetooth master module in real time;
the Bluetooth main module is combined with the in-vehicle signal strength RSSI value and the out-vehicle signal strength RSSI value to construct a positioning model;
when the Bluetooth key is used, the Bluetooth master module combines the positioning model to position the Bluetooth key when receiving the Bluetooth signal strength uploaded by the Bluetooth slave module.
Preferably, the positioning model comprises:
Mean=(MeanX+MeanY)/2;
Preferably, in the use process of the bluetooth key, when the bluetooth master module receives the bluetooth signal strength uploaded by the bluetooth slave module, the positioning the bluetooth key by combining the positioning model specifically includes:
when the Bluetooth key is used, the Bluetooth master module repeatedly receives the Bluetooth signal intensity uploaded by the Bluetooth slave module to obtain RSSI values z containing k Bluetooth signal intensitiesbSet Z of (a): z ═ Z1,z2,...,zb,...,xk]Wherein The RSSI value measured by the r-th Bluetooth slave module in the b-th upload is represented;
the Bluetooth master module sequentially selects each Bluetooth signal strength RSSI value in Z to calculate as follows:
the main Bluetooth module obtains the judgment result of each Bluetooth signal strength RSSI value through the following method: when in useJudging that the Bluetooth key is positioned in the vehicle, otherwise, judging that the Bluetooth key is positioned outside the vehicle;
and the Bluetooth master module acquires the judgment results of the k Bluetooth signal strength RSSI values, votes and counts all the judgment results, and defines most of the statistical results as the final judgment result of the Bluetooth key.
Preferably, the value range of a is [0.1,2 ].
In a third aspect, a bluetooth key location method based on internet of vehicles, operating on the system of the first aspect, includes the following steps:
the Bluetooth master module sends a communication signal in a broadcast mode, the Bluetooth module on the Bluetooth key establishes communication connection with the Bluetooth master module after receiving the communication signal, and the Bluetooth master module stops broadcasting the signal;
the Bluetooth module on the Bluetooth key sends Bluetooth signals in a broadcast mode;
the Bluetooth slave module measures the intensity of the received Bluetooth signals in real time to obtain RSSI values x containing m in-vehicle signal intensitiesiSet X of (2): x ═ X1,x2,...,xi,...xm]Wherein x isiMeasuring an RSSI value obtained after the Bluetooth key is placed in the vehicle for the ith time; assuming that the number of the Bluetooth slave modules is P, the number of the Bluetooth slave modules is P The RSSI value measured by the r-th Bluetooth slave module in the ith measurement is represented; 1 is a position label which indicates that the Bluetooth key is positioned in the vehicle;
the Bluetooth slave module measures the intensity of the received Bluetooth signals in real time to obtain RSSI values y containing n external signal intensitiesjSet Y of (2): y ═ Y1,y2,...,yj,...yn]Wherein y isjThe RSSI value measured after the Bluetooth key is placed outside the vehicle for the jth time, the RSSI value measured by the r-th Bluetooth slave module in the j-th measurement is represented, and 0 represents that the Bluetooth key is positioned outside the automobile;
the Bluetooth slave module uploads the received RSSI value of the signal intensity inside the automobile and the RSSI value of the signal intensity outside the automobile to the Bluetooth master module in real time;
the Bluetooth main module trains a classification model by adopting a machine learning classification algorithm according to the in-vehicle signal strength RSSI value and the out-vehicle signal strength RSSI value so as to obtain a final model;
when the Bluetooth key is used, the Bluetooth master module combines the final model to position the Bluetooth key when receiving the Bluetooth signal strength uploaded by the Bluetooth slave module.
Preferably, the training of the classification model by the bluetooth master module for the in-vehicle signal strength RSSI value and the out-vehicle signal strength RSSI value by using a machine learning classification algorithm to obtain the final model specifically includes:
the Bluetooth main module selects partial data in the in-vehicle signal strength RSSI value and the out-vehicle signal strength RSSI value as training data, and the rest data is used as verification data;
the Bluetooth main module selects a plurality of different machine learning classification algorithms to train the classification models according to the same training data, the same verification data is used for checking the accuracy of the classification models obtained through training, and the classification model with the highest accuracy is defined as the final model.
Preferably, the bluetooth master module selects partial data in the inside signal strength RSSI value and the outside signal strength RSSI value as training data, and the remaining data as verification data specifically includes:
and the Bluetooth main module selects 80% of data in the indoor signal strength RSSI value and the outdoor signal strength RSSI value as the training data, and selects 20% of data as the verification data.
Preferably, in the use process of the bluetooth key, when the bluetooth master module receives the bluetooth signal strength uploaded by the bluetooth slave module, the positioning the bluetooth key by combining the final model specifically includes:
in the use process of the Bluetooth key, the Bluetooth master module receives the Bluetooth signal strength uploaded by the Bluetooth slave module for many times to obtain a set Z containing k Bluetooth signal strength RSSI values zb: z ═ Z1, Z2]Wherein The RSSI value measured by the r-th Bluetooth slave module in the b-th upload is represented;
the Bluetooth main module sequentially inputs each Bluetooth signal strength RSSI value in the Z to the final model to obtain a position tag of each Bluetooth signal strength RSSI value output by the final model; if the position label is 1, the Bluetooth key is positioned in the vehicle; if the position label is 0, the Bluetooth key is positioned outside the automobile;
the Bluetooth master module acquires the position tags of k Bluetooth signal strength RSSI values, votes and counts all the position tags, and defines most of the statistical results as the final position tags of the Bluetooth key.
According to the technical scheme, the Bluetooth key positioning system and method based on the Internet of vehicles improve the accuracy of Bluetooth key position judgment.
Drawings
In order to more clearly illustrate the detailed description of the invention or the technical solutions in the prior art, the drawings that are needed in the detailed description of the invention or the prior art will be briefly described below. Throughout the drawings, like elements or portions are generally identified by like reference numerals. In the drawings, elements or portions are not necessarily drawn to scale.
Fig. 1 is a block diagram of a bluetooth key positioning system according to an embodiment of the present invention.
Fig. 2 is a flowchart of a bluetooth key positioning method according to a second embodiment of the present invention.
Fig. 3 is a flowchart of step S7 in fig. 2.
Fig. 4 is a flowchart of a bluetooth key positioning method according to a third embodiment of the present invention.
Fig. 5 is a flowchart of step S26 in fig. 4.
Fig. 6 is a flowchart of step S27 in fig. 4.
Detailed Description
Embodiments of the present invention will be described in detail below with reference to the accompanying drawings. The following examples are only for illustrating the technical solutions of the present invention more clearly, and therefore are only examples, and the protection scope of the present invention is not limited thereby. It is to be noted that, unless otherwise specified, technical or scientific terms used herein shall have the ordinary meaning as understood by those skilled in the art to which the invention pertains.
It will be understood that the terms "comprises" and/or "comprising," when used in this specification and the appended claims, specify the presence of stated features, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and/or groups thereof.
It is also to be understood that the terminology used in the description of the invention herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the invention. As used in the specification of the present invention and the appended claims, the singular forms "a," "an," and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise.
As used in this specification and the appended claims, the term "if" may be interpreted contextually as "when", "upon" or "in response to a determination" or "in response to a detection". Similarly, the phrase "if it is determined" or "if a [ described condition or event ] is detected" may be interpreted contextually to mean "upon determining" or "in response to determining" or "upon detecting [ described condition or event ]" or "in response to detecting [ described condition or event ]".
The existing bluetooth key positioning method mainly measures data of a plurality of bluetooth keys in advance and calculates a uniform positioning parameter so as to be suitable for all bluetooth master modules, bluetooth slave modules and all bluetooth keys on all automobiles. However, the existing bluetooth key positioning method has low accuracy due to slight differences among different automobiles.
The first embodiment is as follows:
a bluetooth key location system based on internet of vehicles, see fig. 1, comprising:
the Bluetooth main module: is arranged in the vehicle; the Bluetooth main module is used for establishing communication connection with a Bluetooth module on a Bluetooth key; the Bluetooth master module is also used for acquiring the Bluetooth signal intensity measured by the Bluetooth slave module in real time to complete the positioning of the Bluetooth key;
specifically, the bluetooth master module has a BLE bluetooth function, and transmits a communication signal in a broadcast form to request the establishment of communication with the bluetooth key.
Bluetooth key: a Bluetooth module is arranged; the Bluetooth key is also used for controlling the Bluetooth module to send Bluetooth signals in a broadcast mode;
specifically, the bluetooth key has BLE bluetooth function. The bluetooth key may be a terminal or a device.
At least one bluetooth slave module: is arranged in the vehicle; the Bluetooth slave module is used for measuring the intensity of the Bluetooth signal after receiving the Bluetooth signal initiated by the Bluetooth module in the Bluetooth key and sending the obtained Bluetooth signal intensity to the Bluetooth master module.
Specifically, the bluetooth slave module has BLE bluetooth functionality. The more the Bluetooth slave modules are deployed, the higher the accuracy of the final positioning is. The number of the Bluetooth slave modules is 3-7.
This bluetooth key positioning system based on car networking has improved the accuracy that bluetooth key position was judged.
Example two:
a bluetooth key location method based on internet of vehicles, which is operated on the above system, see fig. 2, and comprises the following steps:
s1: the Bluetooth master module sends a communication signal in a broadcast mode, the Bluetooth module on the Bluetooth key establishes communication connection with the Bluetooth master module after receiving the communication signal, and the Bluetooth master module stops broadcasting the signal;
s2: the Bluetooth module on the Bluetooth key sends Bluetooth signals in a broadcast mode;
s3: the Bluetooth slave module measures the intensity of the received Bluetooth signals in real time to obtain RSSI values x containing m in-vehicle signal intensitiesiSet X of (2): x ═ X1,x2,...,xi,...xm]Wherein x isiMeasuring an RSSI value obtained after the Bluetooth key is placed in the vehicle for the ith time; assuming that the number of the Bluetooth slave modules is P, the number of the Bluetooth slave modules is P The RSSI value measured by the r-th Bluetooth slave module in the ith measurement is represented;
s4: the Bluetooth slave module measures the intensity of the received Bluetooth signals in real time to obtain RSSI values y containing n external signal intensitiesjSet Y of (2): y ═ Y1,y2,...,yj,...yn]Wherein y isjThe RSSI value measured after the Bluetooth key is placed outside the vehicle for the jth time, the RSSI value measured by the r-th Bluetooth slave module in the j-th measurement is represented;
specifically, will when the bluetooth key is arranged in the car, can arrange the bluetooth key in different positions and different distances outside the car. The bluetooth key may also be placed outside the vehicle when the vehicle is in a different state, such as when the door is open or the vehicle is ignited.
S5: the Bluetooth slave module uploads the received RSSI value of the signal intensity inside the automobile and the RSSI value of the signal intensity outside the automobile to the Bluetooth master module in real time;
s6: the Bluetooth main module is combined with the in-vehicle signal strength RSSI value and the out-vehicle signal strength RSSI value to construct a positioning model;
s7: when the Bluetooth key is used, the Bluetooth master module combines the positioning model to position the Bluetooth key when receiving the Bluetooth signal strength uploaded by the Bluetooth slave module.
Specifically, in step S7, after the positioning model is constructed, positioning of the bluetooth key is achieved during normal use. Since the positioning model is already constructed in step S6, and the threshold values of the RSSI values of the bluetooth key in and out of the vehicle are determined, when the vehicle is in normal use, since the vehicle does not know whether the bluetooth key is inside or outside the vehicle, the RSSI value of the bluetooth signal sent by the bluetooth key is measured, and the position of the bluetooth key is accurately obtained by combining the constructed positioning model in step S7.
The Bluetooth key positioning method has simple algorithm and quick operation, and can construct a positioning model aiming at each Bluetooth key (specific mobile phone or equipment) of a certain automobile, thereby being capable of maximally adapting and ensuring the positioning accuracy of each Bluetooth key.
Preferably, the positioning model comprises:
Mean=(MeanX+MeanY)/2;
wherein the content of the first and second substances,a is a constant. Preferably, the value range of a is [0.1,2]]。
Referring to fig. 3, in the use process of the bluetooth key, when the bluetooth master module receives the bluetooth signal strength uploaded by the bluetooth slave module, the positioning of the bluetooth key by combining the positioning model specifically includes:
s11: when the Bluetooth key is used, the Bluetooth master module repeatedly receives the Bluetooth signal intensity uploaded by the Bluetooth slave module to obtain RSSI values z containing k Bluetooth signal intensitiesbSet Z of (a): z ═ Z1,z2,...,zb,...,xk]Wherein The RSSI value measured by the r-th Bluetooth slave module in the b-th upload is represented;
s12: the Bluetooth master module sequentially selects each Bluetooth signal strength RSSI value in Z to calculate as follows:
s13: the bluetooth master module obtains each bluetooth by the following methodThe judgment result of the signal strength RSSI value is as follows: when in useJudging that the Bluetooth key is positioned in the vehicle, otherwise, judging that the Bluetooth key is positioned outside the vehicle;
s14: and the Bluetooth master module acquires the judgment results of the k Bluetooth signal strength RSSI values, votes and counts all the judgment results, and defines most of the statistical results as the final judgment result of the Bluetooth key.
In particular, the voting statistics may employ existing voting techniques. In the using process of the method, the final judgment result is obtained according to the judgment results obtained by the data of all the Bluetooth slave modules, and the accuracy of Bluetooth positioning is improved. For example, in a positioning process, the Bluetooth key is judged to be outside the vehicle according to the judgment results of 6 Bluetooth slave modules, the Bluetooth key is judged to be inside the vehicle according to the judgment results of 3 Bluetooth slave modules, and then the final judgment result is obtained according to the voting statistical result, namely that the Bluetooth key is outside the vehicle.
For the sake of brief description, the method provided by the embodiment of the present invention may refer to the corresponding contents in the foregoing system embodiments.
Example three:
referring to fig. 4, a bluetooth key positioning method based on internet of vehicles, operating on the above system, includes the following steps:
s21: the Bluetooth master module sends a communication signal in a broadcast mode, the Bluetooth module on the Bluetooth key establishes communication connection with the Bluetooth master module after receiving the communication signal, and the Bluetooth master module stops broadcasting the signal;
s22: the Bluetooth module on the Bluetooth key sends Bluetooth signals in a broadcast mode;
s23: the Bluetooth slave module measures the intensity of the received Bluetooth signals in real time to obtain RSSI values x containing m in-vehicle signal intensitiesiSet X of (2): x ═ X1,x2,...,xi,...xm]Wherein x isiThe RSSI value measured after the Bluetooth key is placed in the vehicle for the ith time(ii) a Assuming that the number of the Bluetooth slave modules is P, the number of the Bluetooth slave modules is P The RSSI value measured by the r-th Bluetooth slave module in the ith measurement is represented; 1 is a position label which indicates that the Bluetooth key is positioned in the vehicle;
s24: the Bluetooth slave module measures the intensity of the received Bluetooth signals in real time to obtain RSSI values y containing n external signal intensitiesjSet Y of (2): y ═ Y1,y2,...,yj,...yn]Wherein y isjThe RSSI value measured after the Bluetooth key is placed outside the vehicle for the jth time, the RSSI value measured by the r-th Bluetooth slave module in the j-th measurement is represented, and 0 represents that the Bluetooth key is positioned outside the automobile;
specifically, will when the bluetooth key is arranged in the car, can arrange the bluetooth key in different positions and different distances outside the car. The bluetooth key may also be placed outside the vehicle when the vehicle is in a different state, such as when the door is open or the vehicle is ignited.
S25: the Bluetooth slave module uploads the received RSSI value of the signal intensity inside the automobile and the RSSI value of the signal intensity outside the automobile to the Bluetooth master module in real time;
s26: the Bluetooth main module trains a classification model by adopting a machine learning classification algorithm according to the in-vehicle signal strength RSSI value and the out-vehicle signal strength RSSI value so as to obtain a final model;
s27: when the Bluetooth key is used, the Bluetooth master module combines the final model to position the Bluetooth key when receiving the Bluetooth signal strength uploaded by the Bluetooth slave module.
Specifically, in step S27, after the final model is constructed, the bluetooth key is located during normal use. Since the final model is already constructed in step S26, the position tag of the bluetooth key can be directly obtained according to the RSSI signal strength, and whether the bluetooth key is inside or outside the vehicle is determined according to the position tag, so that in step S27, when the vehicle is in normal use, since the vehicle does not know whether the bluetooth key is inside or outside the vehicle, the position of the bluetooth key can be accurately obtained by measuring the RSSI signal strength of the bluetooth signal sent by the bluetooth key and combining the constructed final model.
The Bluetooth key positioning method has simple algorithm and quick operation, and can construct a positioning model aiming at each Bluetooth key (specific mobile phone or equipment) of a certain automobile, thereby being capable of maximally adapting and ensuring the positioning accuracy of each Bluetooth key.
Referring to fig. 5, the training of the classification model by the bluetooth master module according to the RSSI value of the signal strength inside the vehicle and the RSSI value of the signal strength outside the vehicle by using a machine learning classification algorithm to obtain the final model specifically includes:
s31: the Bluetooth main module selects partial data in the in-vehicle signal strength RSSI value and the out-vehicle signal strength RSSI value as training data, and the rest data is used as verification data; the method specifically comprises the following steps:
and the Bluetooth main module selects 80% of data in the indoor signal strength RSSI value and the outdoor signal strength RSSI value as the training data, and selects 20% of data as the verification data.
S32: and selecting a plurality of different machine learning classification algorithms (such as a random forest algorithm, a GBM algorithm such as xgboost and the like) to train the classification model according to the same training data, checking the accuracy of the trained classification model by using the same verification data, and defining the classification model with the highest accuracy as the final model.
Referring to fig. 6, in the use process of the bluetooth key, when the bluetooth master module receives the bluetooth signal strength uploaded by the bluetooth slave module, the positioning the bluetooth key by combining the final model specifically includes:
s41: when the Bluetooth key is in use, the Bluetooth master module repeatedly receives the uploading of the Bluetooth slave moduleThe intensity of the Bluetooth signal is obtained to contain k pieces of RSSI values z of the Bluetooth signal intensitybSet Z of (a): z ═ Z1,z2,...,zb,...,xk]Wherein The RSSI value measured by the r-th Bluetooth slave module in the b-th upload is represented;
s42: sequentially inputting each Bluetooth signal strength RSSI value in the Z into the final model to obtain a position label of each Bluetooth signal strength RSSI value output by the final model; if the position label is 1, the Bluetooth key is positioned in the vehicle; if the position label is 0, the Bluetooth key is positioned outside the automobile;
s43: and acquiring the position tags of k Bluetooth signal strength RSSI values, voting and counting all the position tags, and defining the majority of the counting results as the final position tags of the Bluetooth key.
In particular, the voting statistics may employ existing voting techniques. In the using process of the method, the final position label is obtained comprehensively according to the position labels obtained from the data of all the Bluetooth slave modules, and the accuracy of Bluetooth positioning is improved. For example, in one positioning process, if the position tags obtained from 6 bluetooth slave modules are 1, and the position tags obtained from 3 bluetooth slave modules are 0, the final position tag obtained from the voting statistical result is 1, which is that the bluetooth key is in the vehicle.
For the sake of brief description, the method provided by the embodiment of the present invention may refer to the corresponding contents in the foregoing system embodiments.
Finally, it should be noted that: the above embodiments are only used to illustrate the technical solution of the present invention, and not to limit the same; while the invention has been described in detail and with reference to the foregoing embodiments, it will be understood by those skilled in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some or all of the technical features may be equivalently replaced; such modifications and substitutions do not depart from the spirit and scope of the present invention, and they should be construed as being included in the following claims and description.
Claims (10)
1. The utility model provides a bluetooth key positioning system based on car networking which characterized in that includes:
the Bluetooth main module: is arranged in the vehicle; the Bluetooth main module is used for establishing communication connection with a Bluetooth module on a Bluetooth key; the Bluetooth master module is also used for acquiring the Bluetooth signal intensity measured by the Bluetooth slave module in real time to complete the positioning of the Bluetooth key;
bluetooth key: a Bluetooth module is arranged; the Bluetooth key is also used for controlling the Bluetooth module to send Bluetooth signals in a broadcast mode;
at least one bluetooth slave module: is arranged in the vehicle; the Bluetooth slave module is used for measuring the intensity of the Bluetooth signal after receiving the Bluetooth signal initiated by the Bluetooth module in the Bluetooth key and sending the obtained Bluetooth signal intensity to the Bluetooth master module.
2. The Internet of vehicles based Bluetooth key location system of claim 1,
the number of the Bluetooth slave modules is 3-7.
3. A bluetooth key location method based on internet of vehicles, operating on the system of claim 1 or 2, comprising the steps of:
the Bluetooth master module sends a communication signal in a broadcast mode, the Bluetooth module on the Bluetooth key establishes communication connection with the Bluetooth master module after receiving the communication signal, and the Bluetooth master module stops broadcasting the signal;
the Bluetooth module on the Bluetooth key sends Bluetooth signals in a broadcast mode;
the Bluetooth slave module measures the intensity of the received Bluetooth signals in real time to obtain RSSI values x containing m in-vehicle signal intensitiesiSet X of (2): x ═ 2-x1,x2,...,xi,...xm]Wherein x isiMeasuring an RSSI value obtained after the Bluetooth key is placed in the vehicle for the ith time; assuming that the number of the Bluetooth slave modules is P, the number of the Bluetooth slave modules is P The RSSI value measured by the r-th Bluetooth slave module in the ith measurement is represented;
the Bluetooth slave module measures the intensity of the received Bluetooth signals in real time to obtain RSSI values y containing n external signal intensitiesjSet Y of (2): y ═ Y1,y2,...,yj,...yn]Wherein y isjThe RSSI value measured after the Bluetooth key is placed outside the vehicle for the jth time, the RSSI value measured by the r-th Bluetooth slave module in the j-th measurement is represented;
the Bluetooth slave module uploads the received RSSI value of the signal intensity inside the automobile and the RSSI value of the signal intensity outside the automobile to the Bluetooth master module in real time;
the Bluetooth main module is combined with the in-vehicle signal strength RSSI value and the out-vehicle signal strength RSSI value to construct a positioning model;
when the Bluetooth key is used, the Bluetooth master module combines the positioning model to position the Bluetooth key when receiving the Bluetooth signal strength uploaded by the Bluetooth slave module.
5. The Internet of vehicles-based Bluetooth key location method of claim 4,
when the bluetooth key is used, and the bluetooth master module receives the bluetooth signal strength uploaded by the bluetooth slave module, the positioning of the bluetooth key by combining the positioning model specifically comprises:
when the Bluetooth key is used, the Bluetooth master module repeatedly receives the Bluetooth signal intensity uploaded by the Bluetooth slave module to obtain RSSI values z containing k Bluetooth signal intensitiesbSet Z of (a): z ═ Z1,z2,...,zb,...,xk]Wherein The RSSI value measured by the r-th Bluetooth slave module in the b-th upload is represented;
the Bluetooth master module sequentially selects each Bluetooth signal strength RSSI value in Z to calculate as follows:
the main Bluetooth module obtains the judgment result of each Bluetooth signal strength RSSI value through the following method: when in useJudging that the Bluetooth key is positioned in the vehicle, otherwise, judging that the Bluetooth key is positioned outside the vehicle;
and the Bluetooth master module acquires the judgment results of the k Bluetooth signal strength RSSI values, votes and counts all the judgment results, and defines most of the statistical results as the final judgment result of the Bluetooth key.
6. The Internet of vehicles-based Bluetooth key location method of claim 4,
the value range of a is [0.1,2 ].
7. A bluetooth key location method based on internet of vehicles, operating on the system of claim 1 or 2, comprising the steps of:
the Bluetooth master module sends a communication signal in a broadcast mode, the Bluetooth module on the Bluetooth key establishes communication connection with the Bluetooth master module after receiving the communication signal, and the Bluetooth master module stops broadcasting the signal;
the Bluetooth module on the Bluetooth key sends Bluetooth signals in a broadcast mode;
the Bluetooth slave module measures the intensity of the received Bluetooth signals in real time to obtain RSSI values x containing m in-vehicle signal intensitiesiSet X of (2): x ═ X1,x2,...,xi,...xm]Wherein x isiMeasuring an RSSI value obtained after the Bluetooth key is placed in the vehicle for the ith time; assuming that the number of the Bluetooth slave modules is P, the number of the Bluetooth slave modules is P The RSSI value measured by the r-th Bluetooth slave module in the ith measurement is represented; 1 is a position label which indicates that the Bluetooth key is positioned in the vehicle;
the Bluetooth slave module measures the intensity of the received Bluetooth signals in real time to obtain RSSI values y containing n external signal intensitiesjSet Y of (2): y ═ Y1,y2,...,yj,...yn]Wherein y isjThe RSSI value measured after the Bluetooth key is placed outside the vehicle for the jth time, the RSSI value measured by the r-th Bluetooth slave module in the j-th measurement is represented, and 0 represents that the Bluetooth key is positioned outside the automobile;
the Bluetooth slave module uploads the received RSSI value of the signal intensity inside the automobile and the RSSI value of the signal intensity outside the automobile to the Bluetooth master module in real time;
the Bluetooth main module trains a classification model by adopting a machine learning classification algorithm according to the in-vehicle signal strength RSSI value and the out-vehicle signal strength RSSI value so as to obtain a final model;
when the Bluetooth key is used, the Bluetooth master module combines the final model to position the Bluetooth key when receiving the Bluetooth signal strength uploaded by the Bluetooth slave module.
8. The bluetooth key positioning method based on internet of vehicles according to claim 7, wherein the bluetooth master module trains a classification model by using a machine learning classification algorithm for the in-vehicle signal strength RSSI value and the out-vehicle signal strength RSSI value to obtain a final model specifically comprises:
the Bluetooth main module selects partial data in the in-vehicle signal strength RSSI value and the out-vehicle signal strength RSSI value as training data, and the rest data is used as verification data;
the Bluetooth main module selects a plurality of different machine learning classification algorithms to train the classification models according to the same training data, the same verification data is used for checking the accuracy of the classification models obtained through training, and the classification model with the highest accuracy is defined as the final model.
9. The internet-of-vehicles-based bluetooth key positioning method according to claim 8, wherein the bluetooth master module selects partial data in the in-vehicle signal strength RSSI value and the out-vehicle signal strength RSSI value as training data, and the remaining data as verification data specifically comprises:
and the Bluetooth main module selects 80% of data in the indoor signal strength RSSI value and the outdoor signal strength RSSI value as the training data, and selects 20% of data as the verification data.
10. The method for locating the bluetooth key based on the internet of vehicles according to claim 7, wherein during the use of the bluetooth key, when the bluetooth master module receives the bluetooth signal strength uploaded by the bluetooth slave module, the locating the bluetooth key by combining the final model specifically comprises:
when the Bluetooth key is used, the Bluetooth master module repeatedly receives the Bluetooth signal intensity uploaded by the Bluetooth slave module to obtain RSSI values z containing k Bluetooth signal intensitiesbSet Z of (a): z ═ Z1,z2,...,zb,...,xk]Wherein The RSSI value measured by the r-th Bluetooth slave module in the b-th upload is represented;
the Bluetooth main module sequentially inputs each Bluetooth signal strength RSSI value in the Z to the final model to obtain a position tag of each Bluetooth signal strength RSSI value output by the final model; if the position label is 1, the Bluetooth key is positioned in the vehicle; if the position label is 0, the Bluetooth key is positioned outside the automobile;
the Bluetooth master module acquires the position tags of k Bluetooth signal strength RSSI values, votes and counts all the position tags, and defines most of the statistical results as the final position tags of the Bluetooth key.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201911030311.1A CN110753392B (en) | 2019-10-28 | 2019-10-28 | Bluetooth key positioning system and method based on Internet of vehicles |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201911030311.1A CN110753392B (en) | 2019-10-28 | 2019-10-28 | Bluetooth key positioning system and method based on Internet of vehicles |
Publications (2)
Publication Number | Publication Date |
---|---|
CN110753392A true CN110753392A (en) | 2020-02-04 |
CN110753392B CN110753392B (en) | 2021-01-12 |
Family
ID=69280384
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201911030311.1A Active CN110753392B (en) | 2019-10-28 | 2019-10-28 | Bluetooth key positioning system and method based on Internet of vehicles |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110753392B (en) |
Cited By (16)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111516639A (en) * | 2020-05-13 | 2020-08-11 | 大陆汽车电子(长春)有限公司 | Method for realizing departure reminding |
CN111836346A (en) * | 2020-06-08 | 2020-10-27 | 浙江联控技术有限公司 | Bluetooth key positioning method, device and equipment |
CN112399331A (en) * | 2020-07-09 | 2021-02-23 | 上汽通用五菱汽车股份有限公司 | Automobile Bluetooth key positioning method |
CN112614255A (en) * | 2020-12-09 | 2021-04-06 | 广州橙行智动汽车科技有限公司 | Vehicle position detection method and device, and unlocking control method and device |
CN112911568A (en) * | 2021-03-12 | 2021-06-04 | 广州小鹏汽车科技有限公司 | Method and device for acquiring signal strength of multiple Bluetooth modules and mobile terminal |
CN113298985A (en) * | 2021-05-31 | 2021-08-24 | 远峰科技股份有限公司 | RSSI-based digital key unlocking terminal positioning method and system |
CN113689677A (en) * | 2021-08-24 | 2021-11-23 | 四川长虹网络科技有限责任公司 | Reminding method for leaving mobile device in vehicle, vehicle-mounted computer and vehicle |
CN113747357A (en) * | 2021-09-10 | 2021-12-03 | 深圳南方德尔汽车电子有限公司 | Bluetooth positioning method based on calibration parameters |
CN113784326A (en) * | 2021-09-10 | 2021-12-10 | 上海瓶钵信息科技有限公司 | Vehicle positioning system and method based on multiple Bluetooth modules |
CN113873682A (en) * | 2020-06-12 | 2021-12-31 | 奥图码科技股份有限公司 | Automatic connection and disconnection system and automatic connection and disconnection method |
CN113920615A (en) * | 2020-06-24 | 2022-01-11 | 广州汽车集团股份有限公司 | Method for connecting Bluetooth key with vehicle, vehicle Bluetooth system and Bluetooth key |
WO2022078267A1 (en) * | 2020-10-14 | 2022-04-21 | 奇瑞汽车股份有限公司 | Vehicle and device positioning method |
CN114915905A (en) * | 2022-05-06 | 2022-08-16 | 江西五十铃汽车有限公司 | Bluetooth key position identification method and device, readable storage medium and vehicle |
CN115150007A (en) * | 2022-06-30 | 2022-10-04 | 中国第一汽车股份有限公司 | Digital key system monitoring method, device, equipment and storage medium |
CN115226081A (en) * | 2021-12-10 | 2022-10-21 | 广州汽车集团股份有限公司 | Automobile key positioning method |
RU2805494C1 (en) * | 2020-10-14 | 2023-10-17 | Чери Отомобайл Ко., Лтд. | Vehicle and device positioning method |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105809793A (en) * | 2016-03-14 | 2016-07-27 | 南京邮电大学 | Vehicle unlocking method based on iBeacon movement trajectory |
CN105912500A (en) * | 2016-03-30 | 2016-08-31 | 百度在线网络技术(北京)有限公司 | Machine learning model generation method and machine learning model generation device |
US20160318475A1 (en) * | 2013-12-31 | 2016-11-03 | Huf North America Automotive Parts Mfg. Corp. | Bluetooth verification for vehicle access systems |
CN106792554A (en) * | 2016-11-23 | 2017-05-31 | 长安大学 | A kind of localization method based on Dual Matching fingerprint location technology |
CN108600943A (en) * | 2018-04-08 | 2018-09-28 | 上海交通大学 | A kind of keyless systems localization method based on low-power consumption bluetooth RSS |
CN109699004A (en) * | 2018-12-25 | 2019-04-30 | 深圳市元征科技股份有限公司 | Bluetooth key localization method, device, bluetooth equipment and storage medium |
CN110062326A (en) * | 2019-04-08 | 2019-07-26 | 上海交通大学 | A kind of positioning of automobile-used blue-tooth intelligence key and inside and outside discrimination method |
-
2019
- 2019-10-28 CN CN201911030311.1A patent/CN110753392B/en active Active
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20160318475A1 (en) * | 2013-12-31 | 2016-11-03 | Huf North America Automotive Parts Mfg. Corp. | Bluetooth verification for vehicle access systems |
CN105809793A (en) * | 2016-03-14 | 2016-07-27 | 南京邮电大学 | Vehicle unlocking method based on iBeacon movement trajectory |
CN105912500A (en) * | 2016-03-30 | 2016-08-31 | 百度在线网络技术(北京)有限公司 | Machine learning model generation method and machine learning model generation device |
CN106792554A (en) * | 2016-11-23 | 2017-05-31 | 长安大学 | A kind of localization method based on Dual Matching fingerprint location technology |
CN108600943A (en) * | 2018-04-08 | 2018-09-28 | 上海交通大学 | A kind of keyless systems localization method based on low-power consumption bluetooth RSS |
CN109699004A (en) * | 2018-12-25 | 2019-04-30 | 深圳市元征科技股份有限公司 | Bluetooth key localization method, device, bluetooth equipment and storage medium |
CN110062326A (en) * | 2019-04-08 | 2019-07-26 | 上海交通大学 | A kind of positioning of automobile-used blue-tooth intelligence key and inside and outside discrimination method |
Cited By (19)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111516639A (en) * | 2020-05-13 | 2020-08-11 | 大陆汽车电子(长春)有限公司 | Method for realizing departure reminding |
CN111836346A (en) * | 2020-06-08 | 2020-10-27 | 浙江联控技术有限公司 | Bluetooth key positioning method, device and equipment |
CN111836346B (en) * | 2020-06-08 | 2022-08-02 | 浙江联控技术有限公司 | Bluetooth key positioning method, device and equipment |
CN113873682A (en) * | 2020-06-12 | 2021-12-31 | 奥图码科技股份有限公司 | Automatic connection and disconnection system and automatic connection and disconnection method |
CN113920615A (en) * | 2020-06-24 | 2022-01-11 | 广州汽车集团股份有限公司 | Method for connecting Bluetooth key with vehicle, vehicle Bluetooth system and Bluetooth key |
CN112399331A (en) * | 2020-07-09 | 2021-02-23 | 上汽通用五菱汽车股份有限公司 | Automobile Bluetooth key positioning method |
RU2805494C1 (en) * | 2020-10-14 | 2023-10-17 | Чери Отомобайл Ко., Лтд. | Vehicle and device positioning method |
WO2022078267A1 (en) * | 2020-10-14 | 2022-04-21 | 奇瑞汽车股份有限公司 | Vehicle and device positioning method |
CN112614255A (en) * | 2020-12-09 | 2021-04-06 | 广州橙行智动汽车科技有限公司 | Vehicle position detection method and device, and unlocking control method and device |
CN112911568A (en) * | 2021-03-12 | 2021-06-04 | 广州小鹏汽车科技有限公司 | Method and device for acquiring signal strength of multiple Bluetooth modules and mobile terminal |
CN113298985A (en) * | 2021-05-31 | 2021-08-24 | 远峰科技股份有限公司 | RSSI-based digital key unlocking terminal positioning method and system |
CN113689677A (en) * | 2021-08-24 | 2021-11-23 | 四川长虹网络科技有限责任公司 | Reminding method for leaving mobile device in vehicle, vehicle-mounted computer and vehicle |
CN113784326A (en) * | 2021-09-10 | 2021-12-10 | 上海瓶钵信息科技有限公司 | Vehicle positioning system and method based on multiple Bluetooth modules |
CN113747357A (en) * | 2021-09-10 | 2021-12-03 | 深圳南方德尔汽车电子有限公司 | Bluetooth positioning method based on calibration parameters |
CN113747357B (en) * | 2021-09-10 | 2024-04-16 | 深圳南方德尔汽车电子有限公司 | Bluetooth positioning method based on calibration parameters |
CN115226081A (en) * | 2021-12-10 | 2022-10-21 | 广州汽车集团股份有限公司 | Automobile key positioning method |
CN115226081B (en) * | 2021-12-10 | 2023-12-15 | 广州汽车集团股份有限公司 | Automobile key positioning method |
CN114915905A (en) * | 2022-05-06 | 2022-08-16 | 江西五十铃汽车有限公司 | Bluetooth key position identification method and device, readable storage medium and vehicle |
CN115150007A (en) * | 2022-06-30 | 2022-10-04 | 中国第一汽车股份有限公司 | Digital key system monitoring method, device, equipment and storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN110753392B (en) | 2021-01-12 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110753392B (en) | Bluetooth key positioning system and method based on Internet of vehicles | |
US9184777B2 (en) | Method and system for personalized dealership customer service | |
CN111768528A (en) | Bluetooth digital key positioning system based on calibration and calibration signal sharing and distribution | |
CN109357681B (en) | Vehicle navigation service coordinated with handheld wireless device | |
CN111768526A (en) | Bluetooth digital key positioning system for acquiring reference point data | |
CN111784876A (en) | Bluetooth digital key positioning system for acquiring reference point data containing azimuth angle | |
CN107111902A (en) | Remote vehicle data gathering system | |
US9466158B2 (en) | Interactive access to vehicle information | |
CN107430524B (en) | Method for positioning sound emission position and terminal equipment | |
CN108983204B (en) | Positioning method for keyless entry and keyless start system | |
CN107277154A (en) | Information-pushing method, device and mobile terminal | |
US20190325290A1 (en) | Apparatus and method that detect wheel alignment condition | |
CN107315519A (en) | OS switching methods, device and mobile terminal under driving condition | |
CN108461084A (en) | Speech recognition system control method, control device and computer readable storage medium | |
US20170102697A1 (en) | Selecting a vehicle function to control using a wearable electronic device | |
CN107391604A (en) | Map styles display methods, device and mobile terminal based on active state | |
CN107808546A (en) | Indoor parking localization method, system and computer-readable recording medium | |
CN101996629A (en) | Method of recognizing speech | |
CN106982448A (en) | Wi Fi module test methods and device and computer-readable recording medium | |
CN108551623A (en) | Vehicle and its audio based on voice recognition play adjusting method | |
US20150170516A1 (en) | System and method for outputting distance linkage alarm of vehicle | |
CN104392627A (en) | Intelligent traffic monitoring system | |
CN107341226A (en) | Information displaying method, device and mobile terminal | |
US9037520B2 (en) | Statistical data learning under privacy constraints | |
CN106228447A (en) | Vehicle remote surveys the system and method for setting loss |
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 |