Nothing Special   »   [go: up one dir, main page]

CN113112646B - 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
CN113112646B
CN113112646B CN202110315477.9A CN202110315477A CN113112646B CN 113112646 B CN113112646 B CN 113112646B CN 202110315477 A CN202110315477 A CN 202110315477A CN 113112646 B CN113112646 B CN 113112646B
Authority
CN
China
Prior art keywords
key
bluetooth
vehicle
distance
signal
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
CN202110315477.9A
Other languages
Chinese (zh)
Other versions
CN113112646A (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)
  • Radar, Positioning & Navigation (AREA)
  • Remote Sensing (AREA)
  • Computer Networks & Wireless Communication (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 the locking or unlocking operation under the condition that a user does not draw out a key, can adopt a Bluetooth distance measurement technology, sample a signal intensity value of Bluetooth of the key, such as RSSI data, according to the change rule of the signal intensity value, whether the user is far away or close to the vehicle is judged, when the user is far away, for example, after the user is far away from 10 meters, the user automatically initiates locking through the Bluetooth of the key, and when the user is close to the vehicle, for example, the user automatically initiates unlocking 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 respectively sampling signal strength values corresponding to N signals of the Bluetooth of the key at N interval time points in a recent 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, 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.
Furthermore, in the method, the signal of the bluetooth of the key and the corresponding signal strength value are obtained according to each interval time point, determining whether the key is far from or near the vehicle, including:
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 distance average is within a preset threshold range, determining whether the key is far from or close to the vehicle, including:
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 there is a large value in the distance sample queue, centered at the first third of the distance from the sample queue, determining that the key is away from the vehicle;
and if the smaller values in the distance sampling queue are concentrated in the first 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 judging device is used for acquiring a signal of the Bluetooth of the 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 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 within a recent time period, respectively, 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; according to the distance corresponding to each signal intensity value of the bluetooth of the key, obtaining a distance average value corresponding to the signal intensity value of the Bluetooth of the key; if the distance average is within a preset threshold range, it is determined whether the key is far from or close to the vehicle.
Further, in the above device, the determining means is configured to copy a first half number of each signal strength value in the signal strength value sampling queue to a signal strength value sampling queue, and add the copied signal strength value to the signal strength value sampling queue to obtain a new signal strength value sampling queue; by using Gauss a fuzzy algorithm is carried out on the basis of the algorithm, respectively calculating the distance corresponding to each signal intensity value of the Bluetooth of the key in the new 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 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 without operating the key button when the user key is in the pocket, 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 Bluetooth of the vehicle acquires signals of the Bluetooth of the key at each interval time point, and acquires signal strength values corresponding to each signal of the Bluetooth of the key;
s2, 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;
in a step S3, the method comprises the following steps, if it is judged that the key is far from the vehicle, the Bluetooth of the key locks the vehicle through the Bluetooth of the vehicle;
and S4, if 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 the lock of the 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 intensity values corresponding to N signals of the Bluetooth of the key at N interval time points in the latest time period, 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.
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 an RSSI signal sent by the bluetooth of the key is received, the latest N =10 groups of data (the length of a specific sampling queue is set according to actual requirements) can be sampled according to a last-in first-out sequence, and the longer the length of the sampling queue is, the smoother the ranging result is, but the slower the dynamic capture of the key is; otherwise, 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, obtaining a bluetooth signal of a key and a corresponding signal strength value according to each interval time point, and determining whether the key is far from or close to the vehicle 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 may 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, obtaining a bluetooth signal of a key and a corresponding signal strength value according to each interval time point, and determining whether the key is far from or close to the vehicle 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, so that data larger than 8m are calculated to be larger values, and data smaller than 3m are calculated to be smaller values. 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 judging device is used for acquiring a signal of the Bluetooth of the 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 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 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 (8)

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;
the bluetooth of vehicle obtains the signal of the bluetooth of key at each interval time point to the signal strength value that every signal of the bluetooth of key corresponds is gathered, 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, and 1 interval time point corresponds to a signal intensity value corresponding to one signal.
2. The method of claim 1, 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.
3. The method of claim 1, 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.
4. The method according to claim 2 or 3, wherein determining whether the key is far from or close to the vehicle if the distance average is within a preset threshold range 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.
5. 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 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 sampling device is used for respectively sampling signal strength values corresponding to N signals of the Bluetooth of the key at N interval time points in 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, wherein N is a positive integer, and 1 interval time point corresponds to a signal strength value corresponding to one signal.
6. The device according to claim 5, 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.
7. The apparatus according to claim 5, 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.
8. The apparatus according to claim 6 or 7, wherein the determining means is configured to generate a corresponding distance sample queue according to a corresponding distance of each signal strength value in the signal strength value sample queue in the 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 CN113112646A (en) 2021-07-13
CN113112646B true 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)

Families Citing this family (2)

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

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107197445A (en) * 2017-05-16 2017-09-22 北京千丁互联科技有限公司 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
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

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9008917B2 (en) * 2012-12-27 2015-04-14 GM Global Technology Operations LLC 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
CN107221052B (en) * 2017-05-16 2019-07-09 北京千丁互联科技有限公司 Memory, blue-tooth intelligence terminal, distance calculating method and enabling control method
CN112135345B (en) * 2020-09-22 2021-06-08 中国测绘科学研究院 Positioning correction method based on Bluetooth signal single-step robust filtering and approximation discrimination

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107197445A (en) * 2017-05-16 2017-09-22 北京千丁互联科技有限公司 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
CN112396736A (en) * 2020-11-30 2021-02-23 埃泰克汽车电子(芜湖)有限公司 Multi-Bluetooth module and control method thereof

Also Published As

Publication number Publication date
CN113112646A (en) 2021-07-13

Similar Documents

Publication Publication Date Title
CN113112646B (en) Method and equipment for automatically opening and closing lock of vehicle
CN108279436B (en) Method and device for picking up seismic wave first arrivals
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
CN112417992B (en) Quantum bit state reading form selection method and device and storage medium
CN112131075B (en) Method and equipment for detecting abnormality of storage monitoring data
CN114019182B (en) Zero-speed state detection method and device and electronic equipment
Liu et al. Denoising method of MEMS gyroscope based on interval empirical mode decomposition
CN113507334B (en) Channel sniffing-based parameter testing method, device, equipment and storage medium
CN112131078B (en) Method and equipment for monitoring disk capacity
CN116821836B (en) Multi-sensor-based axle bush abnormal state monitoring method and system
US20110196615A1 (en) Processing of biological signals
CN117388896A (en) GNSS measurement processing using carrier phase residual model
CN111680083A (en) Intelligent multi-stage government financial data acquisition system and data acquisition method
CN114328662A (en) Abnormal data positioning method and device, electronic equipment and storage medium
CN113589394A (en) Method and equipment for identifying target detection object based on photoelectric sensor
CN113792330A (en) Sensitive data tracking method and system
CN111951009A (en) Transaction data processing method and device, electronic equipment and computer-readable storage medium
Xiao et al. An adaptive radar target detection method based on alternate estimation in power heterogeneous clutter
Li et al. Modified extended object tracker for 2D lidar data using random matrix model
Luo et al. KZ spatial waves separations
CN113822329B (en) Method and device for processing main shaft swing degree signal of hydroelectric generating set
CN117574245B (en) Intelligent detector index self-checking method and system applied to mountain exploration
CN115659134B (en) Signal processing method for improving sensitivity of chip and related device
CN117270075A (en) Method and device for correcting azimuth signal background value of azimuth electromagnetic wave instrument while drilling

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