A grid-based method for judging passenger congestion in terminal buildings
Patent Information
- Application Number
- CN202010781592.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-08-06
- Publication Date
- 2024-10-22
- Estimated Expiration
- 2040-08-06
Smart Images

Figure CN111914768B_ABST
Abstract
Description
Technical Field
[0001] The invention relates to a grid-based terminal passenger flow congestion state determination method, belonging to the terminal passenger flow congestion determination technical field. Background Art
[0002] As my country's economy is in a stage of medium-to-high-speed growth, the consumption structure is constantly upgrading, and cross-regional economic ties are becoming increasingly close, my country's civil aviation has made great progress and the scale of the civil aviation industry is constantly increasing. Only by continuously improving the quality of service can passengers feel more fulfilled. Therefore, it is necessary to study the characteristics of passenger flow in the terminal, so as to determine the congestion status of passenger flow and conduct passenger flow warning.
[0003] At present, the research on passenger flow congestion status discrimination at home and abroad has shifted from single-characteristic congestion discrimination to multi-characteristic congestion discrimination, and the research direction has gradually shifted from urban transportation to transportation hubs dominated by public transportation. The research on passenger flow congestion status discrimination in the terminal is still in its infancy, and there is almost no related research. It is impossible to accurately judge whether the passenger flow is congested inside the terminal, which may easily cause passengers to be dissatisfied with the facilities and equipment inside the terminal, and it is impossible to effectively warn the passenger flow, which has certain limitations. Summary of the invention
[0004] The technical problem to be solved by the present invention is to provide a grid-based terminal passenger flow congestion status judgment method, which can judge whether a single grid is congested and the degree of congestion based on the collected terminal passenger flow information, so that the airport can judge whether an early warning is needed based on the status, which is conducive to improving the service quality of the airport and enhancing the sense of gain of passengers.
[0005] The present invention adopts the following technical solutions to solve the above technical problems:
[0006] A grid-based method for determining the crowded state of passenger flow in a terminal includes the following steps:
[0007] Step 1, obtain the floor plan of the check-in hall area on the departure floor of the terminal building, and divide the area into square grids with a fixed spatial step length;
[0008] Step 2: Set up a camera in the check-in hall on the departure level of the terminal to shoot video, set a time step, divide the video into several time steps, and count the number of passengers passing through a single square grid within a unit time step and the speed of passengers in a single square grid within a unit time step;
[0009] Step 3, according to the number of passengers passing through a single square grid and the passenger speed of a single square grid within a unit time step, calculate the Euclidean distance, determine the discrimination conditions 1, 2 and 3 according to the Euclidean distance, the number of passengers passing through a single square grid within a unit time step and the passenger speed of a single square grid within a unit time step, respectively, and judge whether the single square grid is crowded within the above-mentioned several time steps according to the discrimination conditions 1, 2 and 3. If the single square grid satisfies the discrimination conditions 1, 2 and 3 within a certain time step, it indicates that the single square grid is crowded within the time step, otherwise it is not crowded;
[0010] Step 4: Count the total number of time steps in which congestion occurs in a single square grid, obtain the Euclidean distance of each time step in which congestion occurs, and use the K-means clustering method to cluster these Euclidean distances into three categories. The congestion levels corresponding to the three categories are congestion, congestion, and obstruction, respectively. Determine the congestion level range of each category based on the clustering results, and judge the congestion level of a single square grid in each time step based on the congestion level range.
[0011] As a preferred solution of the present invention, the fixed spatial step length in step 1 is 10 meters.
[0012] As a preferred solution of the present invention, the number of passengers passing through a single square grid within the unit time step in step 2 is calculated by the following formula:
[0013] N=N 0 +N E
[0014] Where N represents the number of passengers passing through the square grid in a unit time step, N 0 N represents the number of passengers in the square grid at the initial moment of the unit time step. E Represents the number of passengers entering the square grid within a unit time step.
[0015] As a preferred solution of the present invention, the passenger speed of a single square grid within the unit time step in step 2 is calculated by the formula:
[0016]
[0017] Where N represents the number of passengers passing through the square grid in a unit time step, V j represents the speed of the jth passenger, l j represents the distance the jth passenger moves in the square grid, t j represents the time when the jth passenger moves.
[0018] As a preferred embodiment of the present invention, the discrimination condition 1 in step 3 is:
[0019]
[0020] Judgment condition 2 is:
[0021]
[0022] Judgment condition 3 is:
[0023]
[0024] in, represents the Euclidean distance, represents the crowding index of a single square grid at the i-th time step, represents the average of the crowding index of a single square grid at all time steps, represents the number of passengers in a single square grid at the i-th time step, represents the average number of passengers in a single square grid at all time steps, represents the passenger speed of a single square grid at the i-th time step, represents the average passenger speed of a single square grid at the i-th time step, δ is the decision threshold, i = 1,…,n, n represents the total number of all time steps, They represent the number of passengers and the speed of passengers in a single square grid at the kth time step respectively.
[0025] Compared with the prior art, the present invention adopts the above technical solution and has the following technical effects:
[0026] 1. The present invention realizes the recognition of the crowded state of passenger flow in the terminal, collects passenger flow data in a single grid area, and defines a two-dimensional vector as a crowded index by combining the collected passenger trajectory number and passenger speed data. The Euclidean distance is used as one of the conditions for judging the occurrence of crowdedness, so that the crowded state recognition can be quantified, and different thresholds are selected to quantify the degree of crowdedness.
[0027] 2. The present invention provides a basis for airports to formulate scientific and reasonable passenger flow warning measures, which is conducive to improving the service level of airports and enhancing passengers' sense of gain. BRIEF DESCRIPTION OF THE DRAWINGS
[0028] Figure 1 The present invention is a flow chart of a method for determining the passenger flow congestion state of a terminal building based on a grid.
[0029] Figure 2 This is the domestic departure floor plan of the terminal in the embodiment.
[0030] Figure 3 yes Figure 2The corresponding mesh partitioning diagram.
[0031] Figure 4 2 is a diagram of crowding index clustering results of the embodiment. DETAILED DESCRIPTION
[0032] The embodiments of the present invention are described in detail below, and examples of the embodiments are shown in the accompanying drawings. The embodiments described below with reference to the accompanying drawings are exemplary and are only used to explain the present invention, and cannot be interpreted as limiting the present invention.
[0033] like Figure 1 As shown, the present invention provides a grid-based terminal passenger flow congestion state determination method, comprising the following steps:
[0034] (1) Determine the research area and divide the grids. The check-in hall on the departure level of the terminal was selected as the research area, and the research area was divided into square grids with a spatial step length of 10 meters.
[0035] In this embodiment, the research area is centered on the 3F check-in hall on the departure floor of Terminal 2 of Nanjing Lukou International Airport, including check-in islands ABCD, business center and various retail stores, such as Figure 2 As shown. Divide it into 10*10 squares as follows Figure 3 132 grids shown.
[0036] (2) Determine the research object. Passengers departing from the check-in hall are selected as the research object. Passenger counts and passenger speed data are collected through the captured videos.
[0037] According to the results of the example survey, the 14th grid in the first row ( Figure 3 The position of the five-pointed star in the figure), take twelve hours of video (with 1 minute as a time step) as an example.
[0038] The passenger count is the sum of the number of people in the grid at the initial moment and the number of people entering the grid during the observation period, so the number of people passing through a single grid during the observation period is as follows:
[0039] N=N 0 +N E
[0040] Among them, N 0 is the number of passengers at the initial time of the observation period; N E is the number of people entering the grid during the observation period.
[0041] Part of the obtained passenger counting data is shown in Table 1.
[0042] Table 1 Passenger data
[0043]
[0044]
[0045] The speed of each passenger in the observation period in the video is recorded and averaged, and the speed is calculated using the speed formula. The speed calculation formula is as follows:
[0046] The speed formula for a single passenger is as follows:
[0047]
[0048] The formula for passenger speed during the observation period is as follows:
[0049]
[0050] Among them, V j is the speed of the jth passenger during the observation period, in m / s; l j is the distance the jth passenger moves in the grid, in meters; t j is the time for the jth passenger to move, in seconds; V is the passenger speed during the observation period, in meters per second; N is the number of passengers during the observation period, in persons (p).
[0051] The calculated speed data is shown in Table 2.
[0052] Table 2 Speed data
[0053]
[0054]
[0055] (3) The Euclidean distance is used as the metric to determine the degree of congestion of a single grid.
[0056] To judge the crowding of a single grid, three conditions are selected for judgment:
[0057] Judgment condition 1: For a single grid at multiple consecutive time steps t 1 ,t 2 ,…,t n In the crowding discrimination formula 1, the Euclidean distance is selected to quantify the differences within the same grid. The formula is as follows:
[0058]
[0059] in, is the time step t i The crowding index, is the average value of all grid crowding indicators in multiple consecutive time steps, is a single grid at time step t iThe difference from the mean value, is the time step t i The number of passenger trajectories passing through the grid, is the number of consecutive time steps t 1 ,t 2 ,…,t n The average number of passenger trajectories passing through the grid, is the time step t i The average speed of all passengers passing through the grid, is the number of consecutive time steps t 1 ,t 2 ,…,t n The average speed of all passengers passing through the grid. δ is the decision threshold.
[0060] According to the data collected after the case investigation, the results of the Euclidean distance between each moment and the average value are shown in Table 3:
[0061] Table 3 Crowding metrics
[0062]
[0063]
[0064] At the 35th moment, it was observed that congestion occurred, and the metric at this time was 5.0024, so the discrimination threshold δ was selected as 5.
[0065] Judgment condition 2: For a single grid at multiple consecutive time steps t 1 ,t 2 ,…,t n The crowding judgment formula 2 is as follows:
[0066]
[0067] in, is the time step t i The average speed of all passenger trajectories passing through the grid within the range;
[0068] After calculation, a single grid has multiple consecutive time steps t 1 ,t 2 ,…,t n The average velocity of the trajectory The value is 1.11m / s.
[0069] Judgment condition 3: For a single grid at multiple consecutive time steps t 1 ,t 2 ,…,tn The crowding judgment formula 3 is as follows:
[0070]
[0071] in, is the time step t i The average number of all passenger trajectories passing through the grid within the range;
[0072] After calculation, a single grid has multiple consecutive time steps t 1 ,t 2 ,…,t n The average velocity of the trajectory The value is 15 people.
[0073] Based on the comprehensive judgment conditions 1, 2, and 3, there are 110 groups of moments when congestion occurs.
[0074] (4) Use the MATLAB program to perform K-means clustering on the crowding metrics of the 110 groups of data at the time of crowding, select three cluster centers, and assign the data to the closest cluster center according to the Euclidean distance to form a class. Repeat the iteration until the cluster center no longer changes, and divide the 110 groups of data into three categories, such as Figure 4 shown.
[0075] K-means clustering is performed in the following steps:
[0076] Step 1: Determine the cluster k value (k=3) and randomly select k data points as cluster centers;
[0077] Step 2: For each point in the data set, calculate the Euclidean distance between it and each cluster center. The point closest to the cluster center will be assigned to the set to which the center belongs.
[0078] Step 3: After all data are grouped into k sets, recalculate the cluster center of each set;
[0079] Step 4: Iterate steps 2-3 until the cluster center no longer changes.
[0080] The center and interval range of each cluster are shown in Table 4.
[0081] Table 4 Clustering results of metric data
[0082] kind 1 2 3 Cluster Center 7.5630 12.7613 20.0054 Interval range [5.0001,10.0049] [11.0000,15.0085] [17.0037,25.0057]
[0083] According to the clustering results, the range of different congestion levels is determined and the congestion degree of the grid is divided, as shown in Table 5:
[0084] Table 5 Crowding levels
[0085] Crowding level Crowded Congestion block Metric Range [5,11) [11,17) [17,∞)
[0086] From this, we can determine that among the 110 groups of times when congestion occurred, 29 groups experienced congestion and 4 groups experienced blockage.
[0087] The above embodiments are only for illustrating the technical idea of the present invention, and cannot be used to limit the protection scope of the present invention. Any changes made on the basis of the technical solution in accordance with the technical idea proposed by the present invention shall fall within the protection scope of the present invention.
Claims
1. A grid-based method for determining the crowded state of passenger flow in a terminal, characterized in that: The steps include: Step 1, obtain the floor plan of the check-in hall area on the departure floor of the terminal building, and divide the area into square grids with a fixed spatial step length; Step 2: Set up a camera in the check-in hall on the departure level of the terminal to shoot video, set a time step, divide the video into several time steps, and count the number of passengers passing through a single square grid within a unit time step and the speed of passengers in a single square grid within a unit time step; Step 3, according to the number of passengers passing through a single square grid and the passenger speed of a single square grid within a unit time step, calculate the Euclidean distance, determine the discrimination conditions 1, 2 and 3 according to the Euclidean distance, the number of passengers passing through a single square grid within a unit time step and the passenger speed of a single square grid within a unit time step, respectively, and judge whether the single square grid is crowded within the above-mentioned several time steps according to the discrimination conditions 1, 2 and 3. If the single square grid satisfies the discrimination conditions 1, 2 and 3 within a certain time step, it indicates that the single square grid is crowded within the time step, otherwise it is not crowded; Among them, the judgment condition 1 is: Judgment condition 2 is: Judgment condition 3 is: in, represents the Euclidean distance, represents the crowding index of a single square grid at the i-th time step, represents the average of the crowding index of a single square grid at all time steps, represents the number of passengers in a single square grid at the i-th time step, represents the average number of passengers in a single square grid at all time steps, represents the passenger speed of a single square grid at the i-th time step, represents the average passenger speed of a single square grid at the i-th time step, δ is the decision threshold, i = 1,…,n, n represents the total number of all time steps, They represent the number of passengers and passenger speed of a single square grid at the kth time step respectively; Step 4: Count the total number of time steps in which congestion occurs in a single square grid, obtain the Euclidean distance of each time step in which congestion occurs, and use the K-means clustering method to cluster these Euclidean distances into three categories. The congestion levels corresponding to the three categories are congestion, congestion, and obstruction, respectively. Determine the congestion level range of each category based on the clustering results, and judge the congestion level of a single square grid in each time step based on the congestion level range.
2. The grid-based terminal passenger flow congestion state determination method according to claim 1 is characterized in that: The fixed spatial step length described in step 1 is 10 meters.
3. The grid-based terminal passenger flow congestion state determination method according to claim 1 is characterized in that: The number of passengers passing through a single square grid within the unit time step in step 2 is calculated as follows: N=N0+N E Among them, N represents the number of passengers passing through the square grid within the unit time step, N0 represents the number of passengers located in the square grid at the initial moment of the unit time step, and N E Represents the number of passengers entering the square grid within a unit time step.
4. The grid-based terminal passenger flow congestion state determination method according to claim 1 is characterized in that: The passenger speed of a single square grid within the unit time step in step 2 is calculated as follows: Where N represents the number of passengers passing through the square grid in a unit time step, V j represents the speed of the jth passenger, l j represents the distance the jth passenger moves in the square grid, t j represents the time when the jth passenger moves.
