Parking lot parking space management method and system and related equipment

By abnormal cleaning of parking lot vehicle data and calculation of parking quantity with preset interval time, the accuracy and real-time calculation of parking space data in the prior art are solved, and efficient and accurate parking space management is achieved.

CN120124978AInactive Publication Date: 2025-06-10SHENZHEN CHINAROAD NETWORK TECH
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202510388316.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-03-31
Publication Date
2025-06-10
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

It is difficult for the prior art to efficiently and accurately calculate the total number of parking spaces and the number of spare parking spaces in a parking lot, and there are problems such as incomplete data collection, errors caused by sensor failures, and inefficient manual statistics.

Method used

By obtaining vehicle data in the preset time period of the parking lot, abnormal data is cleaned, including supplementing the missing departure time data, cleaning time abnormal and duplicate data, checking license plate identification errors, etc., the total cleaning parking net data is obtained. Then, the total parking number is calculated based on the preset interval time, the total number of parking spaces in the parking lot is obtained, and the real-time spare parking spaces are obtained through the pushback time.

Benefits of technology

It improves the accuracy and real-timeness of parking lot parking space management, ensures the reliability and accuracy of data, and facilitates parking lot managers and users to understand the real-time parking space status.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120124978A_ABST
    Figure CN120124978A_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of parking space management, in particular to a parking lot parking space management method and system and related equipment. The method comprises the steps of obtaining first vehicle data of a parking lot in a preset time period; performing abnormal data cleaning on the first vehicle data to obtain cleaned total parking net data; calculating the parking number of the total parking net data based on a preset interval time, and obtaining the total parking space number of the parking lot; performing statistical sorting on the parking time of each parking record in the first vehicle data, and screening out the parking time of a target parking record from the sorted data based on a preset parameter to serve as back-pushing time; a target time period is determined based on the current time and the push-back time, second parking data of the parking lot in the target time period are acquired, and the second parking data comprise second vehicle access data and second vehicle payment data; and calculating the total parking space number and the second parking data to obtain the current remaining parking space number.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the technical field of parking space management, and in particular, to a parking lot parking space management method, system and related equipment. Background Art

[0002] With the acceleration of the urbanization process, the problem of parking difficulty has become increasingly prominent. In order to realize the functions of real-time query and reservation allocation of parking spaces in a parking lot, it is necessary to accurately master the total number of parking spaces and the real-time available number of parking spaces in the parking lot.

[0003] Currently, most parking lots calculate parking space information through manual statistics or data based on sensors (such as geomagnetism, cameras, etc.). However, these methods have problems such as incomplete data collection, errors caused by sensor failures, and low efficiency of manual statistics, making it difficult to meet actual needs.

[0004] Therefore, how to efficiently and accurately calculate the total number of parking spaces and the real-time available number of parking spaces in a parking lot is a technical problem that urgently needs to be solved currently. Summary of the Invention

[0005] The purpose of this application is to overcome the above technical problems and provide a parking lot parking space management method, system and related equipment, which can efficiently and accurately calculate the total number of parking spaces and the real-time available number of parking spaces in a parking lot.

[0006] In a first aspect, an embodiment of this application discloses a parking lot parking space management method, adopting the following solution: A parking lot parking space management method includes: obtaining first vehicle data within a preset time period of the parking lot, where the first vehicle data includes first vehicle entry and exit data and first vehicle payment data; based on the first vehicle entry and exit data and the first vehicle payment data, cleaning abnormal data from the first vehicle data to obtain the total cleaned parking net data; calculating the number of parked vehicles based on the total cleaned parking net data at preset intervals to obtain the total number of parking spaces in the parking lot; statistically sorting the parking times of each parking record in the first vehicle data, and screening out the parking times of target parking records from the sorted data based on preset parameters as the backward deduction time; determining a target time period based on the current time and the backward deduction time, and obtaining second parking data of the parking lot within the target time period, where the second parking data includes second vehicle entry and exit data and second vehicle payment data; calculating the total number of parking spaces and the second parking data to obtain the current remaining number of parking spaces.

[0007] By adopting the above technical solutions, the accuracy and real-time performance of parking space management in the parking lot can be effectively improved. Specifically: First, by performing abnormal cleaning on the first vehicle data obtained within a preset time period, inaccurate or invalid data records are effectively removed to ensure the accuracy and reliability of the basic data for subsequent calculations. Second, the total net parking data after cleaning is analyzed and processed at preset intervals to obtain the total number of parking spaces in the parking lot, providing a basis for real-time monitoring. Third, by statistically sorting the parking times of each parking record and screening out the parking times of target parking records as the backward inference times in combination with preset parameters, the accuracy and timeliness of data analysis are further improved. Finally, based on the second parking data collected within the target time period determined by the current time and the backward inference time, combined with the previously obtained total number of parking spaces for final calculation, the current remaining number of parking spaces can be accurately reflected, greatly facilitating the parking lot managers and users to understand the real-time parking space status.

[0008] Optionally, the cleaning of abnormal data from the first vehicle data based on the first vehicle entry / exit data and the first vehicle payment data includes: supplementing the time data when the vehicle has not exited the parking lot in the first vehicle entry / exit data based on the payment records in the first vehicle payment data; obtaining the time when each vehicle enters and exits the parking lot in the first vehicle entry / exit data to clean the vehicle data with abnormal time from the first vehicle data; determining whether there are duplicate data in the first vehicle entry / exit data, and if so, cleaning the duplicate vehicle data from the first vehicle data; determining whether there are data with incorrect license plate recognition and inconsistent with the parking serial number in the first vehicle entry / exit data, and if so, cleaning the data with incorrect license plate recognition and inconsistent with the parking serial number from the first vehicle data.

[0009] By adopting the above technical solutions, the accuracy and efficiency of parking space management in the parking lot can be effectively improved. Specifically: Supplementing the time data when the vehicle has not exited can ensure the integrity of parking records and avoid statistical errors caused by data missing. Cleaning the vehicle data with abnormal time helps to eliminate the interference of unreasonable data and improve the reliability of subsequent calculation results. Removing duplicate data ensures the uniqueness of data and further improves the authenticity of statistical data. Detecting and clearing the data with incorrect license plate recognition and inconsistent with the parking serial number enhances the robustness and noise resistance of the system, thus laying a foundation for accurately calculating the remaining number of parking spaces.

[0010] Optionally, calculating the number of parked vehicles for the total net parking data based on a preset interval time to obtain the total number of parking spaces in the parking lot includes: calculating the number of parked vehicles for the total net parking data based on a preset interval time to obtain multiple numbers of parked vehicles; screening out the maximum and minimum numbers of parked vehicles from the multiple numbers of parked vehicles and calculating the difference therebetween as the total number of parking spaces in the parking lot.

[0011] By adopting the above technical solution, it is possible to calculate the number of parked vehicles for the total net parking data in a preset time period of the parking lot at preset interval times, obtain multiple numbers of parked vehicles, and screen out the maximum and minimum values therefrom for difference calculation, so as to accurately obtain the total number of parking spaces in the parking lot. This method improves the accuracy of calculating the total number of parking spaces, avoids errors caused by data at a single time point, and ensures the basic accuracy of calculating the remaining number of parking spaces subsequently.

[0012] Optionally, calculating the number of parked vehicles for the total net parking data based on a preset interval time to obtain multiple numbers of parked vehicles includes: obtaining fourth parking data of the parking lot with only entries and no exits and fifth parking data of no entries but exits during one preset interval time; obtaining the number of vehicles that have not exited the parking lot before the preset interval time, adding the same to the fourth parking data, and subtracting the number of vehicles in the fifth parking data to obtain the number of parked vehicles during the preset interval time.

[0013] By adopting the above technical solution, it is possible to accurately calculate the actual number of parked vehicles in each preset interval time. Specifically, by adding the number of vehicles that have not exited the parking lot before the preset interval time to the fourth parking data and subtracting the number of vehicles in the fifth parking data, the number of parked vehicles during the preset interval time can be accurately obtained. At the same time, by subtracting the number of vehicles in the fifth parking data, the counting error caused by the overlapping of vehicle entry and exit times can be effectively avoided, thereby improving the accuracy of parking number statistics. This improvement helps to more accurately estimate the total number of parking spaces in the parking lot, and further improve the efficiency and reliability of the parking space management system.

[0014] Optionally, statistically sorting the parking time of each vehicle in the first vehicle data and screening out the parking time of the target vehicle from the sorted data based on a preset parameter as the backward inference time includes: statistically sorting the parking time of each parking record in the first vehicle data; obtaining the total number of sorted parking records and performing a product calculation with the preset parameter to obtain the target ranking; based on the target ranking, screening out the parking records and corresponding parking times at the corresponding ranking from the sorted first vehicle data, and using the parking time as the backward inference time.

[0015] By adopting the above technical solution, it is possible to effectively count and sort the parking time of vehicles in the parking lot, and accurately screen out a parking record and its corresponding parking time as the backward inference time according to preset parameters. This helps to more accurately predict and analyze the usage of the parking lot, and improve the efficiency and accuracy of parking space management. Specifically: counting and sorting each parking record in the first vehicle data ensures that the parking times of all parking records are arranged in an orderly manner, facilitating subsequent processing. Obtaining the total number of sorted parking records and performing a product calculation with the preset parameters to obtain the target ranking. This process enables the system to dynamically adjust the screening criteria according to actual needs, improving the flexibility and adaptability of the system. Screening out the parking record and its parking time corresponding to the ranking from the sorted first vehicle data based on the target ranking ensures the rationality of the selection, avoids the influence of human factors, and further improves the reliability and accuracy of the system.

[0016] Optionally, determining the target time period based on the current time and the backward inference time, and obtaining second parking data of the parking lot within the target time period includes: using the current time as the end time of the target time period and the backward inference time as the start time of the target time period; obtaining the second parking data of the parking lot within the target time period.

[0017] By adopting the above technical solution, it is possible to accurately determine the target time period and obtain the second parking data within this time period. Specifically: using the current time as the end time of the target time period and the backward inference time as the start time ensures the precise definition of the target time period and avoids data deviation caused by improper time period setting. Obtaining the second parking data of the parking lot within the target time period helps to further analyze and process the parking situation within this time period, providing reliable basic data for subsequent calculations.

[0018] In a second aspect, an embodiment of the present application discloses a parking lot space management system, which adopts the following solution: A parking lot space management system for implementing the method described in any one of the above, comprising: a first acquisition module for acquiring first vehicle data within a preset time period of the parking lot, the first vehicle data including first vehicle entry and exit data and first vehicle payment data; a first cleaning module for cleaning abnormal data from the first vehicle data based on the first vehicle entry and exit data and the first vehicle payment data to obtain the total cleaned parking net data; a first calculation module for calculating the number of parked vehicles based on the total parking net data at preset intervals to obtain the total number of parking spaces in the parking lot; a sorting and screening module for statistically sorting the parking times of each parking record in the first vehicle data and screening out the parking times of target parking records from the sorted data based on preset parameters as the backward inference time; a second acquisition module for determining a target time period based on the current time and the backward inference time and acquiring second parking data of the parking lot within the target time period, the second parking data including second vehicle entry and exit data and second vehicle payment data; and a second calculation module for calculating the total number of parking spaces and the second parking data to obtain the current remaining number of parking spaces.

[0019] By adopting the above technical solutions, the accuracy and real-time performance of parking lot space management can be effectively improved. The specific effects are as follows: Acquiring the first vehicle data within the preset time period of the parking lot ensures the comprehensiveness and reliability of data collection. Cleaning abnormal data from the first vehicle data eliminates problems such as abnormal time, duplicate data, and license plate recognition errors, improving the quality and credibility of the data. Calculating the total number of parking spaces in the parking lot based on the total parking net data at preset intervals realizes the accurate assessment of the parking lot capacity. Statistically sorting the parking times of each parking record and screening out the parking times of target parking records as the backward inference time based on preset parameters optimizes the data analysis process and improves the algorithm efficiency. Determining the target time period and acquiring the second parking data within this period further refines the data processing process and enhances the timeliness of the results. Calculating the current remaining number of parking spaces by calculating the total number of parking spaces and the second parking data can provide real-time and reliable data basis for parking lot management and user guidance.

[0020] Optionally, the cleaning module includes: a supplement unit for supplementing the time data of the vehicles that have not left the parking lot in the first vehicle entry and exit data based on the payment records in the first vehicle payment data; an acquisition unit for acquiring the time when each vehicle enters and exits the parking lot in the first vehicle entry and exit data, so as to clean the time-abnormal and vehicles-only-entering-and-not-exiting data from the first vehicle data; a first judgment unit for judging whether there is duplicate data in the first vehicle entry and exit data, and if so, cleaning the duplicate vehicle data from the first vehicle data; a second judgment unit for judging whether there is incorrect license plate recognition and data not corresponding to the parking serial number in the first vehicle entry and exit data, and if so, cleaning the incorrect license plate recognition and data not corresponding to the parking serial number from the first vehicle data.

[0021] By adopting the above technical solution, the accuracy of parking space management in the parking lot can be effectively improved. The specific effects are as follows: The supplement unit analyzes the payment records in the first vehicle payment data to supplement the missing departure time information in the first vehicle entry and exit data, thereby reducing the error caused by data omission and improving data integrity. The acquisition unit checks the entry and departure times of each vehicle in the first vehicle entry and exit data to clean the data with abnormal time logic or only recording entry without recording departure, ensuring the rationality and consistency of the data. The first judgment unit detects and removes duplicate records in the first vehicle entry and exit data, avoiding statistical deviation caused by multiple counting of the same vehicle data, and further ensuring the authenticity of the statistical data. The second judgment unit screens and clears the data with incorrect license plate recognition and data not matching the parking serial number, eliminating the interference caused by recognition system failures or human input errors, and ensuring the reliability of the final result.

[0022] In a third aspect, an embodiment of the present application discloses an electronic device, adopting the following solution: An electronic device includes: a memory and a processor. The memory is used to store a computer program; the processor is used to implement the steps of the method as described in any one of the above when executing the computer program.

[0023] In a fourth aspect, an embodiment of the present application discloses a computer-readable storage medium, adopting the following solution: A computer-readable storage medium has a computer program stored thereon, and when the computer program is executed by a processor, it implements the steps of the method as described in any one of the above.

[0024] In summary, the present application includes at least one of the following beneficial technical effects: 1. By cleaning abnormal vehicle data within a preset time period in the parking lot, situations such as time anomalies, duplicate data, and license plate recognition errors are effectively eliminated, ensuring the accuracy and reliability of subsequent calculations. 2. Calculate the number of parked vehicles for the total net parking data at preset intervals. By screening the difference between the maximum and minimum values, the total number of parking spaces in the parking lot is accurately obtained, improving the accuracy of parking space statistics. 3. Based on the current time and the backtrack time in historical parking data, dynamically calculate and update the current remaining number of parking spaces in real time, enhancing the user experience and the efficiency of parking lot management. BRIEF DESCRIPTION OF THE DRAWINGS

[0025] Figure 1 It is a flowchart of a parking lot space management method disclosed in an embodiment of the present application. Figure 2 It is a detailed flowchart of step S20 in a parking lot space management method disclosed in an embodiment of the present application. Figure 3 It is a detailed flowchart of step S40 in a parking lot space management method disclosed in an embodiment of the present application. Figure 4 It is a schematic diagram of a vehicle's license plate entering and leaving the license plate pool. Figure 5 It is a schematic structural diagram of a parking lot space management system disclosed in another embodiment of the present application. Figure 6 It is a schematic structural diagram of an electronic device disclosed in yet another embodiment of the present application. DETAILED DESCRIPTION OF THE EMBODIMENTS

[0026] The present application will be further described in detail below with reference to the accompanying drawings.

[0027] The embodiments of the present application will be described in more detail below with reference to the drawings. Although the embodiments of the present application are shown in the drawings, it should be understood that the present application can be implemented in various forms and should not be limited by the embodiments described herein. On the contrary, these embodiments are provided to make the present application more thorough and complete, and to fully convey the scope of the present application to those skilled in the art.

[0028] The terms used in the present application are only for the purpose of describing specific embodiments and are not intended to limit the present application. The singular forms "a" and "the" used in the present application and the appended claims are also intended to include the plural forms, unless the context clearly indicates otherwise. It should also be understood that the term "and / or" used herein refers to and includes any or all possible combinations of one or more of the associated listed items.

[0029] It should be understood that although the terms "first", "second", etc. may be used in this application to describe various information, such information should not be limited to these terms. These terms are only used to distinguish information of the same type from each other. For example, without departing from the scope of this application, the first information may also be referred to as the second information, and similarly, the second information may also be referred to as the first information. Thus, features defined with "first" and "second" may explicitly or implicitly include one or more of such features. In the description of this application, the meaning of "a plurality" is two or more, unless otherwise specifically defined.

[0030] The technical solutions of the embodiments of this application will be described in detail below with reference to the accompanying drawings.

[0031] First Embodiment Refer to Figure 1 , a parking space management method disclosed in the embodiments of this application, includes the following steps: S10. Obtain the first vehicle data within a preset time period in the parking lot; Among them, the first vehicle data includes the first vehicle entry and exit data and the first vehicle payment data. The first vehicle entry and exit data includes the recognized vehicle license plate and the time when the vehicle enters and leaves the parking lot. The vehicle license plate can be recognized by taking pictures with cameras at the entrance and exit of the parking lot, and the time is recorded simultaneously. The first vehicle payment data contains the fee information for vehicle parking, and the vehicle license plate and the payment time information are recorded in the fee information.

[0032] S20. Based on the first vehicle entry and exit data and the first vehicle payment data, clean the abnormal data in the first vehicle data to obtain the total net parking data after cleaning; Refer to Figure 2 , the cleaning process mainly includes the following steps: S21. Supplement the missing departure time data: Based on the payment records in the first vehicle payment data, supplement the time data in the first vehicle entry and exit data that does not have the time of leaving the parking lot, that is, the situation where there is only an entry record but no exit record; S22. Clean the time anomalies and vehicles that only enter and do not exit: Obtain the time when each vehicle enters and leaves the parking lot in the first vehicle entry and exit data, so as to clean the vehicle data with time anomalies and vehicles that only enter and do not exit from the first vehicle data. For example, if the departure time of a vehicle is earlier than the entry time, it is regarded as abnormal data and cleaned and deleted; if there is only an entry record for a vehicle and no record of paying and leaving is found, the vehicle data is cleaned and deleted.

[0033] S23. Duplicate data removal: Determine whether there is duplicate data in the first vehicle entry and exit data. If so, clean the duplicate vehicle data from the first vehicle data, so that only one valid record is retained.

[0034] S24. Verify license plate recognition errors: Determine whether there are license plate recognition errors and data that do not correspond to the parking serial number in the first vehicle entry and exit data. If so, clean the license plate recognition errors and data that do not correspond to the parking serial number from the first vehicle data. In this way, by comparing the license plate number and the parking serial number, invalid data due to license plate recognition errors and non-corresponding license plate numbers and parking serial numbers are excluded.

[0035] S30. Calculate the number of parked vehicles based on the total net parking data at preset intervals to obtain the total number of parking spaces in the parking lot; Among them, the preset interval is a fixed time period, such as every hour, every two hours, or every six hours, etc. On this basis, calculate the total number of vehicles parked in the parking lot within each time period, that is, obtain multiple parking quantities based on the preset interval. The specific calculation method of the total number of parking spaces is as follows: S31. Calculate the number of parked vehicles based on the total net parking data at preset intervals to obtain multiple parking quantities.

[0036] Among them, first divide the total net parking data at preset intervals for each time period, and then calculate the corresponding parking quantity for each time period after the division. Here, it should be noted that the parking quantity is the number of vehicles that enter the parking lot and do not leave within that time period.

[0037] Specifically, this step S31 includes: S311. Obtain the fourth parking data that only enters and does not leave and the fifth parking data that has no entry but has exited in a preset interval in the parking lot; Among them, the preset interval can be understood as an interval time period in minutes, hours, days, etc., and there is no limitation here. Only entering and not leaving means that only vehicle data entering the parking lot is detected within this preset interval, and there is no vehicle data leaving the parking lot. No entry but has exited means that only vehicle data leaving the parking lot is detected within this preset interval, and there is no vehicle data entering the parking lot. Here, the entry and exit of the vehicle are based on the recognized vehicle license plate, and whether the license plate information is recorded in the license plate pool is checked.

[0038] Furthermore, the acquisition method of the fifth parking data is as follows: ① Set the net flow variable X of the license plate pool, with 0 as the benchmark. A negative value indicates that the number of exits > the number of entries, and a positive value indicates that the number of entries > the number of exits. Among them, X is recorded at a certain time interval Y.

[0039] ② If the action = 1, and the license plate is not currently in the pool, the license plate enters the pool, and the net flow of the time interval corresponding to this action +1, as Figure 4 shown.

[0040] ③ If the action = 2, and the license plate is already in the pool, the license plate leaves the pool, and the net flow of the time interval corresponding to this action -1, asFigure 4 As shown. It should be noted here that since some vehicles may move forward during the time period corresponding to the preset interval, such vehicles will not enter the license plate pool, but theoretically occupy parking spaces, so they are allowed to leave the pool.

[0041] Among them, within a preset interval, +1 is performed based on the license plate entering the pool and -1 is performed based on the license plate leaving the pool, and the counting of the same vehicle is offset. Therefore, in the final count, only the vehicles that only enter and do not leave, and only leave and do not enter remain, corresponding to the fifth parking data.

[0042] S312. Obtain the number of vehicles that have not left the parking lot before the preset interval, add it to the fourth parking data, and subtract the number of vehicles in the fifth parking data to obtain the parking quantity within the preset interval.

[0043] Among them, the above steps S311 and S312 ensure the accuracy of the parking quantity statistics by separately collecting the vehicle data of those that have not left before the preset interval and those that only enter and do not leave and have entered and left without entering within the preset interval in the parking lot, and performing addition and subtraction of the quantities. This calculation method avoids errors caused by data omission or duplication, thereby improving the reliability of determining the total number of parking spaces based on the difference between the maximum and minimum values of the parking quantity.

[0044] S32. Screen out the maximum and minimum parking quantities from multiple parking quantities for difference calculation as the total number of parking spaces in the parking lot; Among them, calculating the difference between the maximum and minimum parking quantities is also the maximum capacity of the parking lot, which correspondingly is the total number of parking spaces.

[0045] S40. Statistically sort the parking times of each parking record in the first vehicle data, and screen out the parking time of the target vehicle from the sorted data based on preset parameters as the backward deduction time; Among them, statistically sorting the parking times of each parking record in the first vehicle data does not limit the number of times each vehicle enters and leaves the parking lot, and correspondingly each vehicle can correspond to multiple records.

[0046] It should be noted that when calculating the total number of parking spaces through the above steps S10 to S30, data cleaning is performed in step S20, and some data of vehicles that only enter and do not exit for a long time and the data of vehicles that normally enter but have not exited at the end of the time are discarded. Currently, in order to more accurately obtain the current real-time remaining number of parking spaces, it is necessary to retrieve the data of vehicles that enter but have not exited at the end of the time. Therefore, the purpose of step S40 is to calculate the time to be pushed back. Subsequently, based on the current time and the pushed-back time, a certain period of time is pushed back, and the vehicle data for that period of time is retrieved accordingly to ensure more normal data and to obtain the real-time remaining number of parking spaces in the parking lot.

[0047] See Figure 3 , step S40 specifically includes: S41. Statistically sort the parking times of each parking record in the first vehicle data; Among them, in this step S41, the parking times of all parking records in the first vehicle data are statistically sorted, and sorted according to the parking time of each vehicle to obtain a sorted sequence.

[0048] S42. Obtain the total number of sorted parking records, and perform a product calculation with a preset parameter to obtain a target ranking; Among them, the preset parameter is, for example, 95%, and of course it can be adjusted based on the actual situation to 95.8%, 96.1%, etc. By performing a product calculation of the obtained total number of parking records with the preset parameter, as the ranking of the parking time, that is, the target ranking, the parking records at that ranking are selected, and the corresponding parking time in the parking records is obtained. For example, if the number of parking records is 200 and the preset parameter is 95%, the product of the two is 190, then 190 is the target ranking of the target vehicle.

[0049] S43. Based on the target ranking, screen out the parking records and corresponding parking times at the corresponding ranking from the sorted first vehicle data, and use the parking time as the pushed-back time.

[0050] Continuing the above example, the parking record ranked 190 is retrieved, and the corresponding parking time, for example, 12 hours, is used as the pushed-back time.

[0051] It should be noted that the pushed-back time is calculated by pushing forward from the current time, for example, 12 hours. In this embodiment, vehicles parked for more than 12 hours based on the current time are defaulted to have exited, and the corresponding data is discarded to retain the vehicle data with a parking time within 12 hours. Among them, the current time is the real-time time, and the current remaining number of parking spaces obtained in the subsequent step S60 is the current real-time remaining number of parking spaces.

[0052] S50, determining a target time period based on the current time and the backward time, and acquiring second parking data of the parking lot within the target time period; The second parking data includes the second vehicle entry and exit data and the second vehicle payment data, which correspond to the same data types as those included in the first parking data. In step S50, the current time is used as the end time of the target time period, and the back-pushing time is used as the start time. In this time period, the data of only entry but not exit before the time period, only entry but not exit during the time period, and no entry but exit during the time period are collected. The data of only entry but not exit before the time period is added to the data of only entry but not exit during the time period, and the data of no entry but exit during the time period are subtracted to obtain the second parking data within the target time period.

[0053] Continuing with the above example, if the back-forward time is 12 hours and the current time is 12:25, then the current time is back-forwarded 12 hours to 0:25. The second parking data is the parking data of only entering but not exiting before 0:25, plus the data of only entering but not exiting during the time period from 0:25 to 12:25, and subtracting the data of no entering but exiting during the time period from 0:25 to 12:25, to obtain the parking data within the target time period as the second parking data.

[0054] S60, calculating the total number of parking spaces and the second parking data to obtain the current number of remaining parking spaces; Among them, the number of currently available vacant parking spaces can be obtained by calculating the difference between the total number of parking spaces and the number of currently parked vehicles.

[0055] It is explained here that the current number of remaining parking spaces is the real-time number of remaining parking spaces, and the number of remaining parking spaces in the parking lot is obtained in real time based on the back-pushing time, for example, once every 5 minutes or 10 minutes, by executing steps S50 to S60. During this period, the parking lot has been recording the vehicle entry and exit data. In this way, the available parking space resources of the parking lot can be monitored in real time for efficient management.

[0056] In addition, it is worth mentioning that in the subsequent periodic execution process, the second parking data is the parking data within the current calculation time period updated in real time. If the current parking time of some vehicles has exceeded the push-back time, these vehicles are defaulted to exit the parking lot. In the calculation process of step S60, these vehicles are forced to exit the corresponding parking lot.

[0057] In summary, a parking space management method disclosed in the first embodiment of the present invention effectively eliminates abnormal data such as time anomalies, duplicate data, and license plate recognition errors by cleaning vehicle data within a preset time period in a parking lot, ensuring the accuracy and reliability of subsequent calculations; calculates the number of parked vehicles for the total net parking data at preset intervals, and accurately obtains the total number of parking spaces in the parking lot by screening the difference between the maximum and minimum values, improving the accuracy of parking space statistics; dynamically calculates and updates the current remaining number of parking spaces based on the current time and the backtracking time in historical parking data, enhancing the user experience and the efficiency of parking lot management.

[0058] Second Embodiment Please refer to Figure 5 , a parking space management system is disclosed in the second embodiment of the present application. The system includes: a first acquisition module 210, a cleaning module 220, a first calculation module 230, a sorting and screening module 240, a second acquisition module 250, and a second calculation module 260.

[0059] Among them, the first acquisition module 210 acquires first vehicle data within a preset time period in the parking lot, and the first vehicle data includes first vehicle entry and exit data and first vehicle payment data; the cleaning module 220 is used to clean abnormal data of the first vehicle data based on the first vehicle entry and exit data and the first vehicle payment data to obtain the total net parking data after cleaning; the first calculation module 230 is used to calculate the number of parked vehicles for the total net parking data at preset intervals to obtain the total number of parking spaces in the parking lot; the sorting and screening module 240 is used to statistically sort the parking times of each parking record in the first vehicle data and screen out the parking times of target parking records from the sorted data based on preset parameters as the backtracking time; the second acquisition module 250 is used to determine a target time period based on the current time and the backtracking time and acquire second parking data of the parking lot within the target time period, and the second parking data includes second vehicle entry and exit data and second vehicle payment data; the second calculation module 260 is used to calculate the total number of parking spaces and the second parking data to obtain the current remaining number of parking spaces.

[0060] It should be noted that a parking space management method implemented by a parking space management system disclosed in the second embodiment of the present application is the same as that in the first embodiment, so it will not be described in detail here. Optionally, each module in this embodiment and the above other operations or functions are respectively used to implement the method in the foregoing embodiment.

[0061] Third Embodiment Please refer to Figure 6, in the third embodiment of the present application, an electronic device is disclosed. The electronic device includes: a memory 310 and a processor 320. The memory 310 is used to store computer programs; the processor 320 is used to implement the steps of the parking lot space management method described in the first embodiment when executing the computer program. For details, please refer to the above, so it will not be elaborated here.

[0062] The technical effect of the electronic device provided in this embodiment in actual application is the same as that of the parking lot space management method in the first embodiment.

[0063] Fourth Embodiment In the fourth embodiment of the present application, a computer-readable storage medium is disclosed. The computer-readable storage medium is, for example, a non-volatile memory, such as: magnetic media (such as hard disks, floppy disks, and magnetic tapes), optical media (such as CD-ROM discs and DVDs), magneto-optical media (such as optical discs), and hardware devices specifically configured to store and execute computer-executable instructions (such as read-only memory (ROM), random access memory (RAM), flash memory, etc.). A computer program is stored on the computer-readable storage medium. The computer-readable storage medium can be executed by one or more processors or processing devices to implement the parking lot space management method in the foregoing embodiments.

[0064] In addition, it can be understood that the foregoing embodiments are only exemplary descriptions of the present invention. On the premise that the technical features do not conflict, the structures do not contradict, and the invention purpose of the present invention is not violated, the technical solutions of the various embodiments can be arbitrarily combined and used.

[0065] In several embodiments provided by the present invention, it should be understood that the disclosed methods, systems, and devices can be implemented in other ways. For example, the modules included in the system described above are only illustrative. The division of the modules is only a logical function division. In actual implementation, there can be other division methods. For example, 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 displayed or discussed coupling or direct coupling or communication connection to each other can be through some interfaces, and the indirect coupling or communication connection of the devices or units can be in electrical, mechanical, or other forms.

[0066] The units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they can be located in one place, or they can be distributed to multiple network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0067] In addition, in each embodiment of the present invention, each functional unit / module can be integrated into one processing unit / module, or each unit / module can exist physically alone, or two or more units / modules can be integrated into one unit / module. The above-mentioned integrated unit / module can be implemented in the form of hardware, or in the form of hardware plus software functional unit / module.

[0068] The above-mentioned integrated unit / module implemented in the form of software functional unit / module can be stored in a computer-readable storage medium. The above-mentioned software functional unit is stored in a storage medium and includes several instructions for causing one or more processors of a computer device (which can be a personal computer, a server, or a network device, etc.) to execute some steps of the methods described in various embodiments of the present application. The foregoing storage medium includes: various media such as USB flash drives, mobile hard disks, read-only memories (ROM), random access memories (RAM), magnetic disks, or optical discs that can store program codes.

[0069] Finally, it should be noted that: the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it; although the present invention has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand that: they can still modify the technical solutions described in the foregoing embodiments, or perform equivalent replacements on some of the technical features; and these modifications or replacements do not make the essence of the corresponding technical solutions deviate from the spirit and scope of the technical solutions of the various embodiments of the present invention.

Claims

1. A parking lot space management method, characterized in that: include: Acquire first vehicle data within a preset time period of the parking lot, wherein the first vehicle data includes first vehicle entry and exit data and first vehicle payment data; Based on the first vehicle entry and exit data and the first vehicle payment data, cleaning the first vehicle data for abnormal data to obtain total parking net data after cleaning; Calculating the parking quantity of the total net parking data based on a preset interval time to obtain the total number of parking spaces in the parking lot; Statistically sorting the parking time of each parking record in the first vehicle data, and selecting the parking time of the target parking record from the sorted data based on preset parameters to serve as the back-calculated time; Determine a target time period based on the current time and the backward time, and obtain second parking data of the parking lot within the target time period, wherein the second parking data includes second vehicle entry and exit data and second vehicle payment data; The total number of parking spaces and the second parking data are calculated to obtain the current number of remaining parking spaces.

2. The method according to claim 1, characterized in that: The cleaning of the first vehicle data for abnormal data based on the first vehicle entry and exit data and the first vehicle payment data includes: Based on the payment record in the first vehicle payment data, supplement the time data of the vehicle not leaving the parking lot in the first vehicle entry and exit data; Obtaining the time of entry and exit of each vehicle in the first vehicle entry and exit data, so as to remove the time anomalies and vehicle data that only enters but does not exit from the first vehicle data; Determine whether there is duplicate data in the first vehicle entry and exit data, and if so, remove the duplicate vehicle data from the first vehicle data; Determine whether there are license plate recognition errors and data that do not correspond to the parking serial number in the first vehicle entry and exit data. If so, clean the license plate recognition errors and data that do not correspond to the parking serial number from the first vehicle data.

3. The method according to claim 1, characterized in that The calculating the parking quantity of the total net parking data based on the preset interval time to obtain the total number of parking spaces in the parking lot includes: Calculating the parking quantity of the total parking net data based on a preset interval time to obtain multiple parking quantities; The maximum parking quantity and the minimum parking quantity are selected from the multiple parking quantities, and the difference is calculated as the total number of parking spaces in the parking lot.

4. The method according to claim 3, characterized in that The calculating the parking quantity of the total net parking data based on the preset interval time to obtain multiple parking quantities includes: Acquire fourth parking data of only entry and no exit of the parking lot and fifth parking data of no entry and exit of the parking lot during the preset interval; The number of vehicles that have not left the parking lot before the preset interval time is obtained, and is added to the fourth parking data, and the number of vehicles in the fifth parking data is subtracted to obtain the number of vehicles parked within the preset interval time.

5. The method according to claim 1, characterized in that The statistical sorting of the parking time of each vehicle in the first vehicle data, and selecting the parking time of the target vehicle from the sorted data based on preset parameters as the back-calculated time, includes: Counting and sorting the parking time of each parking record in the first vehicle data; Obtaining the total number of sorted parking records, and performing product calculation on the total number of sorted parking records and the preset parameter to obtain a target ranking; Based on the target ranking, the parking records of the corresponding ranking and the corresponding parking time are screened out from the sorted first vehicle data, and the parking time is used as the back-calculated time.

6. The method according to claim 5, characterized in that The step of determining a target time period based on the current time and the backward time, and acquiring second parking data of the parking lot within the target time period, includes: Taking the current time as the end time of the target time period, and taking the backward time as the start time of the target time period; Second parking data of the parking lot within the target time period is acquired.

7. A parking lot management system, characterized in that: The method for executing any one of claims 1 to 6 above comprises: A first acquisition module, acquiring first vehicle data within a preset time period of the parking lot, wherein the first vehicle data includes first vehicle entry and exit data and first vehicle payment data; a cleaning module, configured to clean the first vehicle data for abnormal data based on the first vehicle entry and exit data and the first vehicle payment data, and obtain total parking net data after cleaning; A first calculation module, configured to calculate the number of parking spaces for the total parking net data based on a preset interval time, and obtain the total number of parking spaces in the parking lot; a sorting and filtering module, configured to statistically sort the parking time of each parking record in the first vehicle data, and to filter out the parking time of a target parking record from the sorted data based on preset parameters as the back-calculated time; A second acquisition module is used to determine a target time period based on the current time and the backward time, and acquire second parking data of the parking lot within the target time period, wherein the second parking data includes second vehicle entry and exit data and second vehicle payment data; The second calculation module is used to calculate the total number of parking spaces and the second parking data to obtain the current number of remaining parking spaces.

8. The system according to claim 7, characterized in that The cleaning module comprises: A supplementing unit, configured to supplement the time data of the vehicle not leaving the parking lot in the first vehicle entry and exit data based on the payment record in the first vehicle payment data; an acquisition unit, configured to acquire the time of entry and exit of each vehicle in the first vehicle entry and exit data, so as to remove the vehicle data with abnormal time and vehicle data that only enters but does not exit from the first vehicle data; a first judgment unit, configured to determine whether there is duplicate data in the first vehicle entry and exit data, and if so, to clean the duplicate vehicle data from the first vehicle data; The second judgment unit is used to judge whether there are license plate recognition errors and data that do not correspond to the parking serial number in the first vehicle entry and exit data. If so, the license plate recognition errors and data that do not correspond to the parking serial number are cleaned from the first vehicle data.

9. An electronic device, characterized in that: include: A memory and a processor, wherein the memory is used to store a computer program; The processor is configured to implement the steps of the method according to any one of claims 1 to 6 when executing the computer program.

10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 6 are implemented.

Citation Information

Patent Citations

  • Parking space management method and system, storage medium and electronic equipment

    CN113257004A

  • Method for correcting remaining bits of field library, and method and device for training remaining bit prediction model

    CN115019551A