Intelligent path planning system and method for escaping from secret room
By using lidar sensors, cameras, UWB base stations and BLE beacons in the escape room game, the room map is built in real time and the game path is dynamically adjusted, which solves the problems of inaccurate position acquisition and insufficient path adjustment in the existing system, and improves the game experience and fun.
Patent Information
- Application Number
- CN202510433335.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-04-08
- Publication Date
- 2025-07-08
AI Technical Summary
The existing escape room game system cannot accurately obtain player location information, resulting in lag or wrong guidance during the game, and the game path cannot be adjusted in real time based on the plot information, affecting the player's experience.
The positioning system of lidar sensors and cameras combined with UWB base stations and BLE beacons is used to build a secret room map model in real time, combine real-time positioning and map construction algorithm to obtain path information, and dynamically adjust the game path according to the plot and player performance through the central control module.
It realizes accurate acquisition of player position information, reduces game loss or lag, enhances game immersion and challenge, provides personalized game paths, and improves game fluency and playability.
Smart Images

Figure CN120274753A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of artificial intelligence, and in particular, to an intelligent path planning system and method for escape rooms. Background Art
[0002] With the continuous development of technology, entertainment methods are also constantly innovating. As an emerging entertainment activity, escape rooms are becoming increasingly popular among more and more people. However, in the design and implementation of traditional escape room games, a large amount of manpower and material resources are often required, and it is difficult to achieve personalized customization. Therefore, how to improve the intelligent level of escape room games, reduce operating costs, and enhance the player experience has become an urgent problem in the industry.
[0003] In recent years, with the development of technologies such as artificial intelligence and the Internet of Things, intelligent path planning systems have gradually been applied to various fields. Applying an intelligent path planning system to escape room games can achieve real-time monitoring and management of the game process, dynamically adjust the game difficulty and path according to the player's performance and the development of the plot, thereby enhancing the fun and challenge of the game. Currently, there are already some escape room games based on intelligent path planning systems on the market, but these systems still have some problems in actual applications. For example, some systems cannot accurately obtain the player's location information, resulting in lags or incorrect guidance during the game process; some systems cannot adjust the game path in real time according to the plot information, making the game too simple or difficult and affecting the player experience. Summary of the Invention
[0004] In view of this, in order to address the deficiencies of the prior art, the present invention proposes an intelligent path planning system and method for escape rooms, aiming to solve at least one of the problems raised in the above background art.
[0005] In a first aspect
[0006] The present invention provides an intelligent path planning system for escape rooms, including: a path acquisition module configured to obtain path information of a target escape room;
[0007] An information acquisition module configured to obtain plot information of the target escape room and real-time dynamic information of a person in the target escape room. The information acquisition module is electrically connected to the path acquisition module, and the information acquisition module is further configured to match corresponding path information according to the plot information;
[0008] A central control module electrically connected to the information acquisition module and the path acquisition module. The central control module is configured to output test question information based on the plot information, and the central control module sets a preset game path for the person according to the test question information.
[0009] In some embodiments, the path acquisition module constructs a map model in real time based on a real-time positioning and map construction algorithm by installing a lidar sensor and a camera at a key position of the target secret room, and the path acquisition module obtains the path information of the target secret room through the real-time constructed map model.
[0010] In some embodiments, the dynamic information includes real-time time information and real-time location information. A plurality of UWB base stations are arranged in the target secret room, and the real-time location information of the personnel is obtained by receiving signals sent by the plurality of UWB base stations through wristbands carried by the personnel. A plurality of BLE beacons are also arranged in the target secret room. When the positioning signal of the UWB base station is interfered, the BLE beacon can provide the location area information of the personnel.
[0011] The real-time time information includes: a first time parameter consumed by the person to pass through multiple levels of the target secret room, and a second time parameter consumed to pass through the entire secret room.
[0012] In some embodiments, the information acquisition module is also configured to eliminate abnormal data points from the UWB positioning data transmitted by the UWB base station, and obtain the real-time location information of the personnel through a triangulation positioning algorithm based on the UWB positioning data after eliminating the abnormal data points; when the UWB positioning data transmitted by the UWB base station fluctuates, the real-time location information of the personnel is corrected and supplemented through the BLE data transmitted by the BLE beacon.
[0013] In some embodiments, the information collection module is also configured to match corresponding path information according to the plot information, including: setting multiple sub-plots with different difficulty coefficients according to the plot information, and planning different game paths according to the multiple sub-plots with different difficulty coefficients.
[0014] In some embodiments, the central control module is configured to output test question information based on the plot information, and when the central control module sets a preset game path for a person according to the test question information, it includes:
[0015] The central control module is also configured to test the personnel using the test question information before the personnel enter the target secret room to obtain the test score X1 of the personnel to be entered, and the central control module sets the preset game path for the personnel to be entered according to the test score.
[0016] In some embodiments, when the central control module sets the preset game path for the person to enter according to the test score, it includes:
[0017] The central control module is further configured to be provided with a preset score value X0;
[0018] When the test score X1 of the person is greater than the preset score value X0, the central control module sets a first preset game path for the person;
[0019] When the test score X1 of the person is less than the preset score value X0, the central control module sets a second preset game path for the person;
[0020] When the test score X1 of the person is equal to the preset score value X0, the central control module sets a third preset game path for the person;
[0021] The difficulty coefficient of the first preset game path is greater than the difficulty coefficient of the second preset game path;
[0022] The difficulty coefficient of the third preset game path is the same as the difficulty coefficient of the second preset game path.
[0023] In some embodiments, when the test score X1 of the person is equal to the preset score value X0 and the central control module sets a third preset game path for the person, it includes:
[0024] The central control module is further configured to set the standard time parameter t0 required for the first level of the target secret room;
[0025] When the first time parameter consumed by the person to pass the first level of the target secret room is greater than or equal to the standard time parameter t0 of the first level of the target secret room, the third preset game path is not changed;
[0026] When the first time parameter consumed by the person to pass the first level of the target secret room is less than the standard time parameter t0 of the first level of the target secret room, the central control module modifies the preset third preset game path to the first preset game path.
[0027] In some embodiments, the second time parameter consumed to clear the entire secret room includes:
[0028] The central control module is further configured to set the standard time parameter range t1 consumed by passing the first preset game path and the standard time parameter range t2 consumed by passing the second preset game path;
[0029] When the time consumed by the person to pass the first preset game path exceeds the standard time parameter range t1, determine the adjustment coefficient of the preset score value X0 as L1, and adjust the preset score value X0 according to the adjustment coefficient L1;
[0030] When the time consumed by the personnel to pass through the second preset game path exceeds the standard time parameter range t2, determine that the adjustment coefficient of the preset score value X0 is L2, and adjust the preset score value X0 according to the adjustment coefficient L2.
[0031] In a second aspect, the present invention provides an intelligent path planning method for escape rooms, including the following steps:
[0032] S1. Obtain the path information of the target escape room;
[0033] S2. Obtain the plot information of the target escape room, and obtain the dynamic information of the personnel in the target escape room in real time, and match the corresponding path information according to the plot information;
[0034] S3. Output test question information based on the plot information, and the central control module sets a preset game path for the personnel according to the test question information.
[0035] Compared with the prior art, the beneficial effects of the present invention are as follows: The system can obtain and match the corresponding path information in real time according to the plot information of the player, provide a personalized game path that conforms to the plot development for the player, enable the player to more deeply integrate into the game plot, and enhance the immersion of the game. Evaluate the player's ability through the test question information, set a game path and difficulty coefficient that match the player's ability, ensure that each player can play the game within their comfortable challenge range, and avoid losing interest due to excessive or too low difficulty. Utilize a variety of positioning technologies (such as lidar sensors, cameras, UWB base stations, BLE beacons, etc.) to obtain the accurate position information of the player in real time, and combine with the intelligent path planning algorithm to provide accurate game navigation for the player, reduce the situation of the player getting lost or stuck in the escape room, and make the game process more smooth. The central control module dynamically adjusts the game path according to the player's game progress, plot development and real-time position information, maintains the freshness and challenge of the game, and keeps the player highly engaged. Eliminate and correct abnormal points in the positioning data transmitted by the UWB base station, and assist in positioning through BLE beacons, improving the accuracy and reliability of positioning. When detecting abnormal player positions or equipment failures, the system can timely send out warning signals to remind the staff to take corresponding measures. Set multiple sub-plots with different difficulty coefficients according to the plot information, and plan different game paths for each sub-plot. In this way, the appropriate difficulty level can be selected according to the player's ability and preference, making the game have a wider adaptability and playability.
[0036] The above general description and the following detailed description are only exemplary and explanatory, and do not limit the present disclosure.
[0037] Other features and aspects of the present disclosure will become clearer from the following detailed description of the exemplary embodiments with reference to the accompanying drawings. Brief Description of the Drawings
[0038] In order to more clearly illustrate the specific embodiments of the present invention or the technical solutions in the prior art, the following will briefly introduce the drawings required for the description of the specific embodiments or the prior art. Obviously, the drawings in the following description are some embodiments of the present invention. For those of ordinary skill in the art, without creative efforts, other drawings can also be obtained based on these drawings.
[0039] Figure 1 It is a functional block diagram of an intelligent path planning system for escape rooms provided by an embodiment of the present invention;
[0040] Figure 2 It is a flowchart of an intelligent path planning method for escape rooms provided by an embodiment of the present invention. Detailed Embodiments
[0041] The following will clearly and completely describe the technical solutions in the embodiments of the present application with reference to the drawings in the embodiments of the present application. Obviously, the described embodiments are only a part of the embodiments of the present application, rather than all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those of ordinary skill in the art without creative efforts belong to the scope of protection of the present application.
[0042] In the description of the present application, it should be understood that the orientation or positional relationship indicated by the terms "center", "upper", "lower", "front", "rear", "left", "right", "vertical", "horizontal", "top", "bottom", "inner", "outer", etc. is based on the orientation or positional relationship shown in the drawings, and is only for the convenience of describing the present application and simplifying the description, rather than indicating or implying that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and therefore should not be construed as a limitation to the present application.
[0043] The terms "first" and "second" are only used for descriptive purposes and cannot be understood as indicating or implying relative importance or implicitly indicating the number of the indicated technical features. Thus, the features defined with "first" and "second" may explicitly or implicitly include one or more of such features. In the description of the present application, unless otherwise stated, the meaning of "a plurality" is two or more.
[0044] In the description of the present application, it should be noted that unless otherwise clearly specified and defined, the terms "installation", "connection", and "coupling" should be understood in a broad sense. For example, it can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be a direct connection or an indirect connection through an intermediate medium, and it can be the communication inside two components. For those of ordinary skill in the art, the specific meanings of the above terms in the present application can be understood according to specific circumstances.
[0045] Refer to Figure 1-2 As shown, the first embodiment:
[0046] An intelligent path planning system for escape rooms according to an embodiment of the present application includes:
[0047] A path acquisition module configured to obtain path information of a target escape room;
[0048] An information acquisition module configured to obtain plot information of the target escape room and real-time dynamic information of a person in the target escape room. The information acquisition module is electrically connected to the path acquisition module, and the information acquisition module is further configured to match corresponding path information according to the plot information;
[0049] A central control module electrically connected to the information acquisition module and the path acquisition module. The central control module is configured to output test question information based on the plot information, and the central control module sets a preset game path for the person according to the test question information.
[0050] In some specific embodiments, the path acquisition module constructs a map model in real time through lidar sensors and cameras installed at key positions in the target escape room and based on the simultaneous localization and mapping algorithm, and the path acquisition module obtains the path information of the target escape room through the real-time constructed map model.
[0051] It should be understood that the lidar sensors installed at key positions in the target secret room can measure distances with extremely high precision. By emitting laser beams and receiving the reflected light, it can accurately obtain the position information of surrounding objects. For example, in a secret room with complex terrain, such as a secret room with multi-layer structures, curved passages, and a large number of obstacles, the lidar sensors can accurately depict the shapes and positions of walls and obstacles with a very small error range, providing a reliable data basis for subsequent construction of a precise map model. Its high scanning frequency enables it to quickly obtain a large number of data points, thus reflecting the subtle changes in the secret room environment in real time. For instance, when props or obstacles in the secret room move, the lidar sensors can promptly capture such changes to ensure the timeliness of the map information. The camera works in tandem with the lidar sensors and can provide rich visual information. It can identify features such as the color and texture of objects, which helps to distinguish different types of objects, such as differentiating the decorations on the wall from actual obstacles. In the secret room scenario, brightly colored props may be a clue, and the camera can clearly capture these visual clues to complement the lidar sensors' deficiency in color recognition. The wide-angle lens of the camera can cover a large area and can obtain a panoramic image of the entire secret room space, providing an intuitive scene perspective for the operator, facilitating the overall understanding of the environment, and also helping to verify the accuracy of the lidar sensor data.
[0052] A number of Ultra-Wideband (UWB) base stations are evenly arranged on the top of the secret room to form a high-precision positioning system. The UWB technology has a positioning accuracy of centimeter level, which can meet the requirement of accurately tracking the position of players. Each base station continuously emits UWB signals, and the tags (such as bracelets or card-type tags) carried by players receive these signals and calculate the distances between the players and each base station according to the Time Difference of Arrival (TDOA) of the signals. The microprocessor built into the tag transmits the distance data to the information acquisition module, and determines the real-time position coordinates (x, y, z) of the player in the secret room through the triangulation algorithm or other positioning algorithms. In order to enhance the accuracy and stability of positioning, some Bluetooth Low Energy (BLE) beacons are arranged in the secret room at the same time. As an auxiliary positioning means, the BLE beacon combined with the UWB positioning system can, to a certain extent, make up for the problems of signal occlusion or interference that may occur to UWB signals in some complex environments. When the UWB positioning signal is interfered, the BLE beacon can provide approximate position area information to help the system better track the player's position. A number of high-definition intelligent cameras are installed at each corner of the secret room, and these cameras have the function of motion capture. The cameras adopt advanced image recognition algorithms and can monitor the behavior actions of players in real time, such as walking, running, jumping, bending down, picking up items, etc. By analyzing consecutive frames of the video image, the skeletal joint information of the player is extracted and converted into digital signals and transmitted to the information acquisition module. The information acquisition module judges the specific action type and amplitude of the player according to these digital signals, so as to more accurately understand the dynamic behavior of the player in the secret room. For various props and items in the secret room, such as keys, documents, tools, etc., corresponding sensors are installed to detect the interaction behavior between the player and the items. For example, pressure sensors and contact sensors are installed on important props. When the player picks up or touches these props, the sensors will immediately generate signals and send them to the information acquisition module. In addition, for some props that require specific operations to be used, such as password locks, mechanism boxes, etc., fingerprint recognition modules, micro cameras (for identifying password input or mechanism operation actions), etc. can also be integrated to further enrich the acquisition dimension of item interaction information.
[0053] Obtain the dynamic information of personnel in the secret room in real time, including location, time, etc., so that the game can be adjusted according to the game rhythm of each player. For example, for players with a faster problem-solving speed, the system can appropriately increase the difficulty of subsequent puzzles or speed up the progress of the plot; while for players who need more time to think, the system can give a more relaxed time limit or provide some additional hints. This can prevent players from losing interest due to overly high or low game difficulty and ensure that each player can enjoy the game within their comfort zone. Understanding the location information of players in the secret room can also enable some interactive game elements. For example, when multiple players approach the same puzzle area, the system can trigger a multiplayer cooperative puzzle that requires players to work together to solve. This interactive design based on player location can enhance the sociality and teamwork spirit among players. Mastering the location information of players in real time is crucial for ensuring the safety of players. In a secret room game, some emergencies may occur, such as a player feeling unwell or equipment failure. Through the real-time location information, the staff can quickly locate the position of the player and provide timely assistance. For example, if a player falls and gets injured in the secret room, the staff can quickly rush to the scene for handling based on the location information. At the same time, the location information can also be used to monitor the behavior of players to prevent players from violating the game rules or damaging the secret room facilities. If a player attempts to enter an unauthorized area or damage props, the system can alert the staff to intervene through an alarm.
[0054] Adopt the high-speed Controller Area Network (CAN) bus as the electrical connection and communication method between the information acquisition module and the path acquisition module. The CAN bus has the characteristics of high reliability, real-time performance, and strong anti-interference ability, and can meet the needs of a large amount of data transmission in a complex secret room environment. Integrate the CAN bus controller and transceiver in the information acquisition module and the path acquisition module respectively, and connect the two modules through twisted pair to achieve rapid data exchange and sharing.
[0055] Specifically, by leveraging the complementary advantages of lidar sensors and cameras, the lidar sensors provide high-precision distance measurement and obstacle detection, while the cameras provide rich visual information such as the color and texture of objects. This enables the constructed map model to be more accurate and detailed, and can more realistically reflect the actual environment of the target secret room. Based on the Simultaneous Localization and Mapping (SLAM) algorithm, it can process sensor data in real time and quickly update the map model. When objects in the secret room move or the environment changes, the path acquisition module can promptly capture these changes, ensuring the timeliness of path information, thereby improving the accuracy of path planning. In a complex target secret room, there may be various irregular shapes, narrow passages, and hidden areas. The high-precision measurement and wide coverage capabilities of lidar sensors, as well as the visual recognition capabilities of cameras, enable the path acquisition module to better perceive and understand these complex environments. The real-time constructed map model can be adjusted and optimized according to the specific conditions of the secret room, providing a more accurate basis for path planning. Whether facing complex trap designs or changing scene layouts, the path acquisition module can quickly adapt to ensure the effectiveness of path planning. By constructing the map model in real time, the path acquisition module can conduct a preliminary analysis and planning of the environment before the player enters the secret room. In this way, when the player starts the game, the central control module can more quickly generate a suitable game path for the player based on the preset game rules and path information, reducing the waiting time and improving the overall efficiency of the game. At the same time, since the map model is updated in real time, the path acquisition module can continuously optimize the path planning during the player's game. If an unexpected situation or the player's special needs occur, it can promptly adjust the path to prevent the player from entering dead ends or invalid areas, saving the player's time and energy. The real-time constructed map model can accurately reflect the unique features and details of each target secret room. Combining the dynamic information and plot information of the player obtained by the information acquisition module, the central control module can customize personalized game paths for different players according to their abilities, preferences, and game progress. For example, for players who like to explore, some more concealed or challenging paths can be provided; for players who pursue speed, more direct routes can be recommended. This personalized path customization can enhance the player's gaming experience and meet the needs of different players.
[0056] Since the map model is constructed in real time, each time a player enters the secret room, the path information may be different. This increases the uncertainty and freshness of the game, enabling players to maintain a high level of interest during multiple gameplay sessions. At the same time, different path plans also affect the development and outcome of the game's plot. Players can experience different storylines and game results based on their choices and actions, enhancing the playability and replayability of the game.
[0057] In some specific embodiments, the dynamic information includes real-time time information and real-time location information. A plurality of UWB base stations are arranged in the target secret room, and the real-time location information of the personnel is obtained by receiving signals sent by the plurality of UWB base stations through wristbands carried by personnel. A plurality of BLE beacons are also arranged in the target secret room. When the positioning signal of the UWB base station is interfered, the BLE beacon can provide the location area information of the personnel.
[0058] The real-time time information includes: a first time parameter consumed by the person to pass through multiple levels of the target secret room, and a second time parameter consumed to pass through the entire secret room.
[0059] It should be understood that the player position data transmitted by the receiving positioning sensor group includes UWB positioning data and BLE auxiliary positioning data. First, the UWB positioning data is pre-processed to remove abnormal data points, and then the player's precise position coordinates are calculated based on the triangulation positioning algorithm or other optimized positioning algorithms. For the BLE auxiliary positioning data, it is fused with the UWB positioning data. When the UWB signal is unstable or interfered, the BLE data is used to correct and supplement the player's position. The positioning data processing program will also track and record the player's position trajectory, generate the player's movement path information, and provide basic data for subsequent path planning and game analysis.
[0060] Multiple UWB base stations installed in the target chamber continuously emit wireless signals. These signals are characterized by high bandwidth and high precision and can achieve precise positioning within a short distance. The bracelet carried by the person is equipped with a UWB receiving module, which can receive signals from multiple UWB base stations. The bracelet performs preliminary processing on the received signals to obtain the characteristic information of the signals, such as the time of arrival (ToA) or the time difference of arrival (TDoA). The bracelet sends the obtained signal characteristic information back to the central control module. The central control module calculates the real-time position of the person using the triangulation algorithm based on information such as the distance or time difference between multiple UWB base stations and the bracelet. By using the signals from at least three UWB base stations at different positions, the position of the bracelet in three-dimensional space can be determined, thus achieving precise positioning of the person's position. Multiple BLE beacons installed in the target chamber continuously broadcast Bluetooth Low Energy signals. These signals contain the position information of the beacons themselves and other relevant information. When the bracelet worn by the person enters the signal coverage area of the BLE beacon, the bracelet starts to scan and identify the nearby BLE beacons. The bracelet can obtain the position information of the BLE beacon and roughly judge the distance range between the bracelet and the BLE beacon based on information such as the signal strength. If the UWB base station positioning signal is interfered with and the person's position cannot be accurately obtained, the bracelet can send the obtained BLE beacon information to the central control module. The central control module determines the general area where the person is located based on the positions of multiple BLE beacons and the distance range between the bracelet and them, thus providing the position area information of the person as a supplement to the UWB positioning. Sensors or triggering devices are installed at each level of the target chamber. When a person enters a certain level, these devices will be triggered. For example, it can be a pressure sensor that senses the weight of the person, or an infrared sensor that detects the passage of the person. Once triggered, the central control module starts to record the time point when the person enters this level. When the person completes the task of this level or meets the passing conditions, the corresponding sensor will be triggered again. For example, unlocking the puzzle mechanism of this level will trigger a specific switch or sensor. At this time, the central control module records the time point when the person passes this level. The central control module calculates the difference between the time point when the person enters the level and the time point when the person passes the level to obtain the first time parameter consumed by the person at this level. Detection devices are installed at the entrance and exit of the target chamber respectively. When a person enters the chamber, the entrance detection device is triggered, and the central control module records the time of entering the chamber as the starting time. When the person reaches the exit and successfully clears the level, the exit detection device is triggered, and the central control module records the time at this time as the ending time. The central control module calculates the difference between the ending time and the starting time to obtain the second time parameter consumed by the person to clear the entire chamber. Data transmission between the bracelet and the central control module is carried out through a wireless communication method (such as Wi-Fi, Bluetooth or other dedicated communication protocols).The bracelet transmits the collected information about the personnel's location (including UWB base station signal feature information and BLE beacon information) and time-related information (such as the time points of entering and leaving the level, etc.) to the central control module in real time. Various sensors in the target chamber (such as level sensors, BLE beacons, UWB base stations, etc.) also transmit data to the central control module by wired or wireless means to ensure the integrity and accuracy of the data. After receiving various types of data, the central control module first cleans and preprocesses the data to remove abnormal data and noise interference. Then, the data is further analyzed and processed according to the preset algorithms and logic. For example, the UWB positioning algorithm is used to calculate the personnel's location, and the level time and total clearance time are calculated according to the time record. Finally, the central control module integrates the processed real-time location information and real-time time information to provide support for the game's logic control, plot development and user experience. For example, based on the player's location and time information, it is determined whether to trigger a specific game event or task, and the player's game performance is evaluated based on the clearance time.
[0061] In some specific embodiments, the information acquisition module is also configured to eliminate abnormal data points from the UWB positioning data transmitted by the UWB base station, and obtain the real-time location information of the personnel through a triangulation positioning algorithm based on the UWB positioning data after eliminating the abnormal data points; when the UWB positioning data transmitted by the UWB base station fluctuates, the real-time location information of the personnel is corrected and supplemented through the BLE data transmitted by the BLE beacon.
[0062] It should be understood that the UWB base station continuously emits signals in the target chamber, and the bracelet carried by the person receives these signals. The bracelet extracts the characteristics of each received UWB signal, including relevant information such as signal strength and arrival time, and transmits this data to the central control module. The information acquisition module of the central control module will collect a large amount of positioning data about the same bracelet from multiple UWB base stations to form a data set. The information acquisition module is built-in with an anomaly detection algorithm. This algorithm analyzes the characteristics of each positioning data point and compares it with a preset normal data model. For example, by setting a reasonable range of signal strength and a threshold of arrival time to determine whether the data is abnormal. Data points that exceed the normal range, such as data points with too strong or too weak signal strength or a large deviation in arrival time from the expected value, will be identified as abnormal data points. Once an abnormal data point is identified, the information acquisition module will remove it from the positioning data set. This can reduce the impact of abnormal data on subsequent positioning calculations and improve the accuracy and stability of positioning. After removing the abnormal data points, the information acquisition module selects at least three valid data from different UWB base stations from the remaining normal UWB positioning data. These data contain information such as the distance or time difference between the bracelet and each UWB base station. The selected data is preprocessed to ensure the unity of data format and unit for subsequent calculations. Using the triangulation algorithm, the position of the bracelet is determined based on the distance or time difference between the bracelet and multiple UWB base stations. Taking the triangulation based on time difference of arrival (TDoA) as an example, by measuring the time difference of the bracelet receiving signals from different UWB base stations and combining physical constants such as the speed of light, the distance difference between the bracelet and each base station can be calculated. According to multiple distance differences, a system of equations is constructed, and by solving this system of equations mathematically, the coordinates of the bracelet in three-dimensional space, that is, the real-time position information of the person, can be obtained. Multiple BLE beacons set in the target chamber continuously broadcast Bluetooth Low Energy signals, and the signals contain the position information of the BLE beacons themselves and other relevant information. The bracelet carried by the person is equipped with a Bluetooth scanning function, which can scan and receive the signals of nearby BLE beacons, obtain the position information of the BLE beacons and data such as the signal strength between the bracelet and the BLE beacons, and transmit this data to the central control module. The information acquisition module will monitor the stability of the UWB positioning data in real time. When it is found that the UWB positioning data transmitted by the UWB base station fluctuates, such as the frequent change of the UWB signal strength received by the bracelet or the instability of the arrival time, the BLE data correction and supplement mechanism will be triggered. The position of the bracelet is roughly estimated using the position information and signal strength of the BLE beacon. According to the signal strength model, there is a certain relationship between the signal strength and the distance, and the distance between the bracelet and the BLE beacon can be estimated by measuring the signal strength of the BLE beacon received by the bracelet. Combining the position information and distance estimation of multiple BLE beacons, the position area information of the bracelet is calculated using a similar positioning algorithm.This location area information can be used as supplementary information to correct and restrict the position of the bracelet.
[0063] In some specific embodiments, when the information acquisition module is further configured to match corresponding path information according to the plot information, it includes: setting multiple sub-plots with different difficulty coefficients according to the plot information, and planning different game paths according to the multiple sub-plots with different difficulty coefficients.
[0064] In some specific embodiments, the central control module is configured to output test question information based on the plot information. When the central control module sets a preset game path for a person according to the test question information, it includes:
[0065] The central control module is further configured to conduct a test on the person through the test question information before the person enters the target secret room, obtain the test score X1 of the person to be entered, and the central control module sets the preset game path for the person to be entered according to the test score.
[0066] In some specific embodiments, when the central control module sets the preset game path for the person to be entered according to the test score, it includes:
[0067] The central control module is further configured to set a preset score value X0;
[0068] When the test score X1 of the person is greater than the preset score value X0, the central control module sets a first preset game path for the person;
[0069] When the test score X1 of the person is less than the preset score value X0, the central control module sets a second preset game path for the person;
[0070] When the test score X1 of the person is equal to the preset score value X0, the central control module sets a third preset game path for the person;
[0071] The difficulty coefficient of the first preset game path is greater than the difficulty coefficient of the second preset game path;
[0072] The difficulty coefficient of the third preset game path is the same as the difficulty coefficient of the second preset game path.
[0073] In some specific embodiments, when the test score X1 of the person is equal to the preset score value X0, when the central control module sets a third preset game path for the person, it includes:
[0074] The central control module is further configured to set a standard time parameter t0 required for the first level of the target secret room;
[0075] When the first time parameter consumed by a person to pass the first level of the target secret room is greater than or equal to the first-level standard time parameter t0 of the target secret room, the third preset game path is not changed;
[0076] When the first time parameter consumed by a person to pass the first level of the target secret room is less than the first-level standard time parameter t0 of the target secret room, the central control module modifies the preset third preset game path to the first preset game path.
[0077] In some specific embodiments, the second time parameter consumed to pass through the entire secret room includes:
[0078] The central control module is further configured to set the standard time parameter range t1 consumed by passing through the first preset game path and the standard time parameter range t2 consumed by passing through the second preset game path;
[0079] When the time consumed by a person to pass through the first preset game path exceeds the standard time parameter range t1, it is determined that the adjustment coefficient of the preset score value X0 is L1, and the preset score value X0 is adjusted according to the adjustment coefficient L1;
[0080] When the time consumed by a person to pass through the second preset game path exceeds the standard time parameter range t2, it is determined that the adjustment coefficient of the preset score value X0 is L2, and the preset score value X0 is adjusted according to the adjustment coefficient L2.
[0081] It should be understood that the central control module stores the information of the first preset game path and the second preset game path designed in advance. These game paths are specific clearance routes set in the target secret room, and each path has its unique characteristics and challenges. For the first preset game path, the central control module sets the corresponding standard time parameter range t1. This time range is determined comprehensively based on factors such as the difficulty, length, and expected player game speed of this path. For example, if this path is relatively short and the task difficulty is moderate, t1 may be set to 5 - 10 minutes. Similarly, for the second preset game path, the corresponding standard time parameter range t2 is also set. Due to the differences between different paths, the value of t2 may be different from t1. For example, t2 may be 8 - 15 minutes, depending on the specific design of the second path. The central control module will determine the adjustment coefficient L1 according to the preset rules. The determination method of the adjustment coefficient L1 can be based on the length of the exceeded time. For example, if the exceeded time is short, L1 may be close to 1, such as 1.1; if the exceeded time is long, L1 may be larger, such as 1.5. This coefficient reflects the situation that the person fails to complete this path within the expected time and will be used to adjust the preset score value X0.
[0082] For those who choose the second preset game path, the same monitoring process is carried out. The central control module monitors the time taken by the person to pass through this path in real time, from the starting point until the end task is completed. After the game is completed, the actual time consumed is compared with the standard time parameter range t2. For example, the standard time is 8 - 15 minutes. If the actual time taken by the person is 18 minutes, the determination of the adjustment coefficient will be triggered. Similar to the first path, the adjustment coefficient L2 is determined according to the duration exceeding the standard time t2. If the exceeded time is less, L2 may be close to 1, such as 1.05; if the exceeded time is more, L2 may increase accordingly, such as 1.3. This coefficient is used for subsequent adjustment of the preset score value X0. By setting different standard time parameter ranges for different paths, the difficulty differences between different paths can be balanced. If a path is more challenging in terms of task design or length, then setting a looser standard time parameter range for it can ensure that players will not be at an unfair disadvantage because they choose this path. For example, the first preset game path may have relatively concentrated but difficult tasks, while the second preset game path has relatively scattered tasks but a longer total duration. By setting appropriate standard time ranges t1 and t2 respectively, the overall difficulty and time requirements of the two paths can reach a balance.
[0083] Second Embodiment
[0084] An intelligent path planning method for escape rooms according to an embodiment of the present application includes the following steps:
[0085] S1. Obtain the path information of the target escape room;
[0086] S2. Obtain the plot information of the target escape room, and obtain the dynamic information of the person in the target escape room in real time, and match the corresponding path information according to the plot information;
[0087] S3. Output test question information based on the plot information, and the central control module sets a preset game path for the person according to the test question information.
[0088] Obviously, those skilled in the art can make various changes and modifications to the present invention without departing from the spirit and scope of the present invention. Thus, if these modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalent technologies, the present invention also intends to include these changes and modifications.
Claims
1. An intelligent path planning system for escape rooms, characterized in that, include: A path collection module, wherein the path collection module is configured to obtain path information of a target secret room; An information acquisition module, the information acquisition module is configured to acquire plot information of a target secret room and acquire dynamic information of a person in the target secret room in real time, the information acquisition module is electrically connected to the path acquisition module, and the information acquisition module is further configured to match corresponding path information according to the plot information; A central control module, wherein the central control module is electrically connected to the information acquisition module and the path acquisition module, and the central control module is configured to output test question information based on the plot information, and the central control module sets a preset game path for a person according to the test question information.
2. The intelligent path planning system for escape rooms according to claim 1, characterized in that, The path acquisition module constructs a map model in real time based on a real-time positioning and map construction algorithm by installing a laser radar sensor and a camera at a key position of the target secret room. The path acquisition module obtains the path information of the target secret room through the real-time constructed map model.
3. An intelligent path planning system for escape rooms according to claim 2, characterized in that, The dynamic information includes real-time time information and real-time location information. A plurality of UWB base stations are arranged in the target secret room, and the real-time location information of the personnel is obtained by receiving the signals sent by the plurality of UWB base stations through the wristbands carried by the personnel. A plurality of BLE beacons are also arranged in the target secret room. When the positioning signal of the UWB base station is interfered, the BLE beacon can provide the location area information of the personnel; The real-time time information includes: a first time parameter consumed by the person to pass through multiple levels of the target secret room, and a second time parameter consumed to pass through the entire secret room.
4. An intelligent path planning system for escape rooms according to claim 3, characterized in that, The information acquisition module is also configured to eliminate abnormal data points from the UWB positioning data transmitted by the UWB base station, and obtain the real-time location information of the personnel through a triangulation positioning algorithm based on the UWB positioning data after eliminating the abnormal data points; when the UWB positioning data transmitted by the UWB base station fluctuates, the real-time location information of the personnel is corrected and supplemented through the BLE data transmitted by the BLE beacon.
5. The intelligent path planning system for escape room according to claim 4, characterized in that, The information collection module is also configured to match corresponding path information according to the plot information, including: setting a plurality of sub-plots with different difficulty coefficients according to the plot information, and planning different game paths according to the plurality of sub-plots with different difficulty coefficients.
6. The intelligent path planning system for escape room according to claim 5, wherein The central control module is configured to output test topic information based on the plot information, and when the central control module sets a preset game path for a person according to the test topic information, it includes: The central control module is also configured to test the personnel using the test question information before the personnel enter the target secret room to obtain the test score X1 of the personnel to be entered, and the central control module sets the preset game path for the personnel to be entered according to the test score.
7. An intelligent path planning system for escape rooms according to claim 6, characterized in that, When the central control module sets the preset game path for the person to enter according to the test score, it includes: The central control module is further configured to be provided with a preset score value X0; When the test score X1 of the person is greater than the preset score value X0, the central control module sets a first preset game path for the person; When the test score X1 of the person is less than the preset score value X0, the central control module sets a second preset game path for the person; When the test score X1 of the person is equal to the preset score value X0, the central control module sets a third preset game path for the person; The difficulty coefficient of the first preset game path is greater than the difficulty coefficient of the second preset game path; The difficulty coefficient of the third preset game path is the same as the difficulty coefficient of the second preset game path.
8. An intelligent path planning system for escape rooms according to claim 7, characterized in that, When the test score X1 of the person is equal to the preset score value X0 and the central control module sets a third preset game path for the person, it includes: The central control module is further configured to set the standard time parameter t0 required for the first level of the target secret room; When the first time parameter consumed by the person to pass the first level of the target secret room is greater than or equal to the standard time parameter t0 of the first level of the target secret room, the third preset game path is not changed; When the first time parameter consumed by the person to pass the first level of the target secret room is less than the standard time parameter t0 of the first level of the target secret room, the central control module modifies the preset third preset game path to the first preset game path.
9. The intelligent path planning system for escape room according to claim 8, characterized in that, The second time parameter consumed to clear the entire secret room includes: The central control module is further configured to set the standard time parameter range t1 consumed by passing the first preset game path and the standard time parameter range t2 consumed by passing the second preset game path; When the time consumed by the person to pass the first preset game path exceeds the standard time parameter range t1, determine the adjustment coefficient of the preset score value X0 as L1, and adjust the preset score value X0 according to the adjustment coefficient L1; When the time consumed by the person to pass the second preset game path exceeds the standard time parameter range t2, determine the adjustment coefficient of the preset score value X0 as L2, and adjust the preset score value X0 according to the adjustment coefficient L2.
10. An intelligent path planning method for escape rooms, characterized in that, Applied to the intelligent path planning system for a secret room escape according to any one of claims 1 to 9, it includes the following steps: S1. Obtain the path information of the target secret room; S2. Obtain the plot information of the target secret room, and obtain the dynamic information of the person in the target secret room in real time, and match the corresponding path information according to the plot information; S3. Output test question information based on the plot information, and the central control module sets a preset game path for the person according to the test question information.