Licensing
The SmartCARE licensing policy is based on counting the number of active end-user devices (devices sending data about various events that occur during the device operation and content playback) via the SmartCare End-User Device API. Moreover, you can specify the type of such devices.
SmartCARE has four types of licenses that you can choose depending on your business needs:
- Unlimited — it does not take into account either the number of end-user devices or their type;
- Type-ignoring & Quantitatively limited — takes into account the last N end-user devices, regardless of their type. Last — by the date of the device’s appearance in the SmartCARE DB, i.e. by receiving an event of any type from this device;
- Type-sensitive & Quantitatively limited — takes into account the last N end-user devices of the specified type;
- Type-sensitive & Quantitatively unlimited — takes into account only the type of end-devices, regardless of their number.
Counting Licensed Devices
The control of used licenses is carried out according to the following rules:
- When an AUTH event (end-user device authorization) is received, a record about the device is created in the SmartCARE DB. This record contains the following event parameters:
- Service Account Number (san)
- Service Account State — requested from the SmartTUBE SDP. To calculate the number of licenses used, only accounts with the ACTIVE and BLOCKED status are taken into account.
- Unique Device ID (uid) — embedded to the event parameter csi (Client Session ID)
- Device Type ID (dtId)
- When starting the collector-http service, the license file is checked against the list of end-user devices in the SmartCARE DB. Based on the results of the reconciliation, a pool of licensed devices from which events can be received is created.
- This pool of licensed devices is updated once an hour. The number of remaining licenses is recalculated taking into account new devices, which is reflected accordingly on the page SmartCare UI > Settings > Licenses.
- When an event of any type is received, the uid and dt (Device Type ID) embedded to the csi are checked against the pool of licensed devices. Thus, SmartCARE decides whether to store this event or discard it.
- With each authorization of a new device (AUTH event), its Device type ID (dtId) is also checked. Thus, a new device can get into the pool of licensed ones (if the license is Type-sensitive).
- If the license is quantitatively limited and the limit of devices in the SmartCARE DB is already filled, then SmartCARE will process the events of such a device, if its uid is included in the list of the last N devices.
You can see the list of events received via SmartCARE End-User Device API here. |