Access control system, access control method of access control system, and electronic device

By converting access control functions into access control parameters and subscribed events, and using event-driven cross-host function linkage, the problems of slow server host response and crashes are solved, improving the stability and authentication speed of the access control system.

CN117173823BActive Publication Date: 2026-02-27HANGZHOU HIKVISION DIGITAL TECHNOLOGY CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202311162260.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-09-08
Publication Date
2026-02-27
Estimated Expiration
2043-09-08

AI Technical Summary

Technical Problem

When there are a large number of card readers in the existing access control system, the server host response becomes slow, affecting the authentication speed and may even crash. In addition, the functions fail when the server host is offline.

Method used

A subscription-based approach is adopted, which transforms access control functions into access control parameters and subscription events. Event-driven cross-host functionality is used to reduce frequent requests to the server host. Priority sorting and backup are performed through the server host table to ensure system stability.

Benefits of technology

This reduces the load on the server host, improves the stability and resilience of the access control system, avoids issues such as slow server host response and crashes, and ensures the reliability of authentication speed and functional linkage.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117173823B_ABST
    Figure CN117173823B_ABST
Patent Text Reader

Abstract

The embodiment of the application discloses a kind of access control system, the access control method of access control system and electronic equipment.The access control system can convert access control function into access control parameter and subscription event, utilize event-driven cross-host function linkage, in use, without frequently requesting the relevant state of linkage function to host server, unrelated client host will not produce event interaction between server host.Through the present application, when the number of card readers is large in the related art, a large number of requests to the server host may cause the server host to respond slowly, thereby affecting the authentication speed of personnel, and even the server host may crash.The technical problem is solved, which reduces the pressure of the server host and improves the stability of the access control system.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present application relates to the access control technical field, and in particular to an access control system, an access control method of the access control system, and an electronic device. BACKGROUND

[0002] In a scenario of using an access control host to connect multiple card readers, in order to realize the anti-spoofing and multi-door interlocking functions of the access control, the function linkage between card readers across two or more hosts may be involved. The current cross-host function linkage scheme mainly adopts a C / S architecture, that is, one host acts as a server host, and the remaining hosts act as client hosts. The server host saves configuration parameters of all function linkages and door states. When authentication is performed, the client host corresponding to the authentication card reader sends a request to the server host to query the current anti-spoofing and multi-door interlocking door states. The server host controls the card reader to perform corresponding door opening / closing operations. When the card reader performs the door opening / closing operation, it also needs to be reported to the server host, so as to update the related states of the card reader in the server host.

[0003] However, the existing scheme mainly has the following defects:

[0004] 1. The anti-spoofing and multi-door interlocking functions work independently, and two sets of server and client communication systems need to be started;

[0005] 2. The server host needs to be queried every time authentication is performed. When the number of card readers is large, a large number of requests are sent to the server host, which may cause the server host to respond slowly, thereby affecting the authentication speed of personnel, and even causing the server host to crash;

[0006] 3. When the communication between the server host and the client host is disconnected, that is, the server host is offline, the function linkage between the card readers of the related client hosts is invalid.

[0007] In summary, if the server host crashes or goes offline, the client host cannot query the access control function of the server host, and thus all cross-host function linkages of the access control system cannot be used, and even authentication cannot be performed.

[0008] No effective solution has been proposed for the above problems. SUMMARY

[0009] Embodiments of the present application provide an access control system, an access control method of the access control system, and an electronic device, to at least solve the technical problem in the related art that when the number of card readers is large, a large number of requests are sent to the server host, which may cause the server host to respond slowly, thereby affecting the authentication speed of personnel, and even causing the server host to crash.

[0010] According to an aspect of the embodiments of the present application, a kind of access control system is provided, comprising: the access control system includes at least three mutually communicating hosts, and each of the host is connected with at least one authentication device, and at least one host of the three hosts is set as server host, and the rest host is set as client host;The server host is configured to convert access control function into access control parameters and subscription event, and the access control parameters and the subscription event are issued to the corresponding client host, and the subscription event is recorded;Wherein, the access control function is the linkage function between the authentication devices of cross-host;The access control parameters include the authentication state of the authentication device of any one or more client host and the logical combination of the authentication state of the authentication device, and / or the door state controlled by the authentication device and the logical combination of the door state controlled by the authentication device;The subscription event includes the authentication event of the authentication device of other client host subscribed by the server host, and / or the change event of the door state controlled by the authentication device;The other client host is the client host that is communicated with the client host when realizing the access control function;The client host is configured to generate the authentication event of the authentication device or the change event of the door state controlled by the authentication device in response to the change of the authentication state of the authentication device or the door state controlled by the authentication device of the client host, and the authentication event of the authentication device or the change event of the door state controlled by the authentication device is reported to the server host according to the subscription event, so that the server host pushes the authentication event of the authentication device or the change event of the door state controlled by the authentication device to the other client host according to the subscription event;The other client host is configured to update the authentication state of the authentication device or the door state controlled by the authentication device of the other client host according to the access control parameters in response to receiving the authentication event of the authentication device or the change event of the door state controlled by the authentication device.

[0011] Optionally, the server host is configured to receive the authentication event of the authentication device or the change event of the door state controlled by the authentication device of the client host reported by the client host;And / or, in response to the client host subscribing the authentication event of the authentication device or the change event of the door state controlled by the authentication device of the other client host, the message of the subscription event is generated;And the server host is further configured to receive the authentication event of the authentication device or the change event of the door state controlled by the authentication device of the other client host reported by the other client host;And / or, in response to the other client host subscribing the authentication event of the authentication device or the change event of the door state controlled by the authentication device of the client host, the message of the subscription event is generated.

[0012] Optionally, the server host is configured to: set the initial state of the authentication device of the other client host as authenticatable to form a second authentication state parameter; set the initial state of the authentication device of the client host as authenticatable to form a fourth authentication state parameter; and push the first authentication state parameter and the second authentication state parameter to the other client host as the access control parameter, and push the third authentication state parameter and the fourth authentication state parameter to the client host as the access control parameter.

[0013] Optionally, the server host is configured to: set the door state controlled by the authentication device of the other client host as closed when the door state controlled by the authentication device of the client host is open; and set the door state controlled by the authentication device of the client host as closed when the door state controlled by the authentication device of the other client host is open.

[0014] Optionally, the server host is further configured to establish a server host table and save the server host table to each host, wherein the hosts in the server host table are sorted according to a use priority.

[0015] Optionally, when the linkage function is anti-logging back, the client host is configured to report the authentication event to the server host according to the subscription event if the authentication of the authentication device of the client host is passed; the server host is configured to push the authentication event to the other client host according to the subscription event after receiving the authentication event; and the other client host is configured to: if the authentication is directly performed on the authentication device of the other client host, the authentication state of the authentication device of the other client host is unauthenticatable; or, in response to receiving the authentication event of the authentication device, convert the authentication state of the authentication device of the other client host to authenticatable according to the access control parameter.

[0016] Optionally, the client host is configured to, when the linkage function is a multi-door interlocking function, if a door state controlled by an authentication device of the client host changes, report a change event of the door state controlled by the authentication device of the client host to the server host according to the subscription event; the server host is configured to, after receiving the change event of the door state controlled by the authentication device, push the change event of the door state controlled by the authentication device to the other client host according to the subscription event; and the other client host is configured to, in response to receiving the change event of the door state controlled by the authentication device, convert a door state controlled by an authentication device of the other client host to open or close according to the access control parameter.

[0017] According to another aspect of the embodiments of the present application, a method for access control of an access control system is also provided. The access control system includes at least three hosts in communication with each other, and each host is connected to at least one authentication device. One of the at least three hosts is set as a server host, and the remaining hosts are set as client hosts. The method includes: configuring an access control function, converting the access control function into an access control parameter and a subscription event, and distributing the access control parameter and the subscription event to the corresponding client hosts, and recording the subscription event. The access control function is a linkage function between authentication devices across hosts. The access control parameter includes an authentication state of an authentication device of any one or more of the client hosts and a logical combination of the authentication states of the authentication devices, and / or a door state controlled by an authentication device and a logical combination of the door states controlled by the authentication devices. The subscription event includes an authentication event of an authentication device of any one or more of the client hosts subscribed to by the server host, and / or a change event of a door state controlled by an authentication device. The other client hosts are client hosts in communication with the client hosts when the access control function is implemented. The authentication event of the authentication device or the change event of the door state controlled by the authentication device is received, and the authentication event of the authentication device or the change event of the door state controlled by the authentication device is pushed to the other client hosts according to the subscription event, so that the other client hosts update an authentication state of an authentication device or a door state controlled by an authentication device of the other client hosts according to the access control parameter. The authentication event of the authentication device or the change event of the door state controlled by the authentication device is generated based on a change in an authentication state of an authentication device or a door state controlled by an authentication device of the client host.

[0018] Optionally, the method comprises: receiving the authentication event of the authentication device of the client host or the change event of the door state controlled by the authentication device reported by the client host; and / or, in response to the client host subscribing to the authentication event of the authentication device of the other client host or the change event of the door state controlled by the authentication device, generating a message of the subscription event; and the server host is further configured to receive the authentication event of the authentication device of the other client host or the change event of the door state controlled by the authentication device reported by the other client host; and / or, in response to the other client host subscribing to the authentication event of the authentication device of the client host or the change event of the door state controlled by the authentication device, generating a message of the subscription event; and / or, when the authentication of the authentication device of the client host is passed, the authentication state of the authentication device of the other client host is authenticatable, and the authentication state of the authentication device of the client host is converted to unauthenticatable after the authentication is passed, forming a first authentication state parameter; setting the initial state of the authentication device of the other client host as authenticatable, forming a second authentication state parameter; when the authentication of the authentication device of the other client host is passed, the authentication state of the authentication device of the client host is authenticatable, and the authentication state of the authentication device of the other client host is converted to unauthenticatable after the authentication is passed, forming a third authentication state parameter; setting the initial state of the authentication device of the client host as authenticatable, forming a fourth authentication state parameter; and distributing the first authentication state parameter and the second authentication state parameter to the other client host as the access control parameter, and distributing the third authentication state parameter and the fourth authentication state parameter to the client host as the access control parameter; and / or, when the door state controlled by the authentication device of the client host is open, setting the door state controlled by the authentication device of the other client host as closed; when the door state controlled by the authentication device of the other client host is open, setting the door state controlled by the authentication device of the client host as closed; and / or, establishing a server host table, and saving the server host table to each host; wherein the hosts in the server host table are sorted according to the use priority; and / or, when the linkage function is anti-submarine, if the authentication event is reported to the server host by the client host according to the subscription event after the authentication of the authentication device of the client host is passed; the server host pushes the authentication event to the other client host according to the subscription event after receiving the authentication event; if the authentication is directly performed on the authentication device of the other client host, the authentication state of the authentication device of the other client host is unauthenticatable; or, in response to receiving the authentication event of the authentication device, the authentication state of the authentication device of the other client host is converted to authenticatable by the other client host according to the access control parameter.and / or, when the linkage function is multi-door interlocking, if the door state controlled by the authentication device of the client host changes, the client host reports the change event of the door state controlled by the authentication device of the client host to the server host according to the subscription event; after receiving the change event of the door state controlled by the authentication device, the server host pushes the change event of the door state controlled by the authentication device to the other client hosts according to the subscription event; so that the other client hosts, in response to receiving the change event of the door state controlled by the authentication device, convert the door state controlled by the authentication device of the other client hosts to open or close according to the access control parameter.

[0019] According to another aspect of the embodiments of the present application, a door access control method of a door access system is also provided. The door access system includes at least three hosts in communication with each other, and each host is connected with at least one authentication device. One of the at least three hosts is set as a server host, and the rest are client hosts. The method includes: in response to a change in the authentication state of the authentication device or the door state controlled by the authentication device of the client host, generating an authentication event of the authentication device or a change event of the door state controlled by the authentication device, and reporting the authentication event of the authentication device or the change event of the door state controlled by the authentication device to the server host according to a subscription event, so that the server host pushes the authentication event of the authentication device or the change event of the door state controlled by the authentication device to other client hosts according to the subscription event; in response to receiving the authentication event of the authentication device or the change event of the door state controlled by the authentication device, updating the authentication state of the authentication device or the door state controlled by the authentication device of the other client hosts according to an access control parameter. The access control parameter and the subscription event are obtained based on the server host performing access control function conversion, and the server host is configured to distribute the access control parameter and the subscription event to the corresponding client hosts and record the subscription event. The access control function is a linkage function between authentication devices across hosts. The access control parameter includes the authentication state of the authentication device of any one or more client hosts and the logical combination of the authentication state of the authentication device, and / or the door state controlled by the authentication device and the logical combination of the door state controlled by the authentication device. The subscription event includes the authentication event of the authentication device of the other client hosts subscribed by any one or more client hosts in the server host, and / or the change event of the door state controlled by the authentication device. The other client hosts are client hosts in communication with the client host when the access control function is implemented.

[0020] Optionally, the method comprises: reporting an authentication event of an authentication device of the client host or a change event of a door state controlled by the authentication device to the server host; and / or, the client host subscribes to an authentication event of an authentication device of the other client host or a change event of a door state controlled by the authentication device, so that the server host generates a message of the subscription event; and reports an authentication event of an authentication device of the other client host or a change event of a door state controlled by the authentication device to the server host; and / or, the other client host subscribes to an authentication event of an authentication device of the client host or a change event of a door state controlled by the authentication device, so that the server host generates a message of the subscription event; and / or, so that the server host sets the initial state of the authentication device of the other client host as authenticatable, forming a second authentication state parameter; so that the server host sets the initial state of the authentication device of the client host as authenticatable, forming a fourth authentication state parameter; and the other client host receives the first authentication state parameter and the second authentication state parameter issued by the server host, and the client host receives the third authentication state parameter and the fourth authentication state parameter issued by the server host; and / or, when the door state controlled by the authentication device of the client host is open, the server host sets the door state controlled by the authentication device of the other client host as closed; when the door state controlled by the authentication device of the other client host is open, the server host sets the door state controlled by the authentication device of the client host as closed; and / or, when the linkage function is anti-submarine, if the client host reports the authentication event to the server host according to the subscription event after the authentication device of the client host is authenticated; so that the server host pushes the authentication event to the other client host according to the subscription event after receiving the authentication event; if the authentication device of the other client host is directly authenticated, the authentication state of the authentication device of the other client host is inauthenticatable; or, in response to receiving the authentication event of the authentication device, the other client host converts the authentication state of the authentication device of the other client host to authenticatable according to the access control parameter.And / or, when the linkage function is multi-door interlocking, if the door state controlled by the authentication device of the client host changes, the client host reports the change event of the door state controlled by the authentication device of the client host to the server host according to the subscription event; so that after the server host receives the change event of the door state controlled by the authentication device, the server host pushes the change event of the door state controlled by the authentication device to the other client hosts according to the subscription event; the other client hosts convert the door state controlled by the authentication device of the other client hosts to open or close according to the access control parameter in response to receiving the change event of the door state controlled by the authentication device.

[0021] According to another aspect of the embodiments of the present application, an electronic device is also provided, including: a processor; a memory for storing processor-executable instructions; wherein the processor is configured to perform the steps of the method described above.

[0022] In the embodiments of the present application, the access control system can convert the access control function into the access control parameter and the subscription event, and utilize event-driven cross-host function linkage. In use, the related state of the linkage function does not need to be frequently requested from the host server, and the unrelated client hosts do not generate event interaction with the server host, thereby solving the technical problem in the related art that when the number of card readers is large, a large number of requests are made to the server host, which may cause the server host to respond slowly, thereby affecting the authentication speed of personnel, and even causing the server host to crash, and achieving the technical effects of reducing the pressure on the server host and improving the stability of the access control system. BRIEF DESCRIPTION OF DRAWINGS

[0023] The accompanying drawings, which are included to provide a further understanding of the present application, constitute a part of the present application, and illustrate the illustrative embodiments of the present application and the description thereof, and do not constitute improper limitations on the present application. In the drawings:

[0024] Figure 1 a schematic diagram of an access control system provided by the embodiments of the present application;

[0025] Figure 2 a schematic diagram of an access control system provided by the optional embodiments of the present application;

[0026] Figure 3 a schematic diagram of another access control system provided by the optional embodiments of the present application;

[0027] Figure 4 a schematic diagram of an event converter provided by the optional embodiments of the present application;

[0028] Figure 5A flowchart of an event-driven access control method provided in an optional embodiment of this application;

[0029] Figure 6 A flowchart illustrating an access control method for an access control system provided in this application embodiment;

[0030] Figure 7 A flowchart of another access control method for an access control system provided in an embodiment of this application. Detailed Implementation

[0031] To enable those skilled in the art to better understand the present application, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present application, and not all embodiments. Based on the embodiments in the present application, all other embodiments obtained by those of ordinary skill in the art without creative effort should fall within the scope of protection of the present application.

[0032] It should be noted that the terms "first," "second," etc., in the specification, claims, and drawings of this application are used to distinguish different objects, not to limit a specific order. Furthermore, the steps shown in the flowcharts of the drawings can be executed in a computer system such as a set of computer-executable instructions, and although a logical order is shown in the flowcharts, in some cases, the steps shown or described may be performed in a different order than that shown here.

[0033] According to one aspect of the embodiments of this application, an access control system is provided. Figure 1 A schematic diagram of the access control system provided in the embodiments of this application, such as... Figure 1 As shown, the access control system includes at least three interconnected hosts, each host being connected to at least one authentication device, and one of the at least three hosts is designated as server host 11, while the remaining hosts are designated as client hosts 13.

[0034] Server host 11 is used to configure access control functions, convert access control functions into access control parameters and subscription events, send access control parameters and subscription events to the corresponding client hosts, and record subscription events.

[0035] The access control function is a linkage function between authentication devices across hosts. The linkage function includes, but is not limited to, anti-return, multi-door interlocking, etc. Anti-return refers to the access control system recording the identity information of a target when the target enters or exits through a door of an access control point. If the target attempts to pass through the same access control point again, the access control system will perform identity verification. If the verification is passed, the target is allowed to pass through; otherwise, the target is denied to pass through. The multi-door interlocking refers to the access control system preventing other interlocking related access control points from being opened when a door of an access control point is opened, and the other access control points can be opened only after the door of the access control point is closed.

[0036] The access control parameter includes an authentication state of an authentication device of any one or more client hosts and a logical combination of authentication states of authentication devices, and / or a door state controlled by an authentication device and a logical combination of door states controlled by authentication devices.

[0037] Optionally, the authentication state includes authenticatable and unauthenticatable, and the door state includes open and closed. In an embodiment of the present application, the form of the access control parameter includes, but is not limited to, the authentication state of the authentication device 1 being authenticatable, the authentication state of the authentication device 1 being authenticatable and the authentication state of the authentication device 2 being unauthenticatable, the authentication state of the authentication device 2 being authenticatable, the authentication state of the authentication device 1 being unauthenticatable and the authentication state of the authentication device 2 being authenticatable, the door state controlled by the authentication device 1 being open and the door state controlled by the authentication device 2 being closed, the door state controlled by the authentication device 1 being closed and the door state controlled by the authentication device 2 being open.

[0038] The subscription event includes an authentication event of an authentication device of another client host 15 subscribed by any one or more client hosts to the server host 11, and / or a change event of a door state controlled by an authentication device.

[0039] Optionally, the subscription event can push relevant information to a host subscribing to the event when the event occurs.

[0040] The other client host 15 is a client host communicating with the client host when the access control function is implemented.

[0041] It should be noted that the authentication device includes, but is not limited to, a card reader, an identifier, etc. The card reader is used to read the identity information of a target in a smart card. The identifier is used to identify the fingerprints, palm shapes, facial images, irises, and voices of a target, etc. biological characteristics. A specific biological characteristic needs to be authorized by the subject of the biological characteristic before it can be obtained.

[0042] The client host 13 is configured to generate an authentication event of the authentication device or a change event of the door state controlled by the authentication device in response to a change in the authentication state of the authentication device of the client host or the door state controlled by the authentication device, and report the authentication event of the authentication device or the change event of the door state controlled by the authentication device to the server host 11 according to the subscription event, so that the server host 11 pushes the authentication event of the authentication device or the change event of the door state controlled by the authentication device to other client hosts 15 according to the subscription event.

[0043] The other client host 15 is configured to update the authentication state of the authentication device or the door state controlled by the authentication device of the other client host 15 according to the access control parameter in response to receiving the authentication event of the authentication device or the change event of the door state controlled by the authentication device.

[0044] In the embodiments of the present application, the access control system can convert the access control function into access control parameters and subscription events, and utilize event-driven cross-host function linkage. In use, the related state of the linkage function does not need to be frequently requested from the host server, and the unrelated client host does not generate event interaction with the server host, thereby solving the technical problem that when the number of card readers is large in the related art, a large number of requests are made to the server host, which may cause the server host to respond slowly, thereby affecting the authentication speed of personnel, and even causing the server host to crash. The technical effects of reducing the pressure on the server host and improving the stability of the access control system are achieved.

[0045] As an optional embodiment, the server host 11 is configured to receive the authentication event of the authentication device of the client host 13 or the change event of the door state controlled by the authentication device reported by the client host 13; and / or, in response to the client host 13 subscribing to the authentication event of the authentication device or the change event of the door state controlled by the authentication device of the other client host 15, generate a message of the subscription event; and the server host 11 is further configured to receive the authentication event of the authentication device of the other client host 15 or the change event of the door state controlled by the authentication device reported by the other client host 15; and / or, in response to the other client host 15 subscribing to the authentication event of the authentication device or the change event of the door state controlled by the authentication device of the client host 13, generate a message of the subscription event.

[0046] In the embodiments of the present application, the client host 13 and the other client host 15 can respectively report the authentication event of the corresponding authentication device or the change event of the door state controlled by the authentication device to the server host 11; meanwhile, the client host 13 can subscribe to the authentication event of the authentication device or the change event of the door state controlled by the authentication device of the other client host 15, and the other client host 15 can also subscribe to the authentication event of the authentication device or the change event of the door state controlled by the authentication device of the client host 13. The server host 11 can generate the message of the corresponding subscription event based on the subscription operation of the client host 13 or the other client host 15.

[0047] As an optional embodiment, the server host 11 is configured to: when the authentication of the authentication device of the client host 13 is passed, the authentication state of the authentication device of the other client host 15 is authenticable, and the authentication of the authentication device of the client host 13 is converted to unauthenticable after being passed, forming a first authentication state parameter; setting the initial state of the authentication device of the other client host 15 as authenticable, forming a second authentication state parameter; when the authentication of the authentication device of the other client host 15 is passed, the authentication state of the authentication device of the client host 13 is authenticable, and the authentication of the authentication device of the other client host 15 is converted to unauthenticable after being passed, forming a third authentication state parameter; setting the initial state of the authentication device of the client host 13 as authenticable, forming a fourth authentication state parameter; and issuing the first authentication state parameter and the second authentication state parameter to the other client host 15 as the access control parameter, and issuing the third authentication state parameter and the fourth authentication state parameter to the client host 13 as the access control parameter.

[0048] In the embodiments of the present application, for the linkage function being anti-return, the server host 11 can configure the authentication state of the authentication device corresponding to the client host 13 and the other client host 15 respectively, form different authentication state parameters, and issue them to the client host 13 and the other client host 15 as the access control parameter.

[0049] As an optional embodiment, the server host 11 is configured to: when the door state controlled by the authentication device of the client host 13 is open, setting the door state controlled by the authentication device of the other client host 15 as closed; and when the door state controlled by the authentication device of the other client host 15 is open, setting the door state controlled by the authentication device of the client host 13 as closed.

[0050] In the embodiments of the present application, for the linkage function being multi-door interlocking, the server host 11 can configure the door state controlled by the authentication device corresponding to the client host 13 and the other client host 15 respectively.

[0051] As an optional embodiment, the server host 11 is further configured to establish a server host list and save the server host list to each host respectively; wherein the hosts in the server host list are sorted according to the priority of use.

[0052] Optionally, a server host list is established by the server host, and is saved in all hosts. For example, the server host list includes a plurality of server hosts, which are sorted according to priority as a first host, a second host, a third host, and so on. Further, the first host is selected as the server host, and the second host, the third host, and the like are selected as backups to be used when the first host is offline.

[0053] Optionally, the client host 13 is configured to select a new server host from the server host list when the server host 11 is offline, and save the subscription event to the new server host when the new server host is online.

[0054] For example, when the first host is offline, the client host 13 reports information and finds no response, and then the second host is queried according to the server host list. If the second host is online, the subscription event is recorded to the second host. Although the second host is a backup, it is used as a new server host in the access control system to realize the cross-host function linkage.

[0055] In the embodiment of the application, the access control system adopts a subscription scheme, and the server host 11 does not store the access control function, but stores the subscription event and the access control parameter in each client host. When the server host 11 is offline, another new server host is selected and the subscription event is saved again, and then the access control system can continue to be used, which only affects the use of the access control function including the offline server host. Therefore, by means of decentralization and in combination with the new server host used as a backup, the normal use of the server host after the server host is offline can be realized, thereby greatly ensuring the stability and risk resistance of the access control system.

[0056] As an optional embodiment, the client host 13 is configured to report an authentication event to the server host 11 according to the subscription event when the authentication of the authentication device of the client host 13 is passed and the linkage function is anti-submarine; the server host 11 is configured to push the authentication event to other client hosts 15 according to the subscription event after receiving the authentication event; and the other client host 15 is configured to convert the authentication state of the authentication device of the other client host 15 to authenticatable according to the access control parameter if the authentication is directly performed on the authentication device of the other client host 15, or in response to receiving the authentication event of the authentication device.

[0057] In the embodiment of the application, the linkage function is anti-submarine return. An authentication event is generated after the authentication device of the client host 13 is authenticated, and the cross-host function linkage is driven by using the authentication event, so that the authentication state of the authentication device of the other client host 15 is updated according to the access control parameter.

[0058] It should be noted that if the authentication device of the client host 13 is not authenticated, but the authentication of the authentication device of the other client host 15 is directly performed, the authentication device of the other client host 15 cannot be authenticated.

[0059] As an optional embodiment, the client host is used to report the change event of the door state controlled by the authentication device of the client host 13 to the server host 11 according to the subscription event when the linkage function is multi-door interlocking and the door state controlled by the authentication device of the client host 13 changes; the server host 11 is used to push the change event of the door state controlled by the authentication device to the other client host 15 according to the subscription event after receiving the change event of the door state controlled by the authentication device; and the other client host 15 is used to convert the door state controlled by the authentication device of the other client host 15 to open or close according to the access control parameter in response to receiving the change event of the door state controlled by the authentication device.

[0060] In the embodiment of the application, the linkage function is multi-door interlocking. A change event is generated after the door state controlled by the authentication device of the client host 13 changes, and the cross-host function linkage is driven by using the change event, so that the door state controlled by the authentication device of the other client host 15 is updated according to the access control parameter.

[0061] The optional embodiments of the application will be described in detail below.

[0062] Figure 2 A schematic diagram of an access control system provided by the optional embodiment of the application is shown in FIG. 1. Figure 2 As shown in the figure, the access control system can include a server host and a client host.

[0063] The server host mainly includes an event converter, a message center and a message filter. The event converter can be used to convert the access control function into an access control parameter and a subscription event; the message center can be used to forward the access control parameter, subscription information push and receive event subscription; and the message filter can be used to shield irrelevant and error information.

[0064] The client host mainly consists of a message filter, a message receiver / sender, an access control parameter management module, a subscription time processing module, a personnel and door information management module, and an authentication and door control module. The message receiver / sender is used for sending and receiving information and forwarding messages; the access control parameter management module stores access control parameters; the subscription time processing module handles subscription events; the personnel and door information management module manages whether personnel have communication permissions and whether doors can be opened; and the authentication and door control module updates personnel access permissions and door opening permissions.

[0065] Furthermore, in the specific implementation process, the cross-host access control function is parsed into access control parameters and subscription events. These parameters and events are then distributed to the relevant hosts, and the subscription events are recorded in the server host. When the status of a door or person changes on a host, the message filter pushes the information to the server host based on the subscription event, and the server host then pushes it to the relevant client hosts. Upon receiving the subscription event, the client host updates the personnel access permissions and door opening permissions based on the access control parameters. During personnel authentication, authorization can be completed solely based on the local personnel and door status, without needing to query the server host.

[0066] It should be noted that the access control configuration information corresponding to the access control function exists in the form of events, which can be called access control events.

[0067] Figure 3 A schematic diagram of another access control system provided in an optional embodiment of this application, such as... Figure 3 As shown, the access control system includes a client host 1, a client host 2, and a server host. The client host 1 is connected to card reader A and card reader B, respectively, and the client host 2 is connected to card reader C and card reader D, respectively.

[0068] Example 1

[0069] When configuring card readers A and C for anti-followback, it is first converted into the following event:

[0070] 1) Client host 1 reports the authentication event of card reader A to server host;

[0071] 2) Client host 1 subscribes to the authentication events of card reader C under client host 2 on the server host;

[0072] 3) Client host 2 reports the authentication event of card reader C to server host;

[0073] 4) Client host 2 subscribes to the authentication events of card reader A under client host 1 on the server host.

[0074] Among them, the events in 1), 2) are issued to the client host 1; the events in 2), 3) are issued to the client host 2; in addition, the events in 2), 4) are also directly recorded to the server host.

[0075] In addition to the events, corresponding access control parameters are also generated:

[0076] 1) When the card reader A is authenticated, the card reader C can be authenticated, and after the card reader A is authenticated, its authentication state is changed to unauthenticatable;

[0077] 2) Set the initial state of the card reader C as authenticable;

[0078] 3) When the card reader C is authenticated, the card reader A can be authenticated, and after the card reader C is authenticated, its authentication state is changed to unauthenticatable;

[0079] 4) Set the initial state of the card reader A as authenticable.

[0080] Among them, the parameters in 1), 2) are issued to the client host 2; the parameters in 3), 4) are issued to the client host 1.

[0081] Embodiment 2

[0082] When the multi-door interlocking of the doors controlled by the card readers A and C needs to be configured, it is converted into the following events:

[0083] 1) The client host 1 reports the card reader A controlled door state change event to the server host;

[0084] 2) The client host 1 subscribes to the card reader C controlled door state change event under the client host 2 on the server host;

[0085] 3) The client host 2 reports the card reader C controlled door state change event to the server host;

[0086] 4) The client host 2 subscribes to the card reader A controlled door state change event under the client host 1 on the server host.

[0087] In addition to the events, corresponding access control parameters are also generated:

[0088] 1) When the card reader A controlled door state is open, the card reader C controlled door cannot be opened;

[0089] 2) When the card reader C controlled door state is open, the card reader A controlled door cannot be opened.

[0090] Figure 4 The schematic diagram of the event converter provided by the optional embodiment of the application is as follows: Figure 4As shown, the access control function can be converted into a subscription event and a gate control parameter by using an event converter, so that the status of the access control function does not need to be frequently requested from the server host in use, thereby achieving a change from active query to event driving.

[0091] Optionally, after the card reader A and the card reader C are configured to be reverse hidden and converted and subscribed to be issued, when a person directly performs authentication at the card reader C, the card reader C is in an unauthenticatable state. After the person is authenticated at the card reader A, the message filter of the client host 1 reports the authentication event to the server host according to the subscription event, and after the server host receives the information, the server host pushes the event to the client host 2 according to the subscription event. After the client host 2 receives the message, the card reader C is converted to an authenticatable state according to the access control parameter.

[0092] Compared with the prior art, the embodiment of the application does not need to request the server host during authentication, and in addition, the unrelated host does not generate event interaction with the server host, thereby reducing the pressure of the server host. In addition, in the prior art, when the number of card readers is large, a large number of requests to the server host can cause the server host to respond slowly, thereby affecting the authentication speed of the person, and the embodiment of the application only needs to generate a reporting event after authentication is completed or the door state changes, and when a large number of authentications are simultaneously generated, the authentication speed is not affected.

[0093] Figure 5 The flowchart of the access control method under event driving provided by the optional embodiment of the application is shown in FIG. 6. Figure 5 As shown, the client host generates an event and judges whether to report the event, and if the event is reported, the event is sent to the server host; the server host receives the event and then forwards the event to other client hosts according to the subscription; and the other client hosts receive the event and modify the related state in combination with the access control parameter.

[0094] According to another aspect of the embodiment of the application, an access control method of an access control system is also provided, the access control system including at least three hosts in communication with each other, each host being connected to at least one authentication device, and one of the at least three hosts being set as a server host and the remaining hosts being set as client hosts.

[0095] Figure 6 The flowchart of the access control method of the access control system provided by the embodiment of the application is shown in FIG. 6. Figure 6 As shown, the access control method includes the following steps:

[0096] In step S602, the access control function is configured, the access control function is converted into an access control parameter and a subscription event, the access control parameter and the subscription event are issued to the corresponding client host, and the subscription event is recorded.

[0097] The access control function is a linkage function between authentication devices across hosts.

[0098] The access control parameter includes an authentication state of an authentication device of any one or more client hosts and a logical combination of authentication states of authentication devices, and / or a door state controlled by an authentication device and a logical combination of door states controlled by authentication devices.

[0099] The subscription event includes an authentication event of an authentication device of any one or more client hosts subscribing to other client hosts on a server host, and / or a change event of a door state controlled by an authentication device.

[0100] The other client host is a client host that communicates with the client host when the access control function is implemented.

[0101] In step S604, an authentication event of an authentication device of a client host or a change event of a door state controlled by an authentication device is received, and the authentication event of the authentication device or the change event of the door state controlled by the authentication device is pushed to other client hosts according to the subscription event, so that the authentication state of the authentication device or the door state controlled by the authentication device of the other client host is updated according to the access control parameter.

[0102] The authentication event of the authentication device or the change event of the door state controlled by the authentication device is generated based on a change in the authentication state of the authentication device or the door state controlled by the authentication device of the client host.

[0103] In the embodiments of the present application, the access control method is applied to the server host side of the access control system, and the access control function can be converted into an access control parameter and a subscription event by using the server host, and then the function linkage across hosts is driven by using the event. In use, there is no need to frequently request the related state of the linkage function from the host server, and the unrelated client host will not generate event interaction between the server host, thereby solving the technical problem that when the number of card readers is large in the related art, a large number of requests are made to the server host, which may cause the server host to respond slowly, thereby affecting the authentication speed of personnel, and even causing the server host to crash. The technical effect of reducing the pressure on the server host and improving the stability of the access control system is achieved.

[0104] As an optional embodiment, the access control method comprises: receiving an authentication event of an authentication device of a client host or a change event of a door state controlled by the authentication device reported by the client host; and / or, in response to the client host subscribing to an authentication event of an authentication device of another client host or a change event of a door state controlled by the authentication device, generating a message of the subscription event; and the server host is further configured to receive an authentication event of an authentication device of another client host or a change event of a door state controlled by the authentication device reported by the other client host; and / or, in response to the other client host subscribing to an authentication event of an authentication device of the client host or a change event of a door state controlled by the authentication device, generating a message of the subscription event.

[0105] As an optional embodiment, the access control method comprises: when the authentication of the authentication device of the client host is passed, the authentication state of the authentication device of the other client host is authenticable, and the authentication of the authentication device of the client host is converted to unauthenticable after being passed, forming a first authentication state parameter; setting the initial state of the authentication device of the other client host as authenticable, forming a second authentication state parameter; when the authentication of the authentication device of the other client host is passed, the authentication state of the authentication device of the client host is authenticable, and the authentication of the authentication device of the other client host is converted to unauthenticable after being passed, forming a third authentication state parameter; setting the initial state of the authentication device of the client host as authenticable, forming a fourth authentication state parameter; and distributing the first authentication state parameter and the second authentication state parameter to the other client host as access control parameters, and distributing the third authentication state parameter and the fourth authentication state parameter to the client host as access control parameters.

[0106] As an optional embodiment, the access control method comprises: when the door state controlled by the authentication device of the client host is open, setting the door state controlled by the authentication device of the other client host as closed; when the door state controlled by the authentication device of the other client host is open, setting the door state controlled by the authentication device of the client host as closed.

[0107] As an optional embodiment, the access control method comprises: establishing a server host table, and saving the server host table to each host respectively; wherein, the hosts in the server host table are sorted according to the use priority.

[0108] As an optional embodiment, the above access control method comprises: when the linkage function is anti-submarine return, if the authentication of the authentication device of the client host is passed, the client host reports the authentication event to the server host according to the subscription event; after the server host receives the authentication event, the server host pushes the authentication event to other client hosts according to the subscription event; if the authentication of the authentication device of other client hosts is directly performed, the authentication state of the authentication device of other client hosts is unauthenticatable; or, in response to receiving the authentication event of the authentication device, the authentication state of the authentication device of other client hosts is converted to authenticatable according to the access control parameter.

[0109] As an optional embodiment, the above access control method comprises: when the linkage function is multi-door interlocking, if the state of the door controlled by the authentication device of the client host changes, the client host reports the change event of the state of the door controlled by the authentication device of the client host to the server host according to the subscription event; after the server host receives the change event of the state of the door controlled by the authentication device, the server host pushes the change event of the state of the door controlled by the authentication device to other client hosts according to the subscription event; so that other client hosts convert the state of the door controlled by the authentication device of other client hosts to open or close according to the access control parameter in response to receiving the change event of the state of the door controlled by the authentication device.

[0110] According to another aspect of the embodiments of the present application, an access control method of an access control system is also provided, the access control system comprising at least three hosts in communication with each other, and each host being connected with at least one authentication device, and one of the at least three hosts being set as a server host, and the rest of the hosts being set as client hosts.

[0111] Figure 7 A flowchart of another access control method of an access control system provided by the embodiments of the present application is shown in Figure 7 The access control method comprises the following steps:

[0112] Step S702, in response to the change of the authentication state of the authentication device of the client host or the state of the door controlled by the authentication device, an authentication event of the authentication device or a change event of the state of the door controlled by the authentication device is generated, and the authentication event of the authentication device or the change event of the state of the door controlled by the authentication device is reported to the server host according to the subscription event, so that the server host pushes the authentication event of the authentication device or the change event of the state of the door controlled by the authentication device to other client hosts according to the subscription event.

[0113] Step S704, in response to receiving the authentication event of the authentication device or the change event of the state of the door controlled by the authentication device, the authentication state of the authentication device or the state of the door controlled by the authentication device of other client hosts is updated according to the access control parameter.

[0114] It should be noted that the access control parameter and the subscription event are obtained based on the server host converting the access control function, and the server host is used to distribute the access control parameter and the subscription event to the corresponding client host, and record the subscription event.

[0115] The access control function is a linkage function between authentication devices across hosts.

[0116] The access control parameter includes the authentication state of the authentication device of any one or more client hosts and the logical combination of the authentication state of the authentication device, and / or the door state controlled by the authentication device and the logical combination of the door state controlled by the authentication device.

[0117] The subscription event includes the authentication event of the authentication device of any one or more client hosts subscribed by the server host to other client hosts, and / or the change event of the door state controlled by the authentication device.

[0118] The other client host is a client host that communicates with the client host when implementing the access control function.

[0119] In the embodiments of the present application, the access control method is applied to the client host side of the access control system, and the server host can be used to convert the access control function into an access control parameter and a subscription event, and then use event-driven cross-host function linkage. In use, there is no need to frequently request the relevant state of the linkage function from the host server, and the unrelated client host will not generate event interaction between the server host, thereby solving the technical problem that when the number of card readers is large in the related art, a large number of requests are made to the server host, which may cause the server host to respond slowly, thereby affecting the authentication speed of personnel, and even causing the server host to crash. The technical effect of reducing the pressure on the server host and improving the stability of the access control system is achieved.

[0120] As an optional embodiment, the above-mentioned access control method comprises: triggering the server host to establish a server host table, and saving the server host table to each host respectively; wherein the hosts in the server host table are sorted according to the use priority.

[0121] As an optional embodiment, the access control method comprises: reporting, to the server host, an authentication event of an authentication device of the client host or a change event of a door state controlled by the authentication device; and / or, the client host subscribes to an authentication event of an authentication device of another client host or a change event of a door state controlled by the authentication device, so that the server host generates a message of the subscription event; and reporting, to the server host, an authentication event of an authentication device of another client host or a change event of a door state controlled by the authentication device; and / or, another client host subscribes to an authentication event of an authentication device of the client host or a change event of a door state controlled by the authentication device, so that the server host generates a message of the subscription event.

[0122] As an optional embodiment, the access control method comprises: the server host sets an initial state of an authentication device of another client host as authenticatable, forming a second authentication state parameter; the server host sets an initial state of an authentication device of the client host as authenticatable, forming a fourth authentication state parameter; and the other client host receives the first authentication state parameter and the second authentication state parameter issued by the server host, and the client host receives the third authentication state parameter and the fourth authentication state parameter issued by the server host.

[0123] As an optional embodiment, the access control method comprises: when the door state controlled by the authentication device of the client host is open, the server host sets the door state controlled by the authentication device of another client host as closed; and when the door state controlled by the authentication device of another client host is open, the server host sets the door state controlled by the authentication device of the client host as closed.

[0124] As an optional embodiment, the access control method comprises: when the authentication device of the client host is authenticated, the client host reports an authentication event to the server host according to the subscription event; when the server host receives the authentication event, the server host pushes the authentication event to another client host according to the subscription event; if the authentication device of another client host is directly authenticated, the authentication state of the authentication device of another client host is unauthenticatable; or, in response to receiving the authentication event of the authentication device, another client host converts the authentication state of the authentication device of another client host to authenticatable according to the access control parameter.

[0125] As an optional embodiment, the access control method comprises: when the linkage function is multi-door interlocking, if the state of the door controlled by the authentication device of the client host changes, the client host reports the change event of the state of the door controlled by the authentication device of the client host to the server host according to the subscription event; so that after the server host receives the change event of the state of the door controlled by the authentication device, the server host pushes the change event of the state of the door controlled by the authentication device to other client hosts according to the subscription event; and other client hosts convert the state of the door controlled by the authentication device of other client hosts to open or close according to the access control parameter in response to receiving the change event of the state of the door controlled by the authentication device.

[0126] According to another aspect of the embodiments of the present application, an electronic device is also provided, which comprises: a processor; a memory for storing processor-executable instructions; wherein the processor is configured to execute the steps of the methods described above.

[0127] According to another aspect of the embodiments of the present application, a computer-readable storage medium is also provided, which comprises a stored program, wherein the program, when executed, controls the device where the computer-readable storage medium is located to execute the steps of the methods described above.

[0128] The computer-readable storage medium described above can be located in any one of the computer terminals in a computer terminal group in a computer network, and / or in any one of the mobile terminals in a mobile terminal group, and the computer-readable storage medium comprises a stored program.

[0129] According to another aspect of the embodiments of the present application, a computer program product is also provided, which, when executed on a data processing device, is adapted to execute a program initialized with the steps of the methods described above.

[0130] In the above-described embodiments of the present application, the description of each embodiment has its own focus, and the parts not described in detail in a certain embodiment can be referred to the relevant description of other embodiments.

[0131] In the several embodiments provided by the present application, it should be understood that the disclosed technology can be implemented in other ways. Of course, the device embodiment described above is only illustrative, and for example, the division of the modules can be a logical function division, and actual implementation can have another division manner, for example, a plurality of modules or components can be combined or integrated into another system, or some features can be ignored or not executed. In addition, the coupling or direct coupling or communication connection between the shown or discussed each other can be through some interface, indirect coupling or communication connection between modules or modules, which can be electrical or other forms.

[0132] In addition, each function module in each embodiment of the present application can be integrated in one processing module, or each module can be physically present alone, or two or more modules can be integrated in one module. The integrated module can be realized in the form of hardware or in the form of a software function module.

[0133] When the integrated module is realized in the form of a software function module and sold or used as an independent product, the integrated module can be stored in a computer readable storage medium. Based on this understanding, the technical solutions of the present application essentially or the part that contributes to the prior art or the whole or part of the technical solutions can be embodied in the form of a software product. The computer software product is stored in a storage medium and includes a plurality of instructions for causing a computer device (which can be a personal computer, a server or a network device, etc.) to execute all or part of the steps of the method described in each embodiment of the present application. The foregoing storage medium includes a U disk, a read-only memory (ROM), a random access memory (RAM), a mobile hard disk, a magnetic disk or an optical disk, and various media that can store program codes.

[0134] The above is only the preferred embodiment of the present application. It should be noted that, for those skilled in the art, without departing from the principle of the present application, a number of improvements and refinements can be made, which should also be considered as the protection scope of the present application.

Claims

1. A door access system, characterized in that The application relates to a door access control system, comprising: The door access control system comprises at least three host computers which communicate with each other, each of the host computers is connected with at least one authentication device, one of the at least three host computers is set as a server host computer, and the rest of the host computers are set as client host computers; The server host computer is used for configuring a door access control function, converting the door access control function into door access control parameters and subscription events, and issuing the door access control parameters and the subscription events to corresponding client host computers, and recording the subscription events; wherein the door access control function is a linkage function between authentication devices of cross-host computers; the door access control parameters comprise authentication states of authentication devices of any one or more of the client host computers and logical combinations of the authentication states of the authentication devices, and / or door states controlled by authentication devices and logical combinations of the door states controlled by the authentication devices; the subscription events comprise authentication events of authentication devices of other client host computers which are subscribed by the server host computer and / or change events of door states controlled by authentication devices; the other client host computers are client host computers which communicate with the client host computers when the door access control function is implemented; The client host computer is used for generating authentication events of authentication devices or change events of door states controlled by authentication devices in response to changes of authentication states of authentication devices or door states controlled by authentication devices of the client host computer, and reporting the authentication events of the authentication devices or the change events of the door states controlled by the authentication devices to the server host computer according to the subscription events, so that the server host computer pushes the authentication events of the authentication devices or the change events of the door states controlled by the authentication devices to the other client host computers according to the subscription events; The other client host computer is used for updating authentication states of authentication devices or door states controlled by authentication devices of the other client host computer according to the door access control parameters in response to the authentication events of the authentication devices or the change events of the door states controlled by the authentication devices which are received.

2. Access control system according to claim 1, characterized in that The server host computer is used for receiving the authentication events of the authentication devices or the change events of the door states controlled by the authentication devices of the client host computer which are reported by the client host computer; And / or, generating a message of the subscription events in response to the client host computer subscribing the authentication events of the authentication devices or the change events of the door states controlled by the authentication devices of the other client host computer; And the server host computer is also used for receiving the authentication events of the authentication devices or the change events of the door states controlled by the authentication devices of the other client host computer which are reported by the other client host computer; And / or, generating a message of the subscription events in response to the other client host computer subscribing the authentication events of the authentication devices or the change events of the door states controlled by the authentication devices of the client host computer.

3. The access control system of claim 1, wherein, The server host computer is used for forming a first authentication state parameter when authentication of the authentication devices of the client host computer is passed, the authentication states of the authentication devices of the other client host computer are authenticatable, and the authentication states of the authentication devices of the client host computer are changed into unauthenticatable after the authentication of the authentication devices of the client host computer is passed. setting an initial state of the authentication device of the other client host as authenticable, forming a second authentication state parameter; when the authentication device of the other client host is authenticated, the authentication state of the authentication device of the client host is authenticable, and the authentication device of the other client host is converted to unauthenticable after being authenticated, forming a third authentication state parameter; setting an initial state of the authentication device of the client host as authenticable, forming a fourth authentication state parameter; and issuing the first authentication state parameter and the second authentication state parameter to the other client host as the access control parameter, and issuing the third authentication state parameter and the fourth authentication state parameter to the client host as the access control parameter.

4. The access control system of claim 1, wherein, The server host is configured to set a door state controlled by the authentication device of the other client host as closed when the door state controlled by the authentication device of the client host is open; and set the door state controlled by the authentication device of the client host as closed when the door state controlled by the authentication device of the other client host is open.

5. The access control system of claim 1, wherein, The server host is further configured to establish a server host table and save the server host table to each of the hosts; and sort the hosts in the server host table according to a use priority.

6. The access control system according to claim 1, wherein The client host is configured to report the authentication event to the server host according to the subscription event if the authentication device of the client host is authenticated after the linkage function is anti-rewind. The server host is configured to push the authentication event to the other client host according to the subscription event after receiving the authentication event. The other client host is configured to set the authentication state of the authentication device of the other client host as unauthenticable if the authentication is directly performed on the authentication device of the other client host. Alternatively, in response to receiving the authentication event of the authentication device of the client host, the authentication state of the authentication device of the other client host is converted to authenticable according to the access control parameter.

7. The access control system according to claim 1, wherein The client host is configured to report a change event of the door state controlled by the authentication device of the client host to the server host according to the subscription event if the door state controlled by the authentication device of the client host changes when the linkage function is multi-door interlocking. The server host is configured to push the change event of the door state controlled by the authentication device to the other client host according to the subscription event after receiving the change event of the door state controlled by the authentication device. The other client host is configured to convert the door state controlled by the authentication device of the other client host to open or close according to the access control parameter in response to receiving the change event of the door state controlled by the authentication device.

8. A door access control method of a door access system, characterized by, The access control system comprises at least three host computers in communication with each other, each of the host computers is connected with at least one authentication device, one of the at least three host computers is set as a server host computer, and the rest of the host computers are set as client host computers; the method comprises: configuring an access control function, converting the access control function into access control parameters and subscription events, and issuing the access control parameters and the subscription events to corresponding client host computers, and recording the subscription events; wherein the access control function is a linkage function between authentication devices of different host computers; the access control parameters comprise authentication states of authentication devices of any one or more of the client host computers and logical combinations of the authentication states of the authentication devices, and / or door states controlled by authentication devices and logical combinations of the door states controlled by the authentication devices; the subscription events comprise authentication events of authentication devices of other client host computers subscribed by any one or more of the client host computers in the server host computer, and / or change events of door states controlled by authentication devices; the other client host computers are client host computers in communication with the client host computers when the access control function is implemented; receiving authentication events of authentication devices of the client host computers or change events of door states controlled by authentication devices, and pushing the authentication events of the authentication devices or the change events of the door states controlled by the authentication devices to the other client host computers according to the subscription events, so that the other client host computers update authentication states of authentication devices of the other client host computers or door states controlled by authentication devices according to the access control parameters; wherein the authentication events of the authentication devices or the change events of the door states controlled by the authentication devices are generated based on changes in authentication states of authentication devices of the client host computers or door states controlled by authentication devices.

9. The access control method according to claim 8, wherein The method comprises: receiving authentication events of authentication devices of the client host computers or change events of door states controlled by authentication devices reported by the client host computers; and / or, in response to the client host computers subscribing to authentication events of authentication devices of the other client host computers or change events of door states controlled by authentication devices, generating messages of the subscription events; and the server host computer is further configured to receive authentication events of authentication devices of the other client host computers or change events of door states controlled by authentication devices reported by the other client host computers; and / or, in response to the other client host computers subscribing to authentication events of authentication devices of the client host computers or change events of door states controlled by authentication devices, generating messages of the subscription events; and / or, when the authentication of the authentication device of the other client host is passed, the authentication state of the authentication device of the client host is authenticatable, and the authentication state of the authentication device of the client host is converted to unauthenticatable after the authentication of the authentication device of the client host is passed, forming a first authentication state parameter; setting the initial state of the authentication device of the other client host as authenticatable, forming a second authentication state parameter; when the authentication of the authentication device of the other client host is passed, the authentication state of the authentication device of the client host is authenticatable, and the authentication state of the authentication device of the other client host is converted to unauthenticatable after the authentication of the authentication device of the other client host is passed, forming a third authentication state parameter; setting the initial state of the authentication device of the client host as authenticatable, forming a fourth authentication state parameter; and issuing the first authentication state parameter and the second authentication state parameter to the other client host as the access control parameter, and issuing the third authentication state parameter and the fourth authentication state parameter to the client host as the access control parameter; and / or, when the door state controlled by the authentication device of the client host is opened, setting the door state controlled by the authentication device of the other client host as closed; when the door state controlled by the authentication device of the other client host is opened, setting the door state controlled by the authentication device of the client host as closed; and / or, establishing a server host table, and saving the server host table to each of the hosts; wherein the hosts in the server host table are sorted according to the use priority; and / or, when the linkage function is anti-submarine, if the authentication of the authentication device of the client host is passed, the client host reports the authentication event to the server host according to the subscription event; after receiving the authentication event, the server host pushes the authentication event to the other client host according to the subscription event; if the authentication is directly performed on the authentication device of the other client host, the authentication state of the authentication device of the other client host is unauthenticatable; or, in response to receiving the authentication event of the authentication device of the client host, the authentication state of the authentication device of the other client host is converted to authenticatable by the other client host according to the access control parameter; and / or, when the linkage function is multi-door interlocking, if the door state controlled by the authentication device of the client host changes, the client host reports the change event of the door state controlled by the authentication device of the client host to the server host according to the subscription event; after receiving the change event of the door state controlled by the authentication device, the server host pushes the change event of the door state controlled by the authentication device to the other client host according to the subscription event; so that the other client host converts the door state controlled by the authentication device of the other client host to open or close according to the access control parameter in response to receiving the change event of the door state controlled by the authentication device.

10. A door access control method of a door access system, characterized by, The access control system comprises at least three host computers in communication with each other, each of the host computers is connected with at least one authentication device, one of the at least three host computers is set as a server host computer, and the rest of the host computers are set as client host computers; the method comprises: in response to a change in the authentication state of the authentication device of the client host computer or the door state controlled by the authentication device, generating an authentication event of the authentication device or a change event of the door state controlled by the authentication device, and reporting the authentication event of the authentication device or the change event of the door state controlled by the authentication device to the server host computer according to a subscription event, so that the server host computer pushes the authentication event of the authentication device or the change event of the door state controlled by the authentication device to other client host computers according to the subscription event; in response to receiving the authentication event of the authentication device or the change event of the door state controlled by the authentication device, updating the authentication state of the authentication device or the door state controlled by the authentication device of the other client host computers according to access control parameters; wherein the access control parameters and the subscription event are obtained based on the server host computer performing access control function conversion, and the server host computer is configured to distribute the access control parameters and the subscription event to the corresponding client host computers and record the subscription event; the access control function is a linkage function between authentication devices across host computers; the access control parameters comprise the authentication state of the authentication device of any one or more of the client host computers and a logical combination of the authentication state of the authentication device, and / or the door state controlled by the authentication device and a logical combination of the door state controlled by the authentication device; the subscription event comprises the authentication event of the authentication device of the other client host computers subscribed by any one or more of the client host computers in the server host computer, and / or the change event of the door state controlled by the authentication device; the other client host computers are client host computers in communication with the client host computers when the access control function is implemented.

11. The access control method according to claim 10, wherein The method comprises: reporting the authentication event of the authentication device or the change event of the door state controlled by the authentication device of the client host computer to the server host computer; and / or, the client host computer subscribes to the authentication event of the authentication device or the change event of the door state controlled by the authentication device of the other client host computer, so that the server host computer generates a message of the subscription event; and reporting the authentication event of the authentication device or the change event of the door state controlled by the authentication device of the other client host computer to the server host computer; and / or, the other client host computer subscribes to the authentication event of the authentication device or the change event of the door state controlled by the authentication device of the client host computer, so that the server host computer generates a message of the subscription event; and / or, The server host is caused to set the initial state of the authentication device of the other client host as authenticatable, forming a second authentication state parameter; the server host is caused to set the authentication state of the authentication device of the client host as authenticatable when the authentication device of the other client host is authenticated, and the authentication state of the authentication device of the client host is converted to unauthenticatable when the authentication device of the other client host is authenticated, forming a third authentication state parameter; the server host is caused to set the initial state of the authentication device of the client host as authenticatable, forming a fourth authentication state parameter; and the other client host receives the first authentication state parameter and the second authentication state parameter issued by the server host, and the client host receives the third authentication state parameter and the fourth authentication state parameter issued by the server host; and / or, When the door state controlled by the authentication device of the client host is open, the server host is caused to set the door state controlled by the authentication device of the other client host as closed; when the door state controlled by the authentication device of the other client host is open, the server host is caused to set the door state controlled by the authentication device of the client host as closed; and / or, When the linkage function is anti-submarine, if the authentication device of the client host is authenticated after passing, the client host reports the authentication event to the server host according to the subscription event; so that the server host receives the authentication event, and pushes the authentication event to the other client host according to the subscription event; if the authentication device of the other client host is directly authenticated, the authentication state of the authentication device of the other client host is unauthenticatable; or, in response to receiving the authentication event of the authentication device of the client host, the other client host converts the authentication state of the authentication device of the other client host to authenticatable according to the access control parameter; and / or, When the linkage function is multi-door interlocking, if the door state controlled by the authentication device of the client host changes, the client host reports the change event of the door state controlled by the authentication device of the client host to the server host according to the subscription event; so that the server host receives the change event of the door state controlled by the authentication device, and pushes the change event of the door state controlled by the authentication device to the other client host according to the subscription event; the other client host converts the door state controlled by the authentication device of the other client host to open or close according to the access control parameter in response to receiving the change event of the door state controlled by the authentication device.

12. An electronic device, comprising: It comprises: a processor; a memory for storing processor-executable instructions; wherein the processor is configured to perform the steps of the method of any one of claims 8 to 11.

Citation Information

Patent Citations

  • Multi-door interlocking configuration method, door opening method and access control system

    CN111862435A

  • Access control service host switching method and device

    CN113112654A