CN114915905B - Bluetooth key position identification method and device, readable storage medium and vehicle - Google Patents

Bluetooth key position identification method and device, readable storage medium and vehicle Download PDF

Info

Publication number
CN114915905B
CN114915905B CN202210486146.6A CN202210486146A CN114915905B CN 114915905 B CN114915905 B CN 114915905B CN 202210486146 A CN202210486146 A CN 202210486146A CN 114915905 B CN114915905 B CN 114915905B
Authority
CN
China
Prior art keywords
bluetooth key
signal value
value range
vehicle
user
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
CN202210486146.6A
Other languages
Chinese (zh)
Other versions
CN114915905A (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.)
Jiangxi Isuzu Motors Co Ltd
Original Assignee
Jiangxi Isuzu Motors 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 Jiangxi Isuzu Motors Co Ltd filed Critical Jiangxi Isuzu Motors Co Ltd
Priority to CN202210486146.6A priority Critical patent/CN114915905B/en
Publication of CN114915905A publication Critical patent/CN114915905A/en
Application granted granted Critical
Publication of CN114915905B publication Critical patent/CN114915905B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/02Services making use of location information
    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07CTIME 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
    • G07C9/00Individual registration on entry or exit
    • G07C9/00174Electronically operated locks; Circuits therefor; Nonmechanical keys therefor, e.g. passive or active electrical keys or other data carriers without mechanical keys
    • G07C9/00309Electronically operated locks; Circuits therefor; Nonmechanical keys therefor, e.g. passive or active electrical keys or other data carriers without mechanical keys operated with bidirectional data transmission between data carrier and locks
    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07CTIME 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
    • G07C9/00Individual registration on entry or exit
    • G07C9/00174Electronically operated locks; Circuits therefor; Nonmechanical keys therefor, e.g. passive or active electrical keys or other data carriers without mechanical keys
    • G07C9/00896Electronically operated locks; Circuits therefor; Nonmechanical keys therefor, e.g. passive or active electrical keys or other data carriers without mechanical keys specially adapted for particular uses
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/30Services specially adapted for particular environments, situations or purposes
    • H04W4/40Services specially adapted for particular environments, situations or purposes for vehicles, e.g. vehicle-to-pedestrians [V2P]
    • 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
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • H04W76/14Direct-mode setup
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Lock And Its Accessories (AREA)

Abstract

The invention discloses a Bluetooth key position identification method, a Bluetooth key position identification device, a readable storage medium and a vehicle, wherein the Bluetooth key position identification method comprises the following steps: when the Bluetooth key connection is detected, judging whether the Bluetooth key is connected for the first time; if yes, sending signal acquisition prompt information to a user, wherein the prompt information is used for prompting the user to acquire signal values; and acquiring a signal value range acquired by the user, and taking the signal value range as a boundary value range of the Bluetooth key for position identification. The invention solves the problem of low accuracy of Bluetooth key position identification in the prior art.

Description

Bluetooth key position identification method and device, readable storage medium and vehicle
Technical Field
The present invention relates to the field of vehicle technologies, and in particular, to a bluetooth key position identification method and apparatus, a readable storage medium, and a vehicle.
Background
Along with the continuous development of society, the automobile enters into every family, and at present, along with the continuous promotion of user's demand, the vehicle also develops towards intelligent direction, and specifically, the vehicle realizes vehicle automation or remote control through modes such as information fusion, communication, and wherein, the automobile bluetooth key just is a kind of embodiment of vehicle intelligence.
Bluetooth keys refer to a function that allows a user to control a vehicle using bluetooth of a mobile phone when the user is in close proximity to the vehicle. The Bluetooth key comprises relevant operations such as a door opening/closing lock, a trunk opening/closing and a vehicle starting, and the like, and can realize the main functions of a physical key and realize more convenient vehicle control operation. Therefore, it is important to ensure that the vehicle accurately recognizes the accurate position of the bluetooth key, for example, whether the current bluetooth key is inside or outside the vehicle.
In the prior art, most vehicles adopt a single Bluetooth module, on one hand, because Bluetooth signals transmitted by the single Bluetooth module of the vehicle are not stable enough, and on the other hand, because of different brands of mobile phones or Bluetooth hardware versions and the like, the signal receiving efficiency is also different, so that the problem that in the actual use process of users, A mobile phones are identified as in-vehicle mobile phones, B mobile phones are identified as out-of-vehicle mobile phones, and the identification is inaccurate is caused.
Disclosure of Invention
Accordingly, the present invention is directed to a bluetooth key position identification method, device, readable storage medium and vehicle, and aims to solve the problem of inaccurate bluetooth key position identification in the prior art.
The embodiment of the invention is realized as follows: a bluetooth key location identification method, the method comprising:
When the Bluetooth key connection is detected, judging whether the Bluetooth key is connected for the first time;
If yes, sending signal acquisition prompt information to a user, wherein the prompt information is used for prompting the user to acquire signal values;
And acquiring a signal value range acquired by the user, and taking the signal value range as a boundary value range of the Bluetooth key for position identification.
Further, in the bluetooth key position identification method, the sending a signal acquisition prompt message to the user, where the prompt message is used to prompt the user to perform the step of signal value acquisition, further includes:
Acquiring a signal value change curve of the user in the current acquisition process according to the signal value acquired by the user;
judging whether the signal value change curve is in the range of a preset signal value change curve or not;
if yes, executing the step of acquiring the signal value range acquired by the user and taking the signal value range as the boundary value range of the Bluetooth key for position identification.
Further, in the bluetooth key position identification method, before the step of acquiring the signal value change curve in the current acquisition process of the user according to the signal value acquired by the user, the method further includes:
Acquiring the distance between the vehicle-mounted Bluetooth module and each edge of the vehicle;
And acquiring the signal value range of each edge of the vehicle according to the distance, and determining a preset signal value change curve range according to the signal value range of each edge of the vehicle.
Further, in the bluetooth key position identification method, after the step of acquiring the signal value range acquired by the user and using the signal value range as the boundary value range of the bluetooth key for position identification, the method further includes:
and acquiring the MAC address of the Bluetooth key, and correspondingly storing the Bluetooth key and the boundary value range corresponding to the Bluetooth key according to the MAC address.
Further, in the bluetooth key position identification method, after the step of acquiring the signal value range acquired by the user and using the signal value range as the boundary value range of the bluetooth key for position identification, the method further includes:
Acquiring the boundary value range of the Bluetooth key acquired by a vehicle under different environments, and correspondingly storing the boundary value range and the corresponding environments;
When the Bluetooth key is detected to be in non-first connection, acquiring the current environment information of the vehicle, and adjusting the current boundary value range of the vehicle according to the environment information.
Further, in the bluetooth key position identification method, when the bluetooth key is detected to be in the non-first connection state, the step of acquiring the current environment information of the vehicle and adjusting the current boundary value range of the vehicle according to the environment information includes:
After the Bluetooth key is connected, acquiring a signal intensity change curve of the Bluetooth key in the process of moving from one side far away from the vehicle to one side close to the vehicle in a preset vehicle range;
and performing similarity matching on the preset signal intensity change curve and the signal intensity change curve, and taking an environment corresponding to the preset signal intensity change curve with the matching degree higher than a matching degree threshold as the current environment of the vehicle.
Further, the bluetooth key position identification method, wherein the method further comprises:
When the connection times of the Bluetooth key are detected to be larger than preset times, acquiring the working state change parameters of the mobile terminal corresponding to the Bluetooth key, and determining the battery loss degree of the mobile terminal according to the working state change parameters;
acquiring a correction coefficient corresponding to the battery loss degree from a preset database, and correcting the boundary value range through the correction coefficient;
The working state change parameter is a change parameter of a working state of the connection of the mobile terminal and the first connection of the mobile terminal.
Another object of the present invention is to provide a bluetooth key position identification apparatus, the apparatus comprising:
The connection judging module is used for judging whether the Bluetooth key is connected for the first time or not when the Bluetooth key is detected to be connected;
the signal value acquisition module is used for sending signal acquisition prompt information to a user when judging that the Bluetooth key is connected for the first time, wherein the prompt information is used for prompting the user to acquire the signal value;
And the boundary value determining module is used for acquiring the signal value range acquired by the user and taking the signal value range as the boundary value range of the Bluetooth key for position identification.
It is a further object of the present invention to provide a readable storage medium having stored thereon a computer program which when executed by a processor performs the steps of the method described above.
It is a further object of the invention to provide a vehicle comprising a memory, a processor and a computer program stored on the memory and executable on the processor, which processor implements the steps of the method described above when executing the program.
According to the invention, when the Bluetooth key is connected for the first time, the boundary value of the Bluetooth key is recalibrated by utilizing the signal value range acquired by the user under the actual condition, and because the recalibrated boundary value is acquired by the user under the actual scene through the mobile phone for connection, the problem of inaccurate Bluetooth key position identification caused by inaccurate signal reception due to different signal receiving efficiencies of various mobile phone brands or Bluetooth hardware versions after the vehicle leaves the factory can be avoided, the accuracy of Bluetooth key identification is improved, and the problem of low accuracy in Bluetooth position identification in the prior art is solved.
Drawings
FIG. 1 is a flowchart of a Bluetooth key position identification method according to a first embodiment of the present invention;
FIG. 2 is a flowchart of a Bluetooth key position identifying method according to a second embodiment of the present invention;
FIG. 3 is a flowchart of a Bluetooth key position identifying method according to a third embodiment of the present invention;
FIG. 4 is a flowchart of a Bluetooth key position identifying method according to a fourth embodiment of the present invention;
fig. 5 is a block diagram illustrating a bluetooth key position identification apparatus according to a fifth embodiment of the present invention.
The invention will be further described in the following detailed description in conjunction with the above-described figures.
Detailed Description
In order that the invention may be readily understood, a more complete description of the invention will be rendered by reference to the appended drawings. Several embodiments of the invention are presented in the figures. This invention may, however, be embodied in many different forms and should not be construed as limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete.
It will be understood that when an element is referred to as being "mounted" on another element, it can be directly on the other element or intervening elements may also be present. When an element is referred to as being "connected" to another element, it can be directly connected to the other element or intervening elements may also be present. The terms "vertical," "horizontal," "left," "right," and the like are used herein for illustrative purposes only.
Unless defined otherwise, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this invention belongs. The terminology used herein in the description of the invention is for the purpose of describing particular embodiments only and is not intended to be limiting of the invention. The term "and/or" as used herein includes any and all combinations of one or more of the associated listed items.
The following will describe in detail how to improve the accuracy of bluetooth key location identification with reference to specific embodiments and figures.
Example 1
Referring to fig. 1, a bluetooth key position identifying method according to a first embodiment of the invention is shown, and the method includes steps S10 to S12.
Step S10, when the Bluetooth key connection is detected, judging whether the Bluetooth key is connected for the first time; if yes, go to step S11.
Specifically, the bluetooth key is a key generic term for realizing a control function through bluetooth connection, and the bluetooth key for a vehicle is generally used together with an APP on a mobile terminal to remotely control functions of starting/flameout and opening/closing a vehicle door of the vehicle, wherein the mobile terminal includes, but is not limited to, a mobile phone, a tablet, and the like.
In addition, whether the signal intensity value for identification corresponding to the current Bluetooth key needs to be recalibrated can be determined by judging whether the Bluetooth key is connected for the first time.
Step S11, sending signal acquisition prompt information to a user, wherein the prompt information is used for prompting the user to acquire signal values.
The prompt information can be pushed through the mobile APP display interface or the vehicle central control display interface, so that a user can receive the prompt information, and the prompt information comprises but is not limited to text and/or voice and/or video animation forms.
Specifically, the user collects signal values according to a preset rule, in this embodiment, the user leans against two sides of the vehicle, approaches the vehicle according to the habit of carrying the mobile phone on the weekdays and walks around the vehicle for a preset number of times (for example, 1 to 2 times), and after the mobile phone APP acquires the signal intensity values in the walking process in real time, the mobile phone APP sends multiple groups of signal values to the vehicle so that the vehicle can collect the signal values.
It can be understood that the received signal value is acquired by the user according to the habit of carrying the mobile phone at ordinary times, and the acquisition work of signal reception is carried out when the mobile phone is connected for the first time, so that the problem of inaccurate Bluetooth key position identification caused by inaccurate signal reception due to the fact that the signal reception efficiency of each mobile phone brand or Bluetooth hardware version is different after the vehicle leaves the factory can be avoided.
In addition, in some optional embodiments of the present invention, in order to increase the efficiency and accuracy of signal acquisition, the door handle area, the air intake grille area and the rear bumper area of the vehicle may be respectively used, where signal values may be acquired in any one of the areas, or final signal values may be acquired by averaging after the three areas are acquired. In addition, the final signal value can be obtained by determining whether to collect the signal value in any area or to collect the signal value in an average value after collecting the three areas according to different vehicle types, for example, when the vehicle is an SUV vehicle type, the door handle area, the air inlet grille area and the rear bumper area may belong to different horizontal planes, and at this time, the final signal value needs to be obtained by collecting the three areas and then obtaining the average value.
Step S12, acquiring a signal value range acquired by the user, and taking the signal value range as a boundary value range of the Bluetooth key for position identification.
Specifically, according to the signal value acquired by the user at this time, the signal value range acquired by the user in the current acquisition process can be acquired, the boundary value range is a judging standard for judging the relative position of the vehicle where the Bluetooth key is located, and the accuracy of identifying the position of the Bluetooth key can be improved by taking the signal value range actually acquired by the user as the boundary value range.
More specifically, in some embodiments of the present invention, the method for determining the position of the bluetooth key after acquiring the boundary value range may specifically include:
When the Bluetooth key connection is detected, receiving a current signal value of the Bluetooth key, and judging whether the current signal value is larger than the boundary value range or not;
If yes, judging that the Bluetooth key is positioned in the vehicle;
if not, judging that the Bluetooth key is positioned outside the vehicle.
It can be understood that when the received current signal value is greater than the boundary value range, the current bluetooth key is indicated to be greater than the previous detour distance from the vehicle position, i.e. the bluetooth key is located in the vehicle, and similarly, when the received current signal value is less than the boundary value range, the bluetooth key is located outside the vehicle.
In addition, in some optional embodiments of the present invention, the step of obtaining the signal value range collected by the user and using the signal value range as the boundary value range of the bluetooth key for location identification includes:
And acquiring a signal value range acquired by the user, determining a target signal value with the maximum signal intensity according to the signal value range, and taking the target signal value as a boundary value of the Bluetooth key for position identification.
It can be understood that the purpose of obtaining and setting the boundary value is to determine that the bluetooth key is located in or outside the vehicle by comparing the signal strength received by the bluetooth key with the boundary value when knowing the signal strength received by the bluetooth key is located in the value, so that the boundary value should be set as close to the signal strength value between the bluetooth key and the vehicle as possible.
In addition, in some optional embodiments of the present invention, the bluetooth key location identifying method further includes:
When the connection times of the Bluetooth key are detected to be larger than the preset times, the working state change parameters of the mobile terminal corresponding to the Bluetooth key are obtained, and the battery loss degree of the mobile terminal is determined according to the working state change parameters.
The working state change parameter is a change parameter of the working state of the mobile terminal, which is connected with the mobile terminal for the first time, specifically, the corresponding mobile terminal is a mobile terminal which establishes a bluetooth connection with a vehicle, it should be understood that many factors influencing the bluetooth signal receiving effect are available, for example, the electric quantity of the mobile terminal and the transmitting and receiving power of the mobile terminal, etc., and in the actual use process, as the service life of the mobile terminal increases, the loss of the hardware of the mobile terminal is continuously increased, resulting in performance degradation, for example, as the service life of the mobile terminal increases, the health of the battery decreases, resulting in lower voltage of the battery, thereby affecting the capability of the mobile terminal for receiving bluetooth signals, and in a simple way, the longer the mobile phone service life is, the lower and the more unstable the bluetooth signals can be received, therefore, in the embodiment, the service condition of the mobile terminal is also used as a reference factor of a boundary value range, and in particular, when the number of connection times of bluetooth is detected to be greater than the preset, the service life of the mobile terminal is indicated, the service life of the mobile terminal is also indicated to be longer, and the mobile terminal is not calibrated by the current state of the mobile terminal, and the mobile terminal is not required to be accurately determined, if the current state of the mobile terminal is not required.
And acquiring a correction coefficient corresponding to the battery loss degree from a preset database, and correcting the boundary value range through the correction coefficient.
The method comprises the steps that a plurality of groups of correction coefficients corresponding to different battery loss degrees are stored in a preset database, the correction coefficient corresponding to the current battery loss degree of the mobile terminal can be obtained according to the battery loss degree, the boundary value range is corrected through the correction coefficient, so that the Bluetooth key can be accurately identified, the Bluetooth key does not need to be subjected to signal acquisition again, the working efficiency is improved, and specifically, data in the preset database can be comprehensively obtained through big data in a server, and the big data in the server can be obtained through different experimental demonstration.
In summary, according to the bluetooth key position identification method in the above embodiment of the present invention, when a bluetooth key is first connected, the boundary value of the bluetooth key is recalibrated by using the signal value range acquired by the user under the actual condition, and because the recalibrated boundary value is acquired by the user under the actual condition through the mobile phone used for connection, the problem of inaccurate bluetooth key position identification caused by inaccurate signal reception due to different signal receiving efficiency of each mobile phone brand or bluetooth hardware version after the vehicle leaves the factory can be avoided, the accuracy of bluetooth key identification is improved, and the problem of low accuracy when bluetooth position identification is performed in the prior art is solved.
Example two
Referring to fig. 2, a bluetooth key position identifying method according to a second embodiment of the invention is shown, and the method includes steps S20 to S24.
Step S20, judging whether the Bluetooth key is connected for the first time when the Bluetooth key is detected to be connected; if yes, go to step S21.
Step S21, sending signal acquisition prompt information to a user, wherein the prompt information is used for prompting the user to acquire signal values.
Step S22, acquiring a signal value range acquired by the user, and taking the signal value range as a boundary value range of the Bluetooth key for position identification.
Step S23, the MAC address of the Bluetooth key is obtained, and the Bluetooth key and the boundary value range corresponding to the Bluetooth key are stored correspondingly according to the MAC address.
The vehicle is internally provided with an internal storage area for storing Bluetooth devices which are currently paired and connected with the Bluetooth key, and simultaneously records signal values transmitted by the Bluetooth devices; so as to facilitate the taking of data.
Specifically, the step of storing the bluetooth key and the boundary value range corresponding to the bluetooth key correspondingly includes:
And acquiring the MAC address of the Bluetooth key, and correspondingly storing the MAC address and a target signal value corresponding to the MAC address.
It can be understood that each bluetooth device corresponds to a unique MAC address, so that the MAC address can be used as an identity of the bluetooth device, and the obtained boundary value ranges can be stored in a one-to-one correspondence manner through the MAC address.
And step S24, when the Bluetooth key is detected to be in non-first connection, reading a historical target signal value range corresponding to the Bluetooth key, and taking the historical target signal value range as a boundary value range of the Bluetooth key for position identification.
The historical target signal value range is signal value data acquired by a user when the user is connected for the first time through the Bluetooth key, after the signal value data are stored, when the Bluetooth key is detected to be connected for the non-first time, the data stored before can be read, so that the boundary range is adaptively adjusted according to different Bluetooth keys, and the accuracy of identifying the position of the Bluetooth key is further improved.
In addition, in some optional embodiments of the present invention, in order to enhance the initiative of obtaining the boundary value range, a calibration interface is additionally added to the APP in the mobile phone terminal configured with the bluetooth key, and the user may trigger a calibration request through the mobile phone APP to re-collect the signal value to adjust the default boundary value range of the current vehicle, so that when the user finds that the default boundary value range of the current vehicle is not accurate enough, the user actively changes the boundary value range.
In summary, according to the bluetooth key position identification method in the above embodiment of the present invention, when a bluetooth key is first connected, the boundary value of the bluetooth key is recalibrated by using the signal value range acquired by the user under the actual situation, and because the recalibrated boundary value is acquired by the user under the actual situation through the mobile phone used for connection, the problem of inaccurate bluetooth key position identification caused by inaccurate signal reception due to different signal receiving efficiencies of various mobile phone brands or bluetooth hardware versions after the vehicle leaves the factory can be avoided, the accuracy of bluetooth key identification is improved, and the acquired data is stored for convenient access after each first connection of the bluetooth key, so that the problem of low accuracy in bluetooth position identification in the prior art is solved, and the adaptability of bluetooth key position identification is improved.
Example III
Referring to fig. 3, a bluetooth key position identifying method according to a third embodiment of the invention is shown, and the method includes steps S30 to S34.
Step S30, judging whether the Bluetooth key is connected for the first time or not when the Bluetooth key is detected to be connected; if yes, go to step S31.
Step S31, sending signal acquisition prompt information to a user, wherein the prompt information is used for prompting the user to acquire signal values.
Step S32, acquiring a signal value range acquired by the user, and using the signal value range as a boundary value range of the bluetooth key for position identification.
Step S33, acquiring the boundary range of the bluetooth key acquired by the vehicle under different environments, and storing the boundary value range and the corresponding environment correspondingly.
In practice, the signal strength received by the bluetooth key is floating, sometimes because of environmental factors (such as underground parking lot or surrounding vehicles, etc.), for example, when the vehicle is in the parking lot, because the obstacles (pillars) in the parking lot are numerous, and most of the parking lot is provided with a plurality of bluetooth terminals, for example, the parking lot with navigation function needs to communicate through the bluetooth terminals, these all affect the reception of bluetooth signals, so that the signal strength actually received by the bluetooth key is different in different environments although the relative positions of the vehicle where the bluetooth key is located are the same, therefore, when the boundary value ranges of the bluetooth key are matched, the environment where the vehicle is located is an open field, at this time, the acquired boundary value ranges are the boundary value ranges of the bluetooth key when the vehicle is in the open field, and when the vehicle is in the parking lot, because the signal strength received by the bluetooth key is interfered by the environmental factors, when the boundary value ranges marked in the open field are regarded as standards of bluetooth position identification of the vehicle in the parking lot, the problem of inaccurate bluetooth key identification can be caused.
Correspondingly, the boundary value ranges collected by the vehicle in different environments can be obtained, and the boundary value ranges and the corresponding environments are stored one by one, so that the vehicle can use the corresponding boundary value ranges in different environments as a judgment standard.
And step S34, when the Bluetooth key is detected to be in non-first connection, acquiring the current environment information of the vehicle, and adjusting the current boundary value range of the vehicle according to the environment information.
When the bluetooth key is detected to be in non-first connection, the data such as the environment and the boundary value range corresponding to the bluetooth key are stored in the preset database, so that the environment information of the vehicle can be acquired, the corresponding boundary value range is acquired according to the environment information, and the boundary value range currently defaulted by the vehicle is replaced by the boundary value range, so that the adjustment of the current boundary value range is realized.
Specifically, in some alternative embodiments of the invention, the step of determining environmental information in which the vehicle is located may include:
After the Bluetooth key is connected, acquiring a signal intensity change curve of the Bluetooth key in the process of moving from one side far away from the vehicle to one side close to the vehicle in a preset vehicle range;
and performing similarity matching on the signal intensity change curve and a preset signal intensity change curve, and taking an environment corresponding to the preset signal intensity change curve with the matching degree higher than a matching degree threshold as the current environment of the vehicle.
It can be understood that the preset signal strength change curve is a signal strength change curve in the process that the bluetooth key moves from one side far away from the vehicle to one side close to the vehicle in the preset range of the vehicle under different environments, and because the signal strengths received by the bluetooth key at the same position are different under different environments, the signal strength change curve is also different, namely, the environment where the vehicle is located can be determined through the signal strength change curve, and specifically, the preset signal strength change curve can be obtained through experiments in advance.
Therefore, after the Bluetooth key is connected, in the process of moving from one side far away from the vehicle to one side close to the vehicle in the preset range of the vehicle, a corresponding signal strength change curve can be obtained, in the moving process, the environment where the vehicle is located can be determined, the default boundary value range of the vehicle is immediately switched to the boundary value range corresponding to the current environment, and the accuracy of Bluetooth key identification is further improved.
In addition, there are other problems affecting bluetooth key identification in practice, for example, when a user owns multiple mobile phones and all of the multiple mobile phones are connected with a vehicle through bluetooth, at this time, the connected mobile phones need to be determined, and generally, the priority of the mobile phones can be determined according to a preset rule, for example, the connection frequency of the mobile phones to the vehicle bluetooth is obtained, and the connected mobile phones are determined according to the size of the connection frequency.
Furthermore, in some optional embodiments of the present invention, the current electric quantity of the mobile phone may be obtained, and since the electric quantity of the mobile phone may affect the receiving frequency of bluetooth, and most of mobile phones may enter a low-electric-quantity mode when the electric quantity is too low, the connection effect of bluetooth is poor, so that the connection of the mobile phone may be determined according to the current electric quantity of the mobile phone, that is, a determination condition may be added on the basis of the connection frequency of the mobile phone, so as to further improve the stability and the recognition effect of bluetooth connection.
In summary, according to the bluetooth key position identification method in the above embodiment of the present invention, when a bluetooth key is first connected, a signal value range acquired by a user under an actual condition is utilized to recalibrate a boundary value for determining a bluetooth key, and because the recalibrated boundary value is acquired by the user under the actual condition through a mobile phone used for connection, the problem of inaccurate bluetooth key position identification caused by inaccurate signal reception due to different signal receiving efficiencies of various mobile phone brands or bluetooth hardware versions after a vehicle leaves a factory can be avoided, the accuracy of bluetooth key identification is improved, and after each bluetooth key connection, the current environment where a vehicle is located can be identified, and the boundary value range is switched to the boundary value range corresponding to the current environment, thereby solving the problem of low accuracy in bluetooth position identification in the prior art, and further improving the accuracy of bluetooth key position identification.
Example IV
Referring to fig. 4, a method for identifying a bluetooth key position according to a fourth embodiment of the invention is shown, and the method includes steps S40 to S44.
Step S40, when the Bluetooth key connection is detected, judging whether the Bluetooth key is connected for the first time; if yes, go to step S41.
Step S41, sending signal acquisition prompt information to a user, wherein the prompt information is used for prompting the user to acquire signal values.
Step S42, obtaining a signal value change curve of the user in the current collection process according to the signal value collected by the user.
In practice, since the collected signal value is collected by the user by himself, in some special cases, there may be a problem that the signal value is collected inaccurately, where special cases include but are not limited to that the user operates improperly or that the signal value is interfered by other factors in the collection process, for example, when the user performs signal value collection by a mobile phone, hands the mobile phone to shake and the collected signal value is inaccurate (for example, the signal value suddenly drops or decreases) due to the blocking of an obstacle in the collection process, which results in the problem that the bluetooth key position is not accurately identified.
In addition, in some optional embodiments of the present invention, in order to determine a range of a preset signal value change curve, before the step of obtaining the signal value change curve in the current acquisition process of the user according to the signal value acquired by the user, the method further includes:
Acquiring the distance between the vehicle-mounted Bluetooth module and each edge of the vehicle;
And acquiring the signal value range of each edge of the vehicle according to the distance, and determining a preset signal value change curve range according to the signal value range of each edge of the vehicle.
It can be understood that the signal value range of each edge of the vehicle can be obtained according to the distance between the installation position of the vehicle-mounted bluetooth module and each edge of the vehicle (i.e. each edge of the vehicle which needs to be bypassed when the user collects the signal value range), specifically, the signal value reaching each edge of the vehicle can be calculated according to the emission intensity and the distance of the vehicle-mounted bluetooth module, wherein a maximum value and a minimum value can be determined to limit the signal value range, the signal value change curve corresponding to the maximum value and the signal value change curve corresponding to the minimum value can be obtained according to the maximum value and the minimum value of each edge respectively, the range included between the signal value change curve corresponding to the maximum value and the signal value change curve corresponding to the minimum value is the range of the preset signal value change curve, and the problem that the signal value of each edge of the vehicle is inaccurate in signal value acquisition caused by the inconsistency of the receiving frequency of the bluetooth terminal is avoided because the signal value of each edge of the vehicle-mounted bluetooth module is determined by the emission intensity.
Step S43, judging whether the signal value change curve is in the range of a preset signal value change curve; if yes, go to step S44.
Specifically, when the signal value change curve is judged to be in the range of the preset signal value change curve, the signal value acquired in the current signal acquisition process is accurate.
Step S44, obtaining a signal value range acquired by the user, and taking the signal value range as a boundary value range of the Bluetooth key for position identification.
In summary, according to the bluetooth key position identification method in the above embodiment of the present invention, when a bluetooth key is first connected, the boundary value of the bluetooth key is recalibrated by using the signal value range acquired by the user under the actual condition, and because the recalibrated boundary value is acquired by the user under the actual condition through the mobile phone used for connection, the problem of inaccurate bluetooth key position identification caused by inaccurate signal reception due to different signal receiving efficiencies of various mobile phone brands or bluetooth hardware versions after the vehicle leaves the factory can be avoided, the accuracy of bluetooth key identification is improved, and verification is performed after each signal acquisition, so that the problem of low accuracy in bluetooth position identification in the prior art is solved, and the accuracy of bluetooth key position identification is further improved.
Example five
Referring to fig. 5, a bluetooth key position identifying device according to a fourth embodiment of the invention is shown, the device includes:
The connection judging module 100 is configured to judge whether the bluetooth key is first connected when the bluetooth key connection is detected;
The signal value acquisition module 200 is configured to send signal acquisition prompt information to a user when the bluetooth key is determined to be connected for the first time, where the prompt information is used to prompt the user to acquire a signal value;
The boundary value determining module 300 is configured to obtain a signal value range acquired by the user, and use the signal value range as a boundary value range of the bluetooth key for location identification.
Further, in some optional embodiments of the present invention, the system apparatus further includes:
the signal value change curve acquisition module is used for acquiring a signal value change curve of the user in the current acquisition process according to the signal value acquired by the user;
judging whether the signal value change curve is in the range of a preset signal value change curve or not;
if yes, executing the step of acquiring the signal value range acquired by the user and taking the signal value range as the boundary value range of the Bluetooth key for position identification.
Further, in some optional embodiments of the present invention, the apparatus further comprises:
The distance acquisition module is used for acquiring the distance between the vehicle-mounted Bluetooth module and each edge of the vehicle;
And acquiring the signal value range of each edge of the vehicle according to the distance, and determining a preset signal value change curve range according to the signal value range of each edge of the vehicle.
Further, in some optional embodiments of the present invention, the apparatus further comprises:
And the storage module is used for acquiring the MAC address of the Bluetooth key and correspondingly storing the Bluetooth key and the boundary value range corresponding to the Bluetooth key according to the MAC address.
Further, in some optional embodiments of the present invention, the apparatus further comprises:
The environment boundary value acquisition module is used for acquiring the boundary value range of the Bluetooth key acquired by the vehicle under different environments and storing the boundary value range and the corresponding environment correspondingly;
and the adjusting module is used for acquiring the current environment information of the vehicle when the Bluetooth key is detected to be in non-first connection, and adjusting the current boundary value range of the vehicle according to the environment information.
Further, in some optional embodiments of the present invention, the adjusting module includes:
the change curve acquisition unit is used for acquiring a signal intensity change curve of the Bluetooth key in the process of moving from one side far away from the vehicle to one side close to the vehicle in a preset vehicle range after the Bluetooth key is connected;
the environment determining unit is used for performing similarity matching on a preset signal intensity change curve and the signal intensity change curve, and taking an environment corresponding to the preset signal intensity change curve with the matching degree higher than a matching degree threshold as the current environment of the vehicle.
Further, in some optional embodiments of the present invention, the apparatus further comprises:
the battery loss degree acquisition module is used for acquiring the working state change parameters of the mobile terminal corresponding to the Bluetooth key when the connection times of the Bluetooth key are detected to be larger than the preset times, and determining the battery loss degree of the mobile terminal according to the working state change parameters;
the correction module is used for acquiring a correction coefficient corresponding to the battery loss degree from a preset database and correcting the boundary value range through the correction coefficient;
The working state change parameter is a change parameter of a working state of the connection of the mobile terminal and the first connection of the mobile terminal. The functions or operation steps implemented when the above modules are executed are substantially the same as those in the above method embodiments, and are not described herein again.
Example six
Another aspect of the present invention also provides a readable storage medium having stored thereon a computer program which when executed by a processor performs the steps of the method according to any one of the above embodiments one to four.
Example seven
In a further aspect the invention provides a vehicle comprising a memory, a processor and a computer program stored on the memory and executable on the processor, the processor implementing the steps of the method according to any one of the first to fourth embodiments when the program is executed.
The technical features of the above embodiments may be arbitrarily combined, and for brevity, all of the possible combinations of the technical features of the above embodiments are not described, however, they should be considered as the scope of the description of the present specification as long as there is no contradiction between the combinations of the technical features.
Those of skill in the art will appreciate that the logic and/or steps represented in the flow diagrams or otherwise described herein, e.g., a ordered listing of executable instructions for implementing logical functions, can be embodied in any computer-readable storage medium for use by or in connection with an instruction execution system, apparatus, or device, such as a computer-based system, processor-containing system, or other system that can fetch the instructions from the instruction execution system, apparatus, or device and execute the instructions. For the purposes of this description, a "computer-readable storage medium" can be any means that can contain, store, communicate, propagate, or transport the program for use by or in connection with the instruction execution system, apparatus, or device.
More specific examples (a non-exhaustive list) of the computer-readable storage medium would include the following: an electrical connection (electronic device) having one or more wires, a portable computer diskette (magnetic device), a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber device, and a portable compact disc read-only memory (CDROM). In addition, the computer-readable storage medium may even be paper or other suitable medium upon which the program is printed, as the program may be electronically captured, via, for instance, optical scanning of the paper or other medium, then compiled, interpreted, or otherwise processed in a suitable manner, if necessary, and then stored in a computer memory.
It is to be understood that portions of the present invention may be implemented in hardware, software, firmware, or a combination thereof. In the above-described embodiments, the various steps or methods may be implemented in software or firmware stored in a memory and executed by a suitable instruction execution system. For example, if implemented in hardware, as in another embodiment, may be implemented using any one or combination of the following techniques, as is well known in the art: discrete logic circuits having logic gates for implementing logic functions on data signals, application specific integrated circuits having suitable combinational logic gates, programmable Gate Arrays (PGAs), field Programmable Gate Arrays (FPGAs), and the like.
In the description of the present specification, a description referring to terms "one embodiment," "some embodiments," "examples," "specific examples," or "some examples," etc., means that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the present invention. In this specification, schematic representations of the above terms do not necessarily refer to the same embodiments or examples. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples.
The foregoing examples illustrate only a few embodiments of the invention and are described in detail herein without thereby limiting the scope of the invention. It should be noted that it will be apparent to those skilled in the art that several variations and modifications can be made without departing from the spirit of the invention, which are all within the scope of the invention. Accordingly, the scope of protection of the present invention is to be determined by the appended claims.

Claims (9)

1. A bluetooth key location identification method, the method comprising:
When the Bluetooth key connection is detected, judging whether the Bluetooth key is connected for the first time;
If yes, sending signal acquisition prompt information to a user, wherein the prompt information is used for prompting the user to acquire signal values;
acquiring a signal value range acquired by the user, and taking the signal value range as a boundary value range of the Bluetooth key for position identification;
the step of sending signal acquisition prompt information to a user, wherein the prompt information is used for prompting the user to acquire signal values and further comprises the following steps:
Acquiring a signal value change curve of the user in the current acquisition process according to the signal value acquired by the user;
judging whether the signal value change curve is in the range of a preset signal value change curve or not;
if yes, executing the step of acquiring the signal value range acquired by the user and taking the signal value range as the boundary value range of the Bluetooth key for position identification.
2. The bluetooth key position identification method according to claim 1, wherein the step of acquiring the signal value change curve in the current acquisition process of the user according to the signal value acquired by the user further comprises:
Acquiring the distance between the vehicle-mounted Bluetooth module and each edge of the vehicle;
And acquiring the signal value range of each edge of the vehicle according to the distance, and determining a preset signal value change curve range according to the signal value range of each edge of the vehicle.
3. The bluetooth key position identification method according to claim 1, wherein the step of acquiring the signal value range acquired by the user and using the signal value range as the boundary value range of the bluetooth key for position identification further comprises:
and acquiring the MAC address of the Bluetooth key, and correspondingly storing the Bluetooth key and the boundary value range corresponding to the Bluetooth key according to the MAC address.
4. The bluetooth key position identification method according to claim 1, wherein the step of acquiring the signal value range acquired by the user and using the signal value range as the boundary value range of the bluetooth key for position identification further comprises:
Acquiring the boundary range of the Bluetooth key acquired by a vehicle in different environments, and correspondingly storing the boundary value range and the corresponding environment;
When the Bluetooth key is detected to be in non-first connection, acquiring the current environment information of the vehicle, and adjusting the current boundary value range of the vehicle according to the environment information.
5. The bluetooth key location identification method according to claim 4, wherein the step of acquiring the environmental information in which the vehicle is currently located and adjusting the current boundary value range of the vehicle according to the environmental information when the bluetooth key is detected to be not first connected comprises:
After the Bluetooth key is connected, acquiring a signal intensity change curve of the Bluetooth key in the process of moving from one side far away from the vehicle to one side close to the vehicle in a preset vehicle range;
and performing similarity matching on the signal intensity change curve and a preset signal intensity change curve, and taking an environment corresponding to the preset signal intensity change curve with the matching degree higher than a matching degree threshold as the current environment of the vehicle.
6. The bluetooth key position identification method according to any one of claims 1 to 5, wherein the method further comprises:
When the connection times of the Bluetooth key are detected to be larger than preset times, acquiring the working state change parameters of the mobile terminal corresponding to the Bluetooth key, and determining the battery loss degree of the mobile terminal according to the working state change parameters;
acquiring a correction coefficient corresponding to the battery loss degree from a preset database, and correcting the boundary value range through the correction coefficient;
The working state change parameter is a change parameter of a working state of the connection of the mobile terminal and the first connection of the mobile terminal.
7. A bluetooth key location identification device, said device comprising:
The connection judging module is used for judging whether the Bluetooth key is connected for the first time or not when the Bluetooth key is detected to be connected;
the signal value acquisition module is used for sending signal acquisition prompt information to a user when judging that the Bluetooth key is connected for the first time, wherein the prompt information is used for prompting the user to acquire the signal value;
The boundary value determining module is used for acquiring a signal value range acquired by the user and taking the signal value range as a boundary value range of the Bluetooth key for position identification;
the signal value change curve acquisition module is used for acquiring a signal value change curve of the user in the current acquisition process according to the signal value acquired by the user;
judging whether the signal value change curve is in the range of a preset signal value change curve or not;
if yes, executing the step of acquiring the signal value range acquired by the user and taking the signal value range as the boundary value range of the Bluetooth key for position identification.
8. A readable storage medium, on which a computer program is stored, characterized in that the program, when being executed by a processor, implements the steps of the method according to any one of claims 1 to 6.
9. A vehicle comprising a memory, a processor and a computer program stored on the memory and executable on the processor, the processor implementing the steps of the method according to any one of claims 1 to 6 when the program is executed.
CN202210486146.6A 2022-05-06 2022-05-06 Bluetooth key position identification method and device, readable storage medium and vehicle Active CN114915905B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210486146.6A CN114915905B (en) 2022-05-06 2022-05-06 Bluetooth key position identification method and device, readable storage medium and vehicle

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210486146.6A CN114915905B (en) 2022-05-06 2022-05-06 Bluetooth key position identification method and device, readable storage medium and vehicle

Publications (2)

Publication Number Publication Date
CN114915905A CN114915905A (en) 2022-08-16
CN114915905B true CN114915905B (en) 2024-06-21

Family

ID=82767412

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210486146.6A Active CN114915905B (en) 2022-05-06 2022-05-06 Bluetooth key position identification method and device, readable storage medium and vehicle

Country Status (1)

Country Link
CN (1) CN114915905B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117058789A (en) * 2023-08-18 2023-11-14 深圳市泰比特科技有限公司 Intelligent sensing switch lock method, device, equipment and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110753392A (en) * 2019-10-28 2020-02-04 北京四海万联科技有限公司 Bluetooth key positioning system and method based on Internet of vehicles
CN111768526A (en) * 2020-06-30 2020-10-13 深圳四海万联科技有限公司 Bluetooth digital key positioning system for acquiring reference point data
CN111768528A (en) * 2020-06-30 2020-10-13 成都四海万联智能电子设备有限公司 Bluetooth digital key positioning system based on calibration and calibration signal sharing and distribution
CN111784876A (en) * 2020-06-30 2020-10-16 成都四海万联智能电子设备有限公司 Bluetooth digital key positioning system for acquiring reference point data containing azimuth angle

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP7155970B2 (en) * 2018-12-05 2022-10-19 株式会社デンソー In-vehicle device, electronic key system and communication method
CN110062326B (en) * 2019-04-08 2021-02-09 上海交通大学 Positioning and internal and external identification method of vehicle Bluetooth intelligent key
CN111683336B (en) * 2020-06-03 2022-03-15 湖北亿咖通科技有限公司 Method and equipment for positioning digital key of vehicle
CN113192243A (en) * 2021-04-26 2021-07-30 远峰科技股份有限公司 Digital vehicle key control system and method for positioning based on signal intensity
CN113223212A (en) * 2021-04-29 2021-08-06 安徽江淮汽车集团股份有限公司 Bluetooth key self-calibration method, device, equipment and storage medium
CN113838233A (en) * 2021-09-18 2021-12-24 芜湖雄狮汽车科技有限公司 Automobile key positioning method and device, electronic equipment and storage medium

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110753392A (en) * 2019-10-28 2020-02-04 北京四海万联科技有限公司 Bluetooth key positioning system and method based on Internet of vehicles
CN111768526A (en) * 2020-06-30 2020-10-13 深圳四海万联科技有限公司 Bluetooth digital key positioning system for acquiring reference point data
CN111768528A (en) * 2020-06-30 2020-10-13 成都四海万联智能电子设备有限公司 Bluetooth digital key positioning system based on calibration and calibration signal sharing and distribution
CN111784876A (en) * 2020-06-30 2020-10-16 成都四海万联智能电子设备有限公司 Bluetooth digital key positioning system for acquiring reference point data containing azimuth angle

Also Published As

Publication number Publication date
CN114915905A (en) 2022-08-16

Similar Documents

Publication Publication Date Title
CN114915905B (en) Bluetooth key position identification method and device, readable storage medium and vehicle
CN110836067B (en) Automobile window control method, automobile window control equipment, storage medium and device
US20130069761A1 (en) System and method to operate an extended range keyless entry system to recognize a keyless entry transmitter
CN112839131B (en) Bluetooth key activation method and system for vehicle
GB2410589A (en) Image recognition facilitated movable barrier
US11923935B2 (en) Vehicle-mounted telematics box (TBOX), antenna real-time switching method and apparatus, and non-transitory computer-readable storage medium
CN110143175B (en) Automobile equipment control method and device, readable storage medium and control equipment
CN108564945B (en) Vehicle-mounted voice control method and device, electronic equipment and storage medium
CN113386689A (en) In-vehicle equipment condition linkage method and device based on cloud realization
JP2012062044A (en) Communication control system
CN113060094B (en) Vehicle control method and device and vehicle-mounted equipment
CN105416202A (en) Method and system for automatically configuring parameters of vehicle
CN107708064A (en) A kind of method and system of mobile unit locating cellphone
CN109782616B (en) Control method and device based on induction array, storage medium and computer equipment
CN105446457A (en) Method and device for optimizing power consumption of application program and electronic equipment
CN109917714B (en) Barrier gate control method and device
CN117459889A (en) Mobile terminal positioning method and device, storage medium and electronic equipment
CN110901640B (en) Vehicle motion torque automatic compensation method, device, equipment and storage medium
CN115035632A (en) Bluetooth key learning method, device, medium, device and system
CN111959304A (en) Charge-discharge circuit system and electric automobile
CN111583665B (en) Parking space detection method, system and terminal adopting geomagnetism and radio frequency
CN114520820B (en) Method and device for identifying charging pile type, server and storage medium
EP4243456A1 (en) Method and apparatus for managing vehicle calibration database, and storage medium
CN113395335B (en) Detection method and system for connecting vehicle-mounted intelligent terminal with background server
US20230202510A1 (en) Apparatus for acquiring autonomous driving learning data and method thereof

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