A method and system for tactical competition data interaction based on offline physical battlefields

CN122297996APending Publication Date: 2026-06-30HEBEI YUAN CULTURE COMM CO LTD
View PDF 1 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
HEBEI YUAN CULTURE COMM CO LTD
Filing Date
2026-04-03
Publication Date
2026-06-30

Smart Images

  • Figure CN122297996A_ABST
    Figure CN122297996A_ABST
Patent Text Reader

Abstract

This invention discloses a tactical competitive data interaction method and system based on an offline physical battlefield, relating to the field of offline real-world entertainment and multi-platform client linkage technology. The method includes: players registering and binding their accounts via any mainstream mini-program or H5 client such as WeChat, Alipay, Douyin, Meituan, and Xiaohongshu; setting up minefields (including proprietary toy mines), wearable smart equipment (including smart helmets, smart vests, and smart toy guns), escape room puzzle areas, and withdrawal points on the offline physical battlefield; anti-theft tags embedded in items on the battlefield and in the minefield; and an alarm sounding when a player dies without leaving with all items; collecting player offline behavior data and synchronizing it to the server; unified settlement at the cashier, with data synchronized to various mini-programs and H5 clients; enabling data reuse, online virtual auctions for offline redemption, and lottery activities; and the system including an offline physical terminal, multi-platform clients, and a server, with the server handling data processing, algorithm calculations, and anti-theft management. This invention solves the problems of existing offline tactical competitive experiences being monotonous, inefficient in operation, prone to item loss, and insufficient online-offline linkage, enhancing player immersion and stickiness, forming a unique technological barrier, and facilitating lightweight promotion.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the fields of offline real-world entertainment interaction, multi-platform client data interaction, and linkage between physical props and online systems. Specifically, it is a tactical competitive data interaction method and system that brings online tactical competitive gameplay offline, combining mainstream mini-programs such as WeChat mini-programs, Alipay mini-programs, Douyin mini-programs, Meituan mini-programs, and Xiaohongshu mini-programs and H5 clients to achieve closed-loop data management, adding a lottery function and possessing anti-theft attributes for physical props. It also relates to the fields of smart wearable equipment development, near-field communication (NFC) technology, water immersion sensing detection technology, and real-time linkage between smart hardware and online systems. Specifically, it includes hardware development and system linkage methods for smart toy guns, smart water immersion sensing vests, and smart linkage helmets adapted to offline tactical competitive scenarios involving water bullets. Background Technology

[0002] With the development of the offline immersive entertainment industry, tactical competitive projects (such as live-action CS) have gradually become a popular form of entertainment. At the same time, online tactical competitive games (such as Delta Force) also have a large user base. However, existing technologies have obvious shortcomings that cannot meet user experience and operational needs, as detailed below:

[0003] Traditional offline live-action CS / tactical arena projects only provide physical combat. Data statistics are relatively simple, usually only recording wins, losses, and hit counts. They lack features such as personal virtual warehouses, resource collection and retention, closed-loop ranking systems, and item verification and reuse. This results in a monotonous player experience and low repurchase rates. At the same time, the operation side relies on manual data collection, which is not only extremely inefficient but also prone to statistical errors, increasing operating costs. In addition, existing offline tactical arena projects do not have physical item theft prevention mechanisms. If players do not hand over all their belongings after death, items can be taken out of the venue, causing item damage and increasing operating costs for the operator.

[0004] Online tactical competitive games can only realize gameplay such as searching for supplies, fighting, evacuation, and warehouse management in virtual scenarios, which cannot be implemented in real-world scenarios. Players lack the immersive experience of offline interaction and real-world combat. Moreover, pure gameplay is a rule of intellectual activity, which cannot be protected by patent according to relevant provisions of patent law, making it difficult to form a unique technological barrier.

[0005] Existing systems that link offline entertainment with online platforms are mostly limited to basic functions such as simple check-in and points statistics. They fail to incorporate the core "search-attack-retreat" process of tactical competitive games, and cannot achieve a complete closed loop of offline physical data collection, online mini-program warehouse synchronization, automatic settlement, and data reuse. They also lack dedicated data management logic for tactical competitive scenarios and cannot adapt to the operational and experiential needs of tactical competitive projects. Furthermore, existing offline tactical competitive projects do not include minefield exploration gameplay, lacking excitement and exploration. The methods of obtaining resources are limited, and they do not utilize the toy mines (which have applied for utility model patents) to create a dedicated exploration scenario, failing to enhance player immersion and participation through minefield gameplay. Additionally, the lack of anti-theft devices for props makes it impossible to prevent players from taking props out of the venue without permission, further increasing operational losses.

[0006] Furthermore, existing smart wearable equipment and settlement processes in offline tactical competitive games have significant technical deficiencies: First, smart toy guns only have basic shooting functions and lack integration with near-field communication input, local data storage and visualization, and settlement linkage capabilities. Players must complete input through fixed scanning devices on-site to pick up items, which is cumbersome, inflexible, and unable to achieve real-time item management during the game. Second, existing tactical competitive vests mostly use infrared and laser sensors for hit detection, which are easily affected by ambient light and obstacles, resulting in a high false positive rate. They also cannot adapt to the hit detection requirements of water bullet-type tactical competitive games. In addition, they lack multi-point hierarchical judgment logic, resulting in insufficient accuracy in death detection. Moreover, they do not have status linkage with helmets and toy guns, so equipment cannot be locked synchronously after a player dies, which can easily lead to violations. Third, existing tactical helmets only have basic protection functions and lack contextualized linkage feedback triggered by death. There is no intuitive visual prompt when a player dies, resulting in insufficient immersion in the game. Fourth, existing systems are mostly limited to specific platform mini-programs and have not built H5 clients with the same architecture, making it impossible to cover those who have not installed the corresponding platform apps. The user base is limited by the channel coverage, making it unable to adapt to the needs of lightweight promotion across all scenarios; fifth, the existing settlement process is not deeply integrated with the players' handheld smart devices, making it impossible to achieve fully intelligent settlement within the venue. It requires manual verification of props and manual scanning and entry, resulting in low settlement efficiency, easy errors, and inability to form a fully automated closed loop of "game-pick-entry-settlement-warehouse".

[0007] In summary, existing technologies suffer from several drawbacks: offline tactical competitions lack a data loop, offer a limited experience, and suffer from inefficient operations; online tactical competitions cannot be implemented offline; there is no integrated payment system for settlement; there is no seamless integration of online virtual auctions and offline redemption gameplay; and the core gameplay of minefield exploration is not incorporated, nor are proprietary toy mines used to create unique scenarios. Furthermore, there is a lack of a lottery function based on player interaction data, which fails to further enhance player participation and stickiness. Additionally, the absence of a physical item anti-theft mechanism makes it prone to items being taken out without permission, resulting in operational losses. Therefore, a technical solution that can address these issues is needed. Summary of the Invention

[0008] Purpose of the invention

[0009] The purpose of this invention is to overcome the shortcomings of existing technologies and provide a tactical competitive data interaction method and system based on offline physical battlefields. Through deep integration between offline physical battlefields and mainstream mini-programs such as WeChat Mini-Programs, Alipay Mini-Programs, Douyin Mini-Programs, Meituan Mini-Programs, and Xiaohongshu Mini-Programs, as well as H5 clients and POS systems, it achieves real-time synchronization of data throughout the entire process of offline resource gathering, combat, and evacuation. It incorporates the core gameplay of minefield exploration and combines the toy mines (patent number: 202323503031.2) for minefield placement, creating a complete closed-loop gameplay system including personal virtual warehouses, real-time battle rankings, item verification and reuse, unified settlement at the POS, minefield exploration, online virtual auctions for rare items for offline exchange, and lottery activities. Simultaneously, it adds a physical item anti-theft mechanism to prevent players from... To reduce operational losses, items lost in battle are allowed to be taken out of the area. Minefields are crucial for obtaining important resources (highly valuable items), extraction point passwords, and site clue cards. The thrill of stepping on mines and the exploration of defusing mines to obtain passwords and opening safes to acquire resources enhance player immersion and repeat purchase rates. A new lottery feature is added. Each event period collects player interaction, referral, and conversion values ​​to generate a heatmap. The lottery is then completed using graph databases, random forest algorithms, and path planning. Lottery videos are generated using Python and CV2 and simultaneously displayed on various mini-program clients, further increasing player participation, interaction, and stickiness. This standardizes offline operational processes, reduces offline operating costs, and avoids patent protection restrictions imposed by intellectual property rules, creating a unique technological barrier based on proprietary toy mine patents.

[0010] This invention also aims to overcome the shortcomings of existing offline tactical competitive smart equipment, such as low accuracy, limited functionality, lack of hardware linkage loop, and cumbersome settlement process. It independently develops smart toy guns, smart water-sensing vests, and smart linked helmets adapted for water-based tactical competitive scenarios, achieving accurate detection of water bullet hits, multi-hardware linkage feedback for death status, rapid NFC entry of items, and real-time management of the gun. A new H5 client with the same architecture as the mini-program is added, achieving full-channel user coverage and account data interoperability. A fully automated intelligent settlement method based on smart toy guns is created, realizing a closed loop of item pickup, entry, local storage, settlement verification, and virtual warehouse entry, eliminating the need for fixed scanning equipment and manual verification. This further improves player convenience, immersion in combat, and offline operational efficiency, and further strengthens the exclusive technological barrier based on the self-developed smart hardware achievements.

[0011] Technical solution

[0012] To achieve the above-mentioned objectives, this invention provides a tactical competition data interaction method based on offline physical battlefields, the specific steps of which are as follows:

[0013] User registration and binding: Players can register their accounts through any mainstream mini-program such as WeChat Mini Program, Alipay Mini Program, Douyin Mini Program, Meituan Mini Program, Xiaohongshu Mini Program, or H5 clients with the same architecture. The system assigns a globally unique user ID to each player. The account system is interconnected in real time across all mini-programs and H5 clients, and player data, virtual warehouse, battle records, and event benefits are synchronized across all platforms. Players can purchase tickets through the corresponding mini-program or H5 client and complete the offline venue entry binding after consumption. The personal virtual warehouse entrance, battle record entrance, global ranking page, lottery activity entrance, and smart equipment binding entrance are displayed simultaneously in the mini-program and H5 client, allowing players to view relevant information, participate in activities, and bind smart equipment in the venue.

[0014] Offline behavioral data collection: Players enter an offline physical battlefield after wearing smart equipment (including smart helmets, smart vests, and smart toy guns). The battlefield is equipped with minefields, puzzle-solving areas, and a unique extraction point. The minefields contain toy mines for which our team has applied for a utility model patent (patent number: 202323503031.2). The smart helmets have built-in smoke generators that automatically trigger a smoke effect when a player is judged to be dead. The smart vests integrate multiple water immersion sensors. When hit by water bullets to the point of lethality, the sensors transmit a death signal to the helmet and trigger smoke. The smart toy guns are equipped with NFC sensing areas and displays. After picking up items, players can complete the item entry by touching the NFC sensing area, which is then displayed in real time on the gun's screen. All physical items (including supplies, equipment, item cards, site clue cards, toy mine accessories, etc.) within the battlefield and minefield are equipped with anti-theft tags, compatible with the anti-theft detection devices at the site exits, enabling item anti-theft functionality. While players are active within the site, their offline behavioral data is collected in real-time via dedicated physical item recognition modules, handheld collection terminals, or fixed collection terminals. This offline behavioral data includes, but is not limited to, data on item pickup, equipment usage, combat interaction, puzzle solving, extraction completion, minefield exploration (including mine explosion data, mine dismantling data, and password acquisition data), and safe opening data. The minefield is a crucial area for obtaining important supplies (large red items), extraction point passwords, and site clue cards. Players must explore the minefield to obtain safe passwords and site clue cards, and complete puzzle solving before proceeding to the designated area. This is an extraction point; during the battle, after defeating an opponent, players can directly pick up all the supplies they are carrying, further enhancing the sense of accomplishment in acquiring supplies; besides the minefield, there are other item storage points where low-value supplies or equipment item cards can be obtained; the dedicated extraction points are clearly marked and equipped with data collection equipment to verify players' extraction eligibility. Only by successfully carrying supplies and completing the escape room puzzle can players complete the extraction through the extraction point, enhancing the satisfaction of players successfully extracting with supplies; after a player dies, the system automatically marks all physical items they are carrying. Players must hand over all items (which can be picked up by the winner or collected by staff). If not all items are handed over, when preparing to leave the venue with the unhandled items, the anti-theft detection device at the exit will trigger an alarm (similar to the alarm mechanism of a supermarket anti-theft device), reminding staff to check, thus preventing theft of physical items and avoiding items being taken out without authorization.

[0015] Unified Settlement and Display at the Cashier: After completing the escape room puzzle, players take their smart toy gun and all collected supplies (including those picked up by themselves and obtained by defeating opponents) to the designated extraction point. Their extraction eligibility is verified by the data collection equipment at the extraction point. Only after successful extraction can players take their smart toy gun to the offline cashier. The smart toy gun's NFC module connects to the cashier system, synchronizing the stored supplies data to the server for virtual warehouse storage and unified settlement. After settlement, the cashier system synchronizes the settlement data to the server in real time. The server calculates the player's performance (including but not limited to kills, survival time, supplies acquired, puzzle-solving time, and extraction success rate), points, and updates the global leaderboard. The mini-program homepage and personal center display the player's latest performance, warehouse supplies, global ranking, and settlement records in real time for players to review, allowing them to clearly perceive their gains and enhancing the satisfaction of "successfully extracting with supplies."

[0016] Data reuse and verification: The player's virtual warehouse material data, historical battle data, and settlement records are permanently stored. When entering the offline venue again, the player can directly verify the items in the warehouse through the mini program, reuse historical data, realize the continuity of data across multiple sessions, and enhance the player's willingness to continue participating.

[0017] Online Virtual Auction and Offline Redemption: A virtual auction module is set up in the bottom tab of the mini-program, which is the first time that an innovative linkage mode between online virtual auction and offline redemption has been established. The server regularly puts rare virtual items or rare items that players can auction themselves. Players participate in the auction through the mini-program. If the bid is successful, the transaction is completed directly if it is a virtual item. The bidder's points are deducted and the initiator's items are deducted to complete the auction. Otherwise, the server generates a unique redemption code and synchronizes it to the player's mini-program. Players can use the redemption code to go to the offline cashier or designated redemption point to redeem the rare item offline. After the redemption is completed, the server updates the player's virtual warehouse and auction record, realizing a complete closed loop of online auction and offline / offline redemption.

[0018] Lottery Activity Implementation: The server periodically launches a lottery activity, with each activity running independently. The specific process is as follows:

[0019] Data Collection: During the event, the server collects three core data points from participating players in real time: interaction value, referral value, and event conversion value. Interaction value is calculated based on the number of games played, minefield exploration results (number of successful mine defusals, number of safe openings), item redemption counts, and auction participation counts. Referral value is calculated based on the number of new players successfully referred by a player who then completes their first lottery participation. Event conversion value is calculated based on the player's level of attention and participation in the event after participating in the lottery, and is further calculated based on the player's level of attention and participation after successfully participating in the lottery.

[0020] Heatmap generation: The server standardizes the three core data collected and combines them with player association data (user profiles, historical interaction data) stored in the graph database to generate a player data heatmap. The heatmap intuitively displays the distribution of the three core data of different players, the distribution of player activity, and the strength of data association, providing data support for the lottery algorithm.

[0021] The lottery algorithm is implemented using a combination of graph database, random forest algorithm, and path planning. Specifically, the graph database stores core player data, heatmap data, and player relationships, providing data storage and relational query support for the algorithm. The random forest algorithm is used to train and model player interaction values, referral values, and activity conversion values, calculating the winning probability of each participating player. The probability is positively correlated with the combined score of the three data points. Path planning optimizes the lottery process, planning the optimal path for data reading (data extraction from the graph database), probability calculation (random forest algorithm operation), and winning result generation, improving lottery efficiency and ensuring a fair, efficient, and traceable lottery process.

[0022] Lottery video generation: The server uses Python programming language combined with cv2 library to automatically generate lottery video based on the rules of this lottery event, the winning results and player data heatmap. The video content includes event review, player data heatmap display, lottery process animation (such as spinning wheel lottery, rolling lottery), and announcement of the winning list. After the video is generated, the format is automatically optimized to adapt to the display requirements of the mini program client.

[0023] Video Display and Prize Verification: The server will synchronize the generated lottery video to the mini-program client. Players can view the video and winning results through the lottery activity entry in the mini-program. Winning players can use the winning voucher (unique verification code) in the mini-program to go to the offline cashier to verify their winnings and receive the corresponding prizes (physical items, virtual goods, or venue coupons). After verification, the server will synchronously update the player's virtual warehouse, prize inventory data, and lottery activity records, completing the full closed loop of a lottery activity.

[0024] Furthermore, in step 2, the dedicated physical prop identification module uses a barcode identification unit to identify the unique identifier of the physical prop, ensuring the accuracy of material pickup data and mine identification data; the data collection terminal establishes a connection with the server using wireless transmission to ensure real-time data transmission; the toy mines in the minefield are products with a utility model patent applied for (patent number: 202323503031.2), which are safe, reliable, and easy to deploy. Their triggering method and explosion simulation effect meet the safety requirements of offline tactical competition. After stepping on a mine, the password inside the mine will disappear with the simulated explosion action. If the mine is not stepped on and is successfully dismantled, the password can be obtained. The password is used to open the safe in the venue to obtain important materials; the anti-theft mark uses an RFID chip bound to the barcode of the physical prop, and the anti-theft detection device at the venue exit uses an RFID reader / writer, which is linked with the server to verify the verification status of the items carried by the player in real time. When an unverified item (the player dies and does not hand it over, or the settlement and verification are not completed) passes by, an audible and visual alarm is immediately triggered. The alarm information is synchronized to the server and staff terminals, which facilitates timely verification and processing by the staff, realizing a closed loop of prop anti-theft.

[0025] Furthermore, in step 5, during the data reuse and verification process, the server verifies the validity of the items verified by the player. If the verification is successful, the corresponding items are deducted, and the verification record is recorded. The virtual warehouse data, offline item inventory data, and relevant records of the cashier system are updated synchronously to achieve the linkage management of online and offline items and cashier data. In step 6, during the online virtual auction, the server synchronizes the bidding data to the mini-programs of all players participating in the auction in real time to ensure fair and transparent bidding. The redemption code is generated using an encryption algorithm and has uniqueness and timeliness to avoid duplicate redemption or forged redemption codes.

[0026] Furthermore, the POS system achieves data interoperability with the server, various mini-programs (WeChat mini-program, Alipay mini-program, Douyin mini-program, Meituan mini-program, Xiaohongshu mini-program, etc.), and H5 clients through API interfaces. The POS system's settlement data, verification data, and inventory data are synchronized to the server in real time, and the server is simultaneously updated to each mini-program and H5 client, ensuring consistency in POS settlement, item management, and data display, avoiding data fragmentation. It also supports the POS system's refund and reconciliation functions, with refund data being synchronously transmitted back to the server and each mini-program, achieving "one operation, multiple terminals synchronized." The POS system is also linked with anti-theft detection devices and smart toy guns. After the player completes settlement and verification, the material data stored in the smart toy gun is synchronized to the virtual warehouse, and the anti-theft label status of the corresponding item is synchronously updated to "verified." When passing through the exit, no alarm is triggered. Items that have not been settled or handed over remain in the "unverified" state, triggering an alarm.

[0027] Furthermore, in step 6 of the lottery activity, the calculation of interaction value, recommendation value, and activity conversion value adopts a weighted summation method. The specific calculation formula is: Comprehensive Score = Interaction Value × 40% + Recommendation Value × 30% + Activity Conversion Value × 30%; The random forest algorithm trains the model based on historical lottery data and player comprehensive scores. The model outputs the winning probability of each player. The winning results are generated by random sampling combined with probability weights to ensure the fairness of the lottery; When generating lottery videos with Python + cv2, it supports custom video length and animation style, the video frame rate is set to 25fps, the resolution is adapted to the WeChat Mini Program standard, and it is automatically compressed after generation for fast loading and display; The heatmap generation adopts a heatmap rendering algorithm, with player ID as the horizontal axis and the three core data as the vertical axis. The correlation strength is represented by the color depth, which intuitively presents the player data performance.

[0028] This invention also provides a tactical competition data interaction system based on an offline physical battlefield to implement the above method. The system includes an offline physical terminal, a mini-program terminal, and a server terminal, which establish a communication connection through a network to collaboratively achieve data interaction and management.

[0029] Offline physical components include: a physical tactical battlefield, exclusive physical props (including smart equipment, supplies, equipment, rare exchange items, safes, lottery prizes, escape room puzzle props, and site clue cards), data collection and identification equipment, data transmission modules, a cashier system, a minefield and a toy mine with a pending utility model patent (patent number: 202323503031.2), an escape room puzzle area, a unique and exclusive evacuation point, and an anti-theft detection system; smart equipment includes smart helmets, smart vests, and smart toy guns. The smart helmet has a built-in smoke generator that automatically triggers a smoke effect upon receiving a death signal; the smart vest integrates multiple water immersion sensors that send a death signal to the helmet when hit by water bullets to a lethal number; the smart toy gun is equipped with an NFC sensing area and a display screen, supporting the input and display of supplies via touch. The physical tactical battlefield provides players with a realistic combat scenario. The minefield is a key area for obtaining important supplies (large red items), location clue cards, and unlocking extraction points. The minefield is equipped with the aforementioned patented toy mines. Exclusive physical props are uniquely identified (barcodes) and have built-in RFID anti-theft chips. Safes have a password unlocking function, requiring the password obtained by dismantling mines to open and access important supplies. The escape room puzzle area is equipped with exclusive puzzle-solving props and location clue cards; players must complete the puzzles to unlock exclusive extraction points. Exclusive extraction points are clearly marked and equipped with data collection devices to verify players' extraction eligibility (completion of escape room puzzles and possession of supplies). The data collection and identification devices collect players' offline behavioral data (including minefield exploration, escape room puzzle solving, and extraction activities). The system includes a data transmission module for uploading collected data to the server; a cashier system for unified settlement of player-collected items (data synchronized via NFC on smart toy guns), offline redemption and verification of rare items, verification of lottery prizes, and data synchronization with the server, mini-program, H5 client, and anti-theft detection system; and an anti-theft detection system including RFID anti-theft chips (built into all physical props) and RFID anti-theft detection devices at the venue exits to prevent theft of physical props. If a player dies without surrendering all items or completing settlement and verification, and carries unverified items through the exit, the anti-theft detection device will trigger an audible and visual alarm, simultaneously pushing alarm information to the staff terminal to prevent props from being taken out without authorization.

[0030] Mini-program and H5 clients: Includes mainstream mini-program front-ends and H5 clients such as WeChat mini-programs, Alipay mini-programs, Douyin mini-programs, Meituan mini-programs, and Xiaohongshu mini-programs. Functions are unified across platforms, all including user registration, personal inventory, battle record display, global ranking, item verification, entry binding, virtual auction, settlement record, minefield exploration record, lottery activity, escape room puzzle record, and evacuation record modules. The user registration module is used for player account registration and login. The personal inventory module displays and manages players' virtual resources (including important resources obtained from minefields, resources obtained from defeating opponents, and virtual resources obtained from lotteries). The battle record display module displays players' historical battle records (including records related to minefield exploration, escape room puzzles, and evacuation). The system includes the following modules: Global Ranking Module (displaying real-time rankings for all players), Item Verification Module (for players to verify items in their virtual warehouse), Entry Binding Module (for players to complete entry binding for offline venues), Virtual Auction Module (for players to participate in online auctions of rare items, view auction records and redemption codes), Settlement Record Module (for players to view historical settlement information), Minefield Exploration Record Module (displaying details of player minefield exploration, including number of mines stepped on, number of mines successfully defused, number of passwords obtained, and safe opening status), Escape Room Puzzle Module (displaying time spent solving escape rooms and success rate), Escape Record Module (displaying player escape success rate and amount of supplies carried), and Lottery Activity Module (for players to view lottery rules, participate in the lottery, view lottery videos, and view winning results and redemption codes).

[0031] Server-side: Includes a data receiving module, a data parsing and processing module, a database storage module, a ranking and settlement module, a data synchronization module, an auction management module, a lottery management module, an algorithm processing module, and an anti-theft management module. The data receiving module receives behavioral data, settlement data, verification data, minefield exploration data, lottery verification data, escape room puzzle data, evacuation data, and anti-theft alarm data uploaded from offline physical terminals (including the POS system and anti-theft detection system). The data parsing and processing module parses, verifies, and processes the data. The database storage module stores player information, behavioral data, battle record data, resource data, settlement data, auction data, minefield exploration data, lottery activity data (including three core player data points, heatmap data, winning records, and lottery videos), escape room puzzle data, evacuation data, anti-theft alarm data, and item verification status data. The ranking and settlement module combines POS settlement data, minefield exploration data, escape room puzzle data, and evacuation data after the game ends. The system is divided into several modules: a data synchronization module for calculating battle results and points and updating rankings; an auction management module for real-time data synchronization between the server and various mini-programs (WeChat, Alipay, Douyin, Meituan, Xiaohongshu, etc.) and offline physical terminals (including POS systems and anti-theft detection systems); an auction management module for online virtual auction listings, bidding, redemption code generation, and auction record management, enabling linkage between online auctions and offline redemptions; a lottery management module for creating lottery activities, collecting data, generating heatmaps, generating lottery videos, pushing winning results, and managing redemption records; an algorithm processing module for accurate calculation of personal virtual warehouse sorting, global ranking, lottery algorithms (graph database + random forest algorithm + path planning), escape room puzzle data statistics, and evacuation data statistics; and an anti-theft management module for real-time synchronization of item redemption status and anti-theft alarm data, linking player death status with item carrying information, updating item anti-theft label status, and linking anti-theft detection devices and POS systems to achieve closed-loop anti-theft management.

[0032] Furthermore, the server-side algorithm processing module specifically includes:

[0033] Warehouse sorting algorithm: It adopts decision tree rules, inputs product weights (product weights are calculated based on product type, product points, product quantity, and product rarity), and combines graph database to sort by correlation confidence, so as to realize the orderly display of materials in the virtual warehouse;

[0034] Ranking system algorithm: Employing deep learning technology, combining graph neural networks and recurrent neural networks, it achieves accurate and competitive ranking across multiple stores and regions based on user profiles (including user gender, user nickname, user time spent using the mini-program, and user habits), product weights (same as above), regional store confidence (including user visit frequency, store sales volume, and store operating status), and store consumption confidence (including store consumption time, store consumption health, and store operating status).

[0035] Auction Algorithm: Employs a fair bidding algorithm to calculate player bidding prices in real time, record bidding history, generate unique encrypted redemption codes, and simultaneously verify the validity and timeliness of redemption codes to ensure the fairness and security of online auctions. It also links with the database storage module and data synchronization module to achieve real-time synchronization of auction data, redemption data, and the mini-program and POS system.

[0036] Minefield Data Processing Algorithm: Used to collect and analyze minefield exploration-related data, including mine explosion data, successful mine defusal data, password acquisition data, and safe opening data. It synchronously links to player performance and score calculation, records minefield exploration details, and synchronizes them to the minefield exploration record module on the mini-program to ensure real-time synchronization and accurate statistics of minefield gameplay data. It also links to site clue card-related data, synchronizing the site clue card data obtained in the minefield with the escape room puzzle-solving progress to achieve data linkage.

[0037] Lottery Algorithm: Combining graph database, random forest algorithm, and path planning technology, the graph database is responsible for storing and associating player lottery-related data (interaction value, recommendation value, activity conversion value, heatmap data). The random forest algorithm trains a model based on the player's comprehensive score, calculates the winning probability, and generates the winning result. Path planning technology optimizes the process path of data reading, algorithm operation, and result generation, improving lottery efficiency. At the same time, it integrates a Python + cv2 video generation interface to automatically complete the generation, optimization, and synchronization of lottery videos.

[0038] Furthermore, the server-side anti-theft management module is specifically used for: receiving real-time data on player death status and marking all physical items carried by that player as "pending verification"; receiving data on item pickup, recycling, or settlement verification, and simultaneously updating the anti-theft status of the corresponding items to "verified"; receiving alarm data uploaded by the anti-theft detection device, recording the alarm time, player ID, and unverified item information, and simultaneously pushing alarm information to staff terminals; linking the POS system and the anti-theft detection device to ensure that the item anti-theft status is updated synchronously after the player completes settlement verification, avoiding false alarms; and periodically compiling anti-theft alarm data and item loss data, synchronizing them to the database storage module to provide data support for operation management.

[0039] Beneficial effects

[0040] Compared with the prior art, the present invention has the following advantages:

[0041] Experience Upgrade: The core tactical competitive gameplay of online FPS games—"search-attack-retreat"—is fully implemented in a physical offline scenario. It incorporates core gameplay elements such as minefield exploration and escape room puzzles. Using toy mines (patent number: 202323503031.2) for which the team has applied for a utility model patent, a minefield is set up with a unique, dedicated extraction point, creating a complete process of "searching for supplies – defeating opponents to seize supplies – solving puzzles – evacuating with supplies." An immersive combat experience is achieved through an intelligent equipment system (smart helmet, smart vest, smart toy gun): the smart helmet automatically releases smoke when a player is declared dead, and the smart vest accurately detects the number of water bullet hits using a water immersion sensor. The game features a death detection system with helmet-based feedback; a smart toy gun integrates an NFC sensing area and a display screen, supporting real-time resource entry and visual management; and a rich gameplay experience combining the thrill of stepping on mines and exploding, the exploration of defused mines to obtain codes and site clue cards, the challenge of solving escape room puzzles, the sense of accomplishment of defeating opponents and seizing resources, and the satisfaction of successfully escaping with all resources. The minefield serves as a key factor in obtaining important resources, unlocking site clue cards, and evacuation points, further enhancing players' willingness to explore and their immersion. Combined with exclusive physical props, it achieves a deep integration of offline real-world experience and online data management, replicating the core experience of online games and significantly improving players' immersion and sense of accomplishment. A new lottery function has been added, generating heatmaps and lottery videos based on player interaction data to enhance gameplay fun and interactivity, increasing player participation.

[0042] Enhanced user engagement: Providing players with exclusive personal virtual warehouses, permanent record retention, and real-time global rankings to stimulate players' competitive spirit and repeat purchase demand; adding a lottery function, with interaction value, referral value, and event conversion value as the core, to guide players to actively participate in games, recommend new players, and complete event conversions, further improving player engagement and retention rate, and solving the problem of insufficient player engagement in existing offline tactical competitive games.

[0043] Operational efficiency improvements: The system enables automated data collection, analysis, and synchronization throughout the entire process, with unified settlement completed via the POS system. This eliminates the need for manual data collection and settlement, effectively reducing labor costs in offline operations and avoiding errors caused by manual statistics and settlement, thus improving operational efficiency. The POS system integrates with mini-programs and servers to achieve data interoperability, reducing repetitive operations and standardizing operational processes. The entire lottery process is automated, from data collection and algorithm calculation to video generation and prize verification, requiring no manual intervention, significantly reducing operating costs and improving event operational efficiency. The newly added anti-theft detection system automatically prevents theft of physical props, reducing manual verification costs and preventing operational losses caused by unauthorized removal of props, further reducing operating costs.

[0044] Innovative Gameplay Breakthrough: For the first time, it innovatively integrates online virtual auctions of rare items with offline redemption, enriching the gameplay. A new lottery function has been added, innovatively using graph databases, random forest algorithms, and path planning to implement the lottery. Combined with Python and cv2 to generate exclusive lottery videos, it forms a complete lottery loop of "data collection - heatmap generation - algorithm lottery - video display - prize redemption". This is different from existing offline tactical competitive projects, further enhancing player participation and repurchase rate, while forming a unique commercial competitive advantage.

[0045] Innovative Gameplay Breakthrough: This innovative approach seamlessly integrates online virtual auctions of rare items with offline redemption, incorporating core gameplay elements of minefield exploration and escape room puzzles. A unique, dedicated escape point is set up, utilizing toy mines with the team's proprietary utility model patent. These minefields are clearly defined as key factors for acquiring vital resources, unlocking site clue cards, and escaping the escape point. Through multiple stages—"stepping on a mine and exploding," "defusing a mine to obtain a password clue," "solving an escape room puzzle," "defeating opponents to seize resources," and "successfully escaping with resources"—combined with a newly added lottery function, this game differentiates itself from existing offline tactical competitive projects. Players receive feedback and rewards at every step, enhancing the satisfaction of successfully escaping with resources, further increasing player engagement and repurchase rates, and creating a unique competitive advantage. The surprise of winning a prize after a successful escape with resources further enhances players' sense of accomplishment and satisfaction.

[0046] Forming a unique technological barrier: Constructing a proprietary technological closed loop linking offline entities, a POS system, a WeChat mini-program, proprietary patented toy mines, a lottery function, and an anti-theft detection system. Combining the unique gameplay of minefield exploration, online auctions, offline redemption, and lottery activities, it differs from ordinary offline entertainment projects and purely online games. Relying on its proprietary toy mine utility model patent, lottery algorithm (graph database + random forest algorithm + path planning), Python + cv2 video generation technology, and prop anti-theft mechanism, it further strengthens the technological barrier, making it difficult for others to easily imitate and possessing strong commercial competitiveness;

[0047] Lightweight deployment and promotion: Leveraging the ecosystem of mainstream platforms such as WeChat, Alipay, Douyin, Meituan, and Xiaohongshu, players do not need to download a separate app. They can complete registration, inventory checks, item verification, and participation in lotteries through any corresponding platform mini-program. This aligns with the lightweight operation needs of offline entertainment venues, facilitating rapid deployment and promotion. Lottery videos are compatible with various mini-programs, loading quickly without increasing player operating costs, thus enhancing the player experience. The anti-theft detection system uses mature RFID technology, making it easy to deploy and maintain without requiring additional complex equipment, thus meeting the lightweight operation needs of offline venues. Attached Figure Description

[0048] Figure 1 is a flowchart illustrating the tactical competition data interaction method based on offline physical battlefields as described in this invention;

[0049] Figure 2 is an architectural block diagram of the tactical competition data interaction system based on offline physical battlefields described in this invention. Detailed Implementation

[0050] The present invention will be further described in detail below with reference to specific embodiments, so that those skilled in the art can understand and implement it.

[0051] This embodiment provides a method and system for tactical competition data interaction based on offline physical battlefields. The specific implementation process is as follows:

[0052] Players can open any platform's mini-program or H5 client, such as WeChat, Alipay, Douyin, Meituan, or Xiaohongshu, and search for "Guardian". ® The "Battlefield" application, after authorizing the corresponding platform account to log in, automatically generates a unique user ID for the player. Players purchase tickets for the offline venue through the mini-program or H5 client, obtain an entry barcode, and complete the entry binding. After binding, they receive a smart equipment set (including a smart helmet, smart vest, and smart toy gun), which is automatically bound to the player's account upon activation. The mini-program or H5 client homepage displays the personal virtual warehouse entrance, battle record entrance, global ranking page, and lottery activity entrance. Players can click on the corresponding entrance to view relevant information and participate in the lottery activity. During the game, players touch the NFC sensing area of ​​the smart toy gun to complete the data entry. After being hit to the point of death, the smart vest triggers the helmet smoke effect. After the match, players take the smart toy gun to the cashier, and complete the data synchronization of the materials with the virtual warehouse through NFC docking, realizing a smart settlement closed loop.

[0053] Players enter an offline physical battlefield after donning a smart equipment set (including a smart helmet, smart vest, and smart toy gun). The battlefield is equipped with minefields, a puzzle-solving area, and a unique extraction point. The minefield contains toy mines for which the team has applied for a utility model patent (patent number: 202323503031.2). The smart helmet has a built-in smoke generator, and the smart vest integrates multiple water immersion sensors. When hit by water bullets to a lethal number, it automatically sends a death signal to the helmet, triggering a smoke effect. The smart toy gun is equipped with an NFC sensing area and a display screen. When players pick up supplies, they can touch the sensing area to complete the registration, which is displayed on the screen in real time. All physical items (supplies, equipment, item cards, site clue cards, toy mine accessories, etc.) within the battlefield and minefield are equipped with built-in RFID anti-theft chips, which are compatible with the RFID anti-theft detection device at the site exit. The anti-theft detection device at the site exit is linked with the server and staff terminals to prevent item theft. Players can pick up item cards and equipment with barcodes in designated areas within the site. The unique identifier of the item is identified by the NFC sensing area of ​​the smart toy gun or the fixed barcode scanning device in the site. The data collection terminal uploads the material pickup data to the server in real time and updates the player's virtual warehouse temporary inventory simultaneously. During combat, the smart vest's water immersion sensor records hit data. Once the lethal threshold is reached, it triggers helmet smoke and marks the player's status as "dead in battle." The server immediately marks all physical items carried by that player as "pending verification." After defeating an opponent, a player can directly pick up their supplies, and the smart toy gun automatically records the new supplies data. When exploring a minefield, stepping on a mine triggers a simulated explosion, causing the password clues to disappear. Successfully dismantling the mine allows the player to retrieve the password via the toy gun's NFC. Players must carry clue cards to complete the puzzles in the escape room. After unlocking the extraction point, they can open the safe with the password to obtain important supplies. All data is synchronized to the server in real time.

[0054] The server-side data receiving module receives data uploaded from the collection terminal, including material pickup data, combat interaction data, and minefield exploration data (mine explosion, successful mine defusal, password acquisition, safe opening). The data parsing and processing module parses and verifies the data, removing invalid data (such as duplicate scanned item data). Then, the data synchronization module updates the virtual warehouse materials (stored picked-up items and important materials obtained from the minefield into the virtual warehouse), combat performance data (real-time updates of kill count, survival time, and minefield exploration-related combat performance), and score values ​​(calculated based on the quantity of materials picked up, combat performance, and minefield exploration results) corresponding to the player ID. The mini-program simultaneously refreshes and displays the relevant data and minefield exploration details. At the same time, the anti-theft management module updates the anti-theft status of all items to ensure consistency with the player's actual carrying status.

[0055] After completing the escape room puzzle and arriving at the designated extraction point with all supplies, players verify their extraction eligibility through the extraction point's data collection device. They then proceed to the offline cashier with their smart toy gun. The cashier reads the supply data stored in the toy gun's NFC module using the cashier system, simultaneously linking it to the player's personal barcode (unique user ID) on their mini-program or H5 client, automatically completing supply calculation and unified settlement. After settlement, the cashier system synchronizes the data to the server in real time. The anti-theft management module updates the item status to "verified," and the ranking settlement module calculates the final battle results (kill count, survival time, total supplies, etc.) and updates the global leaderboard. The mini-program and H5 client homepage display the player's battle results, virtual warehouse supplies, and ranking in real time. The anti-theft detection device does not alarm when players carry verified items through the exit.

[0056] After a match ends, virtual warehouse items, battle data, and settlement records are permanently stored. Upon entering the game again, players can select items through the item verification module of the mini-program or H5 client. After scanning and verification at the cashier, the virtual warehouse items are deducted after server verification, and the offline inventory and anti-theft status are updated simultaneously, achieving data continuity and reuse.

[0057] The online virtual auction and offline redemption process is as follows: The auction management module on the server side regularly lists rare virtual items, and the virtual auction module at the bottom tab of each mini-program and H5 client synchronously displays auction information; players participate in bidding through any platform, and the auction management module synchronizes data in real time to ensure fairness; after a successful bid, the virtual item is directly added to the inventory, and a redemption code is generated for the physical item; players redeem and collect the item at the cashier with the redemption code, and the server synchronously updates the inventory and anti-theft status, completing the online and offline linkage.

[0058] Detailed implementation process of the lucky draw event (Phase 1):

[0059] Event Creation: The lottery management module on the server side creates a lottery event, sets the event period (e.g., 7 days), prize settings (physical items, virtual goods, venue coupons), lottery rules (participation condition is completing at least one offline game during the event period), and synchronizes it to the mini-program. Event notifications are pushed through the mini-program, and players can view event details and participate in the event through the lottery event entry.

[0060] Data Collection: During the event, the server-side lottery management module collects the interaction value, referral value, and event conversion value of participating players in real time through the data receiving module and data parsing and processing module. Interaction value = number of matches × 20 + number of successful mine defusals × 15 + number of safe openings × 25 + number of item redemptions × 10 + number of auction participations × 30; Referral value = number of successfully referred new players × 50 (new players must complete their first match); Event conversion value = number of offline match redemptions during the event × 30 + number of item exchanges × 25 + number of auction sales × 45. These three data points are calculated in real time and synchronized to the database storage module, linked to the player's unique ID.

[0061] Heatmap Generation: After the event ends, the server-side algorithm processing module standardizes the three core player data points (mapping the data to a score range of 0-100), calls the graph database interface to extract player-related data (user profiles, historical interaction data), and uses a heatmap rendering algorithm to generate a player data heatmap. The heatmap uses player ID as the horizontal axis and the three core data points as the vertical axis. The strength of data association is represented by the color intensity (the darker the color, the stronger the association). After the heatmap is generated, it is stored in the database and synchronized to the mini-program for later use.

[0062] Lottery Algorithm Execution: The algorithm processing module calls the lottery algorithm. First, it reads the three core data, heatmap data, and related information of all participating players from the graph database. Then, it uses the random forest algorithm, with historical lottery data and players' comprehensive scores (comprehensive score = interaction value × 40% + referral value × 30% + activity conversion value × 30%) as training samples, to train the winning probability calculation model. The comprehensive scores of the players in this activity are input, and the winning probability of each player is output. Through path planning technology, the optimal path of "data reading - probability calculation - winning sampling - result verification" is planned. Random sampling is performed based on the winning probability to generate a list of winners (including first, second, and third prizes and participation prizes). The winning results are synchronized to the database storage module and the lottery management module.

[0063] Lottery Video Generation: The server uses the cv2 library in Python to read the lottery data (activity rules, player heatmap, winner list) and automatically generate the lottery video. The video begins with a recap of the activity (activity period, number of participants, core data statistics), the middle section displays the player data heatmap and the lottery animation (spinning wheel lottery, the wheel speed is positively correlated with the player's overall score), and the ending section announces the winner list, prize information, and redemption instructions. The video frame rate is set to 25fps, and the resolution is 720×1280 (adapted to WeChat Mini Programs). After generation, the video is compressed and optimized using the cv2 library to ensure loading speed. The video file is stored on the server and synchronized to the Mini Program via the data synchronization module.

[0064] Video Display and Prize Verification: Various mini-programs (WeChat, Alipay, Douyin, Meituan, Xiaohongshu, etc.) and H5 clients push out lottery videos and winning notifications through the lottery activity module. Players can click to view the video and their personal winning results. A unique prize verification code (including player ID, prize identifier, and validity period) is generated within the winning player's mini-program or H5 client. Players can use the verification code to redeem their prize at the offline cashier within the validity period. The server simultaneously updates the player's virtual warehouse (containing virtual prizes), prize inventory data, and lottery activity records. Meanwhile, the anti-theft management module updates the anti-theft status of physical prizes to "verified," ensuring players can leave the venue smoothly after receiving their prizes, completing the full loop of a lottery activity.

[0065] Furthermore, in this embodiment, the specific implementation process of the warehouse sorting algorithm is as follows: the algorithm processing module obtains the product type, product points, product quantity, and product rarity of all materials in the player's virtual warehouse, calculates the product weight of each material (weight calculation formula: product weight = product type weight × 30% + product points × 25% + product quantity × 20% + product rarity × 25%), inputs the product weight into the decision tree rules, analyzes the correlation of materials in conjunction with the graph database, calculates the correlation confidence, and finally sorts and displays the materials in the virtual warehouse according to the comprehensive score of correlation confidence and product weight.

[0066] Furthermore, in this embodiment, the specific implementation process of the ranking system algorithm is as follows: the algorithm processing module obtains user profile data of all players, product weight data in the virtual warehouse, regional store confidence data, and store consumption confidence data. It extracts the features of each data through graph neural network, analyzes the historical performance of players using recurrent neural network, scores the comprehensive competitiveness of all players by combining deep learning model, and finally generates a global ranking list from high to low according to the comprehensive score, so as to realize accurate competitive ranking of multiple stores and multiple regions.

[0067] Furthermore, in this embodiment, the specific implementation process of the auction algorithm is as follows: the auction management module sets the starting price, increment, and auction duration for rare virtual items; players submit bidding applications through the mini-program; the auction algorithm verifies the players' bidding prices in real time (which must be higher than the current highest bid and the starting price), records each bidding record, and synchronizes it to the mini-programs of all participating players; after the auction duration ends, the algorithm automatically determines the highest bidder as the successful bidder, generates a unique encrypted redemption code (containing information such as player ID, auction item identifier, and validity period), and synchronizes the transaction information and redemption code to the player's mini-program and the database storage module; during redemption, the cashier system scans the redemption code, and the algorithm verifies the uniqueness, validity, and player identity matching of the redemption code. After verification, the redemption process is triggered, and relevant data is updated synchronously. At the same time, the anti-theft management module updates the anti-theft status of the corresponding item.

[0068] Furthermore, in this embodiment, the specific implementation process of the minefield data processing algorithm is as follows: The algorithm processing module receives minefield exploration-related data uploaded by the collection terminal in real time, analyzes data such as mine explosion, successful mine disarming, password acquisition, and safe opening, associates it with the player's unique ID, and converts the minefield exploration results (number of successful mine disarmings, number of passwords acquired, number of safe openings, and number of site clue cards acquired) into corresponding points, which are simultaneously added to the player's performance record; at the same time, the minefield exploration details are recorded and synchronized to the minefield exploration record module on the mini-program for players to view; the toy mines in the minefield use products for which our team has applied for a utility model patent (patent number: 202323503031.2), which have a simple structure, are safe and reliable, and simulate explosion effects gently, meeting the safe operation requirements of offline tactical competitions. Their triggering mechanism and password and site clue card storage methods are adapted to the data collection logic of this system, ensuring accurate collection and synchronization of minefield gameplay data; the toy mine accessories in the minefield also have built-in RFID anti-theft chips to prevent players from taking them out without authorization.

[0069] Furthermore, in this embodiment, the specific implementation process of the lottery algorithm is as follows: A graph database creates a player lottery data association table, storing information such as player ID, interaction value, recommendation value, activity conversion value, comprehensive score, heatmap data, and winning status, supporting fast association queries; a random forest algorithm is set with 100 decision trees, using the comprehensive score as the feature value and the winning result as the label value, and the model parameters are optimized through 5-fold cross-validation to ensure the accuracy of the winning probability calculation; path planning uses the Dijkstra algorithm to plan the optimal path for data reading (extracting data from the graph database), probability calculation (random forest algorithm operation), winning sampling, and result verification, reducing data transmission and computation time and improving lottery efficiency; during the Python+cv2 video generation process, the cv2.VideoWriter function is called to create a video writing object, and cv2.imread is used to read the heatmap and lottery animation materials, and cv2.putText is used to add text information (winning list, activity description), finally generating an MP4 format video to ensure video clarity and smoothness.

[0070] Furthermore, in this embodiment, the specific implementation process of the anti-theft detection system is as follows: Each physical item has a built-in RFID anti-theft chip that corresponds one-to-one with its barcode. The chip stores the item's unique identifier and initial state (not picked up); after a player picks up an item, the data collection terminal scans the barcode, and the server-side anti-theft management module synchronously updates the chip status to "picked up"; after a player dies, the server marks all the items they carry as having a chip status of "pending verification"; after an item is picked up, recycled, or settled, the status is updated to "verified"; RFID anti-theft detection at the venue exit... The device scans passing items in real time and reads the chip status. If a chip in the "pending verification" state is detected, an audible and visual alarm is immediately triggered, with the alarm sound level controlled between 80-100dB. At the same time, the alarm location, player ID, and information on unverified items are displayed on the staff terminal. After verification, the staff collects the unverified items, manually updates the item status to "collected," and the alarm stops. The anti-theft detection device also has a fault self-checking function, periodically sending self-checking data to the server. If a fault occurs, a fault prompt is simultaneously pushed to the staff terminal to ensure the stable operation of the anti-theft function.

[0071] It should be noted that the hardware devices in this embodiment, such as the data acquisition and identification equipment, transmission module, server, RFID anti-theft chip, and RFID anti-theft detection device, can all be existing mature hardware products. Their specific models and parameters can be selected according to the actual site size and needs, as long as they can achieve the functions of this invention. The specific parameters of the algorithm can be adjusted according to actual operational data to achieve the optimal sorting, settlement, and lottery effects. The Python+cv2 video generation can customize the video style, duration, and content according to operational needs to adapt to different activity scenarios. The alarm method and sensitivity of the anti-theft detection system can be adjusted according to the actual site conditions to avoid false alarms.

Claims

1. A method for tactical competitive data interaction based on offline physical battlefields, characterized in that, Includes the following steps: (1) User registration and binding: Players complete account registration through any mainstream mini-program or H5 client such as WeChat mini-program, Alipay mini-program, Douyin mini-program, Meituan mini-program, Xiaohongshu mini-program, etc. The system assigns a unique user ID. After purchasing tickets through the corresponding platform and verifying them, players complete the offline venue entry binding. The mini-program and H5 client display the personal virtual warehouse entrance, battle record entrance, global ranking page, and lottery activity entrance. (2) Offline Behavioral Data Collection: Players wear smart equipment (including smart helmets, smart vests, and smart toy guns) to enter the offline physical battlefield. The venue is equipped with a minefield, a puzzle-solving area, and a unique extraction point. The minefield contains toy mines with a utility model patent (patent number: 202323503031.2). The smart helmet has a built-in smoke generator, and the smart vest integrates multiple water immersion sensors. When hit by water bullets to a lethal number, the helmet will trigger smoke. The smart toy gun is equipped with an NFC sensing area and a display screen, supporting the input and display of materials by touch. All physical items in the battlefield and minefield have built-in anti-theft tags, which are compatible with the anti-theft detection device at the venue exit to prevent theft of props. Players collect offline behavioral data on material pickup (touch NFC input), equipment use, combat interaction (vest sensor records hits), puzzle-solving in the escape room, extraction completion, minefield exploration (mine explosion, mine disarming success, password acquisition), and safe opening through the NFC sensing area of ​​the smart toy gun or the venue's dedicated physical prop recognition module, handheld / fixed collection terminal. The minefield is crucial for obtaining important resources, unlocking site clue cards, and unlocking extraction points. Players disarm mines to obtain codes and site clue cards, and unlock their own extraction points after solving the escape room puzzles. During the battle, players can obtain all the resources carried by their opponents by defeating them, further increasing their resource gains. In addition to the minefield, other areas within the arena also have item storage points where players can search for low-value resources or equipment item cards. Players must carry all the acquired resources, complete the escape room puzzles, and pass the verification at their own extraction points to successfully extract, enhancing the satisfaction of successfully extracting with resources. After a player dies, they must hand over all physical items they are carrying. If they do not hand over all items and are about to leave the arena with the remaining items, the anti-theft detection device at the exit will trigger an audible and visual alarm, reminding staff to check and preventing theft of physical items. (3) Unified settlement and display at the cashier: After completing the offline withdrawal process, players take the smart toy gun to the offline cashier and connect with the cashier system through the NFC module of the toy gun to synchronize material data and complete unified settlement; the settlement data is synchronized to the server in real time, the server calculates the game results and points, updates the global leaderboard, and the latest results, warehouse materials, global ranking and settlement records are displayed in real time on the homepage of the mini program and H5 client and the personal center; after the settlement is completed, the anti-theft label status of the corresponding item is updated to "verified" and no alarm is triggered when passing through the exit; (4) Data reuse and verification: The materials, battle data and settlement records in the player's virtual warehouse are permanently stored. When entering the offline venue again, the warehouse props can be directly verified and historical data reused through the mini program combined with the cashier system to achieve data continuity across multiple sessions. After the verification is completed, the anti-theft label status of the corresponding props is updated synchronously. (5) Online Virtual Auction and Offline Redemption: A virtual auction module is set up on the homepage of each mini-program (WeChat, Alipay, Douyin, Meituan, Xiaohongshu, etc.) and H5 client. Rare virtual items are regularly listed on the server. Players can participate in the bidding auction through any platform. If it is a virtual item, the transaction is completed directly, deducting the bidder's points and the initiator's item, and the auction is completed. Otherwise, after a successful bid, a unique encrypted redemption code is obtained. With this redemption code, players can go to the offline cashier to redeem the rare item offline, realizing a closed loop of linkage between online virtual auction and offline redemption. After the rare item is redeemed, the anti-theft status of the corresponding item is updated to "redeemed". (6) Implementation of the lottery activity: The following procedures shall be followed for each lottery activity: ① Data Collection: During the event, the server will collect the interaction value, referral value, and event conversion value of participating players in real time. Interaction value is calculated based on the number of games played, minefield exploration results, item redemption counts, and auction participation counts. Referral value is calculated based on the number of new players successfully referred by a player who completes their first game. Event conversion value is calculated based on the number of offline game redemptions, item exchanges, or auction transactions completed by players after participating in this lucky draw event. ②. Heatmap generation: The server standardizes the three core data items collected and combines them with the player association data stored in the graph database to generate a player data heatmap, which intuitively displays the distribution and association strength of player data. ③ Lottery Execution: The lottery is conducted using a combination of graph database, random forest algorithm, and path planning. The graph database stores player lottery-related data and relationships. The random forest algorithm trains a model based on players' overall scores, calculates each player's winning probability, and generates the winning results. Path planning optimizes the lottery process and improves efficiency. ④. Lottery Video Generation: Using the Python programming language combined with the cv2 library, the lottery video is automatically generated based on the lottery rules, winning results, and player data heatmap. The video is adapted to the display requirements of the mini-program client. ⑤. Video Display and Prize Verification: The server will synchronize the lottery video to various mini-program clients (WeChat, Alipay, Douyin, Meituan, Xiaohongshu, etc.) and H5 clients, allowing players to view the video and winning results. Winning players can use their unique verification code on the corresponding platform to redeem their prizes at the offline cashier. The server will simultaneously update the relevant data, completing the loop for one lottery event. After receiving the physical prize, the anti-theft label status of the corresponding prize will be updated to "verified".

2. The tactical competition data interaction method based on offline physical battlefields according to claim 1, characterized in that, In step (2), the dedicated physical prop identification module uses a barcode identification unit to identify the unique identifier of the physical prop; the collection terminal establishes a communication connection with the server using wireless transmission; the anti-theft label is an RFID chip bound to the barcode of the physical prop; the anti-theft detection device at the exit of the venue is an RFID reader / writer, which is linked with the server and staff terminal to verify the status of the anti-theft label of the item in real time. When an unverified item passes by, an audible and visual alarm is triggered, and the alarm information is simultaneously pushed to the staff terminal.

3. The tactical competition data interaction method based on offline physical battlefields according to claim 1, characterized in that, In step (3), the POS system communicates with the server, various mini-programs (WeChat mini-program, Alipay mini-program, Douyin mini-program, Meituan mini-program, Xiaohongshu mini-program, etc.) and H5 clients through API interfaces. The POS system's settlement data, verification data, and inventory data are synchronized to the server in real time, and the server is updated to each platform in real time to ensure data consistency. The POS system supports refund and reconciliation functions. Refund data is synchronously transmitted back to the server and various platforms, achieving "one operation, multiple synchronizations". The POS system is linked with anti-theft detection devices and smart toy guns. After the player completes the settlement and verification, the material data in the smart toy gun is synchronized to the virtual warehouse, and the anti-theft label status of the corresponding item is updated to "verified". Items that have not been settled or handed over are still in the "unverified" state, and an alarm is triggered when they pass through the exit.

4. The tactical competition data interaction method based on offline physical battlefields according to claim 1, characterized in that, In step (6), the interaction value, recommendation value, and activity conversion value are calculated using a weighted summation method. The specific calculation formula is: Comprehensive score = Interaction value × 40% + Recommendation value × 30% + Activity conversion value × 30%; The random forest algorithm trains the model based on historical lottery data and player comprehensive scores, and the winning results are generated by random sampling combined with probability weights; When generating lottery videos with Python + cv2, the video frame rate is set to 25fps, the resolution is adapted to the standards of each mini-program, and the video is automatically compressed after generation; The heat map generation uses a heat map rendering algorithm, with player ID as the horizontal axis and the three core data as the vertical axis, and the correlation strength is represented by the color depth.

5. The tactical competition data interaction method based on offline physical battlefields according to claim 1, characterized in that, In step (5), during the online virtual auction, the server synchronizes the bidding data to the mini-programs of all participating players in real time to ensure fair and transparent bidding; the redemption code is generated using an encryption algorithm, which is unique and time-sensitive, to avoid duplicate redemption or forgery of the redemption code; after a successful bid, the virtual item is directly traded, and the bidder's points and the initiator's items are deducted, while offline items generate redemption codes for players to redeem and receive offline.

6. The tactical competition data interaction method based on offline physical battlefields according to claim 1, characterized in that, In step (4), during the data reuse and verification process, the server verifies the validity of the items verified by the player. After the verification is passed, the corresponding items are deducted, and the verification record is recorded. The virtual warehouse data, offline item inventory data and cashier system records are updated synchronously to realize the linkage management of online and offline items and cashier data.

7. The tactical competition data interaction method based on offline physical battlefields according to claim 1, characterized in that, The toy mines in the minefield are products for which a utility model patent has been applied (patent number: 202323503031.2). When a mine is stepped on, it triggers a simulated explosion. The password and site clue card inside the mine disappear with the explosion. If a mine is not stepped on and is successfully dismantled, the password can be obtained. The password is used to open the safe in the site to obtain important materials.

8. A tactical competitive data interaction system based on an offline physical battlefield, used to implement the method described in any one of claims 1-7, characterized in that, The system includes an offline physical terminal, a mini-program terminal, an H5 client terminal, and a server terminal. The four terminals establish a communication connection through the network to collaboratively achieve data interaction and management. (1) Offline physical components: including physical tactical battlefields, exclusive physical props (including smart equipment), data collection and identification equipment, data transmission modules, cashier systems, minefields and toy mines with a utility model patent (patent number: 202323503031.2), escape room puzzle area, unique exclusive evacuation point, and anti-theft detection system; smart equipment includes smart helmets, smart vests, and smart toy guns. The smart helmet has a built-in smoke generator that automatically triggers a smoke effect after receiving a death signal; the smart vest integrates multiple water immersion sensors that send a death signal to the helmet when hit by water bullets to a lethal number; the smart toy gun is equipped with an NFC sensing area and a display screen, supporting material touch input and data display. Exclusive physical props are equipped with unique identifiers and built-in RFID anti-theft chips; the safes must be opened with a password obtained by dismantling the mines. The data acquisition and recognition equipment collects players' offline behavior data (including smart equipment status data) and uploads it to the server; the cashier system uses the smart toy gun NFC module to complete the synchronization, settlement, and verification of material data, achieving data interoperability; the anti-theft detection system prevents theft of physical props, and triggers an alarm when unverified items pass through the exit. (2) Mini Program and H5 Client: including WeChat Mini Program, Alipay Mini Program, Douyin Mini Program, Meituan Mini Program, Xiaohongshu Mini Program and other mainstream Mini Program front-ends and H5 clients. The functions of each platform are unified, including user registration, personal warehouse, battle record display, global ranking, prop verification, entry binding, virtual auction, settlement record, minefield exploration record, lottery activity, escape room puzzle record, and evacuation record modules. (3) Server side: including data receiving module, data parsing and processing module, database storage module, ranking and settlement module, data synchronization module, auction management module, lottery management module, algorithm processing module, and anti-theft management module; the data receiving module receives various types of data uploaded from offline physical terminals, the data parsing and processing module performs data parsing and verification, the database storage module stores various types of data, the ranking and settlement module calculates battle results and updates rankings, the data synchronization module realizes multi-terminal data synchronization, the auction management module manages the online auction process, the lottery management module manages the entire lottery activity process, the algorithm processing module realizes various algorithm calculations, and the anti-theft management module realizes the management of prop anti-theft status and alarm linkage.

9. The tactical competition data interaction system based on offline physical battlefields according to claim 8, characterized in that, The server-side algorithm processing module includes a warehouse sorting algorithm, a ranking system algorithm, an auction algorithm, a minefield data processing algorithm, and a lottery algorithm. The warehouse sorting algorithm uses decision tree rules combined with a graph database for sorting; the ranking system algorithm uses deep learning technology, combining graph neural networks and recurrent neural networks to achieve accurate sorting; the auction algorithm uses a fair bidding algorithm to ensure fair and secure bidding; the minefield data processing algorithm analyzes minefield exploration data and correlates it with player performance; and the lottery algorithm combines a graph database, random forest algorithm, and path planning technology, integrating a Python + cv2 video generation interface.

10. The tactical competition data interaction system based on offline physical battlefields according to claim 8, characterized in that, The server-side anti-theft management module is used to receive player death status data in real time and mark items as "pending verification". After receiving verification data, it updates the items to "verified". It also receives anti-theft alarm data and pushes it to staff terminals, links the cashier system and anti-theft detection devices, and regularly compiles anti-theft alarm and item loss data and synchronizes it to the database.

Citation Information

Patent Citations

  • Toy landmine device

    CN221788141U