Access control method and system, electronic equipment, storage medium and program product
By using the dynamic activation and timing mechanisms of the dual-side interactive terminals, the problems of centralized operation permissions and delayed response in existing access control systems are solved, achieving high-security and high-efficiency access control and ensuring a balance of permissions in high-security scenarios.
Patent Information
- Application Number
- CN202511143961.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-08-15
- Publication Date
- 2025-11-21
AI Technical Summary
Existing access control systems suffer from centralized operation permissions and a lack of two-way collaboration, resulting in a loose security verification process and delayed operation response, which fails to meet the permission balance requirements of high-security scenarios.
A dynamic activation mechanism with dual-sided interactive terminals is adopted. Through the permission separation and collaborative activation mechanism of the interactive terminals on both sides of the door, it is ensured that the door opening operation must go through a strict interlock verification process, including a dual-channel interactive verification architecture and timing mechanism, foreign object detection, etc., to form a closed-loop control.
It significantly improves the security and standardization of the door opening process, effectively eliminates the risk of unauthorized operation, greatly optimizes operation response efficiency, and provides highly secure and reliable access control.
Smart Images

Figure CN120997936A_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present disclosure relates to the field of access control, and particularly relates to an access control method and system, an electronic device, a storage medium and a program product. BACKGROUND
[0002] In the existing access control system, the one-way authorization mechanism generally has the problem of centralized operation authority. For example, the traditional access control relies on single-side personnel decision to open the door, and the outside requester can only passively wait for the internal response and cannot actively participate in the operation verification process. Although some systems use a two-way doorbell design, the door body opening and closing control is still dominated by one side, resulting in a lack of balance mechanism in the operation process. Especially in high-security scenarios such as material transfer, such architecture is difficult to constrain non-standard operation behavior, and there is a risk of abuse of authority or delayed response. SUMMARY
[0003] The technical problem to be solved by the present disclosure is to overcome the defects in the prior art that the access control method lacks a balance mechanism for authority and lacks bilateral cooperation due to centralized operation authority, resulting in a loose security verification process and delayed operation response, which cannot meet the authority balance requirements of high-standard scenarios. The present disclosure provides an access control method, system, electronic device, storage medium and program product.
[0004] The present disclosure solves the above technical problems by the following technical solutions:
[0005] The present disclosure provides an access control method, the access control including a door body, a first interactive terminal is arranged on a first side of the door body, and a second interactive terminal is arranged on a second side of the door body; the control method includes:
[0006] In response to receiving a trigger signal from the first interactive terminal, it is determined whether the second interactive terminal is activated; in the activated state of the second interactive terminal, in response to an open door instruction of the second interactive terminal, the door body is controlled to be opened;
[0007] In response to receiving a trigger signal from the second interactive terminal, it is determined whether the first interactive terminal is activated; in the activated state of the first interactive terminal, in response to an open door instruction of the first interactive terminal, the door body is controlled to be opened.
[0008] Optionally, the determination of whether the second interactive terminal is activated includes: obtaining first verification information from the first interactive terminal; the first verification information includes at least one of the following: work order information, a verification code, and identity information; in response to the first verification information passing the verification, it is determined that the second interactive terminal is activated; and / or, in response to the first verification information failing the verification, it is determined that the second interactive terminal is prohibited from being activated;
[0009] and / or,
[0010] The determining whether the first interactive terminal is activated comprises: obtaining second verification information from the second interactive terminal; the second verification information comprises at least one of the following: work order information, a verification code, and identity information; in response to the second verification information passing verification, it is determined that the first interactive terminal is activated; and / or, in response to the second verification information failing verification, it is determined that the first interactive terminal is prohibited from being activated.
[0011] Optionally, the control method further comprises:
[0012] In response to the door body being opened, a timing mechanism is started to determine a duration that the door body remains in an open state;
[0013] In response to the opening duration being greater than or equal to a duration threshold, the door body is controlled to be prepared to be closed.
[0014] Optionally, the controlling the door body to be prepared to be closed comprises:
[0015] Foreign matter detection is performed on a closing path of the door body;
[0016] In response to the foreign matter detection being normal, the door body is controlled to be closed;
[0017] In response to the foreign matter detection being abnormal, the door body is kept open.
[0018] Optionally, the control method further comprises:
[0019] The duration that the door body remains in the open state each time is counted;
[0020] The duration threshold is adjusted according to a counting result of the duration.
[0021] Optionally, the control method further comprises:
[0022] In response to receiving an emergency signal from the first interactive terminal and / or the second interactive terminal, the door body is controlled to be opened;
[0023] and / or,
[0024] In response to receiving an emergency signal from a third-party early warning system, the door body is controlled to be opened.
[0025] The present disclosure provides a control system for access control, the access control comprising a door body, a first interactive terminal disposed on a first side of the door body, and a second interactive terminal disposed on a second side of the door body; the control system comprising:
[0026] The first response module is configured to determine whether the second interactive terminal is activated in response to receiving a trigger signal from the first interactive terminal; and the first control module is configured to control the door body to be opened in response to an opening instruction of the second interactive terminal when the second interactive terminal is in an activated state.
[0027] The second response module is configured to determine whether the first interactive terminal is activated in response to receiving a trigger signal from the second interactive terminal; and the second control module is configured to control the door body to be opened in response to an opening instruction of the first interactive terminal when the first interactive terminal is in an activated state.
[0028] Optionally, the first response module is specifically configured to: acquire first verification information from the first interactive terminal; the first verification information includes at least one of the following: work order information, a verification code, and identity information; determine that the second interactive terminal is activated in response to the first verification information passing verification; and / or determine that the second interactive terminal is prohibited from being activated in response to the first verification information failing to pass verification.
[0029] and / or,
[0030] The second response module is specifically configured to: acquire second verification information from the second interactive terminal; the second verification information includes at least one of the following: work order information, a verification code, and identity information; determine that the first interactive terminal is activated in response to the second verification information passing verification; and / or determine that the first interactive terminal is prohibited from being activated in response to the second verification information failing to pass verification.
[0031] Optionally, the control method further includes:
[0032] The timing module is configured to start a timing mechanism to determine a duration for which the door body remains in an opened state in response to the door body being opened.
[0033] The pre-closing module is configured to control the door body to be prepared to be closed in response to the opening duration being greater than or equal to a duration threshold.
[0034] Optionally, the pre-closing module is specifically configured to:
[0035] detect foreign matter on a closing path of the door body.
[0036] control the door body to be closed in response to the foreign matter detection being normal.
[0037] maintain the door body to be opened in response to the foreign matter detection being abnormal.
[0038] Optionally, the control method further includes:
[0039] a statistics module configured to count the duration of each time the door body remains in an open state, and adjust the duration threshold according to the counting result of the duration.
[0040] Optionally, the control method further comprises:
[0041] an emergency module configured to control the door body to open in response to receiving an emergency signal from the first interaction terminal and / or the second interaction terminal.
[0042] and / or,
[0043] The emergency module is further configured to control the door body to open in response to receiving an emergency signal from a third-party early warning system.
[0044] The present disclosure provides an electronic device comprising a memory, a processor, and a computer program stored on the memory and configured to run on the processor, wherein the processor executes the computer program to implement the control method of the access control according to any one of the above.
[0045] The present disclosure provides a computer-readable storage medium having a computer program stored thereon, wherein the computer program is executed by a processor to implement the control method of the access control according to any one of the above.
[0046] The present disclosure provides a computer program product comprising a computer program, wherein the computer program is executed by a processor to implement the control method of the access control according to any one of the above.
[0047] On the basis of common sense in the art, the above-mentioned preferred conditions can be combined arbitrarily, i.e., to obtain each preferred example of the present disclosure.
[0048] The positive progress effect of the present disclosure is that the present disclosure constructs a collaborative verification system of access control operation through a dynamic activation mechanism of bilateral interaction terminals. On the basis of ensuring that unilateral triggering must be authorized by the opposite side, the method realizes the forced separation and bidirectional restriction of operation authority. This method significantly improves the safety and standardization of the door opening process, effectively eliminates the risk of unauthorized operation; at the same time, the bilateral collaborative verification mechanism greatly optimizes the operation response efficiency, so that the access control has high safety and high reliability, and provides technical support for high-standard operation scenarios. BRIEF DESCRIPTION OF DRAWINGS
[0049] Figure 1 A flowchart of a control method of an access control according to an exemplary embodiment of the present disclosure is provided.
[0050] Figure 2 A flowchart of another control method of an access control according to an exemplary embodiment of the present disclosure is provided.
[0051] Figure 3 A flow chart of another control method of the access control provided in an example embodiment of the present disclosure is shown in FIG. 10;
[0052] Figure 4 A flow chart of another control method of the access control provided in an example embodiment of the present disclosure is shown in FIG. 10;
[0053] Figure 5 A schematic diagram of an interactive terminal of the access control provided in an example embodiment of the present disclosure is shown in FIG. 11;
[0054] Figure 6 A module schematic diagram of a control system of the access control provided in an example embodiment of the present disclosure is shown in FIG. 12;
[0055] Figure 7 A structural schematic diagram of an electronic device provided in an example embodiment of the present disclosure is shown in FIG. 13. DETAILED DESCRIPTION
[0056] The present disclosure will be further described by way of examples, but the present disclosure is not limited to the examples.
[0057] In the embodiments of the present disclosure, the prefix words such as "first", "second" are merely used to distinguish different description objects, and have no limiting effect on the position, order, priority, quantity or content of the described objects. The use of ordinal words in the embodiments of the present disclosure does not constitute a limitation on the described objects, and the description of the described objects should be referred to the description of the context in the embodiments, and should not constitute an unnecessary limitation because of the use of such prefix words. In addition, in the description of the embodiments, unless otherwise specified, the meaning of "plurality" is two or more.
[0058] In the embodiments of the present disclosure, the collection, storage, use, processing, transmission, provision and disclosure of user personal information involved are in accordance with the relevant laws and regulations, and do not violate public order and good customs.
[0059] Embodiment 1
[0060] Figure 1 A flow chart of another control method of the access control provided in an example embodiment of the present disclosure is shown in FIG. 10,
[0061] The present disclosure provides a control method of an access control, the access control comprising a door body, a first interactive terminal arranged on a first side of the door body, and a second interactive terminal arranged on a second side of the door body; the access control control method of the present disclosure is implemented based on a double-channel interactive verification architecture, and the core is to ensure that the door body opening operation must go through a strict interlocking verification process through the permission separation and collaborative activation mechanism of the interactive terminals on both sides of the door body. Specifically, it includes two sets of symmetric control steps:
[0062] Wherein, the first set of control steps comprises: step 101, in response to receiving a trigger signal from the first interactive terminal, determining whether the second interactive terminal is activated;
[0063] Step 101 technical meaning: when the first interactive terminal (usually located outside the door body) receives a trigger signal (such as a person pressing the doorbell button), the system will determine whether the second interactive terminal (usually located inside the door body) enters a responsive state.
[0064] Activation state definition: refers to the operation permission of the second interactive terminal is released, and the associated sound and light alarm device is started, which has the condition of receiving the door opening instruction.
[0065] Example: outside person presses doorbell button → system detects trigger signal → determines whether the second interactive terminal is activated (i.e. unlock button and start sound and light alarm).
[0066] Step 102, in response to the door opening instruction of the second interactive terminal, the door body is controlled to open when the second interactive terminal is in the activated state;
[0067] Step 102 technical meaning: only when the second interactive terminal is in the activated state, the system will respond to the door opening instruction (such as pressing the up button) issued by it, and drive the door body to open.
[0068] Permission constraint: if the second interactive terminal is not activated (such as the sound and light alarm is not started), its door opening instruction will be ignored by the system.
[0069] Example: inside sound and light alarm (activated state) → inside person presses up button → door body rises and opens.
[0070] Wherein, the second set of control steps comprises: step 103, in response to receiving a trigger signal from the second interactive terminal, determining whether the first interactive terminal is activated;
[0071] Step 103 is logically synchronized with step 101, but the trigger direction is opposite (inside trigger → activate the first interactive terminal).
[0072] Step 104, in response to the door opening instruction of the first interactive terminal, the door body is controlled to open when the first interactive terminal is in the activated state.
[0073] Step 104 is logically synchronized with step 102, and the door opening operation is performed by the first interactive terminal in the activated state.
[0074] Design essence: the two sets of steps form a closed loop through forced permission transfer, ensuring that one side cannot complete the door opening operation independently. For example, the outside person can only trigger the inside response, but cannot directly open the door; the inside person needs to wait for the outside activation signal to have the operation right.
[0075] It should be noted that in the present disclosure, the first side / second side can correspond to the outer side / inner side of the door body respectively, and for the convenience of description, the second side is specified as the inner side (Inner Side) in the present disclosure: generally refers to the inside of the controlled security area (such as a pharmaceutical production workshop, warehouse storage area), and only authorized personnel can enter, corresponding to the side where the second interactive terminal is located. The first side is the outer side (Outer Side): generally refers to the public or semi-controlled area (such as the material transfer area, the external corridor), corresponding to the side where the first interactive terminal is located.
[0076] The schematic diagram of the interactive terminal can be referred to Figure 5 , including four buttons: "up", "down", "emergency stop" and "call", and the upper end is provided with an indicator light, which can be a three-color indicator light (red / yellow / green) to feedback the terminal state in real time (such as green light always on = active ready). The bottom expansion area (not shown in the figure) reserves the permission identification module interface (such as IC card reader). And the emergency stop button protrudes 3mm from the surface to prevent accidental touch, and the call button is designed with ring-shaped backlight (blue light breathes when flashing, indicating that the signal is being sent. The indicator light realizes multi-state feedback through color + flashing frequency: standby: green light always on; call sending: blue light flashing (1Hz); active ready: yellow light always on + up button unlocked; emergency stop trigger: red light rotating flashing (2Hz); third party alarm: red and yellow alternate flashing.
[0077] Optionally, the step 101 of determining whether the second interactive terminal is activated comprises: obtaining first verification information from the first interactive terminal; the first verification information comprises at least one of the following: work order information, verification code and identity information; in response to the first verification information passing the verification, it is determined that the second interactive terminal is activated; and / or, in response to the first verification information failing the verification, it is determined that the second interactive terminal is prohibited from being activated;
[0078] And / or,
[0079] The step 103 of determining whether the first interactive terminal is activated comprises: obtaining second verification information from the second interactive terminal; the second verification information comprises at least one of the following: work order information, verification code and identity information; in response to the second verification information passing the verification, it is determined that the first interactive terminal is activated; and / or, in response to the second verification information failing the verification, it is determined that the first interactive terminal is prohibited from being activated.
[0080] The activation decision process of the present disclosure strengthens the right control by integrating the verification information layer, which is the core sub-process of steps 101 (first side trigger -> second side activation decision) and steps 103 (second side trigger -> first side activation decision), and constitutes the security cornerstone of the double-channel interaction. The mechanism requires that the unilateral trigger signal must carry verification information, and the system decides whether to activate the opposite terminal based on the verification result. It should be particularly noted that this process is strongly coupled with sound and light alarm, operation right release, and other actions, rather than an independent and isolated link.
[0081] I. Types and roles of verification information
[0082] Verification information is the basis for decision-making in activation decision-making. According to the security requirements of the application scenario, at least one of the following forms can be used:
[0083] 1. Work order information
[0084] Function positioning: Ensure that the door opening operation is bound to the predefined task, and solve the directional authorization problem in the material transfer scene.
[0085] Implementation example: When the outside personnel (first side) input the work order number (such as #P2024-JUL), the system will check whether the work order is associated with the predefined transfer task of the current access control. If the match is successful, the second interaction terminal is activated; if the work order is invalid or expired, the second interaction terminal remains locked.
[0086] Technical relevance: This process occurs before the sound and light alarm is started, avoiding wasting response resources due to invalid triggers.
[0087] 2. Verification code
[0088] Function positioning: Provide dynamic one-time authorization to prevent unauthorized personnel from tailing in.
[0089] Implementation example: The inside personnel (second side) generates a time-sensitive verification code (such as 6A9B) through a mobile phone APP. After the outside personnel inputs the code, the system checks the timeliness and validity. If the verification is passed, the first interaction terminal is activated, otherwise the activation is prohibited and the abnormal event is recorded.
[0090] Technical relevance: After the verification code verification is passed, "release operation restriction" in step 103 is executed to ensure the safety of right transfer.
[0091] 3. Identity information
[0092] Function positioning: Realize the binding of operator identity and right grading.
[0093] Implementation example: The operator swipes the card or inputs the biometric feature (such as fingerprint), and the system verifies its right level (such as administrator / operator). If it has the current operation right, the opposite terminal is activated; otherwise, an alarm is triggered and an audit record is generated.
[0094] II. Processing logic of verification result
[0095] (I) Processing path of verification passed
[0096] 1. Activate the opposite terminal:
[0097] Release the operation restriction of the opposite interactive terminal (such as release the electrical lock of the up button);
[0098] Trigger the opposite sound and light alarm device (such as flashing of the alarm light + buzzing of the buzzer) to prompt personnel to respond;
[0099] Enter the waiting door opening instruction state (integrate steps 102 / 104).
[0100] Example integrity: take the work order verification as an example, the inside sound and light alarm is activated for 10 seconds after activation, and if no door opening instruction is received during this period, it is automatically reset to the locked state.
[0101] (II) Processing path of verification failed
[0102] 1. Inhibit the activation of the opposite terminal:
[0103] Maintain the full function lock of the opposite terminal (the door opening / bell button cannot be operated);
[0104] Trigger the error signal to the trigger side (such as flashing of the doorbell red light for 3 times);
[0105] Record the invalid verification event (audit log marked "illegal attempt").
[0106] Risk prevention and control: when the verification fails for 3 times in succession, temporarily freeze the trigger function of the side for 5 minutes.
[0107] III. Explanation of technical features fusion
[0108] The verification mechanism needs to be deeply bound with the double-channel interaction framework, which is embodied in:
[0109] Timing forced constraint: verification must be completed before activation determination, cannot be skipped or post-set;
[0110] State transmission dependence: verification passed is a necessary condition for "release of operation restriction";
[0111] Hardware action linkage: sound and light alarm device is started only when verification is passed.
[0112] Example scenario:
[0113] When the pharmaceutical warehouse transfers high-risk materials to the workshop, the outside personnel needs to input the work order number #CHEM-001.
[0114] After the system verifies that the work order is associated with the task of "Workshop B area - highly toxic raw materials", the following steps are performed:
[0115] 1. Activate the second interactive terminal (unlock the up button and start the audible and visual alarm);
[0116] 2. The inside personnel confirm that the work order material identification is consistent with the audible and visual prompt (such as a red light indicating a highly toxic product);
[0117] 3. Press the up button to open the door (step 102).
[0118] If an unauthorized work order #FOOD-002 is entered, the system prohibits the activation of the second interactive terminal, and the material cannot enter the pharmaceutical production area.
[0119] Here, the key terms are explained:
[0120] Activation: refers to the state of removing operation restrictions and starting audible and visual alarms;
[0121] Operation restriction release: release the electrical lock to make the door opening instruction button available for input;
[0122] Verification information: input data for activation decision, including work order / verification code / identity information and their combinations;
[0123] Prohibit activation: maintain full function lock of the terminal, and do not trigger any audible and visual feedback (except error prompt);
[0124] Among them, the specific input method of verification information can be flexibly implemented based on the type of interactive terminal, such as through physical button sequence (short press / long press combination), touch screen input, NFC card swipe or voice recognition, etc. Any implementation scheme that meets the "trigger signal carries verification data → system verification → decision activation state" logic falls within the protection scope of the present disclosure.
[0125] In addition, it should be understood that steps 103 and 104 can be arranged before steps 101 and 102, although the present embodiment is in the order of steps 101-104 only for the convenience of explanation.
[0126] Optionally, referring to Figure 2 It can be seen that the control method further includes:
[0127] Step 105, in response to the door body being opened, a timing mechanism is started to determine the duration of the door body remaining in the open state;
[0128] Step 106, in response to the opening duration being greater than or equal to the duration threshold, the door body is controlled to prepare to close.
[0129] Optionally, step 106, which controls the door to close, includes: detecting foreign objects along the closing path of the door; controlling the door to close if the foreign object detection is normal; and keeping the door open if the foreign object detection is abnormal.
[0130] The door opening and closing control mechanism disclosed herein achieves intelligent management through the coordinated use of timing monitoring and security protection mechanisms. As a subsequent step in the dual-channel interaction (connecting to the door opening operation in steps 102 / 104), it addresses the issues of maintaining the door's state after opening and ensuring safe closure. This process comprises two core stages:
[0131] I. Timing Monitoring Phase (Step 105)
[0132] Technical meaning: The timing mechanism is activated immediately after the door is opened, and continuously tracks the length of time the door remains open.
[0133] Timing unit implementation: A time relay can be used as the hardware basis, and the duration can be calculated in real time through a software system.
[0134] Technical relevance: This stage forms a closed loop with dual-channel access control - opening the door requires activation verification (steps 101-104) first, and the timing mechanism only applies to the door that has been legally opened.
[0135] Example scenario: When the person inside presses the up button to open the door (step 102), the system immediately starts a timer to accumulate the opening time. If this door opening is for material handover, the timer will continue to record the door's open time until it is closed.
[0136] II. Closing Control Phase (Step 106)
[0137] Basic logic: When the on-time reaches a preset threshold (e.g., 30 seconds), the system triggers the shutdown preparation process.
[0138] The shutdown preparation phase requires path security confirmation, specifically including:
[0139] 1. Foreign object detection:
[0140] Detection method: Obstacles in the path are determined by anti-collision photoelectric signals;
[0141] Normal state: No photoelectric signal trigger → shutdown is executed;
[0142] Abnormal state: Photoelectric signal activation → Interruption shutdown while keeping the door open.
[0143] 2. Status Feedback:
[0144] When an abnormality is detected, the audio-visual device will output a rapidly flashing warning.
[0145] Here is a detailed explanation of the key elements:
[0146] 1. Duration Threshold
[0147] Definition: The maximum time a door is allowed to remain open, and its setting follows:
[0148] Base value: 30 seconds (default);
[0149] Dynamic adjustment: Dynamically optimize based on historical startup duration statistics.
[0150] Technical purpose: To prevent the production area from being exposed due to people forgetting to close the door.
[0151] 2. Foreign Object Detection
[0152] Technical essence: refers to the triggering state of the anti-collision photoelectric signal, not an independent newly added detection mechanism.
[0153] Example scenario: When the door is open for 30 seconds (threshold) → the system detects the closing path → if a trolley is detected blocking the way (photoelectric signal activated) → the closing action stops, and the red light of the sound and light device flashes → the signal is released after the trolley is moved → the closing process is restarted.
[0154] 3. Ensuring process continuity
[0155] Anti-state interruption design: If the door remains open due to an abnormality, the system will restart the timer until the next time the target is met, and then retest.
[0156] Audit trail: The cause of all shutdown delay events is recorded (e.g., "light and light signal blockage") and included in the operation log.
[0157] Here are some examples and scenario adaptations:
[0158] Example 1. Typical Process Example
[0159] Material handover in pharmaceutical factory workshops:
[0160] 1. The door is legally opened (complete steps 101-104);
[0161] 2. Start the timer (step 105), and accumulate the timer duration to 30 seconds;
[0162] 3. The system detected no obstruction in the shutdown path (no photoelectric signal triggered);
[0163] 4. Close the door normally.
[0164] Example 2. Exception Handling Example
[0165] Large equipment for warehouse transfer:
[0166] 1. Due to equipment handling delays, the door takes up to 40 seconds to open (exceeding the threshold).
[0167] 2. System startup and shutdown preparations;
[0168] 3. The device was not fully activated (photoelectric signal activation);
[0169] 4. Interrupt shutdown → Keep on → Reset timer;
[0170] 5. Once the equipment has passed all tests, it will be safely shut down when the next timer reaches the target.
[0171] The timing mechanism in this process is adaptable to different hardware carriers (such as time relays and software timers), and the duration threshold can be configured with a fixed value or a dynamic algorithm according to the needs of the scenario. The foreign object detection relies strictly on the existing anti-collision photoelectric signal, and its deployment location and sensitivity parameters can be optimized and adjusted according to the door structure. Any technical solution that follows the logical framework of "start timing → over-threshold detection → safety confirmation → close execution" falls within the scope of this disclosure, regardless of how the specific parameters are adjusted.
[0172] Optionally, see Figure 3 It can be seen that control methods also include:
[0173] Step 107: Count the duration of each time the door remains open;
[0174] Step 108: Adjust the duration threshold based on the statistical results of the duration.
[0175] The dynamic timing mechanism disclosed herein optimizes door opening and closing efficiency through a data-driven adaptive strategy. As an intelligent extension mechanism of the timing control process (steps 105-106), it addresses the core contradiction of the mismatch between fixed duration thresholds and actual operational needs. This mechanism comprises two logically interconnected stages:
[0176] I. Data Acquisition Phase (Step 107)
[0177] Technical essence: The system automatically records the complete duration of each time the door remains open, forming a historical operation database.
[0178] Key features: Only complete cycles of legal activation are counted (activation verification steps 101-104 must be completed first); activation records due to abnormal interruptions (such as collision avoidance interruption events) are excluded.
[0179] Data granularity:
[0180] The duration of data collection includes the following dimensions:
[0181] The start time of opening (the instant the door is fully opened);
[0182] Closing completion time (door touches bottom and closes);
[0183] Net opening time (closing time - opening time).
[0184] Example scenario:
[0185] In a single material handover at a pharmaceutical company's workshop:
[0186] The gate will be fully opened at 14:00:00 → Timer begins;
[0187] The gate was fully closed at 14:00:38 → the recording duration was 38 seconds.
[0188] This data is included in the statistical pool for subsequent optimization.
[0189] II. Threshold Optimization Stage (Step 108)
[0190] Optimization logic: Based on the statistical patterns of historical start-up durations (such as mean, mode, or moving average), dynamically adjust the duration threshold of subsequent operations.
[0191] Technical relevance: The new threshold directly affects the closing condition determination in step 106 ("open duration ≥ threshold").
[0192] Algorithm implementation (non-limiting example):
[0193] 1. Moving average method: Take the arithmetic mean of the opening duration of the most recent N times (e.g., 10 times) as the new threshold;
[0194] Formula: New threshold = (T1 + T2 + ... + T) N ) / N
[0195] Scenario adaptation: Suitable for scenarios with high operation frequency (such as sorting ports in logistics centers).
[0196] 2. Peak avoidance method: Exclude extreme values in historical data (such as durations exceeding 3 standard deviations) and take the 90th percentile value of the remaining data;
[0197] Scenario adaptation: Suitable for safety-sensitive scenarios (such as hazardous chemical warehouses).
[0198] 3. Scenario matching method: Match thresholds based on the trigger type (e.g., the threshold for enabling work order verification is independent of emergency activation).
[0199] Example scenario:
[0200] The duration of the last 10 access control access events at a certain warehouse is as follows:
[0201] [28s, 32s, 41s, 35s, 30s, 38s, 33s, 36s, 31s, 34s];
[0202] The system calculates the moving average:
[0203] (28+32+41+35+30+38+33+36+31+34) / 10=33.8s→The new threshold is set to 34 seconds.
[0204] In subsequent operations, the door will be open for 34 seconds before the closing preparation is triggered (step 106).
[0205] Technical Feature Integration and Risk Control
[0206] 1. Inseparability from core processes
[0207] Data collection depends on legitimate opening: Step 107 must be based on the complete activation verification process of Steps 101-104. Illegal opening (such as emergency opening) will not be included in the statistics.
[0208] Threshold updates take effect immediately: The new threshold immediately applies to all subsequent door operations, including the currently ongoing opening cycle.
[0209] 2. Rules for handling abnormal data
[0210] Interruption event exclusion: If the door is closed due to an anti-collision signal (step 106) or an emergency stop, the opening time of that event will not be included in the statistics;
[0211] Data validity verification: The system automatically filters out data that exceeds the range (such as <5s or >300s) to avoid threshold distortion caused by equipment failure.
[0212] 3. Safety safety net mechanism
[0213] Threshold upper and lower limit constraints: The dynamic calculation results are automatically limited to a safe range (e.g., minimum value 15 seconds, maximum value 120 seconds) to prevent risks caused by algorithm failure;
[0214] Manual intervention interface: Administrators can override automatic thresholds (e.g., fix it at 30 seconds) to meet special operational needs.
[0215] Here are some examples and industry adaptations:
[0216] Example 1. Pharmaceutical workshop scene
[0217] Access control system for a pharmaceutical company's cleanroom:
[0218] Initial threshold: 30 seconds (default);
[0219] Historical data: The duration of each of the 20 consecutive openings was 42-48 seconds (material disinfection time);
[0220] Dynamic adjustment: The system calculates a moving average over 45 seconds → updates the threshold to 45 seconds;
[0221] Benefits: Avoids frequent abnormal alarms triggered by incomplete handling (step 106 foreign object detection).
[0222] Example 2. Cold chain warehouse scenario
[0223] In low-temperature environments:
[0224] Data characteristics: The on-time is significantly prolonged due to low temperatures (average of 55 seconds);
[0225] Algorithm adaptation: The peak avoidance method is adopted to exclude occasional excessively long records (such as 120-second opening caused by a fault), and a stable value of 53 seconds is taken;
[0226] Safety constraints: The system limits the maximum threshold to 90 seconds (to prevent cold air leakage).
[0227] The data acquisition and threshold optimization of this mechanism are adaptable to various algorithm models (such as weighted average, exponential smoothing, machine learning prediction, etc.). Its hardware infrastructure reuses the existing time relays and control software data storage modules, eliminating the need for additional dedicated equipment. Any technical approach employing "recording activation duration → statistical analysis → dynamically adjusting thresholds" is considered an equivalent implementation of this disclosure.
[0228] Optionally, see Figure 4 It can be seen that control methods also include:
[0229] Step 109: In response to receiving an emergency signal from the first interactive terminal and / or the second interactive terminal, control the door to open;
[0230] And / or,
[0231] Step 110: In response to receiving an emergency signal from a third-party early warning system, the door is opened.
[0232] The emergency access mechanism disclosed herein is a security redundancy channel for the access control system, used to bypass the dual-channel activation verification limitation in special scenarios to ensure rapid passage in emergency situations. This mechanism is independent of the regular interaction process (steps 101-108), but needs to be deeply integrated with modules such as permission hierarchy and status feedback to form a complete security closed loop.
[0233] I. Definition and Classification of Emergency Signals
[0234] Emergency signals are the highest priority commands that, once triggered, can directly open the door. They are divided into two categories:
[0235] 1. Terminal-side emergency signal (step 109)
[0236] Signal source: Physical button input (such as emergency stop button) from the first or second interactive terminal;
[0237] Triggering methods: Short press (instant trigger); Long press (to prevent accidental touch, requires continuous pressing for 3 seconds).
[0238] 2. Third-party early warning signal (step 110)
[0239] Signal source: Alarm output from an external independent system, including:
[0240] Fire alarm systems (such as smoke detector linkage);
[0241] Security monitoring systems (such as intrusion detection linkage);
[0242] Environmental monitoring systems (such as toxic gas leak alarms).
[0243] Interface type: dry contact signal (passive switching quantity); digital communication protocol (such as Modbus TCP).
[0244] II. Core Constraints of Response Logic
[0245] While emergency activation can bypass activation verification, it is still subject to the following rules:
[0246] 1. Hierarchical permission constraints
[0247] Terminal-side triggering (step 109) requires the operator to have administrator privileges:
[0248] Example: In a pharmaceutical company's workshop, only the team leader can trigger the emergency stop button; the operator's button is ineffective.
[0249] Third-party signals (step 110) are globally valid by default, but specific sources can be blocked by software.
[0250] 2. Status feedback synchronization
[0251] When activated in an emergency, the audio-visual device outputs a unique code:
[0252] Red light stays on + buzzer sounds continuously → terminal side trigger;
[0253] Red light flashing + intermittent buzzer → triggered by a third-party signal.
[0254] 3. Strong recording of operation logs
[0255] All emergency activation events are recorded:
[0256] Trigger time;
[0257] Signal source (terminal location / third-party system ID);
[0258] Operator identity (e.g., card swipe information).
[0259] III. Technical Process and Scenario Adaptation (I) Emergency Activation Process on the Terminal Side (Step 109)
[0260] 1. Triggering Phase:
[0261] The administrator presses the red emergency stop button on the interactive terminal;
[0262] The system verifies access tags (such as RFID employee badge information).
[0263] 2. Response Phase:
[0264] Immediately interrupt all current operations (such as timed shutdown processes);
[0265] Unconditionally drive the door to open (even if activation verification fails).
[0266] 3. Recovery phase:
[0267] An independent timer (default 60 seconds) automatically starts after the door is opened;
[0268] Attempt to shut down automatically after timeout (must pass security check).
[0269] Scenario example:
[0270] Pharmaceutical company workers trapped in workshop:
[0271] The administrator presses and holds the emergency stop button on the second interactive terminal for 3 seconds.
[0272] After the system verifies its permissions, it immediately opens the door (skipping the inner activation check);
[0273] The sound and light device has a constantly lit red light and a continuous buzzing sound.
[0274] The event log reads "2024-07-20 14:05 Second interactive terminal urgently activated, Operator: A001". (II) Third-party early warning linkage process (Step 110)
[0275] 1. Signal Access:
[0276] The third-party system outputs a passive switch signal to the access control controller;
[0277] The system analyzes the signal type and verifies the source whitelist.
[0278] 2. Response Phase:
[0279] Forcefully unlock all locks on the door;
[0280] The door is opened and held until the signal is released.
[0281] 3. Linkage and Expansion:
[0282] The factory's public address system was triggered to broadcast an alarm.
[0283] Send real-time location information to the security center.
[0284] Scenario example:
[0285] Laboratory gas leak:
[0286] The gas detector outputs a 12V pulse signal to the access control system;
[0287] The system identified the incident as a "high-risk leak" and forcibly opened all associated doors.
[0288] The red light of the sound and light device flashes, and the buzzer sounds twice per second;
[0289] The event log is "2024-07-20 14:10 Third-party warning (Gas monitor #G7)".
[0290] IV. Safety Redundancy Design
[0291] 1. Accidental touch prevention mechanism
[0292] Hardware level:
[0293] The emergency stop button needs to be mechanically unlocked and reset.
[0294] The protective cover is designed to prevent accidental pressing.
[0295] On the software side: If the interval between two consecutive triggers is less than 5 seconds, a second confirmation is required.
[0296] 2. Conflict Arbitration Rules
[0297] When multiple signals are triggered simultaneously, the priority order is as follows:
[0298] Third-party high-risk signals (e.g., fire) > Third-party ordinary signals > Terminal-side emergency signals
[0299] Example:
[0300] When the fire alarm and emergency stop button are triggered simultaneously, the fire signal will be given priority, and the door will remain open until the fire protection system is reset.
[0301] The implementation of the emergency opening mechanism strictly relies on existing hardware (emergency stop button, signal input terminal) and software permission framework. Third-party interfaces support industry standard protocols (such as dry contacts, Modbus RTU), but are not limited to specific communication methods. Any implementation scheme that follows the logic of "permission verification → signal parsing → forced door opening → status feedback" is considered an equivalent variation of this disclosure.
[0302] The specific implementation methods, parameter settings, and algorithm formulas disclosed in this disclosure include, but are not limited to:
[0303] 1. Hardware carrier example:
[0304] Physical structure of the interactive terminal (e.g., button layout, indicator light positions);
[0305] Time relay model;
[0306] Types of anti-collision photoelectric sensors;
[0307] All of these can be replaced with equivalent hardware, such as using a touchscreen to integrate button functionality, or replacing it with an ultrasonic sensor to achieve obstacle detection.
[0308] 2. Parameter setting example:
[0309] Default shutdown duration threshold (30 seconds);
[0310] Continuous invalid triggers will lock the device for 5 minutes.
[0311] Press and hold the emergency stop button for 3 seconds.
[0312] All of these can be adjusted to meet the needs of the scenario. For example, the threshold for cold chain warehouses can be set to 60 seconds, and the emergency stop trigger in high-risk areas can be shortened to 1 second.
[0313] 3. Algorithm logic example:
[0314] Moving average method for dynamic threshold calculation;
[0315] A fixed locking rule for the number of verification failures;
[0316] Status coding rules for audible and visual alarms;
[0317] All of these can be transformed into other mathematical or logical models, such as using exponential smoothing to predict thresholds, or dynamically adjusting the lockout time based on real-time traffic.
[0318] Example 2
[0319] Corresponding to the aforementioned access control method embodiments, this disclosure also provides embodiments of an access control system.
[0320] Figure 6 A schematic diagram of a module for an access control system provided as an exemplary embodiment of this disclosure, the system comprising:
[0321] This disclosure provides an access control system, the access control system including a door, a first interactive terminal disposed on a first side of the door, and a second interactive terminal disposed on a second side of the door; the control system includes:
[0322] The first response module 21 is used to determine whether the second interactive terminal is activated in response to receiving a trigger signal from the first interactive terminal; the first control module 22 is used to control the door to open in response to the door opening command of the second interactive terminal when the second interactive terminal is activated.
[0323] The second response module 23 is used to determine whether the first interactive terminal is activated in response to receiving a trigger signal from the second interactive terminal; the second control module 24 is used to control the door to open in response to the door opening command of the first interactive terminal when the first interactive terminal is in an activated state.
[0324] Optionally, the first response module 21 is specifically used to: obtain first verification information from the first interactive terminal; the first verification information includes at least one of the following: work order information, verification code, and identity information; in response to the first verification information being verified successfully, determine that the second interactive terminal is activated; and / or, in response to the first verification information not being verified successfully, determine that the second interactive terminal is prohibited from activation;
[0325] And / or,
[0326] The second response module 23 is specifically used for: obtaining second verification information from the second interactive terminal; the second verification information includes at least one of the following: work order information, verification code, and identity information; in response to the second verification information being verified successfully, determining that the first interactive terminal is activated; and / or, in response to the second verification information not being verified successfully, determining that the first interactive terminal is prohibited from activation.
[0327] Optionally, the control method further includes:
[0328] The timing module is used to activate the timing mechanism after the door is opened to determine the duration for which the door remains open.
[0329] The pre-closing module is used to control the door to prepare for closing in response to an opening duration greater than or equal to a duration threshold.
[0330] Optionally, the pre-shutdown module is specifically used for:
[0331] Foreign object detection is performed on the closing path of the door;
[0332] If the foreign object detection is normal, the door will be closed.
[0333] If an abnormality is detected in the foreign object detection, the door will remain open.
[0334] Optionally, the control method further includes:
[0335] The statistics module is used to count the duration for which the door remains open each time; and to adjust the duration threshold based on the statistical results of the duration.
[0336] Optionally, the control method further includes:
[0337] An emergency module is used to control the door to open in response to receiving an emergency signal from a first interactive terminal and / or a second interactive terminal.
[0338] And / or,
[0339] The emergency module is also used to control the door to open in response to receiving an emergency signal from a third-party early warning system.
[0340] For the system embodiments, since they basically correspond to the method embodiments, the relevant parts can be referred to in the description of the method embodiments. The system embodiments described above are merely illustrative. The units described as separate components may or may not be physically separate. The components 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 modules can be selected to achieve the purpose of this disclosure according to actual needs.
[0341] Example 3
[0342] Figure 7 This is a schematic diagram of the structure of an electronic device according to an example embodiment of the present disclosure. The electronic device includes a memory, a processor, and a computer program stored in the memory and used to run on the processor. When the processor executes the computer program, it implements the access control method described in any of the above embodiments. Figure 7 The electronic device 90 shown is merely an example and should not impose any limitation on the functionality and scope of use of the embodiments disclosed herein.
[0343] like Figure 7 As shown, the electronic device 90 can be manifested as a general-purpose computing device, such as a server device. The components of the electronic device 90 may include, but are not limited to: at least one processor 91, at least one memory 92, and a bus 93 connecting different system components (including memory 92 and processor 91).
[0344] Bus 93 includes a data bus, an address bus, and a control bus.
[0345] The memory 92 may include volatile memory, such as random access memory (RAM) 921 and / or cache memory 922, and may further include read-only memory (ROM) 923.
[0346] The memory 92 may also include a program tool 925 (or utility) having a set (at least one) program module 924, including but not limited to: an operating system, one or more application programs, other program modules, and program data, each or some combination of these examples may include an implementation of a network environment.
[0347] The processor 91 executes various functional applications and data processing by running computer programs stored in the memory 92, such as the access control method provided in any of the above embodiments.
[0348] Electronic device 90 can also communicate with one or more external devices 94 (e.g., keyboard, pointing device, etc.). This communication can be performed through input / output (I / O) interface 95. Furthermore, electronic device 90 can also communicate with one or more networks (e.g., local area network (LAN), wide area network (WAN), and / or public network, such as the Internet) via network adapter 96. As shown, network adapter 96 communicates with other modules of electronic device 90 via bus 93. It should be understood that, although not shown in the figure, other hardware and / or software modules can be used in conjunction with electronic device 90, including but not limited to: microcode, device drivers, redundant processors, external disk drive arrays, RAID (disk array) systems, tape drives, and data backup storage systems.
[0349] It should be noted that although several units / modules or sub-units / modules of the electronic device have been mentioned in the detailed description above, this division is merely exemplary and not mandatory. In fact, according to embodiments of this disclosure, the features and functions of two or more units / modules described above can be embodied in one unit / module. Conversely, the features and functions of one unit / module described above can be further divided and embodied by multiple units / modules.
[0350] Example 4
[0351] This disclosure also provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the access control method provided in any of the above embodiments.
[0352] The readable storage medium may be more specifically adopted, including but not limited to: portable disk, hard disk, random access memory, read-only memory, erasable programmable read-only memory, optical storage device, magnetic storage device, or any suitable combination thereof.
[0353] Example 5
[0354] This disclosure also provides a computer program product, including a computer program that, when executed by a processor, implements the access control method described in any of the above embodiments.
[0355] The program code for executing the computer program product of this disclosure can be written in any combination of one or more programming languages, and the program code can be executed entirely on a user device, partially on a user device, as a stand-alone software package, partially on a user device and partially on a remote device, or entirely on a remote device.
[0356] While specific embodiments of this disclosure have been described above, those skilled in the art should understand that these are merely illustrative examples, and the scope of protection of this disclosure is defined by the appended claims. Those skilled in the art can make various changes or modifications to these embodiments without departing from the principles and essence of this disclosure, but all such changes and modifications fall within the scope of protection of this disclosure.
Claims
1. A method for controlling access control, characterized in that, The access control system includes a door, a first interactive terminal is disposed on a first side of the door, and a second interactive terminal is disposed on a second side of the door; the control method includes: In response to receiving a trigger signal from the first interactive terminal, it is determined whether the second interactive terminal is activated; if the second interactive terminal is activated, in response to the door opening command from the second interactive terminal, the door is controlled to open. In response to receiving a trigger signal from the second interactive terminal, it is determined whether the first interactive terminal is activated; if the first interactive terminal is activated, in response to the door opening command from the first interactive terminal, the door is controlled to open.
2. The control method according to claim 1, characterized in that, The step of determining whether the second interactive terminal is activated includes: obtaining first verification information from the first interactive terminal; the first verification information includes at least one of the following: work order information, verification code, and identity information; in response to the first verification information being verified successfully, the second interactive terminal is determined to be activated; and / or, in response to the first verification information not being verified successfully, the second interactive terminal is determined to be prohibited from activation. And / or, Determining whether the first interactive terminal is activated includes: obtaining second verification information from the second interactive terminal; the second verification information includes at least one of the following: work order information, verification code, and identity information; in response to the second verification information being verified successfully, the first interactive terminal is determined to be activated; and / or, in response to the second verification information not being verified successfully, the first interactive terminal is determined to be prohibited from activation.
3. The control method according to claim 1, characterized in that, The control method further includes: In response to the opening of the door, a timing mechanism is initiated to determine the duration for which the door remains open; If the opening duration is greater than or equal to the duration threshold, the door is controlled to prepare to close.
4. The control method according to claim 3, characterized in that, The control of the door to prepare for closing includes: Foreign object detection is performed on the closing path of the door. If the foreign object detection is normal, the door is controlled to close. In response to the abnormal foreign object detection, the door remains open.
5. The control method according to claim 3, characterized in that, The control method further includes: The duration for which the door remains open each time is recorded; The duration threshold is adjusted based on the statistical results of the duration.
6. The control method according to claim 1, characterized in that, The control method further includes: In response to receiving an emergency signal from the first interactive terminal and / or the second interactive terminal, the door is controlled to open. And / or, In response to receiving an emergency signal from a third-party early warning system, the door is controlled to open.
7. An access control system, characterized in that, The access control system includes a door body, a first interactive terminal is disposed on a first side of the door body, and a second interactive terminal is disposed on a second side of the door body; the control system includes: The first response module is used to determine whether the second interactive terminal is activated in response to receiving a trigger signal from the first interactive terminal; the first control module is used to control the door to open in response to the door opening command of the second interactive terminal when the second interactive terminal is activated. The second response module is used to determine whether the first interactive terminal is activated in response to receiving a trigger signal from the second interactive terminal; the second control module is used to control the door to open in response to the door opening command of the first interactive terminal when the first interactive terminal is activated.
8. An electronic device comprising a memory, a processor, and a computer program stored in the memory and for running on the processor, characterized in that, When the processor executes the computer program, it implements the access control method according to any one of claims 1 to 6.
9. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by the processor, it implements the access control method according to any one of claims 1 to 6.
10. A computer program product, comprising a computer program, characterized in that, When the computer program is executed by the processor, it implements the access control method as described in any one of claims 1 to 6.