Access control system
Web system that controls who enters and leaves the company: employees, visitors and vehicles, with turnstiles and readers from three manufacturers working from a single registry.
- Type
- Web system and Windows application
- Equipment
- Control iD, Hikvision and Henry
- Identification
- RFID card and biometrics
- Technologies
- PHP, JavaScript, jQuery, Delphi
The project
Each turnstile and reader manufacturer has its own software and its own way of registering people. The system brings everything together: people are registered once, in the browser, and sent to the equipment of each area.
Web system
Registration of users, devices, vehicles and areas, with access levels that define where each person can go.
Equipment integration
Direct communication with turnstiles and readers over the network, using each manufacturer's protocol.
Biometrics application
Delphi program that reads the fingerprint on the USB reader at the front desk and delivers it to the web system.
At the front desk
The front desk screen was designed to serve arriving people quickly.
- Visitor registration with a photo taken on the spot with the webcam
- Address filled in automatically from the postal code
- Handing out an RFID card with the access level for the visit
- Visit closed on the way out, by reading the card
- Vehicle entry recorded by license plate
Integrated equipment
The system talks to each device in its own language, without depending on the manufacturer's software.
Control iD
iDBlock turnstile, through the device's HTTP API, and USB biometric reader at the front desk.
Hikvision
Access terminals through the ISAPI interface, with Digest authentication: users, cards, fingerprints and events.
Henry
TCP socket communication: cards, access groups, date and time, and reading of the event log.
- Sending all users to a new or replaced device
- Collecting the access events stored on each device
- Synchronizing the device clocks with the server
- Connection test before each transfer
How the fingerprint reaches the system
A browser cannot access a USB biometric reader. To solve this, I wrote a small Delphi program that stays open on the front desk computer and works as a TCP server: when the web system asks, it triggers the Control iD reader, captures the fingerprint and returns the biometric template.
From there, the web system stores the fingerprint in the person's record and sends it to the devices, which start recognizing it.
Queries and reports
Access records can be searched by period, device, type and name, with the option of listing who is still inside the company. The result is shown on screen or generated as a PDF.
