Differences
This shows you the differences between two versions of the page.
| |
report [2020/06/20 22:10] – [3.2 Time] team4 | report [2021/03/23 11:28] (current) – external edit 127.0.0.1 |
---|
</WRAP> | </WRAP> |
| |
In **Figure {{ref>firebase}}** we can see the desktop view of the IoT database storing the measurements performed by all users. Since the IoT platform does not use SQL syntax, in our project's case we use Cloud Firestore that implements hierarhical stucture of collections and documents. To the left we can see different collections of data, one for each measured value and the locations. Each collection contains documents(in the middle) that each correspond to a single measurement and contain a collection of values associated with it. In the figure we can see to the right a single record of carbondioxide measurement containing the measured value, user key - IdBiker(assigned during authentication), measurement key and a timestamp. Upon download of the data by the application, it associates the measurements with their location using the IdBiker and timestamp fields that are present for each record. | In **Figure {{ref>firebase}}** we can see the desktop view of the IoT database storing the measurements performed by all users. IoT platforms usually do not use SQL syntax of tables and keys, so in our project's case we used Cloud Firestore that implements hierarhical stucture of collections and documents. To the left we can see different collections of data, one for each measured value and the locations. Each collection contains documents(in the middle) that each correspond to a single measurement and contain a collection of values associated with it. In the figure we can see to the right a single record of carbondioxide measurement containing the measured value, user key - IdBiker(assigned during authentication), measurement key and a timestamp. Upon download of the data by the application, it associates the measurements with their location using the IdBiker and timestamp fields that are present for each record. |
<WRAP centeralign> | <WRAP centeralign> |
<figure firebase> | <figure firebase> |