Method, device and apparatus for testing a parking space detection device
By statistically analyzing the number of times vehicles are not parked to determine false alarm values, the status of the parking space detection device is automatically checked, thus solving the problem of false alarms from the parking space detection device and improving inspection efficiency and accuracy.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- ZHEJIANG UNIVIEW TECH CO LTD
- Filing Date
- 2024-12-25
- Publication Date
- 2026-06-26
AI Technical Summary
Existing parking space detection devices are prone to false alarms, causing car owners to be mistakenly guided to occupied parking spaces, and the detection efficiency of existing technology is low.
By statistically analyzing the number of times a vehicle fails to park after being guided to a specific parking space by the guidance system, a false alarm value is determined, and the status of the parking space detection device is automatically checked based on the false alarm value.
The system enables rapid and automated inspection of parking spaces, improving inspection efficiency and accuracy while reducing false alarm rates.
Smart Images

Figure CN122290375A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of electronic information technology, and in particular to a method, apparatus and equipment for inspecting parking space detection devices. Background Technology
[0002] With my country's rapid economic growth and accelerating urbanization, the number of motor vehicles has increased rapidly. The contradiction between the ever-growing demand for parking and the number of parking spaces that cities can provide has become increasingly prominent. How to quickly find a parking space is a major concern for every car owner.
[0003] Currently, many parking lots use parking space detection devices and guidance systems to help drivers find available parking spaces. These devices typically use technologies such as image acquisition devices, radar, geomagnetic sensors, infrared sensors, or ultrasonic sensors to monitor the occupancy of parking spaces in real time. The monitored data is then transmitted to the control system for processing and analysis, and the guidance system helps drivers quickly find available parking spaces.
[0004] However, due to factors such as environmental interference, technical malfunctions, or system aging, parking space detection devices may produce false alarms, which may lead to car owners being mistakenly guided to occupied parking spaces. Therefore, how to quickly inspect parking space detection devices is an urgent problem to be solved. Summary of the Invention
[0005] This invention provides a method, apparatus, and equipment for inspecting parking space detection devices, thereby overcoming the shortcomings of existing technologies that cannot inspect parking space detection devices and achieving the goal of rapidly inspecting parking space detection devices.
[0006] This invention provides a method for inspecting a parking space detection device, comprising: Upon detecting that a target vehicle has entered a target location, a guide parking space for the target vehicle is determined based on at least one parking space corresponding to a first identifier within the target location. The first identifier is used to indicate that the parking space is vacant. If it is determined that the target vehicle is not parked in the guide parking space, the number of times the guide parking space is not parked is updated. The number of times the guide parking space is not parked is used to represent the number of times the vehicle guided to the guide parking space has not been parked in the guide parking space. The false alarm value corresponding to the guided parking space is determined based on the updated number of times the guided parking space has not been parked. Based on the false alarm value, the inspection result of the parking space detection device for the guided parking space is determined.
[0007] According to a method for inspecting a parking space detection device provided by the present invention, determining the inspection result of the parking space detection device for guiding parking spaces based on the false alarm value includes: If the false alarm value is greater than a preset value, at least one parking space detection device near the guide parking space is activated to determine the parking status of the guide parking space; The inspection result of the parking space detection device for the guide parking space is determined based on the status of each parking space.
[0008] According to the present invention, a method for inspecting a parking space detection device is provided, wherein the parking space detection device includes an image acquisition device; Determining the parking status of the guide parking space by activating at least one parking space detection device near the guide parking space includes: At least one image acquisition device near the guide parking space is activated to acquire an image of the guide parking space; The parking status of the guide parking space is determined based on the parking space image.
[0009] According to the present invention, a method for inspecting a parking space detection device is provided, wherein the parking space detection device includes a radar; Determining the parking status of the guide parking space by activating at least one parking space detection device near the guide parking space includes: At least one radar near the designated parking space is activated to detect the parking status of the designated parking space.
[0010] According to the present invention, a method for inspecting a parking space detection device, wherein determining the inspection result of the parking space detection device for the guide parking space based on the status of each parking space includes: If the parking space status differs from the parking space status in the guidance system, it is determined that the parking space detection device for the guided parking space is malfunctioning; or, If the parking space identifier corresponding to the current parking space status is different from the current parking space identifier of the guided parking space, it is determined that the parking space detection device of the guided parking space is malfunctioning; or, If the parking space status reported by the image acquisition device of the guide parking space is different from the parking space status of the guide parking space, it is determined that the parking space detection device of the guide parking space has malfunctioned.
[0011] According to the present invention, a method for inspecting a parking space detection device further includes: If it is determined that the parking space detection device of the guide parking space is malfunctioning, the current parking space identifier of the guide parking space will be updated to a second identifier, which is used to indicate that the guide parking space is occupied.
[0012] According to a method for testing a parking space detection device provided by the present invention, the step of determining the false alarm value corresponding to the guided parking space based on the updated number of times the guided parking space has not been parked includes: Obtain the number of times that other parking spaces adjacent to the designated parking space have not been used for guidance; Based on the number of times the other parking spaces were not parked, the unpopularity value of the guided parking space is determined, and the unpopularity value is used to characterize the willingness to park a vehicle in the guided parking space; The false alarm value is determined based on the updated number of times the bootloader has not been parked and the number of unpopular bootloaders.
[0013] According to the inspection method of a parking space detection device provided by the present invention, the false alarm value is determined based on the ratio of the number of times the guided parking space was not parked to the number of times it was guided within a preset time period.
[0014] The present invention also provides a parking space detection device inspection apparatus, comprising: The determination module is used to determine the guide parking space for the target vehicle based on at least one parking space corresponding to a first identifier in the target location when the target vehicle is detected to have entered the target location. The first identifier is used to indicate that the parking space is vacant. An update module is used to update the number of times a vehicle has not been parked in the guide parking space when it is determined that the target vehicle has not been parked in the guide parking space. The number of times a vehicle guided to the guide parking space has not been parked in the guide parking space is used to characterize the number of times a vehicle has not been parked in the guide parking space. The determining module is also used to determine the false alarm value corresponding to the guided parking space based on the updated number of times the guided parking space has not been parked; The inspection module is also used to determine the inspection result of the parking space detection device for the guided parking space based on the false alarm value.
[0015] The present invention also provides an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the computer program to implement the inspection method of any of the parking space detection devices described above.
[0016] The present invention also provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the inspection method of the parking space detection device as described above.
[0017] The present invention also provides a computer program product, including a computer program that, when executed by a processor, implements the inspection method of any of the parking space detection devices described above.
[0018] The present invention provides a method, apparatus, and equipment for inspecting parking space detection devices. When a target vehicle is detected entering a target location, a guide parking space for the target vehicle is determined based on at least one parking space corresponding to a first identifier within the target location. This first identifier indicates that the parking space is vacant. If the target vehicle is determined not to park in the guide parking space, the number of times the guide vehicle has not parked in the guide parking space is updated. This number represents the number of times a vehicle guided to the guide parking space has not parked there. A false alarm value corresponding to the guide parking space is determined based on the updated number of times the guide vehicle has not parked in the guide parking space. Based on the false alarm value, the inspection result of the parking space detection device for the guide parking space is determined. Since updating the number of times the guide vehicle has not parked in the guide parking space and determining the false alarm value based on the updated number of times the guide vehicle has not parked in the guide parking space can represent the probability of a false alarm by the parking space detection device for the guide parking space, the inspection result of the parking space detection device for the guide parking space can be automatically determined based on the false alarm value, thus improving the inspection efficiency of the parking space detection device. Attached Figure Description
[0019] To more clearly illustrate the technical solutions in this invention or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are some embodiments of this invention. For those skilled in the art, other drawings can be obtained from these drawings without creative effort.
[0020] Figure 1 This is a flowchart illustrating the inspection method of the parking space detection device provided in an embodiment of the present invention.
[0021] Figure 2 This is a schematic diagram of the structure of the inspection device of the parking space detection device provided in an embodiment of the present invention.
[0022] Figure 3 This is a schematic diagram of the physical structure of an electronic device provided in an embodiment of the present invention. Detailed Implementation
[0023] To make the objectives, technical solutions, and advantages of this invention clearer, the technical solutions of this invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some, not all, of the embodiments of this invention. All other embodiments obtained by those skilled in the art based on the embodiments of this invention without creative effort are within the scope of protection of this invention.
[0024] Currently, in parking guidance systems, factors such as environmental interference, technical malfunctions, or system aging may cause false alarms from parking space detectors, such as reporting an occupied parking space as an vacant one. This can lead to the guidance system incorrectly directing drivers to that parking space. In existing technologies, the current working status of the parking space detection device can usually only be determined manually, resulting in low efficiency in verifying the status of the parking space detection device.
[0025] To address the aforementioned problems, this invention provides a method for inspecting a parking space detection device. In this method, the number of times a vehicle is guided to a specific parking space by the guidance system but fails to park there is statistically analyzed. Based on this number of instances of non-parking, a false alarm value corresponding to the guiding parking space is determined. This false alarm value reflects the probability of a false alarm for the guiding parking space. Therefore, the inspection result of the parking space detection device can be determined based on the false alarm value. This achieves the goal of automatically inspecting the status of the parking space detection device, improving its inspection efficiency.
[0026] This invention can be applied to scenarios where car owners need to find parking spaces, especially in situations where parking spaces are scarce and a guidance system is needed for quick parking. The executing entity of this method can be an electronic device such as a parking guidance system control device, terminal device, computer, server, server cluster, or a specially designed testing device for parking space detection devices. Alternatively, it can be a testing device for parking space detection devices integrated within such electronic devices, which can be implemented through software, hardware, or a combination of both.
[0027] Figure 1 This is a flowchart illustrating the inspection method of the parking space detection device provided in an embodiment of the present invention, as shown below. Figure 1 As shown, the method includes: Step 101: When a target vehicle is detected to have entered the target location, a guide parking space for the target vehicle is determined based on at least one parking space corresponding to a first identifier within the target location. The first identifier is used to indicate that the parking space is vacant.
[0028] In this step, the target location includes a parking lot or other area with parking spaces. The status of each parking space can be detected using a parking space detection device. This device can utilize technologies such as image acquisition devices, radar, geomagnetic sensors, infrared sensors, or ultrasonic sensors to detect whether each parking space is currently vacant or occupied. At least one parking space detection device can be installed at each parking space, or multiple parking spaces can share a single device. For example, if a parking space is detected as vacant, this can be indicated by a first indicator, such as a green indicator light or a flashing indicator light. If a parking space is detected as occupied, this can be indicated by a second indicator, such as a red indicator light or a non-flashing indicator light.
[0029] Additionally, an image acquisition device can be installed at the entrance of the target location to monitor whether a target vehicle is entering the target location. Once a target vehicle is confirmed to have entered the target location, the guidance system's control equipment will, based on the status of each parking space reported by the parking space detection device, select at least one parking space corresponding to the first identifier, i.e., a parking space that is currently vacant.
[0030] Furthermore, based on these available parking spaces, a guide parking space can be determined for the target vehicle. For example, a parking space can be randomly selected from all available spaces as the guide parking space. Alternatively, based on the target vehicle's current location and the locations of the available spaces, the closest parking space to the target vehicle can be selected. Furthermore, considering the target vehicle's model, a suitable parking space can be selected from all available spaces as the guide parking space. For instance, if the target vehicle is a small vehicle, the closest parking space can be selected as the guide parking space; if the target vehicle is a Sport Utility Vehicle (SUV), a larger available parking space can be prioritized as the guide parking space.
[0031] Step 102: If it is determined that the target vehicle is not parked in the guide parking space, update the number of times the guide parking space is not parked. The number of times the guide parking space is not parked is used to represent the number of times the vehicle guided to the guide parking space has not been parked in the guide parking space.
[0032] In this step, the guidance system records the number of times a vehicle was not parked in a designated parking space based on the parking data of multiple vehicles over a historical period. This number represents the number of times the guidance system identified a parking space as a designated space for a vehicle, but the vehicle ultimately did not park there. A higher number of non-parking guide entries indicates a greater likelihood of a false alarm from the parking space detection device. By statistically analyzing the number of times multiple vehicles failed to park in a designated space over a historical period, the system can prevent occasional instances where drivers deviate from the designated parking space due to their own parking intentions or preferences, thus avoiding false alarms from the parking space detection device.
[0033] When it is determined, through the target vehicle's driving trajectory or by collecting images of the target vehicle, that the target vehicle has not been parked in the designated parking space, the previously recorded number of times the target vehicle has not been parked will be updated, for example, by incrementing the number by one, which will be the updated number of times the target vehicle has not been parked.
[0034] Step 103: Determine the false alarm value corresponding to the guided parking space based on the updated number of times the guided parking space was not parked.
[0035] In this step, after determining the updated number of missed parking attempts, the updated number of missed parking attempts can be directly used as the false alarm value for the guided parking space. Alternatively, the ratio of the number of missed parking attempts to the number of guided parking spaces within a preset period can be used as the false alarm value. Another option is to determine the false alarm value based on the updated number of missed parking attempts and whether the parking space is a less popular location. It should be understood that when a guided parking space is a less popular location, it indicates that the driver's intention to park in that space is not strong. Therefore, drivers may not park in that space due to their own lack of willingness to park. In this case, the failure to park is not due to a false alarm from the parking space detection device. Therefore, the false alarm value for the guided parking space determined by combining the updated number of missed parking attempts and whether the parking space is a less popular location will be more accurate.
[0036] Step 104: Based on the false alarm value, determine the inspection result of the parking space detection device for guiding parking spaces.
[0037] In this step, a larger false alarm value indicates a higher probability of false alarms from the parking space detection device for the guiding parking space. Therefore, in one implementation, the parking space detection device for the guiding parking space is determined to be malfunctioning when the false alarm value is greater than a preset value, and is considered normal when the false alarm value is less than or equal to the preset value. In another implementation, to more accurately determine whether the parking space detection device is malfunctioning, the false alarm value can be combined with the parking space status detected by the parking space detection devices of other parking spaces near the guiding parking space to jointly verify the status of the parking space detection device for the guiding parking space.
[0038] The inspection method for a parking space detection device provided in this invention involves determining a guide parking space for a target vehicle based on at least one parking space corresponding to a first identifier within the target location when a target vehicle is detected entering the target location. This first identifier indicates that the parking space is vacant. If the target vehicle is determined not to have parked in the guide parking space, the number of times the guide vehicle has not parked in the guide parking space is updated. This number represents the number of times a vehicle guided to the guide parking space has not actually parked there. A false alarm value corresponding to the guide parking space is determined based on the updated number of times the guide vehicle has not parked in the guide parking space. Based on the false alarm value, the inspection result of the parking space detection device for the guide parking space is determined. Since updating the number of times the guide vehicle has not parked in the guide parking space and determining the false alarm value based on this updated number of times the false alarm value represents the probability of a false alarm by the parking space detection device for the guide parking space, the inspection of the parking space detection device for the guide parking space can be automatically achieved based on the false alarm value, thus improving the inspection efficiency of the parking space detection device.
[0039] For example, based on the above embodiments, when determining the inspection result of the parking space detection device for the guide parking space based on the false alarm value, if the false alarm value is greater than the preset value, at least one parking space detection device near the guide parking space may be activated to determine the parking space status of the guide parking space, and the inspection result of the parking space detection device for the guide parking space may be determined according to the status of each parking space.
[0040] Specifically, when the false alarm value exceeds the preset value, it indicates that the guided parking space has experienced multiple guidance errors. To further verify whether the parking space detection device of the guided parking space is causing a false alarm, at least one parking space detection device near the guided parking space can be controlled to detect the parking space status of the guided parking space. This parking space status can then be used to verify the status of the parking space detection device. The parking space status includes vacant or occupied. The preset value can be set according to actual conditions or experience, for example, it can be set to 0.6. The specific value of the preset value is not limited in this embodiment of the invention.
[0041] In this embodiment, the parking status of the guiding parking space can be determined by activating at least one parking space detection device near the guiding parking space. The false alarm value and the parking status determined by the nearby parking space detection device are combined to verify the status of the parking space detection device of the guiding parking space, which can further improve the verification accuracy of the parking space detection device status.
[0042] For example, in one possible implementation, when the parking space detection device includes an image acquisition device, when mobilizing at least one parking space detection device near the guide parking space to determine the parking space status of the guide parking space, it may be possible to mobilize at least one image acquisition device near the guide parking space to acquire a parking space image of the guide parking space, and determine the parking space status of the guide parking space based on the parking space image.
[0043] Specifically, the control device in the guidance system can control at least one image acquisition device near the guidance parking space to rotate based on the location of the guidance parking space and the location of at least one image acquisition device near the guidance parking space, thereby acquiring the parking space image of the guidance parking space.
[0044] Furthermore, image analysis can be performed on the parking space images to determine whether there are parked vehicles in the guide parking spaces, thereby determining the parking space status, such as whether it is vacant or occupied. Alternatively, the parking space images can be input into a pre-trained parking space status detection model to obtain the parking space status of the guide parking spaces output by the model. This parking space status detection model can be trained from an initial parking space status detection model based on sample parking space images and pre-labeled parking space status tags.
[0045] In this embodiment, by mobilizing at least one image acquisition device near the guide parking space to acquire the parking space image, and determining the parking space status of the guide parking space based on the parking space image, the accuracy of the determined parking space status can be improved because at least one nearby image acquisition device can be used to assist in determining the parking space status of the guide parking space.
[0046] For example, in another possible implementation, when the parking space detection device includes radar, when mobilizing at least one parking space detection device near the guide parking space to determine the parking space status of the guide parking space, it may be possible to mobilize at least one radar near the guide parking space to detect the parking space status of the guide parking space.
[0047] Specifically, the control device in the guidance system can control at least one radar near the guidance parking space to rotate based on the location of the guidance parking space and the location of at least one radar near the guidance parking space, so as to detect the parking space status of the guidance parking space, such as whether it is vacant or occupied.
[0048] In this embodiment, the parking status of the guide parking space is obtained by activating at least one radar near the guide parking space. This method can improve the accuracy of the determined parking status of the guide parking space by using at least one nearby radar to assist in determining the parking status of the guide parking space.
[0049] For example, the parking space detection device may also include an infrared sensor or an ultrasonic sensor. Therefore, when determining the parking status of the guide parking space by activating at least one parking space detection device near the guide parking space, the parking status of the guide parking space may be detected by activating at least one infrared sensor or ultrasonic sensor near the guide parking space.
[0050] It should be understood that, in the embodiments of the present invention, the parking status of the guided parking space can be determined by mobilizing at least one of radar, image sensor, infrared sensor and ultrasonic sensor. By determining the parking status from different dimensions or different sensors, the accuracy of the determined parking status can be improved.
[0051] For example, based on the above embodiments, determining the inspection result of the parking space detection device for guiding parking spaces according to the status of each parking space can include the following situations: If the parking space status differs from the parking space status in the guidance system, it is determined that the parking space detection device for the guided parking space is malfunctioning; or, if the parking space identifier corresponding to the parking space status differs from the current parking space identifier of the guided parking space, it is determined that the parking space detection device for the guided parking space is malfunctioning; or, if the parking space status differs from the parking space status reported by the image acquisition device for the guided parking space, it is determined that the parking space detection device for the guided parking space is malfunctioning.
[0052] Specifically, in one embodiment, after detecting the parking status of a guide parking space, the parking space detection device reports the detected parking status to the guidance system for storage. If the parking status of a guide parking space determined by at least one parking space detection device near the guide parking space differs from the parking status stored in the guidance system, it indicates that the parking space detection device may be malfunctioning, thus confirming that the guide parking space detection device is in an abnormal state. For example, if the parking status of a guide parking space stored in the guidance system is "idle," while the parking status of a guide parking space determined by at least one parking space detection device near the guide parking space is "occupied," it indicates that the parking status of the guide parking space stored in the guidance system is incorrect, thus confirming that the guide parking space detection device has malfunctioned.
[0053] When the false alarm value corresponding to the guided parking space exceeds the preset threshold, the parking space status of the guided parking space determined by at least one parking space detection device near the guided parking space is compared with the parking space status in the guidance system to determine whether the parking space detection device of the guided parking space is abnormal. This method can improve the accuracy of the determined parking space detection device status. Through the dual verification mechanism, the false alarms that may occur when using a single parking space status to determine whether the parking space detection device is abnormal can be reduced.
[0054] In another embodiment, if the parking space identifier corresponding to the parking space status determined by at least one parking space detection device near the guide parking space is different from the current parking space identifier of the guide parking space, it indicates that the current parking space identifier of the guide parking space may be incorrect, thus confirming that the parking space detection device of the guide parking space has malfunctioned. For example, if the parking space identifier corresponding to the parking space status determined by at least one parking space detection device near the guide parking space includes an indicator light being red or a sign indicating that there is a car, while the current parking space identifier of the guide parking space includes an indicator light being green or a sign indicating that there is no car, it can be determined that the parking space detection device of the guide parking space has misdetected, that is, it is in an abnormal state.
[0055] When the false alarm value corresponding to the guided parking space exceeds the preset threshold, the method of comparing the parking space identifier corresponding to the parking space status of the guided parking space determined by at least one parking space detection device near the guided parking space with the current parking space identifier of the guided parking space can not only improve the accuracy of the determined parking space detection device status, but also reduce the false alarm rate and the missed alarm rate.
[0056] In another embodiment, the parking space detection device for the guide parking space can also report the parking space status in real time. When the parking space status of the guide parking space determined by at least one parking space detection device near the guide parking space differs from the parking space status detected by the guide parking space detection device, it indicates that the guide parking space detection device may be erroneous, thus confirming that the guide parking space detection device is in an abnormal state. For example, if the image acquisition device for the guide parking space reports that the guide parking space is vacant, while at least one parking space detection device near the guide parking space determines that the guide parking space is occupied, it indicates that the parking space status reported by the image acquisition device for the guide parking space is incorrect, thus confirming that the guide parking space detection device has malfunctioned.
[0057] When the false alarm value corresponding to the guided parking space exceeds the preset threshold, the parking space status of the guided parking space determined by at least one parking space detection device near the guided parking space is compared with the parking space status of the guided parking space reported by the image acquisition device of the guided parking space to determine whether the parking space detection device of the guided parking space is abnormal. This method can improve the accuracy of the determined parking space detection device status. Through the dual verification mechanism, the false alarms that may occur when using a single parking space status to determine whether the parking space detection device is abnormal can be reduced.
[0058] For example, based on the above embodiments, if it is determined that the parking space detection device for the guided parking space is malfunctioning, the current parking space identifier of the guided parking space is updated to a second identifier, which is used to indicate that the guided parking space is occupied.
[0059] In this step, when the parking space detection device for the designated guide space malfunctions, it indicates a false alarm. The device incorrectly reports an occupied status as an empty status, preventing vehicles from parking in that space. Therefore, the guide space's identifier can be updated from the first identifier to a second identifier, indicating that the guide space is occupied. For example, the guide space's signal light can be changed from green to red. This way, when the guidance system subsequently identifies guide spaces for vehicles entering the target area, it will avoid those updated to the second identifier, preventing vehicles from being incorrectly guided to spaces already occupied and improving the accuracy of parking guidance.
[0060] For example, in one possible implementation, when it is determined that the target vehicle is not parked in the guide parking space, at least one guide trajectory can be determined based on the current position of the target vehicle and the position of the guide parking space, and the actual trajectory of the target vehicle from the current position to the parking position can be obtained. If the actual trajectory does not match any of the guide trajectories, it is determined that the target vehicle is not parked in the guide parking space.
[0061] Specifically, since the target location may include multiple paths, there may also be multiple guidance trajectories from the current position of the target vehicle to the location of the guidance parking space. Once the guidance system determines the guidance parking space, it can use a path planning algorithm to calculate all guidance trajectories from the current position of the target vehicle to the location of the guidance parking space.
[0062] In addition, the actual trajectory of the target vehicle from its current location to its parking location can be tracked through positioning methods such as Global Positioning System (GPS), Bluetooth positioning, or Wi-Fi positioning.
[0063] When the actual trajectory of the target vehicle does not match any of the guiding trajectories, it indicates that the target vehicle did not follow the guiding trajectory, meaning that the target vehicle's final parking position was not at the guiding parking space, thus confirming that the target vehicle was not parked in the guiding parking space.
[0064] In this embodiment, by comparing the actual trajectory of the target vehicle with at least one determined guide trajectory, if the actual trajectory does not match any of the guide trajectories, it can be determined that the target vehicle is not parked in the guide parking space. This method can determine whether the vehicle is parked in the guide parking space through the target vehicle's own positioning system without the need for other equipment. This not only improves the efficiency of determining the parking location of the target vehicle, but also makes the method more applicable.
[0065] In another possible implementation, when it is determined that the target vehicle is not parked in the guide parking space, the parking space number in the parking space image corresponding to the parking location of the target vehicle can be compared with the parking space number of the guide parking space to obtain a comparison result. If the comparison result indicates that the parking space number in the parking space image is different from the parking space number of the guide parking space, it is determined that the target vehicle is not parked in the guide parking space.
[0066] Specifically, images of each parking space can be captured by image acquisition devices installed within the target location. When a target vehicle enters the target location, the image acquisition devices at the entrance can capture vehicle identification information, such as the license plate number. As the target vehicle subsequently drives within the target location, the image acquisition devices within the target location will be activated to track the target vehicle, thereby obtaining images of the parking space where the target vehicle will eventually park.
[0067] After obtaining the parking space image, image analysis is performed to extract the parking space number. Furthermore, the extracted parking space number is compared with the parking space number of the guide parking space. If the parking space number in the image differs from the guide parking space number, it indicates that the target vehicle was ultimately parked in a different parking space than the guide parking space, thus confirming that the target vehicle was not parked in the guide parking space.
[0068] In this embodiment, by comparing the parking space number of the target vehicle's final parking space with the parking space number of the guide parking space, if the two are inconsistent, it means that the target vehicle has not parked in the guide parking space. This method simplifies the determination of whether the target vehicle has parked in the guide parking space, making the implementation simpler.
[0069] For example, based on the above embodiments, when determining the false alarm value corresponding to the guided parking space based on the updated number of times the guided parking space was not parked, the number of times the guided parking space was not parked for other adjacent parking spaces can be obtained. Based on the number of times the guided parking space was not parked for other parking spaces, the unpopularity value of the guided parking space can be determined. This unpopularity value is used to characterize the willingness to park a vehicle in the guided parking space. Based on the updated number of times the guided parking space was not parked and the unpopularity value, the false alarm value can be determined.
[0070] Specifically, the false alarm value directly reflects whether the parking space detection device corresponding to the guided parking space is giving a false alarm. When the false alarm value is large, it indicates that the probability of the parking space detection device corresponding to the guided parking space is high, such as reporting the occupancy status of the guided parking space as an idle status. When the false alarm value is small, it indicates that the probability of the parking space detection device corresponding to the guided parking space is low.
[0071] In practical applications, if a target vehicle ultimately fails to park in a designated parking space, it may not be due to a false alarm from the parking space detection device. Instead, it could be due to the location or size of the designated space, leading to a lower willingness among drivers to park there. In other words, the driver may not want to park in that space. Therefore, when determining the false alarm value for designated parking spaces, in addition to the updated number of missed parking attempts, it is also necessary to consider the "unpopularity value" of the designated space. This unpopularity value characterizes the driver's willingness to park in the designated space. A higher unpopularity value indicates a lower willingness to park in the designated space, and vice versa.
[0072] In a specific implementation, the number of times other parking spaces adjacent to the guided parking space were not parked can be obtained. The number of times other parking spaces were not parked can be understood as the number of times the vehicle was guided to other parking spaces by the guidance system but did not park in those spaces. This can be obtained by statistically analyzing the vehicle guidance situation over a historical period.
[0073] Furthermore, by pre-setting different ranges of unpopularity values corresponding to the number of times a parking space is guided to be parked, the range to which the number of times a parking space is guided to be parked is determined, and the unpopularity value corresponding to that range is determined as the unpopularity value of the guided parking space.
[0074] After determining the low-population value of the guided parking spaces, a false alarm value is determined based on the updated number of unparked guided spaces and the low-population value. For example, the difference between the updated number of unparked guided spaces and the low-population value can be determined as the false alarm value. Alternatively, weights can be assigned to the updated number of unparked guided spaces and the low-population value, so that the difference between the product of the updated number of unparked guided spaces and the corresponding weight, and the product of the low-population value and the corresponding weight, can be determined as the false alarm value.
[0075] By updating the number of missed parking spots and combining it with the false alarm value determined by the "unpopularity value," the impact of drivers' reluctance to park in the designated parking spaces due to their location or size can be reduced, thus mitigating the misinterpretation of parking space detection errors by the parking space detection device. This improves the accuracy of the false alarm value, allowing it to more accurately reflect the probability of false alarms from the parking space detection device. For example, using the difference between the updated number of missed parking spots and the "unpopularity value" as the false alarm value, when a driver's willingness to park in a designated parking space is low, the "unpopularity value" determined by the number of missed parking spots in adjacent parking spaces will typically be higher. Therefore, subtracting the higher "unpopularity value" from the updated number of missed parking spots will lower the false alarm value, thus reducing the likelihood of drivers mistakenly attributing their reluctance to park in the designated parking space to a detection error by the parking space detection device.
[0076] For example, based on the above embodiments, when determining the false alarm value based on the updated number of times the boot failed to stop and the unpopular value, the target weight corresponding to the updated number of times the boot failed to stop can be determined based on the correspondence between the number range of the number of times the boot failed to stop and the weight, and the false alarm value can be determined based on the updated number of times the boot failed to stop, the target weight, and the unpopular value.
[0077] Specifically, a pre-defined range and weighting relationship can be established for the number of times a parking space has been guided but not parked. A higher number of guided but not parked instances corresponds to a higher weight, and vice versa. For example, if a parking space has been guided but not parked more than 10 times in the past week, it indicates a higher probability of false alarms. Therefore, a relatively high weight, such as 1.1, can be assigned to this space to amplify the number of guided but not parked instances and increase the final false alarm value, thus minimizing the likelihood of vehicles being guided to that space again during subsequent parking guidance. If a parking space has been guided but not parked 5 times in the past week, it indicates that false alarms may occur occasionally. Therefore, a medium weight, such as 1, can be assigned to this space. If a parking space has only been marked as not parked once in the past week, it indicates that the probability of a false alarm for that parking space is low. Therefore, a relatively small weight can be set, such as 0.3, to reduce the number of times a parking space has been marked as not parked, thereby reducing the final false alarm value. This can help avoid excluding parking spaces that did not have false alarms and thus reducing the utilization rate of parking spaces.
[0078] After determining the number of times the guided parking space has not been parked after the update, the range of times the updated number of times the guided parking space has not been parked can be determined, and the weight corresponding to the range of times can be determined as the target weight corresponding to the number of times the guided parking space has not been parked.
[0079] Furthermore, the difference between the product of the updated number of times the guidance was not stopped and the target weight, and the cold number, can be determined as the false alarm value.
[0080] In this embodiment, by determining the target weight corresponding to the updated number of times the guided parking space is not parked, and based on the updated number of times the guided parking space is not parked, the target weight, and the unpopularity value, a false alarm value is determined. This allows the determined false alarm value to adapt to the actual changes in the guided parking space, improving the accuracy of the false alarm value. The false alarm value can more accurately reflect whether the parking space detector corresponding to the guided parking space is falsely alarming.
[0081] For example, based on the above embodiments, the false alarm value can also be determined by the ratio of the number of times the guided parking space was not parked to the number of times it was guided within a preset time period. The false alarm value determined in this way can reflect the proportion of vehicles that were not parked in the guided parking space within the preset time period, thereby intuitively reflecting the probability of false alarms by the parking space detection device of the guided parking space.
[0082] For example, based on the above embodiments, when it is determined that the target vehicle has not been parked in the guide parking space, the number of times the guide parking space has not been parked can be updated if no other vehicle was parked in the guide parking space before the target vehicle was parked, and the target vehicle ultimately did not park in the guide parking space.
[0083] Specifically, in practical applications, when the guidance system identifies a designated parking space for a target vehicle, and the target vehicle is driving towards that space, other vehicles may arrive at and park there first. In this case, the target vehicle will be unable to continue parking in the designated space, but the designated parking space will not generate a false alarm in this scenario. To prevent the parking space detector from incorrectly identifying this scenario as a false alarm, in this embodiment, the number of instances of non-parking in the designated space is only updated after confirming that no other vehicles are parked in the designated space before the target vehicle parks there, and that the target vehicle ultimately does not park in the designated space. This method avoids the phenomenon of the number of instances of non-parking in the designated space increasing due to other vehicles parking there, thus improving the accuracy of the number of instances of non-parking in the designated space.
[0084] It should be noted that after determining that the false alarm value of the guided parking space is greater than the preset value and controlling the identification of the guided parking space to be updated to the second identification, the status indicator light of the guided parking space can also be collected by the image acquisition device around the guided parking space to verify whether the status indicator light of the guided parking space has changed to the color used to indicate that the parking space is occupied.
[0085] The inspection device for the parking space detection device provided by the present invention is described below. The inspection device for the parking space detection device described below and the inspection method for the parking space detection device described above can be referred to in correspondence.
[0086] Figure 2 This is a schematic diagram of the structure of the inspection device of the parking space detection device provided in an embodiment of the present invention, with reference to... Figure 2 As shown, the inspection device 200 of the parking space detection device includes: The determining module 11 is used to determine the guiding parking space of the target vehicle based on at least one parking space corresponding to a first identifier in the target location when the target vehicle is detected to have entered the target location. The first identifier is used to indicate that the parking space is vacant. The update module 12 is used to update the number of times the guidance vehicle has not been parked in the guidance parking space when it is determined that the target vehicle has not been parked in the guidance parking space. The number of times the guidance vehicle has not been parked in the guidance parking space is used to represent the number of times the vehicle guided to the guidance parking space has not been parked in the guidance parking space. The determining module 11 is also used to determine the false alarm value corresponding to the guided parking space based on the updated number of times the guided parking space was not parked. The inspection module 13 is also used to determine the inspection result of the parking space detection device for the guide parking space based on the false alarm value.
[0087] In one example embodiment, the inspection module 13 is specifically used for: If the false alarm value is greater than the preset value, at least one parking space detection device near the guide parking space is activated to determine the parking status of the guide parking space; The inspection result of the parking space detection device for the guide parking space is determined based on the status of each parking space.
[0088] In one example embodiment, the parking space detection device includes an image acquisition device; The determining module 11 is specifically used for: At least one image acquisition device near the guide parking space is activated to acquire an image of the guide parking space; The parking status of the guide parking space is determined based on the parking space image.
[0089] In one example embodiment, the parking space detection device includes radar; The determining module 11 is specifically used to: activate at least one radar near the guiding parking space to detect the parking status of the guiding parking space.
[0090] In one example embodiment, the verification module 13 is specifically used for: If the parking space status differs from the parking space status in the guidance system, it is determined that the parking space detection device for the guided parking space is malfunctioning; or, If the parking space identifier corresponding to the current parking space status is different from the current parking space identifier of the guided parking space, it is determined that the parking space detection device of the guided parking space is malfunctioning; or, If the parking space status reported by the image acquisition device of the guide parking space is different from the parking space status of the guide parking space, it is determined that the parking space detection device of the guide parking space has malfunctioned.
[0091] In one example embodiment, the apparatus further includes: an update module, wherein: The update module is used to update the current parking space identifier of the guide parking space to a second identifier when it is determined that the parking space detection device of the guide parking space is abnormal. The second identifier is used to indicate that the guide parking space is occupied.
[0092] In one example embodiment, the determining module 11 is specifically used for: Obtain the number of times that other parking spaces adjacent to the designated parking space have not been used for guidance; Based on the number of times the other parking spaces were not parked, the unpopularity value of the guided parking space is determined, and the unpopularity value is used to characterize the willingness to park a vehicle in the guided parking space; The false alarm value is determined based on the updated number of times the bootloader has not been parked and the number of unpopular bootloaders.
[0093] In one example embodiment, the false alarm value is determined based on the ratio of the number of times the guided parking space was not parked to the number of times it was guided within a preset time period.
[0094] The apparatus of this embodiment can be used to execute the method of any embodiment in the side embodiment of the inspection method of the parking space detection device. Its specific implementation process and technical effects are similar to those in the side embodiment of the inspection method of the parking space detection device. For details, please refer to the detailed description in the side embodiment of the inspection method of the parking space detection device, which will not be repeated here.
[0095] Figure 3 This is a schematic diagram of the physical structure of an electronic device provided in an embodiment of the present invention, such as... Figure 3 As shown, the electronic device may include a processor 310, a communications interface 320, a memory 330, and a communication bus 340, wherein the processor 310, communications interface 320, and memory 330 communicate with each other via the communication bus 340. The processor 310 can call logical instructions in the memory 330 to execute a testing method for a parking space detection device. This method includes: upon detecting that a target vehicle has entered a target location, determining a guide parking space for the target vehicle based on at least one parking space corresponding to a first identifier within the target location, where the first identifier indicates that the parking space is vacant; upon determining that the target vehicle has not parked in the guide parking space, updating the number of times the guide parking space has not been parked, where the number of times the vehicle guided to the guide parking space has not been parked; determining a false alarm value corresponding to the guide parking space based on the updated number of times the guide parking space has not been parked; and determining the testing result of the parking space detection device for the guide parking space based on the false alarm value.
[0096] Furthermore, the logical instructions in the aforementioned memory 330 can be implemented as software functional units and, when sold or used as independent products, can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, essentially, or the part that contributes to the prior art, or a part of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of the present invention. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.
[0097] On the other hand, the present invention also provides a computer program product, which includes a computer program that can be stored on a non-transitory computer-readable storage medium. When the computer program is executed by a processor, the computer is able to execute the inspection method of the parking space detection device provided by the above methods. The method includes: when a target vehicle is detected to have entered a target location, determining a guide parking space for the target vehicle based on at least one parking space corresponding to a first identifier in the target location, wherein the first identifier is used to indicate that the parking space is vacant; when it is determined that the target vehicle has not parked in the guide parking space, updating the number of times the guide parking space has not been parked, wherein the number of times the vehicle guided to the guide parking space has not been parked in the guide parking space; determining a false alarm value corresponding to the guide parking space based on the updated number of times the guide parking space has not been parked; and determining the inspection result of the parking space detection device for the guide parking space based on the false alarm value.
[0098] In another aspect, the present invention also provides a non-transitory computer-readable storage medium storing a computer program thereon, which, when executed by a processor, implements a method for performing the inspection of the parking space detection device provided by the methods described above. The method includes: upon detecting that a target vehicle has entered a target location, determining a guide parking space for the target vehicle based on at least one parking space corresponding to a first identifier within the target location, the first identifier indicating that the parking space is vacant; upon determining that the target vehicle has not parked in the guide parking space, updating the number of times the guide vehicle has not parked in the guide parking space, the number of times the vehicle guided to the guide parking space has not parked there; determining a false alarm value corresponding to the guide parking space based on the updated number of times the guide vehicle has not parked in the guide parking space; and determining the inspection result of the parking space detection device for the guide parking space based on the false alarm value.
[0099] The device embodiments described above are merely illustrative. The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the modules can be selected to achieve the purpose of this embodiment according to actual needs. Those skilled in the art can understand and implement this without any creative effort.
[0100] Through the above description of the embodiments, those skilled in the art can clearly understand that each embodiment can be implemented by means of software plus necessary general-purpose hardware platforms, and of course, it can also be implemented by hardware. Based on this understanding, the above technical solutions, in essence or the part that contributes to the prior art, can be embodied in the form of a software product. This computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, magnetic disk, optical disk, etc., and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute the methods described in the various embodiments or some parts of the embodiments.
[0101] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, and not to limit them; although the present invention has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some of the technical features; and these modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of the present invention.
Claims
1. A method for inspecting a parking space detection device, characterized in that, include: Upon detecting that a target vehicle has entered a target location, a guide parking space for the target vehicle is determined based on at least one parking space corresponding to a first identifier within the target location. The first identifier is used to indicate that the parking space is vacant. If it is determined that the target vehicle is not parked in the guide parking space, the number of times the guide parking space is not parked is updated. The number of times the guide parking space is not parked is used to represent the number of times the vehicle guided to the guide parking space has not been parked in the guide parking space. The false alarm value corresponding to the guided parking space is determined based on the updated number of times the guided parking space has not been parked. Based on the false alarm value, the inspection result of the parking space detection device for the guided parking space is determined.
2. The inspection method for the parking space detection device according to claim 1, characterized in that, The process of determining the inspection result of the parking space detection device for guiding parking spaces based on the false alarm value includes: If the false alarm value is greater than a preset value, at least one parking space detection device near the guide parking space is activated to determine the parking status of the guide parking space; The inspection result of the parking space detection device for the guide parking space is determined based on the status of each parking space.
3. The inspection method for the parking space detection device according to claim 2, characterized in that, The parking space detection device includes an image acquisition device; Determining the parking status of the guide parking space by activating at least one parking space detection device near the guide parking space includes: At least one image acquisition device near the guide parking space is activated to acquire an image of the guide parking space; The parking status of the guide parking space is determined based on the parking space image.
4. The inspection method for the parking space detection device according to claim 2, characterized in that, The parking space detection device includes radar; Determining the parking status of the guide parking space by activating at least one parking space detection device near the guide parking space includes: At least one radar near the designated parking space is activated to detect the parking status of the designated parking space.
5. The inspection method for the parking space detection device according to claim 2, characterized in that, The step of determining the inspection result of the parking space detection device for the guided parking space based on the status of each parking space includes: If the parking space status differs from the parking space status in the guidance system, it is determined that the parking space detection device for the guided parking space is malfunctioning; or, If the parking space identifier corresponding to the current parking space status is different from the current parking space identifier of the guided parking space, it is determined that the parking space detection device of the guided parking space is malfunctioning; or, If the parking space status reported by the image acquisition device of the guide parking space is different from the parking space status of the guide parking space, it is determined that the parking space detection device of the guide parking space has malfunctioned.
6. The inspection method for the parking space detection device according to claim 1, characterized in that, The method further includes: If it is determined that the parking space detection device of the guide parking space is malfunctioning, the current parking space identifier of the guide parking space will be updated to a second identifier, which is used to indicate that the guide parking space is occupied.
7. The inspection method for the parking space detection device according to any one of claims 1-6, characterized in that, The step of determining the false alarm value corresponding to the guided parking space based on the updated number of non-parked guided spaces includes: Obtain the number of times that other parking spaces adjacent to the designated parking space have not been used for guidance; Based on the number of times the other parking spaces were not parked, the unpopularity value of the guided parking space is determined, and the unpopularity value is used to characterize the willingness to park a vehicle in the guided parking space; The false alarm value is determined based on the updated number of times the bootloader has not been parked and the number of unpopular bootloaders.
8. The inspection method for the parking space detection device according to any one of claims 1-6, characterized in that, The false alarm value is determined based on the ratio of the number of times the guided parking space was not used within a preset time period to the number of times it was guided.
9. A parking space detection device inspection apparatus, characterized in that, include: The determination module is used to determine the guide parking space for the target vehicle based on at least one parking space corresponding to a first identifier in the target location when the target vehicle is detected to have entered the target location. The first identifier is used to indicate that the parking space is vacant. An update module is used to update the number of times a vehicle has not been parked in the guide parking space when it is determined that the target vehicle has not been parked in the guide parking space. The number of times a vehicle guided to the guide parking space has not been parked in the guide parking space is used to characterize the number of times a vehicle has not been parked in the guide parking space. The determining module is also used to determine the false alarm value corresponding to the guided parking space based on the updated number of times the guided parking space has not been parked; The inspection module is also used to determine the inspection result of the parking space detection device for the guided parking space based on the false alarm value.
10. An electronic device comprising a memory, a processor, and a computer program stored in the memory and running on the processor, characterized in that, When the processor executes the computer program, it implements the inspection method of the parking space detection device as described in any one of claims 1 to 8.