Method and device for managing people flow in park based on positioning and geo-fencing technology
By adopting management methods based on positioning and geofencing technology in the park, the problem that existing systems are difficult to accurately monitor and predict the distribution of people within the park is solved, and timely discovery and processing of densely populated areas is achieved, which improves the accuracy of traffic forecasting and reduces the risk of safety accidents.
Patent Information
- Application Number
- CN202510183847.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-02-19
- Publication Date
- 2025-05-16
AI Technical Summary
The existing park abortion management system is difficult to accurately track and predict the distribution of people in various areas within the park, making it difficult to detect and deal with densely populated areas in a timely manner, affecting the accuracy of prediction and increasing the risk of safety accidents.
The management method based on positioning and geofencing technology is adopted, and the hot spot information of the user's equipment is obtained to match the preset hot spot table, the area where the user is located is determined, and the number of equipment in the area is counted to calculate the traffic density. When the traffic density exceeds the preset capacity, send early warning information and dynamically adjust the electronic fence area.
Accurate monitoring and prediction of the flow distribution in various areas in the park is achieved, the accuracy of flow prediction is improved, and areas with dense flow are detected and handled in a timely manner, reducing the risk of safety accidents.
Smart Images

Figure CN120018059A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of park human flow management, and specifically to a method and device for managing park human flow based on positioning and geographic fencing technology. Background Art
[0002] With the rapid development of Internet of Things (IoT) and mobile Internet technology, the construction of smart parks has become the focus of the industry. Among them, efficient crowd management and monitoring system within the park is the core element to ensure the smooth operation of the smart park. At present, many parks still rely mainly on traditional passive access control systems for crowd management. The system implements a strict identity authentication procedure to allow verified personnel to enter the park, and counts the number of successful identity authentications based on this, and uses this data as the basis for predicting the overall flow of people in the park.
[0003] However, once a person successfully passes through the access control system and enters the park, his subsequent mobility behavior, that is, movement between different areas in the park according to personal needs or work needs, is difficult to effectively track and accurately predict. This situation has led to the current system being able to roughly estimate the overall flow of people in the park based on the frequency of successful identity authentication at the access control point, but unable to accurately grasp the distribution of people flow in each specific area within the park. When there is an excessive gathering of people in a specific area within the park, this may not only increase the risk of safety accidents, but also cause deviations in the prediction results of the flow of people in the park, affecting the accuracy of the prediction.
[0004] Therefore, there is an urgent need for a method and device for managing the flow of people in a park based on positioning and geographic fencing technology that can solve the above-mentioned technical problems. Summary of the invention
[0005] The present application provides a method and device for managing the flow of people in a park based on positioning and geo-fencing technology. This method can solve the problem that the current system can only roughly estimate the overall flow of people in the park by relying on the frequency of successful identity authentication at the access control, but cannot accurately grasp the distribution of people flow in each specific area of the park, thereby improving the accuracy of the prediction.
[0006] In a first aspect, the present application provides a method for managing the flow of people in a park based on positioning and geo-fencing technology, the method comprising: obtaining hotspot information of a first device worn by a first user, the hotspot information being information of available hotspots to which the first device can connect at a first position, the hotspot information including a hotspot name and signal strength information, the first position being the current position of the first user in the park; determining whether there is hotspot information in a preset hotspot table, the preset hotspot table being a collection of hotspots corresponding to a first area, the first area being any area to be monitored in the park; when there is hotspot information in the preset hotspot table, obtaining a second position, the second position being the position of the first device in the first area; summarizing the second position into a target position set, the target position set being a set corresponding to the devices appearing in the first area; obtaining a first number, the first number being the total number of second positions in the target position set; determining whether the first number is less than or equal to a preset first number, the preset first number being the number of people that can be accommodated in the first electronic fence area, the first electronic fence area being the area obtained by geo-fencing the first area; if the first number is greater than the preset first number, determining that the first electronic fence area is in a crowded state, and sending the crowded state to the second user so that the second user can process the first area according to the crowded state.
[0007] By adopting the above technical solution, the hotspot information of the current location of the first user is obtained in real time based on the first device, and the obtained hotspot information is matched with the preset hotspot table. Based on the matching, the specific area where the first user is currently located can be determined. Once the area where the first user is located is determined, the second location of the first user in the first area is further obtained, and the second location is summarized into the target location set. The number of devices in the target location set, that is, the first number, can be counted, and the density of people in each area can be accurately calculated. The geographical fence layout is performed on each area in the park, and the first electronic fence area is obtained. The number of people that can be accommodated corresponding to the first electronic fence area (the preset first number) is obtained. When the first number is greater than the preset first number, it is judged that the first area is in a densely populated state, and an early warning message is sent to the second user (such as the park manager, security personnel, etc.). Real-time tracking and accurate statistics of the distribution of people in each area of the park can significantly improve the prediction accuracy of the park's human flow, timely discover and deal with densely populated areas, and help reduce the risk of safety accidents.
[0008] Optionally, after determining whether the first number is less than or equal to a preset first number, the method also includes: when the first number is less than or equal to the preset first number, determining that the first electronic fence area is in a normal crowd flow state; obtaining a target time point according to the normal crowd flow state, establishing a corresponding relationship between the target time point and the normal crowd flow state, and storing the corresponding relationship in a database.
[0009] By adopting the above technical solution, the first number is compared with the preset first number. When the first number is less than or equal to the preset first number, it can be automatically identified that the first area is in a normal state of passenger flow. This detailed management helps managers to understand the passenger flow conditions in various areas of the park more accurately, establish a corresponding relationship between the target time point and the normal state of passenger flow, and store this relationship in the database, providing a basis for subsequent data recording and analysis.
[0010] Optionally, when the first number is less than or equal to the preset first number, after determining that the first electronic fence area is in a normal state of pedestrian flow, the method also includes: determining that an abnormal situation has occurred in the park at a preset time interval, and determining a second area based on the abnormal situation; obtaining third location information of the second area, and sending evacuation prompt information to the second device, so that a third user can view the evacuation prompt information through the second device and evacuate according to the evacuation route. The second device is the device currently located at the third location information.
[0011] By adopting the above technical solution, the park is monitored based on the preset interval time, and abnormal situations can be discovered and responded to in a timely manner. Once an abnormal situation is determined in the park, the affected second area can be quickly determined and immediate action can be taken. The third location information of the second area is obtained, that is, the precise location of the device (i.e., the user) currently located in the area. Based on this information, evacuation prompt information can be sent to these devices to guide users to evacuate according to the preset evacuation route. This precise positioning and evacuation prompt function can significantly improve evacuation efficiency and reduce casualties.
[0012] Optionally, obtain the fourth location information of the third area from the park, and obtain the fifth location information of the fourth area; obtain the first distance and the second distance, the first distance being the distance between the fourth location information and the third location information, and the second distance being the distance between the fifth location information and the third location information; compare the first distance with the second distance; when the first distance is smaller than the second distance, give priority to evacuating people in the third area; when the first distance is larger than the second distance, give priority to evacuating people in the fourth area.
[0013] By adopting the above technical solution, the first distance between the third area and the third position information is obtained, and the second distance between the fourth area and the third position information is obtained, and it is intelligently determined which area's personnel are closer to the third position. The area close to the third position can be evacuated first, so that the closest personnel can be transferred to a safe area in the shortest time, thereby improving the overall evacuation efficiency, reducing the time spent in dangerous areas, and reducing the risk of injury or further danger.
[0014] Optionally, after comparing the first distance with the second distance, the method also includes: when the first distance is equal to the second distance, obtaining a second number corresponding to the third area, and obtaining a third number corresponding to the fourth area; when the second number is greater than the third number, giving priority to evacuating people in the third area; when the second number is less than the third number, giving priority to evacuating people in the fourth area.
[0015] By adopting the above technical solution, when the third area and the fourth area are at the same distance from the third position, the number of people in the two areas (i.e., the second number and the third number) are compared to make an evacuation decision. Prioritizing the evacuation of areas with a larger number of people helps to reduce the chaos that may be caused by the dense population in the area, and also reduces the risk of increased waiting for evacuation for a long time.
[0016] Optionally, if the first number is greater than the preset first number, after determining that the first electronic fence area is in a crowded state, the method also includes: obtaining the difference between the first number and the preset first number; judging whether the difference is less than or equal to the preset difference; when the difference is less than or equal to the preset difference, adjusting the first electronic fence area corresponding to the first area to a second electronic fence area, the area of the second electronic fence area is greater than the area of the first electronic fence; judging whether the first number is less than or equal to the preset second number, the preset second number is the number of people that the second electronic fence area can accommodate; when the first number is less than or equal to the preset second number, determining that the second electronic fence area is in a normal state of traffic.
[0017] By adopting the above technical solution, the difference between the first number (the number of people in the first area) and the preset first number (the number of people that the first electronic fence area can accommodate) can be calculated, and it can be determined whether the difference is less than or equal to the preset difference, and it can be intelligently identified whether the first area is about to reach or has exceeded its capacity limit. Once this situation is identified, the first electronic fence area will be automatically adjusted to a second electronic fence area with a larger area to accommodate the increase in the flow of people. The ability to dynamically adjust the electronic fence area makes the flow of people management more flexible and accurate.
[0018] Optionally, after determining whether the difference is less than or equal to a preset difference, the method further includes: when the difference is greater than the preset difference, inputting the first quantity into a preset evacuation database for query to obtain a target evacuation plan; sending the target evacuation plan to the second user so that the second user goes to the first area to evacuate personnel according to the target evacuation plan.
[0019] By adopting the above technical solution, when the difference between the first number and the preset first number is greater than the preset difference, it indicates that the flow of people in the first area has significantly exceeded its normal capacity, and there is a safety hazard. The first number is immediately entered into the preset evacuation database for query, and the target evacuation plan for the situation can be quickly obtained, so as to respond to the problem of overload of people in a timely manner. Once the target evacuation plan is determined, it can be immediately sent to the second user responsible for evacuation work, so that the second user can quickly understand the specific content of the evacuation plan, including key information such as evacuation route, evacuation order, and assembly point, so as to quickly guide the evacuation of personnel.
[0020] In a second aspect of the present application, a device for managing the flow of people in a park based on positioning and geographic fencing technology is provided, the device comprising an acquisition unit, a processing unit and a sending unit, the acquisition unit acquires hotspot information of a first device worn by a first user, the hotspot information is available hotspot information to which the first device can connect at a first position, the hotspot information includes a hotspot name and signal strength information, and the first position is the current position of the first user in the park; the processing unit determines whether there is hotspot information in a preset hotspot table, the preset hotspot table is a collection of hotspots corresponding to a first area, and the first area is any area to be monitored in the park; when there is hotspot information in the preset hotspot table, a second position is acquired, and the second position The method comprises the following steps: determining a position of a first device in a first area; summarizing a second position into a target position set, wherein the target position set is a set corresponding to the devices appearing in the first area; obtaining a first number, wherein the first number is the total number of second positions in the target position set; determining whether the first number is less than or equal to a preset first number, wherein the preset first number is the number of persons that can be accommodated in the first electronic fence area, and the first electronic fence area is an area obtained by performing a geographic fence layout on the first area; and a sending unit, if the first number is greater than the preset first number, determining that the first electronic fence area is in a crowded state, and sending the crowded state to the second user so that the second user can process the first area according to the crowded state.
[0021] Optionally, the processing unit is used to determine that the first electronic fence area is in a normal crowd flow state when the first number is less than or equal to a preset first number; obtain the target time point according to the normal crowd flow state, establish a corresponding relationship between the target time point and the normal crowd flow state, and store the corresponding relationship in a database.
[0022] Optionally, the processing unit is used to determine at preset time intervals that an abnormal situation has occurred in the park, and determine the second area based on the abnormal situation; the acquisition unit is used to obtain third location information of the second area, and send evacuation prompt information to the second device, so that a third user can view the evacuation prompt information through the second device and evacuate according to the evacuation route. The second device is the device currently located at the third location information.
[0023] Optionally, the acquisition unit is used to obtain the fourth position information of the third area from the park, and obtain the fifth position information of the fourth area; obtain the first distance and the second distance, the first distance is the distance between the fourth position information and the third position information, and the second distance is the distance between the fifth position information and the third position information; the processing unit is used to compare the first distance with the second distance; when the first distance is smaller than the second distance, the personnel in the third area are evacuated first; when the first distance is greater than the second distance, the personnel in the fourth area are evacuated first.
[0024] Optionally, the acquisition unit is used to acquire the second number corresponding to the third area and the third number corresponding to the fourth area when the first distance is equal to the second distance; the processing unit is used to give priority to evacuating people in the third area when the second number is greater than the third number; and give priority to evacuating people in the fourth area when the second number is less than the third number.
[0025] Optionally, the acquisition unit is used to obtain the difference between the first number and the preset first number; the processing unit is used to determine whether the difference is less than or equal to the preset difference; when the difference is less than or equal to the preset difference, the first electronic fence area corresponding to the first area is adjusted to the second electronic fence area, and the area of the second electronic fence area is larger than the area of the first electronic fence; determine whether the first number is less than or equal to the preset second number, the preset second number is the number of people that the second electronic fence area can accommodate; when the first number is less than or equal to the preset second number, determine that the second electronic fence area is in a normal state of human flow.
[0026] Optionally, the processing unit is used to input the first quantity into a preset evacuation database for query to obtain a target evacuation plan when the difference is greater than a preset difference; the sending unit is used to send the target evacuation plan to the second user so that the second user goes to the first area to evacuate personnel according to the target evacuation plan.
[0027] In a third aspect of the present application, an electronic device is provided, which includes a processor, a memory, a user interface and a network interface, the memory is used to store instructions, the user interface and the network interface are used to communicate with other devices, and the processor is used to execute the instructions stored in the memory, so that an electronic device executes any one of the methods described above in the present application.
[0028] In a fourth aspect of the present application, a computer-readable storage medium is provided, wherein the computer-readable storage medium stores instructions, and when the instructions are executed, any one of the above methods of the present application is executed.
[0029] In summary, one or more technical solutions provided in the embodiments of the present application have at least the following technical effects or advantages: 1. Based on the first device, the hotspot information of the current location of the first user is obtained in real time, and the obtained hotspot information is matched with the preset hotspot table. Based on the match, the specific area where the first user is currently located can be determined. Once the area where the first user is located is determined, the second location of the first user in the first area is further obtained, and the second location is summarized into the target location set. The number of devices in the target location set, that is, the first number, can be counted, and the density of people in each area can be accurately calculated. The geographical fence layout is performed on each area in the park, and the first electronic fence area is obtained. The number of people that can be accommodated corresponding to the first electronic fence area (the preset first number) is obtained. When the first number is greater than the preset first number, it is judged that the first area is in a densely populated state, and an early warning message is sent to the second user (such as the park manager, security personnel, etc.). Real-time tracking and accurate statistics of the distribution of people in each area of the park can significantly improve the prediction accuracy of the park's human flow, timely discover and deal with densely populated areas, and help reduce the risk of safety accidents.
[0030] 2. When the difference between the first number and the preset first number is greater than the preset difference, it indicates that the flow of people in the first area has significantly exceeded its normal capacity, and there is a safety hazard. The first number is immediately entered into the preset evacuation database for query, and the target evacuation plan for the situation can be quickly obtained, so as to respond to the problem of overload of people in a timely manner. Once the target evacuation plan is determined, it can be immediately sent to the second user responsible for evacuation work, so that the second user can quickly understand the specific content of the evacuation plan, including key information such as evacuation route, evacuation order, and assembly point, so as to quickly guide the evacuation of personnel. BRIEF DESCRIPTION OF THE DRAWINGS
[0031] Figure 1 It is a flow chart of a method for managing park traffic based on positioning and geographic fencing technology provided in an embodiment of the present application; Figure 2 It is a structural schematic diagram of a device for managing park flow of people based on positioning and geographic fencing technology provided in an embodiment of the present application; Figure 3 It is a structural schematic diagram of an electronic device disclosed in an embodiment of the present application.
[0032] Explanation of reference numerals: 201, acquisition unit; 202, processing unit; 203, sending unit; 300, electronic device; 301, processor; 302, memory; 303, user interface; 304, network interface; 305, communication bus. DETAILED DESCRIPTION
[0033] In order to enable technicians in this field to better understand the technical solutions in this specification, the technical solutions in the embodiments of this specification will be clearly and completely described below in conjunction with the drawings in the embodiments of this specification. Obviously, the described embodiments are only part of the embodiments of this application, not all of the embodiments.
[0034] In the description of the embodiments of the present application, words such as "for example" or "for example" are used to indicate examples, illustrations or explanations. Any embodiment or design described as "for example" or "for example" in the embodiments of the present application should not be interpreted as being more preferred or more advantageous than other embodiments or designs. Specifically, the use of words such as "for example" or "for example" is intended to present related concepts in a specific way.
[0035] In the description of the embodiments of the present application, the meaning of the term "multiple" refers to two or more. For example, multiple systems refer to two or more systems, and multiple screen terminals refer to two or more screen terminals. In addition, the terms "first" and "second" are used for descriptive purposes only and cannot be understood as indicating or implying relative importance or implicitly indicating the indicated technical features. Thus, the features defined as "first" and "second" may explicitly or implicitly include one or more of the features. The terms "include", "comprise", "have" and their variations all mean "including but not limited to", unless otherwise specifically emphasized.
[0036] With the rapid development of Internet of Things (IoT) and mobile Internet technology, the construction of smart parks has become the focus of the industry. Among them, efficient crowd management and monitoring system within the park is the core element to ensure the smooth operation of the smart park. At present, many parks still rely mainly on traditional passive access control systems for crowd management. The system implements a strict identity authentication procedure to allow verified personnel to enter the park, and counts the number of successful identity authentications based on this, and uses this data as the basis for predicting the overall flow of people in the park.
[0037] However, once a person successfully passes through the access control system and enters the park, his subsequent mobility behavior, that is, movement between different areas in the park according to personal needs or work needs, is difficult to effectively track and accurately predict. This situation has led to the current system being able to roughly estimate the overall flow of people in the park based on the frequency of successful identity authentication at the access control point, but unable to accurately grasp the distribution of people flow in each specific area within the park. When there is an excessive gathering of people in a specific area within the park, this may not only increase the risk of safety accidents, but also cause deviations in the prediction results of the flow of people in the park, affecting the accuracy of the prediction.
[0038] Therefore, how to solve the problem that the current system can only roughly estimate the overall flow of people in the park by relying on the frequency of successful identity authentication at the access control, but cannot accurately grasp the distribution of people flow in each specific area of the park. The embodiment of the present application provides a method for managing the flow of people in the park based on positioning and geo-fencing technology, which is applied to the server. The server of the present application can be a platform that provides people flow monitoring services for smart parks, Figure 1 This is a flow chart of a method for managing park traffic based on positioning and geo-fencing technology provided in an embodiment of the present application. Figure 1 The method includes the following steps S101-S107.
[0039] S101: Acquire hotspot information of a first device worn by a first user, where the hotspot information is available hotspot information to which the first device can connect at a first location.
[0040] In the above S101, before monitoring the flow of people in the park, it is necessary to ensure that the user has entered the park. After entering the park, the user needs to turn on the device he is wearing, that is, to determine that the device is in normal use. The device includes a smart phone, a smart watch, etc. The first user is any user who has entered the park. Then, the hotspot information corresponding to the first device worn by the first user is obtained. When obtaining the hotspot information, the Wi-Fi function needs to be turned on and set to scan the surrounding available hotspots (Wi-Fi access points). The current position of the first user in the park, that is, the first position, is determined through the positioning function on the first device (such as GPS, base station positioning, Wi-Fi positioning, etc.). The first device scans and collects the available hotspot information that can be connected at the first position. This information includes the hotspot name (SSID) and signal strength (RSSI). The first position is the current position of the first user in the park. The first position is obtained to determine whether the first user is in the park. At this time, the first position is assumed to be in the park by default. After the first user enters the park, the first device can connect to the surrounding hotspot information based on the current position of the first user in the park.
[0041] S102: Determine whether there is hotspot information in a preset hotspot table, where the preset hotspot table is compiled by hotspots corresponding to the first area.
[0042] In the above S102, in order to better monitor the flow of people in each area of the park, the park can be divided into multiple areas, and then a hotspot access station is assigned to each area, and the hotspot access station just covers each area. It can be understood that one or more hotspot access stations are set for each area, and then a serial number or name is assigned to each hotspot access station according to the regional characteristics, so that the first user is currently in a certain area of the park according to the hotspot name information in the hotspot information. After determining that it is in a certain area, the actual position in the area is determined based on the signal strength. The hotspots corresponding to each area in the park can be summarized into a table, or it can be performed in a way that one area corresponds to one hotspot table. In order to facilitate the determination of the specific location of the first user in a certain area, the present application can set a hotspot table corresponding to one area, and by subdividing a certain area, multiple locations are obtained. The signal strength of the device connecting to the hotspot at different locations is different, and then the mapping relationship between the position and the hotspot signal strength is constructed, and the mapping relationship is recorded in the preset hotspot table. The preset hotspot table is formed by collecting the hotspots in the first area of the park, and the hotspot names in the first area are recorded in this table. The hotspot information collected by the first device is matched with the information in the preset hotspot table to determine whether there is the same hotspot information.
[0043] S103: When hotspot information exists in the preset hotspot table, a second position is obtained, where the second position is a position of the first device in the first area.
[0044] In the above S103, if the match is successful, it means that the hotspot currently connected to the first device is located in the first area, and then the signal strength in the hotspot information is used to query the preset hotspot table to query the specific location that has a mapping relationship with the signal strength, that is, the second location.
[0045] S104: Summarize the second location into a target location set, where the target location set is a set corresponding to devices appearing in the first area.
[0046] In the above S104, after determining that the first user is in the first area, the second location can be summarized into a target location set, which is a set for recording the location information of all devices (including the first device) that appear in the first area. The second location (i.e., the location of the first device in the first area) is added to the target location set. In accordance with the above method of recording the devices that appear in the first area into the target location set, other users in the park are located and checked in turn.
[0047] S105: Obtain a first quantity, where the first quantity is the total quantity of second positions in the target position set.
[0048] In the above S105, after determining that the locations of all devices in the park have been checked and the locations of each device have been summarized into different location sets, it is necessary to traverse the target location set and count the number of devices appearing in the first area, that is, the first number. The first number can also be understood as the total number corresponding to all locations in the target location set. Each second location (device location) corresponds to a number.
[0049] S106: Determine whether the first number is less than or equal to a preset first number, where the preset first number is the number of people that can be accommodated in the first electronic fence area.
[0050] In the above S106, after determining the first number corresponding to the first area, in order to better manage the flow of people in each area in the park, the geographical fence technology can be used to divide each area, thereby obtaining multiple electronic fence areas. First, the first electronic fence area corresponding to the first area is obtained, and then the preset first number corresponding to the first electronic fence area is obtained. At this time, the preset first number is the number of people that can be normally accommodated according to the area and building characteristics of the first electronic fence area, indicating the upper limit of the number of people that can be accommodated in the first electronic fence area. The first number is compared with the preset first number to determine whether the first number is less than or equal to the preset first number.
[0051] S107: If the first number is greater than the preset first number, it is determined that the first electronic fence area is in a crowded state, and the crowded state is sent to the second user so that the second user can process the first area according to the crowded state.
[0052] In the above S107, if the first number is greater than the preset first number, it means that the number of people in the first electronic fence area exceeds the accommodation capacity, and the area is in a crowded state. The information of the crowded state is sent to the second user (such as park management personnel, security personnel, etc.) through the communication system in the park (such as text messages, emails, APP push, etc.), so that they can handle the first area according to the crowded state (such as strengthening security, guiding the flow of people, etc.).
[0053] In addition, how to handle the dense crowd state to ensure the safety monitoring and personnel flow management of the park specifically includes: obtaining the difference between the first number and the preset first number; judging whether the difference is less than or equal to the preset difference; when the difference is less than or equal to the preset difference, adjusting the first electronic fence area corresponding to the first area to the second electronic fence area, the area of the second electronic fence area is larger than the area of the first electronic fence; judging whether the first number is less than or equal to the preset second number, the preset second number is the number of people that the second electronic fence area can accommodate; when the first number is less than or equal to the preset second number, determining that the second electronic fence area is in a normal crowd state. Specifically, it is necessary to collect the number of people in the current first area, which is recorded as the first number. This data can be obtained through the above-mentioned target location set. At the same time, obtain the preset first number, which is usually the number of people that the first area should accommodate under normal circumstances according to the first electronic fence area. Calculate the difference between the first number and the preset first number, which reflects the deviation between the current number of people and the preset standard. According to the security policy and management requirements of the park, set a preset difference, which is used to judge whether the deviation between the current number of people and the preset standard is within an acceptable range. The calculated difference is compared with the preset difference to determine whether the difference is less than or equal to the preset difference. If the difference is less than or equal to the preset difference, it means that although the current number of people is deviated, it is still within an acceptable range. However, in order to prevent the possible increase in the flow of people in the future, it is necessary to adjust the first electronic fence area (i.e., the currently set security monitoring area) to a larger second electronic fence area. According to the layout of the park, the flow of people and the safety requirements, the boundaries and range of the second electronic fence area are set to ensure that this area can accommodate more people and provide sufficient security monitoring. Obtain a preset second number, which is usually the maximum number of people that the second electronic fence area can accommodate under normal circumstances, and is set according to the safety regulations, spatial layout and personnel density requirements of the park. Compare the first number (i.e., the number of people in the current first area) with the preset second number to determine whether the first number is less than or equal to the preset second number. If the first number is less than or equal to the preset second number, it means that the current number of people in the second electronic fence area is within a safe and reasonable range, so it can be determined that the area is in a normal state of human flow. After confirming that the second electronic fence area is in a normal state of human flow, the park should continue to monitor the area for safety and record relevant information such as the number of people, time, and status for subsequent analysis and improvement. The size and range of the electronic fence area can be dynamically adjusted according to the deviation between the current number of people and the preset standard, ensuring that the park's safety monitoring and personnel flow management are more scientific and effective.
[0054] For example, if the first number is 60 people, the preset first number is set to 70 people, and the difference between the first number and the preset first number is obtained. At this time, the difference is 10 people. According to the actual situation in the park, the preset difference is set to 20 people. When the difference is less than the preset difference, the first electronic fence area can be adjusted to the second electronic fence area, that is, the first electronic fence area is expanded to the second electronic fence area, and the area of the first electronic fence area is adjusted so that the area of the second electronic fence area is larger than the first electronic fence area. Then obtain the preset second number corresponding to the second electronic fence area, and set the preset second number to 80 people. At this time, the first number is less than the preset second number, confirming that the first area is in a normal state of human flow.
[0055] Further, when the difference is greater than the preset difference, the first number is input into the preset evacuation database for query to obtain the target evacuation plan; the target evacuation plan is sent to the second user so that the second user can go to the first area to evacuate the personnel according to the target evacuation plan. Specifically, if the difference is greater than the preset difference, it means that the number of personnel in the current first area has exceeded the preset safety range, and emergency evacuation measures need to be taken. The preset evacuation database is a database that stores a variety of evacuation plans, which are pre-designed according to factors such as the number of personnel, regional characteristics, and the location of safe exits. Each evacuation plan in the database contains detailed information such as evacuation routes, assembly points, and evacuation sequences. The number of personnel in the current first area (i.e., the first number) is used as a query condition and input into the preset evacuation database. Based on the input first number, the database automatically matches and returns the most suitable evacuation plan as the target evacuation plan. Based on the multiple evacuation plans stored in the database, it is calculated by an algorithm to maximize the safety of personnel and evacuation efficiency. The second user is usually a person responsible for park safety management, emergency response, or evacuation command. They need to have the corresponding professional knowledge and emergency handling capabilities to make decisions quickly and command the evacuation of personnel in an emergency. The target evacuation plan obtained by the query is sent to the second user through appropriate communication methods (such as SMS, email, instant messaging software, internal communication system, etc.). Ensure that the second user can receive the evacuation plan in a timely and accurate manner and understand the specific content of the plan. After receiving the evacuation plan, the second user should confirm that the content of the plan has been received and understood. If necessary, you can communicate with the sender to ensure that the evacuation plan is understood accurately. After understanding and confirming the evacuation plan, the second user should quickly make preparations before evacuation. This includes confirming the safety of the evacuation route, preparing necessary evacuation tools and equipment, and coordinating evacuation actions with relevant departments or personnel. According to the instructions in the evacuation plan, the second user goes to the first area. During the process of going, you should maintain communication with the evacuation area to keep abreast of the latest situation in the area. After arriving at the first area, the second user begins to command the evacuation of people in the area according to the instructions such as the route, assembly point and evacuation sequence in the evacuation plan. During the evacuation process, you should pay close attention to the safety of the people and ensure that the evacuation action is carried out in an orderly manner. After all personnel have safely evacuated to the assembly point according to the evacuation plan, the second user should confirm that the evacuation operation has been completed. At this time, you can communicate with relevant departments or personnel to understand the overall situation of the evacuation operation and subsequent arrangements.
[0056] Furthermore, when the first number is less than or equal to the preset first number, it is determined that the first electronic fence area is in a normal state of human flow; the target time point is obtained according to the normal state of human flow, a corresponding relationship between the target time point and the normal state of human flow is established, and the corresponding relationship is stored in the database. Specifically, the first number (i.e., the number of devices in the first electronic fence area, representing the number of people) monitored in real time is compared with the preset first number (the upper limit of the number of people that the area can accommodate). If the first number is less than or equal to the preset first number, it can be determined that the current human flow state of the first electronic fence area is normal. While determining the normal state of human flow, it is necessary to record the current time point, i.e., the target time point. This time point can be a specific date and time, which is used to identify the time when the normal state of human flow occurs. The recorded target time point is associated with the determined normal state of human flow, and a corresponding relationship between them is established. This relationship can be expressed as "at XX time point, the human flow state of the first electronic fence area is normal". The established corresponding relationship is sorted to ensure the accuracy and completeness of the data. A suitable database system is selected to store the corresponding relationship data. This database system needs to have efficient data storage, query and update capabilities to meet subsequent data analysis and management requirements. It can realize real-time monitoring and recording of the flow of people in the first electronic fence area, and store the monitoring results in association with the time point, providing strong support for subsequent data analysis and management. For example, if the first number corresponding to the first area is 50 people, and the preset first number is set to 70 people, at this time the first number is less than the preset first number, it is assumed that the flow of people in the first area is in a normal state, and the flow of people in the first area continues to be monitored.
[0057] In a possible implementation, when an emergency occurs in a park, the flow of people in each area is monitored in real time, and evacuation information is sent to users to ensure that users evacuate safely according to the evacuation information sent, thereby improving the efficiency and accuracy of evacuation. Specifically, the following steps are performed: determining that an abnormal situation occurs in the park at a preset time interval, and determining a second area according to the abnormal situation; obtaining the third location information of the second area, and sending evacuation prompt information to a second device, so that a third user can view the evacuation prompt information through the second device and evacuate according to the evacuation route. The second device is the device currently located at the third location information. Specifically, a preset time interval is set according to the actual situation and safety requirements of the park. This time interval can be fixed, such as every hour, every half day or every day, or it can be dynamic and adjusted according to factors such as the activity arrangement and personnel flow of the park. When the preset time interval arrives, the abnormal monitoring system of the park is started. This system can include multiple aspects such as video surveillance, intrusion alarm, and environmental monitoring, and is used to monitor the safety status of the park in real time. The data and information collected by the abnormal monitoring system are combined with preset abnormal judgment rules and standards to analyze and judge whether an abnormal situation occurs in the park. Abnormal situations may include fire, gathering of people, equipment failure, etc. Once an abnormal situation is determined in the park, the specific location of the abnormality, i.e., the second area, is immediately determined through the monitoring system and positioning technology. This location can be a room, corridor, square, etc. in the park. The scope of the second area is delineated according to the nature and severity of the abnormal situation. This scope should be large enough to include all personnel and equipment that may be affected by the abnormality, while being as small as possible to reduce the impact on other areas of the park. The specific location information of all personnel and equipment currently in the second area is obtained through the positioning system and equipment tracking technology of the park, i.e., the third location information. This information may include the name of the personnel, equipment number, location coordinates, etc. According to the abnormal situation and evacuation plan of the second area, evacuation prompt information is compiled. This information should include important content such as the reason for evacuation, the direction of evacuation, and the assembly point for evacuation, so as to ensure that personnel can quickly and accurately understand the evacuation requirements. The evacuation prompt information is sent to the second devices (such as mobile phones, walkie-talkies, etc.) of all personnel currently in the second area through the communication system of the park. Ensure that the information can be conveyed to each person quickly and accurately so that they can take evacuation actions in time. After receiving the evacuation prompt information through the second device, the third user (i.e., the person in the second area) needs to carefully read and confirm the content and requirements of the information. According to the evacuation direction and assembly point in the evacuation prompt information, the third user needs to choose a suitable evacuation route. This route should be safe, fast, and avoid abnormal areas. After determining the evacuation route, the third user needs to immediately perform the evacuation action. During the evacuation process, you must remain calm and orderly to avoid accidents such as trampling and falling.At the same time, pay attention to changes in the surrounding environment so as to adjust the evacuation route and action strategy in time. Through clear evacuation prompt information and evacuation route selection, the efficiency and accuracy of evacuation can be improved, and casualties and property losses can be reduced.
[0058] Furthermore, in addition to sending evacuation prompt information to the device worn by the user, the priority of each area in the park can be assigned, and the personnel can be arranged for orderly evacuation according to the evacuation priority to ensure that the personnel can be evacuated to a safe area quickly and safely in an emergency, specifically including: obtaining the fourth position information of the third area from the park, and obtaining the fifth position information of the fourth area; obtaining the first distance and the second distance, the first distance is the distance between the fourth position information and the third position information, and the second distance is the distance between the fifth position information and the third position information; comparing the first distance with the second distance; when the first distance is less than the second distance, the personnel in the third area are evacuated first; when the first distance is greater than the second distance, the personnel in the fourth area are evacuated first. Specifically, according to the layout, functional zoning, and personnel distribution of the park, the third area and the fourth area that need to be paid attention to are determined. These areas may be specific departments, production lines, warehouses, etc. in the park. Using the positioning system or map service of the park, the fourth position corresponding to the third area (that is, the specific position coordinates of the third area) and the fifth position corresponding to the fourth area (that is, the specific position coordinates of the fourth area) are obtained. These location information can be latitude and longitude coordinates, relative location descriptions, or specific identification points in the park. After obtaining the fourth and fifth locations, use distance calculation algorithms or tools (such as distance measurement functions in geographic information systems GIS) to calculate the first distance between the fourth location and the current location of the personnel (i.e., the third location, assumed to be a known point, such as an evacuation assembly point, a safe exit, etc.), and the second distance between the fifth location and the third location. These distances can be straight-line distances, actual walking distances, or distances adjusted according to factors such as park roads and obstacles. Directly compare the recorded first distance and second distance to determine the size relationship between them. According to the comparison results, record which distance is smaller or larger, so as to subsequently decide which area of personnel to evacuate first. If the first distance is smaller than the second distance, it means that the personnel in the third area are closer to the evacuation assembly point or the safe exit, so the personnel in the third area are evacuated first. Issue evacuation instructions to the personnel in the third area, informing them of the evacuation direction, route, assembly point, etc. The personnel in the third area evacuate according to the evacuation instructions, and the safety management personnel or volunteers in the park should assist them in evacuating to a safe area quickly and orderly. If the second distance is less than the first distance, it means that the people in the fourth area are closer to the evacuation assembly point or the safe exit, so the people in the fourth area are evacuated first. Issue an evacuation order to the people in the fourth area, and inform them of the evacuation direction, route, and assembly point. The people in the fourth area evacuate according to the evacuation order, and the security managers or volunteers in the park should assist them in evacuating to a safe area quickly and orderly. For example, obtain the third area a and the fourth area b from the park, and obtain the fourth position corresponding to the third area a and the fifth position corresponding to the fourth area b.Then calculate the first distance between the fourth position and the third position. If the first distance is 50 meters, calculate the second distance between the fifth position and the third position. If the second distance is 40 meters, the first distance is greater than the second distance. By default, the people in the fourth area b are evacuated first.
[0059] Furthermore, when the first distance is equal to the second distance, the second number corresponding to the third area is obtained, and the third number corresponding to the fourth area is obtained; when the second number is greater than the third number, the personnel in the third area are evacuated first; when the second number is less than the third number, the personnel in the fourth area are evacuated first. Specifically, it is necessary to determine whether the first distance (the distance from the third area to the evacuation point) is equal to the second distance (the distance from the fourth area to the evacuation point). If the two are equal, proceed to the next step. Next, it is necessary to count the current number of people in the third area (i.e., the area corresponding to the fourth position), which is recorded as the second number. Similarly, the current number of people in the fourth area (i.e., the area corresponding to the fifth position) is counted, which is recorded as the third number. This is achieved by the above-mentioned method of obtaining the number of people appearing in the first area. The second number and the third number of records are compared to determine which area has more people. If the second number (the number of people in the third area) is greater than the third number (the number of people in the fourth area), it is decided to give priority to evacuating the personnel in the third area. An evacuation order is issued to the personnel in the third area, and information such as the direction, route, and assembly point of the evacuation is clearly stated. The people in the third area shall evacuate according to the evacuation instructions, and the security managers or volunteers in the park shall assist them to evacuate to the safe area quickly and orderly. If the second number (the number of people in the third area) is less than the third number (the number of people in the fourth area), it is decided to give priority to the evacuation of the people in the fourth area. An evacuation instruction is issued to the people in the fourth area, and the direction, route and assembly point of the evacuation are clearly stated. The people in the fourth area shall evacuate according to the evacuation instructions, and the security managers or volunteers in the park shall assist them to evacuate to the safe area quickly and orderly. When the first distance and the second distance are equal, it can be determined which area to evacuate first according to the number of people in the third area and the fourth area, so as to ensure that the people can be evacuated to the safe area quickly and safely in an emergency. In the above example, if the second distance is 50 meters, the first distance is equal to the second distance, and the second number corresponding to the third area a needs to be obtained. If the second number is 40 people, the third number corresponding to the fourth area b is obtained. If the third number is 50 people, the second number is less than the third number, and the people in the fourth area b are evacuated first by default.
[0060] Through the above method, the hotspot information of the current location of the first user is obtained in real time based on the first device, and the obtained hotspot information is matched with the preset hotspot table. Based on the match, the specific area where the first user is currently located can be determined. Once the area where the first user is located is determined, the second location of the first user in the first area is further obtained, and the second location is summarized into the target location set. The number of devices in the target location set, that is, the first number, can be counted, and the density of people in each area can be accurately calculated. The geographical fence layout is performed on each area in the park, and the first electronic fence area is obtained. The number of people that can be accommodated corresponding to the first electronic fence area (the preset first number) is obtained. When the first number is greater than the preset first number, it is determined that the first area is in a densely populated state, and an early warning message is sent to the second user (such as a park manager, security personnel, etc.). Real-time tracking and accurate statistics of the distribution of people in each area of the park can significantly improve the prediction accuracy of the park's human flow, timely discover and deal with densely populated areas, and help reduce the risk of safety accidents. When an emergency occurs in the park, by comparing the distance between other areas and the area where the emergency occurs, the areas with closer distances are evacuated first, so that people in different areas of the park can be evacuated in an orderly manner, ensuring that people can be evacuated to a safe area quickly and safely in an emergency. In addition, when the first distance and the second distance are equal, the number of people in the third and fourth areas can be used to determine which area to evacuate first, thereby ensuring that people can be evacuated to a safe area quickly and safely in an emergency.
[0061] The present application also provides a device for managing the flow of people in a park based on positioning and geo-fencing technology. Figure 2 is a schematic diagram of a structure of a device for managing park flow based on positioning and geographic fence technology provided in an embodiment of the present application, with reference to Figure 2 The device includes an acquisition unit 201, a processing unit 202 and a sending unit 203.
[0062] The acquisition unit 201 acquires the hotspot information of the first device worn by the first user. The hotspot information is the available hotspot information to which the first device can connect at the first position. The hotspot information includes the hotspot name and signal strength information. The first position is the current position of the first user in the park.
[0063] Processing unit 202 determines whether there is hotspot information in a preset hotspot table, where the preset hotspot table is a collection of hotspots corresponding to the first area, and the first area is any area to be monitored in the park; when there is hotspot information in the preset hotspot table, obtains a second position, which is the position of the first device in the first area; summarizes the second position into a target position set, which is a set corresponding to the devices appearing in the first area; obtains a first number, which is the total number of second positions in the target position set; determines whether the first number is less than or equal to a preset first number, where the preset first number is the number of people that can be accommodated in the first electronic fence area, and the first electronic fence area is the area obtained by geo-fencing the first area.
[0064] The sending unit 203 determines that the first electronic fence area is in a crowded state if the first number is greater than the preset first number, and sends the crowded state to the second user so that the second user processes the first area according to the crowded state.
[0065] In a possible implementation, the processing unit 202 is used to determine that the first electronic fence area is in a normal crowd flow state when the first number is less than or equal to a preset first number; obtain the target time point according to the normal crowd flow state, establish a corresponding relationship between the target time point and the normal crowd flow state, and store the corresponding relationship in a database.
[0066] In a possible implementation, the processing unit 202 is used to determine at preset time intervals that an abnormal situation has occurred in the park, and to determine the second area based on the abnormal situation; the acquisition unit 201 is used to obtain third location information of the second area, and to send evacuation prompt information to the second device so that a third user can view the evacuation prompt information through the second device and evacuate according to the evacuation route. The second device is the device currently located at the third location information.
[0067] In a possible implementation, the acquisition unit 201 is used to acquire the fourth position information of the third area from within the park, and acquire the fifth position information corresponding to the fourth area; acquire the first distance and the second distance, the first distance being the distance between the fourth position information and the third position information, and the second distance being the distance between the fifth position information and the third position information; the processing unit 202 is used to compare the first distance with the second distance; when the first distance is less than the second distance, the personnel in the third area are evacuated first; when the first distance is greater than the second distance, the personnel in the fourth area are evacuated first.
[0068] In a possible implementation, the acquisition unit 201 is used to acquire the second number corresponding to the third area and the third number corresponding to the fourth area when the first distance is equal to the second distance; the processing unit 202 is used to give priority to evacuating personnel in the third area when the second number is greater than the third number; and give priority to evacuating personnel in the fourth area when the second number is less than the third number.
[0069] In one possible implementation, the acquisition unit 201 is used to obtain the difference between the first number and the preset first number; the processing unit 202 is used to determine whether the difference is less than or equal to the preset difference; when the difference is less than or equal to the preset difference, the first electronic fence area corresponding to the first area is adjusted to the second electronic fence area, and the area of the second electronic fence area is larger than the area of the first electronic fence; determine whether the first number is less than or equal to the preset second number, the preset second number is the number of people that the second electronic fence area can accommodate; when the first number is less than or equal to the preset second number, determine that the second electronic fence area is in a normal state of human flow.
[0070] In a possible implementation, the processing unit 202 is used to input the first quantity into a preset evacuation database for query to obtain a target evacuation plan when the difference is greater than a preset difference; the sending unit 203 is used to send the target evacuation plan to the second user so that the second user goes to the first area to evacuate personnel according to the target evacuation plan.
[0071] It should be noted that: when the device provided in the above embodiment realizes its function, only the division of the above functional modules is used as an example. In actual application, the above functions can be assigned to different functional modules as needed, that is, the internal structure of the device is divided into different functional modules to complete all or part of the functions described above. In addition, the device and method embodiments provided in the above embodiment belong to the same concept, and the specific implementation process is detailed in the method embodiment, which will not be repeated here.
[0072] The present application also discloses an electronic device. Figure 3 , Figure 3 The electronic device 300 may include: at least one processor 301 , at least one network interface 304 , a user interface 303 , a memory 302 , and at least one communication bus 305 .
[0073] The communication bus 305 is used to realize the connection and communication between these components.
[0074] The user interface 303 may include a display screen (Display) and a camera (Camera). Optionally, the user interface 303 may also include a standard wired interface and a wireless interface.
[0075] The network interface 304 may optionally include a standard wired interface or a wireless interface (such as a WI-FI interface).
[0076] Among them, the processor 301 may include one or more processing cores. The processor 301 uses various interfaces and lines to connect various parts in the entire server, and executes various functions of the server and processes data by running or executing instructions, programs, code sets or instruction sets stored in the memory 302, and calling data stored in the memory 302. Optionally, the processor 301 can be implemented in at least one hardware form of digital signal processing (Digital Signal Processing, DSP), field programmable gate array (Field-Programmable Gate Array, FPGA), and programmable logic array (Programmable Logic Array, PLA). The processor 301 can integrate one or a combination of a central processing unit (Central Processing Unit, CPU), a graphics processing unit (Graphics Processing Unit, GPU) and a modem. Among them, the CPU mainly processes the operating system, user interface and application requests; the GPU is responsible for rendering and drawing the content to be displayed on the display screen; the modem is used to process wireless communications. It can be understood that the above-mentioned modem may not be integrated into the processor 301, and it can be implemented separately through a chip.
[0077] Among them, the memory 302 may include a random access memory (RAM) or a read-only memory (Read-Only Memory). Optionally, the memory 302 includes a non-transitory computer-readable storage medium. The memory 302 can be used to store instructions, programs, codes, code sets or instruction sets. The memory 302 may include a program storage area and a data storage area, wherein the program storage area. Instructions for implementing an operating system, instructions for at least one function (such as a touch function, a sound playback function, an image playback function, etc.), instructions for implementing the above-mentioned various method embodiments, etc. can be stored; the data storage area can store data involved in the above-mentioned various method embodiments, etc. The memory 302 can also be optionally at least one storage device located away from the aforementioned processor 301.
[0078] like Figure 3As shown, the memory 302 as a computer storage medium may include an operating system, a network communication module, a user interface module, and an application for managing the flow of people in the park based on positioning and geographic fencing technology.
[0079] exist Figure 3 In the electronic device 300 shown, the user interface 303 is mainly used to provide an input interface for the user and obtain data input by the user; and the processor 301 can be used to call the application program for managing the flow of people in the park based on positioning and geo-fencing technology stored in the memory 302. When executed by one or more processors, the electronic device executes one or more of the methods described in the above embodiments.
[0080] It should be noted that, for the aforementioned method embodiments, for the sake of simplicity, they are all described as a series of action combinations, but those skilled in the art should be aware that the present application is not limited by the order of the actions described, because according to the present application, certain steps can be performed in other orders or simultaneously. Secondly, those skilled in the art should also be aware that the embodiments described in the specification are all preferred embodiments, and the actions and modules involved are not necessarily required for the present application.
[0081] In the above embodiments, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.
[0082] In the several embodiments provided in the present application, it should be understood that the disclosed devices can be implemented in other ways. For example, the device embodiments described above are only schematic, such as the division of the units, which is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some service interfaces, and the indirect coupling or communication connection of devices or units can be electrical or other forms.
[0083] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0084] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.
[0085] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable memory. Based on this understanding, the technical solution of the present application, or the part that contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product, which is stored in a memory and includes several instructions for a computer device (which can be a personal computer, server or network device, etc.) to execute all or part of the steps of the method described in each embodiment of the present application. The aforementioned memory includes: various media that can store program codes, such as USB flash drives, mobile hard drives, magnetic disks or optical disks.
[0086] The above is only an exemplary embodiment of the present disclosure and cannot be used to limit the scope of the present disclosure. That is, any equivalent changes and modifications made according to the teachings of the present disclosure are still within the scope of the present disclosure. After considering the disclosure of the specification and the truth of practice, it will be easy for those skilled in the art to think of other embodiments of the present disclosure. This application is intended to cover any variation, use or adaptive change of the present disclosure, which follows the general principles of the present disclosure and includes common knowledge or customary technical means in the technical field that are not recorded in the present disclosure.
Claims
1. A method for managing the flow of people in a park based on positioning and geographic fencing technology, characterized in that: The method comprises: Acquire hotspot information of a first device worn by a first user, where the hotspot information is information of available hotspots to which the first device can connect at a first location, and the hotspot information includes a hotspot name and signal strength information, and the first location is a current location of the first user in the park; Determine whether the hotspot information exists in a preset hotspot table, where the preset hotspot table is formed by collecting hotspots corresponding to a first area, where the first area is any area to be monitored in the park; When the hotspot information exists in the preset hotspot table, obtaining a second position, where the second position is a position of the first device in the first area; Summarizing the second location into a target location set, where the target location set is a set corresponding to devices appearing in the first area; Obtaining a first quantity, where the first quantity is a total quantity of the second positions in the target position set; Determine whether the first number is less than or equal to a preset first number, where the preset first number is the number of people that can be accommodated in a first electronic fence area, and the first electronic fence area is an area obtained by geo-fencing the first area; If the first number is greater than the preset first number, it is determined that the first electronic fence area is in a crowded state, and the crowded state is sent to the second user so that the second user can process the first area according to the crowded state.
2. The method according to claim 1, characterized in that After determining whether the first number is less than or equal to a preset first number, the method further includes: When the first number is less than or equal to the preset first number, determining that the first electronic fence area is in a normal human flow state; A target time point is acquired according to the normal state of the crowd flow, a corresponding relationship between the target time point and the normal state of the crowd flow is established, and the corresponding relationship is stored in a database.
3. The method according to claim 2, characterized in that After determining that the first electronic fence area is in a normal human flow state when the first number is less than or equal to the preset first number, the method further includes: At a preset time interval, determining that an abnormal situation occurs in the park, and determining a second area according to the abnormal situation; The third location information of the second area is obtained, and evacuation prompt information is sent to the second device so that a third user can view the evacuation prompt information through the second device and evacuate according to the evacuation route. The second device is the device currently located at the third location information.
4. The method according to claim 3, characterized in that After acquiring the third position corresponding to the second area and sending evacuation prompt information to the second device, the method further includes: Acquire fourth location information of the third area from within the park, and acquire fifth location information of the fourth area; Acquire a first distance and a second distance, wherein the first distance is the distance between the fourth position information and the third position information, and the second distance is the distance between the fifth position information and the third position information; comparing the first distance to the second distance; When the first distance is smaller than the second distance, people in the third area are evacuated first; When the first distance is greater than the second distance, people in the fourth area are evacuated first.
5. The method according to claim 4, characterized in that After comparing the first distance with the second distance, the method further includes: When the first distance is equal to the second distance, obtaining a second quantity corresponding to the third area, and obtaining a third quantity corresponding to the fourth area; When the second number is greater than the third number, the personnel in the third area are evacuated first; When the second number is smaller than the third number, the personnel in the fourth area are evacuated first.
6. The method according to claim 1, characterized in that After determining that the first electronic fence area is in a crowded state if the first number is greater than the preset first number, the method further includes: Obtaining a difference between the first quantity and the preset first quantity; Determining whether the difference is less than or equal to a preset difference; When the difference is less than or equal to the preset difference, adjusting the first electronic fence area corresponding to the first area to a second electronic fence area, the area of the second electronic fence area being larger than the area of the first electronic fence; Determine whether the first number is less than or equal to a preset second number, where the preset second number is the number of people that the second electronic fence area can accommodate; When the first number is less than or equal to the preset second number, it is determined that the second electronic fence area is in the normal human flow state.
7. The method according to claim 6, characterized in that After determining whether the difference is less than or equal to a preset difference, the method further includes: When the difference is greater than the preset difference, the first number is input into a preset evacuation database for query to obtain a target evacuation plan; The target evacuation plan is sent to the second user so that the second user goes to the first area to evacuate personnel according to the target evacuation plan.
8. A device for managing park traffic based on positioning and geographic fencing technology, characterized in that: The device comprises an acquisition unit (201), a processing unit (202) and a sending unit (203); The acquisition unit (201) acquires hotspot information corresponding to a first device worn by a first user, the hotspot information being information of available hotspots to which the first device can connect at a first location, the hotspot information comprising a hotspot name and signal strength information, and the first location being the current location of the first user in the park; The processing unit (202) determines whether the hotspot information exists in a preset hotspot table, the preset hotspot table is formed by collecting hotspots corresponding to a first area, and the first area is any area to be monitored in the park; when the hotspot information exists in the preset hotspot table, obtains a second position, the second position is the position of the first device in the first area; Summarizing the second location into a target location set, where the target location set is a set corresponding to devices appearing in the first area; Obtain a first number, where the first number is the total number of second locations in the target location set; determine whether the first number is less than or equal to a preset first number, where the preset first number is the number of people that can be accommodated in a first electronic fence area, where the first electronic fence area is an area obtained by geo-fencing the first area; The sending unit (203) determines that the first electronic fence area is in a crowded state if the first number is greater than the preset first number, and sends the crowded state to the second user so that the second user can process the first area according to the crowded state.
9. An electronic device, characterized in that: The electronic device (300) comprises a processor (301), a memory (302), a user interface (303) and a network interface (304), wherein the memory (302) is used to store instructions, the user interface (303) and the network interface (304) are used to communicate with other devices, and the processor (301) is used to execute the instructions stored in the memory (302) so that the electronic device (300) executes the method according to any one of claims 1 to 7.
10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores instructions, and when the instructions are executed, the method according to any one of claims 1 to 7 is performed.