Entrance guard elevator control and door opening starting combined control method based on NFC (Near Field Communication) interaction

By using an NFC-based access control and elevator control system, combined with an LSTM model and a genetic algorithm, deep integration between the access control and elevator control systems has been achieved. This solves the problems of cumbersome operation and limited security in existing technologies, and provides a convenient, safe, and efficient access experience and value-added services.

CN122024366APending Publication Date: 2026-05-12ZHEJIANG 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-16
Publication Date
2026-05-12

AI Technical Summary

Technical Problem

Existing access control and elevator control systems are cumbersome to operate, lack linkage, are inefficient in management, lack personalization, and have limited security. They fail to provide value-added services, and physical cards are easy to copy, visitor identity verification relies on manual verification, which poses security risks.

Method used

The system adopts an NFC-based access control and elevator control system, which includes a user terminal, an access control terminal, an elevator control terminal, and a back-end server cluster. It obtains user identity information through NFC sensing to achieve identity authentication and elevator scheduling. It combines an LSTM model to predict the target floor, uses a genetic algorithm to optimize elevator scheduling, and provides personalized advertising services.

Benefits of technology

It enables convenient access without multiple card swipes, deeply integrates access control and elevator control systems, allows visitors to authorize online, improves security and management efficiency, and provides personalized services and added business value.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN122024366A_ABST
    Figure CN122024366A_ABST
Patent Text Reader

Abstract

The invention provides an entrance guard and elevator control and door opening starting combined control method based on NFC interaction, linkage of a mobile phone terminal and an entrance guard and elevator control system is realized through NFC (near field communication), and convenient experience of'whole-course passing through once card collision 'is realized by combining intelligent prediction and optimal scheduling. According to the scheme, a physical card does not need to be carried, entrance guard opening and elevator calling are completed through one-time NFC card touching, and the redundant process of repeated card swiping is reduced; access control and an elevator control system are in deep linkage, elevator calling is automatically triggered, and extra operation of a user is not needed; visitor online authorization does not need foreground registration, and property management real-time path tracking is realized. The owner identity is bound with the mobile phone, and card rehandling is not needed after loss; commercial value is achieved through precise advertisement putting, and operation optimization is supported through data statistics; nFC identity binding of the mobile phone is not easy to copy, visitor authorization is traceable, and potential safety hazards are reduced.
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 a method for joint control of access control and elevator control and door opening based on NFC interaction, as well as a joint control system, electronic device and computer-readable storage medium for access control and elevator control and door opening based on NFC interaction. Background Technology

[0002] Existing access control and elevator control systems generally adopt the traditional model of "front desk card issuance - card swiping to enter the access control system - card swiping to call the elevator - card swiping to go to the floor", which has the following core problems:

[0003] Cumbersome operation: Users need to carry a physical card and swipe it multiple times (access control, elevator, floor), making the process redundant;

[0004] Lack of linkage: The access control and elevator control systems operate independently and cannot automatically trigger elevator calls based on access control access, requiring users to perform additional operations;

[0005] Inefficient management: Visitors need to register at the front desk, and the property management cannot track visitor paths in real time; lost resident cards need to be replaced, which is costly.

[0006] Lack of personalization: The system cannot predict the target floor based on the user's historical behavior, requiring users to manually adjust, resulting in a poor user experience.

[0007] Insufficient value-added services: The system only meets basic access needs and has not explored value-added scenarios such as advertising and data statistics;

[0008] Security limitations: Physical cards are easy to copy, and visitor authentication relies on manual verification, posing security risks. Summary of the Invention

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

[0010] On the one hand, an NFC-based access control and elevator control system for door opening and activation is provided, including:

[0011] User terminals, access control terminals, elevator control terminals, and back-end server clusters;

[0012] The user terminal is a mobile device with NFC communication function, configured to send user identity information to the access control terminal through card emulation mode;

[0013] The access control terminal is deployed at the entrance and integrates an NFC reading module, a barrier gate control module and a first communication module. It is configured to read the user's identity information and send it to the back-end server cluster for authentication through the first communication module, and control the barrier gate to open after successful authentication.

[0014] The elevator control terminal is connected to the elevator controller and integrates a second communication module. It is configured to receive elevator dispatch instructions from the backend server cluster and control the target elevator to run to a designated floor. The backend server cluster includes at least an identity authentication server and an elevator control dispatch server. The identity authentication server is configured to receive and verify the user's identity information. After successful verification, it determines the target floor based on the historical access data corresponding to the user's identity information. The elevator control dispatch server is configured to generate the elevator dispatch instructions based on the target floor and real-time elevator status information and send them to the elevator control terminal.

[0015] On the other hand, a method for joint control of access control and elevator control with door opening and activation based on NFC interaction is provided, applied to the system described above. The method includes:

[0016] In response to an NFC sensing event between the user terminal and the access control terminal, the user terminal sends user identity information to the access control terminal;

[0017] The access control terminal forwards the user's identity information to the backend server cluster for identity authentication; if the identity authentication is successful, the backend server cluster determines the target floor based on the user's identity information and generates an elevator dispatch instruction.

[0018] The back-end server cluster sends the target floor information and elevator dispatch instructions to the access control terminal and elevator control terminal respectively.

[0019] The access control terminal responds to the authentication pass command and controls the gate to open;

[0020] The elevator control terminal responds to the elevator dispatching command, controls the target elevator to run to the calling floor to pick up the user, and finally arrives at the target floor.

[0021] Preferably, the step of determining the target floor by the backend server cluster based on the user identity information includes:

[0022] Obtain historical access time-series data associated with the user's identity information;

[0023] The feature vector containing access time features and the historical access time series data is input into a pre-trained long short-term memory network model.

[0024] Obtain the probability distribution corresponding to each floor output by the long short-term memory network model;

[0025] The floor with the highest probability value is determined as the target floor.

[0026] Preferably, generating elevator dispatch instructions includes:

[0027] Obtain real-time status information of each elevator in the system, including at least the current position, direction of travel, and current load;

[0028] With the optimization objective of minimizing user waiting time and elevator running time, a genetic algorithm is used to solve the elevator scheduling task. The fitness function of the genetic algorithm is constructed based on the real-time state information and the target floor.

[0029] The optimal scheduling scheme obtained from the solution is encoded into the elevator scheduling instruction.

[0030] Preferably, the method further includes:

[0031] After the identity authentication is passed, the backend server cluster determines the advertising content to be pushed based on the user profile bound to the user's identity information;

[0032] The advertisement content is pushed to the application interface of the user's terminal for playback.

[0033] Preferably, the user profile is constructed through the following steps:

[0034] Collect users' static attribute data and dynamic behavior data;

[0035] Clustering algorithms are used to process all user data, dividing users into multiple groups with different characteristics;

[0036] Based on the user's group and behavioral data, construct a user profile that includes interest attributes.

[0037] Preferably, when the user identity information indicates that the user is a visitor, the identity authentication process further includes:

[0038] Verify whether the user identity information is a valid temporary access credential;

[0039] Once the verification is successful, the floor where the visitor corresponding to the temporary access credential is located will be determined as the target floor.

[0040] Preferably, after the elevator arrives at the target floor, the method further includes:

[0041] The user terminal application provides a floor feedback interface;

[0042] Receive the actual floor information entered by the user on the floor feedback interface;

[0043] Based on the actual floor information reached, the historical access data corresponding to the user's identity information is updated to optimize the target floor prediction model.

[0044] Preferably, after responding to the NFC sensing event between the user terminal and the access control terminal, the method further includes:

[0045] Start the video acquisition module of the access control terminal and establish a video communication link with the preset contact person's terminal;

[0046] The acquired video stream is sent through the video communication link for remote visual confirmation.

[0047] Preferably, while controlling the opening of the barrier gate, the access control terminal also simultaneously displays at least one of the following on its local display screen: barrier gate status information, the real-time location of the target elevator, and its estimated arrival time.

[0048] On the other hand, an electronic device is provided, comprising: a processor; and a memory storing computer-readable instructions, wherein when the computer-readable instructions are executed by the processor, any one of the above-described methods for joint control of access control and elevator control based on NFC interaction and door opening / starting is implemented.

[0049] On the other hand, a computer-readable storage medium is provided, wherein at least one instruction is stored in the storage medium, the at least one instruction being loaded and executed by a processor to implement any of the above-described methods of the joint control method for access control and elevator control and door opening based on NFC interaction.

[0050] The beneficial effects of the technical solutions provided in the embodiments of the present invention include at least the following:

[0051] 1. Simplified operation: No need to carry a physical card, one NFC tap completes access control and elevator call, reducing the redundant process of multiple card swipes;

[0052] 2. Highly efficient linkage: The access control and elevator control systems are deeply integrated, automatically triggering elevator calls without requiring any additional user intervention;

[0053] 3. Intelligent Management: Visitors can authorize online without front desk registration, and property management can track their routes in real time; resident identity is linked to mobile phone, so there is no need to reapply for a card if lost;

[0054] 4. Personalized services: Predicting target floors based on LSTM models to improve the passage experience;

[0055] 5. Abundant value-added scenarios: Precise ad targeting realizes commercial value, and data statistics support operational optimization;

[0056] 6. Enhanced security: Mobile phone NFC identity binding is not easy to copy, visitor authorization is traceable, reducing security risks. Attached Figure Description

[0057] 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.

[0058] Figure 1 This is a hardware block diagram of a joint control system for access control, elevator control, and door opening / starting based on NFC interaction, provided in an embodiment of the present invention.

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

[0060] Figure 3 This is a flowchart of a method for joint control of access control, elevator control and door opening based on NFC interaction provided in an embodiment of the present invention;

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

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

[0063] 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.

[0064] 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.

[0065] 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.

[0066] 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.

[0067] In this embodiment, access control terminals, NFC interaction, elevator control systems, etc., can be understood and implemented in conjunction with existing technologies. This solution can be developed independently or by upgrading and modifying existing technologies.

[0068] This invention combines NFC (Near Field Communication) with a powered-on mobile phone terminal to achieve elevator and access control linkage. Users tap their mobile phone (APP terminal) against the access control system to activate a call (the phone and access control interact via NFC, with the phone sending the resident's identity information to the access control system via NFC; after authentication, the access control system determines the user's target floor based on historical access data or NFC interaction information), opening the access gate and simultaneously calling the elevator (the access control system interacts with the elevator control system to obtain elevator information in real time). This achieves joint control of access control and elevator control, allowing users to reach their target floor without unnecessary calls, facilitating visitor management for property management and those being visited.

[0069] I. Technical Objective of the Invention: The present invention uses NFC (Near Field Communication) to enable the linkage between mobile terminals and access control and elevator control systems. Combined with intelligent prediction and optimized scheduling, it solves the above problems and achieves the convenient experience of "one-tap card, full access".

[0070] The following section will describe the application system of this solution in detail.

[0071] II. System Hardware and Software Components

[0072] This system adopts a four-layer architecture of "terminal equipment - network transmission - back-end service - user application", covering the entire process of access control, elevator control, and user interaction. The specific components are as follows:

[0073] (a) Hardware System

[0074] like Figure 1 As shown, the hardware system consists of three parts: front-end terminal equipment, network transmission equipment, and back-end server. The core equipment parameters and functions are as follows:

[0075] 1. Front-end terminal equipment

[0076] (1) Access control terminal

[0077] Model: KS-MJ100 (Kingsoft Office Customization);

[0078] Core modules:

[0079] NFC module: 13.56MHz, supports ISO 14443 Type A protocol, transmission rate 106kbps, sensing distance 0-8cm;

[0080] Camera: 1080P HD, supports H.265 encoding, 30fps frame rate, used for video communication confirmation;

[0081] Display screen: 5-inch capacitive touch screen with a resolution of 1280×720, used to display the status of the barrier gate, elevator information and advertisements;

[0082] Barrier gate control module: Supports DC motor drive, barrier gate opening time ≤ 2 seconds, and has anti-pinch function (infrared sensor detection).

[0083] Communication module: Wi-Fi / 4G dual-mode, supports MQTT protocol, used for communication with the backend server;

[0084] Functions: Enables NFC interaction (parses the user ID and identity type sent by the mobile phone via NFC) → Data upload (sends user information to the backend identity authentication server via Wi-Fi / 4G) → Authentication response (receives the authentication result and target floor returned by the backend) → Barrier gate control (if authentication is successful, triggers the GPIO interface to control the motor to open the barrier gate, and simultaneously collects data such as barrier gate opening time and user passage time) → Status feedback (uploads the barrier gate status and video stream (if enabled) to the backend data storage server via MQTT); synchronously displays elevator status and advertising content.

[0085] (2) Elevator control terminal

[0086] Model: KS-TK200 (Kingsoft Office Customization);

[0087] Core modules:

[0088] NFC module: 13.56MHz, supports card emulation mode, used to receive floor adjustment commands from the user's mobile phone;

[0089] Elevator control module: Supports RS485 interface, connecting to elevator call buttons, floor display panel, and door operator controller;

[0090] Sensors: Load cell (maximum load 1000kg), position sensor (photoelectric encoder, accuracy ±1cm).

[0091] Communication module: Wi-Fi / 4G dual-mode, supports MQTT protocol;

[0092] Functions: Receive instructions from the backend elevator control and dispatch server (such as elevator number, target floor) → Elevator control (send call signals to the elevator controller via RS485 interface to control the call button to light up and the motor running direction) → Data acquisition (collect elevator position (accuracy ±1cm), load (≤1000kg), running direction and other status data in real time through position sensors and load sensors) → Status upload (synchronize elevator status to the backend server every 0.5 seconds via MQTT) → Floor display (update the floor panel inside the elevator to display the target floor).

[0093] (3) User terminal

[0094] Device type: Smartphones with NFC functionality (Android 6.0+ / iOS 11+).

[0095] Core modules:

[0096] NFC chip: Supports card emulation mode, storing user ID and identity information;

[0097] Display screen: Supports split-screen display (upper half screen status, lower half screen advertisement). After a user taps the access control gate with their mobile phone (APP terminal), the mobile APP page will display a split-screen view: the upper half screen shows the opening status of the access control gate and the location status of the called elevator, while the lower half screen displays and loops pre-placed advertisements. The specific advertisements are determined based on the preset advertisement data stream pushed from the backend.

[0098] Functions: Interacts with access control terminals via NFC to display access status and receive advertising push notifications.

[0099] 2. Network transmission equipment

[0100] Router: Adopts enterprise-grade Wi-Fi 6 router (such as Huawei AX3 Pro), supports 5G / 2.4G dual-band, covers public areas of the community (access control, elevators); realizes Wi-Fi / 4G data forwarding between front-end terminals and back-end servers, supports MQTT protocol message queue transmission (latency ≤100ms), and ensures data real-time performance.

[0101] Switch: Gigabit Ethernet switch (such as TP-LINK TL-SG1024D) connects the backend server and network devices; it enables high-speed data forwarding (bandwidth ≥ 1Gbps) of each backend server node through Gigabit Ethernet, supporting parallel processing of distributed architecture.

[0102] Firewall: Next-generation firewalls (such as Sangfor NGAF) ensure system data security and prevent unauthorized access; they control access to backend server ports, allowing only legitimate IP addresses of frontend terminals to access the system through the MQTT port (1883) and filtering malicious data packets.

[0103] 3. Backend server

[0104] Server type: Cloud server (such as Alibaba Cloud ECS), adopting a distributed architecture, including:

[0105] Identity authentication server: Deploys the Spring Security framework and is responsible for user authentication and access control;

[0106] Elevator control and scheduling server: Deploy Python / Django framework and run elevator scheduling algorithm (genetic algorithm);

[0107] Data storage server: MySQL (relational, for storing user information and access records) + MongoDB (non-relational, for storing advertisements and video streams);

[0108] Ad push server: Deploy Redis cache (to store ad content) to support real-time push;

[0109] Video communication server: Deploy a WebRTC server (such as Janus) to support real-time audio and video transmission.

[0110] (ii) Software System

[0111] like Figure 2 As shown, the software system consists of three parts: a user-side APP, front-end terminal software, and back-end service software, with the following functions:

[0112] 1. Client-side App (Android / iOS)

[0113] Core modules:

[0114] NFC interaction module: Adopting the Android NfcAdapter / iOS CoreNFC framework, it realizes two-way communication with the access control terminal (sending user ID and receiving authentication results).

[0115] Status display module: The upper half of the screen displays the status of the barrier gate (green icon = open, red = closed) and the elevator location (e.g., "Elevator 1: 5th floor → 1st floor, estimated arrival time 30 seconds").

[0116] Ad playback module: The lower half of the screen uses ExoPlayer (Android) / AVFoundation (iOS) to play video ads, supporting loop playback;

[0117] Access Request Module: Visitors can send access requests through the APP (fill in the owner's room number and access time), and the owner can confirm on the APP;

[0118] Feedback module: Users can adjust the predicted floor (e.g., "currently predicted floor 10, but actually need to go to floor 11"), and upload user_id, original_floor, adjusted_floor, and timestamp to the backend via the POST interface / api / user / feedback; after receiving the data, the backend updates the historical access data in the MySQL user table and triggers incremental training of the LSTM model (using the latest adjusted records to optimize the prediction weights) to improve the accuracy of subsequent floor predictions.

[0119] 2. Front-end terminal software

[0120] Access control terminal software: Developed in C++, running on a Linux system, its functions include:

[0121] NFC data parsing: Parses the user ID and identity type (owner / visitor) sent by the mobile phone;

[0122] Video capture: The V4L2 interface is used to capture camera data, which is then encoded as an H.265 stream.

[0123] Barrier gate control: The motor drive module is controlled via the GPIO interface to open / close the barrier gate;

[0124] Communication: The user ID, identity type, and access timestamp are sent to the background identity authentication server via the MQTT client (QoS=1); upon receiving the authentication result, if successful, the barrier gate control is triggered, and the elevator scheduling status (elevator number, estimated arrival time) is received synchronously; at the same time, the barrier gate opening time and video stream ID (if enabled) are written to the local log and uploaded to the background data storage server via MQTT.

[0125] Elevator control terminal software: Developed using Python and running on a Linux system, its functions include:

[0126] Command reception: Receives the summoning command (target floor, elevator number) from the background dispatch server.

[0127] Elevator control: Send commands to the elevator controller via RS485 interface to control the call button to light up and the motor to run;

[0128] Status feedback: The elevator position (photoelectric encoder, accuracy ±1cm), load (≤1000kg), and direction of travel are collected every 0.5 seconds; the data is encapsulated in JSON format ({"elevator_id":"1","floor":5,"load":500,"direction":"down"}) and sent to the elevator control and dispatch server via MQTT; the data of the last 10 minutes is stored locally for fault backtracking, and the uploaded data supports subsequent scheduling optimization.

[0129] 3. Backend service software

[0130] Identity verification service:

[0131] API: / api / auth / verify(POST, parameters: user_id, identity_type, timestamp);

[0132] Logic: Query the user table in the MySQL database to verify the validity of user_id and the identity type (owners need to match the room number, and visitors need to match the temporary ID);

[0133] Output: Authentication result (success / fail), target floor (if authentication is successful); at the same time, the authentication record (user_id, timestamp, result, target_floor) is written to the MySQL access log table (access_log_table) for user behavior analysis.

[0134] Elevator control and dispatch service:

[0135] API: / api / elevator / schedule (POST, parameters: user_id, target_floor, elevator_status);

[0136] Logic: Call the genetic algorithm to calculate the fitness (minimize waiting time + running time) based on the elevator state (position, direction, load); Steps: Encode the task as a chromosome → calculate fitness → select / crossover / mutate to generate the optimal solution; After generation, store it in the Redis cache (valid for 5 minutes), update the scheduling instructions in the MySQL elevator state table, and write it to the scheduling log table (schedule_log_table).

[0137] Output: Elevator number, call command (e.g., "Elevator 1: Go to the 1st floor to pick up the user, target floor 10").

[0138] Advertising push service:

[0139] API: / api / ad / push(POST, parameters: user_id, ad_strategy);

[0140] Logic: Query user profile (user_profile table), match advertising strategies (e.g., young parents → maternal and infant ads), and retrieve ad content from MongoDB;

[0141] Output: Ad URL, playback parameters (loop count, volume).

[0142] Video communication services:

[0143] Based on the WebRTC protocol, real-time audio and video transmission between the access control terminal and the owner's APP is realized;

[0144] Functions: Media negotiation (SDP), NAT traversal (ICE), and stream forwarding (Janus server).

[0145] III. Hardware and Software System Interaction Process

[0146] Taking the daily usage scenarios of homeowners as an example, describe in detail the hardware and software interaction process (such as...). Figure 3 (as shown)

[0147] 1. Step 1: NFC sensing trigger

[0148] User operation: The homeowner opens the APP and brings the mobile phone close to the NFC sensing area of ​​the access control terminal (distance ≤ 5cm).

[0149] Hardware interaction: The mobile phone (active mode) sends a 13.56MHz radio frequency signal, and the access control terminal (passive mode) receives the signal and acquires energy;

[0150] Software interaction: The mobile phone NFC module sends the user ID (e.g., "user_001"), identity type ("owner"), and historical access data (floor sequence of the last 7 days: [10,10,10,11,10,10,10]) to the access control terminal through card emulation mode.

[0151] 2. Step 2: Identity Authentication and Target Floor Prediction

[0152] Access control terminal: Parses NFC data and sends user information to the backend identity authentication server via the MQTT protocol;

[0153] Identity authentication server:

[0154] Query the MySQL user table (user_table) to verify whether user_001 is a legitimate homeowner (room number "10-01");

[0155] After successful authentication, the LSTM target floor prediction model is invoked, and the user characteristics are input (access time: Monday 8:00; historical floors: [10,10,10,11,10,10,10]).

[0156] The model outputs predicted floors (probability distribution: 10th floor → 0.85, 11th floor → 0.15), and the 10th floor with the highest probability is taken as the target floor;

[0157] Feedback result: The identity authentication server sends the authentication result ("success") and the target floor ("10") to the access control terminal via MQTT.

[0158] 3. Step 3: Gate opening and elevator call

[0159] Access control terminal:

[0160] Receive the authentication result and control the barrier gate motor to open via the GPIO interface (the barrier gate rises and the infrared sensor detects no obstacles).

[0161] The display screen shows the status of the barrier gate (green icon + "Barrier gate is open");

[0162] Send the target floor (10th floor) to the backend elevator control and dispatch server via MQTT;

[0163] Elevator control and dispatch server:

[0164] Query the elevator status table (elevator_status) to get the current elevator information (e.g., elevator 1: location 5th floor, running direction → downward, load capacity 200kg; elevator 2: location 12th floor, running direction → upward, load capacity 500kg).

[0165] The genetic algorithm is invoked to generate the optimal scheduling scheme with the goal of "minimizing user waiting time + elevator running time" (elevator 1 is selected because it runs downwards and is closer to the first floor).

[0166] Send a scheduling command ("elevator_001: Summon floor 1, target floor 10") to the elevator control terminal via MQTT.

[0167] 4. Step 4: Elevator Operation and Status Display

[0168] Elevator control terminal:

[0169] Receive the dispatch command and control the call button (1st floor) of elevator 1 to light up via the RS485 interface;

[0170] The elevator controller drives the motor, and elevator 1 descends from the 5th floor to the 1st floor (speed 2m / s, travel time = (5-1)×3×0.5=6 seconds? No, it should be distance = (5-1)×3 meters (assuming each floor is 3 meters) = 12 meters, speed 2m / s, travel time = 12÷2=6 seconds, plus start and stop time, estimated arrival time is 30 seconds).

[0171] The elevator position is collected in real time (via a photoelectric encoder) and sent to the backend server via MQTT.

[0172] User App:

[0173] Receive elevator status ("Elevator 1: 5th floor → 1st floor, estimated arrival time 30 seconds") pushed by the backend server and update the display on the upper half of the screen.

[0174] The ad push server queries the user profile (user_profile table: user_001, age 30, female, white-collar worker, has children), matches it with maternal and infant product ads (such as "XX milk powder, new users get a 50 yuan discount"), and starts playing them in a loop on the lower half of the screen.

[0175] 5. Step 5: Confirm elevator arrival and floor location

[0176] Elevator control terminal: When elevator 1 arrives at the 1st floor, the position sensor detects its position and controls the door operator to open (opening time ≤ 2 seconds).

[0177] User operation: Residents can enter the elevator without swiping a card;

[0178] Elevator operation: The elevator control terminal controls the motor to move upwards according to the target floor (10th floor) (speed 2m / s, running time = (10-1)×3 / 2 = 13.5 seconds, plus start and stop time, it is expected to arrive in 20 seconds).

[0179] Status update: After the elevator reaches the 10th floor, the door operator opens, the elevator control terminal sends the "Arrived at the 10th floor" command to the backend server, and the user's APP displays "Elevator has arrived at the 10th floor" on the upper half of the screen.

[0180] 6. Step 6: Feedback and Model Optimization

[0181] User operation: If the predicted floor is correct (10th floor), the resident can exit the elevator directly; if it is incorrect (for example, if the resident needs to go to the 11th floor), the resident can click "Adjust Floor" on the APP and select the 11th floor;

[0182] Backend processing: The APP sends the adjusted data (user_001, actual floor 11) to the backend server to update the user's historical access data (the historical floor sequence becomes [10,10,10,11,10,10,11]).

[0183] Model optimization: Every night at 23:00, the backend server automatically retrains the LSTM model with updated historical data to improve prediction accuracy.

[0184] IV. Core Technology Principles

[0185] (I) NFC Communication Principle

[0186] NFC (Near Field Communication) is a short-range wireless communication technology operating at a frequency of 13.56MHz, with a transmission distance of 0-10cm, and supports bidirectional communication. In this solution, the NFC interaction between the mobile phone and the access control terminal adopts card emulation mode.

[0187] Active mode: The mobile phone sends radio frequency signals to power the access control terminal;

[0188] Passive mode: The access control terminal receives signals and parses data such as the user ID sent by the mobile phone;

[0189] Communication protocol: Adopts ISO 14443 Type A standard. The data frame structure includes: Start bit (SOF), Address bit (ADDR), Control bit (CTL), Data bit (DATA), and Check bit (CRC).

[0190] Security: Supports AES-128 encryption; sensitive data such as user IDs are encrypted before transmission to prevent tampering.

[0191] (II) Target Floor Prediction Principle (LSTM Model)

[0192] 1. Model Selection

[0193] By employing LSTM (Long Short-Term Memory Network), since the historical access data is time-series data (e.g., "go to the 10th floor at 8:00 on Monday, go to the 10th floor at 8:10 on Tuesday"), LSTM can capture long-term dependencies in the time series, which is superior to traditional ARIMA or decision tree models.

[0194] 2. Input / Output

[0195] Input features:

[0196] Time characteristics: Day of the week (one-hot encoding, e.g., Monday → [1,0,0,0,0,0,0]), Hour (normalized to [0,1], e.g., 8 o'clock → 8 / 24 = 0.333);

[0197] Historical floor information: The floor sequence of the last 7 days (normalized to [0,1], for example, 10th floor → 10 / 30 = 0.333, assuming the highest floor in the community is 30).

[0198] User characteristics: Owner / Visitor (one-hot encoding, owner → [1,0], visitor → [0,1]).

[0199] Output: The probability distribution of the target floor (e.g., 10th floor → 0.85, 11th floor → 0.15), and the floor with the highest probability is taken as the prediction result.

[0200] 3. LSTM Model Structure and Formulas

[0201] The core of LSTM is cell state. The system controls the storage and forgetting of information through the Forget Gate, Input Gate, and Output Gate.

[0202] (1) Forget Gate

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

[0204]

[0205] Forget gate output (0≤ ≤1, where 0 represents complete forgetting and 1 represents complete retention);

[0206] σ: Sigmoid activation function, output range (0,1);

[0207] Forget gate weight matrix (model training parameters);

[0208] The previous hidden state carries historical information (including previous information);

[0209] : Current input features;

[0210] Forget gate bias (model training parameter);

[0211] :Will and A single vector formed by connecting the two.

[0212] (2) Input Gate

[0213] Determine how much current information to input into the cell state:

[0214]

[0215]

[0216] Input gate output (0≤ ≤1);

[0217] The current input candidate cell state (tanh activation, mapped to [-1,1]), i.e., the candidate cell state, which uses the hyperbolic tangent activation function to map the value to [−1,1];

[0218] , : These are the input gate weight matrices;

[0219] , Input gate bias.

[0220] (3) Cell state renewal

[0221] By combining information from the forget gate and the input gate, update the current cell state:

[0222]

[0223] The current cell state is the core memory unit of the network;

[0224] : The cell state at the previous moment;

[0225] Element-wise multiplication (Hadamard product) is the multiplication of corresponding elements.

[0226] (4) Output Gate

[0227] Decision from How many cell states are output to the hidden state:

[0228]

[0229]

[0230] Output gate output (0≤ ≤1);

[0231] The hidden state at the current time step, used for prediction or propagation to the next time step;

[0232] : Output gate weight matrix (model training parameters);

[0233] : Output gate bias (model training parameter).

[0234] (5) Output layer

[0235] Based on hidden state Generate predictive outputs (e.g., probability distributions for floor classification).

[0236]

[0237] : The predicted probability distribution vector, the probability distribution of the target floor (e.g., 10th floor → 0.85, 11th floor → 0.15).

[0238] Output layer weight matrix (model training parameters);

[0239] Output layer bias (model training parameters);

[0240] Softmax: An activation function that transforms the input vector into a probability distribution (where all elements sum to 1).

[0241] (6) Loss function

[0242] Cross-entropy loss is used for multi-class classification problems (where floor numbers are classification labels):

[0243] ,

[0244] The overall loss value (scalar) is minimized by optimization (such as gradient descent) to train the model;

[0245] N: Number of samples;

[0246] K: Number of floors (e.g., 30 floors);

[0247] : The true label of the i-th sample (one-hot encoding, e.g., 10th floor → [0,...,1,...,0]). =1 indicates that sample i belongs to category k, otherwise it is 0;

[0248] : The probability that the i-th sample is predicted to be from the k-th layer.

[0249] 4. Model Training and Application

[0250] Training process:

[0251] Data collection: Collect historical visit data from 1,000 property owners (a total of 100,000 samples), and label the target floor for each sample;

[0252] Data preprocessing: normalize time features, fill historical floor sequences to a fixed length (7 days), and encode real labels using one-hot encoding;

[0253] The dataset is divided into three parts: 70% training set, 20% validation set, and 10% test set.

[0254] Model training: An LSTM model (128 hidden layers, 2 layers) was built using the PyTorch framework, and the Adam optimizer (learning rate 0.001) was used for training for 50 epochs.

[0255] Model evaluation: The accuracy on the test set reached 88% (20% higher than traditional rule predictions).

[0256] Application process: When a user sends information to the access control system via NFC, the backend server calls the trained LSTM model, inputs the user's current features (access time, historical floors), outputs the predicted target floor, and sends it to the elevator control system.

[0257] (II) Elevator scheduling optimization principle (genetic algorithm)

[0258] Elevator scheduling is a typical combinatorial optimization problem, with the goal of minimizing the sum of user waiting time (WT) and elevator running time (RT). This solution employs a Genetic Algorithm (GA) to find the optimal solution globally.

[0259] 1. Problem Modeling

[0260] Decision variables: elevator number (e.g., elevators 1-5), calling floor (the floor where the user is located, e.g., the 1st floor), target floor (the predicted floor, e.g., the 10th floor);

[0261] Objective function: min f = WT + RT;

[0262] Constraints:

[0263] Maximum load capacity of the elevator: ≤1000kg;

[0264] Maximum elevator speed: ≤2m / s;

[0265] Direction of movement: It cannot go up and down at the same time (for example, if the elevator is going up, it cannot go down in the middle).

[0266] 2. Genetic Algorithm Flow

[0267] (1) Encoding

[0268] The elevator scheduling scheme is encoded as a chromosome, where each chromosome is a gene sequence of length N (where N is the number of elevators), and each gene represents the task of one elevator.

[0269] Chromosome = [gene1, gene2, ..., gene] n ]

[0270] Geneᵢ = (Summoning Floorᵢ, Target Floorᵢ, Current Positionᵢ, Directionᵢ)

[0271] For example, gene 1 = (1st floor, 10th floor, 5th floor, down) means that elevator 1 is currently on the 5th floor, moving down to the 1st floor to pick up the user, and then going to the 10th floor.

[0272] (2) Initialize the population

[0273] M chromosomes are randomly generated (M=100, population size), and the parameters of each gene satisfy the constraints (e.g., the summoning floor is less than or equal to the target floor, and the running direction is consistent with the current position).

[0274] (3) Calculate fitness

[0275] The fitness function is the reciprocal of the objective function (because we want to minimize f, the larger the fitness, the better):

[0276] Fitness = 1 / f = 1 / (WT + RT)

[0277] in:

[0278] Waiting time (WT): The time from when the user triggers NFC to when the elevator arrives (for example, the time for the elevator to go from the 5th floor to the 1st floor = (5-1)×3 / 2 + start and stop time = 6+2=8 seconds, plus the signal transmission time, it is estimated to be 30 seconds).

[0279] Runtime (RT): The time it takes for the elevator to travel from the calling floor to the target floor (e.g., time from floor 1 to floor 10 = (10-1)×3 / 2 + start-stop time = 13.5+2=15.5 seconds, estimated 20 seconds).

[0280] (4) Choose

[0281] Roulette wheel selection is used to select chromosomes with high fitness for the next generation. The probability of each chromosome being selected is proportional to its fitness, and the calculation formula is as follows:

[0282] ,

[0283] : The selection probability of the i-th chromosome (between 0 and 1, and the sum of the selection probabilities of all chromosomes is 1);

[0284] : Fitness value of chromosome ii (non-negative, generally a larger value indicates higher chromosome quality);

[0285] The total number of chromosomes in a population (i.e., population size).

[0286] The sum of fitness values ​​of all chromosomes in the population (normalization factor).

[0287] Cumulative probability calculation

[0288] To facilitate the selection operation, the cumulative probability needs to be calculated:

[0289] Define Q0=0,

[0290] : The cumulative probability of the i-th chromosome (the sum of the selection probabilities of the first i chromosomes);

[0291] : The selection probability of the j-th chromosome;

[0292] The selection process involves selecting chromosomes to pass on to the next generation through the following steps:

[0293] 1. Generate a random number r that is uniformly distributed between 0 and 1;

[0294] 2. Determine the selected chromosome based on the value of r:

[0295] If the random number r falls within [0, ... If the interval is [ ], then chromosome 1 is selected; if it falls within [ ], then chromosome 1 is selected. , If the interval is [i, i], then select chromosome i, and so on.

[0296] (5) Cross

[0297] Single-point crossover is used to perform a crossover operation on the selected chromosomes to generate new chromosomes.

[0298] For example, chromosome A = [gene 1, gene 2, gene 3], chromosome B = [gene 4, gene 5, gene 6], the crossover point is selected after the second gene, and after the crossover, the new chromosomes A' = [gene 1, gene 2, gene 6] and B' = [gene 4, gene 5, gene 3].

[0299] (6) Variation

[0300] Random mutation is used to modify a gene on a new chromosome, increasing population diversity.

[0301] For example, gene 3 of chromosome A' = (1st floor, 10th floor, 5th floor, down), after mutation it becomes (1st floor, 11th floor, 5th floor, down) (modify target floor).

[0302] (7) Termination conditions

[0303] Repeat steps 3-6 until the maximum number of iterations (100 times) is reached or the fitness no longer improves (fitness change ≤1% over 10 consecutive iterations).

[0304] 3. Algorithm Application Effects

[0305] Optimization results: Compared with the traditional First-Come, First-Served (FCFS) algorithm, the genetic algorithm reduces user waiting time by 30% (FCFS average waiting time is 60 seconds, GA is 40 seconds) and elevator running time by 25% (FCFS average running time is 30 seconds, GA is 22.5 seconds).

[0306] Energy consumption: Reduced elevator operating time leads to a 20% reduction in energy consumption (based on 10 elevator runs per hour, this saves approximately 2 kWh of electricity per day).

[0307] (III) Principles of Advertising Placement

[0308] Advertising delivery is based on precise targeting of user profiles. The core of this approach is to segment users into different groups and deliver corresponding ads accordingly.

[0309] 1. User Profile Building

[0310] Data source:

[0311] Static data: User registration information (age, gender, occupation, room number);

[0312] Dynamic data: historical visit data (target floor, visit time), ad click data (types of ads clicked), and app usage data (pages viewed).

[0313] Portrait dimensions:

[0314] Demographic attributes: Age (25-35 years old), Gender (female), Occupation (white-collar);

[0315] Behavioral attributes: Frequently visited floor (10th floor, residential), visit time (Monday to Friday 8:00);

[0316] Interest attributes: Clicked on maternal and infant advertisements (3 times) and browsed parenting pages (5 times).

[0317] 2. User Clustering (K-means)

[0318] Using the K-means clustering algorithm, users were divided into three groups (young parents, working professionals, and seniors):

[0319] Input features: age (normalized), gender (one-hot), frequently visited floors (normalized), number of ad clicks (normalized);

[0320] Clustering process:

[0321] Randomly select 3 initial cluster centers (e.g., young parents: age 30, female, frequently visit floor 10, ad clicks 5 times).

[0322] Calculate the Euclidean distance from each user to the three centers, and assign the user to the nearest cluster;

[0323] Update cluster centers (take the average feature of each cluster);

[0324] Repeat steps 2-3 until the cluster centers no longer change;

[0325] Clustering results:

[0326] Group 1 (Young Parents): Age 25-35, Female, Frequently visits floor 10, Clicks on maternal and infant related ads > 3 times;

[0327] Group 2 (Office workers): Age 25-35, gender male / female, frequently visits floor 1 (subway entrance), coffee-related ads clicked more than 2 times;

[0328] Group 3 (Elderly): Age 50-70, gender male / female, frequently visits the 5th floor (community hospital), and has clicked on health-related advertisements more than twice.

[0329] 3. Advertising Placement Strategy

[0330] Group 1 (young parents): Advertising for maternal and infant products (such as milk powder and diapers);

[0331] Group 2 (office workers): Place advertisements for coffee and fast food (e.g., "XX Coffee, breakfast set meal for 15 yuan").

[0332] Group 3 (elderly): Target health product advertisements (e.g., "XX calcium tablets, buy one get one free").

[0333] Time-of-day strategy: Run breakfast ads from 8:00-9:00 AM and dinner ads from 6:00-7:00 PM;

[0334] Real-time strategy: Run umbrella ads on rainy days and air conditioner ads on hot days.

[0335] 4. Ad Playback Process

[0336] Triggering condition: After user authentication is successful, the ad push server queries the user's group.

[0337] Content retrieval: Retrieve advertising content (video URL, image URL) for the corresponding audience from MongoDB;

[0338] Push and Playback: The advertisement content is pushed to the user's APP via the HTTP / 2 protocol. The lower half of the APP screen uses ExoPlayer / AVFoundation for playback and supports loop playback (the number of times can be set, such as 3 times).

[0339] Performance statistics: After the advertisement is played, the APP sends the playback record (user ID, advertisement ID, number of plays, number of clicks) to the backend server and stores it in the MySQL advertisement performance table (ad_effect_table). The property management can view it through the backend management system (e.g., "maternal and infant advertisement played 1000 times, clicked 100 times, click-through rate 10%").

[0340] V. Application Methods and Steps

[0341] (a) Owner's Usage Process

[0342] Register / Login:

[0343] Homeowners can download the exclusive app, register using their mobile phone number, and fill in their name, ID number, apartment number, and other personal information.

[0344] The backend server compares and verifies the information with the property owner database. Once verified, a unique user ID (such as "user_001") is generated and automatically bound to the mobile phone's NFC module, completing the association between the identity and the device.

[0345] Daily traffic:

[0346] The homeowner opens the app and approaches the NFC sensing area of ​​the access control terminal to complete the transmission of identity information through NFC interaction.

[0347] The access control terminal sends the user ID to the backend server for authentication. After successful authentication, the target floor (e.g., the 10th floor) is predicted based on historical access data, and the elevator is called.

[0348] The gate opens automatically, and the upper half of the APP displays the access control status and elevator location in real time (e.g., "Elevator 1: 5th floor → 1st floor, estimated arrival time 30 seconds"), while the lower half of the screen plays targeted advertisements (e.g., maternal and infant products).

[0349] Once the elevator arrives, residents can enter without any additional steps and proceed directly to their target floor.

[0350] Upon reaching the target floor, the app sends an arrival notification, and the resident exits the elevator smoothly.

[0351] Feedback Adjustments:

[0352] If the predicted floor is incorrect, the homeowner can use the "Adjust Floor" function in the app to select the correct floor (e.g., the 11th floor).

[0353] The backend server records adjustment data to optimize the LSTM prediction model and improve the accuracy of subsequent floor predictions.

[0354] (II) Visitor Usage Process

[0355] Send access request:

[0356] Visitors can search for the owner's room number (e.g., "10-01") through the APP and submit an access request including their name, mobile phone number, and access time (e.g., "2024-05-01 14:00").

[0357] The homeowner receives the request through the app, verifies the information, and then clicks "Confirm" to authorize.

[0358] Generate temporary ID:

[0359] The backend server generates a temporary visitor ID with an expiration date (such as "visitor_001") and pushes it to the visitor's mobile phone;

[0360] The temporary ID is valid for one hour before or after the access time (e.g., 13:00-15:00) and will automatically expire after that.

[0361] Arrival at access control:

[0362] When a visitor opens the app and approaches the access control NFC sensing area, the terminal reads the temporary ID, the accessed object, and the time information.

[0363] After the server verifies the validity of the temporary ID, it obtains the owner's floor (e.g., the 10th floor) as the target floor, triggering the gate to open and the elevator to be called.

[0364] The top half of the app displays the elevator status (e.g., "Elevator 2: 3rd floor → 1st floor, estimated arrival time 20 seconds"), while the bottom half plays corresponding advertisements (e.g., fast food advertisements).

[0365] Taking the elevator and confirming:

[0366] Once the elevator arrives, visitors can enter and proceed directly to their target floor.

[0367] Upon arrival, visitors can tap the doorbell or NFC-enabled door access control system to receive them. The homeowner will then confirm their identity via the app and open the door to greet them.

[0368] (III) Property Management Process

[0369] User Management:

[0370] The property management system allows users to view basic information about homeowners (room number, mobile phone number) and historical access data, track visitor records (time, person, floor), and export Excel reports.

[0371] Equipment Management:

[0372] Real-time monitoring of access control and elevator control equipment operation status, receiving fault alarms and remotely dispatching maintenance to ensure stable system operation.

[0373] 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.

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

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

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

[0377] 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).

[0378] 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.

[0379] 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.

[0380] 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).

[0381] 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.

[0382] 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.

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

[0384] 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.

[0385] 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.

[0386] 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.

[0387] Furthermore, the technical effects of the electronic device 410 can be referenced from the technical effects of the NFC-based access control and elevator control and door opening start joint control method described in the above method embodiments, and will not be repeated here.

[0388] 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.

[0389] 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).

[0390] 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 system. 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.

[0391] 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.

[0392] 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.

[0393] 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.

[0394] 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.

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

[0396] In the embodiments provided by this invention, it should be understood that the disclosed devices, systems, and methods can be implemented in other ways. For example, the system 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 systems or units may be electrical, mechanical, or other forms.

[0397] 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.

[0398] 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.

[0399] 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.

[0400] 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 joint control system for access control, elevator control, and door opening / starting based on NFC interaction, characterized in that, include: User terminals, access control terminals, elevator control terminals, and back-end server clusters; The user terminal is a mobile device with NFC communication function, configured to send user identity information to the access control terminal through card emulation mode; The access control terminal is deployed at the entrance and integrates an NFC reading module, a barrier gate control module and a first communication module. It is configured to read the user's identity information and send it to the back-end server cluster for authentication through the first communication module, and control the barrier gate to open after successful authentication. The elevator control terminal is connected to the elevator controller and integrates a second communication module, configured to receive elevator dispatch instructions from the back-end server cluster and control the target elevator to run to the designated floor. The back-end server cluster includes at least an identity authentication server and an elevator control scheduling server. The identity authentication server is configured to receive and verify the user's identity information. After successful verification, it determines the target floor based on the historical access data corresponding to the user's identity information. The elevator control and scheduling server is configured to generate the elevator scheduling instruction based on the target floor and real-time elevator status information, and send it to the elevator control terminal.

2. A method for joint control of access control, elevator control, and door opening / starting based on NFC interaction, characterized in that, Applied to the system of claim 1, the method includes: In response to an NFC sensing event between the user terminal and the access control terminal, the user terminal sends user identity information to the access control terminal; The access control terminal forwards the user's identity information to the backend server cluster for identity authentication. If the identity authentication is successful, the backend server cluster will determine the target floor based on the user's identity information and generate an elevator dispatch instruction. The back-end server cluster sends the target floor information and elevator dispatch instructions to the access control terminal and elevator control terminal respectively. The access control terminal responds to the authentication pass command and controls the gate to open; The elevator control terminal responds to the elevator dispatching command, controls the target elevator to run to the calling floor to pick up the user, and finally arrives at the target floor.

3. The method according to claim 2, characterized in that, The process of determining the target floor based on the user identity information by the backend server cluster includes: Obtain historical access time-series data associated with the user's identity information; The feature vector containing access time features and the historical access time series data is input into a pre-trained long short-term memory network model. Obtain the probability distribution corresponding to each floor output by the long short-term memory network model; The floor with the highest probability value is determined as the target floor.

4. The method according to claim 2, characterized in that, The generation of elevator dispatch instructions includes: Obtain real-time status information of each elevator in the system, including at least the current position, direction of travel, and current load; With the optimization objective of minimizing user waiting time and elevator running time, a genetic algorithm is used to solve the elevator scheduling task. The fitness function of the genetic algorithm is constructed based on the real-time state information and the target floor. The optimal scheduling scheme obtained from the solution is encoded into the elevator scheduling instruction.

5. The method according to claim 2, characterized in that, The method further includes: After the identity authentication is passed, the backend server cluster determines the advertising content to be pushed based on the user profile bound to the user's identity information; The advertisement content is pushed to the application interface of the user's terminal for playback.

6. The method according to claim 5, characterized in that, The user profile is constructed through the following steps: Collect users' static attribute data and dynamic behavior data; Clustering algorithms are used to process all user data, dividing users into multiple groups with different characteristics; Based on the user's group and behavioral data, construct a user profile that includes interest attributes.

7. The method according to claim 2, characterized in that, When the user identity information indicates that the user is a visitor, the identity authentication process further includes: Verify whether the user identity information is a valid temporary access credential; Once the verification is successful, the floor where the visitor corresponding to the temporary access credential is located will be determined as the target floor.

8. The method according to claim 2, characterized in that, After the elevator arrives at the target floor, the method further includes: The user terminal application provides a floor feedback interface; Receive the actual floor information entered by the user on the floor feedback interface; Based on the actual floor information reached, the historical access data corresponding to the user's identity information is updated to optimize the target floor prediction model.

9. The method according to claim 2, characterized in that, Following the NFC sensing event between the user terminal and the access control terminal, the method further includes: Start the video acquisition module of the access control terminal and establish a video communication link with the preset contact person's terminal; The acquired video stream is sent through the video communication link for remote visual confirmation.

10. The method according to claim 2, characterized in that, While controlling the opening of the barrier gate, the access control terminal also simultaneously displays at least one of the following on its local display screen: barrier gate status information, the real-time location of the target elevator, and its estimated arrival time.