Firebase 2
Firebase 2
Wu-Jeng Li, Chiaming Yen, You-Sheng Lin, Shu-Chu Tung, and ShihMiao Huang
Abstract— This paper designs an Internet of Things system In recent years, there are vast progress in many respects,
(called JustIoT) which is mainly divided into four parts; including embedded controller, database structure, data
back-end Google Firebase real-time database, front-end SPA cloud collection, data visualization, front-end technology,
(Single Page Application) web monitoring program (including HTML standard, back-end data processing, big data, data
mobile monitoring App), controller software-hardware, and mining, machine learning, etc.
intelligence server that support MQTT connection and
condition control. In this paper, new technology and new architecture are
JustIoT receives data from all kinds of controllers, allowing used to build a new Internet of Things. ŕhe new system is
users to set the control rules and remote monitoring and expected to be more secure, more reliable, easier to develop
control. JustIOT distinguishes users from managers, vendors, and maintain.
customers, registrants, and visitors. Users can build
applications in the above system, to serve customers, and to
run a business. II. STRUCTURE OF JUSTIOT
In the JustIoT, management web page based on Angular
front-end technology is connected to the Firebase real-time A. DESIGN GOAT
database. The event of data modification of Firebase database JustIoT is designed to achieve the following objectives:
can trigger Angular's two-way data binding to achieve
Three-way data binding effect to implement server-less 1. Cloud computing architecture: the system is flexible
architecture easily. The data in Firebase database is read and to load demand.
written by the front-end devices (web apps, mobile apps, and
controllers) directly.
2. New Web front-end technology (Angular SPA): the
evolution of Web technology has huge impact on
The intelligence server is an MQTT server that supports the
connections of relatively weak embedded controllers such as the development of IoT.
the Arduino controller. The intelligent server can be 3. Real-time monitoring: mobile phone, tablet, desktop
considered as an intermediary between the Firebase real-time computer, laptop could be used for real-time
database and weak controllers, which performs the transfer of monitoring.
data and remote commands.
The intelligent server is also the intelligent computing 4. System security: data in the form of encoding (SSL)
center of the JustIoT. It performs condition control. transmission.
Keywords: Internet of Things, Firebase, Embedded
5. Integrated (commercially available) open source
System, Supervisory Control.
software and hardware architecture.
I. INTRODUCTION 6. Universal platform: easy to use for general
In 1999, Kevin Ashton first proposed the term Internet controller and Internet of things applications.
of things. In the same year Bill Joy proposed six devices and 7. Business model: The system can be used for
devices in the network, focusing on industrial production, commercial operation.
unmanned plant applications. By now, the application of the
Internet of Things is ubiquitous, according to international 8. Control rules: provide condition control[6] services.
research firm Gartner predicts that in 2020 the global
9. Machine learning: can be easily used for big data
networking device will reach 26 billion units, about to
machine learning and other artificial intelligence
create more than 300 billion US dollars in revenue, and the
development structure.
global economy to bring 1.9 trillion dollars attached Value,
such a considerable business opportunities to drive the
domestic industry chain as a whole, the downstream B. Parts of JustIoT
manufacturers, one after another out of the relevant
positions.
Our team has been conducting research on the Internet
of Things[1][2], using various open source embedded
controllers (Arduino, Raspberry PI, Puppy Linux, Android
[3][4]). The system was applied in the factory building
sewage monitoring, home security[5][6], computer room
environmental monitoring and other aspects[7].