This application claims priority from European patent application serial no. 17185104.1 filed Aug. 7, 2017.
The present invention relates to a method for operating an access control system comprising a server, at least one access control device and at least one point of sale device for access permissions for the area covered by the access control.
From the prior art, access control systems are known which have a server and at least one access control device which is connected to the server for the purpose of data communication. For selling the access permissions for the area covered by the access control system, points of sales are provided, wherein when an access permission is purchased, the access permission is encoded onto a customer medium by means of a point of sales device connected to the server for the purpose of data communication using an encoding device, by means of an RFID standard, preferably the ISO 15693 standard. In this case, the access permission is generated and encrypted in the server.
According to the prior art the algorithms for the generation and encryption of access privileges are stored on the server and are not distributed to the point of sales devices connected to the server for the purpose of communication. The access permissions are generated and encrypted in the server and are encoded onto the customer medium via the point of sales devices connected to the server for the purpose of data communication, wherein after the coding of the access permissions information concerning the validity of the respective access permissions is transmitted from the server to the access control devices.
Disadvantageously, in the event of a network failure, i.e. in an offline mode of the point of sales devices, no access permissions can be sold, since according to the prior art these cannot be generated and encrypted by the sales outlets.
The object of the present invention is to specify a method for operating an access control system comprising a server, at least one access control device and at least one point of sales device for access permissions for the area covered by the access control system, by the execution of which for the case when a point of sales device of an access control system is in an offline mode, the operation of the access control system and, in particular, the sale of access permissions, is maintained.
This object is achieved by the features of the Patent Claim. An advantageous extension is the subject matter of the dependent claim.
Consequently, a method is proposed for operating an access control system comprising a server, at least one access control device and at least one point of sales device for access permissions for the area covered by the access control system, in the context of which the algorithm for generating and encrypting the access permissions is installed on the at least one point of sales device, wherein the algorithm can only be executed locally, i.e. in the at least one point of sales device, if it is unlocked using a key.
According to the invention, when powering up or switching on a point of sales device, the key for unlocking the algorithm for generating and encrypting access permissions, which is installed in the point of sales device, is transferred from the server to the point of sales device, wherein in the online case, i.e. when the point of sales device is connected to the server, the point of sales device requests an access permission from the server, which is generated and encrypted in the server and transmitted from the server to the point of sales device, wherein the access permission is encoded on a customer medium using an encoder device of the point of sales device. Subsequently, the information concerning the validity of the coded access permission is transmitted from the server to the at least one access control device, wherein for the purpose of access control the access permission is read out by the respective access control device and the validity of the access permission is verified on the basis of the information transmitted from the server.
In the offline case, i.e. when a point of sale device is not connected to the server, the algorithm installed on the point of sales device is executed using the key for unlocking the algorithm installed on the point of sales device, wherein by means of the algorithm installed on the point of sale device an access permission is generated, encrypted and labelled as an offline-generated access permission, wherein this access permission is then encoded onto a customer medium using the encoding device of the point of sales device.
If an access control is performed while the point of sale device is not connected to the server, the offline-generated access permission is read out by an access control device, wherein on the basis of the labelling as an offline-generated access permission it is recognized as such, wherein the validity of the access permission is verified on the basis of the data encoded by the point of sales device.
If the point of sales device is subsequently in an online mode, which corresponds to the normal operating state, the information concerning the access permissions generated by the point of sales device in the offline mode is transmitted from the point of sales device to the server, which in turn transmits the information concerning the validity of the access permissions to the at least one access control device.
If after the point of sale device has changed into the online mode an access control process takes place with an access permission generated by the point of sale device in the offline mode, the offline-generated access permission is read out of the customer medium by the access control device, wherein an access permission is encoded onto the customer medium based on the information transmitted by the server, and the validity of the access permission is then verified.
As part of an extension of the invention, it is provided that if an access control is performed while the point of sale device is not connected to the server, a time-restricted validity, namely the information that the access permission becomes invalid after a specified time, is encoded onto the customer medium by the access control device, wherein the time-restricted validity is removed if an access control operation takes place after the point of sale device has changed into the online mode.
In the following an embodiment of the invention is described in greater detail on the basis of the attached FIGURE, which shows a sequence diagram to illustrate the features of the method according to the invention.
According to the invention the algorithm for generating and encrypting the access permissions is installed on the at least one point of sales device of the access control system, wherein the algorithm installed on the at least one point of sales device can only be executed if it is unlocked using a key. Referring to the attached figure, when powering up or switching on a point of sales device 1, the key for unlocking the algorithm installed in the point of sales device 1 for generating and encrypting access permissions is transmitted from the server 3 to the point of sales device 1 (step 1).
If the point of sales device 1 is in the online mode, the point of sales device 1 requests from the server 3 an access permission, which is generated and encrypted in the server 3 and transmitted from the server 3 to the point of sales device (step 2), wherein the access permission is then encoded on a customer medium (step 3) using an encoding device 2 of the point of sales device 1.
Subsequently, the information concerning the validity of the coded access permission is transmitted from the server 3 to the at least one access control device 4 of the access control system (step 4), wherein for the purpose of access control the access permission is read out by the respective access control device (step 5) and the validity of the access permission is verified on the basis of the information transmitted by the server 3.
When a point of sale device is in an offline mode, the algorithm installed on the point of sales device 1 is executed using the key for unlocking the algorithm installed in the point of sales device 1, wherein by means of the algorithm installed on the point of sales device 1 an access permission is generated, encrypted and labelled as an offline-generated access permission (step 7), wherein this access permission is then encoded onto a customer medium by the encoding device of the point of sales device (step 8).
In the event of an access control while the point of sale device 1 is not connected to the server 3, the offline-generated access permission is read out (step 9) by an access control device, wherein on the basis of the labelling as an offline-generated access permission it is recognized as such, the validity of which is verified (step 10) on the basis of the data encoded by the encoding device 2 of the point of sales device 1 and a time-restricted validity restriction, namely the information that the access permission becomes invalid after a specified time, is encoded onto the customer medium (step 11).
If the point of sales device 1 then changes into the online mode, the information concerning the access permissions generated by the point of sales device 1 in the offline mode is transmitted from the point of sales device 1 to the server 3 (step 12), where the server 3 transmits the information about the validity of the access permissions to the at least one access control device 4 of the access control system (step 13).
In the event of a subsequent access control with an access permission generated by the point of sales device 1 in the offline mode, i.e. without a connection to the server 3, the offline-generated access permission is read out by an access control device (step 14), wherein if a time-restricted validity was encoded on the customer medium, which means that the customer medium was verified by an access control device 4 during the offline mode of the point of sales device 1, the time-restricted validity is removed and an access permission is encoded onto the customer medium based on the information transmitted from the server 3 (step 15), wherein the validity of the access permission is then checked.
If the customer medium was not verified during the offline mode of the point of sales device 1, i.e. if no time-restricted validity is encoded on the customer medium, an access permission is encoded on the customer medium (step 16) based on the information transmitted from the server concerning the validity of the access permission, wherein the validity of the access permission is then checked.
Number | Date | Country | Kind |
---|---|---|---|
17185104.1 | Aug 2017 | EP | regional |