User activity intelligent management system and method based on APP gate interaction

The intelligent management system based on APP gate interaction integrates QR code scanning, infrared sensors and LSTM models, which solves the problems of low passage efficiency, high labor costs, data gaps and inefficient advertising in scenic areas. It realizes fast passage, automatic counting and accurate advertising, and improves the level of intelligent management of scenic areas.

CN122067338APending Publication Date: 2026-05-19ZHEJIANG SECOND TO TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
ZHEJIANG SECOND TO TECH CO LTD
Filing Date
2026-01-19
Publication Date
2026-05-19

AI Technical Summary

Technical Problem

Traditional gates are inefficient in densely populated areas such as scenic spots and tourist attractions, have high labor costs, lack data statistics, operate blindly, and have inefficient advertising. They cannot achieve one-time authorization for multiple people to pass through and precise advertising.

Method used

The system adopts an APP-based intelligent management system for user activities, including intelligent gate terminals, visitor terminals, back-end servers, and edge computing nodes. It integrates QR code scanning, infrared sensors, touch screens, and communication modules, and uses an LSTM model for permission verification, data storage, and analysis to achieve rapid passage, automatic counting, and precise advertising.

Benefits of technology

Significantly improve traffic efficiency, reduce labor costs, achieve comprehensive and reliable data statistics, optimize project operations, improve the accuracy of advertising, and enhance the level of intelligent management of scenic areas.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN122067338A_ABST
    Figure CN122067338A_ABST
Patent Text Reader

Abstract

According to the user activity intelligent management system and method based on APP gate interaction provided by the invention, one-time batch card swiping is realized through a gate system, multiple persons are authorized to enter, and code scanning / card swiping each time is avoided. Intelligent gate control is realized through reconstruction or new configuration of a barrier gate system: tourist interaction is carried out through a gate at each project node, and intelligent gate management is realized. Through interaction, the background can record information such as the number of players, items and charges of each node; and the background can analyze and rank the playing data of each project node, dynamically adjust the type of the in-field project, and change and put the corresponding project node according to the favor of the tourist, thereby realizing the benefit maximization. Therefore, the traffic efficiency can be improved, the labor cost is reduced, the project operation scheme is optimized, and the management efficiency and benefits are improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of access control technology, and in particular to an intelligent management system for user activities based on APP-based gate interaction, an intelligent management method for user activities based on APP-based gate interaction, an electronic device, and a computer-readable storage medium. Background Technology

[0002] In scenic areas and tourist attractions, some attractions require visitors to scan QR codes and queue in batches to enter. This necessitates assigning an administrator to each attraction. Therefore, this traditional user activity management method in densely populated areas like scenic spots and tourist attractions has the following management shortcomings:

[0003] 1. Low passage efficiency: Traditional gates only support single card swipes / scans, and it takes 5-10 seconds for a single person to pass through. Groups of tourists need to operate one by one, resulting in long queuing times and making it impossible to authorize multiple people to pass through at one time.

[0004] 2. High labor costs: Each project node (amusement facility, attraction entrance) needs to be equipped with an administrator to be on duty, responsible for permission verification, gate opening and counting, and the annual labor costs of multiple project nodes account for a high proportion;

[0005] 3. Lack of data statistics: Tourist attractions without entrance fees cannot record visitor time-series data (entry time, stay time, and tour route), resulting in a lack of reliable basis for operational decisions;

[0006] 4. Blind project operation: Relying on manual statistics of the number of visitors to a project makes it impossible to predict future popularity, resulting in unpopular projects continuing to occupy resources (e.g., a project still requires maintenance costs even if the number of visitors per day drops from 100 to 50).

[0007] 5. Inefficient advertising: Traditional ads are mostly displayed randomly, lacking precision, resulting in insufficient click-through rates and low advertiser willingness to place ads. Summary of the Invention

[0008] To address the technical problems existing in the prior art, the present invention provides the following technical solution:

[0009] On the one hand, a user activity intelligent management system based on APP gate interaction is provided, characterized by including an intelligent gate terminal, a visitor terminal, a backend server, and edge computing nodes, wherein:

[0010] The intelligent gate terminal is deployed at the project node, and its hardware modules include a QR code scanning module for recognizing the QR code of the tourist APP, an infrared sensor group for detecting the number of tourists passing through, a gate opening mechanism for performing gate opening and closing operations, and a communication module for data communication.

[0011] The visitor terminal is a smartphone with the scenic area's APP installed, which is used to scan the QR code of the smart gate terminal through the camera and interact with it.

[0012] The backend server is deployed in the cloud and communicates with the smart gate terminal and the visitor terminal for permission verification, data storage and analysis.

[0013] The edge computing node is deployed locally in the scenic area and communicates with the smart gate terminal to perform local real-time permission verification and data processing.

[0014] Preferably, the intelligent gate terminal further includes an RFID reading module for batch reading of RFID tags carried by tourists.

[0015] Preferably, the intelligent gate terminal further includes a touch screen for displaying operation prompts, advertising information, and supporting interaction.

[0016] Preferably, the backend server is connected to a relational database and a time-series database, which are used to store structured business data and time-series access record data, respectively.

[0017] Preferably, the backend server is also connected to a distributed file system for storing advertising content files.

[0018] Preferably, the edge computing node is an industrial-grade server.

[0019] Preferably, the gate opening mechanism of the intelligent gate terminal is an electromagnetic lock or a gate driven by a motor.

[0020] Preferably, the communication module of the intelligent gate terminal integrates a 4G / 5G mobile communication module and a Wi-Fi module.

[0021] Preferably, the project analysis module of the backend server runs an LSTM model, which is used to predict the future popularity of the project based on historical access data.

[0022] On the other hand, a user activity intelligent management method based on APP gate interaction is provided, applied to the above-mentioned system, including the following steps:

[0023] S1: Tourists scan the QR code displayed on the smart gate terminal using the APP on the tourist terminal;

[0024] S2: The intelligent gate terminal or back-end system performs permission verification on the scanning request;

[0025] S3: After the verification is passed, the intelligent gate terminal controls its gate opening mechanism to open and uses the infrared sensor group to count the tourists passing through the gate.

[0026] S4: The intelligent gate terminal will upload data including visitor identification, project identification and passage time to the back-end server for storage and analysis.

[0027] On the other hand, an electronic device is provided, comprising: a processor; and a memory storing computer-readable instructions, which, when executed by the processor, implement the method described above.

[0028] On the other hand, a computer-readable storage medium is provided, wherein at least one instruction is stored therein, the at least one instruction being loaded and executed by a processor to implement the above method.

[0029] Compared with traditional management methods, this solution has the following core technological advantages:

[0030] 1. Traffic efficiency has been significantly improved.

[0031] The intelligent gate terminal integrates a fast scanning module (CMOS sensor, recognition ≤100ms) and an RFID batch reading module (supports simultaneous reading of ≤10 tags), combined with an infrared sensor for accurate counting (error ≤1%), to achieve automatic gate opening for single or batch visitors.

[0032] Implementation results: The passage time for a single person has been reduced from the traditional 5-10 seconds to 1-2 seconds, and the passage time for a group of tourists (10 people) is ≤10 seconds, improving efficiency by 5-10 times and solving the traditional queuing congestion problem.

[0033] 2. Labor costs have been significantly reduced.

[0034] The system automatically completes permission verification, gate opening control, and data statistics through edge computing nodes (local permission verification, latency ≤10ms) + cloud server, replacing the manual on-site process.

[0035] Implementation results: Each project node does not require an administrator, and 10 nodes save approximately 300,000 yuan in labor costs annually, eliminating the waste of manpower in traditional manual verification.

[0036] 3. Comprehensive and reliable data statistics

[0037] In ticketed scenarios: The gate scans the QR code to record the visitor ID, project ID, and entry time, and synchronizes them to MySQL and InfluxDB;

[0038] In a ticketless scenario: the gate uses default access permissions and infrared two-way detection (entry / exit) to collect time-series data such as dwell time and path.

[0039] The data integrity of attractions without entrance fees is ≥99%, which solves the problem of "zero data" in traditional attractions without entrance fees and provides a basis for operational decisions (such as increasing cleaning staff during peak hours in cherry blossom forests).

[0040] 4. Intelligent optimization of project operation

[0041] The LSTM model is used to capture the time-series dependence of project popularity (weekend peaks, holiday trends), predict visitor numbers for the next 7 days (accuracy ≥ 90%), and generate resource adjustment suggestions. This avoids wasting resources on inefficient projects (e.g., projects with 50 daily visitors should be eliminated promptly) and optimizes resource allocation (e.g., increasing daily visitor numbers from 50 to 200 would result in a 3-fold increase in revenue).

[0042] 5. Precise and efficient advertising placement

[0043] Based on tourist behavior data (such as attractions and routes), precise targeting is achieved, and the advertising management module automatically tracks clicks, conversion rates, and revenue sharing. Precise targeting and improved click-through rates increase monthly advertising revenue for scenic spots, thereby boosting their willingness to advertise.

[0044] These advantages comprehensively cover the core pain points of the underlying technology, from the underlying technology (hardware modules, algorithm models) to practical implementation (cost savings, revenue growth), and realize the intelligent upgrade of scenic area management. Attached Figure Description

[0045] To more clearly illustrate the technical solutions in the embodiments of the present invention, the accompanying drawings used in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0046] Figure 1 This is a schematic diagram of the composition structure of a hardware system provided in an embodiment of the present invention;

[0047] Figure 2 This is a schematic diagram of a software system functional architecture provided by an embodiment of the present invention;

[0048] Figure 3 This is a flowchart of a management method provided in an embodiment of the present invention;

[0049] Figure 4 This is a schematic diagram of the structure of an electronic device provided in an embodiment of the present invention. Detailed Implementation

[0050] The technical solution of the present invention will now be described with reference to the accompanying drawings.

[0051] In embodiments of the present invention, words such as "exemplarily," "for example," etc., are used to indicate that something is an example, illustration, or description. Any embodiment or design described as "exemplary" in the present invention should not be construed as being more preferred or advantageous than other embodiments or designs. Specifically, the use of the word "exemplary" is intended to present the concept in a concrete manner. Furthermore, in embodiments of the present invention, the meaning expressed by "and / or" can be both, or either one.

[0052] In the embodiments of this invention, the terms "image" and "picture" may sometimes be used interchangeably. It should be noted that, without emphasizing the distinction between them, they convey the same meaning. Similarly, the terms "of," "corresponding (relevant)," and "corresponding" may sometimes be used interchangeably. It should be noted that, without emphasizing the distinction between them, they convey the same meaning.

[0053] In this embodiment of the invention, sometimes a subscript such as W1 may be mistakenly written as a non-subscript form such as W1. When the difference is not emphasized, the meaning they express is the same.

[0054] To make the technical problems, technical solutions and advantages of the present invention clearer, a detailed description will be given below in conjunction with the accompanying drawings and specific embodiments.

[0055] This solution proposes a user activity intelligent management system and method based on APP gate interaction. Through the interaction between the intelligent gate terminal and the APP, it can realize fast passage, automatic counting, intelligent analysis and precise advertising, and solve the pain points of traditional management methods.

[0056] This system adopts a three-tier architecture of "hardware terminal + software platform + algorithm model" to achieve intelligent management of the entire tourist activity process. The following section, with reference to the accompanying diagrams, will provide a detailed introduction to the system's hardware and software and their working mechanisms.

[0057] I. Hardware System Composition

[0058] like Figure 1 As shown, the hardware system is the physical carrier for user interaction, mainly including the smart gate terminal, visitor terminal, back-end server and edge computing nodes.

[0059] 1. Intelligent gate terminal (core hardware)

[0060] One smart gate terminal is deployed at each project node (amusement facility, attraction entrance) to enable QR code interaction, access control, gate opening control, and data collection. Its hardware modules are as follows:

[0061] QR code scanning module: adopts CMOS image sensor (1920×1080 resolution), supports fast recognition (<100ms), and parses the item ID (fixed, unique for each gate) in the gate QR code.

[0062] RFID reader module (optional): operating frequency 13.56MHz, supports simultaneous reading of multiple tags (≤10 tags / time), used for bulk authorization of group tourists (such as RFID wristbands).

[0063] Infrared sensor group: Two pairs of infrared transmitters / receivers are installed on both sides of the entrance to detect the number of tourists passing through by blocking (error ≤1%), which is used to verify the number of authorized people (e.g., batch authorization of 10 people, the gate will be automatically closed after the count reaches 10).

[0064] Touchscreen display: 5-inch TFT-LCD screen (800×480 resolution), displaying prompts (such as "Please scan the code" and "Authorization successful") and advertising content, supporting interactive clicks by visitors.

[0065] Communication module: integrates 4G / 5G (CAT.1) and Wi-Fi (802.11ac) to achieve low-latency communication (≤50ms) between the gate and the back-end server.

[0066] Gate opening mechanism: The gate is opened or closed by receiving control commands, using an electromagnetic lock (unlocking time ≤500ms) or a motor-driven gate (opening angle 90°).

[0067] Power module: Supports AC220V power supply or POE (Power over Ethernet) to ensure continuous operation (MTBF≥10000 hours).

[0068] 2. Visitor Terminal

[0069] Tourists can use smartphones (Android 8.0+, iOS 13.0+) to install the scenic area's APP to perform functions such as scanning QR codes, navigation, and receiving advertisements. The APP must support (1) a camera (≥13 megapixels) for scanning the gate's QR code; (2) a positioning module (GPS / BeiDou) for navigation; and (3) a network connection (4G / 5G / Wi-Fi) for communication with the backend.

[0070] 3. Backend server

[0071] Deployed in the cloud (such as Alibaba Cloud ECS), it adopts a distributed cluster architecture (3 nodes, master-slave replication) and supports high concurrency (≤1000TPS). The main functions include: (1) data storage (tourist information, project data, gate records); (2) permission verification; (3) algorithm model operation (such as LSTM prediction); (4) back-end management system support.

[0072] 4. Edge computing nodes

[0073] Deployed locally in the scenic area (such as in the scenic area's server room), using industrial-grade servers (supporting working environments from -40℃ to 85℃), it is used to process gate data in real time (such as permission verification), reducing cloud dependence (latency ≤10ms).

[0074] The communication methods between the various components of the hardware system are shown in the table below:

[0075]

[0076] II. Software System Composition

[0077] like Figure 2 The architecture diagram shown is illustrated. The software system is the core of data processing and intelligent decision-making, including an APP management system, a gate control system, a back-end management system, and a data storage system.

[0078] 1. APP Management System (Visitor Terminal)

[0079] Registration and login module: Supports registration via mobile phone number / WeChat / Alipay, generates a unique guest ID (e.g., "user_123456"), and uses JWT (JSON Web Token) for identity authentication (valid for 24 hours).

[0080] QR code generation module: Generates dynamic QR codes based on visitor permissions (such as purchased tickets) (updated every minute, containing visitor ID, project ID, and validity period), and uses AES-128 encryption (to prevent forgery).

[0081] Map navigation module: Integrates with Gaode Map API, automatically displays the current project node location after scanning the code to open the gate (error ≤ 5 meters), and provides walking / sightseeing bus navigation routes (real-time traffic updates).

[0082] Advertising display module: When scanning the code to open the gate, the system retrieves targeted advertisements from the backend (such as recommending "themed restaurants" to tourists who have ridden "roller coasters") and displays them in the form of pop-up windows (which automatically shrink into floating windows after 3 seconds).

[0083] The Personal Center module displays your play history (project ID, entry time), consumption history (tickets / merchandise), and advertising revenue sharing (such as earning points by clicking on ads).

[0084] 2. Gate control system (operating on the intelligent gate terminal)

[0085] QR code recognition module: Connects to scanning hardware, parses QR code content (such as "project_id=789×tamp=2024-05-20 14:30:00"), and extracts the project ID.

[0086] Permission verification module: Send the visitor ID (obtained from the APP request) and project ID to the backend server (or edge computing node) to request permission verification (e.g., "Does user_123456 have permission for project_789?").

[0087] Infrared counting module: Reads infrared sensor data in real time, increments the count by 1 when a tourist passes through, and sends a gate closing command after the authorized number of people (e.g., 1 person) is reached (gate closing time ≤ 1 second).

[0088] Data upload module: Uploads data such as visitor ID, project ID, entry time, and infrared count to the backend server via HTTP POST interface (“server / api / gate_data”) (data integrity ≥99.9%).

[0089] 3. Backend Management System (Administrator Portal)

[0090] Gate monitoring module: Real-time display of gate status (online / offline, open / closed), supports remote control (such as forced gate closure), and alarm function (such as sending SMS notifications to the administrator when the gate malfunctions).

[0091] Data statistics module: Statistics on daily / weekly / monthly visitor numbers, visitor time series data (entry time and stay time of attractions without entrance fees), and consumption data (ticket revenue and advertising revenue), generating visual reports (such as bar charts and line charts).

[0092] Project Analysis Module: Runs the LSTM algorithm model to predict the popularity of the project in the next 7 days and generates adjustment suggestions (such as "Project A will increase by 20% in the next weekend, it is recommended to add 2 staff members").

[0093] Advertising management module: Supports ad uploading (images / videos, ≤10MB), setting of placement rules (such as targeting "roller coaster" visitors, time period 8:00-20:00), and performance statistics (clicks, conversion rate).

[0094] 4. Data storage system

[0095] Relational database (MySQL): Stores tourist information (tourist ID, mobile phone number, registration time), project information (project ID, name, location, ticket price), and user permission table (tourist ID, project ID, validity period), using the InnoDB engine (supports transactions, data consistency ≥99.99%).

[0096] InfluxDB (Time Series Database): Stores gate records (Visitor ID, Project ID, Entry Time, Count) and visitor time series data (Entry / Departure Time and Stay Time for attractions without tickets), supporting high write performance (≤10,000 records / second).

[0097] Distributed file system (MinIO): Stores advertising content (images / videos) and scenic area map data (high-definition satellite images), and supports redundant backup (3 copies, data reliability ≥99.999%).

[0098] III. The system's business data flow is collected as follows:

[0099] 1. Data acquisition from intelligent gate terminal

[0100] QR code scanning data: The gate control system interfaces with the CMOS scanning module to parse information such as project_id (project ID) and timestamp (time stamp) in the QR code, and uploads it to the backend server via HTTP POST interface after collection.

[0101] Infrared counting data: The infrared sensor group detects the passage status of tourists in real time. The gate control system increments the count by 1 every time it captures an obstruction event, records the passage time, and uploads it synchronously to the time series database InfluxDB.

[0102] Gate status data: The gate control system periodically collects hardware status (such as gate open / closed, online / offline, electromagnetic lock voltage), and abnormal status (such as fault) is pushed to the background management system in real time via MQTT protocol.

[0103] Gate opening record data: After the gate opening mechanism executes the command, the gate control system records information such as visitor ID, project ID, gate opening time, and authorized number of people, and uploads it to MySQL (relational database) and InfluxDB (time series database).

[0104] 2. Visitor Data Collection

[0105] QR code interaction data: The visitor's APP scans the QR code on the gate with the camera, collects information such as scanning time, project ID, and user ID, and sends it to the backend server via HTTPS to request permission verification.

[0106] Location and navigation data: The APP collects tourists' real-time location through GPS / BeiDou modules and uploads it to the backend server to generate navigation routes. At the same time, it records the tourists' movement trajectory within the scenic area (stored in InfluxDB).

[0107] User behavior data: The APP collects tourists' interactive behaviors such as ad clicks, project reservations, and points redemption, and uploads them to the advertising management module and data statistics module of the backend management system.

[0108] 3. Data Acquisition from Edge Computing Nodes

[0109] Edge nodes connect via local TCP / IP to collect QR code data, infrared counts, and status information from the gate terminal in real time for local permission verification and real-time control, while simultaneously synchronizing the processed aggregated data to the backend server.

[0110] 4. Data upload path

[0111] Gate terminal → backend server: Directly uploads via 4G / 5G, suitable for scenarios without edge nodes;

[0112] Gate terminal → edge node → back-end server: After local processing at the edge node, key data is synchronized to the cloud, reducing network bandwidth consumption;

[0113] Visitor client → Backend server: Uploads directly via mobile network, supporting high concurrency requests (≤1000TPS).

[0114] IV. Smart Management Content of APP Gate

[0115] In intelligent management, the software system mainly achieves end-to-end control of the hardware through modular instruction scheduling, as detailed below:

[0116] (I) Tourist Interaction Stage: Terminal Software Control of Mobile Hardware

[0117] Software module: Tourist APP (terminal side) Control hardware: Smartphone camera, GPS / BeiDou module, network communication module Operation steps:

[0118] 1. Camera activation: When a tourist opens the "Scan to Pass" function in the APP, the APP sends a command to activate the phone's camera (≥13 megapixels) and adjust the focus to the optimal range for scanning the code;

[0119] 2. QR code scanning: The APP controls the camera to capture the gate's QR code in real time, and uses image recognition algorithms to parse the project_id (project ID) and timestamp (time stamp);

[0120] 3. Location Activation: If tourists use the navigation function, the APP calls the GPS / BeiDou module to obtain the real-time location (accuracy ≤ 5 meters) and synchronizes it to the backend server to generate a route;

[0121] 4. Communication Trigger: The APP sends the scanned data (user ID, project ID) to the edge computing node / backend server via HTTPS protocol through the 4G / 5G / Wi-Fi module to request permission verification.

[0122] Therefore, it can replace manual ticket checking, realize contactless interaction between tourists and gates, and improve passage efficiency (1-2 seconds / person).

[0123] (II) Access Control Stage: Pre-control of Gate Hardware by Edge / Backend Software

[0124] Software modules: Edge computing node software (local side), backend server software (cloud side); Control hardware: Smart gate scanning module, infrared sensor, communication module; Operation steps:

[0125] 1. Data Reception: The edge software receives the user_id and project_id uploaded by the gate scanning module via TCP / IP protocol;

[0126] 2. Local verification: The edge software queries the locally cached authorization list (such as RFID wristband information for group tourists). If a match is found, an opening command is generated directly.

[0127] 3. Cloud-based backup: If no matching data is available at the edge, the backend software calls the MySQL database to verify visitor permissions (such as ticket validity) and returns the result to the gate via the MQTT protocol;

[0128] 4. Status Feedback: After receiving the verification result, the gate control system drives the touch screen to display "Authorization Successful" / "Insufficient Permissions" prompts. It achieves dual verification (local + cloud), reducing cloud dependency (latency ≤10ms) and supporting high concurrency requests of 1000 TPS.

[0129] (III) Gate opening and passage phase: The gate software performs core control over the hardware.

[0130] Software Module: Intelligent Gate Control System (Terminal Side) Control Hardware: Gate Opening Mechanism (Electromagnetic Lock / Motor), Infrared Sensor Group, Touch Screen Operation Steps:

[0131] 1. Sending the gate opening command: After receiving the authorization signal, the software sends an "unlock" command to the electromagnetic lock (unlocking time ≤ 500ms), or sends a "rotate 90°" command to the motor;

[0132] 2. Passage Counting: When the infrared sensor group detects a tourist passing by (triggered by an obstruction signal), the software counts the passage in real time and synchronizes it to the InfluxDB time-series database;

[0133] 3. Gate Closure Trigger: When the count reaches the authorized number of people (e.g., 10 people in a team), the software sends a "gate closure" command to control the gate to reset;

[0134] 4. Results Display: The software-driven display screen shows "Passage Successful" and the remaining authorized number of people (e.g., "3 more people can pass"). This enables automatic passage for batches of tourists (10 people / time ≤ 10 seconds), improving efficiency by 5-10 times, without requiring administrator intervention.

[0135] (iv) Data Acquisition and Synchronization Phase: Software Scheduling of Storage / Communication Hardware

[0136] Software modules: Edge software, backend database software; Control hardware: Edge server storage unit, gate communication module, time-series database (InfluxDB), distributed file system (MinIO); Operation steps:

[0137] Local storage: Edge software controls the hard drive of the industrial-grade server to temporarily store gate records (visitor ID, entry time) and hardware status data;

[0138] Cloud synchronization: The gate software uploads data to the backend via an HTTP POST interface through a 4G / 5G module, and the backend software controls InfluxDB to write time-series data (≤10,000 records / second).

[0139] Multimedia storage: The backend software controls MinIO to store advertising content (images / videos) and push it to the advertising module of the gate display screen;

[0140] Backup redundancy: The software controls MinIO to generate 3 copies of data to ensure that the reliability of the advertising content is ≥99.999%.

[0141] Therefore, achieving end-to-end data traceability provides a data source for predicting the popularity of LSTM projects and supports operational decisions.

[0142] (v) Anomaly Handling Phase: Software's Fault Response Control to Hardware

[0143] Software modules: Gate control system, back-end management system; Control hardware: Gate display screen, communication module, backup power supply module. Operating steps:

[0144] Hardware fault detection: The gate software periodically collects the electromagnetic lock voltage and the online status of the barcode scanning module. If an abnormality is detected (such as voltage <12V), it is marked as a fault.

[0145] Local alarm: The software drives the touch screen to display "Gate gate malfunction, please contact the administrator" and controls the buzzer (optional) to sound an alarm;

[0146] Remote notification: The software pushes fault information to the backend management system via the MQTT protocol, and the backend software controls the administrator's APP to send alarm notifications;

[0147] Degraded operation: If the cloud is offline, the edge software controls the gate to continue opening the gate using locally cached authorized data to ensure uninterrupted service;

[0148] Power switching: If the main power supply fails, the software controls the POE backup power supply to start and maintain the gate operation for ≥4 hours.

[0149] Therefore, the impact of failures on the visitor experience can be reduced, and the system availability can be guaranteed to be ≥99.9%.

[0150] By precisely scheduling hardware through software, the business objectives of "unmanned operation, automatic access, real-time monitoring, and intelligent decision-making" can be achieved.

[0151] Human resource costs: Each project node saves one administrator, and 10 nodes save 300,000 yuan per year;

[0152] Passage efficiency: Batch visitor passage time ≤ 10 seconds, 5 times faster than traditional gates;

[0153] Data reliability: End-to-end data storage redundancy rate ≥ 3 copies, integrity ≥ 99.99%;

[0154] Fault response: Abnormal handling time has been reduced from 1 hour to within 5 minutes.

[0155] This control process covers the entire chain from tourists scanning codes to backend decision-making, and is the core support for realizing intelligent management of scenic spots.

[0156] V. Introduction to the Algorithm Module (Core Intelligent Component)

[0157] This solution selects the LSTM (Long Short-Term Memory) project popularity prediction algorithm to predict the future number of visitors to the project and support project operation decisions.

[0158] The technical solution of the LSTM project's play popularity prediction algorithm will be explained in detail below.

[0159] (I) Algorithm Principle

[0160] LSTM is an improved version of Recurrent Neural Networks (RNNs). It controls the cell state through forget gates, input gates, and output gates, effectively capturing long-term dependencies in time-series data (such as weekend traffic peaks and holiday trends). Its core formula is as follows:

[0161] 1. Forget Gate

[0162] Determine how much of the cell state from the previous time step should be retained. ):

[0163] ,

[0164] : sigmoid function (output 0~1, 0 means completely forgotten, 1 means completely retained);

[0165] Forget gate weight matrix;

[0166] The previously hidden state;

[0167] Input features at the current time, such as daily visitor count, temperature, and whether it is a weekend;

[0168] Forget Gate Offset.

[0169] Operating mechanism: The hidden state from the previous time step is concatenated with the current input, and after a linear transformation, the proportion is retained by outputting the Sigmoid function. Irrelevant historical information (such as low visitor data on non-weekend days) is filtered out, while key long-term dependencies (such as weekend peak trends) are retained to prevent the model from being interfered with by noise.

[0170] 2. Input Gate

[0171] Determine how much current-moment information to incorporate into the cell state:

[0172] ,

[0173] ,

[0174] Input gate output (0~1, determining the proportion of current information incorporated);

[0175] : Candidate cell state (stores information that is currently available);

[0176] , Input gate and candidate cell state weight matrix;

[0177] , Input gate, candidate cell state bias;

[0178] tanh: Hyperbolic tangent function (outputs -1 to 1, encoding the current feature).

[0179] Operating Mechanism: Two sub-formulas are used to calculate the information integration ratio and candidate state, respectively, to prepare for cell state updates. The impact of current factors (such as a decrease in visitor numbers due to high temperatures) on project popularity is captured, integrating short-term characteristics into temporal memory.

[0180] 3. Cell state renewal

[0181] By combining the results of the forget gate and the input gate, the cell state is updated.

[0182] ,

[0183] Element-wise product (preserves useful historical information and current information, multiplying corresponding positions);

[0184] : The current state of the cell;

[0185] : The cell state at the previous moment (stores long-term temporal memory).

[0186] Operating mechanism: The forget gate preserves historical states, while the input gate incorporates the current candidate state to generate new cell states. By fusing long-term dependencies (such as holiday peaks) with short-term influences (such as weather), a complete temporal memory is formed, supporting accurate prediction.

[0187] 4. Output Gate

[0188] Decide which parts of the cell state to output as hidden states:

[0189] ,

[0190] ,

[0191] Output gate outputs (0~1, determining the output). (output ratio)

[0192] : The hidden state at the current moment (i.e., the predicted number of people on day (t) of the project);

[0193] Output gate weight matrix;

[0194] Output gate bias.

[0195] Operating mechanism: Filter effective information in cell states to generate hidden states for prediction, output time-series features related to project popularity, and provide a basis for final visitor prediction.

[0196] The above parameter settings and algorithm rules together support the LSTM model in capturing the temporal dependence of project popularity (such as weekend peaks and holiday trends). Combined with normalization and loss function optimization, the accuracy of predicting the number of visitors for the next 7 days is ≥90%, providing a basis for scenic spots to make operational decisions (such as adding or removing equipment and adjusting personnel).

[0197] (II) Algorithm Operation Mechanism

[0198] Data input: Input feature vector (e.g.) = [{Daily Visitor Counts (Normalized)}, {Temperature (Normalized)}, {Precipitation (Normalized)}, {Weekend / Wednesday / Date (0 / 1)}, {Statutory Holiday / Date (0 / 1)}], Input Dimension = 5).

[0199] Forget gate handling: If (t) is a weekend, This retains more historical weekend visitor information (e.g., last weekend's visitor count was 200).

[0200] Input gate processing: If the temperature of (t) is as high as 35℃, Incorporating the impact of temperature on visitor numbers (e.g., high temperatures leading to a decrease in visitor numbers) into candidate cell states. .

[0201] Cell status update: It retains information on high visitor numbers from historical weekends and the negative impact of the current high temperatures, forming a new temporal memory.

[0202] Output gate processing: filter Output the valid information in the data. (like = 0.8, corresponding to 160 visits before normalization).

[0203] (III) Application of Algorithms in the System

[0204] The LSTM model runs in the project analysis module on the backend server. The specific process is as follows:

[0205] Data collection: Obtain daily visitor data for the past 30 days from InfluxDB, obtain temperature and precipitation data from weather APIs (such as Gaode Weather), and obtain weekend / holiday identifiers from the backend management system.

[0206] Data preprocessing:

[0207] Fill missing values: Fill with the number of people from the previous day (e.g., if data for May 1 is missing, fill with 150 people from April 30).

[0208] Normalization: Min-Ma (minimum value - maximum value) normalization is used ((x' = (x - min) / (max - min) ), which maps the number of people to the interval of 0~1);

[0209] Construct a time series window: Using data from the past 7 days as input, predict the number of visitors on the 8th day (window size = 7).

[0210] Model training:

[0211] Training set: Data from the past 11 months (80%);

[0212] Test set: Data from the past month (20%);

[0213] Hyperparameter settings: number of hidden layer nodes = 64, learning rate = 0.001, epochs = 100, batch size = 32;

[0214] Loss function: Mean squared error is calculated as follows:

[0215] ,

[0216] N is the number of samples;

[0217] This represents the actual number of people;

[0218] To predict the number of visitors.

[0219] The model optimization objective is to minimize the mean squared error between the predicted and actual values ​​to improve prediction accuracy (MSE≤0.01 in the test set in this scheme).

[0220] Model evaluation: MSE ≤ 0.01 (normalized) on the test set, MAE (mean absolute error) ≤ 0.05, R0 2 (Determination coefficient) ≥ 0.9 (indicating that the model can explain 90% of the changes in the number of people).

[0221] Prediction and Decision Making: Use the trained model to predict the number of visitors to the project in the next 7 days and generate adjustment suggestions (such as "The number of visitors to Project B will increase by 30% in the future weekend, and it is recommended to add 1 device").

[0222] The application example is as follows: The management implementation includes system deployment, visitor interaction, data processing, and intelligent analysis, mainly comprising 7 steps.

[0223] like Figure 3 As shown, the specific implementation steps of the management method are as follows:

[0224] Step 1: System Deployment and Initialization

[0225] Smart gate terminals (connected to power supply and 4G network) were installed at 10 project nodes in the scenic area.

[0226] Deploy a backend server in the cloud (3 ECS nodes, master-slave replication), and install MySQL (version 5.7), InfluxDB (version 2.0), and MinIO (RELEASE.2024-05-01T00-00-00Z).

[0227] Develop an app (Android / iOS version) and publish it to app stores (Huawei App Store, App Store);

[0228] Enter project information (e.g., "roller coaster": project_id=789, name=roller coaster, location=east gate of scenic area, ticket_price=50) into the backend management system;

[0229] Enter the gate information (e.g., "Gate 789": gate_id=789, project_id=789, location=roller coaster entrance) into the backend management system.

[0230] Hardware deployment is the physical foundation for system operation, software deployment is the core of data processing, and data initialization is a prerequisite for the normal operation of the system.

[0231] Complete the system infrastructure to prepare for subsequent visitor interactions (deployment time ≤ 1 week).

[0232] Step 2: Guest Registration and Permission Acquisition

[0233] Visitors download the app, register with their mobile phone number (and receive a verification code), and obtain user_id=user_123456;

[0234] Visitors can select the "roller coaster" attraction on the app and click "buy tickets" (payment methods: WeChat / Alipay).

[0235] After successful payment, the backend server will enter user_id=user_123456, project_id=789, valid_from=2024-05-20 00:00:00, and valid_to=2024-05-20 23:59:59 into the user_permission table.

[0236] Registration and login enable visitor identification, and permission acquisition enables access control (only paid users can enter).

[0237] Visitors do not need to purchase tickets on-site, reducing queuing time (payment process ≤ 30 seconds).

[0238] Step 3: Visitors scan the QR code to open the gate (core interaction)

[0239] When visitors arrive at the "roller coaster" entrance, they can open the "scan code" function on the APP and scan the QR code of gate 789 (which will be parsed to obtain project_id=789).

[0240] The app sends a permission verification request to the backend server (parameters: user_id=user_123456, project_id=789).

[0241] The backend server queries the user_permission table, confirms that the permissions are valid, and sends an opening command to gate 789.

[0242] Gate 789 opens (electromagnetic lock de-energized, gate pops out), allowing tourists to pass;

[0243] When the infrared sensor counts (count=1), the gate sends a closing command (gate closes).

[0244] The gate uploads data (user_id=user_123456, project_id=789, entry_time=2024-05-2014:31:00) to the backend server.

[0245] QR code scanning enables project ID transmission, permission verification enables access control, and infrared counting enables accurate statistics.

[0246] The passage time for a single person is ≤2 seconds, increasing the passage efficiency by 5 times (traditional gates require 10 seconds); no administrator is required, reducing labor costs (estimated annual savings of 300,000 yuan for 10 project nodes).

[0247] Step 4: App Navigation and Ad Display

[0248] The app received a success message from the backend and automatically opened the map module (displaying the "roller coaster" location).

[0249] The map module calls the Gaode Map API to provide a walking route from "roller coaster to themed restaurant" (distance 100 meters, time 2 minutes).

[0250] The app pops up an ad (image: "Themed restaurants, roller coaster riders enjoy 20% off", link: "https: / / server / ad / redirect?ad_id=123").

[0251] Visitors click on the advertisement to enter the reservation page of the themed restaurant (online ordering is supported).

[0252] GPS / BeiDou positioning enables precise navigation (error ≤ 5 meters), and advertising recommendations are based on tourist behavior data (e.g., tourists who have "ridden roller coasters" are more likely to visit themed restaurants).

[0253] Reduce the time tourists spend getting lost (navigation function reduces the getting-lost rate from 20% to 5%); increase advertising conversion rate to 5% (traditional advertising conversion rate ≤1%).

[0254] Step 5: Gate Data Storage and Statistics

[0255] The backend server stores the gate data in InfluxDB (gate_entries measurement values);

[0256] The data statistics module queries InfluxDB for the daily number of visitors to the "Roller Coaster" attraction (e.g., the number of visitors on May 20, 2024 was 180).

[0257] The data statistics module generates a "Daily Person-to-Person Report" (bar chart), which is displayed on the dashboard of the backend management system.

[0258] InfluxDB’s time-series storage feature (sorted by time) ensures efficient data statistics (e.g., querying weekly visitor counts for “roller coaster” takes ≤1 second).

[0259] Real-time statistics of project visits (delay ≤ 1 minute) are achieved to provide a basis for subsequent analysis.

[0260] Step 6: Predict project popularity using LSTM model

[0261] The project analysis module retrieves the daily visitor data for the "Roller Coaster" project from InfluxDB over the past 30 days (e.g., from May 1st to May 30th, with visitor numbers ranging from 100 to 200).

[0262] Obtain temperature (e.g., 30°C on May 20th) and precipitation (0mm) data for the past 30 days from the Weather API;

[0263] Retrieve weekend identifiers from the backend management system for the past 30 days (e.g., May 18th and 19th are weekends, so the identifier is 1).

[0264] Data preprocessing (filling missing values, normalization, building time series windows);

[0265] Run an LSTM model to predict the number of visitors to the "roller coaster" in the next 7 days (e.g., 120 visitors on May 21 (Monday) and 220 visitors on May 25 (Saturday)).

[0266] Generate adjustment recommendations ("It is recommended to add 2 staff members and prepare more equipment on May 25th").

[0267] LSTM models capture long-term dependencies in time-series data (such as weekend peak traffic), improving prediction accuracy (MSE≤0.01).

[0268] Enable intelligent decision-making for project operations (such as preparing equipment in advance to avoid excessively long waiting times for tourists).

[0269] Step 7: Time-series data statistics of tourists at attractions without entrance fees

[0270] Install smart gate terminals (gate_id=999, project_id=999) at the entrances of attractions without entrance fees (such as "Cherry Blossom Forest").

[0271] Visitors can scan the QR code on the gate 999 using the app (no ticket purchase required, permissions are set to default).

[0272] The gate control system verifies the visitor ID (user_id=user_123456 exists) and sends an opening command;

[0273] Visitors pass through the gate, and infrared sensors record their entry time (2024-05-20 15:00:00) and departure time (2024-05-20 15:30:00).

[0274] The gate control system uploads data (user_id=user_123456, project_id=999, entry_time=15:00:00, leave_time=15:30:00, stay_time=30 minutes) to the backend server;

[0275] The data statistics module generates a "Cherry Blossom Forest Visitor Time Report" (1,000 visitors per day, peak hours 10:00-12:00, average stay time 40 minutes).

[0276] Permissions are granted by default for ticketless scenarios (lowering the barrier to entry), and the two-way detection (entry / exit) of the infrared sensor enables the statistics of dwell time.

[0277] This addresses the issue of unavailable visitor time-series data for attractions without entrance fees (previously there was no data available), providing a basis for operational decisions (such as "adding 2 cleaning staff during peak hours at the cherry blossom grove").

[0278] Step 8: Advertising Revenue Sharing and Settlement (Optional)

[0279] Advertisers upload ads in the backend management system (ad_id=123, content: "20% off at themed restaurants", targeting rules: "roller coaster visitors").

[0280] Advertisers set billing rules (billed by clicks, price per click: 0.5 yuan / click);

[0281] The backend server tracks the number of impressions (1000) and clicks (50) for ad 123.

[0282] Calculate the advertising cost (50 times × 0.5 yuan = 25 yuan), and distribute the profits proportionally (70% for the scenic area = 17.5 yuan, and 30% for the advertising platform = 7.5 yuan).

[0283] The back-end management system generates an "Advertising Revenue Report" (showing the cost and revenue sharing amount of Ad 123) and sends it to the scenic area administrator (via email notification).

[0284] The automated calculation of advertising revenue sharing (based on clicks) reduces the cost of manual calculation (previously it took 1 day, now it takes ≤ 1 minute).

[0285] Increase advertising revenue in scenic areas (e.g., 10 ads can generate approximately 50,000 yuan per month) and increase advertisers' willingness to place ads (precise advertising can increase the return on investment to 1:5).

[0286] Therefore, the implementation of this system allows for interactive recording of visitor numbers, attractions, and fees at each node in the backend. The backend can also analyze and rank visitor data for each attraction node, dynamically adjusting the types of attractions within the venue and changing and deploying appropriate attractions based on visitor preferences to maximize profits. This improves traffic flow, reduces labor costs, optimizes project operation plans, and enhances management efficiency and revenue.

[0287] Figure 4 This is a schematic diagram of the structure of an electronic device provided in an embodiment of the present invention, such as... Figure 4 As shown, electronic device 410 may include a first processor 2001.

[0288] Optionally, the electronic device 410 may also include a memory 2002 and a transceiver 2003.

[0289] The first processor 2001, memory 2002, and transceiver 2003 can be connected via a communication bus.

[0290] The following is combined with Figure 4 A detailed description of each component of electronic device 410 is provided below:

[0291] The first processor 2001 is the control center of the electronic device 410. It can be a single processor or a collective term for multiple processing elements. For example, the first processor 2001 can be one or more central processing units (CPUs), application-specific integrated circuits (ASICs), or one or more integrated circuits configured to implement embodiments of the present invention, such as one or more digital signal processors (DSPs), or one or more field-programmable gate arrays (FPGAs).

[0292] Optionally, the first processor 2001 can perform various functions of the electronic device 410 by running or executing software programs stored in the memory 2002 and calling data stored in the memory 2002.

[0293] In a specific implementation, as one example, the first processor 2001 may include one or more CPUs, for example... Figure 4 CPU0 and CPU1 are shown in the diagram.

[0294] In a specific implementation, as one example, the electronic device 410 may also include multiple processors, for example... Figure 4 The first processor 2001 and the second processor 2004 are shown in the diagram. Each of these processors can be a single-core processor or a multi-core processor. Here, a processor can refer to one or more devices, circuits, and / or processing cores used to process data (such as computer program instructions).

[0295] The memory 2002 is used to store the software program that executes the present invention, and is controlled by the first processor 2001 to execute it. The specific implementation method can be referred to the above method embodiment, and will not be repeated here.

[0296] Optionally, the memory 2002 may be a read-only memory (ROM) or other type of static storage device capable of storing static information and instructions, random access memory (RAM) or other type of dynamic storage device capable of storing information and instructions, or electrically erasable programmable read-only memory (EEPROM), compact disc read-only memory (CD-ROM) or other optical disc storage, optical disc storage (including compressed optical discs, laser discs, optical discs, digital universal optical discs, Blu-ray discs, etc.), magnetic disk storage media or other magnetic storage devices, or any other medium capable of carrying or storing desired program code in the form of instructions or data structures and accessible by a computer, but not limited thereto. The memory 2002 may be integrated with the first processor 2001 or may exist independently and be connected via the interface circuit of the electronic device 410. Figure 4 (Not shown in the image) is coupled to the first processor 2001, and this embodiment of the invention does not specifically limit this.

[0297] The transceiver 2003 is used to communicate with network devices or with terminal devices.

[0298] Alternatively, transceiver 2003 may include a receiver and a transmitter. Figure 4 (Not shown separately). The receiver is used to implement the receiving function, and the transmitter is used to implement the transmitting function.

[0299] Optionally, the transceiver 2003 can be integrated with the first processor 2001, or it can exist independently and be connected via the interface circuit of the electronic device 410. Figure 4 (Not shown in the image) is coupled to the first processor 2001, and this embodiment of the invention does not specifically limit this.

[0300] It should be noted that, Figure 4 The structure of the electronic device 410 shown does not constitute a limitation on the router. Actual knowledge structure identification devices may include more or fewer components than shown, or combine certain components, or have different component arrangements.

[0301] Furthermore, the technical effects of the electronic device 410 can be referred to the technical effects of the XXX method described in the above method embodiments, and will not be repeated here.

[0302] It should be understood that the first processor 2001 in the embodiments of the present invention may be a central processing unit (CPU), or it may be other general-purpose processors, digital signal processors (DSPs), application-specific integrated circuits (ASICs), field-programmable gate arrays (FPGAs), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. The general-purpose processor may be a microprocessor or any conventional processor, etc.

[0303] It should also be understood that the memory in the embodiments of the present invention can be volatile memory or non-volatile memory, or may include both volatile and non-volatile memory. The non-volatile memory can be read-only memory (ROM), programmable read-only memory (PROM), erasable programmable read-only memory (EPROM), electrically erasable programmable read-only memory (EEPROM), or flash memory. The volatile memory can be random access memory (RAM), which is used as an external cache. By way of example, but not limitation, many forms of random access memory (RAM) are available, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate synchronous DRAM (DDR SDRAM), enhanced synchronous DRAM (ESDRAM), synchronous linked DRAM (SLDRAM), and direct rambus RAM (DR RAM).

[0304] The above embodiments can be implemented, in whole or in part, by software, hardware (such as circuits), firmware, or any other combination thereof. When implemented using software, the above embodiments can be implemented, in whole or in part, as a computer program product. The computer program product includes one or more computer instructions or computer programs. When the computer instructions or computer programs are loaded or executed on a computer, all or part of the processes or functions described in the embodiments of the present invention are generated. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions can be stored in a computer-readable storage medium or transmitted from one computer-readable storage medium to another. For example, the computer instructions can be transmitted from one website, computer, server, or data center to another website, computer, server, or data center via wired (e.g., infrared, wireless, microwave, etc.) means. The computer-readable storage medium can be any available medium that a computer can access or a data storage device such as a server or data center that includes one or more sets of available media. The available medium can be a magnetic medium (e.g., floppy disk, hard disk, magnetic tape), an optical medium (e.g., DVD), or a semiconductor medium. A semiconductor medium can be a solid-state drive.

[0305] It should be understood that the term "and / or" in this article is merely a description of the relationship between related objects, indicating that three relationships can exist. For example, A and / or B can represent: A existing alone, A and B existing simultaneously, or B existing alone. A and B can be singular or plural. Additionally, the character " / " in this article generally indicates an "or" relationship between the preceding and following related objects, but it can also represent an "and / or" relationship. Please refer to the context for a more accurate understanding.

[0306] In this invention, "at least one" means one or more, and "more than one" means two or more. "At least one of the following" or similar expressions refer to any combination of these items, including any combination of a single item or a plurality of items. For example, at least one of a, b, or c can represent: a, b, c, ab, ac, bc, or abc, where a, b, and c can be a single item or multiple items.

[0307] It should be understood that, in various embodiments of the present invention, the order of the above-mentioned process numbers does not imply the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present invention.

[0308] Those skilled in the art will recognize that the units and algorithm steps of the various examples described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are implemented in hardware or software depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementations should not be considered beyond the scope of this invention.

[0309] Those skilled in the art will clearly understand that, for the sake of convenience and brevity, the specific working processes of the devices, apparatuses, and units described above can be referred to the corresponding processes in the foregoing method embodiments, and will not be repeated here.

[0310] In the several embodiments provided by this invention, it should be understood that the disclosed devices, apparatuses, and methods can be implemented in other ways. For example, the apparatus embodiments described above are merely illustrative; for instance, the division of units is only a logical functional division, and in actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated into another device, or some features may be ignored or not executed. Furthermore, the coupling or direct coupling or communication connection shown or discussed may be through some interfaces; the indirect coupling or communication connection between devices or units may be electrical, mechanical, or other forms.

[0311] The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the units can be selected to achieve the purpose of this embodiment according to actual needs.

[0312] In addition, the functional units in the various embodiments of the present invention can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit.

[0313] If the aforementioned functions are implemented as software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of this invention, or the part that contributes to the prior art, or a part of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of this invention. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.

[0314] The above description is merely a specific embodiment of the present invention, but the scope of protection of the present invention is not limited thereto. Any variations or substitutions that can be easily conceived by those skilled in the art within the technical scope disclosed in the present invention should be included within the scope of protection of the present invention. Therefore, the scope of protection of the present invention should be determined by the scope of the claims.

Claims

1. A user activity intelligent management system based on APP gate interaction, characterized in that, This includes intelligent gate terminals, visitor terminals, backend servers, and edge computing nodes, among which: The intelligent gate terminal is deployed at the project node, and its hardware modules include a QR code scanning module for recognizing the QR code of the tourist APP, an infrared sensor group for detecting the number of tourists passing through, a gate opening mechanism for performing gate opening and closing operations, and a communication module for data communication. The visitor terminal is a smartphone with the scenic area's APP installed, which is used to scan the QR code of the smart gate terminal through the camera and interact with it. The backend server is deployed in the cloud and communicates with the smart gate terminal and the visitor terminal for permission verification, data storage and analysis. The edge computing node is deployed locally in the scenic area and communicates with the smart gate terminal to perform local real-time permission verification and data processing.

2. The user activity intelligent management system according to claim 1, characterized in that, The intelligent gate terminal also includes an RFID reading module for batch reading of RFID tags carried by tourists.

3. The user activity intelligent management system according to claim 1, characterized in that, The intelligent gate terminal also includes a touch screen for displaying operation prompts, advertising information, and supporting interaction.

4. The intelligent user activity management system according to claim 1, characterized in that, The backend server is connected to a relational database and a time-series database, which are used to store structured business data and time-series access record data, respectively.

5. The user activity intelligent management system according to claim 4, characterized in that, The backend server is also connected to a distributed file system for storing advertising content files.

6. The user activity intelligent management system according to claim 1, characterized in that, The edge computing nodes are industrial-grade servers.

7. The intelligent user activity management system according to claim 1, characterized in that, The gate opening mechanism of the intelligent gate terminal is an electromagnetic lock or a gate driven by a motor.

8. The intelligent user activity management system according to claim 1, characterized in that, The communication module of the intelligent gate terminal integrates a 4G / 5G mobile communication module and a Wi-Fi module.

9. The intelligent management system for user activity according to claim 1, characterized in that, The project analysis module of the backend server runs an LSTM model, which is used to predict the future popularity of a project based on historical access data.

10. A user activity intelligent management method based on APP gate interaction, applied to the system described in any one of claims 1-9, characterized in that, Includes the following steps: S1: Tourists scan the QR code displayed on the smart gate terminal using the APP on the tourist terminal; S2: The intelligent gate terminal or back-end system performs permission verification on the scanning request; S3: After the verification is passed, the intelligent gate terminal controls its gate opening mechanism to open and uses the infrared sensor group to count the tourists passing through the gate. S4: The intelligent gate terminal will upload data including visitor identification, project identification and passage time to the back-end server for storage and analysis.