A method, system and device for obtaining public parking spaces on roads
By combining ARIMA and LSTM models, the linear and nonlinear parts in the data are extracted, which solves the problem of unstable parking space prediction on road surfaces in the existing technology, provides accurate parking space free judgment and processing solutions, and improves driver confidence. Parking efficiency.
Patent Information
- Application Number
- CN202211378595.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-11-04
- Publication Date
- 2024-10-11
- Estimated Expiration
- 2042-11-04
AI Technical Summary
Existing technology suffers from instability and over-fitting when predicting the availability of public parking spaces on road surfaces. It is particularly unable to provide an effective solution when the parking spaces are full, making it difficult for drivers to find free parking spaces.
The ARIMA model is used to extract the linear part of the data, and the LSTM model is used to fit the nonlinear part of the ARIMA residual. The two are combined to predict the number of parking spaces, provide accurate judgment on the availability of parking spaces, and provide backup when there are no free parking spaces. Suggestions for choosing a parking area and driving time.
It improves the accuracy and stability of parking space prediction, can effectively predict parking space conditions in non-fixed parking lots, and significantly improves the driver's parking efficiency.
Smart Images

Figure CN115798252B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of artificial intelligence technology, and in particular to a method, system and device for acquiring public parking spaces on roads. Background Art
[0002] With the continuous development of transportation construction, vehicle travel is the first choice for people to travel because of its fast and convenient characteristics. However, with the continuous increase in the number of vehicles per capita, parking problems have gradually become the main problem faced by vehicle travel. In this regard, if it is possible to predict whether there is a parking space for parking at the destination, it can provide a better guidance direction for traveling vehicles. For example, the invention patent "System and method for predicting the number of free parking spaces in parking areas" with patent application number CN202110297639.0 provides a system and method for predicting the number of free parking spaces in parking areas, which includes a data acquisition module, a data preprocessing module, a data conversion module and an algorithm prediction module. The method first obtains the historical vehicle entry and exit data around the parking area, and then cleans the historical vehicle entry and exit data. For the cleaned data conversion, the vehicle entry and exit data of the parking area is converted into the parking area vacancy number information, and finally the preprocessed data is input into the model, and the periodic term in the model and the required prediction length are adjusted to predict the trend. The invention can predict the changes in the number of free parking spaces in the parking area over a long period of time in the future. In fact, the number of occupied parking spaces is often affected by many factors, including common linear laws, such as normal traffic on weekdays, and complex and changeable nonlinear laws, such as shopping mall activities, holidays, etc. In addition, the object of predicting vacant parking spaces in the prior art is the parking area. In fact, the location and inventory of vacant parking spaces in the parking area can be more accurately judged through the statistics of imports and exports, and the prediction of the number of vacant parking spaces is of little practical significance. However, it is more difficult to predict vacant parking spaces on some road surfaces where parking is allowed.
[0003] In the prior art, the paper "On-Street and Off-Street Parking Availability Prediction Using Multivariate Spatiotemporal Models" published by Rajabioun T, Ioannou P. in IEEE Transactions on Intelligent Transportation Systems, 2015, records a system that can analyze the available information of infrastructure, from real-time parking occupancy data to parking rules, to provide drivers with services to find parking spaces at ETA (Estimated Time of Arrived). The method used is to make online predictions based on the PA usage history and real-time data of the area where the driver will park. First, the PA data features are analyzed, and then a PA prediction model is established. Trending and detrending techniques are used in time series analysis of financial applications. After calculating the trend component of the parking data, detrending is performed to prevent the trend component from overwhelming the main component.
[0004] Among the existing models, although some models can take into account the influence of multiple variables and mine more effective information from the data, such models are also prone to overfitting and other phenomena. When predicting public parking spaces on the road surface, the existing models are unstable. And the most critical point is that even if the prediction analysis is accurate, when the driver drives to the parking area, the actual result is still that there are no vacant parking spaces, which is unacceptable. Summary of the invention
[0005] In view of the shortcomings of the prior art, the purpose of the present invention is to provide a system and method for predicting the number of remaining parking spaces in public parking spaces on roads, which not only improves the accurate judgment of the remaining parking spaces at a designated parking location within the expected time, but also can propose the best handling plan when the expected parking spaces are full.
[0006] In order to achieve the above-mentioned purpose, the present invention provides a method for acquiring public parking spaces based on roads;
[0007] Get the vehicle destination, retrieve all parking area locations related to the destination, and find a parking area closest to the destination as the preferred parking area;
[0008] Obtain information about the preferred parking area and parking space information;
[0009] Acquire a data sequence of known parking quantities in parking spaces in the preferred parking area;
[0010] Verify data stationarity;
[0011] Identification and order determination through ARIMA model;
[0012] Make an ARIMA model;
[0013] The ARIMA model residuals are obtained by comparing the predicted results of the ARIMA model with the actual results;
[0014] Use the ARIMA model residuals to compare other feature data in this scenario and perform data normalization;
[0015] Establish an LSTM model, and use the data generated after data normalization by comparing the ARIMA model residual with other feature data in this scenario as the input of the LSTM model; finally obtain the prediction result of the LSTM model for the ARIMA model residual;
[0016] The prediction results of the LSTM model on the residual of the ARIMA model and the prediction results of the ARIMA model itself are added together to finally obtain the corrected prediction value;
[0017] The predicted value is used to determine the actual vacant parking space information and position in the area where the parking space is located after the specified time. When the predicted result is that there is no parking space, the nearest parking area that is expected to have parking spaces after the specified time is found as an alternative parking area. At this time, the waiting time for parked vehicles in the preferred parking area to leave and the time to drive to the alternative parking area are predicted, and the result is sent to the driver for reference. After the driver makes a selection, the selected parking space is reserved.
[0018] Preferably, when the prediction result is that there are multiple vacant parking spaces in the preferred parking area within the specified time, the parking space with the lowest probability of being occupied is locked as the target parking space, and the driving route after entering the preferred parking area is planned.
[0019] Preferably, the location information of all parking areas related to the destination includes the overall area of the area, a coordinate system is established with the center of the area as the origin, and each parking space is set as a fixed unit area in the area and distributed in the coordinate system in the form of coordinate points.
[0020] Preferably, the method for verifying the stability of the data is: using an autocorrelation diagram to test the stability, and if the data stability is poor, using difference processing. This step is very important because the stability of the data will affect the selection of model parameters.
[0021] Preferably, when making the ARIMA model, the model parameters p and q are initially judged based on the ACF diagram and the PACF diagram, and the ARIMA (3, 0, 6) model is finally established after multiple tests.
[0022] Autocorrelation Function (ACF) refers to the linear relationship between the sequence value Xt at any time t (t = 1, 2, 3 ... n) and its own lag value Xt-1. The ACF graph is a graph with the lag value as the x-axis and the autocorrelation coefficient (the correlation coefficient between Xt and Xt-1) as the y-axis, also called a correlation graph.
[0023] PACF is Partial Autocorrelation Function, which is the partial autocorrelation function, and the PACF graph is the partial correlation graph.
[0024] The ARIMA model has three parameters: p, d, and q.
[0025] p--represents the number of lags of the time series data itself used in the prediction model, also called AR / Auto-Regressive term.
[0026] d-- represents the number of order difference that the time series data needs to undergo to be stable, also called the Integrated term.
[0027] q--represents the number of lags of the forecast error used in the forecast model, also known as the MA / Moving Average term.
[0028] When PACF is truncated and ACF is trailing, PACF is more suitable for determining the AR model (p-value); while when ACF is truncated and PACF is trailing, ACF is more suitable for determining the MA model (q-value).
[0029] After calculation, in the model establishment of the present invention, the three parameters of the ARIMA model: p, d, q are selected as 3, 0, and 6 respectively. In this way, the expected effect can be achieved.
[0030] Preferably, the modeling process of the LSTM model is divided into the following steps:
[0031] (1) Input data preprocessing: First, reshape the input data according to the size of time steps, convert it into a matrix form suitable for the model, and then normalize the data to speed up the gradient descent and improve the model training effect.
[0032] (2) Initialization model: After multiple experimental comparisons, the LSTM neural network is set with one hidden layer and the loss rate is set to 0.1;
[0033] (3) Output and denormalization: After the model training is completed, the output prediction value needs to be denormalized and then superimposed with the prediction value of the ARIMA model to obtain the final prediction result.
[0034] Preferably, the hidden layer is provided with at least 50 neurons, the training block size is 18, and the number of training times is 45.
[0035] The present invention also includes a system for obtaining public parking spaces on roads, including an information collection unit for instantly obtaining instant information about parking spaces in each parking area and information about vehicles parked in the parking spaces;
[0036] A user unit, used to obtain the driver's destination and expected arrival time;
[0037] The processing unit predicts whether there are vacant parking spaces when the driver arrives based on a road public parking space acquisition method, and assists the driver in determining whether to continue waiting or change parking areas when there are no vacant parking spaces.
[0038] The present invention also includes a device for acquiring a public parking space on a road, comprising:
[0039] Monitoring equipment and reservation equipment installed in parking areas;
[0040] Central control equipment installed in the control management center: The central control equipment at least includes:
[0041] Storage device; storing map information of the parking area,
[0042] Communication equipment: used to communicate with the driver who accesses the system.
[0043] A processor, configured to execute a method for acquiring a road-based public parking space;
[0044] And a client device installed on a vehicle accessing the system, the client device at least includes a communication module, an input module and a display module.
[0045] Preferably, the reservation devices on the parking spaces in all parking areas related to the destination include physical ground locks or electronic fences, and the electronic fences are connected to the local traffic management system. This facilitates the cooperation and management of local administrative agencies, and the installation of such devices also requires the permission of the administrative department.
[0046] Compared with the prior art, the present invention adopts a combined model method to combine the ARIMA and LSTM models, and fully utilizes the advantages of the model to predict the number of used parking spaces in the parking area. The ARIMA model is used to extract the linear part of the data, and then the nonlinear part of the ARIMA residual is fitted by LSTM to fully mine the effective information in the residual. In this way, the prediction accuracy is further improved. Most importantly, the present invention can also play a good prediction effect in non-fixed parking lots, such as parking spaces under public transportation. It is very effective to improve the parking efficiency of drivers at their destinations. BRIEF DESCRIPTION OF THE DRAWINGS
[0047] Figure 1 It is a schematic diagram of the process adopted by the present invention.
[0048] Figure 2 It is a schematic diagram of establishing the model of the present invention.
[0049] Figure 3 It is a schematic diagram comparing the test results of the model of the present invention and the test results of the existing model.
[0050] Figure 4 Schematic diagram of the prediction results of the ARIMA model in the embodiment.
[0051] Figure 5 Schematic diagram of the LSTM model prediction results in the embodiment.
[0052] Figure 6 Schematic diagram of prediction results using the ARIMA-LSTM model of the present invention in an embodiment.
[0053] Figure 7 It is a schematic diagram of the equipment framework of the present invention. DETAILED DESCRIPTION
[0054] The present invention is further described in detail below. It should be understood that the specific implementation methods described herein are only used to explain the relevant content, rather than to limit the present invention.
[0055] First of all, it should be noted that there are already a large number of parking space recommendation systems based on fixed parking lots in the prior art. For example, the invention patent "A parking lot recommendation method, system, device and storage medium" with patent application number CN201810631846.3 discloses a parking lot recommendation method, system and device and a computer-readable storage medium. Or the invention patent "A parking lot information intelligent intersection method, system and device" with patent number CN202110708983.4 discloses a parking lot information intelligent intersection method, system and device. These patents can all realize the function of the navigation system assisting in finding parking spaces. However, there are two problems with this type of patent. First, these patents can only be used for fixed parking lots, and their methods cannot be used to find parking spaces for parking spaces on road traffic. Another difference is that the existing system can only provide parking space guidance based on the parking lot status at the time node of vehicle arrival, but when the parking spaces are full, no further targeted recommendations can be made. For example, when a vehicle drives to a parking lot, if there are vehicles in all parking spaces, the prior art can only tell you that the parking spaces are full. However, if a car actually leaves within 5 minutes, it is impossible to predict in the prior art. However, the technical solution of the present invention can provide the driver with a prediction of the time it takes to continue waiting and drive to another parking area, allowing the driver to judge the subsequent behavior.
[0056] Existing technologies may also use behaviors such as paying parking fees to determine that a car will leave a parking space, but this still relies on the management system in the parking lot, rather than on artificial intelligence predictions. Therefore, similar solutions cannot be repeated in parking areas for road traffic.
[0057] like Figure 1 As shown, the actual implementation method of the present invention is:
[0058] Get the vehicle destination, retrieve all parking area locations related to the destination, and find a parking area closest to the destination as the preferred parking area;
[0059] Obtain information about the preferred parking area and parking space information;
[0060] Acquire a data sequence of known parking quantities in parking spaces in the preferred parking area;
[0061] Verify data stationarity; establish ARIMA-LSTM model.
[0062] like Figure 2As shown in the figure, in the ARIMA-LSTM model, the data is first used for ARIMA modeling. The ARIMA model extracts the linear part of the data, while the residual of the ARIMA model contains the nonlinear part. Then, multiple features such as residuals, weekend holidays, and major shopping mall events are used as independent variables of LSTM to predict the ARIMA residuals for the next time period. Finally, the predicted value of ARIMA is added to the residual predicted value of LSTM to obtain the final predicted value.
[0063] The predicted value is used to determine the actual free parking space information and location in the area where the parking space is located after the specified time; this behavior can be profiled according to the specific vehicle information on the parking space, and judged according to the profile information. For example, if there are several vehicles parked in the parking space that appear in the area at a specific time period every day, then it can be summarized as the parking of nearby residents. The parking time of such vehicles has a regular pattern, and it can be predicted that they will leave the parking space during their working hours. Some vehicles are parked for a long time and have not been driven for several days. It can be judged that such vehicles have a low willingness to drive, and the owner may be on a business trip or have other things to do, so the probability of leaving is relatively small.
[0064] When the prediction result is that there are no parking spaces, the nearest parking area that is expected to have parking spaces after the specified time is found as the alternative parking area. At this time, the waiting time for the parked vehicles in the preferred parking area to leave and the time to drive to the alternative parking area are predicted, and the results are sent to the driver for reference. After the driver makes a selection, the selected parking space is reserved. When the prediction result is that there are multiple vacant parking spaces in the preferred parking area within the specified time, the parking space with the lowest probability of being occupied is locked as the target parking space, and the driving route after entering the preferred parking area is planned. The location information of all parking areas related to the destination includes the overall area of the area, and a coordinate system is established with the center of the area as the origin. Each parking space is set as a fixed unit area in the area and distributed in the coordinate system in the form of coordinate points.
[0065] The method to verify the stability of data is: use the autocorrelation diagram to test the stability. If the data stability is poor, use the difference to process it. Because the stability of the data will affect the selection of model parameters, this step is very important. When making the ARIMA model, the model parameters p and q are initially judged based on the ACF diagram and PACF diagram. After multiple tests, the ARIMA (3, 0, 6) model is finally established.
[0066] The autocorrelation function (ACF) of a stationary series is independent of any specific time t and is a function of the time interval h, denoted by ρh:
[0067] Where h is the time interval. The autocorrelation coefficient is a type of correlation coefficient, which describes the interval h between the variable sequence and itself. Take h as 30 minutes as an example, and the overall unit is in hours. The correlation of the sequence, taking the parking space occupancy X recorded in the present invention as an example: Assume Xt = <0.5, 1, 1.5, ...>, if h = 2, then Xt + h = Xt + 2 = <1.5, 2, 2.5, ...>, cov (Xt, Xt + h) = cov (<0.5, 1, 1.5, ...>, <1.5, 2, 2.5, ...>) is the covariance of the two vectors. Covariance describes the degree to which one variable changes with another variable, so it can describe the correlation of (Xt, Xt + h). If the magnitude (Magnitude) of the variable value doubles, the covariance will become 4 times the original. Obviously, it is necessary to standardize the covariance. The standard deviation of the variable itself is a suitable standardization factor, which is the origin of σtσt + h in the denominator.
[0068] According to the definition of steady-state time series, cov(Xt,Xt+h) has nothing to do with the specific time t, but only with h, denoted as γh. When h=0, the covariance becomes the variance σ2. For steady-state series, σt=σt+h=σ, so:
[0069]
[0070] Different from the common correlation analysis in statistics that assumes that variables are independent of each other, the object of autocorrelation analysis is the values of the same variable at different times. Therefore, there will be dependence between Xt and Xt+h.
[0071] For example, in a second-order autocorrelation process, Xt is not only autocorrelated with Xt-1, but also with Xt-2. In other words, Xt-2 not only affects Xt through the confounding variable Xt-1, but also directly affects Xt. Both effects must be considered in ACF. PACF, on the other hand, only focuses on the effect of Xt-2 on Xt.
[0072] The ARIMA model has three parameters: p, d, and q.
[0073] p--represents the number of lags of the time series data itself used in the prediction model, also called AR / Auto-Regressive term.
[0074] d-- represents the number of order difference that the time series data needs to undergo to be stable, also called the Integrated term.
[0075] q--represents the number of lags of the forecast error used in the forecast model, also known as the MA / Moving Average term.
[0076] In the model establishment of the present invention, the three parameters of the ARIMA model: p, d, q are selected as 3, 0, and 6 respectively. In this way, the expected effect can be achieved.
[0077] The modeling process of the LSTM model is divided into the following steps:
[0078] (1) Input data preprocessing: First, reshape the input data according to the size of time steps, convert it into a matrix form suitable for the model, and then normalize the data to speed up the gradient descent and improve the model training effect.
[0079] (2) Initialization model: After multiple experimental comparisons, the LSTM neural network is set with one hidden layer and the loss rate is set to 0.1;
[0080] (3) Output and denormalization: After the model training is completed, the output prediction value needs to be denormalized and then superimposed with the prediction value of the ARIMA model to obtain the final prediction result.
[0081] In the present invention, at least 50 neurons are arranged in the hidden layer, the training block size is 18, and the number of training times is 45.
[0082] Embodiment: The experimental data selected by the present invention comes from the Kaggle platform, the parking lot data of a shopping mall and an athletic center in Birmingham. The holiday information is collected from the public historical information of the perpetual calendar website, including weekends and statutory holidays. The time coverage of the data set is from 2016-11-27 to 2016-12-19, the collection time period is from 8:00 to 16:30, and data is collected every 30 minutes. There are 18 data every day, and a total of 1310 data. The data set is divided into a training set and a test set according to the 7:3 rule. The first 70% is the training set, and the last 30% is the test set.
[0083] In order to compare the prediction effects of different models, the present invention adopts ARIMA model, LSTM model and ARIMA-LSTM combined model to predict the usage of parking spaces at 18 times (time interval of 30 minutes) every day from November 27 to December 19, 2016.
[0084] Input the data into the ARIMA model and we get Figure 4 Prediction results. Figure 4 It can be seen that the trends of the predicted value and the true value are basically the same, but the error is large. When the parking space data reaches the peak, the prediction error is the largest and the prediction accuracy does not achieve the expected effect.
[0085] Input the data into the LSTM model and get Figure 5 Prediction results. Figure 5It can be seen that the prediction results of the LSTM model have a high degree of fit with the true value, the predicted value is overfitted, and the predicted trend is delayed compared with the true value.
[0086] And input the data into the ARIMA-LSTM combined model, we get Figure 6 The prediction results of Figure 6 It can be seen that the fit between the predicted value and the true value of the combined model is much higher than that of the LSTM model and the ARIMA model.
[0087] In general, the ARIMA model does not take nonlinear factors into account, so the predicted values in each period have a large deviation from the true value. The LSTM model performs better than the ARIMA model and has higher prediction accuracy, but the model is prone to overfitting, the model prediction is unstable, and the prediction results have a large offset. In the combined model, the overfitting phenomenon during LSTM model training has been alleviated to a certain extent, the deviation of the predicted value has also been improved, and the prediction accuracy has been further improved. Compared with the previous two models, this model has better prediction effect and is more stable.
[0088] To further prove this, three indicators, root mean square error (RMSE), mean absolute percentage error (MAPE) and mean absolute deviation (MAE), are selected to evaluate the time series prediction performance of the algorithm. Their calculation methods are:
[0089]
[0090]
[0091]
[0092] Among them, y t is the actual observed value, is the predicted value, and M represents the number of test samples. The smaller the values of RMSE, MAPE, and MAE, the higher the prediction accuracy of the model, and the better the fitting ability of the model. Figure 3 The RMSE, MAPE and MAE values of the prediction results of each model are compared. It can be seen that the prediction error of the combined model ARIMA-LSTM model is the lowest among the three models. Compared with ARIMA and LSTM, RMSE is reduced by 465.46 and 49.74, MAPE is reduced by 391.23 and 44.3, and MAE is reduced by 304, 311.55 and 12,198.61. It can be seen that the combined model ARIMA-LSTM has a higher prediction accuracy than the single ARIMA and LSTM models.
[0093] It can be seen that the prediction accuracy of the model adopted by the present invention has reached the expectation for commercial use.
[0094] The present invention also includes a system for acquiring public parking spaces on roads, including an information collection unit for instantly obtaining real-time information about parking spaces in various parking areas and information about vehicles parked in the parking spaces; a user unit for acquiring the driver's destination and expected arrival time; and a processing unit for predicting whether there are vacant parking spaces when the driver arrives based on a method for acquiring public parking spaces on roads, and assisting the driver in determining whether to continue waiting or to change parking areas when there are no vacant parking spaces.
[0095] like Figure 7 As shown, the present invention also includes a device for obtaining a public parking space on a road, comprising:
[0096] Monitoring equipment and reservation equipment installed in parking areas;
[0097] Central control equipment installed in the control management center: The central control equipment at least includes:
[0098] Storage device; storing map information of the parking area,
[0099] Communication equipment: used to communicate with the driver who accesses the system.
[0100] A processor, configured to execute a method for acquiring a road-based public parking space;
[0101] And the client device installed on the vehicle accessing the system, the client device includes at least a communication module, an input module and a display module, and the high-end client is also equipped with a processor. The reservation devices on the parking spaces in all parking areas related to the destination include physical ground locks or electronic fences, and the electronic fences are connected to the local traffic management system. This makes it easier for local administrative agencies to cooperate in management, and the installation of such equipment also needs to be approved by the administrative department.
[0102] According to the results, compared with a single model, the ARIMA-LSTM combined model specifically processes parking volume data with nonlinear characteristics, which significantly improves the prediction accuracy and can effectively analyze the trend of parking space quantities. It has high engineering practical value and a wider range of applications.
[0103] Although the present invention is disclosed as above with preferred embodiments, it is not intended to limit the scope of the present invention. Any person of ordinary skill in the art can make some improvements without departing from the scope of the present invention, that is, all equivalent improvements made in accordance with the present invention should be covered by the scope of the present invention. In the description of this specification, the description of reference terms "one embodiment / mode", "some embodiments / modes", "examples", "specific examples", or "some examples" means that the specific features, structures, materials or characteristics described in conjunction with the embodiment / mode or example are included in at least one embodiment / mode or example of the present invention. In this specification, the schematic representation of the above terms does not necessarily target the same embodiment / mode or example. Moreover, the specific features, structures, materials or characteristics described can be combined in any one or more embodiments / modes or examples in a suitable manner. In addition, without contradicting each other, a person of ordinary skill in the art can combine and combine the different embodiments / modes or examples described in this specification and the features of the different embodiments / modes or examples.
[0104] In addition, the terms "first" and "second" are used for descriptive purposes only and should not be understood as indicating or implying relative importance or implicitly indicating the number of the indicated technical features. Therefore, the features defined as "first" and "second" may explicitly or implicitly include at least one of the features. In the description of the present invention, the meaning of "plurality" is at least two, such as two, three, etc., unless otherwise clearly and specifically defined.
[0105] It should be understood by those skilled in the art that the above embodiments are only for the purpose of clearly illustrating the present invention, and are not intended to limit the scope of the present invention. For those skilled in the art, other changes or modifications may be made based on the above disclosure, and these changes or modifications are still within the scope of the present invention.
Claims
1. A method for acquiring public parking spaces on roads; characterized in that: Get the vehicle destination, retrieve all parking area locations related to the destination, and find a parking area closest to the destination as the preferred parking area; Obtain information about the preferred parking area and parking space information; Acquire a data sequence of known parking quantities in parking spaces in the preferred parking area; Verify data stationarity; Identification and order determination through ARIMA model; Create an AR IMA model; when creating the AR IMA model, make an initial judgment on the model parameters p and q based on the ACF graph and PACF graph, and finally establish the ARI MA (3, 0, 6) model after multiple tests; The modeling process of the LSTM model is divided into the following steps: (1) Input data preprocessing: First, reshape the input data according to the size of time steps, convert it into a matrix form suitable for the model, and then normalize the data; (2) Initialization model: After multiple experimental comparisons, the LSTM neural network is set with one hidden layer and the loss rate is set to 0.1; (3) Output and denormalization: After the model training is completed, the output prediction value needs to be denormalized and then superimposed with the prediction value of the ARIMA model to obtain the final prediction result; The ARIMA model residuals are obtained by comparing the predicted results of the ARIMA model with the actual results; Use the ARIMA model residuals to compare the public parking spaces on the road to obtain other characteristic data in the scene and perform data normalization; Establish an LSTM model, and use the data generated after data normalization by comparing the residual of the ARIMA model with other feature data in the road public parking space acquisition scenario as the input of the LSTM model; finally obtain the prediction result of the LSTM model for the residual of the ARIMA model; The prediction results of the LSTM model on the ARIMA model residuals and the prediction results of the ARIMA model itself are added together to finally obtain the corrected prediction value; The predicted value is used to determine the actual vacant parking space information and position in the area where the parking space is located after the specified time. When the predicted result is that there is no parking space, the nearest parking area that is expected to have parking spaces after the specified time is found as an alternative parking area. At this time, the waiting time for parked vehicles in the preferred parking area to leave and the time to drive to the alternative parking area are predicted, and the result is sent to the driver for reference. After the driver makes a selection, the selected parking space is reserved.
2. The method for acquiring public parking spaces based on roads according to claim 1, characterized in that: When the prediction result shows that there are multiple vacant parking spaces in the preferred parking area within the specified time, the parking space with the lowest probability of being occupied is locked as the target parking space, and the driving route after entering the preferred parking area is planned.
3. The method for acquiring public parking spaces based on roads according to claim 1, characterized in that: The location information of all parking areas related to the destination includes the overall area of the area. A coordinate system is established with the center of the area as the origin. Each parking space is set as a fixed unit area in the area and is distributed in the coordinate system in the form of coordinate points.
4. The method for acquiring public parking spaces based on roads according to claim 1, characterized in that: The method to verify the stationarity of data is: use the autocorrelation diagram to test the stationarity. If the data stationarity is poor, use difference processing.
5. The method for acquiring public parking spaces based on roads according to claim 1, characterized in that: The hidden layer is provided with at least 50 neurons, the training block size is 18, and the number of training times is 45.
6. A system for acquiring public parking spaces on roads, characterized in that: It includes an information collection unit for instantly obtaining the real-time information of parking spaces in each parking area and the information of vehicles parked in the parking spaces; A user unit, used to obtain the driver's destination and expected arrival time; The processing unit predicts whether there is an empty parking space when the driver arrives by any of the methods described in claims 1-5, and assists the driver in determining whether to continue waiting or change the parking area when there is no empty parking space.
7. A device for obtaining public parking spaces on roads, characterized in that: include: Monitoring equipment and reservation equipment installed in parking areas; Central control equipment installed in the control management center: The central control equipment at least includes: Storage device; The map information of the parking area is stored. Communication equipment: used to communicate with the driver who accesses the system. A processor, configured to execute the method according to any one of claims 1 to 5; And a client device installed on a vehicle accessing the system, the client device at least includes a communication module, an input module and a display module.
8. The device for acquiring public parking spaces on roads as claimed in claim 7 is characterized in that: The reservation devices carried on the parking spaces in all parking areas related to the destination include physical ground locks or electronic fences, and the electronic fences are connected to the local traffic management system.
