1. Trang chủ
  2. » Giáo Dục - Đào Tạo

(TIỂU LUẬN) STUDY ON INTERNET OF THINGS MAJOR TELECOMMUNICATIONS

101 4 0

Đang tải... (xem toàn văn)

Tài liệu hạn chế xem trước, để xem đầy đủ mời bạn chọn Tải xuống

THÔNG TIN TÀI LIỆU

JỖO FILIPE OFIÇO MINISTRY OF EDUCATION AND TRAININuniversityG HANOI UNIVERSITY OF SCIENCE AND ,ju:ni'və:sitiTECHNOLOGY-UK -DANH TỪ trường đại học tập thể (của một) trường đại học đội đại học (đội thể thao trường đại học) JOÃO FILIPE OFIÇO TELECOMMUNICATIONS STUDY ON INTERNET OF THINGS MASTER OF SCIENCE 2014B HANOI – 2016 MINISTRY OF EDUCATION AND TRAINING HANOI UNIVERSITY OF SCIENCE AND TECHNOLOGY JỖO FILIPE OFIÇO STUDY ON INTERNET OF THINGS MAJOR : TELECOMMUNICATIONS MASTER THESIS IN SCIENCE SCIENTIFIC SUPERVISOR: Dr TRƯƠNG THU HƯƠNG Hà Nội – 2016 CỘNG HÒA XÃ HỘI CHỦ NGHĨA VIỆT NAM Độc lập – Tự – Hạnh phúc BẢN XÁC NHẬN CHỈNH SỬA LUẬN VĂN THẠC SĨ Họ tên tác giả lun : Joóo Filipe Ofỗo ti lun vn: Nghiên cứu internet Vạn vật Chuyên ngành: Kỹ thuật viễn thông Mã số SV: CB141072 Tác giả, Người hướng dẫn khoa học Hội đồng chấm luận văn xác nhận tác giả sửa chữa, bổ sung luận văn theo biên họp Hội đồng ngày 24/08/2016 với nội dung sau: 1) Thay đổi đoạn 3.2 thành “M2M standard and protocols” 2) Luận án gần tuân theo chuẩn yêu cầu luận án thạc sĩ cần có Nhưng liên kết tiểu mục luận án cần chỉnh sửa xác 3) Cần thay đổi tiêu đề luận án thành “Nghiên cứu internet Vạn vật” 4) Cần xem xét chỉnh sửa lỗi ngữ pháp luận án Ngày 26 tháng 08 năm 2016 Tác gi lun Giỏo viờn hng dn Joóo Filipe Ofỗo TS Trương Thu Hương CHỦ TỊCH HỘI ĐỒNG PGS.TS Nguyễn Hữu Thanh DECLARATION I hereby declare that master’s Thesis of my authorship and of the orientation of my supervisor The data and results presented in this thesis are honest and not yet published in any previous study All cited information is appreciated in the reference list Author -(Joóo Filipe Ofiỗo) July, Hanoi i LIST OF FIGURES Figure 2.1: Internet of Things is "born" between 2008 and 2009 [3] Figure 2.2: Common IoT devices and Technologies [9] Figure 2.3: Real Time Stream Processing- Google IoT [11] 12 Figure 2.4: IBM IoT Foundation [12] 13 Figure 2.5: ThingWorx IoT foundation [13] 14 Figure 2.6: Electric Imp and ThingSpeak IoT [14] 16 Figure 2.7: Digital Service Cloud IoT foundation [10] 17 Figure 2.8: Data streaming from Gateway to cloud by Amazon Kinesis [10] 18 Figure 2.9: Microsoft IoT foundation [15] 20 Figure 2.10: IoT Connectivity [18] 22 Figure 2.11: IoT Architecture [22] 28 Figure 2.12: Applications of IoT [6] 33 Figure 3.1: Three basic stages of M2M technology [26] 36 Figure 3.2: M2M Protocol Stack and Technical Challenges [29] 42 Figure 3.3: Architecture of M2M system [30] 45 Figure 3.4: Examples of components of M2M system [30] 45 Figure 4.1: House design with distribution of the smart devices in each area 47 Figure 4.2: Structure of the Internet of Things system 48 Figure 4.3: Duty Cycle PWM [31] 51 Figure 4.4: PIR sensor 52 Figure 4.5: Raspberry Pi [33] 54 Figure 4.6: Raspberry Pi interface after installing Rasbian OS 56 Figure 4.7: Connection diagram of Arduino LED and Motion sensor [38] 57 Figure 4.8: Bluetooth connection between smart devices with Gateway .68 Figure 4.9: IoT ecosystem 69 Figure 4.10: PIR sensor data 71 Figure 4.11: Nde-Red 72 Figure 4.12: Login for access the interface RockMongo 73 ii Figure 4.13: Interface RockMongo (management software MongoDB) 74 Figure 4.14: Testbed for the Usecase Ecosystem 75 iii LIST OF ACRONYMS 6LoWPAN - IPv6 over Low-power Wireless Personal Area Networks API- Application Programming Interface ARAT – Active Reader active tag AWS – Amazon Web Service BLE - Bluetooth Low Energy BSS – Billing Support system CoAP - Constrained Application Protocol DSC – Digital service cloud DSL - Digital Subscriber Line EC2 – amazon Cloud Compute ETSI - European Telecommunications Standards Institute GSM - The Global System for Mobile Communication HTTP Hyper-Text Transfer Protocol IEEE – Institute of electrical and electronics Engineers IETF – Internet Engineering Task Force IoT - Internet of Things IP - Internet Protocol IPv6 - Internet Protocol version ISM Industrial, Scientifc and Medical radio band JSON - JavaScript Object Ntation LAN- Local Area Network LTE - Long-Term Evolution iv M2M – Machine to Machine MCU - Microcontroller MQTT - Message Queuing Telemetry Transport NFC - Near Field Communication PaaS - platform as a service PAN - Personal Area Network REST - Representation State Transfer RF - Radio Frequency RF4CE - Radio Frequency for Consumer Electronics RFID- Radio frequency Indentifcation ROM - Read-Only Memory RTOS – Real Time Operating System TCP - Transmission Control Protocol TIA Telecommunications Industry Association UDP - User Datagram Protocol UI - Unique Identifer URL - Universal Resource Locator WiMAX - Worldwide Interoperability for Microwave Access WPAN - Wireless Personal Area Network WSN - Wireless Sensor Network XML- Extensible Markup Language v ACKNOWLEDGEMENTS I would like to thank my supervisor, Dr Trương Thu Hương and the IoT research group for their support during the course of this thesis I also would like to thank my adorable family, who always support me in my whole life My wonderful parents and my bride, who have emotionally supported me during my master degree study abroad Without their support, I could not have had the opportunity to even start my studies vi ABSTRACT This work aims to explain the concepts of the M2M communication and IoT concept, reference models, architectures and protocols used in the Internet of Things My thesis intends to give an overview on the Internet of Things, as well as helps beginners build Internet of Things applications by their own In this research, the IoT and M2M communication will be discussed, terms that have arisen with the creation of devices that can access the network to communicate and exchange information Those can optimize and facilitate tasks like collecting information of things and of the environments where they are The implementation of this thesis aims to build an infrastructure for an IoT ecosystem with the server responsible for collecting, storing data and also to allow the viewing of the data generated by the motion sensors and cloud, which are responsible for light monitoring Despite some diffculties encountered during the work, the defined goals were met vii Figure 4.14: Testbed for the Usecase Ecosystem 75 CONCLUSION Concluding this thesis, it was possible to understand how the IoT has a great potential for developing applications that will fringe many benefts, not only for the Network areas but also for the humanity IoT allows many advances and discoveries for the society This occurs with increasing amount of data available for processing that the IoT provides, along with the capability of data communications in the Internet Thus, the more data is generated, the more knowledge and wisdom people will get During the development of this thesis, we noted the lack of information related to the subject of national origin, which shows the lack of studies in this area On the other hand, we found a wide variety of documents, applications, and studies about Internet of Things developed in countries such as China, the United States, and some European countries At the end of this thesis, the main goal which is the implementation of an Internet of Things infrastructure using the communication protocol, is reached Future Work During the implementation of practical work, we have faced many problems with the Internet connection to achieve signifcant successes We recommend that Internet with good speed and connectivity must be used Also the related theory must be studied before in order to understand more about the Internet of Things The reason is because proponents of the Internet of Things promise us a world in which we will be connected with literally every kind of things we can think of 76 REFERENCES [1] D Evans.(2011), "The Internet of things-How the Next Evolution of the Internet Is Changing Everything," Cisco Internet Business Solutions Group [2] L TAN and N WANG.(2010), "Future Internet: The Internet of Things.," computer science and Tecnology Department East China Nrmal university, Shanghai [3] A A LOUREIRO.(2003), "WSN", Minas Gerais: Departamento de Ciencias da Computacão da Universidade Federal de Minas Gerais, Belo Horizonte [4] Y JIANG, L ZHANG and L WANG (2013), "Wireless Sensor Networks and the Internet of Things International Journal of Distributed Sensor Networks Research Center for Mobile Computing," Tsinghua University, Institute of Microelectronics, China [5] L Coertzee and J Eksteen (2011), "The Internet of Things - promise for the future? An introduction," in IST- Africa conference Proceedings [6] R.Arpita and et al (April 2015), international Journal of Engineering Studies and technical Approach, vol 01 [7] H.-X ZHAO (2010), "Internet of Things key technology Analysis and Discussion [J] Western Technology," China [8] V Ovidiu and P Friess (2014), "Internet of things-From research and Innovation to market Deployment", River pbublishers, pp 11-19 [9] [Online] Available: http://www.codeproject.com/Articles/832492/Stage-Introduction-to-theInternet-of-Things [Accessed 20 08 2015] [10] N Bhumi and C Tushar (December 2015), "study of various internet of things platforms," International Journal of Computer Science & Engineering Survey (IJCSES, vol 77 [11] [Online]Available:https://cloud.google.com/solutions/architecture/st reampro cessing [Accessed 15 05 2016] [12] [Online] Available: https://internetofthings.ibmcloud.com [Accessed 28 04 2016] [13] [Online].Available:http://www10.mcadcafe.com/blogs/jeffrowe/2015 /05/14/ ptc-thingworx-converges-on-iot/ [Accessed 20 04 2016] [14] [Online] Available: http://community.thingspeak.com/2014/05/connecting-electric-imp-tothingspeak-iot-data-services/ [Accessed 21 04 2016] [15] [Online] Available: https://www.linkedin.com/pulse/microsoft- azure-iot-complete-cloud-platform-your-modern-pvt-ltd- [Accessed 10 05 2016] [16] C Qu, "Development trend and Prospect of the Internet of Things information construction," 2009 [17] [Online].Available:http://www.rs- online.com/designspark/electronics/knowledge-item/eleven-internet-ofthings-iot-protocols-you-need-to-know-about [Accessed 20 05 2016] [18] [Online] Available: http://www.codeproject.com/Articles/833234/Internet-of-things-Overview [Accessed 28 02 2016] [19] [Online] Available: http://postscapes.com/internet-of-things- protocols [Accessed 22 04 2016] [20] R Stefanov (2013), "Security and trust in IoT/M2M – Cloud based platform," Aalborg University [21] I T Union (2005), " The Internet of Things Executive Summary," ITU Internet Reports , Geneva [22] [Online].Available:https://www.ida.gov.sg/~/media/Files/Infocomm %20Lan 78 dscape/Technology/TechnologyRoadmap/InternetOfThings.pdf [Accessed 20 04 2016] [23] [Online] Available: https://opentechdiary.wordpress.com/tag/internet-of-things/ [Accessed 26 02 2016] [24] S KALYONCU (2013), "Wireless Solutions and Authentication Mechanisms for Contiki Based Internet of Things Networks," [25] A.-Q A.S and e al (December 2015), "inter Journal of Engineering Research and Applications", vol 05 [26] [Online] Available: http://www.ecnmag.com/article/2012/11/machine- machine-communications-%E2%80%93-facebook-smart-devices [Accessed 01 05 2016] [27] ITU (2014), "ITU-T Focus Group on M2M Service Layer: M2M service layer: APIs and protocols overview" [28] [Online].Available:http://dspace.howest.be/bitstream/10046/1184/1/La nderA rnoys.pdf [Accessed 02 06 2016] [29] E Asma, R Steinke and T Magedanz (2016), "AdM2M: Adaptable Machine-to-Machine Transport Framework," Technical University Berlin, Berlin [30] [Online].Available:http://tec.gov.in/pdf/Studypaper/White%20Paper %20on %20Machine-to-Machine%20(M2M)Communication.pdf [Accessed 20 05 2016] [31] [Online] Available: http://nerduino.blogspot.com/2013/04/o- que-e-pwm.html [Accessed 18 05 2016] [32] [Online].Available:http: //internetofthingsagenda.techtarget.com/definition/gateway [Accessed 08 07 79 2016] [33] [Online] Available: http://www.ecnmag.com/article/2012/11/machine-machinecommunications-%E2%80%93-facebook-smart-devices [Accessed 01 05 2016] [34] [Online] Available: https://www.techopedia.com/defnition/29019/cloud-server [Accessed 08 07 2016] [35] [Online].Available: https://www.techopedia.com/definition/30340/mongodb [Accessed 08 07 2016] [36] [Online] Available: https://github.com/mqtt/mqtt.github.io/wiki/Mosquitto-Message-Broker [Accessed 07 2016] [37] [Online] Available: https://www.e- education.psu.edu/geog865/node/261 [Accessed 08 07 2016] [38] [Online].Available:http://www.learningaboutelectronics.com/Article s/Ardui no-motion-sensor-light-circuit.php [Accessed 20 05 2016] 80 Appendix A: Arduino code for the Second Floor #include #include SoftwareSerial BTSerial(10, 11); // RX | TX static struct pt pt1,pt2,pt3; boolean condition=false; const int inputPin = 2; const int led = 13; char check_data = 0; bool Motion_Detect = false; int value; int k; void setup() { pinMode(led, OUTPUT); digitalWrite(led, LOW); / put your setup code here, to run once: Serial.begin(9600); Serial.println("Start"); BTSerial.begin(38400); PT_INIT(&pt1); // initialise the two PT_INIT(&pt2); PT_INIT(&pt3); } 81 void SensorMotion(void); void action(); void loop() { / put your main code here, to run repeatedly: protothread2(&pt2, 1000); protothread1(&pt1, 1000); protothread3(&pt3, 1000); / SensorMotion(); } int protothread1(struct pt *pt, int interval) { static unsigned long timestamp = 0; PT_BEGIN(pt); while(1) { PT_WAIT_UNTIL(pt, millis() - timestamp > interval ); timestamp = millis(); // take a new timestamp getDataFromSensor(); } PT_END(pt); } int protothread2(struct pt *pt, int interval) { static unsigned long timestamp = 0; PT_BEGIN(pt); while(1) { 82 PT_WAIT_UNTIL(pt, millis() - timestamp > interval ); timestamp = millis(); act(); } PT_END(pt); } int protothread3(struct pt *pt, int interval) { static unsigned long timestamp = 0; PT_BEGIN(pt); while(1) { PT_WAIT_UNTIL(pt, millis() - timestamp > interval ); timestamp = millis(); action(); } PT_END(pt); } void getDataFromSensor() { int value = digitalRead(inputPin); if (value == 1) { k=15; } } 83 void act() { if(k>0) { Serial.println("1"); BTSerial.print("1"); digitalWrite(led, HIGH); k; } else { BTSerial.print("0"); Serial.println("0"); digitalWrite(led, LOW); } } void action() { String ch= BTSerial.readString(); Serial.println(ch); if (ch=="ON"){ if (k

Ngày đăng: 13/12/2022, 06:48

Xem thêm:

TÀI LIỆU CÙNG NGƯỜI DÙNG

  • Đang cập nhật ...

TÀI LIỆU LIÊN QUAN

w