Electronic fence early warning method and device based on AR
By introducing AR-based early warning methods in the electronic fence system, real-time monitoring and positioning of target users, the problem of difficulty in accurately capturing and positioning personnel in the prior art is solved, and the efficiency and user experience of safety inspections are improved.
Patent Information
- Application Number
- CN202411591444.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-08
- Publication Date
- 2025-03-18
AI Technical Summary
When facing high-density flow of people in large-scale public activities, it is difficult to accurately capture and locate specific personnel location information near the boundary, resulting in inefficient subsequent inspections.
The AR-based electronic fence early warning method is adopted, and by obtaining the location information of the target user and inputting a preset model for analysis, the distance between the target user and the boundary of the electronic fence is obtained in real time, its status is judged and warning prompt information is generated.
Real-time location monitoring and accurate distance judgment of target users are achieved, reducing the time required for security inspections, and improving inspection efficiency and user experience.
Smart Images

Figure CN119649524A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of intelligent monitoring technology, and in particular to an AR-based electronic fence early warning method and device. Background Art
[0002] As a cutting-edge technology solution in the field of modern perimeter security protection, the core components of the electronic fence system are a carefully laid out sensor network, an efficient and stable electrical signal transmission architecture, and intelligent electronic equipment integration, which together build an almost invisible electronic protection network outside a specific geographical boundary. This system is designed to achieve instant detection and efficient response to any illegal intrusion, and effectively prevent and contain potential security risks and threats by automatically triggering alarm signals and immediately notifying the security response team.
[0003] In the security management system of large-scale public events, the application of electronic fences plays a pivotal role. By accurately defining the physical boundaries of the activity area and deeply integrating advanced monitoring technology and intelligent early warning mechanisms, the electronic fence system can significantly improve the safety protection efficiency and emergency response speed of the event site. However, most electronic fence systems on the market are still relatively basic in the design of early warning mechanisms, mainly relying on simple boundary crossing detection logic. Although this single detection method can identify the behavior of people approaching the border, it is difficult to accurately capture and locate the specific location information of people near the border when facing high-density crowds in large-scale public events, resulting in low efficiency in subsequent investigation work.
[0004] Therefore, there is an urgent need for an AR-based electronic fence warning method and device that can solve the above technical problems. Summary of the invention
[0005] The present application provides an AR-based electronic fence warning method and device, which improves the real-time acquisition of target user location information, then inputs the location information into a preset model for analysis, obtains the distance between the target user and the electronic fence boundary, and then compares the distance with the preset distance, automatically determines the corresponding status of the target user according to the comparison result, and can quickly locate specific personnel during subsequent security inspections based on the location of the target user, thereby reducing the time required for inspection work and improving inspection efficiency.
[0006] In the first aspect, the present application provides an AR-based electronic fence warning method, which is applied to an early warning platform, and the method includes: obtaining target identity information corresponding to a target user, where the target identity information is the identity information of a seat corresponding to an electronic ticket scanned using a target AR device, and the electronic ticket is the ticket information corresponding to participating in a target activity; if the target identity information is verified to be correct, obtaining a first position corresponding to the target user, where the first position is a position collected using the target AR device; inputting the first position into a preset model for analysis to obtain a target distance; determining whether the target distance is greater than a preset distance, where the preset distance is the distance corresponding to the boundary of the target electronic fence; when the target distance is less than or equal to the preset distance, confirming that the target user is in an abnormal state, generating a first early warning prompt information based on the abnormal state, and sending the first early warning prompt information to the target AR device so that the target user can view the first early warning prompt information based on the target AR device.
[0007] By adopting the above technical solution, the target identity information corresponding to the target user is first obtained. When the target identity information is verified to be correct, the location information of the target user, that is, the first location, is collected in real time according to the target AR device. This real-time data collection method can ensure that the current location of each user is mastered at any time, rather than just detecting when the target user crosses the boundary. The first location is input into the preset model for analysis to obtain the precise distance between the target user and the electronic fence boundary, that is, the target distance. When the target distance is less than or equal to the preset distance, it can automatically determine that the target user is in an abnormal state, and immediately generate a first warning prompt information and send it to the target AR device. The first warning prompt information is directly sent to the target AR device for display. The user can easily view his or her location status and security risks. When conducting a subsequent security inspection, the specific person can be quickly located and corresponding measures can be taken, which greatly reduces the time required for the inspection work and improves the overall work efficiency.
[0008] Optionally, before inputting the first position into the preset model for analysis to obtain the target distance, the method also includes: determining a first area based on the target identity information, the first area being an area defined by an electronic fence based on the electronic ticket; determining whether the first position exists in a preset position table, the preset position table being the location information corresponding to the first area; when the first position exists in the preset position table, confirming that the first position is input into the preset model for analysis.
[0009] By adopting the above technical solution, the first area is determined according to the target identity information, the first area is an area specially defined for a certain type of electronic ticketing, it is determined that the target user belongs to the person corresponding to the first area, and it is judged whether the first position exists in the preset address table. The preset address table stores all location information corresponding to the first area. When the first position exists in the preset address table, it is confirmed that the target user is already in the first area, and then the distance between the target user and the boundary of the electronic fence is further analyzed to avoid unnecessary false alarms caused by the target user not being in the first area, resulting in poor user experience.
[0010] Optionally, after determining the first area based on the target identity information, the method also includes: obtaining a target level corresponding to the electronic ticket; obtaining an access level corresponding to the first area; determining whether the target level is less than the access level; when the target level is less than the access level, confirming that the target user is in a first state, the first state indicating that the target user has no authority to enter a state corresponding to the first area.
[0011] By adopting the above technical solution, target levels are assigned to electronic tickets, and access levels are set for different areas to achieve detailed management of participant permissions. By comparing target levels and access levels, users who do not have permission to enter specific areas can be quickly identified. When the target level is lower than the access level, the target user is confirmed to be in an unauthorized state, i.e., the first state, to avoid potential security risks. Through automated permission verification and status confirmation processes, managers can manage participants at the event site more efficiently without manually checking each user's tickets and permissions, thereby improving management efficiency.
[0012] Optionally, after determining whether the target level is less than the access level, the method also includes: when the target level is equal to the access level, confirming that the target user is in a second state, the second state indicating that the target user belongs to a state corresponding to the first area; when the target level is greater than the access level, confirming that the target user is in a third state, the third state indicating that the target user has the authority to enter a state corresponding to the first area; obtaining the target number of people corresponding to the first area; determining whether the target number of people is greater than a preset number of people, the preset number of people being the total number of people that the first area can normally accommodate; when the target number of people is greater than the preset number of people, confirming that the first area is in an abnormal number of people state, and sending a second early warning prompt information based on the abnormal number of people state, the second early warning prompt information being used to prompt the target population to return to the corresponding position, the target population being people corresponding to the third state in the first area.
[0013] By adopting the above technical solution, when the target level is equal to the access level, it is confirmed that the target user is in the second state, and the second state indicates normal authority. When the target level is greater than the access level, it is confirmed that the target user is in the third state, and the third state indicates high authority. Then, the target number of people in the first area is obtained in real time and compared with the preset number. When the target number exceeds the preset number, the abnormal number state can be quickly identified, and a second early warning prompt information is sent to prompt the target group to return to the corresponding position. This real-time population monitoring and early warning can help avoid excessive crowding and reduce the possibility of chaos and conflict.
[0014] Optionally, after the first position exists in the preset position table, the method also includes: obtaining a second position corresponding to the target user at a preset time interval; if the second position does not exist in the preset position table, confirming that the target user is in the second area; and sending a position abnormality prompt information to the target AR device so that the target user can view the position abnormality prompt information.
[0015] By adopting the above technical solution, the second position of the target user is obtained at preset intervals, and the user's position can be monitored in real time. The obtained second position is compared with the preset position table. When the second position is not in the preset position table, it is confirmed that the target user is in the second area, and the position abnormality is determined based on the second area, and a position abnormality prompt information is sent to the target AR device. This instant feedback mechanism enables users to quickly understand their position status and take corresponding measures to enhance user participation.
[0016] Optionally, if the second location does not exist in the preset location table, after confirming that the target user is in the second area, the method also includes: receiving a target request sent by the target user, the target request being a request to navigate to the location corresponding to the electronic ticket; determining a third location based on the target request, the third location being the location corresponding to the electronic ticket; inputting the second location and the third location into the preset route library for query to obtain a target route map; sending the target route map to the target AR device, and the target AR device displaying the target route map to the target user so that the target user can move according to the target route map.
[0017] By adopting the above technical solution, according to the navigation request sent by the target user, the corresponding location of the electronic ticket, that is, the third location, is obtained, the second location and the third location are input into the preset route library for query, and the target route map is obtained. The target route map provides the user with personalized navigation services from the second location to the third location. This real-time planning capability ensures that the target user can find the destination quickly and accurately, reduces the possibility of getting lost or taking the wrong way, and significantly improves the overall experience of the user at the event site based on the provision of personalized navigation services.
[0018] Optionally, when the target distance is less than or equal to the preset distance, it is confirmed that the target user is in an abnormal state, specifically including: when the target distance is equal to the preset first distance, it is confirmed that the target user is in a first abnormal state, and a first processing method is determined according to the first abnormal state, the first processing method is a vibration prompt method and a text prompt method, the abnormal state includes the first abnormal state, and the preset distance includes the preset first distance; when the target distance is less than the preset first distance and the target distance is greater than the preset second distance, it is confirmed that the target user is in a second abnormal state, and a second processing method is determined according to the second abnormal state, the first processing method is a sound prompt method, the abnormal state includes the second abnormal state, and the preset distance includes the preset second distance; when the target distance is equal to or less than the preset second distance, it is confirmed that the target user is in a third abnormal state, and a third processing method is determined according to the third abnormal state, the third processing method is a manual prompt method by personnel, and the abnormal state includes the third abnormal state.
[0019] By adopting the above technical solution, different preset distances can be set, and the distance between the target user and the electronic fence boundary can be accurately judged, so as to timely discover potential safety hazards. When the target distance exceeds or equals the preset distance, the corresponding abnormal state and processing method can be automatically triggered, thereby improving the early warning effect and user experience.
[0020] In a second aspect of the present application, an AR-based electronic fence warning device is provided, the device is a warning platform, the warning platform includes an acquisition unit, a processing unit and a confirmation unit; the acquisition unit acquires target identity information corresponding to a target user, the target identity information is the identity information of a seat corresponding to an electronic ticket scanned using a target AR device, and the electronic ticket is ticket information corresponding to participating in a target activity; the processing unit acquires a first position corresponding to the target user if the target identity information is verified to be correct, the first position is the position collected using the target AR device; the first position is input into a preset model for analysis to obtain a target distance; it is determined whether the target distance is greater than a preset distance, the preset distance is the distance corresponding to the boundary of the target electronic fence; the confirmation unit confirms that the target user is in an abnormal state when the target distance is less than or equal to the preset distance, generates a first warning prompt information according to the abnormal state, and sends the first warning prompt information to the target AR device so that the target user can view the first warning prompt information according to the target AR device.
[0021] Optionally, the processing unit is used to determine the first area based on the target identity information, the first area being the area defined by the electronic fence based on the electronic ticket; determine whether the first location exists in the preset location table, the preset location table is the location information corresponding to the first area; the confirmation unit is used to confirm that the first location is input into the preset model for analysis when the first location exists in the preset location table.
[0022] Optionally, the acquisition unit is used to obtain the target level corresponding to the electronic ticket; obtain the access level corresponding to the first area; the processing unit is used to determine whether the target level is less than the access level; the confirmation unit is used to confirm that the target user is in a first state when the target level is less than the access level, and the first state indicates that the target user has no authority to enter the state corresponding to the first area.
[0023] Optionally, the confirmation unit is used to confirm that the target user is in a second state when the target level is equal to the access level, and the second state indicates that the target user belongs to a state corresponding to the first area; when the target level is greater than the access level, the target user is confirmed to be in a third state, and the third state indicates that the target user has the authority to enter a state corresponding to the first area; the acquisition unit is used to obtain the target number of people corresponding to the first area; the processing unit is used to determine whether the target number of people is greater than a preset number, and the preset number of people is the total number of people that the first area can normally accommodate; the confirmation unit is used to confirm that the first area is in an abnormal number of people state when the target number of people is greater than the preset number, and send a second early warning prompt information based on the abnormal number of people state, and the second early warning prompt information is used to prompt the target population to return to the corresponding position, and the target population is the people corresponding to the third state in the first area.
[0024] Optionally, the acquisition unit is used to acquire the second position corresponding to the target user at preset time intervals; The confirmation unit is used to confirm that the target user is in the second area if the second location does not exist in the preset location table; and send location abnormality prompt information to the target AR device so that the target user can view the location abnormality prompt information.
[0025] Optionally, the acquisition unit is used to receive a target request sent by a target user, where the target request is a request to navigate to a location corresponding to an electronic ticket; the processing unit is used to determine a third location based on the target request, where the third location is a location corresponding to the electronic ticket; the second location and the third location are input into a preset route library for query to obtain a target route map; the target route map is sent to a target AR device, and the target AR device displays the target route map to the target user so that the target user can move according to the target route map.
[0026] Optionally, the confirmation unit is used to confirm that the target user is in a first abnormal state when the target distance is equal to a preset first distance, and determine a first processing method based on the first abnormal state, the first processing method is a vibration prompt method and a text prompt method, the abnormal state includes the first abnormal state, and the preset distance includes the preset first distance; the confirmation unit is used to confirm that the target user is in a second abnormal state when the target distance is less than the preset first distance and the target distance is greater than the preset second distance, and determine a second processing method based on the second abnormal state, the first processing method is a sound prompt method, the abnormal state includes the second abnormal state, and the preset distance includes the preset second distance; the confirmation unit is used to confirm that the target user is in a third abnormal state when the target distance is equal to or less than the preset second distance, and determine a third processing method based on the third abnormal state, the third processing method is a manual prompt method by personnel, and the abnormal state includes the third abnormal state.
[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. First, obtain the target identity information corresponding to the target user. When the target identity information is verified to be correct, collect the location information of the target user in real time according to the target AR device, that is, the first location. This real-time data collection method can ensure that the current location of each user is known at any time, rather than just detecting when the target user crosses the boundary. The first location is input into the preset model for analysis to obtain the precise distance between the target user and the electronic fence boundary, that is, the target distance. When the target distance is less than or equal to the preset distance, it can automatically determine that the target user is in an abnormal state, and immediately generate the first warning prompt information and send it to the target AR device. The first warning prompt information is directly sent to the target AR device for display. Users can easily view their location status and security risks. When conducting subsequent security inspections, specific personnel can be quickly located and corresponding measures can be taken, which greatly reduces the time required for inspections and improves overall work efficiency.
[0030] 2. Determine the first area based on the target identity information. The first area is an area specially defined for a certain type of electronic ticketing. Determine that the target user belongs to the person corresponding to the first area, and judge whether the first location exists in the preset address table. The preset address table stores all location information corresponding to the first area. When the first location exists in the preset address table, it is confirmed that the target user is already in the first area, and then further analyze the distance between the target user and the boundary of the electronic fence to avoid unnecessary false alarms caused by the target user not being in the first area, resulting in poor user experience.
[0031] 3. Assign target levels to electronic tickets and set access levels for different areas to achieve detailed management of participant permissions. By comparing target levels and access levels, users who do not have permission to enter specific areas can be quickly identified. When the target level is lower than the access level, the target user is confirmed to be in an unauthorized state, i.e., the first state, to avoid potential security risks. Through automated permission verification and status confirmation processes, managers can manage participants at the event site more efficiently without having to manually check each user's tickets and permissions, thereby improving management efficiency. BRIEF DESCRIPTION OF THE DRAWINGS
[0032] Figure 1 It is a flowchart of an AR-based electronic fence early warning method provided in an embodiment of the present application; Figure 2 Schematic diagram of a scenario of an AR-based electronic fence warning method provided in an embodiment of the present application; Figure 3 It is a structural schematic diagram of an AR-based electronic fence warning device provided in an embodiment of the present application; Figure 4 It is a structural schematic diagram of an electronic device disclosed in an embodiment of the present application.
[0033] Explanation of the reference numerals: 301, acquisition unit; 302, processing unit; 303, confirmation unit; 400, electronic device; 401, processor; 402, communication bus; 403, user interface; 404, network interface; 405, memory. DETAILED DESCRIPTION
[0034] 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.
[0035] 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.
[0036] 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.
[0037] As a cutting-edge technology solution in the field of modern perimeter security protection, the core components of the electronic fence system are a carefully laid out sensor network, an efficient and stable electrical signal transmission architecture, and intelligent electronic equipment integration, which together build an almost invisible electronic protection network outside a specific geographical boundary. This system is designed to achieve instant detection and efficient response to any illegal intrusion, and effectively prevent and contain potential security risks and threats by automatically triggering alarm signals and immediately notifying the security response team.
[0038] In the security management system of large-scale public events, the application of electronic fences plays a pivotal role. By accurately defining the physical boundaries of the activity area and deeply integrating advanced monitoring technology and intelligent early warning mechanisms, the electronic fence system can significantly improve the safety protection efficiency and emergency response speed of the event site. However, most electronic fence systems on the market are still relatively basic in the design of early warning mechanisms, mainly relying on simple boundary crossing detection logic. Although this single detection method can identify the behavior of people approaching the border, it is difficult to accurately capture and locate the specific location information of people near the border when facing high-density crowds in large-scale public events, resulting in low efficiency in subsequent investigation work.
[0039] Therefore, how to improve the low efficiency of the investigation work is an urgent problem to be solved. The embodiment of the present application provides an AR-based electronic fence warning method, which is applied to the warning platform. The warning platform of the present application can be a platform that provides warning services for large-scale public activities. Figure 1 This is a flowchart of an AR-based electronic fence warning method provided in an embodiment of the present application, refer to Figure 1The method includes the following steps S101-S105.
[0040] S101: Acquire target identity information corresponding to the target user, where the target identity information is the identity information of the seat corresponding to the electronic ticket scanned by the target AR device, and the electronic ticket is the ticket information corresponding to participating in the target activity.
[0041] In the above S101, the application scenario of the present application is to participate in a large-scale public event. Since there are many participants, the venue for the large-scale event will be divided into regions according to the ticket information of the participants, and different types of participants will be arranged in each region, including ordinary type, VIP type and staff type. The seats of more participants are arranged according to the divided areas to ensure that the participants match the actual seats in the venue. And the user mentioned in this application refers to the user carrying the AR device, and the AR device is subsequently sent an early warning message based on the actual location of the user so that the user can know the distance from the boundary of the electronic fence in time. The target user refers to the person participating in the target activity, and the target activity includes city celebrations, music festivals and sports events. The target user needs to use the QR code or specific pattern on the electronic ticket held by the target AR device (such as AR glasses or AR mobile phone applications, etc.) scanner. This electronic ticket is the ticket information for participating in the target activity, which contains the user's seat number, activity information, etc. The AR device recognizes and parses the information on the electronic ticket through the built-in camera or image processing technology, especially the seat number or the unique identifier associated with it (such as the information in the seat QR code) to obtain the target identity information. The extracted identity information will be sent to the server or local database for verification to confirm whether the identity information is valid, whether it corresponds to the current activity, and whether it has been used.
[0042] S102: If the target identity information is verified to be correct, a first position corresponding to the target user is obtained, where the first position is a position collected using a target AR device.
[0043] In the above S102, after obtaining the target identity information, the target identity information is verified. Once it is confirmed that the electronic ticket held by the target user corresponds to the current activity and has not been used, it can be confirmed that the target identity verification is correct. After confirming that the identity of the target user is correct, the AR device will activate its built-in GPS, Bluetooth, WiFi and other positioning technologies to collect the current location information of the target user, that is, the first location.
[0044] In addition, after obtaining the first position, the target user's current area must be checked to ensure that the target user's area matches the area corresponding to the seat information on the electronic ticket, reducing the occurrence of staying in other areas, specifically including: determining the first area according to the target identity information, the first area is the area defined by the electronic fence according to the electronic ticket; judging whether the first position exists in the preset position table, the preset position table is the location information corresponding to the first area; when the first position exists in the preset position table, confirm that the first position is input into the preset model for analysis. Specifically, the target identity information can be parsed, the seat number can be determined according to the parsing, and then the corresponding area can be queried from the pre-defined electronic fence map. Different seat numbers correspond to different areas. In order to facilitate the management of participants by staff, an electronic fence can be set for each area. The electronic fence ensures the activity area of people in each area and reduces the gathering of people. The electronic fence map may be a two-dimensional or three-dimensional model, including the seat layout, passages, safety areas, and restricted areas of the target activity venue. The first area required by the target user is determined according to the seat number or identity information. Each area includes multiple seat numbers. The number of seats can be determined according to the size of each area. At this time, the first area is the area where the target user can enter and move normally according to the electronic ticket. Before the activity starts, a preset location table is constructed based on the electronic fence map and the definition of the first area. This table contains all possible location information in the first area, which may be expressed in latitude and longitude, grid coordinates or other forms. The current first location of the target user is obtained (through the positioning function of the AR device) and matched with the location information in the preset location table. This matching process may involve conversion, formatting or approximate calculation of location data to ensure accuracy and efficiency. If the first location finds a corresponding entry in the preset location table, it is considered that the location exists in the first area; if not found, it means that the target user has left the first area at this time, and continues to locate and monitor other users in the first area. Once it is confirmed that the first location exists in the preset location table, the system considers that the user is currently in the first area, and the distance between the current location of the first user and the boundary of the electronic fence can be obtained, and then it is determined whether the distance between the target user and the boundary of the electronic fence is within the warning range.
[0045] S103: Input the first position into a preset model for analysis to obtain a target distance.
[0046] In the above S103, after obtaining the first position, the first position is input into the preset model for analysis, and before obtaining the target distance, a preset model needs to be constructed. The preset model is based on the artificial intelligence model AI. It is necessary to obtain the range of the electronic fence set corresponding to each area in advance, and then formulate the distance between the user and the boundary of each electronic fence. This distance refers to the distance that needs to be prompted when it exceeds the normal range. Then calculate the distance corresponding to the different positions in each area to the boundaries of their respective electronic fences, and then store the historical positions and historical distances in the preset model. The preset model can also store map data corresponding to the target activity venue, the layout of the activity venue, and the layout of the electronic fence. After the preset model is constructed, the first position is input into the preset model, and the preset model will calculate the distance between the current position of the target user and the boundary of the electronic fence according to the built-in algorithm, that is, the target distance.
[0047] In addition, after the target user enters the target activity venue, it is necessary to judge the target user's authority to enter each area to ensure that the target user can only enter a specific area, avoid the situation where the target user can enter any area at will, and reduce the situation where people gather in a certain area, specifically including: obtaining the target level corresponding to the electronic ticket; obtaining the access level corresponding to the first area; judging whether the target level is less than the access level; when the target level is less than the access level, it is confirmed that the target user is in the first state, and the first state indicates that the target user has no authority to enter the state corresponding to the first area. Specifically, the electronic ticket can be parsed, and the target level information can be determined based on the parsing. When formulating different electronic tickets, different target levels can be formulated according to different electronic tickets, such as ordinary type electronic tickets corresponding to the first level, VIP type electronic tickets corresponding to the second level, and staff electronic tickets corresponding to the third level. Different levels correspond to different permissions to access areas. This target level can be directly marked in the ticket information, or it may need to be queried by interacting with the database of the ticketing system. Get the area closest to the target user. If the first area is the area closest to the target user at this time, get the access level corresponding to the first area. The level of the person who can enter can be pre-defined when storing the first area. This can be set by the organizer or manager before the event starts. It can be understood as the type of electronic ticketing that the first area allows to enter. Integrate the access level with the first area so that when the first area is retrieved later, the access level corresponding to the first area can be obtained. Compare the extracted target level with the access level of the first area. This comparison process needs to ensure that the two are carried out under the same level system to avoid misjudgment due to inconsistent level standards. According to the comparison result, the system will determine whether the target level is less than the access level. If so, it means that the ticket level of the target user is not enough to enter the area; if not, it may mean that the user has the right to enter the area. When it is determined that the target level is less than the access level, it will be confirmed that the target user is in the first state. This state indicates that the user has no right to enter the state corresponding to the first area, that is, they are not qualified to enter the first area. After confirming that the target user is in the first state, the early warning platform needs to provide corresponding feedback prompts to the user. This prompt can be displayed through the display screen of the AR device, and the content may include "Your ticket level is not sufficient to enter this area, please upgrade your ticket or contact staff" etc.
[0048] Further, when the target level is equal to the access level, it is confirmed that the target user is in the second state, and the second state indicates that the target user belongs to the state corresponding to the first area; when the target level is greater than the access level, it is confirmed that the target user is in the third state, and the third state indicates that the target user has the right to enter the state corresponding to the first area; obtain the target number of people corresponding to the first area; determine whether the target number of people is greater than the preset number of people, and the preset number of people is the total number of people that can be normally accommodated in the first area; when the target number of people is greater than the preset number of people, it is confirmed that the first area is in an abnormal state of people, and a second early warning prompt information is sent according to the abnormal state of people, and the second early warning prompt information is used to prompt the target group to return to the corresponding position. The target group is the person corresponding to the third state in the first area. Specifically, after obtaining the target level of the target user, the target level is compared with the access level of the first area. If the target level is equal to the access level, it is confirmed that the target user is in the second state. The second state indicates that the user has the right to enter the first area, and their ticket level matches the area requirements. The AR device can feedback the user's status, such as displaying prompt information such as "You have the right to enter this area". When the target level is greater than the access level, the system confirms that the target user is in the third state. The third state indicates that the user not only has the right to enter the first area, but also their ticket level is higher than the basic requirements of the area, and they may enjoy additional rights or privileges. It is also necessary to feedback the user's status and provide corresponding prompt information, such as "You have additional rights, welcome to this area". Based on the above judgment method, it can be determined that users in the second and third states can enter the first area. During the activity, the number of people in the first area can be counted in real time, which can be achieved through sensors, cameras, AR equipment positioning functions installed in the area, etc. That is, one AR positioning represents one user. The collected number of people data is integrated to obtain the target number of people. The target number of people is compared with the preset number of people, which is the total number of people that can be normally accommodated according to the area of the first area. The target number of people counted is compared with the preset number of people. If the target number of people is greater than the preset number of people, the system determines that the first area is in an abnormal number of people state. According to the abnormal number of people state, a second early warning prompt information is generated. This information is used to prompt the target population (that is, the people corresponding to the third state in the first area, because they are people with rights and may be enjoying regional privileges) to return to the corresponding position to avoid safety hazards or service quality degradation caused by too many people. The second warning prompt information is sent to the target group through the display screen, speaker, text message, APP push and other methods of the AR device. It may also be necessary to monitor the reaction of the target group and prepare further emergency measures, such as adding security personnel and guiding the evacuation of the crowd. When the target number of people is less than or equal to the preset number of people, it is confirmed that the first area is in a normal state of population, and the number of people in the first area continues to be monitored.
[0049] For example, the target number of people corresponding to the first area is obtained. If the target number of people is 240, the preset number of people corresponding to the first area can be set to 200. At this time, the target number of people is greater than the preset number of people, confirming that the first area is in an abnormal number of people state, and a return prompt message is sent to the people in the third state in the first area, so that the target people can return to the position corresponding to the electronic ticket.
[0050] S104: Determine whether the target distance is greater than a preset distance, where the preset distance is the distance corresponding to the boundary of the target electronic fence.
[0051] In the above S104, before the event begins, a preset distance is set as the boundary of the electronic fence according to the actual situation and safety requirements of the event venue. This distance can be fixed (such as 5 meters from the edge of the stage) or dynamically adjusted (such as automatically adjusted according to the audience density). The target distance is compared with the preset distance to determine whether the target user is in the safe area.
[0052] S105: When the target distance is less than or equal to the preset distance, it is determined that the target user is in an abnormal state, first warning prompt information is generated according to the abnormal state, and the first warning prompt information is sent to the target AR device so that the target user can view the first warning prompt information according to the target AR device.
[0053] In the above S105, if the target distance is less than or equal to the preset distance, the early warning platform confirms that the target user is in an abnormal state (that is, may have violated safety regulations or entered a restricted area). According to the abnormal state, the system generates a first early warning prompt message. This information can be text, sound, vibration or AR visual prompt, and the content may include "Please note that you are approaching the boundary of the safe area, please keep a safe distance" and so on. The generated first early warning prompt message is sent to the target user through the display, speaker or other output device of the AR device so that the user can view and receive it immediately. It can effectively monitor the location of the target user at the event site and provide timely early warning prompts when necessary to ensure the safe and orderly progress of the event.
[0054] In addition, according to the target distance between the target user and the specific position, the target user is determined to be in different abnormal states, and a corresponding processing method is adopted according to the abnormal state. When the target distance is less than or equal to the preset distance, the target user is confirmed to be in an abnormal state, specifically including: when the target distance is equal to the preset first distance, the target user is confirmed to be in the first abnormal state, and the first processing method is determined according to the first abnormal state. The first processing method is a vibration prompt method and a text prompt method. The abnormal state includes the first abnormal state, and the preset distance includes the preset first distance; when the target distance is less than the preset first distance and the target distance is greater than the preset second distance, the target user is confirmed to be in the second abnormal state, and the second processing method is determined according to the second abnormal state. The first processing method is a sound prompt method, the abnormal state includes the second abnormal state, and the preset distance includes the preset second distance; when the target distance is equal to or less than the preset second distance, the target user is confirmed to be in the third abnormal state, and the third processing method is determined according to the third abnormal state. The third processing method is a manual prompt method, and the abnormal state includes the third abnormal state. Specifically, the current position, that is, the first position, is obtained according to the AR device (or other positioning device) worn or held by the target user, and the first position is input into the preset model for analysis to obtain the target distance. The target distance is first compared with the preset first distance, and the preset first distance indicates that the user has entered the area of the electronic fence boundary but has not reached the specified position. When the target distance is equal to the preset first distance, it is confirmed that the target user is in the first abnormal state, and the first processing method is determined according to the first abnormal state. The first processing method includes a vibration prompt method and a text prompt method. The vibration prompt is sent through the vibration motor of the AR device, and the text prompt information is displayed on its display screen, such as "Please note that you have entered the electronic fence boundary range, please note". When the target distance is less than the preset first distance but greater than the preset second distance, it is determined that the target user is in the second abnormal state. The preset second distance indicates that the user has approached the electronic fence boundary but has not touched the electronic fence. According to the second abnormal state, the system determines the second processing method. In this scenario, the second processing method is a sound prompt method. The system issues a sound prompt through the speaker of the AR device, such as "You are close to the target position, please do not approach again". When the target distance is equal to or less than the preset second distance, it is determined that the target user is in the third abnormal state. At this time, it means that the target user has approached or reached the electronic fence boundary. According to the third abnormal state, the third processing method is determined. In this scenario, the third processing method is a manual prompt method. This may mean that the early warning platform automatically triggers a mechanism (such as sending a signal to the on-site staff), who then communicate or guide the user directly. This approach is suitable for scenarios that require high attention or immediate response. Depending on the abnormal state determined, the corresponding processing method is executed.This may involve direct interaction with the AR device (such as sending vibration, sound, or text prompts), or indirect interaction with other systems on site (such as notifying staff).
[0055] In a possible implementation, during the activity, the current location of the user is obtained in real time, and it is determined whether the current area of the user is the area corresponding to the electronic ticket according to the location. If not, the abnormal location prompt information is sent to the user in time, specifically including: obtaining the second location corresponding to the target user at a preset time interval; if the second location does not exist in the preset location table, confirming that the target user is in the second area; sending the abnormal location prompt information to the target AR device so that the target user can view the abnormal location prompt information. Specifically, a preset time can be set, and this time interval can be fixed (such as every 5 minutes, every 10 minutes, etc.), or dynamically adjusted, depending on the actual situation and needs of the activity site. When the preset time arrives, the current location information of the target user is obtained through the AR device (or other positioning device) worn or held by the target user. This location information may include longitude and latitude, grid coordinates, room number, etc., depending on the positioning capability and accuracy requirements of the system. The obtained second location information is recorded. Since the target user belongs to the first area, the second location is entered into the preset location table for query. The preset location table is a table that stores the corresponding location of the first area. If there is no information matching the second location in the preset location table, it means that the target user is not currently in the first area. At this point, the system needs to determine whether the target user is in another known area, the second area. The second area may be an area defined by another electronic fence, or it may be an unknown or special area preset by the system. If the target user is confirmed to be in the second area, the system records and updates the user's status information. Based on the current status of the target user (i.e., in the second area), the system generates a location abnormality prompt message. This message should concisely and clearly inform the user that they are not currently in the correct area, and may contain some additional suggestions or guidance, such as "You have left the first area, please check your location and return as soon as possible". The location abnormality prompt message is sent to the user through the AR device (or other communication device) worn or held by the target user. This usually involves interacting with the communication interface of the AR device and displaying the prompt information to the user in the form of text, voice, image or video. It can monitor whether the user has viewed the location abnormality prompt message, and may update the user's status information or take corresponding follow-up measures based on the user's feedback or behavior (such as returning to the first area immediately). When the second location exists in the preset location table, it is confirmed that the target user is in a normal location state, and there is no need to send a prompt message to the target user.
[0056] In addition, after confirming that the target user receives the abnormal location prompt information, based on the navigation request sent by the target user, a convenient and intuitive navigation experience can be provided to the user, helping them to quickly and accurately reach the location corresponding to the electronic ticket. Specifically, it includes: receiving a target request sent by the target user, the target request is a request to navigate to the location corresponding to the electronic ticket; determining a third location according to the target request, the third location is the location corresponding to the electronic ticket; inputting the second location and the third location into the preset route library for query to obtain a target route map; sending the target route map to the target AR device, and the target AR device displays the target route map to the target user so that the target user can move according to the target route map. Specifically, an interface or mechanism needs to be set to receive a target request sent from the target user (through its AR device or other communication device). This request is usually a clear instruction indicating that the user wants to navigate to the location corresponding to the electronic ticket. After receiving the request, the early warning platform needs to parse it to determine the specific content and purpose of the request. In the scenario of this application, the early warning platform needs to identify the target request as a navigation request and extract the electronic ticket information specified in the request (such as ticket ID, activity name, seat number, etc.). Using the extracted electronic ticket information, query the ticketing system or related database to determine the specific location (i.e., the third location) corresponding to the electronic ticket. This location may be an exact coordinate point, or it may be an area range or a specific seat number. Since the target user is at the second location at this time, the user needs to navigate from the second location to the third location, so the second location and the third location are input into the preset route library for query to obtain the target route map. The preset route map is pre-constructed and contains feasible routes and path information between various locations in the event site. This route library may be constructed and optimized based on a variety of factors such as the site map, building layout, and traffic conditions. The current location (second location) and destination location (third location) of the target user are input as input parameters and entered into the preset route library for query. Based on these two location points, the system will search and calculate one or more feasible routes in the route library. If the query results contain multiple routes, the early warning platform may need to select the best route as the target route map according to certain rules (such as shortest distance, fastest time, least traffic, etc.). It can also be selected based on user preferences. When making a selection, it is also necessary to consider whether the target user has the right to enter other areas to ensure that the target route map obtained meets the target level of the target user's corresponding electronic ticketing. According to the selected target route map, the system generates corresponding route map data. This data may include the starting point, end point, waypoints, direction instructions, distance information, etc. of the route. The generated route map data is sent to the target user's AR device through wireless communication technology (such as Wi-Fi, Bluetooth, mobile network, etc.). The generated route map data is sent to the target user's AR device through wireless communication technology (such as Wi-Fi, Bluetooth, mobile network, etc.).The target user views the target route map through the display screen of the AR device and identifies his current location and destination location based on the instructions on the route map. The AR device may also provide some navigation assistance functions, such as directional arrows, voice prompts, vibration feedback, etc., to help users move along the target route map more accurately. If the user's position changes during the movement, the system may need to update the route map information in real time to reflect the user's latest location and remaining path. This usually involves real-time communication and data synchronization with the AR device. For example. Figure 2 As shown, the second position is A (x1, y1). If the third position is determined to be B (x2, y2) based on the electronic ticketing, a route map starting from the second position and ending at the third position is planned according to the layout corresponding to the target activity venue. The route map is L.
[0057] The present application also provides an AR-based electronic fence warning device. Figure 3 is a schematic diagram of the structure of an AR-based electronic fence warning device provided in an embodiment of the present application, with reference to Figure 3 The device is an early warning platform, which includes an acquisition unit 301, a processing unit 302 and a confirmation unit 303.
[0058] The acquisition unit 301 acquires target identity information corresponding to the target user, where the target identity information is the identity information of the seat corresponding to the electronic ticket scanned by the target AR device, and the electronic ticket is the ticket information corresponding to participating in the target activity.
[0059] Processing unit 302, if the target identity information is verified to be correct, obtains the first position corresponding to the target user, where the first position is the position collected using the target AR device; inputs the first position into a preset model for analysis to obtain the target distance; and determines whether the target distance is greater than a preset distance, where the preset distance is the distance corresponding to the boundary of the target electronic fence.
[0060] The confirmation unit 303 confirms that the target user is in an abnormal state when the target distance is less than or equal to the preset distance, generates a first warning prompt information according to the abnormal state, and sends the first warning prompt information to the target AR device so that the target user can view the first warning prompt information according to the target AR device.
[0061] In one possible implementation, the processing unit 302 is used to determine a first area based on target identity information, where the first area is an area defined by an electronic fence based on electronic ticketing; determine whether the first location exists in a preset location table, where the preset location table is location information corresponding to the first area; and the confirmation unit is used to confirm that the first location is input into a preset model for analysis when the first location exists in the preset location table.
[0062] In one possible implementation, the acquisition unit 301 is used to acquire the target level corresponding to the electronic ticket; acquire the access level corresponding to the first area; the processing unit 302 is used to determine whether the target level is less than the access level; the confirmation unit 303 is used to confirm that the target user is in the first state when the target level is less than the access level, and the first state indicates that the target user has no authority to enter the state corresponding to the first area.
[0063] In one possible implementation, the confirmation unit 303 is used to confirm that the target user is in the second state when the target level is equal to the access level, and the second state indicates that the target user belongs to the state corresponding to the first area; when the target level is greater than the access level, it is confirmed that the target user is in the third state, and the third state indicates that the target user has the authority to enter the state corresponding to the first area; the acquisition unit is used to obtain the target number of people corresponding to the first area; the processing unit 302 is used to determine whether the target number of people is greater than the preset number of people, and the preset number of people is the total number of people that the first area can normally accommodate; the confirmation unit 303 is used to confirm that the first area is in an abnormal number of people state when the target number of people is greater than the preset number of people, and send a second early warning prompt information according to the abnormal number of people state, and the second early warning prompt information is used to prompt the target population to return to the corresponding position, and the target population is the people corresponding to the third state in the first area.
[0064] In a possible implementation, the acquisition unit 301 is used to obtain the second position corresponding to the target user at a preset time interval; the confirmation unit 303 is used to confirm that the target user is in the second area if the second position does not exist in the preset position table; and send position abnormality prompt information to the target AR device so that the target user can view the position abnormality prompt information.
[0065] In a possible implementation, the acquisition unit 301 is used to receive a target request sent by a target user, where the target request is a request to navigate to a location corresponding to an electronic ticket; the processing unit 302 is used to determine a third location according to the target request, where the third location is a location corresponding to the electronic ticket; the second location and the third location are input into a preset route library for query to obtain a target route map; the target route map is sent to a target AR device, and the target AR device displays the target route map to the target user so that the target user can move according to the target route map.
[0066] In a possible implementation, the confirmation unit 303 is used to confirm that the target user is in a first abnormal state when the target distance is equal to a preset first distance, determine a first processing method according to the first abnormal state, the first processing method is a vibration prompt method and a text prompt method, the abnormal state includes the first abnormal state, and the preset distance includes the preset first distance; the confirmation unit 303 is used to confirm that the target user is in a second abnormal state when the target distance is less than the preset first distance and the target distance is greater than the preset second distance, determine a second processing method according to the second abnormal state, the first processing method is a sound prompt method, the abnormal state includes the second abnormal state, and the preset distance includes the preset second distance; the confirmation unit 303 is used to confirm that the target user is in a third abnormal state when the target distance is equal to or less than the preset second distance, determine a third processing method according to the third abnormal state, the third processing method is a manual prompt method, and the abnormal state includes the third abnormal state.
[0067] 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.
[0068] The present application also discloses an electronic device. Figure 4 , Figure 4 The electronic device 400 may include: at least one processor 401 , at least one network interface 404 , a user interface 403 , a memory 405 , and at least one communication bus 402 .
[0069] The communication bus 402 is used to realize the connection and communication between these components.
[0070] The user interface 403 may include a display screen (Display) and a camera (Camera). Optionally, the user interface 403 may also include a standard wired interface and a wireless interface.
[0071] The network interface 404 may optionally include a standard wired interface or a wireless interface (such as a WI-FI interface).
[0072] Among them, the processor 401 may include one or more processing cores. The processor 401 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 405, and calling data stored in the memory 405. Optionally, the processor 401 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 401 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 401, and it can be implemented separately through a chip.
[0073] Among them, the memory 405 may include a random access memory (RAM) or a read-only memory (Read-Only Memory). Optionally, the memory 405 includes a non-transitory computer-readable storage medium. The memory 405 can be used to store instructions, programs, codes, code sets or instruction sets. The memory 405 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 405 can also be optionally at least one storage device located away from the aforementioned processor 401.
[0074] like Figure 4 As shown, the memory 405 as a computer storage medium may include an operating system, a network communication module, a user interface module, and an AR-based electronic fence warning application.
[0075] exist Figure 4In the electronic device 400 shown, the user interface 403 is mainly used to provide an input interface for the user and obtain data input by the user; and the processor 401 can be used to call the application program for AR-based electronic fence warning stored in the memory 405. When executed by one or more processors, the electronic device executes one or more methods described in the above embodiments.
[0076] 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.
[0077] 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.
[0078] 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.
[0079] 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.
[0080] 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.
[0081] 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.
[0082] 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. An AR-based electronic fence early warning method, characterized in that: Applied in an early warning platform, the method includes: Obtain target identity information corresponding to the target user, where the target identity information is the identity information of the seat corresponding to the electronic ticket scanned by the target AR device, where the electronic ticket is the ticket information corresponding to participating in the target activity; If the target identity information is verified to be correct, a first position corresponding to the target user is obtained, where the first position is a position acquired using the target AR device; Inputting the first position into a preset model for analysis to obtain a target distance; Determine whether the target distance is greater than a preset distance, where the preset distance is the distance corresponding to the boundary of the target electronic fence; When the target distance is less than or equal to the preset distance, it is confirmed that the target user is in an abnormal state, a first warning prompt information is generated according to the abnormal state, and the first warning prompt information is sent to the target AR device so that the target user can view the first warning prompt information according to the target AR device.
2. The method according to claim 1, characterized in that Before inputting the first position into a preset model for analysis to obtain a target distance, the method further includes: Determine a first area according to the target identity information, the first area being an area defined by an electronic fence according to the electronic ticket; Determine whether the first position exists in a preset position table, where the preset position table is position information corresponding to the first area; When the first position exists in the preset position table, it is confirmed that the first position is input into the preset model for analysis.
3. The method according to claim 2, characterized in that After determining the first area according to the target identity information, the method further includes: Obtaining a target level corresponding to the electronic ticket; Obtaining an access level corresponding to the first area; Determining whether the target level is less than the access level; When the target level is lower than the access level, it is confirmed that the target user is in a first state, where the first state indicates that the target user has no authority to enter a state corresponding to the first area.
4. The method according to claim 3, characterized in that: After determining whether the target level is less than the access level, the method further includes: When the target level is equal to the access level, it is confirmed that the target user is in a second state, and the second state indicates that the target user belongs to a state corresponding to the first area; When the target level is greater than the access level, it is confirmed that the target user is in a third state, and the third state indicates that the target user has the authority to enter the state corresponding to the first area; Obtain the target number of people corresponding to the first area; Determine whether the target number of people is greater than a preset number of people, where the preset number of people is the total number of people that can be normally accommodated in the first area; When the target number of people is greater than the preset number of people, it is confirmed that the first area is in an abnormal number of people state, and a second early warning prompt information is sent based on the abnormal number of people state. The second early warning prompt information is used to prompt the target population to return to the corresponding position. The target population is the people corresponding to the third state in the first area.
5. The method according to claim 2, characterized in that: After the first position exists in the preset position table, the method further includes: At preset time intervals, obtaining a second location corresponding to the target user; If the second location does not exist in the preset location table, confirming that the target user is in the second area; Sending location anomaly prompt information to the target AR device so that the target user can view the location anomaly prompt information.
6. The method according to claim 5, characterized in that After confirming that the target user is in the second area if the second location does not exist in the preset location table, the method further includes: receiving a target request sent by the target user, wherein the target request is a request for navigating to a location corresponding to the electronic ticket; Determine a third location according to the target request, the third location being a location corresponding to the electronic ticket; Input the second position and the third position into a preset route library for query to obtain a target route map; The target route map is sent to the target AR device, and the target AR device displays the target route map to the target user so that the target user moves according to the target route map.
7. The method according to claim 1, characterized in that When the target distance is less than or equal to the preset distance, confirming that the target user is in an abnormal state specifically includes: When the target distance is equal to the preset first distance, it is confirmed that the target user is in a first abnormal state, and a first processing method is determined according to the first abnormal state, the first processing method is a vibration prompt method and a text prompt method, the abnormal state includes the first abnormal state, and the preset distance includes the preset first distance; When the target distance is less than the preset first distance and the target distance is greater than the preset second distance, it is confirmed that the target user is in a second abnormal state, and a second processing method is determined according to the second abnormal state, the first processing method is a sound prompt method, the abnormal state includes the second abnormal state, and the preset distance includes the preset second distance; When the target distance is equal to or less than the preset second distance, it is confirmed that the target user is in a third abnormal state, and a third processing method is determined according to the third abnormal state. The third processing method is a manual prompt method by personnel, and the abnormal state includes the third abnormal state.
8. An AR-based electronic fence warning device, characterized in that: The device is an early warning platform, which comprises an acquisition unit (301), a processing unit (302) and a confirmation unit (303); The acquisition unit (301) acquires target identity information corresponding to the target user, wherein the target identity information is the identity information of the seat corresponding to the electronic ticket scanned by the target AR device, and the electronic ticket is the ticket information corresponding to the target activity; The processing unit (302) acquires a first position corresponding to the target user if the target identity information is verified to be correct, the first position being a position acquired by using the target AR device; inputs the first position into a preset model for analysis to obtain a target distance; and determines whether the target distance is greater than a preset distance, the preset distance being a distance corresponding to a boundary of a target electronic fence; The confirmation unit (303) confirms that the target user is in an abnormal state when the target distance is less than or equal to the preset distance, generates first warning prompt information according to the abnormal state, and sends the first warning prompt information to the target AR device so that the target user can view the first warning prompt information according to the target AR device.
9. An electronic device, characterized in that: The electronic device (400) comprises a processor (401), a memory (405), a user interface (403) and a network interface (404), wherein the memory (405) is used to store instructions, the user interface (403) and the network interface (404) are used to communicate with other devices, and the processor (401) is used to execute the instructions stored in the memory (405) so that the electronic device (400) 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 executed.