Scenic spot passenger flow real-time monitoring method and system based on operator location service data

By integrating 2G/4G/5G signaling data in real time, the location of tourists is obtained and a stay duration model is built, which solves the problems of high cost, low coverage and data fragmentation in traditional passenger flow monitoring, and realizes low-cost and high-precision real-time passenger flow monitoring to meet emergency response needs.

CN120857075BActive Publication Date: 2026-07-07江苏省数字文化和智慧旅游发展中心

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
江苏省数字文化和智慧旅游发展中心
Filing Date
2025-08-14
Publication Date
2026-07-07

AI Technical Summary

Technical Problem

Traditional passenger flow monitoring methods suffer from high costs, low coverage, insufficient real-time performance, and privacy controversies. Furthermore, the fragmented and one-sided nature of the data makes them unsuitable for emergency response needs.

Method used

By using 2G/4G/5G signaling data, the location of tourists is obtained in real time through fusion. Combined with base station information and stay duration rules, a tourist flow model is dynamically constructed to achieve real-time monitoring of all scenarios, low cost, and high accuracy.

Benefits of technology

It enables real-time acquisition of the location information of all users, improves the accuracy and flexibility of passenger flow monitoring, meets the real-time requirements of emergency response, and provides a reliable data infrastructure.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120857075B_ABST
    Figure CN120857075B_ABST
Patent Text Reader

Abstract

The application discloses a scenic spot passenger flow real-time monitoring method and system based on operator location service data, which comprises the following steps: obtaining desensitized full-amount 2G, 4G and 5G base station signaling data and performing real-time fusion to obtain the current full-amount tourist base station; selecting the passenger flow monitoring range of a scenic spot on a map, and selecting all base stations contained in the passenger flow monitoring range according to the base station list provided by a communication operator; calculating the cumulative stay duration of full-amount tourists in the scenic spot in real time; and according to the cumulative stay duration, the opening and closing rules of the scenic spot, the black list rules and the tourist cumulative stay duration rules, the total amount of tourists is counted. The application realizes real-time acquisition of full-amount user location information, breaks the data fragmentation and one-sidedness in the traditional passenger flow monitoring method, and improves the accuracy and flexibility of passenger flow monitoring.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the fields of communication technology, big data analysis and real-time data processing technology, and specifically to a method and system for real-time monitoring of tourist flow in scenic areas based on operator location service data. Background Technology

[0002] With the continuous development of the national economy and the continuous improvement of living standards, the construction of scenic spots and the changes in tourism demand are becoming increasingly significant. There are problems such as the increasing number of tourists, the increasing demands of tourists for scenic spot services, and the frequent occurrence of congestion incidents in some key scenic spots during holidays.

[0003] Traditional passenger flow monitoring is mainly divided into hardware-dependent solutions and indirect estimation based on public data, both of which have significant drawbacks.

[0004] Hardware-dependent solutions primarily rely on physical devices such as cameras, infrared sensors, Wi-Fi probes, and Bluetooth beacons to count people within an area. This approach suffers from high cost and low coverage, requiring dense deployment of hardware, which is extremely costly, especially in large areas (such as urban commercial districts and transportation hubs). It also suffers from blind spots and insufficient real-time performance, relying on local servers or periodic uploads for data processing, with latency typically exceeding 30 minutes, failing to meet emergency response needs. Furthermore, privacy concerns are a significant risk, as Wi-Fi / Bluetooth probes require capturing user MAC addresses, posing privacy compliance risks.

[0005] The technical principle of indirect estimation based on public data is to indirectly estimate passenger flow using data such as public transportation card swipes and scenic spot ticket sales. This estimation method suffers from data fragmentation and one-sidedness, as well as coarse time granularity. It can only cover specific scenarios (such as subway stations and scenic spot entrances) and cannot reflect the dynamic flow between areas in real time (such as the path of tourists from subway stations to shopping malls). In addition, the data update frequency is low (usually hourly), making it difficult to capture sudden changes in passenger flow (such as instantaneous peaks during holidays). Summary of the Invention

[0006] The purpose of this invention is to provide a low-cost, high-precision, real-time, and all-scenario adaptable method and system for real-time monitoring of tourist flow in scenic areas based on operator location service data, using 2G / 4G / 5G signaling data as a foundation. This fills the gaps in the accuracy, efficiency, and compliance of existing technologies, enables real-time data fusion and analysis, and provides support for tourist flow monitoring, scenic area operation management, and urban tourism resource investment management. It also provides a reliable data infrastructure for smart cities, business analytics, public safety, and other fields.

[0007] This invention adopts the following technical solution: a method for real-time monitoring of tourist flow in scenic areas based on operator location service data, comprising the following steps:

[0008] S1. Obtain all anonymized 2G, 4G and 5G base station signaling data and perform real-time fusion to obtain the current base station where all tourists are located.

[0009] S2. Circle the visitor flow monitoring area of ​​the scenic area on the map, and select all base stations included in the visitor flow monitoring area according to the base station list provided by the telecommunications operator.

[0010] S3. Real-time calculation of the total duration of stay for all tourists in the scenic area.

[0011] S4. Based on the cumulative stay time, the total number of tourists is calculated according to the park's opening and closing rules, blacklist rules, and cumulative stay time rules.

[0012] Furthermore, in step S1, the base station signaling data includes the encrypted mobile phone number, the reporting base station, and the reporting time.

[0013] Every two minutes, all acquired base station signaling data is grouped by encrypted mobile phone number. First, the priority order is 5G>4G>2G, and then the order is the later the time, the higher the priority. The base station signaling data in each group is prioritized to complete the fusion of base station signaling data. The base station signaling data with the highest priority within two minutes is used to update the current location information of all tourists to obtain the current base station where all tourists are located.

[0014] Furthermore, in step S2, based on the azimuth angle, altitude, and downtilt angle information of the base stations provided by the operator, base stations within the coverage area that are not within the selected passenger flow monitoring range are eliminated, thus obtaining the data source of the base station signaling data.

[0015] Furthermore, in step S3, based on the base station selected in step S2, starting from 0:00 on the same day, the signaling data of the current tourist base station covered by the base station is obtained in a time slice at every time interval.

[0016] The design includes a status table that contains the number of consecutive slices, the cumulative number of slices, and the cumulative duration of stay for each time slice. The current time slice includes all historical visitor information for that day.

[0017] Compare the status table of the current time slice with the status table of the previous time slice to calculate the cumulative stay duration of tourists up to the current time slice; the specific content is as follows:

[0018] (1) Regarding the number of consecutive slices

[0019] If a visitor did not exist in the previous time slice but exists in the current time slice, the consecutive slice count is 1; if a visitor existed in both the previous and current time slices, the consecutive slice count is incremented by 1; if a visitor existed in the previous time slice but does not exist in the current time slice, the consecutive slice count is decremented by 1.

[0020] (2) Regarding the cumulative number of slices

[0021] a. When a tourist exists in the current time slice, check if the location reporting time has changed. If the location reporting time has not changed, it means that the tourist has not updated any new data. The old data from the previous time slice will be used. This may be because the device is turned off or the signal is blocked. In this case, the cumulative slice count is incremented by 1. If the location reporting time has changed, the cumulative slice count is 1.

[0022] b. If the tourist does not exist in the current time slice, the cumulative slice count is 0.

[0023] (3) Regarding the cumulative length of stay

[0024] a. If the current time slice is before the park's opening time, the cumulative stay duration is 0;

[0025] b. If the number of consecutive slices is 1, then the cumulative dwell time is:

[0026] ;

[0027] in, This indicates the cumulative dwell time of the current time slice. This indicates the cumulative dwell time of the previous time slice. This represents the duration of a time slice;

[0028] c. If the number of consecutive slices is -1, the cumulative dwell time remains unchanged;

[0029] d. If the number of consecutive slices is incremented by 1, then determine the cumulative number of slices:

[0030] When 1 < current cumulative slice count ≤ 5, the cumulative dwell time is:

[0031] ;

[0032] When the current cumulative number of slices is greater than 5, the cumulative dwell time remains unchanged;

[0033] The current cumulative slice count is 1. When the previous cumulative slice count was >5, the cumulative dwell time was:

[0034] ;

[0035] in, This represents the cumulative number of slices from the previous time slice;

[0036] The current cumulative slice count is 1. When the previous cumulative slice count was ≤5, the cumulative dwell time was:

[0037] .

[0038] Furthermore, a time slice is ten minutes.

[0039] Furthermore, in step S4, the rules for opening and closing the scenic area are as follows: for scenic areas with opening and closing times and entrances and exits that need to be controlled, which are closed scenic areas, the opening and closing times are set according to the time set by the scenic area; for scenic areas without opening and closing times and with free entry and exit, which are open scenic areas, the opening and closing times are set to 00:00-23:59.

[0040] The blacklist rules are as follows: staff members and residents are added to the blacklist and cannot be identified as tourists; among them, users who have stayed in the scenic area for m hours in the first time zone for no less than h days in the past n days are staff members; users who have stayed in the scenic area for k hours in the second time zone for no less than h days in the past n days are residents; where h < n.

[0041] The rules for the cumulative stay time for tourists are as follows: the cumulative stay time for enclosed scenic spots with low carrying capacity is set at 30-300 minutes, and the cumulative stay time for enclosed scenic spots with high carrying capacity is set at 60-300 minutes; the cumulative stay time for enclosed scenic spots that can accommodate overnight stays (with hotel or guesthouse accommodation facilities) is set at ≥60 minutes (with no upper limit), and the cumulative stay time for open scenic spots that can accommodate overnight stays (with camping / accommodation facilities, and nighttime security and lighting meet standards) is set at ≥60 minutes (with no upper limit).

[0042] When the instantaneous maximum carrying capacity of a scenic area is ≤10,000 people, the scenic area is considered a low-capacity scenic area; when the instantaneous maximum carrying capacity of a scenic area is >10,000 people, the scenic area is considered a high-capacity scenic area.

[0043] The formula for calculating the total number of tourists in real time is:

[0044] ;

[0045] in, This represents the total number of tourists in the current time slice. This represents the set of tourists in the current time slice. This represents the set of tourists whose consecutive slice count in the current time slice is -1. This represents the set of tourists whose cumulative stay duration in the current time slice does not meet the rules for cumulative stay duration. This indicates that blacklisted tourists are gathering. This indicates the time corresponding to the current time slice. Indicates the opening time of the scenic area. This indicates the closing time of the scenic area, and |.| represents the number of elements in the set. This indicates the subtraction of sets.

[0046] The formula for calculating the total number of tourists on a given day is:

[0047] ;

[0048] in, This indicates the total number of visitors for the current slice on that day.

[0049] Total number of tourists The calculation formula is:

[0050] .

[0051] Furthermore, this invention also proposes a system for real-time monitoring of tourist flow in scenic areas based on operator location service data, comprising:

[0052] The base station determination module is used to acquire and merge all anonymized 2G, 4G and 5G base station signaling data in real time to obtain the base station where all tourists are currently located.

[0053] The cumulative stay duration acquisition module is used to select the visitor flow monitoring range of the scenic area on the map, and select all base stations included in the visitor flow monitoring range based on the base station list provided by the telecommunications operator, and calculate the cumulative stay duration of all tourists in the scenic area in real time.

[0054] The total number of visitors module is used to calculate the total number of visitors based on the cumulative length of stay, according to the park's opening and closing rules, blacklist rules, and cumulative length of stay rules.

[0055] Furthermore, the present invention also proposes an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the computer program to implement the steps of the method for real-time monitoring of scenic area visitor flow based on operator location service data.

[0056] Furthermore, the present invention also proposes a computer-readable storage medium storing a computer program, which, when executed by a processor, performs the aforementioned method for real-time monitoring of tourist flow in scenic areas based on operator location service data.

[0057] Compared with the prior art, the present invention, employing the above technical solution, has the following technical effects:

[0058] 1. This invention integrates 2G, 4G and 5G signaling data to achieve real-time acquisition of full user location information, breaking the problems of data fragmentation and one-sidedness in traditional passenger flow monitoring methods.

[0059] 2. This invention adopts a real-time computing architecture that updates tourist location information every two minutes, which not only ensures the real-time nature and efficiency of the data, but also takes into account the data delay problem in the actual production process, thus meeting the real-time passenger flow monitoring needs in scenarios such as emergency response.

[0060] 3. This invention dynamically constructs a tourist flow statistics model by calculating the cumulative time each tourist spends in the scenic area in real time, and combining the scenic area's opening and closing rules, blacklist rules, and tourist stay duration rules. It also calculates real-time and cumulative tourist flow, thereby improving the accuracy and flexibility of tourist flow monitoring. Attached Figure Description

[0061] Figure 1 This is a flowchart illustrating the overall implementation of the present invention.

[0062] Figure 2 This is a comparison chart of the real-time passenger flow monitoring results and the gate data in Embodiment 1 of the present invention.

[0063] Figure 3 This is a comparison chart of the real-time passenger flow monitoring results and the gate data in Embodiment 2 of the present invention. Detailed Implementation

[0064] The present invention will be further described below with reference to the accompanying drawings. The following embodiments are only used to more clearly illustrate the technical solution of the present invention, and should not be used to limit the scope of protection of the present invention.

[0065] To achieve the above objectives, this invention proposes a method for real-time monitoring of visitor flow in scenic areas based on operator location service data, such as... Figure 1 As shown, the specific steps are as follows:

[0066] S1. By establishing data service cooperation with telecommunications operators, the system directly and in real time obtains and merges all anonymized 2G, 4G and 5G base station signaling data to obtain the current base station where all tourists are located; the base station signaling data includes encrypted mobile phone numbers, reporting base stations and reporting times.

[0067] Since a single mobile phone number may report multiple signaling data points within two minutes, and these data points may belong to different base stations (possibly due to changes in the tourist's location or a ping-pong effect), it is necessary to select the most suitable base station as the current user's latest base station. Therefore, every two minutes, all acquired base station signaling data is grouped by encrypted mobile phone numbers. First, the priority order is 5G > 4G > 2G (5G base stations have a smaller range and more precise location), and then the order is based on the later the time, which is the higher the priority. The base station signaling data in each group is then prioritized to complete the fusion of base station signaling data. The base station signaling data with the highest priority within two minutes is used to update the current location information of all tourists, thus obtaining the current base station where all tourists are located.

[0068] Base station signaling data is defined as the information data exchanged between a base station and a user's mobile phone to establish, maintain, or terminate a communication connection. Base station signaling data records timestamps and base station identifiers for user mobile phone location updates, calls, internet access, and other activities, serving as crucial evidence for tracking user location.

[0069] Tourists are defined as people who visit a scenic spot for a certain duration but are not permanent residents.

[0070] S2. Select the visitor flow monitoring range of the scenic area on the map, and based on the azimuth angle, height and downtilt angle information of the base stations provided by the operator, remove the base stations within the base station coverage area that are not within the selected visitor flow monitoring range, obtain the data source of the base station signaling data, and select all base stations included in the visitor flow monitoring range.

[0071] S3. Real-time calculation of the total duration of stay for all visitors in the scenic area; specific details are as follows:

[0072] To perform time-dimensional data analysis and processing, the continuous timeline is divided into several segments of equal length. Based on the base station selected in step S2, starting from 0:00 on the same day, the signaling data of the current tourist base station covered by the base station is obtained at every time slice; one time slice is ten minutes.

[0073] The design includes a status table that contains the number of consecutive slices, the cumulative number of slices, and the cumulative duration of stay for each time slice. The current time slice includes all historical visitor information for that day.

[0074] Compare the status table of the current time slice with the status table of the previous time slice to calculate the cumulative stay duration of tourists up to the current time slice; the specific content is as follows:

[0075] (1) Regarding the number of consecutive slices

[0076] If a visitor did not exist in the previous time slice but exists in the current time slice, the consecutive slice count is 1; if a visitor existed in both the previous and current time slices, the consecutive slice count is incremented by 1; if a visitor existed in the previous time slice but does not exist in the current time slice, the consecutive slice count is decremented by 1.

[0077] (2) Regarding the cumulative number of slices

[0078] a. When a tourist exists in the current time slice, check if the location reporting time has changed. If the location reporting time has not changed, it means that the tourist has not updated any new data. The old data from the previous time slice will be used. This may be because the device is turned off or the signal is blocked. In this case, the cumulative slice count is incremented by 1. If the location reporting time has changed, the cumulative slice count is 1.

[0079] b. If the tourist does not exist in the current time slice, the cumulative slice count is 0.

[0080] (3) Regarding the cumulative length of stay

[0081] a. If the current time slice is before the park's opening time, the cumulative stay duration is 0;

[0082] b. If the number of consecutive slices is 1, then the cumulative dwell time is:

[0083] ;

[0084] in, This indicates the cumulative dwell time of the current time slice. This indicates the cumulative dwell time of the previous time slice;

[0085] c. If the number of consecutive slices is -1, the cumulative dwell time remains unchanged;

[0086] d. If the number of consecutive slices is incremented by 1, then determine the cumulative number of slices:

[0087] When 1 < current cumulative slice count ≤ 5, the cumulative dwell time is:

[0088] ;

[0089] When the current cumulative number of slices is greater than 5, the cumulative dwell time remains unchanged;

[0090] The current cumulative slice count is 1. When the previous cumulative slice count was >5, the cumulative dwell time was:

[0091] ;

[0092] in, This represents the cumulative number of slices from the previous time slice;

[0093] The current cumulative slice count is 1. When the previous cumulative slice count was ≤5, the cumulative dwell time was:

[0094] .

[0095] S4. Based on the cumulative length of stay, the total number of visitors is calculated according to the scenic area's opening and closing rules, blacklist rules, and cumulative length of stay rules. Specific details are as follows:

[0096] The rules for opening and closing of scenic areas are as follows: Scenic areas with opening and closing times and controlled entrances and exits are classified as closed scenic areas, and their opening and closing times are set according to the time set by the scenic area; scenic areas without opening and closing times and with free access are classified as open scenic areas, and their opening and closing times are set from 00:00 to 23:59.

[0097] The blacklist rules are as follows: staff members and residents are added to the blacklist and cannot be identified as tourists. Specifically, users who have stayed in the scenic area for at least 3 hours between 00:00 and 06:00 for at least 5 days in the past 15 days are considered staff members; users who have stayed in the scenic area for at least 3 hours between 09:00 and 18:00 for at least 5 days in the past 15 days are considered residents. Each scenic area has its own unique blacklist rules.

[0098] The rules for the cumulative length of stay for tourists are as follows: Based on factors such as the scenic area's carrying capacity, whether it is a closed scenic area, and whether overnight stays are allowed, the cumulative length of stay for tourists in the scenic area must meet the following range:

[0099] The cumulative stay time for enclosed scenic areas with low carrying capacity is set at 30-300 minutes, and the cumulative stay time for enclosed scenic areas with high carrying capacity is set at 60-300 minutes; the cumulative stay time for enclosed scenic areas that can accommodate overnight guests (with hotel or guesthouse accommodation facilities) is set at ≥60 minutes (without upper limit), and the cumulative stay time for open scenic areas that can accommodate overnight guests (with camping / accommodation facilities, nighttime security and lighting meeting standards) is set at ≥60 minutes (without upper limit).

[0100] Among them, when the instantaneous maximum carrying capacity of a scenic spot is ≤10,000 people, the scenic spot is a low carrying capacity scenic spot; when the instantaneous maximum carrying capacity of a scenic spot is >10,000 people, the scenic spot is a high carrying capacity scenic spot.

[0101] The formula for calculating the total number of tourists in real time is:

[0102] ;

[0103] in, This represents the total number of tourists in the current time slice. This represents the set of tourists in the current time slice. This represents the set of tourists whose consecutive slice count in the current time slice is -1. This represents the set of tourists whose cumulative stay duration in the current time slice does not meet the rules for cumulative stay duration. This indicates that blacklisted tourists are gathering. This indicates the time corresponding to the current time slice. Indicates the opening time of the scenic area. This indicates the closing time of the scenic area, and |.| represents the number of elements in the set. This indicates the subtraction of sets.

[0104] The formula for calculating the total number of tourists on a given day is:

[0105] ;

[0106] in, This indicates the total number of visitors for the current slice on that day.

[0107] Total number of tourists The calculation formula is:

[0108] .

[0109] Example 1:

[0110] The selected scenic area is a national 4A-level tourist attraction in Nanjing, which experiences high visitor traffic during holidays, making it representative and persuasive. This 4A-level tourist attraction is a closed-off area with turnstiles, ensuring the reliability of the data and making it a suitable data source for comparison.

[0111] The rule for determining the cumulative stay time of tourists at a national 4A-level tourist attraction in Nanjing is as follows: users whose cumulative stay falls within the range of [30 min, 300 min] are considered tourists. The data comparison date was January 30, 2025 (the second day of the Lunar New Year). The real-time passenger flow monitoring results and gate data obtained by this invention are shown in Table 1.

[0112] Table 1. Real-time passenger flow monitoring results and gate data obtained by this invention in a national 4A-level tourist attraction in Nanjing.

[0113]

[0114] As can be seen from Table 1, for most of the time period, the real-time passenger flow monitoring results obtained by this invention are quite close to the real-time passenger flow data from the turnstiles, and the cumulative passenger flow also shows a similar growth trend. Although there are certain differences at some time points (such as 12:00, 13:00, etc.), considering the complexity of passenger flow monitoring and the real-time requirements, these differences are within an acceptable range.

[0115] Figure 2This is a comparison chart of real-time passenger flow monitoring results obtained using this invention and gate data for a national 4A-level tourist attraction in Nanjing. The blue line represents the real-time passenger flow obtained by this invention, the yellow line represents the real-time passenger flow obtained by the gates, the orange line represents the cumulative passenger flow obtained by this invention, and the green line represents the cumulative passenger flow obtained by the gates. Figure 2 As can be seen, the curve trend of the real-time passenger flow monitoring results obtained by this invention is basically consistent with the gate data, and can reflect the changing trend of passenger flow in a national 4A-level tourist attraction in Nanjing. Especially during peak passenger flow periods (such as 10:00-16:00), the real-time passenger flow monitoring results obtained by this invention are highly consistent with the gate data, further verifying the accuracy and reliability of the method proposed in this invention.

[0116] After comparing Table 1 and Figure 2 The following conclusions can be drawn: The method proposed in this invention has been effectively verified in a national 4A-level tourist attraction in Nanjing City. It can accurately and in real time monitor the visitor flow of the scenic area, providing strong support for the operation management and emergency response of the scenic area.

[0117] Example 2:

[0118] The chosen site is a national 5A-level tourist attraction in Suzhou, which experiences high visitor traffic during holidays, making it representative and persuasive. This 5A-level tourist attraction in Suzhou is a closed-off area with turnstiles, ensuring the reliability of the data and making it a suitable data source for comparison.

[0119] The rule for determining the cumulative stay time of tourists at a national 5A-level tourist attraction in Suzhou is as follows: users whose cumulative stay falls within the range of [30 min, 300 min] are considered tourists. The data comparison date was January 30, 2025 (the second day of the Lunar New Year). The real-time passenger flow monitoring results and gate data obtained by this invention are shown in Table 2.

[0120] Table 2. Real-time passenger flow monitoring results and gate data obtained by this invention in a national 5A-level tourist attraction in Suzhou.

[0121]

[0122] As shown in Table 2, the real-time passenger flow monitoring results obtained by this invention are consistent with the gate data for most of the time periods, and the cumulative passenger flow also shows a similar cumulative trend. Especially during periods of relatively stable passenger flow (e.g., 08:00-11:00), the real-time passenger flow monitoring results obtained by this invention are almost identical to the gate data. Although there is a certain difference during peak passenger flow periods (e.g., 15:00-16:00), considering that a certain national 5A-level tourist attraction in Suzhou is a popular destination with complex and variable passenger flow, this difference is within an acceptable range.

[0123] Figure 3 This is a comparison chart of real-time passenger flow monitoring results obtained using this invention and gate data for a national 5A-level tourist attraction in Suzhou. The blue line represents the real-time passenger flow obtained by this invention, the yellow line represents the real-time passenger flow obtained by the gates, the orange line represents the cumulative passenger flow obtained by this invention, and the green line represents the cumulative passenger flow obtained by the gates. Figure 3 As can be seen, the curve trend of the real-time passenger flow monitoring results obtained by this invention is highly consistent with the gate data, especially during peak and off-peak periods, accurately reflecting the changing trend of passenger flow in a national 5A-level tourist attraction in Suzhou. This further verifies the accuracy and stability of this invention in complex passenger flow environments.

[0124] After comparing Table 2 and Figure 3 The following conclusions can be drawn: The method proposed in this invention has also been effectively verified in a national 5A-level tourist attraction in Suzhou City. It can accurately and in real time monitor the visitor flow of the scenic area, providing a reliable basis for the operation and management of the scenic area and tourism decision-making.

[0125] Based on the comparison results of the two representative scenic spots, the method proposed in this invention can accurately monitor the real-time and cumulative passenger flow within a region.

[0126] This invention also proposes a real-time tourist flow monitoring system for scenic areas based on operator location service data, including a base station determination module, a cumulative stay duration acquisition module, a total tourist volume statistics module, and a computer program that can run on a processor. It should be noted that each module in the above system corresponds to a specific step of the method provided in this invention embodiment, possessing the corresponding functional modules and beneficial effects for executing the method. Technical details not described in detail in this embodiment can be found in the method provided in this invention embodiment.

[0127] This invention also proposes an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor. It should be noted that when the processor executes the computer program, it corresponds to the specific steps of the method provided in this invention, possessing the corresponding functional modules and beneficial effects for executing the method. Technical details not described in detail in this embodiment can be found in the method provided in this invention.

[0128] This invention also proposes a computer-readable storage medium storing a computer program. It should be noted that when the computer program is executed by a processor, it corresponds to the specific steps of the method provided in this invention, possessing the corresponding functional modules and beneficial effects for executing the method. Technical details not described in detail in this embodiment can be found in the method provided in this invention.

[0129] The above description is only a preferred embodiment of the present invention. It should be noted that for those skilled in the art, several improvements and modifications can be made without departing from the technical principles of the present invention, and these improvements and modifications should also be considered within the scope of protection of the present invention.

Claims

1. A method for real-time monitoring of visitor flow in scenic areas based on operator location service data, characterized in that, include: S1. Obtain and merge all de-identified 2G, 4G and 5G base station signaling data in real time to obtain the base station where all tourists are currently located. Specifically: Base station signaling data includes encrypted mobile phone numbers, reporting base stations, and reporting times; Every two minutes, all acquired base station signaling data is grouped by encrypted mobile phone number. First, the priority order is 5G>4G>2G, and then the order is the later the time, the higher the priority. The base station signaling data in each group is prioritized to complete the fusion of base station signaling data. The base station signaling data with the highest priority within two minutes is taken to update the current location information of all tourists to obtain the current base station where all tourists are located. S2. Circle the visitor flow monitoring area of ​​the scenic area on the map, and select all base stations included in the visitor flow monitoring area according to the base station list provided by the telecommunications operator. S3. Real-time calculation of the total stay time of all tourists in the scenic area; Specifically: Based on the base station selected in step S2, starting from 0:00 on the same day, the signaling data of the current tourist base station covered by the base station is obtained in slices at every time interval; Design a status table that includes the number of consecutive slices, the cumulative number of slices, and the cumulative stay duration for each time slice. The current time slice includes all historical visitor information for that day. Compare the status table of the current time slice with the status table of the previous time slice to calculate the cumulative stay of tourists up to the current time slice; The specific content is as follows: (1) Number of consecutive slices If a tourist did not exist in the previous time slice but exists in the current time slice, the consecutive slice count is 1; if a tourist existed in the previous time slice and also exists in the current time slice, the consecutive slice count is incremented by 1. If a tourist existed in the previous time slice but not in the current time slice, then the number of consecutive slices is -1. (2) Cumulative number of slices a. When a tourist exists in the current time slice, check if the location reporting time has changed. If the location reporting time has not changed, it means that the tourist has not updated any new data, and the old data from the previous time slice is used. Then the cumulative slice count is incremented by 1. If the location reporting time has changed, the cumulative slice count is 1. b. If the visitor does not exist in the current time slice, the cumulative slice count is 0; (3) Cumulative duration of stay a. If the current time slice is before the park's opening time, the cumulative stay duration is 0; b. If the number of consecutive slices is 1, then the cumulative dwell time is: ; in, This indicates the cumulative dwell time of the current time slice. This indicates the cumulative dwell time of the previous time slice. This represents the duration of a time slice; c. If the number of consecutive slices is -1, the cumulative dwell time remains unchanged; d. If the number of consecutive slices is incremented by 1, then determine the cumulative number of slices: When 1 < current cumulative slice count ≤ 5, the cumulative dwell time is: ; When the current cumulative number of slices is greater than 5, the cumulative dwell time remains unchanged; The current cumulative slice count is 1. When the previous cumulative slice count was >5, the cumulative dwell time was: ; in, This represents the cumulative number of slices from the previous time slice; The current cumulative slice count is 1. When the previous cumulative slice count was ≤5, the cumulative dwell time was: ; S4. Based on the cumulative stay time, the total number of tourists is calculated according to the park's opening and closing rules, blacklist rules, and cumulative stay time rules.

2. The method for real-time monitoring of scenic area visitor flow based on operator location service data according to claim 1, characterized in that, In step S2, based on the azimuth angle, altitude, and downtilt angle information of the base stations provided by the operator, base stations within the coverage area that are not within the selected passenger flow monitoring range are removed, thus obtaining the data source of the base station signaling data.

3. The method for real-time monitoring of scenic area visitor flow based on operator location service data according to claim 1, characterized in that, A time slice is ten minutes long.

4. The method for real-time monitoring of scenic area visitor flow based on operator location service data according to claim 1, characterized in that, In step S4, the opening and closing rules of the scenic area are as follows: For scenic areas with opening and closing times and entrances and exits that need to be controlled, they are set as closed scenic areas, and the opening and closing times are set according to the time set by the scenic area; For scenic areas without opening and closing times and with free access, they are set as open scenic areas, and the opening and closing times of the open scenic areas are 00:00-23:

59. The blacklist rules are as follows: staff members and residents are added to the blacklist and cannot be identified as tourists; among them, users who have stayed in the scenic area for m hours on at least h days in the past n days are staff members; users who have stayed in the scenic area for k hours on at least h days in the past n days are residents; where h < n; The rules for the cumulative stay time of tourists are as follows: the cumulative stay time for enclosed scenic spots with low carrying capacity is set at 30-300 minutes, and the cumulative stay time for enclosed scenic spots with high carrying capacity is set at 60-300 minutes; the cumulative stay time for enclosed scenic spots with hotel or guesthouse accommodation is set at ≥60 minutes, and the cumulative stay time for open scenic spots with camping / accommodation facilities, nighttime security and lighting is set at ≥60 minutes. Among them, when the instantaneous maximum carrying capacity of a scenic spot is ≤10,000 people, the scenic spot is a low carrying capacity scenic spot; when the instantaneous maximum carrying capacity of a scenic spot is >10,000 people, the scenic spot is a high carrying capacity scenic spot. The formula for calculating the total number of tourists in real time is: ; in, This represents the total number of tourists in the current time slice. This represents the set of tourists in the current time slice. This represents the set of tourists whose consecutive slice count in the current time slice is -1. This represents the set of tourists whose cumulative stay duration in the current time slice does not meet the rules for cumulative stay duration. This indicates that blacklisted tourists are gathering. This indicates the time corresponding to the current time slice. Indicates the opening time of the scenic area. This indicates the closing time of the scenic area, and |.| represents the number of elements in the set. This represents the subtraction of sets; The formula for calculating the total number of tourists on a given day is: ; in, This indicates the total number of visitors for the current slice on that day; Total number of tourists The calculation formula is: 。 5. A system applied to the real-time monitoring method for scenic area visitor flow based on operator location service data as described in claim 1, characterized in that, include: The base station determination module is used to acquire and fuse all de-identified 2G, 4G and 5G base station signaling data in real time to obtain the base station where all tourists are currently located. The cumulative stay duration acquisition module is used to select the visitor flow monitoring range of the scenic area on the map, and select all base stations included in the visitor flow monitoring range according to the base station list provided by the telecommunications operator, and calculate the cumulative stay duration of all tourists in the scenic area in real time. The total number of visitors module is used to calculate the total number of visitors based on the cumulative length of stay, according to the park's opening and closing rules, blacklist rules, and cumulative length of stay rules.

6. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that, When the processor executes the computer program, it implements the steps of the scenic area visitor flow real-time monitoring method based on operator location service data as described in any one of claims 1 to 4.

7. A computer-readable storage medium storing a computer program, characterized in that, The computer program, when executed by the processor, performs the real-time monitoring method for tourist flow in scenic areas based on operator location service data, as described in any one of claims 1 to 4.