Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
en:possible_integration_options_3_in_biostar_2 [2020/04/14 14:58] yjjung [What is different from BioStar 2 Device SDK?] |
en:possible_integration_options_3_in_biostar_2 [2020/04/16 13:52] yjjung [How G-SDK works?] |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | ==== G-SDK download link & Manual ==== | + | ==== Possible Integration Option 3 : G-SDK ==== |
- | Download : https://github.com/biostar-dev/g-sdk/ \\ | + | |
- | Manual : https://biostar-dev.github.io/g-sdk/ | + | |
\\ | \\ | ||
+ | In addition to the integration method using BioStar2 SW API or BioStar2 Device SDK, G-SDK is recennly released as a new integration option for device management, user management, and log management. \\ | ||
+ | |||
+ | ==== What is G-SDK? ==== | ||
+ | G-SDK is one of the integration options for communicating with BioStar 2 devices. It is a lightweight, scalable, and cross-platform solution which will expedite your development. \\ | ||
\\ | \\ | ||
- | ==== G-SDK Overview ==== | + | |
- | G-SDK is one of integration options for communicating with BioStar 2 devices. It is a lightweight, scalable, and cross-platform solution which will expedite your development. \\ | + | ==== How G-SDK works? ==== |
- | Based on gRPC, it supports many programming languages such as Java, C#, Python, Node.js, Go, etc. \\ | + | {{:en:gsdk_gsdkarchitecture.png?400|}} \\ |
+ | ** [Figure 1. G-SDK architecture] ** \\ | ||
+ | \\ | ||
+ | G-SDK consists of Device Gateway in gRPC Server and gRPC Client Libraries. \\ | ||
+ | Based on gRPC, it supports many programming languages such as Java, C#, Python, Node.js, Go, etc.\\ | ||
+ | (gRPC (gRPC Remote Procedure Calls) is an open source remote procedure call (RPC) system initially developed at Google in 2015.) \\ | ||
\\ | \\ | ||
** Multi-language support ** | ** Multi-language support ** | ||
* Language-neutral IDL | * Language-neutral IDL | ||
* Native client libraries | * Native client libraries | ||
- | |||
- | \\ | ||
\\ | \\ | ||
+ | ** Device Gateway ** that communicates with BioStar 2 device can be run on a server or cloud. ** Core modules ** use BioStar 2 protocols and written by GO language.\\ | ||
{{:en:gsdk_structure.png?400|}} \\ | {{:en:gsdk_structure.png?400|}} \\ | ||
- | ** [Figure 1. Device Gateway Structure] ** \\ | + | ** [Figure 2. Device Gateway Structure] ** \\ |
\\ | \\ | ||
- | ** Device Gateway ** that communicates with BioStar 2 device can be run on a server or cloud. ** Core modules ** use BioStar 2 protocols and written by GO language.\\ | ||
- | |||
==== What is different from BioStar 2 Device SDK? ==== | ==== What is different from BioStar 2 Device SDK? ==== | ||
Line 24: | Line 29: | ||
Let's take a look for an easy comparison between BioStar 2 Device SDK and G-SDK. \\ | Let's take a look for an easy comparison between BioStar 2 Device SDK and G-SDK. \\ | ||
- | {{:en:gsdk_comparison.png?900|}} \\ | + | {{:en:gsdk_comparison.png?600|}} \\ |
- | ** [Figure 2. BioStar 2 Device SDK vs G-SDK] ** \\ | + | ** [Figure 3. BioStar 2 Device SDK vs G-SDK] ** \\ |
\\ | \\ | ||
\\ | \\ | ||
One of the biggest advantages of G-SDK compare to Device SDK is that it supports various languages. For the last years, Device SDK users have had difficulty using development language other than C++ or C# which is in the sample code. \\ | One of the biggest advantages of G-SDK compare to Device SDK is that it supports various languages. For the last years, Device SDK users have had difficulty using development language other than C++ or C# which is in the sample code. \\ | ||
Since BioStar 2 Device SDK can communicate with C++ library, you have to use C++ language or need to marshall all the APIs and structures in the library into other languages. Currently BioStar 2 Device SDK provides only C# marshalling sample. \\ | Since BioStar 2 Device SDK can communicate with C++ library, you have to use C++ language or need to marshall all the APIs and structures in the library into other languages. Currently BioStar 2 Device SDK provides only C# marshalling sample. \\ | ||
+ | This is a limitation of BioStar 2 Device SDK due to the structure. \\ | ||
{{:en:gsdk_devicesdkstructure.png?900|}} \\ | {{:en:gsdk_devicesdkstructure.png?900|}} \\ | ||
- | ** [Figure 3. BioStar 2 Device SDK structure] ** \\ | + | ** [Figure 4. BioStar 2 Device SDK structure] ** \\ |
- | This is a limitation of BioStar 2 Device SDK due to the structure. \\ | ||
\\ | \\ | ||
Line 42: | Line 47: | ||
\\ | \\ | ||
- | {{:en:gsdk_gsdkstructure.png?600|}} \\ | + | {{:en:gsdk_gsdkstructure.png?900|}} \\ |
- | ** [Figure 4. G-SDK structure] ** \\ | + | ** [Figure 5. G-SDK structure] ** \\ |
\\ | \\ | ||
Line 54: | Line 59: | ||
Master Gateway helps you handle multiple Device gateways and it can be deployed on a cloud server or provide mobile direct accessibility too. \\ | Master Gateway helps you handle multiple Device gateways and it can be deployed on a cloud server or provide mobile direct accessibility too. \\ | ||
{{:en:gsdk_mastergateway.png?600|}}\\ | {{:en:gsdk_mastergateway.png?600|}}\\ | ||
+ | ** [Figure 6. Device Gateway vs Master Gateway] ** \\ | ||
\\ | \\ | ||
Line 61: | Line 67: | ||
\\ | \\ | ||
| | ||
- | ** 3. More language support ** \\ | + | ** 3. More language support samples ** \\ |
- | G-SDK provides C#, Java, Python, Go and Node. Furthermore, G-SDK is planning to support Android, iOS, Ruby. \\ | + | G-SDK provides C#, Java, Python, Go and Node samples. Furthermore, G-SDK is planning to support Android, iOS, Ruby samples. \\ |
+ | \\ | ||
+ | |||
+ | ==== Summary of G-SDK ==== | ||
+ | ** Supported OS ** \\ | ||
+ | Windows, x86/Arm Linux, Mac OS \\ | ||
+ | \\ | ||
+ | ** Maximum number of devices ** \\ | ||
+ | Up to 1,000 \\ | ||
+ | \\ | ||
+ | ** Supported Language ** \\ | ||
+ | C++, Java, Python, Go, Ruby, C#, Node.js, Android Java, Objective-C, PHP, Web \\ | ||
+ | \\ | ||
+ | ** Supported API ** \\ | ||
+ | The basic AC APIs(Access control, User management, Event log etc) except advanced features such as Zone, Wiegand, RS485 features. \\ | ||
+ | \\ | ||
+ | ** Supported Device ** \\ | ||
+ | All BioStar 2 devices \\ | ||
+ | \\ | ||
+ | ** Not Supported Device ** \\ | ||
+ | All BioStar 1 Devices \\ | ||
+ | (BioEntry Plus v2, BioEntry W v2, XPass v2, XPS2 v2, and BLN v2 are not supported.Gen 1 devices are not supported) \\ | ||
+ | \\ | ||
+ | ** Download ** \\ | ||
+ | https://github.com/biostar-dev/g-sdk/ \\ | ||
+ | \\ | ||
+ | ** Manual ** \\ | ||
+ | https://biostar-dev.github.io/g-sdk/\\ | ||
+ | \\ | ||
\\ | \\ | ||