| Literature DB >> 27879663 |
Hua Shu1,2, Ci Song3, Tao Pei4, Lianming Xu5, Yang Ou6, Libin Zhang7, Tao Li8.
Abstract
Queuing is common in urban public places. Automatically monitoring and predicting queuing time can not only help individuals to reduce their wait time and alleviate anxiety but also help managers to allocate resources more efficiently and enhance their ability to address emergencies. This paper proposes a novel method to estimate and predict queuing time in indoor environments based on WiFi positioning data. First, we use a series of parameters to identify the trajectories that can be used as representatives of queuing time. Next, we divide the day into equal time slices and estimate individuals' average queuing time during specific time slices. Finally, we build a nonstandard autoregressive (NAR) model trained using the previous day's WiFi estimation results and actual queuing time to predict the queuing time in the upcoming time slice. A case study comparing two other time series analysis models shows that the NAR model has better precision. Random topological errors caused by the drift phenomenon of WiFi positioning technology (locations determined by a WiFi positioning system may drift accidently) and systematic topological errors caused by the positioning system are the main factors that affect the estimation precision. Therefore, we optimize the deployment strategy during the positioning system deployment phase and propose a drift ratio parameter pertaining to the trajectory screening phase to alleviate the impact of topological errors and improve estimates. The WiFi positioning data from an eight-day case study conducted at the T3-C entrance of Beijing Capital International Airport show that the mean absolute estimation error is 147 s, which is approximately 26.92% of the actual queuing time. For predictions using the NAR model, the proportion is approximately 27.49%. The theoretical predictions and the empirical case study indicate that the NAR model is an effective method to estimate and predict queuing time in indoor public areas.Entities:
Keywords: WiFi positioning; indoor queuing time; mobile; time series analysis; trajectory
Year: 2016 PMID: 27879663 PMCID: PMC5134617 DOI: 10.3390/s16111958
Source DB: PubMed Journal: Sensors (Basel) ISSN: 1424-8220 Impact factor: 3.576
Figure 1Theoretical map of the trilateration positioning method.
Figure 2Process flow of the queuing time determination model.
Figure 3Queuing sequence of an individual in the time domain.
Figure 4Time slicing for queuing time estimation and prediction.
Figure 5General overview of the queue zone and the locations of the APs.
Results of the topological test near the border of the queue zone.
| Inside | Outside | |
|---|---|---|
| Inside | 73.11% | 26.89% |
| Outside | 17.21% | 82.79% |
Figure 6Validation results of the WiFi-based estimation model.
Figure 7Passenger trajectory examples. (a–d) show trajectories of four different passengers in the T3-C Entrance.
Error statistics of different parameter combinations.
| Parameter Combinations | Error Statistics | |||||||
|---|---|---|---|---|---|---|---|---|
|
|
| Mean | Std. | MAE | AE ≤ 60 s | AE ≤ 120 s | AE ≤ 180 s | AE ≤ 200 s |
| 5 | 50% | 30.27 | 177.30 | 144.57 | 32.99% | 49.48% | ||
| 6 | 50% | 38.46 | 189.37 | 146.60 | 30.93% | 50.52% | 69.07% | |
| 7 | 50% | 49.39 | 193.98 | 151.24 | 27.84% | 50.52% | 69.07% | |
| 8 | 50% | 52.08 | 193.59 | 151.72 | 26.80% | 52.58% | 69.07% | |
| 9 | 50% | 61.11 | 195.71 | 157.38 | 25.77% | 52.58% | 65.98% | |
| 10 | 50% | 63.47 | 193.69 | 162.19 | 22.68% | 47.42% | 62.89% | 69.07% |
| 5 | 40% | 30.10 | 196.18 | 148.54 | 34.02% | 52.58% | 67.01% | |
| 5 | 30% | 24.36 | 207.67 | 158.72 | 29.90% | 49.48% | 65.98% | |
| 5 | 20% | 15.21 | 210.29 | 160.19 | 27.84% | 52.58% | 67.01% | 69.07% |
| 5 | 10% | −2.76 | 216.68 | 167.48 | 24.74% | 48.45% | 65.98% | 69.07% |
| 5 | 0% | −49.45 | 228.15 | 183.47 | 21.65% | 42.27% | 59.79% | 61.86% |
| 6 | 40% | 35.54 | 195.21 | 150.07 | 29.90% | 49.48% | 67.01% | |
| 6 | 30% | 31.21 | 207.15 | 160.91 | 26.80% | 47.42% | 64.95% | |
| 6 | 20% | 20.18 | 209.47 | 161.04 | 26.80% | 50.52% | 67.01% | |
| 6 | 10% | 1.17 | 215.61 | 166.61 | 24.74% | 49.48% | 65.98% | 69.07% |
| 6 | 0% | −40.43 | 230.45 | 183.76 | 21.65% | 41.24% | 58.76% | 60.82% |
| 7 | 40% | 47.71 | 200.10 | 155.34 | 27.84% | 49.48% | 65.98% | 69.07% |
| 7 | 30% | 42.49 | 212.83 | 165.82 | 25.77% | 46.39% | 63.92% | 68.04% |
| 7 | 20% | 38.49 | 215.77 | 167.98 | 27.84% | 46.39% | 64.95% | 67.01% |
| 7 | 10% | 21.25 | 229.22 | 174.12 | 25.77% | 47.42% | 63.92% | 68.04% |
| 7 | 0% | −21.29 | 250.22 | 194.09 | 23.71% | 41.23% | 56.70% | 61.86% |
| 8 | 40% | 51.51 | 201.10 | 156.96 | 26.80% | 50.52% | 67.01% | 69.07% |
| 8 | 30% | 46.30 | 214.06 | 167.07 | 25.77% | 47.42% | 64.95% | 67.01% |
| 8 | 20% | 42.15 | 218.55 | 172.81 | 24.74% | 46.39% | 62.89% | 65.98% |
| 8 | 10% | 23.67 | 230.53 | 175.55 | 27.84% | 45.36% | 62.89% | 68.04% |
| 8 | 0% | −18.15 | 251.78 | 195.19 | 23.71% | 39.18% | 56.705 | 61.86% |
Note: Values exceeding 70% are emphasize using boldface. Std.: standard deviation, MAE: mean absolute error, AE: absolute error.
Figure 8Comparison of the estimated and actual queuing times. (a) Comparison of the estimated and actual queuing times on 11 August; (b) Comparison of the estimated and actual queuing times on 12 August; (c) Comparison of the estimated and actual queuing times on 13 August; (d) Comparison of the estimated and actual queuing times on 14 August.
Queuing time estimation errors from 11 August to 18 August.
| Date | Mean | Std. | MAE | AE ≤ 60 s | AE ≤ 120 s | AE ≤ 180 s | AE ≤ 200 s |
|---|---|---|---|---|---|---|---|
| 11 August | 30.27 | 177.30 | 137.14 | 32.99% | 49.48% | 71.13% | 76.29% |
| 12 August | 54.80 | 167.90 | 147.97 | 19.59% | 45.36% | 64.95% | 71.13% |
| 13 August | 16.52 | 189.23 | 143.07 | 28.87% | 51.55% | 69.07% | 74.23% |
| 14 August | 44.25 | 175.83 | 147.38 | 23.71% | 45.36% | 67.01% | 70.10% |
| 15 August | −66.91 | 247.02 | 197.20 | 21.65% | 37.11% | 58.76% | 61.86% |
| 16 August | 40.12 | 186.46 | 142.63 | 24.74% | 57.73% | 77.32% | 78.35% |
| 17 August | 16.53 | 163.20 | 133.65 | 23.71% | 49.48% | 72.16% | 77.32% |
| 18 August | 58.41 | 143.63 | 123.12 | 27.84% | 60.82% | 73.20% | 79.38% |
Std.: standard deviation, MAE: mean absolute error, AE: absolute error.
Comparison of the prediction errors from and .
| Error Statistics of Prediction Results from Model | Error Statistics of Prediction Results from Model | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| No. | Mean | Std. | MAE | AE ≤ 200 s | No. | Mean | Std. | MAE | AE ≤ 200 s |
| 01 | 46.55 | 195.15 | 177.05 | 60.00% | 02 | 34.24 | 178.60 | 155.15 | 66.32% |
| 03 | −38.89 | 216.97 | 164.80 | 69.47% | 04 | −35.40 | 203.05 | 161.41 | 69.47% |
| 05 | 41.51 | 190.07 | 160.52 | 69.47% | 06 | 27.38 | 163.27 | 132.29 | 77.89% |
Std.: standard deviation, MAE: mean absolute error, AE: absolute error. Wt−10: average queuing time from time t−10 min to t; Wt−20: average queuing time from time t−20 min to t−10 min.
Comparison of the prediction errors from trained using different data.
| Models | Prediction Error Statistics | |||
|---|---|---|---|---|
| Mean | Std. | MAE | AE ≤ 200 s | |
| Models trained by estimation results of previous 1 day | 13.19 | 219.23 | 168.50 | 69.47% |
| Models trained by estimation results of previous 2 days | −10.53 | 214.29 | 161.36 | 70.52% |
| Models trained by estimation results of previous 3 days | −14.41 | 213.72 | 160.47 | 70.88% |
Note: The independent variables of these prediction models are and . Std.: standard deviation, MAE: mean absolute error, AE: absolute error.
Queuing time prediction errors of different models.
| Model | Mean | Std. | MAE | AE ≤ 60 s | AE ≤ 120 s | AE ≤ 180 s | AE ≤ 200 s |
|---|---|---|---|---|---|---|---|
| 5.21 | 188.33 | 148.95 | 28.21% | 50.53% | 68.42% | 73.05% | |
| 19.06 | 206.89 | 162.42 | 23.71% | 44.74% | 64.54% | 67.84% | |
| 18.15 | 188.47 | 152.90 | 24.33% | 45.98% | 64.12% | 69.28% |
Figure 9Comparison of the predicted and actual queuing times. (a) Comparison of the predicted and actual queuing times on 14 August; (b) Comparison of the predicted and actual queuing times on 15 August; (c) Comparison of the predicted and actual queuing times on 16 August; (d) Comparison of the predicted and actual queuing times on 17 August.