CN113112646A - Method and equipment for automatically opening and closing lock of vehicle - Google Patents

Method and equipment for automatically opening and closing lock of vehicle Download PDF

Info

Publication number
CN113112646A
CN113112646A CN202110315477.9A CN202110315477A CN113112646A CN 113112646 A CN113112646 A CN 113112646A CN 202110315477 A CN202110315477 A CN 202110315477A CN 113112646 A CN113112646 A CN 113112646A
Authority
CN
China
Prior art keywords
key
bluetooth
vehicle
distance
value
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
Application number
CN202110315477.9A
Other languages
Chinese (zh)
Other versions
CN113112646B (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.)
Shanghai Shimai Digital Technology Co ltd
Original Assignee
Shanghai Shimai Digital Technology 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 Shanghai Shimai Digital Technology Co ltd filed Critical Shanghai Shimai Digital Technology Co ltd
Priority to CN202110315477.9A priority Critical patent/CN113112646B/en
Publication of CN113112646A publication Critical patent/CN113112646A/en
Application granted granted Critical
Publication of CN113112646B publication Critical patent/CN113112646B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • 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
    • G01MEASURING; TESTING
    • G01SRADIO 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/00Position-fixing by co-ordinating two or more direction or position line determinations; Position-fixing by co-ordinating two or more distance determinations
    • G01S5/02Position-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
    • G01S5/0252Radio frequency fingerprinting
    • 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/00571Electronically operated locks; Circuits therefor; Nonmechanical keys therefor, e.g. passive or active electrical keys or other data carriers without mechanical keys operated by interacting with a central unit

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Radar, Positioning & Navigation (AREA)
  • Remote Sensing (AREA)
  • Lock And Its Accessories (AREA)

Abstract

The invention aims to provide a method and equipment for automatically opening and closing a lock of a vehicle, which can complete locking or unlocking operation under the condition that a user does not draw out a key, can adopt a Bluetooth ranging technology, sample a signal intensity value of Bluetooth of the key, such as RSSI (received signal strength indicator) data, judge whether the user is far away or close to the key according to a change rule of the signal intensity value, automatically initiate locking through the Bluetooth of the key when the user is far away, such as after being far away from 10 meters, and automatically initiate unlocking when the user is close, such as when the user is 1 meter away from the vehicle. The invention can realize the locking and unlocking under the condition that a user holds a key in a pocket and does not operate a key button, and is very intelligent.

Description

Method and equipment for automatically opening and closing lock of vehicle
Technical Field
The invention relates to a method and equipment for automatically opening and closing a lock of a vehicle.
Background
The existing vehicles such as electric vehicles are generally locked and unlocked by a Bluetooth key, the user needs to draw out the key, the key is operated by being close to the rear of the vehicle, and the vehicle is not convenient enough and is not intelligent enough.
Disclosure of Invention
The invention aims to provide a method and equipment for automatically opening and closing a lock of a vehicle.
According to one aspect of the present invention, there is provided a method of automatically opening and closing a lock, the method comprising:
acquiring signals of the Bluetooth of the key at each interval time point through the Bluetooth of the vehicle, and acquiring a signal intensity value corresponding to each signal of the Bluetooth of the key;
acquiring a Bluetooth signal of a key and a corresponding signal intensity value according to each interval time point, and judging whether the key is far away from or close to the vehicle;
if the key is judged to be far away from the vehicle, the Bluetooth of the key locks the vehicle through the Bluetooth of the vehicle;
if the key is judged to be close to the vehicle, the Bluetooth of the key unlocks the vehicle through the Bluetooth of the vehicle.
Further, in the above method, the obtaining, by the bluetooth of the vehicle, the signal of the bluetooth of the key at each interval time point, and acquiring a signal intensity value corresponding to each signal of the bluetooth of the key includes:
the method comprises the steps of sampling signal intensity values corresponding to N signals of the Bluetooth of the key at N interval time points in a latest time period respectively, and storing the signal intensity values corresponding to the N signals of the Bluetooth of the key into a signal intensity value sampling queue according to a last-in first-out sequence, wherein N is a positive integer.
Further, in the above method, obtaining a bluetooth signal of a key and a corresponding signal strength value at each time interval point, and determining whether the key is far away from or close to the vehicle includes:
respectively calculating the distance corresponding to each signal intensity value of the Bluetooth of the key in the signal intensity value sampling queue by adopting a Gaussian fuzzy algorithm;
obtaining a distance average value corresponding to the signal intensity value of the Bluetooth of the key according to the distance corresponding to each signal intensity value of the Bluetooth of the key;
and if the distance average value is within a preset threshold range, judging whether the key is far away from or close to the vehicle.
Further, in the above method, obtaining a bluetooth signal of a key and a corresponding signal strength value at each time interval point, and determining whether the key is far away from or close to the vehicle includes:
copying each signal strength value of the first half number in the signal strength value sampling queue to a signal strength value sampling queue to obtain a new signal strength value sampling queue;
respectively calculating the distance corresponding to each signal intensity value of the Bluetooth of the key in the new signal intensity value sampling queue by adopting a Gaussian fuzzy algorithm;
obtaining a distance average value corresponding to the signal intensity value of the Bluetooth of the key according to the distance corresponding to each signal intensity value of the Bluetooth of the key;
and if the distance average value is within a preset threshold range, judging whether the key is far away from or close to the vehicle.
Further, in the above method, if the average distance value is within a preset threshold range, determining whether the key is far from or close to the vehicle includes:
generating a corresponding distance sampling queue according to the corresponding distance of each signal strength value in the signal strength value sampling queue and the same last-in first-out sequence;
if the larger value in the distance sampling queue is concentrated in the first one third part of the distance sampling queue, judging that the key is far away from the vehicle;
and if the smaller values in the distance sampling queue are concentrated in the first one third part of the distance sampling queue, judging that the key is close to the vehicle.
According to another aspect of the present invention, there is also provided an apparatus for automatically opening and closing a lock of a vehicle, the apparatus including:
the sampling device is used for acquiring signals of the Bluetooth of the key at each interval time point through the Bluetooth of the vehicle and acquiring a signal intensity value corresponding to each signal of the Bluetooth of the key;
the judgment device is used for acquiring the Bluetooth signal of the key and the corresponding signal intensity value according to each interval time point and judging whether the key is far away from or close to the vehicle; if the key is judged to be far away from the vehicle, the Bluetooth of the key locks the vehicle through the Bluetooth of the vehicle; if the key is judged to be close to the vehicle, the Bluetooth of the key unlocks the vehicle through the Bluetooth of the vehicle.
Further, in the above device, the sampling device is configured to sample signal strength values corresponding to N signals of the bluetooth of the key at N time intervals in the latest time period, and store the signal strength values corresponding to the N signals of the bluetooth of the key into a signal strength value sampling queue according to a last-in first-out sequence, where N is a positive integer.
Further, in the above device, the determining device is configured to calculate, by using a gaussian fuzzy algorithm, a distance corresponding to each signal intensity value of the bluetooth of the key in the signal intensity value sampling queue; obtaining a distance average value corresponding to the signal intensity value of the Bluetooth of the key according to the distance corresponding to each signal intensity value of the Bluetooth of the key; and if the distance average value is within a preset threshold range, judging whether the key is far away from or close to the vehicle.
Further, in the above apparatus, the determining device is configured to copy a first half number of signal strength values in the signal strength value sampling queue to add into the signal strength value sampling queue, so as to obtain a new signal strength value sampling queue; respectively calculating the distance corresponding to each signal intensity value of the Bluetooth of the key in the new signal intensity value sampling queue by adopting a Gaussian fuzzy algorithm; obtaining a distance average value corresponding to the signal intensity value of the Bluetooth of the key according to the distance corresponding to each signal intensity value of the Bluetooth of the key; and if the distance average value is within a preset threshold range, judging whether the key is far away from or close to the vehicle.
Further, in the above apparatus, the determining device is configured to generate a corresponding distance sampling queue according to a same last-in first-out sequence according to a corresponding distance of each signal strength value in the signal strength value sampling queue; if the larger value in the distance sampling queue is concentrated in the first one third part of the distance sampling queue, judging that the key is far away from the vehicle; and if the smaller values in the distance sampling queue are concentrated in the first one third part of the distance sampling queue, judging that the key is close to the vehicle.
Compared with the prior art, the invention can complete the locking or unlocking operation under the condition that the user does not draw out the key, can adopt the Bluetooth ranging technology, sample the signal intensity value of the Bluetooth of the key, such as RSSI data, judge whether the user is far away or close to the key according to the change rule of the signal intensity value, automatically initiate the locking through the Bluetooth of the key when judging that the user is far away, such as after being far away from 10 meters, and automatically initiate the unlocking when judging that the user is close, such as when being 1 meter away from the vehicle. The invention can realize the locking and unlocking under the condition that a user holds a key in a pocket and does not operate a key button, and is very intelligent.
Drawings
Other features, objects and advantages of the invention will become more apparent upon reading of the detailed description of non-limiting embodiments made with reference to the following drawings:
fig. 1 is a schematic diagram illustrating a method and an apparatus for automatically unlocking and locking a vehicle according to an embodiment of the present invention.
The same or similar reference numbers in the drawings identify the same or similar elements.
Detailed Description
The present invention is described in further detail below with reference to the attached drawing figures.
In a typical configuration of the present application, the terminal, the device serving the network, and the trusted party each include one or more processors (CPUs), input/output interfaces, network interfaces, and memory.
The memory may include forms of volatile memory in a computer readable medium, Random Access Memory (RAM) and/or non-volatile memory, such as Read Only Memory (ROM) or flash memory (flash RAM). Memory is an example of a computer-readable medium.
Computer-readable media, including both non-transitory and non-transitory, removable and non-removable media, may implement information storage by any method or technology. The information may be computer readable instructions, data structures, modules of a program, or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), Static Random Access Memory (SRAM), Dynamic Random Access Memory (DRAM), other types of Random Access Memory (RAM), Read Only Memory (ROM), Electrically Erasable Programmable Read Only Memory (EEPROM), flash memory or other memory technology, compact disc read only memory (CD-ROM), Digital Versatile Discs (DVD) or other optical storage, magnetic cassettes, magnetic tape, magnetic disk storage or other magnetic storage devices, or any other non-transmission medium that can be used to store information that can be accessed by a computing device. As defined herein, computer readable media does not include non-transitory computer readable media (transient media), such as modulated data signals and carrier waves.
The invention provides a method for automatically opening and closing a lock of a vehicle, which comprises the following steps:
step S1, the vehicle Bluetooth acquires the signal of the key Bluetooth at each interval time point, and acquires the signal intensity value corresponding to each signal of the key Bluetooth;
step S2, obtaining the signal of the Bluetooth of the key and the corresponding signal intensity value according to each interval time point, and judging whether the key is far away from or close to the vehicle;
step S3, if it is determined that the key is far from the vehicle, the bluetooth of the key locks the vehicle through the bluetooth of the vehicle;
in step S4, if it is determined that the key is close to the vehicle, the bluetooth of the key unlocks the vehicle through the bluetooth of the vehicle.
The invention can complete the locking or unlocking operation under the condition that the user does not draw out the key, can adopt the Bluetooth ranging technology, sample the signal intensity value of the Bluetooth of the key, such as RSSI data, judge whether the user is far away or close to the key according to the change rule of the signal intensity value, automatically initiate the locking through the Bluetooth of the key when judging that the user is far away, such as after being far away by 10 meters, and automatically initiate the unlocking when judging that the user is close, such as when the user is 1 meter away from the vehicle. The invention can realize the locking and unlocking under the condition that a user holds a key in a pocket and does not operate a key button, and is very intelligent.
In an embodiment of the method for automatically opening and closing a lock of a vehicle, in step S1, the bluetooth of the vehicle acquires signals of the bluetooth of the key at each interval time point, and acquires a signal intensity value corresponding to each signal of the bluetooth of the key, including:
step S1, respectively sampling signal strength values corresponding to N signals of the bluetooth of the key at N time intervals within the latest time period, and storing the signal strength values corresponding to the N signals of the bluetooth of the key into a signal strength value sampling queue according to a last-in first-out sequence, where N is a positive integer.
Here, the 1 interval time point corresponds to a signal strength value corresponding to one signal.
When the bluetooth technology is used for ranging in an actual environment, the overall positioning accuracy is low due to the fact that bluetooth signals are easily affected by multipath effects and environmental noise in the process of propagation, and therefore the RSSI sampling data needs to be preprocessed to reduce the volatility and errors of the sampling data.
When the RSSI signal sent by the bluetooth of the key is received, the latest N ═ 10 groups of data (how long the specific sampling queue is set, which is determined according to actual requirements) can be sampled according to the sequence of last-in first-out, and the longer the length of the sampling queue is, the smoother the ranging result is, but the more sluggish the dynamic capture of the key is; on the contrary, the shorter the sampling queue is, the sharper the result is, and the more sensitive the dynamic capture of the key is, so that the volatility and the error of the sampling data are reduced, and the follow-up efficient and accurate judgment of whether the key is far away from or close to the vehicle is ensured.
The electric vehicle can constantly scan the signal of key bluetooth, gathers RSSI data, averages after collecting the value of a period of time, and bluetooth RSSI value will always change in a relatively stable interval, and the longer the sampling time, the more the average value of sampling will be close to the true value.
In an embodiment of the method for automatically opening and closing a lock of a vehicle, step S2, determining whether a key is far away from or close to the vehicle according to a bluetooth signal of the key and a corresponding signal strength value obtained at each time interval includes:
step S211, respectively calculating the distance corresponding to each signal intensity value of the Bluetooth of the key in the signal intensity value sampling queue by adopting a Gaussian fuzzy algorithm;
step S212, obtaining a distance average value corresponding to the signal intensity value of the Bluetooth of the key according to the distance corresponding to each signal intensity value of the Bluetooth of the key;
step S213, if the distance average value is within a preset threshold range, determining whether the key is far from or close to the vehicle.
In order to eliminate the influence, a gaussian fuzzy algorithm can be used, and the key of the gaussian fuzzy algorithm is to calculate a weight according to an average difference, and a weight calculation formula of one-dimensional gaussian fuzzy:
Figure BDA0002991012050000071
as shown in fig. 1, line 1 is the rssi value, line 2 is the instantaneous ranging result directly calculated from rssi, and line 3 is the ranging result after multiple data processing, so that it can be seen that line 3 is significantly more stable than line 2. Smoothing the large value and the small value through a Gaussian fuzzy algorithm, filtering noise data, reducing the interference of data noise to the maximum extent, reducing the volatility and the error of sampled data, and ensuring that the key is far away from or close to the vehicle in the follow-up process efficiently and accurately.
In an embodiment of the method for automatically opening and closing a lock of a vehicle, step S2, determining whether a key is far away from or close to the vehicle according to a bluetooth signal of the key and a corresponding signal strength value obtained at each time interval includes:
step S221, copying the first half of signal strength values in the signal strength value sampling queue to a signal strength value sampling queue to obtain a new signal strength value sampling queue;
step S222, respectively calculating the distance corresponding to each signal intensity value of the Bluetooth of the key in the new signal intensity value sampling queue by adopting a Gaussian fuzzy algorithm;
step S223, obtaining a distance average value corresponding to the signal intensity value of the Bluetooth of the key according to the distance corresponding to each signal intensity value of the Bluetooth of the key;
step S224, if the distance average value is within a preset threshold range, determining whether the key is far away from or close to the vehicle.
Here, the data result is inevitably delayed based on the processing mode of averaging by the sampling queue, where the data may be divided into two parts, the first half of the data and the second half of the data, and assuming that the weight of the first half of the data is 2 times that of the second half of the data, the first half of the data is all copied and added to the queue, and then the average value of the new queue is calculated.
The problem of the hysteresis of the sampled data is solved through a time-weighted compensation algorithm, and when the average value is obtained, the calculation weight which is higher for the value closer to the current time is given, and otherwise, the calculation weight which is lower for the value farther from the current time is given.
In an embodiment of the method for automatically opening and closing a vehicle lock, step S213 or step S224, if the average distance value is within a preset threshold range, determining whether the key is far away from or close to the vehicle includes:
generating a corresponding distance sampling queue according to the corresponding distance of each signal strength value in the signal strength value sampling queue and the same last-in first-out sequence;
if the larger value in the distance sampling queue is concentrated in the first one third part of the distance sampling queue, judging that the key is far away from the vehicle;
and if the smaller values in the distance sampling queue are concentrated in the first one third part of the distance sampling queue, judging that the key is close to the vehicle.
Here, as for the judgment that the key is far away or close, the maximum value and the minimum value in the distance sampling queue can be found first, and then the larger value and the smaller value can be found with a certain threshold. For example, the maximum value in the distance sampling queue is 10m, the minimum value is 1m, and the threshold is set to 2m, then data larger than 8m are all calculated to be larger, and data smaller than 3m are all calculated to be smaller. The distance between the large value and the small value should not exceed half of the total queue. Then, if the larger values are centered at a distance from the first third of the sample queue, the key may be considered to be moving away, whereas if the smaller values are centered at the first third of the queue, the key may be considered to be moving closer.
According to another aspect of the present invention, there is also provided an apparatus for automatically opening and closing a lock of a vehicle, the apparatus including:
the sampling device is used for acquiring signals of the Bluetooth of the key at each interval time point through the Bluetooth of the vehicle and acquiring a signal intensity value corresponding to each signal of the Bluetooth of the key;
the judgment device is used for acquiring the Bluetooth signal of the key and the corresponding signal intensity value according to each interval time point and judging whether the key is far away from or close to the vehicle; if the key is judged to be far away from the vehicle, the Bluetooth of the key locks the vehicle through the Bluetooth of the vehicle; if the key is judged to be close to the vehicle, the Bluetooth of the key unlocks the vehicle through the Bluetooth of the vehicle.
Further, in the above device, the sampling device is configured to sample signal strength values corresponding to N signals of the bluetooth of the key at N time intervals in the latest time period, and store the signal strength values corresponding to the N signals of the bluetooth of the key into a signal strength value sampling queue according to a last-in first-out sequence, where N is a positive integer.
Further, in the above device, the determining device is configured to calculate, by using a gaussian fuzzy algorithm, a distance corresponding to each signal intensity value of the bluetooth of the key in the signal intensity value sampling queue; obtaining a distance average value corresponding to the signal intensity value of the Bluetooth of the key according to the distance corresponding to each signal intensity value of the Bluetooth of the key; and if the distance average value is within a preset threshold range, judging whether the key is far away from or close to the vehicle.
Further, in the above apparatus, the determining device is configured to copy a first half number of signal strength values in the signal strength value sampling queue to add into the signal strength value sampling queue, so as to obtain a new signal strength value sampling queue; respectively calculating the distance corresponding to each signal intensity value of the Bluetooth of the key in the new signal intensity value sampling queue by adopting a Gaussian fuzzy algorithm; obtaining a distance average value corresponding to the signal intensity value of the Bluetooth of the key according to the distance corresponding to each signal intensity value of the Bluetooth of the key; and if the distance average value is within a preset threshold range, judging whether the key is far away from or close to the vehicle.
Further, in the above apparatus, the determining device is configured to generate a corresponding distance sampling queue according to a same last-in first-out sequence according to a corresponding distance of each signal strength value in the signal strength value sampling queue; if the larger value in the distance sampling queue is concentrated in the first one third part of the distance sampling queue, judging that the key is far away from the vehicle; and if the smaller values in the distance sampling queue are concentrated in the first one third part of the distance sampling queue, judging that the key is close to the vehicle.
For details of embodiments of each device and storage medium of the present invention, reference may be made to corresponding parts of each method embodiment, and details are not described herein again.
It will be apparent to those skilled in the art that various changes and modifications may be made in the present application without departing from the spirit and scope of the application. Thus, if such modifications and variations of the present application fall within the scope of the claims of the present application and their equivalents, the present application is intended to include such modifications and variations as well.
It should be noted that the present invention may be implemented in software and/or in a combination of software and hardware, for example, as an Application Specific Integrated Circuit (ASIC), a general purpose computer or any other similar hardware device. In one embodiment, the software program of the present invention may be executed by a processor to implement the steps or functions described above. Also, the software programs (including associated data structures) of the present invention can be stored in a computer readable recording medium, such as RAM memory, magnetic or optical drive or diskette and the like. Further, some of the steps or functions of the present invention may be implemented in hardware, for example, as circuitry that cooperates with the processor to perform various steps or functions.
In addition, some of the present invention can be applied as a computer program product, such as computer program instructions, which when executed by a computer, can invoke or provide the method and/or technical solution according to the present invention through the operation of the computer. Program instructions which invoke the methods of the present invention may be stored on a fixed or removable recording medium and/or transmitted via a data stream on a broadcast or other signal-bearing medium and/or stored within a working memory of a computer device operating in accordance with the program instructions. An embodiment according to the invention herein comprises an apparatus comprising a memory for storing computer program instructions and a processor for executing the program instructions, wherein the computer program instructions, when executed by the processor, trigger the apparatus to perform a method and/or solution according to embodiments of the invention as described above.
It will be evident to those skilled in the art that the invention is not limited to the details of the foregoing illustrative embodiments, and that the present invention may be embodied in other specific forms without departing from the spirit or essential attributes thereof. The present embodiments are therefore to be considered in all respects as illustrative and not restrictive, the scope of the invention being indicated by the appended claims rather than by the foregoing description, and all changes which come within the meaning and range of equivalency of the claims are therefore intended to be embraced therein. Any reference sign in a claim should not be construed as limiting the claim concerned. Furthermore, it is obvious that the word "comprising" does not exclude other elements or steps, and the singular does not exclude the plural. A plurality of units or means recited in the apparatus claims may also be implemented by one unit or means in software or hardware. The terms first, second, etc. are used to denote names, but not any particular order.

Claims (10)

1. A method for automatically opening and closing a lock of a vehicle, wherein the method comprises:
acquiring signals of the Bluetooth of the key at each interval time point through the Bluetooth of the vehicle, and acquiring a signal intensity value corresponding to each signal of the Bluetooth of the key;
acquiring a Bluetooth signal of a key and a corresponding signal intensity value according to each interval time point, and judging whether the key is far away from or close to the vehicle;
if the key is judged to be far away from the vehicle, the Bluetooth of the key locks the vehicle through the Bluetooth of the vehicle;
if the key is judged to be close to the vehicle, the Bluetooth of the key unlocks the vehicle through the Bluetooth of the vehicle.
2. The method of claim 1, wherein the vehicle's bluetooth acquires signals of the key's bluetooth at various spaced time points and collects signal strength values corresponding to each of the signals of the key's bluetooth, comprising:
the method comprises the steps of sampling signal intensity values corresponding to N signals of the Bluetooth of the key at N interval time points in a latest time period respectively, and storing the signal intensity values corresponding to the N signals of the Bluetooth of the key into a signal intensity value sampling queue according to a last-in first-out sequence, wherein N is a positive integer.
3. The method of claim 2, wherein determining whether the key is away from or close to the vehicle based on the signal of the bluetooth of the key and the corresponding signal strength value obtained at each of the spaced time points comprises:
respectively calculating the distance corresponding to each signal intensity value of the Bluetooth of the key in the signal intensity value sampling queue by adopting a Gaussian fuzzy algorithm;
obtaining a distance average value corresponding to the signal intensity value of the Bluetooth of the key according to the distance corresponding to each signal intensity value of the Bluetooth of the key;
and if the distance average value is within a preset threshold range, judging whether the key is far away from or close to the vehicle.
4. The method of claim 2, wherein determining whether the key is away from or close to the vehicle based on the signal of the bluetooth of the key and the corresponding signal strength value obtained at each of the spaced time points comprises:
copying each signal strength value of the first half number in the signal strength value sampling queue to a signal strength value sampling queue to obtain a new signal strength value sampling queue;
respectively calculating the distance corresponding to each signal intensity value of the Bluetooth of the key in the new signal intensity value sampling queue by adopting a Gaussian fuzzy algorithm;
obtaining a distance average value corresponding to the signal intensity value of the Bluetooth of the key according to the distance corresponding to each signal intensity value of the Bluetooth of the key;
and if the distance average value is within a preset threshold range, judging whether the key is far away from or close to the vehicle.
5. The method of claim 3 or 4, wherein determining whether the key is far from or close to the vehicle if the distance average is within a preset threshold comprises:
generating a corresponding distance sampling queue according to the corresponding distance of each signal strength value in the signal strength value sampling queue and the same last-in first-out sequence;
if the larger value in the distance sampling queue is concentrated in the first one third part of the distance sampling queue, judging that the key is far away from the vehicle;
and if the smaller values in the distance sampling queue are concentrated in the first one third part of the distance sampling queue, judging that the key is close to the vehicle.
6. An apparatus for automatically opening and closing a lock of a vehicle, wherein the apparatus comprises:
the sampling device is used for acquiring signals of the Bluetooth of the key at each interval time point through the Bluetooth of the vehicle and acquiring a signal intensity value corresponding to each signal of the Bluetooth of the key;
the judgment device is used for acquiring the Bluetooth signal of the key and the corresponding signal intensity value according to each interval time point and judging whether the key is far away from or close to the vehicle; if the key is judged to be far away from the vehicle, the Bluetooth of the key locks the vehicle through the Bluetooth of the vehicle; if the key is judged to be close to the vehicle, the Bluetooth of the key unlocks the vehicle through the Bluetooth of the vehicle.
7. The device of claim 6, wherein the sampling means is configured to sample the signal strength values corresponding to the N signals of the bluetooth of the key at the N time intervals within the latest time period, respectively, and store the signal strength values corresponding to the N signals of the bluetooth of the key into the signal strength value sampling queue in a last-in first-out order, where N is a positive integer.
8. The device according to claim 7, wherein the determining means is configured to calculate the distance corresponding to each signal strength value of the bluetooth of the key in the signal strength value sampling queue respectively by using a gaussian fuzzy algorithm; obtaining a distance average value corresponding to the signal intensity value of the Bluetooth of the key according to the distance corresponding to each signal intensity value of the Bluetooth of the key; and if the distance average value is within a preset threshold range, judging whether the key is far away from or close to the vehicle.
9. The apparatus according to claim 7, wherein the determining means is configured to copy a first half number of signal strength values in the signal strength value sampling queue into a signal strength value sampling queue to obtain a new signal strength value sampling queue; respectively calculating the distance corresponding to each signal intensity value of the Bluetooth of the key in the new signal intensity value sampling queue by adopting a Gaussian fuzzy algorithm; obtaining a distance average value corresponding to the signal intensity value of the Bluetooth of the key according to the distance corresponding to each signal intensity value of the Bluetooth of the key; and if the distance average value is within a preset threshold range, judging whether the key is far away from or close to the vehicle.
10. The apparatus according to claim 8 or 9, wherein the determining means is configured to generate a corresponding distance sampling queue according to a corresponding distance of each signal strength value in the signal strength value sampling queue in a same last-in first-out order; if the larger value in the distance sampling queue is concentrated in the first one third part of the distance sampling queue, judging that the key is far away from the vehicle; and if the smaller values in the distance sampling queue are concentrated in the first one third part of the distance sampling queue, judging that the key is close to the vehicle.
CN202110315477.9A 2021-03-24 2021-03-24 Method and equipment for automatically opening and closing lock of vehicle Active CN113112646B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110315477.9A CN113112646B (en) 2021-03-24 2021-03-24 Method and equipment for automatically opening and closing lock of vehicle

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110315477.9A CN113112646B (en) 2021-03-24 2021-03-24 Method and equipment for automatically opening and closing lock of vehicle

Publications (2)

Publication Number Publication Date
CN113112646A true CN113112646A (en) 2021-07-13
CN113112646B CN113112646B (en) 2023-02-07

Family

ID=76710791

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110315477.9A Active CN113112646B (en) 2021-03-24 2021-03-24 Method and equipment for automatically opening and closing lock of vehicle

Country Status (1)

Country Link
CN (1) CN113112646B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114299644A (en) * 2021-12-30 2022-04-08 立讯精密工业(昆山)有限公司 Vehicle access system and vehicle access method
CN115240301A (en) * 2022-07-13 2022-10-25 深圳市迪太科技有限公司 Riding equipment control method, equipment, medium and terminal control method and device

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103905127A (en) * 2012-12-27 2014-07-02 通用汽车环球科技运作有限责任公司 Method and system for detecting proximity of an end device to a vehicle based on signal strength information received over a bluetooth low energy (ble) advertising channel
CN107197445A (en) * 2017-05-16 2017-09-22 北京千丁互联科技有限公司 Memory, blue-tooth intelligence terminal, distance calculating method and enabling control method
CN107221052A (en) * 2017-05-16 2017-09-29 北京千丁互联科技有限公司 Memory, blue-tooth intelligence terminal, distance calculating method and enabling control method
CN109515384A (en) * 2018-11-15 2019-03-26 浙江吉利汽车研究院有限公司 Vehicle shared system and method based on digital key
CN111862397A (en) * 2019-06-05 2020-10-30 北京骑胜科技有限公司 Vehicle lock control device, method, apparatus, vehicle, electronic device, and storage medium
CN111986351A (en) * 2020-07-24 2020-11-24 联合汽车电子有限公司 Intelligent key positioning method and system
CN111976649A (en) * 2020-08-28 2020-11-24 广州小鹏汽车科技有限公司 Control method and device
CN112135345A (en) * 2020-09-22 2020-12-25 中国测绘科学研究院 Positioning correction method based on Bluetooth signal single-step robust filtering and approximation discrimination
CN112319608A (en) * 2019-07-19 2021-02-05 广州汽车集团股份有限公司 Method and system for realizing parking by adopting mobile phone Bluetooth key
CN112396736A (en) * 2020-11-30 2021-02-23 埃泰克汽车电子(芜湖)有限公司 Multi-Bluetooth module and control method thereof

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103905127A (en) * 2012-12-27 2014-07-02 通用汽车环球科技运作有限责任公司 Method and system for detecting proximity of an end device to a vehicle based on signal strength information received over a bluetooth low energy (ble) advertising channel
CN107197445A (en) * 2017-05-16 2017-09-22 北京千丁互联科技有限公司 Memory, blue-tooth intelligence terminal, distance calculating method and enabling control method
CN107221052A (en) * 2017-05-16 2017-09-29 北京千丁互联科技有限公司 Memory, blue-tooth intelligence terminal, distance calculating method and enabling control method
CN109515384A (en) * 2018-11-15 2019-03-26 浙江吉利汽车研究院有限公司 Vehicle shared system and method based on digital key
CN111862397A (en) * 2019-06-05 2020-10-30 北京骑胜科技有限公司 Vehicle lock control device, method, apparatus, vehicle, electronic device, and storage medium
CN112319608A (en) * 2019-07-19 2021-02-05 广州汽车集团股份有限公司 Method and system for realizing parking by adopting mobile phone Bluetooth key
CN111986351A (en) * 2020-07-24 2020-11-24 联合汽车电子有限公司 Intelligent key positioning method and system
CN111976649A (en) * 2020-08-28 2020-11-24 广州小鹏汽车科技有限公司 Control method and device
CN112135345A (en) * 2020-09-22 2020-12-25 中国测绘科学研究院 Positioning correction method based on Bluetooth signal single-step robust filtering and approximation discrimination
CN112396736A (en) * 2020-11-30 2021-02-23 埃泰克汽车电子(芜湖)有限公司 Multi-Bluetooth module and control method thereof

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114299644A (en) * 2021-12-30 2022-04-08 立讯精密工业(昆山)有限公司 Vehicle access system and vehicle access method
CN115240301A (en) * 2022-07-13 2022-10-25 深圳市迪太科技有限公司 Riding equipment control method, equipment, medium and terminal control method and device

Also Published As

Publication number Publication date
CN113112646B (en) 2023-02-07

Similar Documents

Publication Publication Date Title
CN113112646B (en) Method and equipment for automatically opening and closing lock of vehicle
CN109615167A (en) Determine the method, apparatus and electronic equipment of doubtful batch risk trade event
Freitag et al. Resolution of sharp fronts in the presence of model error in variational data assimilation
CN110059939A (en) A kind of risk checking method and device
CN112417992B (en) Quantum bit state reading form selection method and device and storage medium
US20100036981A1 (en) Finding Hot Call Paths
CN114019182B (en) Zero-speed state detection method and device and electronic equipment
CN115169089A (en) Wind power probability prediction method and device based on kernel density estimation and copula
CN113302511B (en) Interference processing method and device
CN112131078B (en) Method and equipment for monitoring disk capacity
CN113507334B (en) Channel sniffing-based parameter testing method, device, equipment and storage medium
CN110909804A (en) Method, device, server and storage medium for detecting abnormal data of base station
CN116821836B (en) Multi-sensor-based axle bush abnormal state monitoring method and system
CN117388896A (en) GNSS measurement processing using carrier phase residual model
CN111680083A (en) Intelligent multi-stage government financial data acquisition system and data acquisition method
CN112801987A (en) Mobile phone part abnormity detection method and equipment
CN114417973A (en) Generalized similarity measurement method, device and equipment for polarization radar and storage medium
CN114328662A (en) Abnormal data positioning method and device, electronic equipment and storage medium
CN113792330A (en) Sensitive data tracking method and system
CN111914128A (en) Method and device for determining associated user, electronic equipment and readable storage medium
Nguyen et al. A dynamic extreme value model with application to volcanic eruption forecasting
CN113822329B (en) Method and device for processing main shaft swing degree signal of hydroelectric generating set
Luo et al. KZ spatial waves separations
CN111913805B (en) CPU utilization rate calculation method and device
CN115277911A (en) Method and device for acquiring specific absorption rate SAR of mobile phone

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