Parking lot vehicle positioning method and application thereof
By setting up a communication gateway and offline database in outdoor parking lots and calculating vehicle locations using signal strength characteristic values, the problem of finding cars in outdoor parking lots is solved, accurate vehicle positioning is achieved in various environments, and equipment costs and construction are reduced Difficulty.
Patent Information
- Application Number
- CN202410994949.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-24
- Publication Date
- 2024-11-29
AI Technical Summary
Due to the difficulty of construction of large outdoor parking lots, it is difficult to build a large number of surveillance cameras covering all parking spaces, which makes it difficult to find cars. In weather such as rain and snow, the camera is difficult to identify license plates, and it is impossible to provide effective car search services.
By dividing multiple parking areas in the parking lot and setting up communication gateways, recording the parking space coordinate information and the RSSI characteristic values of the user-side signal, establishing an offline database, calculating the European-style distance and signal strength deviation values, determining the vehicle's parked state, and then feedback the vehicle position information , use the signal shielding effect to determine the vehicle's parked state and realize vehicle positioning.
This method does not require a large number of camera coverage, saves equipment costs, adapts to multiple environmental interference, and can accurately locate vehicles in rainy and snowy weather, cover large areas, and reduces positioning failures caused by user equipment shutdown signals.
Smart Images

Figure CN119049325A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of intelligent vehicle search in parking lots, and in particular to a method for locating vehicles in parking lots, a device for locating vehicles in parking lots, an electronic device, and a computer-readable storage medium. Background Art
[0002] With the continuous development of the automobile industry, the number of vehicles per capita in China has continued to increase, and self-driving has become a daily transportation option for many people. When parking your car in large parking lots in supermarkets, parks, amusement parks and other places, you often face the problem of easy parking but difficult to find your car. Many people do not record their parking location after parking, and it often takes a lot of time to find their car when they need to find it.
[0003] Currently, to address this issue, indoor parking lots generally install a large number of cameras to monitor all parking spaces, identify the license plate information of parked vehicles, and provide car owners with services to locate the parking position of the vehicle by the license plate number. However, due to the difficulty in construction, it is difficult for large outdoor parking lots to install a large number of surveillance cameras covering all parking spaces. The cost of deploying a large number of surveillance cameras is high, and the cameras have difficulty recognizing license plates in rainy and snowy weather. Therefore, it is usually impossible to provide car search services. Summary of the invention
[0004] In view of the above defects or improvement needs of the prior art, the present invention provides a parking lot vehicle positioning method and method thereof, which can solve the problem of difficulty in finding a vehicle in the current parking lot.
[0005] On the one hand, an embodiment of the present invention provides a method for positioning a vehicle in an outdoor parking lot, comprising: dividing a parking lot into a plurality of parking areas, and setting a communication gateway in each of the parking areas; recording the coordinate information of each parking space in the parking area, pre-acquiring a first RSSI characteristic value sequence of a user-end signal emitted at each parking space and collected by each of the communication gateways, and establishing an offline database according to the correspondence between the coordinate information and the first RSSI characteristic value sequence; acquiring a second RSSI characteristic value sequence consisting of the user-end signal collected by each of the communication gateways at a corresponding moment at a preset time interval, calculating the Euclidean distance according to the first RSSI characteristic value sequence and the second RSSI characteristic value sequence, and using the coordinate information corresponding to the first RSSI characteristic value sequence with the minimum Euclidean distance in the offline database as the vehicle position information at the corresponding moment; calculating the positioning offset between the vehicle position information at any two moments after the preset time interval and the signal strength deviation value between the second RSSI characteristic value sequence, and determining the parking state of the vehicle according to the positioning offset and the signal strength deviation value; obtaining the vehicle position information after the vehicle completes the parking according to the parking state of the vehicle, and feeding back the vehicle position information to the user.
[0006] In one embodiment of the present invention, the outdoor parking lot vehicle positioning method further includes: detecting the parking state of the target parking space, and when it is detected that the target parking space is empty, sending a locking instruction to control the parking space lock corresponding to the target parking space to close.
[0007] In one embodiment of the present invention, the Euclidean distance is expressed as: The first RSSI characteristic value sequence is represented as {RS 1 ,RS 2 ,…,RS N}, the second RSSI characteristic value sequence is represented as {rki 1 ,rki 2 ,…,rki N}, RS N The RSSI characteristic value obtained by sending the user terminal signal at each parking space and collected by the Nth communication gateway, rki N It is the RSSI characteristic value of the user terminal signal collected by the Nth communication gateway at time ki.
[0008] In one embodiment of the present invention, the positioning offset is expressed as: Among them, (X ki ,Y ki ) is the vehicle position information at time ki, (X k(i-1) , Yk(i-1) ) is the vehicle position information at time k(i-1); the signal strength deviation value is expressed as: ΔR={(rki 1 -rk(i-1) 1 )+(rki 2 -rk(i-1) 2 )+…+(rki N -rk(i-1) N )} / N, where rk(i-1) N It is the RSSI characteristic value of the user terminal signal collected by the Nth communication gateway at time k(i-1).
[0009] In one embodiment of the present invention, determining the vehicle parking state according to the positioning offset and the signal strength deviation value includes: when the positioning offset ΔL is less than the positioning offset reference value l, and the signal strength deviation value ΔR is greater than the signal strength deviation reference value r, determining that the vehicle parking state is completed.
[0010] In one embodiment of the present invention, the communication gateway is at least one of a Bluetooth gateway and a WiFi gateway, and the user-end signal is at least one of a Bluetooth signal and a WiFi signal.
[0011] In one embodiment of the present invention, the user-end signal emitted from each of the parking spaces in the parking area may be collected by at least three of the communication gateways.
[0012] In one embodiment of the present invention, the parking lot vehicle positioning method further includes: acquiring a user terminal MAC address corresponding to the second RSSI characteristic value sequence, and feeding back the vehicle location information to the corresponding user according to the user terminal MAC address.
[0013] On the other hand, an embodiment of the present invention proposes a parking lot vehicle positioning device, comprising: a communication gateway setting module, used to divide the parking lot into multiple parking areas, and respectively set a communication gateway in each of the parking areas; an offline database establishment module, used to record the coordinate information of each parking space in the parking area, pre-acquire a first RSSI characteristic value sequence of a user-end signal emitted at each parking space and collected by each of the communication gateways, and establish an offline database based on the correspondence between the coordinate information and the first RSSI characteristic value sequence; a vehicle position information calculation module, used to obtain, at a preset time interval, a second RSSI characteristic value sequence composed of the user-end signal collected by each of the communication gateways at a corresponding time, and calculate the RSSI characteristic value sequence according to the corresponding relationship between the coordinate information and the first RSSI characteristic value sequence. The first RSSI characteristic value sequence and the second RSSI characteristic value sequence calculate the Euclidean distance, and the coordinate information corresponding to the first RSSI characteristic value sequence with the minimum Euclidean distance calculated in the offline database is used as the vehicle position information at the corresponding moment; a vehicle parking state determination module is used to calculate the positioning offset between the vehicle position information at any two moments after the preset time interval and the signal strength deviation value between the second RSSI characteristic value sequence, and determine the vehicle parking state according to the positioning offset and the signal strength deviation value; a vehicle position information feedback module is used to obtain the vehicle position information after the vehicle completes the parking according to the vehicle parking state, and feed back the vehicle position information to the user.
[0014] On the other hand, an embodiment of the present invention provides an electronic device, comprising at least one processing unit and at least one storage unit, wherein the storage unit stores a computer program, and when the computer program is executed by the processing unit, the processing unit executes the steps of the parking lot vehicle positioning method described in any one of the above embodiments.
[0015] On the other hand, an embodiment of the present invention provides a computer-readable storage medium, which stores a computer program executable by an access authentication device. When the computer program runs on the access authentication device, the access authentication device executes the steps of the parking lot vehicle positioning method described in any one of the above embodiments.
[0016] It can be seen from the above that, compared with the prior art, the above solution conceived by the present invention can have one or more of the following beneficial effects:
[0017] By deploying communication gateways in the ground parking area to obtain the user-side signal entering the parking area, the obtained user-side signal MAC address and signal strength RSSI value are recorded, and the vehicle positioning result can be accurately obtained through the signal strength values obtained by multiple communication gateways. At the same time, the shielding effect of the vehicle on the user-side signal is utilized. When the user moves outside the vehicle, the signal strength RSSI value obtained by the gateway will be enhanced. Combined with the positioning result, it can be judged that the owner has completed parking and moved outside the vehicle. The positioning result and the user-side MAC address at this time are recorded. When the user searches for the vehicle location through the user-side device, the user-side MAC address is obtained, and the parking location corresponding to this MAC address is queried in the background server and returned to the user, that is, the outdoor parking positioning process is completed; this method can cover a large area through the probe device, and does not need to cover a small number of parking spaces through a camera to record the corresponding relationship between the parking space and the license plate like the traditional indoor vehicle positioning method, and there will be no situation where the camera cannot normally recognize the license plate in rainy and snowy weather, which saves equipment costs, facilitates construction and installation, and can adapt to more environmental interference;
[0018] In actual use, you can choose to install a Bluetooth or Wi-Fi signal probe, which can further save costs. However, for a small number of users whose mobile phones do not turn on the Bluetooth or Wi-Fi signal, positioning may not be completed. By installing both probe devices at the same time, more users can be covered and the situation of being unable to position due to turning off the Bluetooth or Wi-Fi function of the user's mobile phone can be reduced.
[0019] Other features of the present invention will become apparent from the following detailed description with reference to the accompanying drawings. It should be understood, however, that the drawings are designed for illustrative purposes only and are not intended to limit the scope of the present invention. It should also be understood that, unless otherwise indicated, the drawings are not necessarily drawn to scale and are intended only to conceptually illustrate the structures and processes described herein. BRIEF DESCRIPTION OF THE DRAWINGS
[0020] The drawings described herein are used to provide a further understanding of the present invention and constitute a part of the present invention. The exemplary embodiments of the present invention and their descriptions are used to explain the present invention and do not constitute an improper limitation of the present invention. In the drawings:
[0021] Figure 1 A flowchart of a method for locating a vehicle in a parking lot provided by an embodiment of the present invention;
[0022] Figure 2 A schematic diagram of specific execution steps of a parking lot vehicle positioning method provided by an embodiment of the present invention;
[0023] Figure 3 A schematic diagram of the structure of a parking lot vehicle positioning device provided by an embodiment of the present invention;
[0024] Figure 4 A schematic diagram of the structure of an electronic device provided by an embodiment of the present invention;
[0025] Figure 5 A schematic diagram of the structure of a computer-readable storage medium provided in an embodiment of the present invention. DETAILED DESCRIPTION
[0026] It should be noted that, in the absence of conflict, the embodiments of the present invention and the features in the embodiments can be combined with each other. The present invention will be described below with reference to the accompanying drawings and in combination with the embodiments.
[0027] In order to enable ordinary technicians in the field to better understand the technical solution of the present invention, the technical solution in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, rather than all the embodiments, and all should belong to the protection scope of the present invention.
[0028] It should be noted that the terms "first", "second", etc. in the specification and claims of the present invention and the above-mentioned drawings are applicable to distinguishing similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the terms used in this way can be interchangeable where appropriate, so that the embodiments of the present invention described herein can be implemented in an order other than those illustrated or described herein. In addition. The terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units that are clearly listed, but may include other steps or units that are not clearly listed or are proprietary to these processes, methods, products or devices.
[0029] It should also be noted that the division of multiple embodiments in the present invention is only for the convenience of description and should not constitute a special limitation. The features in various embodiments can be combined and referenced to each other without contradiction.
[0030] [First embodiment]
[0031] like Figure 1As shown, the first embodiment of the present invention proposes a method for positioning vehicles in an outdoor parking lot, comprising: step S1, dividing the parking lot into multiple parking areas, and setting a communication gateway in each of the parking areas; step S2, recording the coordinate information of each parking space in the parking area, pre-acquiring a first RSSI characteristic value sequence of a user-end signal emitted at each parking space and collected by each of the communication gateways, and establishing an offline database based on the correspondence between the coordinate information and the first RSSI characteristic value sequence; step S3, acquiring a second RSSI characteristic value sequence composed of the user-end signal collected by each of the communication gateways at a corresponding time at a preset time interval, and according to the The Euclidean distance is calculated between the first RSSI characteristic value sequence and the second RSSI characteristic value sequence, and the coordinate information corresponding to the first RSSI characteristic value sequence with the minimum Euclidean distance calculated in the offline database is used as the vehicle position information at the corresponding moment; step S4, calculating the positioning offset between the vehicle position information at any two moments after the preset time interval and the signal strength deviation value between the second RSSI characteristic value sequence, and determining the vehicle parking status according to the positioning offset and the signal strength deviation value; step S5, obtaining the vehicle position information after the vehicle completes the parking according to the vehicle parking status, and feeding back the vehicle position information to the user.
[0032] In step S1, for example, the parking lot is divided into N parking areas, and at least one of a Bluetooth gateway or a Wi-Fi gateway (probe) is installed in each of the N areas. Preferably, N ≥ 3, and in order to ensure positioning accuracy, the division of the parking area and the location of the gateway / probe are set to ensure that the Bluetooth and Wi-Fi device signals in each parking space in the parking lot can be acquired by at least 3 gateways / probes. The denser the parking area division, the higher the vehicle positioning accuracy.
[0033] In step S2, the server records the coordinate information of each parking space in the parking area, obtains in advance the RSSI characteristic value of the user-end Bluetooth / Wi-Fi signal emitted at each corresponding parking space and received by N probes, and establishes an offline database after collecting the coordinate information of each parking space and the corresponding RSSI characteristic value. Further, the offline database is in the form of an RSSI characteristic value sequence {RS 1 ,RS 2 ,…,RS N}, where, when the Bluetooth / Wi-Fi signal cannot be collected at a certain parking space (too far or with obstacles), it is recorded as 0 in the RSSI characteristic value sequence.
[0034] In step S3, when the user drives into the parking area, the Bluetooth and Wi-Fi signals of the user-end device (such as the mobile phone carried by the user) will be acquired by the Bluetooth and Wi-Fi gateway (probe) and the signal strength RSSI characteristic value will be recorded at a certain time interval k, and the acquired signal RSSI value will be recorded as an RSSI characteristic value sequence {rki 1 ,rki 2 ,…,rki N}, further calculate the Euclidean distance between the eigenvalue sequence and the eigenvalue sequence in the offline database, and the coordinates in the offline database corresponding to the eigenvalue sequence with the smallest Euclidean distance (X ki ,Y ki ), which is the vehicle position information at this time.
[0035] In one embodiment, the calculation formula of the Euclidean distance is as follows:
[0036]
[0037] Among them, RS N The RSSI characteristic value of the Bluetooth / Wi-Fi signal emitted by each parking space collected by the Nth communication gateway, rki N It is the RSSI characteristic value of the Bluetooth / Wi-Fi signals of several user MAC addresses collected by the Nth communication gateway at time ki.
[0038] In step S4, for example, the MAC address in the offline database is calculated at the current time k i and the previous moment k (i-1) The positioning offset ΔL and the signal strength deviation value ΔR are obtained. In one embodiment, the positioning offset is expressed as: The signal strength deviation is expressed as: ΔR = {(rki 1 -rk(i-1) 1 )+(rki 2 -rk(i-1) 2 )+…+(rki N -rk(i-1) N )} / N, where (X k(i-1) , Y k(i-1) ) is the vehicle position information at time k(i-1), rk(i-1) N is the RSSI characteristic value of the user terminal signal collected by the Nth communication gateway at time k(i-1).
[0039] Further, when ΔL < l, where l is the reference quantity of positioning offset, it can be considered that there is no significant deviation in the vehicle position within this time interval. At this time, the signal strength deviation value ΔR is calculated. If the signal strength deviation value ΔR > r, where r is the reference value of the signal strength deviation inside and outside the vehicle, it can be considered that the vehicle position remains unchanged at this time, while the vehicle owner moves from inside the vehicle to outside the vehicle, that is, the position at this time is the vehicle parking position of the vehicle owner. It should be noted that the specific values of l and r can be determined through actual tests, and this embodiment does not make any restrictions. Record the correspondence between the vehicle parking position and the MAC address of the Bluetooth / Wi-Fi signal. This MAC address will not be compared at subsequent time points. In other cases, the above comparison will be repeated at the next time point k(i + 1) until the comparison condition is met and the comparison ends.
[0040] In step S5, when the user terminal (such as a mobile APP or a small program) queries the vehicle position information, the program obtains the MAC address of the user's Bluetooth / Wi-Fi signal, reads the vehicle parking position coordinate information corresponding to this MAC address in the server database, and displays the parking space information corresponding to this coordinate to the user, completing the outdoor parking lot positioning service. The specific execution steps are as Figure 2 shown.
[0041] In summary, a vehicle positioning method in a parking lot proposed in an embodiment of the present invention obtains the signal of the user terminal entering the parking area by arranging communication gateways in the ground parking area, records the MAC address of the obtained user terminal signal and the signal strength RSSI value. The positioning result of the vehicle can be accurately obtained through the signal strength values obtained by multiple communication gateways. At the same time, using the shielding effect of the vehicle on the user terminal signal, when the user moves outside the vehicle, the signal strength RSSI value obtained by the gateway will increase. Combining the positioning result, it can be judged that the vehicle owner has completed parking and moved outside the vehicle. Record the positioning result and the user terminal MAC address at this time. When the user searches for the vehicle position through the user terminal device, obtain the user terminal MAC address, and query the parking position corresponding to this MAC address in the background server and return it to the user, that is, complete the outdoor parking positioning process; this method can cover a large area through the probe device, and does not require covering a small number of parking spaces with a camera to record the correspondence between the parking space and the license plate like the traditional indoor vehicle positioning method, and there will be no situation where the camera cannot normally recognize the license plate in rainy or snowy weather, which not only saves equipment costs, is convenient for construction and installation, but also can adapt to more environmental interferences; in actual use, a Bluetooth or Wi-Fi signal probe can be selected for installation, which can further save costs, but for a small number of users whose mobile phones do not turn on the Bluetooth or Wi-Fi signal, positioning may not be completed. By installing two probe devices at the same time, more users can be covered, reducing the situation of inability to position due to the user's mobile phone turning off the Bluetooth or Wi-Fi function.
[0042]
Second Embodiment
[0043] like Figure 3 As shown, the second embodiment of the present invention proposes a parking lot vehicle positioning device 20, including: a communication gateway setting module 201, an offline database establishment module 202, a vehicle position information calculation module 203, a vehicle parking state determination module 204 and a vehicle position information feedback module 205.
[0044] The communication gateway setting module 201 is used to divide the parking lot into a plurality of parking areas, and to respectively set a communication gateway in each of the parking areas.
[0045] The offline database establishment module 202 is used to record the coordinate information of each parking space in the parking area, pre-acquire the first RSSI characteristic value sequence emitted by the user end signal at each parking space and collected by each communication gateway respectively, and establish an offline database based on the correspondence between the coordinate information and the first RSSI characteristic value sequence.
[0046] The vehicle position information calculation module 203 is used to obtain the second RSSI characteristic value sequence composed of the user-end signal collected by each communication gateway at the corresponding moment according to a preset time interval, calculate the Euclidean distance according to the first RSSI characteristic value sequence and the second RSSI characteristic value sequence, and use the coordinate information corresponding to the first RSSI characteristic value sequence with the minimum Euclidean distance calculated in the offline database as the vehicle position information at the corresponding moment.
[0047] The vehicle parking status determination module 204 is used to calculate the positioning offset between the vehicle position information at any two moments after the preset time interval and the signal strength deviation value between the second RSSI characteristic value sequence, and determine the vehicle parking status according to the positioning offset and the signal strength deviation value.
[0048] The vehicle position information feedback module 205 is used to obtain the vehicle position information after the vehicle completes the parking according to the parking state of the vehicle, and feed back the vehicle position information to the user.
[0049] It should be noted that the parking lot vehicle positioning method implemented by the parking lot vehicle positioning device 20 disclosed in the second embodiment of the present invention is as described in the first embodiment, so it will not be described in detail here. Optionally, the various modules and the above-mentioned other operations or functions in the second embodiment are respectively for implementing the method described in the first embodiment, and the beneficial effects of this embodiment are the same as the beneficial effects of the parking lot vehicle positioning method provided by the first embodiment, and for the sake of brevity, they are not repeated here.
[0050] [Third embodiment]
[0051] like Figure 4 As shown, the third embodiment of the present invention further provides an electronic device 30, for example, including: at least one processing unit 31, and at least one storage unit 32, wherein the storage unit 32 stores a computer program, and when the computer program is executed by the processing unit, the processing unit executes the steps of the method described in the first embodiment. The specific method can refer to the method described in the first embodiment, and will not be repeated here for the sake of brevity, and the beneficial effects of the electronic device 30 provided in this embodiment are the same as the beneficial effects of the parking lot vehicle positioning method provided in the first embodiment.
[0052] [Fourth embodiment]
[0053] like Figure 5 As shown, the fourth embodiment of the present invention proposes a computer-readable storage medium 40, which is a non-volatile memory and stores a computer program executable by an access authentication device. When the computer program runs on the access authentication device, the access authentication device executes the steps of the method described in the first embodiment. The specific method can refer to the method described in the first embodiment, and will not be repeated here for the sake of brevity. The beneficial effects of the computer-readable storage medium 40 provided in this embodiment are the same as the beneficial effects of the parking lot vehicle positioning method provided in the first embodiment.
[0054] Among them, computer-readable storage media may include, but are not limited to, any type of disk, including floppy disks, optical disks, DVDs, CD-ROMs, microdrives and magneto-optical disks, ROMs, RAMs, EPROMs, EEPROMs, DRAMs, VRAMs, flash memory devices, magnetic or optical cards, nanosystems (including molecular memory ICs), or any type of medium or device suitable for storing instructions and / or data.
[0055] It should be noted that, for the aforementioned method embodiments, for the sake of simplicity, they are all expressed as a series of action combinations, but those skilled in the art should be aware that the present application is not limited by the described order of actions, because according to the present application, certain steps can be performed in other orders or simultaneously. Secondly, those skilled in the art should also be aware that the embodiments described in the specification are all preferred embodiments, and the actions and modules involved are not necessarily required by the present application.
[0056] In the above embodiments, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.
[0057] In the several embodiments provided in the present application, it should be understood that the disclosed devices can be implemented in other ways. For example, the device embodiments described above are only schematic, such as the division of the units, which is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some service interfaces, and the indirect coupling or communication connection of devices or units can be electrical or other forms.
[0058] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0059] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.
[0060] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable memory. Based on this understanding, the technical solution of the present application is essentially or the part that contributes to the prior art or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a memory, including a number of instructions to enable a computer device (which can be a personal computer, server or network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present application. The aforementioned memory includes: U disk, read-only memory (ROM), random access memory (RAM), mobile hard disk, disk or optical disk and other media that can store program code.
[0061] A person skilled in the art may understand that all or part of the steps in the various methods of the above embodiments may be completed by entering a program to instruct the relevant hardware. The program may be stored in a computer-readable memory, and the memory may include: a flash drive, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, etc.
[0062] The above is only an exemplary embodiment of the present disclosure, and the scope of the present disclosure cannot be limited thereto. That is, any equivalent changes and modifications made according to the teachings of the present disclosure are still within the scope of the present disclosure. After considering the specification and practicing the disclosure here, those skilled in the art will easily think of the implementation scheme of the present disclosure. This application is intended to cover any modification, use or adaptation of the present disclosure, which follows the general principles of the present disclosure and includes common knowledge or customary technical means in the technical field not recorded in the present disclosure. The description and examples are regarded as exemplary only, and the scope and spirit of the present disclosure are defined by the claims.
[0063] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
[0064] It will be easily understood by those skilled in the art that the above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Any modifications, equivalent substitutions and improvements made within the spirit and principles of the present invention should be included in the protection scope of the present invention.
Claims
1. A parking lot vehicle positioning method, It is characterized in that include: Dividing the parking lot into a plurality of parking areas, and respectively setting a communication gateway in each of the parking areas; Recording the coordinate information of each parking space in the parking area, pre-acquiring a first RSSI characteristic value sequence obtained by sending a user terminal signal at each parking space and respectively collected by each communication gateway, and establishing an offline database according to the corresponding relationship between the coordinate information and the first RSSI characteristic value sequence; Acquire a second RSSI characteristic value sequence consisting of the user-end signal collected by each communication gateway at a corresponding moment according to a preset time interval, calculate the Euclidean distance according to the first RSSI characteristic value sequence and the second RSSI characteristic value sequence, and use the coordinate information corresponding to the first RSSI characteristic value sequence with the minimum Euclidean distance calculated in the offline database as the vehicle position information at the corresponding moment; Calculate the positioning offset between the vehicle position information at any two moments after the preset time interval and the signal strength deviation value between the second RSSI characteristic value sequence, and determine the vehicle parking state according to the positioning offset and the signal strength deviation value; The vehicle position information after the vehicle completes the parking is obtained according to the vehicle parking state, and the vehicle position information is fed back to the user.
2. The parking lot vehicle positioning method according to claim 1, It is characterized in that The Euclidean distance is expressed as: The first RSSI characteristic value sequence is represented as {RS 1 ,RS 2 ,…,RS N }, the second RSSI characteristic value sequence is represented as {rki 1 ,rki 2 ,…,rki N }, RS N The RSSI characteristic value obtained by sending the user terminal signal at each parking space and collected by the Nth communication gateway, rki N It is the RSSI characteristic value of the user terminal signal collected by the Nth communication gateway at time ki.
3. The parking lot vehicle positioning method according to claim 2, It is characterized in that The positioning offset is expressed as: Among them, (X ki ,Y ki ) is the vehicle position information at time ki, (X k(i-1) , Y k(i-1) ) is the vehicle position information at time k(i-1); the signal strength deviation value is expressed as: ΔR={(rki 1 -rk(i-1) 1 )+(rki 2 -rk(i-1) 2 )+…+(rki N -rk(i-1) N )} / N, where rk(i-1) N It is the RSSI characteristic value of the user terminal signal collected by the Nth communication gateway at time k(i-1).
4. The parking lot vehicle positioning method according to claim 3, It is characterized in that The determining the parking state of the vehicle according to the positioning offset and the signal strength deviation value includes: When the positioning offset ΔL is less than the positioning offset reference l, and the signal strength deviation ΔR is greater than the signal strength deviation reference r, it is determined that the parking state of the vehicle is completed.
5. The parking lot vehicle positioning method according to claim 1, It is characterized in that The communication gateway is at least one of a Bluetooth gateway and a WiFi gateway, and the user-end signal is at least one of a Bluetooth signal and a WiFi signal.
6. The parking lot vehicle positioning method according to claim 1, It is characterized in that The user-end signal emitted from each of the parking spaces in the parking area can be collected by at least three of the communication gateways.
7. The parking lot vehicle positioning method according to claim 1, It is characterized in that Also includes: The user terminal MAC address corresponding to the second RSSI characteristic value sequence is obtained, and the vehicle location information is fed back to the corresponding user according to the user terminal MAC address.
8. A parking lot vehicle positioning device, It is characterized in that include: A communication gateway setting module, used to divide the parking lot into a plurality of parking areas and respectively set a communication gateway in each of the parking areas; An offline database establishment module, used to record the coordinate information of each parking space in the parking area, pre-acquire the first RSSI characteristic value sequence obtained by sending a user terminal signal at each parking space and respectively collected by each communication gateway, and establish an offline database according to the corresponding relationship between the coordinate information and the first RSSI characteristic value sequence; A vehicle position information calculation module, used to obtain, at a preset time interval, a second RSSI characteristic value sequence consisting of the user-end signal collected by each communication gateway at a corresponding moment, calculate the Euclidean distance according to the first RSSI characteristic value sequence and the second RSSI characteristic value sequence, and use the coordinate information corresponding to the first RSSI characteristic value sequence with the minimum Euclidean distance calculated in the offline database as the vehicle position information at the corresponding moment; A vehicle parking state determination module, used to calculate the positioning offset between the vehicle position information at any two moments after the preset time interval and the signal strength deviation value between the second RSSI characteristic value sequence, and determine the vehicle parking state according to the positioning offset and the signal strength deviation value; The vehicle position information feedback module is used to obtain the vehicle position information after the vehicle completes the parking according to the parking state of the vehicle, and feed back the vehicle position information to the user.
9. An electronic device, It is characterized in that The method comprises at least one processing unit and at least one storage unit, wherein the storage unit stores a computer program, and when the computer program is executed by the processing unit, the processing unit executes the steps of the method according to any one of claims 1 to 7.
10. A computer-readable storage medium, It is characterized in that It stores a computer program executable by an access authentication device. When the computer program runs on the access authentication device, the access authentication device executes the steps of the method described in any one of claims 1 to 7.
