There are three possible integration approaches in integrating Suprema readers to a 3rd party system: using Protocol, BioStar Device SDK and BioStar API.
The following system diagram is basic usage of BioStar Device SDK.
Let’s say you have your own T&A application. You want to automatically transfer users that are created on the T&A application to Suprema readers in real-time while transferring event data from the readers to your T&A application.
[Figure 1. Automatic User Transfer]
[Figure 2. Automatic Event Transfer]
As you can see from the figure 1, the SDK-based application gets the list of newly created users periodically and if there are newly created users, it inserts those users into its own database. Then, we need to receive fingerprint templates from the users, because we get user information only from the T&A software. Then, we can transfer the users to the devices.
Figure 2 explains how events are transferred from the readers to the T&A software. When the users identify themselves on the readers, the authentication events are stored on the devices. The BioStar SDK-based application retrieves the events from the devices at a certain interval. When there are newly stored authentication events, the application inserts the events into the database of the T&A software. If your T&A software offers server-level API, the SDK-based application will call the APIs instead of accessing the database directly.
So far we have looked at BioStar Device SDK. With the BioStar 1 system, we only had BioStar Device SDK, which means that it was not possible to either request data from a BioStar 1 server or control devices connected to the server by sending commands to the server. You always had to deal with the devices directly. Dealing with the devices directly is not an easy task because you have to implement user and device management on your own. If you need to use advanced access control rules like access groups, things get more complicated.
To ease these difficulties, we are now offering BioStar2 Local API, server-level RESTful API, with which you can communicate with BioStar 2 server. Therefore, you can get data from the server, create users and access control properties like access groups and time schedules. You can also control devices through BioStar2 Local API. We are not going to take a look at what RESTful API is about, because it’s out of scope of this article. You can find detailed information on RESTful API from Wikipedia (https://en.wikipedia.org/wiki/Representational_state_transfer).
With the server-level API, you can focus your own logic leaving all the complicated tasks like user/device/access control management to BioStar 2 server. This will greatly shorten the development time.
There's no need for any additional installation for BioStar 2 Local API. Once BioStar 2 Server is installed, it is ready to be used by the user without any additional installations for Local API Server. Moreover, it doesn't require any other additional license activation and it is free of charge to all users.
[Figure 3. Automatic User Transfer]
[Figure 4. Automatic Event Transfer]
If you look at Figure 3, you will notice that the middleware is communicating with BioStar 2 Server instead of dealing with the devices. This means that you don’t have to implement user and device management functionality, which is quite a daunting job. Therefore, all the functions you need to implement is getting newly created users from the T&A software and insert them into BioStar 2 by calling BioStar user registration API.
Figure 4 explains how authentication events can be transferred from BioStar 2 to the T&A software. When users authenticate themselves, the authentication events are automatically transferred to BioStar 2 by default. The middleware can request BioStar 2 Server to send the events after a certain time. Then, the middleware inserts the events into the database of the T&A software.
Now that we have taken a closer look at what BioStar Device SDK and BioStar2 Local API are about, it’s time to discuss advantages and disadvantages of each option.
Currently, we have another integration option for your system via SVP Android SDK. Please check our new integration option from the link below.