KR101847271B1 - Smart IT Convergence Framework System Applying a Lego-typed Sensor Module - Google Patents

Smart IT Convergence Framework System Applying a Lego-typed Sensor Module Download PDF

Info

Publication number
KR101847271B1
KR101847271B1 KR1020160082788A KR20160082788A KR101847271B1 KR 101847271 B1 KR101847271 B1 KR 101847271B1 KR 1020160082788 A KR1020160082788 A KR 1020160082788A KR 20160082788 A KR20160082788 A KR 20160082788A KR 101847271 B1 KR101847271 B1 KR 101847271B1
Authority
KR
South Korea
Prior art keywords
mobile device
sensor
sensor module
local server
smart
Prior art date
Application number
KR1020160082788A
Other languages
Korean (ko)
Other versions
KR20180003225A (en
Inventor
김혜영
Original Assignee
홍익대학교세종캠퍼스산학협력단
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 홍익대학교세종캠퍼스산학협력단 filed Critical 홍익대학교세종캠퍼스산학협력단
Priority to KR1020160082788A priority Critical patent/KR101847271B1/en
Publication of KR20180003225A publication Critical patent/KR20180003225A/en
Application granted granted Critical
Publication of KR101847271B1 publication Critical patent/KR101847271B1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/12Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
    • H04L67/125Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks involving control of end-device applications over a network
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • H04L67/16
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/51Discovery or management thereof, e.g. service location protocol [SLP] or web services

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Signal Processing (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Health & Medical Sciences (AREA)
  • General Physics & Mathematics (AREA)
  • Computing Systems (AREA)
  • General Health & Medical Sciences (AREA)
  • Medical Informatics (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Telephonic Communication Services (AREA)
  • Toys (AREA)

Abstract

본 발명은 서버, 아두이노 센서, 모바일 기기 간의 통신을 구현하여 프레임워크의 프로토타입을 설정함으로써, 레고형 센서모듈을 활용하여 IoT 환경에서의 다양한 콘텐츠 제작에 적용할 수 있도록 하는 레고형 센서모듈을 활용한 스마트 IT 융합 프레임워크 시스템에 관한 것이다.
본 발명에 따른 레고형 센서모듈을 활용한 스마트 IT 융합 프레임워크 시스템은 IoT 환경에서 기기 간의 실시간 통신을 구현하는 스마트 IT 융합 프레임워크 시스템으로서, 무선 통신 기능이 구비되며, 안드로이드 기반의 앱이 설치되어 구동되는 모바일 기기(100)와; 무선 통신 기능이 구비되며, 센서 인터페이스를 통하여 센서 모듈(320)과 연결되어 센서 모듈(320)의 동작을 제어하는 마이크로 컨트롤러가 구비된 아두이노 보드(310)와; 상기 모바일 기기(100) 및 아두이노 보드(310)와 무선 통신을 설정하여 데이터를 송수신하며, 상기 모바일 기기(100)에 설치되어 구동되는 앱의 제어 신호에 따라 아두이노 보드(310)에 연결된 센서 모듈(320)의 동작을 제어하는 로컬 서버(200);를 포함하여 이루어져, IoT 환경에서의 다양한 콘텐츠 제작에 효율적으로 적용할 수 있는 제공된다.
The present invention relates to a legato sensor module for implementing a communication between a server, an Arduino sensor, and a mobile device to set a prototype of a framework, thereby applying the Lego sensor module to various contents production in an IoT environment Smart IT Convergence Framework System.
The smart IT convergence framework system utilizing the Lego sensor module according to the present invention is a smart IT convergence framework system that implements real-time communication between devices in the IoT environment, and has a wireless communication function, and an Android-based app is installed A driven mobile device 100; An ADC 310 having a microcontroller connected to the sensor module 320 through a sensor interface to control the operation of the sensor module 320; And transmits and receives data by establishing wireless communication with the mobile device 100 and the adonaboard 310. The mobile device 100 transmits and receives data to and from the mobile device 100, And a local server 200 for controlling the operation of the module 320, so that it can be efficiently applied to various contents production in the IoT environment.

Description

레고형 센서모듈을 활용한 스마트 IT 융합 프레임워크 시스템 {Smart IT Convergence Framework System Applying a Lego-typed Sensor Module}{Smart IT Convergence Framework System Applying a Lego-typed Sensor Module}

본 발명은 스마트 IT 융합 프레임워크 시스템에 관한 것으로, 보다 상세하게는 서버, 아두이노 센서, 모바일 기기 간의 통신을 구현하여 프레임워크의 프로토타입을 설정함으로써, 레고형 센서모듈을 활용하여 IoT 환경에서의 다양한 콘텐츠 제작에 적용할 수 있도록 하는 레고형 센서모듈을 활용한 스마트 IT 융합 프레임워크 시스템에 관한 것이다. The present invention relates to a smart IT convergence framework system, and more particularly to a smart IT convergence framework system, in which communication between a server, an Arduino sensor, and a mobile device is implemented to set a prototype of a framework, And a smart IT convergence framework system using a Lego sensor module that can be applied to various contents production.

인터넷의 사용이 증가하면서 촉발된 기기들 간의 상호작용이 활발히 일어나는 IoT가 산업 전반에 확산되고 있다. 이러한 IoT(Internet of Things)는 1999년 MIT Auto-ID Sensor의 Kevin Ashton에 의해서 탄생 되었는데, RFID 기술을 통하여 사물이 인터넷으로 연결되는 것이 비전으로 제시되었다. IoT 기술은 기술을 다루는 조직과 그에 따른 목적에 따라 유사하지만 다르게 정의되기도 하는데, 공통점은 모든 사물이 글로벌 스케일의 연결성을 갖게 되어, 이를 기반으로 지능적 서비스를 제공하는 점이다.As the use of the Internet increases, IoT, which is actively interacting with devices triggered, is spreading throughout the industry. This Internet of Things (IoT) was created by Kevin Ashton of MIT Auto-ID Sensor in 1999, and vision of connecting things to the Internet through RFID technology is presented. IoT technology is similar but defined differently depending on the organization dealing with the technology and its purpose. The common point is that all objects have global scale connectivity and provide intelligent services based on them.

이러한 국내외 IoT 산업은 다양한 분류가 존재하지만, 일부에서는 유비쿼터스 혹은 M2M(Machine to Machine)의 연장선으로 받아들여지기도 한다. 국내의 주요 산업 사례로는 SKT의 스마트 팜 서비스, KT의 스마트 홈 서비스, LG U+의 IoT@Home을 들 수 있다. SKT의 스마트 팜은 농가의 비닐하우스에 다양한 센서 및 W-CDMA 기반의 단말을 설치하여 스마트폰을 통해 농사일을 관리하는 서비스이다. 또한, KT와 LG U+의 사업 모델 같은 경우는 집안에 콘센트, 전등, 가스밸브 등 집안에 있는 단말들을 스마트폰으로 외부에서 제어하여 좀 더 편안한 생활을 영위할 수 있도록 하는 서비스이다. 하지만, 이렇게 국내에서 서비스되고 있는 IoT 산업의 경우 이전에 있던 USN이나 M2M의 연장선인 느낌이 강하고 글로벌 서비스를 위한 IoT와는 거리가 멀다고 할 수 있다.Although there are various categories of domestic and overseas IOT industry, some of them are accepted as an extension of ubiquitous or machine to machine (M2M). Key domestic industry examples include SKT's smart farm service, KT's smart home service, and LG U +'s IoT @ Home. SKT's smart farm is a service that manages farming through smart phones by installing various sensor and W-CDMA-based terminals in a farmhouse's greenhouse. In the case of KT and LG U + business models, it is a service that allows home terminals such as outlets, electric lamps, and gas valves to be controlled from the outside by a smart phone to enable a more comfortable life. However, in the case of the IoT industry, which is being serviced in the domestic market, I feel that it is an extension of the USN or M2M that was in the past and is far from the IoT for global service.

한편, 국외의 주요 산업 사례로는 EVRYTHING의 WoT, Paraimpu, IBM의 Smarter Planet 등을 들 수 있다. EVRYTHING은 WoT(Web of Things) 기술의 선두 주자로서, ADI(Active Digital IdentitiesTM)를 기반으로 RFID, NFC, 기존의 웹 자원들을 포함하는 다양한 사물에 대한 식별 및 접근을 가능하게 함으로 생활 밀착형의 다양한 서비스를 개발하고 있다. 또한, Paraimpu는 SNS와 IoT 를 연결하여 공유하고 활용할 수 있게 하는 Social Web of Things라는 새로운 패러다임을 만들었다. 상기 IBM의 Smarter Planet은 글로벌 IoT의 전형적인 모습이라고 볼 수 있는데, 도시계획부터, 교통 관리, 철도 시스템 등 사회 기반 시설에 대한 IoT 기술의 적용을 목표로 개발중에 있다. 이와 같이 국내와는 다르게 해외에서는 사회 기반 시설을 좀더 자유롭고 통제 가능한 시스템화를 위한 연구가 할발하게 진행되고 있다.Major industries outside Korea include EVRYTHING's WoT, Paraimpu, and IBM's Smarter Planet. EVRYTHING is a leader in the WoT (Web of Things) technology. Based on ADI (Active Digital Identities ™), it enables identification and access to various objects including RFID, NFC and existing web resources. Services. In addition, Paraimpu has created a new paradigm called Social Web of Things that enables SNS and IoT to be linked and shared. IBM's Smarter Planet is a typical example of global IoT, and is being developed with the goal of applying IoT technology to infrastructure such as urban planning, traffic management, and railway systems. Unlike in Korea, research on the systemization of social infrastructures more freely and controllable is going on overseas.

이와 같이, IoT(Internet Of Things)가 산업 전반에 확산되면서, 사용자와 IoT 기기들간의 상호작용을 네트워크를 통하여 실시간으로 웹 서버 및 어플리케이션으로 데이터를 전송하는 기술은 필요함을 넘어서 이제 하나의 IT 융합 프레임워크로서의 제공을 요구하고 있는 실정이다. In this way, as the Internet of Things (IOT) spreads throughout the industry, it is necessary to transmit data to the web server and application in real time through the network in order to interact with the user and the IoT devices. As a work.

대한민국 등록특허공보 제10-1613372호 (2016.04.11 등록)Korean Registered Patent No. 10-1613372 (Registered on April 11, 2016)

본 발명은 이러한 IoT 산업 확산에 따른 IT 융합 프레임워크를 제공하기 위해 제안된 것으로서, 본 발명의 목적은 IoT 환경을 기반으로 사용자의 모바일 기기와 각종 아두이노 센서들을 이용한 콘텐츠 제작에 활용할 수 있는 프로토타입의 스마트 IT 융합 프레임워크 시스템을 제공하는 데 있다. The present invention has been proposed in order to provide an IT convergence framework according to the spread of the IoT industry. It is an object of the present invention to provide a prototype that can be used for content production using a user's mobile device and various Arduino sensors based on the IoT environment To provide a smart IT convergence framework system.

상기 목적을 달성하기 위한 본 발명에 따른 스마트 IT 융합 프레임워크 시스템은 IoT 환경에서 기기 간의 실시간 통신을 구현하는 스마트 IT 융합 프레임워크 시스템으로서, 무선 통신 기능이 구비되며, 안드로이드 기반의 앱이 설치되어 구동되는 모바일 기기와; 무선 통신 기능이 구비되며, 센서 인터페이스를 통하여 센서 모듈과 연결되어 센서 모듈의 동작을 제어하는 마이크로 컨트롤러가 구비된 아두이노 보드와; 상기 모바일 기기 및 아두이노 보드와 무선 통신을 설정하여 데이터를 송수신하며, 상기 모바일 기기에 설치되어 구동되는 앱의 제어 신호에 따라 아두이노 보드에 연결된 센서 모듈의 동작을 제어하는 로컬 서버;를 포함하여 이루어진다. In order to achieve the above object, the smart IT convergence framework system according to the present invention is a smart IT convergence framework system that implements real-time communication between devices in an IoT environment, and has a wireless communication function. A mobile device; And a microcontroller connected to the sensor module through a sensor interface to control the operation of the sensor module; And a local server for establishing wireless communication with the mobile device and the adunone board to transmit and receive data and to control the operation of a sensor module connected to the adonaboard according to a control signal of an app installed in the mobile device, .

상기 모바일 기기와 아두이노 보드에는 WiFi 통신을 수행하는 WiFi 모듈이 구비되고, 상기 로컬 서버에는 공유기가 구비되어, 하나의 로컬 서버에 복수의 모바일 기기 및 아두이노 보드가 연결되어 통신을 수행하게 된다. A WiFi module for performing WiFi communication is provided in the mobile device and the Arduino board. A router is provided in the local server, and a plurality of mobile devices and an Arduino board are connected to one local server to perform communication.

또한, 상기 로컬 서버는 모바일 기기와 아두이노 보드에 연결된 센서 모듈로부터 초기화 코드를 각각 전송받아, 모바일 기기 및 아두이노 보드에 연결된 센서 모듈에게 일괄적으로 초기화 완료코드를 패킷으로 전송한 후, 상기 모바일 기기와 아두이노 보드에 연결된 센서 모듈로부터 데이터를 입력받아 처리하고, 모바일 기기와 아두이노 보드의 통신을 중계하게 된다. The local server receives the initialization code from the mobile device and the sensor module connected to the ADC, and transmits the initialization completion code as a packet to the sensor module connected to the mobile device and the ADC, It receives data from the sensor module connected to the device and the daughter board, processes the data, and relays the communication between the mobile device and the daughter board.

한편, 상기 로컬 서버는 아두이노 보드에 연결된 센서 모듈과의 데이터 송수신시, 설정된 타임 임계값 이상의 시간이 지연이 발생하는 경우 해당 아두이노 센서 모듈에 문제가 발생한 것으로 판단하여 경고하게 된다. On the other hand, when the local server transmits / receives data to / from the sensor module connected to the add-on board, when a delay of more than a predetermined time threshold value occurs, it is determined that a problem has occurred in the corresponding adapter module.

또한, 상기 로컬 서버는 아두이노 보드(310)에 연결된 센서 모듈의 종류에 따라 각각 센서 번호를 부여하여 식별하고, 아두이노 보드에 새로운 센서 모듈이 추가되는 경우 추가되는 센서 모듈의 종류에 따라 새로운 센서 번호를 부여하여 센서 번호를 확장하게 된다. In addition, the local server identifies and assigns sensor numbers according to the types of sensor modules connected to the add-on board 310, and when a new sensor module is added to the add-on board, a new sensor The sensor number is extended by giving a number.

상기 로컬 서버는 아두이노 보드에 연결된 센서 모듈 중, LED, 압력 센서, 자물쇠 센서를 조합하여 하나의 센서 번호를 부여하고, 자물쇠 센서에 대해 다른 센서 번호를 부여하며, 복수의 RFID 센서를 조합하여 또 다른 센서 번호를 부여하고, 압력 센서, RFID 센서를 조합하여 다른 센서 번호를 부여하게 된다.The local server combines an LED, a pressure sensor, and a lock sensor among the sensor modules connected to the add-on board to give one sensor number, gives a different sensor number to the lock sensor, and combines a plurality of RFID sensors Another sensor number is assigned, and another sensor number is assigned by combining the pressure sensor and the RFID sensor.

상기 로컬 서버는 아두이노 보드에 연결된 센서 모듈의 동작을 제어하기 위하여, 제어 대상이 되는 기기명, 명령어, 매개 변수 값이 포함된 제어 명령어를 아두이노 보드에 전송하게 된다. In order to control the operation of the sensor module connected to the add-on board, the local server transmits a control command including a device name, an instruction word, and a parameter value to be controlled to the ADC.

한편, 상기 로컬 서버는 통신망을 통하여 웹 서버와 연결되어, 상기 모바일 기기 및 아두이노 보드와의 통신에 따라 발생하는 데이터를 전송하며, 상기 웹 서버는 로컬 서버로부터 전송되는 데이터를 저장하고, 웹 페이지를 통하여 디스플레이하여 사용자에게 제공하는 것이 바람직하다.Meanwhile, the local server is connected to a web server through a communication network, and transmits data generated according to communication with the mobile device and the adouno board. The web server stores data transmitted from a local server, It is preferable to display it through the display unit and provide it to the user.

본 발명에 따르면, IoT 환경에서의 서버, 아두이노 센서, 모바일 기기 간의 통신을 수행할 수 있는 프레임워크의 프로토타입을 구현함으로써, 이를 통하여 IoT 환경에서의 다양한 콘텐츠 제작에 효율적으로 적용할 수 있는 효과가 있다. 특히, 구현된 프레임워크의 프로토타입을 활용하여, 레고형 센서 모듈의 조합을 통해 스마트토이 게임을 구현하는 등, 스마트 IT 융합 프레임워크의 가능성을 확인할 수 있으며, 이를 통하여 IOT 환경에서 다양한 센서 모듈을 활용한 콘텐츠 제작에 효율적으로 적용할 수 있는 효과가 있다. According to the present invention, by implementing a prototype of a framework capable of performing communication between a server, an Arduino sensor, and a mobile device in an IoT environment, it is possible to efficiently apply various contents in an IoT environment through the prototype . Especially, by using prototype of implemented framework, it is possible to confirm the possibility of smart IT convergence framework by implementing smart toy game through combination of Lego type sensor module. Through this, various sensor modules It can be effectively applied to the production of utilized contents.

도 1은 본 발명에 따른 스마트 IT 융합 프레임워크 시스템의 전체적인 개념도,
도 2는 본 발명에 따른 스마트 IT 융합 프레임워크 시스템의 데이터 흐름도,
도 3은 본 발명에 따른 스마트 IT 융합 프레임워크 시스템의 네트워크 연결도,
도 4는 본 발명에 따른 로컬 서버와 모바일 기기 및 아두이노의 통신 설정 과정을 나타낸 흐름도,
도 5 내지 도 8은 본 발명에 따른 아두이노 센서 모듈의 설계 일례,
도 9는 본 발명에 따른 스마트 IT 융합 프레임워크 시스템을 통하여 구현된 스마트 토이의 일례,
도 10은 본 발명에 따라 구현된 스마트 토이의 회로 구성도,
도 11은 본 발명에 따른 모바일 기기에서 구동되는 스마트 토이의 컨트롤 앱 화면을 나타낸 것이다.
1 is a general conceptual diagram of a smart IT convergence framework system according to the present invention,
2 is a data flow diagram of a smart IT convergence framework system according to the present invention,
3 is a network diagram of a smart IT convergence framework system according to the present invention,
4 is a flowchart illustrating a communication setup procedure of a local server, a mobile device, and an Arduino according to the present invention.
5 to 8 illustrate an example of the design of the Arduino sensor module according to the present invention,
9 is an example of a smart toy implemented through a smart IT convergence framework system according to the present invention,
10 is a circuit diagram of a smart toy implemented according to the present invention;
FIG. 11 shows a control application screen of a smart toy driven by a mobile device according to the present invention.

이하, 첨부된 도면을 참조하여 본 발명이 바람직한 실시예를 상세히 설명하기로 한다. Hereinafter, preferred embodiments of the present invention will be described in detail with reference to the accompanying drawings.

도 1은 본 발명의 실시예에 따른 스마트 IT 융합 프레임워크 시스템의 전체적인 개념도를 나타낸 것이다.1 is a general conceptual diagram of a smart IT convergence framework system according to an embodiment of the present invention.

도 1에 도시된 바와 같이, 본 발명에 따른 스마트 IT 융합 프레임워크 시스템은 모바일 기기(100) 및 아두이노(300)와, 로컬 서버(200) 및 웹 서버(400)를 포함하여 이루어진다. As shown in FIG. 1, the smart IT convergence framework system according to the present invention includes a mobile device 100 and an Aduno 300, a local server 200, and a web server 400.

상기 모바일 기기(100)는 안드로이드 운영체제가 탑재된 스마트 폰 등의 스마트 기기로서, WiFi 통신을 통하여 로컬 서버(200)와 통신을 수행하여 로컬 서버(200)에 연결된 아두이노(300)의 동작을 제어하고 아두이노(300)의 동작 상태를 모니터링 하게 된다. The mobile device 100 is a smart device such as a smart phone equipped with an Android operating system and communicates with the local server 200 via WiFi communication to control the operation of the Arduino 300 connected to the local server 200 And monitors the operation status of the arduino 300.

상기 아두이노(300)는 안드로이드 운영체제 기반의 모바일 기기(100)와 호환되는 오픈소스 H/W 플랫폼으로서, 오픈 소스를 지향하는 마이크로 컨트롤러(micro controller)를 내장한 기기 제어용 보드이다. 아두이노(300)는 아두이노 보드에 다양한 센서나 부품 등의 센서 모듈을 연결할 수 있는데, 이 아두이노(300)는 컴퓨터와 연결해 소프트웨어를 로드하여 동작을 하게 되므로, 이들을 이용하여 제어용 전자 장치부터 로봇과 같은 체험형 컨텐츠를 구현할 수 있게 된다. The Arduino 300 is an open source H / W platform compatible with the mobile device 100 based on the Android operating system and is a device control board incorporating a micro controller for an open source. The Arduino 300 can connect sensor modules such as various sensors and components to the Arduino board. The Arduino 300 connects with the computer and loads software to operate. Therefore, And the like.

상기 로컬 서버(200)는 윈도우 운영체제 기반의 개인용 컴퓨터(PC)로서, 이 로컬 서버(200)는 모바일 기기(100) 및 아두이노(300)와 통신을 수행하여, 모바일 기기(100)로부터 아두이노 제어 신호를 전송받아 이를 처리함으로써 아두이노(300)의 동작을 제어하게 된다. 또한, 로컬 서버(200)는 아두이노 제어 결과를 웹 서버(400)에 전송하게 되는데, 웹 서버(400)는 로컬 서버(200)로부터 전송되는 아두이노 제어 과정 및 결과를 저장하고, 웹 페이지를 통하여 디스플레이 함으로써 사용자가 이를 확인할 수 있도록 제공하게 된다. 본 발명의 실시예에서 상기 로컬 서버(200)는 C++ 언어 기반으로 Mysql를 통해 웹 서버(400)와 연동되는데, 이는 사용자에게 웹 페이지를 통한 디스플레이 제공을 목적으로 한다. 또한, 모바일 기기(100) 및 아두이노(300)의 모든 센서는 로컬 서버(200)를 통해 서로 통신을 수행하게 되는데, 로컬 서버(200)는 모바일 기기(100) 및 아두이노(300)의 설정 완료 확인, 데이터 교환, 데이터 처리, 데이터 및 처리 결과 백업 등의 기능을 수행하게 된다. The local server 200 is a PC based on a Windows operating system and the local server 200 communicates with the mobile device 100 and the Adouino 300 to receive a message from the mobile device 100, And controls the operation of the Arduino 300 by receiving the control signal and processing it. In addition, the local server 200 transmits the result of the adunion control to the web server 400. The web server 400 stores the adonyne control process and the result transmitted from the local server 200, So that the user can confirm it. In the embodiment of the present invention, the local server 200 interacts with the web server 400 through Mysql based on the C ++ language, which aims to provide the user with a display through a web page. All the sensors of the mobile device 100 and the Adouino 300 communicate with each other through the local server 200. The local server 200 controls the setting of the mobile device 100 and the Arduino 300 Completion confirmation, data exchange, data processing, and data and processing result backup.

도 2는 본 발명의 실시예에 따른 스마트 IT 융합 프레임워크 시스템의 데이터 흐름도를 나타낸 것이다.2 is a data flow diagram of a smart IT convergence framework system according to an embodiment of the present invention.

도 2에 도시된 바와 같이, 모바일 기기(Andrioid Mobile)(100)와 아두이노(Arduino Sensor)(300) 및 로컬 서버(Local Server)(200)는 다음과 같이 초기화 단계와 데이터 교환 단계 및 오류 처리 단계를 진행하게 된다. 2, the mobile device (Andrioid Mobile) 100, the Arduino sensor 300, and the local server 200 may perform initialization, data exchange, and error handling .

- 초기화 단계 : 가장 처음 초기화 단계에서 모바일 기기(100) 및 아두이노(300)는 작동을 시작할 때 해당 기기(모바일 기기 및 아두이노 센서)의 IP 주소를 담아 Accept를 수행하게 되는데, 기기가 정상 작동됨이 확인되면 로컬 서버(200)로 초기화 코드(Set-Up Message)를 전송하게 되고, 로컬 서버(200)는 해당 코드를 입력받아 각 기기의 상태를 초기화 단계로 설정하게 된다. 모든 기기가 초기화 단계로 설정되었다고 판단되면, 로컬 서버(200)는 연결된 모든 기기들에게 일괄적으로 초기화 완료 코드를 패킷으로 전송하게 된다.- Initialization step : At the initial initialization stage, when the mobile device 100 and the Adouino 300 start to operate, they accept the IP address of the corresponding device (mobile device and arduino sensor) The local server 200 transmits a set-up message to the local server 200, and the local server 200 receives the code and sets the state of each device to the initialization step. If it is determined that all the devices are set to the initialization step, the local server 200 transmits the initialization completion code as a packet to all the connected devices.

- 데이터 교환 단계 : 초기화 완료 코드를 수신한 기기(모바일 기기 및 아두이노 센서)는 데이터가 교환할 준비가 완료되었음을 가정하고, 입력 값을 로컬 서버(200)로 전송한다. 이는 On/Off 값을 비롯한 다양한 파라미터 값을 포함한다. 로컬 서버(200)는 웹 서버(400)에 수신된 데이터 값을 저장한다. 또한, 수신된 데이터를 분석하여 모바일 기기(100)나 아두이노(300)에게 적절한 데이터 처리를 할 수 있다. 이를 통하여 아두이노(300)는 로컬 서버(200)를 경유하여 모바일 기기(100)와 상호통신 할 수 있으며 그 사이에 일어나는 모든 데이터는 웹 서버(400)에 자동으로 저장되므로, 사용자는 웹 서버(400)를 통해 보다 쉽게 데이터의 흐름을 파악하여 관리할 수 있게 된다. - Data exchange step: The device (mobile device and adunion sensor) receiving the initialization completion code transmits the input value to the local server 200, assuming that the data is ready to be exchanged. This includes various parameter values, including On / Off values. The local server 200 stores the received data value in the web server 400. [ In addition, the received data may be analyzed to provide appropriate data processing to the mobile device 100 or the Adouino 300. The user can communicate with the mobile device 100 via the local server 200 and all the data generated therebetween is automatically stored in the web server 400, 400), it is possible to more easily grasp and manage the flow of data.

- 오류 처리 단계 : 아두이노(300)의 각 센서는 외부의 환경의 변화에 매우 취약하기 때문에, 인터럽트가 발생할 상황에 따른 오류 처리가 필요하다. 본 발명에서 로컬 서버(200)는 아두이노(300)와의 데이터 교환이 일어날 때 해당 Socket 객체의 임계값(Limitied Time)을 임의의 초기값으로 갱신한다. 해당 값은 다음의 데이터 교환이 일어날 때까지 시간의 흐름에 따라 감소하게 된다. 따라서 본 발명에서 임계값을 설정하고, 설정된 임계값 이상의 시간 지연이 발생할 경우 로컬 서버(200)는 해당 아두이노(300)에 문제가 생겼다고 판단하여, 해당 아두이노(300)의 정보를 사용자에게 알려 재부팅을 권고하게 된다. 사용자는 해당 기기와 연계되어 작동하는 모든 센서에 대한 데이터 처리 여부를 설정할 수 있다. 인터럽트가 발생한 아두이노(300)가 재부팅되어 재접속을 하게 되면, 로컬 서버(200)는 해당 아두이노(300)에게 초기화 완료 코드를 보내주고 모든 기기는 정상적으로 작동하게 된다.- Error Handling Step: Since each sensor of the Arduino 300 is very vulnerable to changes in the external environment, it is necessary to handle errors according to the circumstances in which an interrupt occurs. In the present invention, the local server 200 updates the threshold value of the Socket object to an arbitrary initial value when exchanging data with the Adono 300. The value will decrease over time until the next data exchange occurs. Therefore, in the present invention, the threshold value is set, and when a time delay exceeding the set threshold value occurs, the local server 200 determines that a problem has occurred in the corresponding adunino 300 and informs the user of the information of the adunino 300 Reboot is recommended. The user can set whether or not to process data for all sensors operating in conjunction with the device. The local server 200 sends the initialization completion code to the corresponding adapter 300, and all the devices are normally operated.

상기 과정을 통하여 로컬 서버(200)와 모바일 기기(100) 및 아두이노(300)는 상호 데이터를 교환하게 되는데, 본 발명의 실시예에서 상기 모바일 기기(100) 및 아두이노(300)의 데이터 연동을 위해 로컬 서버(200)의 데이터 구조는 다음의 표 1과 같이 설계된다. The local server 200 exchanges data with the mobile device 100 and the Adouino 300 through the above process. In the embodiment of the present invention, the data linkage between the mobile device 100 and the Adouino 300 The data structure of the local server 200 is designed as shown in Table 1 below.

Figure 112016063589114-pat00001
Figure 112016063589114-pat00001

상기 표 1에서와 같이, 데이터 패킷은 길이가 기본적으로 9Bytes로 설계되었으며, 이는 각 3Bytes로 구분하여 명령어 타입, 명령어 타입에 대한 값 1, 명령어 타입에 대한 값 2로 이루어져 있다. As shown in Table 1, the data packet is basically designed to have a length of 9 bytes. The data packet is divided into 3 bytes each consisting of a command type, a value 1 for a command type, and a value 2 for a command type.

또한, 본 발명에 적용된 레고형 센서 모듈은 다음의 표 2와 같이 네 가지 타입으로 센서 번호를 부여되어 식별되게 된다.In addition, the Lego type sensor module applied to the present invention is identified by assigning sensor numbers to four types as shown in Table 2 below.

Figure 112016063589114-pat00002
Figure 112016063589114-pat00002

즉, 본 발명에서 모바일 기기(100)의 식별자는 Accept시 생성된 소켓을 기준으로 하는 한편, 아두이노(300)로 구성된 센서 모듈은 관리가 쉽고 확장성이 있도록 상기 표 2와 같은 규칙으로 번호를 설정하여 구성하였다. 상기 방법으로 센서별 번호를 부여한 뒤에 다음의 표 3과 같은 패킷설계 방법으로 로컬 서버(200)와의 통신에 사용하게 된다.That is, in the present invention, the identifier of the mobile device 100 is based on the socket generated at the time of Accept, while the sensor module composed of the Arduino 300 is numbered by the rule as shown in Table 2 Respectively. After assigning a number to each sensor according to the above method, it is used for communication with the local server 200 by the packet design method as shown in Table 3 below.

Figure 112016063589114-pat00003
Figure 112016063589114-pat00003

상기 아두이노(300)의 각 센서들은 상기 로컬 서버(200)와 데이터를 교환하게 되는데, 본 발명에서는 플랫폼에 적용할 센서 모듈 제작 시에 다음과 같은 기준을 가지고 설계하였다. Each sensor of the Arduino 300 exchanges data with the local server 200. In the present invention, the sensor module designed for the platform is designed with the following criteria.

첫째, 각 센서 모듈은 Arduino Due 칩셋(보드)을 기본으로 지역적으로 모여 있는 각 센서들을 통합하게 되는데, 이는 각 센서의 통신 단위가 Wifi 무선 통신을 기반으로 설계되며 이를 아두이노 칩셋이 관리하기 때문이다. 둘째, 각 센서 모듈에 대한 제어 사항은 명령어 형태로 관리하며, 모든 센서 모듈이 완료 메시지를 보내기 전에는 각 센서를 임의로 통제할 수 없도록 한다. 이는 모든 모듈이 중앙 서버에 의해 통제되어야 하고, 서로 동기화된 상태로 실행되어야 하기 때문이다. First, each sensor module integrates each sensor group locally based on the Arduino Due chipset (board) because the communication unit of each sensor is designed based on Wifi wireless communication and is managed by Arduino chipset . Second, the control items for each sensor module are managed in the form of commands, and each sensor module can not arbitrarily control each sensor before sending a completion message. This is because all modules must be controlled by the central server and run in sync with each other.

이러한 기준에 따라 본 플랫폼에 설정된 모든 아두이노 센서 모듈은 로컬 서버(200)에 의해 제어된다. 따라서 각 센서 모듈을 효율적으로 통제하기 위해 모든 제어 명령어는 기기 명, 명령어, 매개변수 값의 세 가지 부분을 합친 형태로 작성된다. 또한, 특정 규격을 정의함으로써 이후에 다른 기기를 추가하더라도 편리하고 쉽게 추가할 수 있도록 한다.All of the Arduino sensor modules configured on the platform according to these criteria are controlled by the local server 200. Therefore, in order to efficiently control each sensor module, all control commands are composed of three parts of device name, command, and parameter value. In addition, by defining a specific specification, it is convenient and easy to add even if other devices are added later.

이하에서는 상기의 구조로 이루어진 스마트 IT 융합 프레임워크 시스템의 구체적인 실시예를 설명하기로 한다. Hereinafter, a concrete embodiment of the smart IT convergence framework system having the above structure will be described.

도 3은 본 발명의 실시예에 따른 스마트 IT 융합 프레임워크 시스템의 네트워크 연결도를 나타낸 것이다. 3 is a network diagram of a smart IT convergence framework system according to an embodiment of the present invention.

도 3에 도시된 바와 같이, 로컬 서버(200)는 모바일 기기(100)와 아두이노(300) 및 웹 서버(400)와 통신을 수행하게 되는데, 하나의 로컬 서버(200)에는 공유기(210)가 구비되어 복수(N)의 모바일 기기(100) 및 아두이노(300)가 연결되고, 하나의 웹 서버(400)에는 복수(N)의 로컬 서버(200)가 연결될 수 있다.  3, the local server 200 communicates with the mobile device 100, the aduno 300, and the web server 400. The local server 200 includes a router 210, A plurality of N mobile devices 100 and an Arduino 300 are connected and a plurality of N local servers 200 may be connected to one web server 400. [

상기 모바일 기기(100)는 안드로이드 기반의 스마트 기기로서 통상의 카메라(110)와 WiFi 모듈(120)이 구비되는데, 이 모바일 기기(100)는 WiFi 통신을 통해 로컬 서버(200)와 연동하면서 약속된 패킷을 통해 데이터를 송수신하게 된다. The mobile device 100 includes an ordinary camera 110 and a WiFi module 120 as an Android-based smart device. The mobile device 100 is connected to the local server 200 through WiFi communication, Data is transmitted and received through a packet.

상기 로컬 서버(200)는 모바일 기기(100)와 아두이노(300)의 데이터 흐름을 관리하며, 모바일 기기(100)와 아두이노(300)의 데이터를 분석 및 처리하여 다시 피드백을 주는 역할을 수행하게 된다.The local server 200 manages the data flow of the mobile device 100 and the Adouino 300 and analyzes and processes the data of the mobile device 100 and the Adouino 300 to provide feedback .

상기 아두이노(300)는 마이크로 컨트롤러 및 WiFi 모듈(311)이 탑재된 아두이노 보드(310)에 센서 인터페이스를 통하여 복수의 센서 모듈(320)이 연결되어 이루어진다. 상기 아두이노 보드(310)는 연결되는 각종 디지털 또는 아날로그 센서 모듈(320)의 데이터를 읽어들여, WiFi 모듈(311)을 통해 로컬 서버(200)로 전송하고, 로컬 서버(200)로부터 온 피드백에 따라 센서 모듈(320)을 제어하는 역할을 수행하게 된다. 상기 아두이노 보드(310)에 연결되는 센서 모듈(320)에는 압력 센서(321), 자물쇠 센서(322), RFID 센서(323), LED(324), 릴레이(325), Solenoid(326) 등 다양한 센서가 포함될 수 있다. The Arduino 300 is connected to a plurality of sensor modules 320 through a sensor interface to an Arduino board 310 on which a micro controller and a WiFi module 311 are mounted. The ADC 310 reads the data of the various digital or analog sensor modules 320 connected to the local server 200 and transmits the data to the local server 200 via the WiFi module 311, And controls the sensor module 320 accordingly. A variety of sensors, such as a pressure sensor 321, a lock sensor 322, an RFID sensor 323, an LED 324, a relay 325, and a solenoid 326 are connected to the sensor module 320 connected to the aruba- Sensors may be included.

상기 웹 서버(400)는 로컬 서버(200)와 인터넷 망 등의 네트워크를 통하여 연결되어, 로컬 서버(200)로부터 모바일 기기(100) 및 아두이노(300)와 송수신되는 데이터를 전송받아 저장하고, 이를 디스플레이하여 사용자가 웹 상에서 확인할 수 있도록 제공하게 된다. The web server 400 is connected to the local server 200 through a network such as the Internet network and receives and stores data transmitted from the local server 200 and the mobile device 100 and the Aduno 300, And displays it so that the user can check it on the web.

도 4는 본 발명의 실시예에 따른 로컬 서버와 모바일 기기 및 아두이노의 통신 설정 과정을 나타낸 흐름도이다. 4 is a flowchart illustrating a communication setup process of a local server, a mobile device, and an Arduino according to an exemplary embodiment of the present invention.

도 4에 도시된 바와 같이, 아두이노 센서 모듈(320)과 모바일 기기(100) 및 로컬 서버(200)가 구동하여 초기화 과정을 수행하는데, 초기화 과정에서는 아두이노 센서 모듈(320)과 모바일 기기(100) 및 로컬 서버(200) 순으로 진행을 완료하여, 실질적 동작을 시작하게 된다(S100, S200, S300).4, the arpeggio sensor module 320, the mobile device 100, and the local server 200 are driven to perform an initialization process. In the initialization process, the arpeggio sensor module 320 and the mobile device 100, and the local server 200, and starts the actual operation (S100, S200, S300).

아두이노 보드(310)에 연결된 센서 모듈(320) 전체에 대한 초기화가 성공적으로 이루어지면(S110, S310), 로컬 서버(200)는 모바일 기기(100)에 동작 허가 신호를 보내 모바일 기기(100) 및 아두이노 센서 모듈(320)과 통신을 수행하게 된다(S210). The local server 200 sends an operation permission signal to the mobile device 100 to initialize the entire sensor module 320 connected to the mobile device 100, And the ink-in sensor module 320 (S210).

아두이노(300) 및 모바일 기기(100)는 사용자 입력을 통하여 데이터를 입력받고(S120, S220), 미리 약속되어 있는 패킷을 통해 로컬 서버(200)와 데이터 송수신을 하게 된다(S130, S230, S330). 아두이노(300)와 모바일 기기(100) 및 로컬 서버(200)는 데이터를 송수신 할 경우 비동기 진행을 통해 실시간으로 통신을 수행하게 된다. The Adouino 300 and the mobile device 100 receive data through user input in steps S120 and S220 and transmit and receive data to and from the local server 200 through the predefined packets in steps S130, ). The mobile device 100 and the local server 200 communicate with each other in real time through asynchronous processing when transmitting and receiving data.

도 5는 본 발명에 따른 아두이노 센서 모듈의 설계 일례를 나타낸 것이다. 5 shows an example of the design of the Arduino sensor module according to the present invention.

도 5에 도시된 아두이노 센서 모듈(320)은 아두이노 보드(310)에 FSR(압력 센서), ESP8266(WiFi Module), Relay 모듈과 LED 및 Solenoid, DC 12V 2개가 연결되어, Arduino Due 칩셋과 압력 센서(FSR), WiFi 모듈(ESP8266), LED, Solenoid와 연동하게 개발되었다. 본 모듈은 압력 값이 들어오면 Relay 모듈을 이용하여 LED와 Solenoid에 전원을 공급하는 역할을 하게 된다. 본 센서 모듈은 압력에 의해 물건을 낙하시키고 시선을 집중시키기 위해 고안된 장치로서, 통신은 ESP 8266 칩셋 모델을 이용하여 WiFi 통신을 하며, 명령어는 표 3에 포함된 규약을 사용하게 된다.The Arduino sensor module 320 shown in FIG. 5 has FSR (Pressure Sensor), ESP8266 (WiFi Module), Relay module, LED and Solenoid, DC 12V connected to the Arduino board 310, Pressure sensor (FSR), WiFi module (ESP8266), LED, Solenoid. This module is used to supply power to the LED and solenoid using the relay module when the pressure value is received. This sensor module is designed to drop objects by pressure and focus attention. Communication uses WiFi communication using ESP 8266 chipset model. The command uses the protocol included in Table 3.

도 6은 본 발명에 따른 아두이노 센서 모듈의 다른 설계 일례를 나타낸 것이다. 6 shows another example of the design of the Arduino sensor module according to the present invention.

도 6에 도시된 아두이노 센서 모듈(320)은 아두이노 보드(310)에 ESP8266(WiFi Module), Relay Module 및 Solenoid, DC 12V 2개가 연결되어, Arduino Due 칩셋과 WiFi 모듈, Solenoid를 연동하여 로컬 서버(200)에서 WiFi 모듈을 통해 명령을 전달하면 Relay 모듈을 통해 Solenoid을 제어하는 역할을 하게 된다. Arduino Due 칩셋과 각 센서에 전원을 공급하기 위해서 DC 전원은 총 12V DC 전원이 2개 사용되며, 통신은 ESP 8266 칩셋 모델을 이용하여 WiFi 통신을 하며 명령어는 표 3에 포함된 규약을 사용한다.The Arduino sensor module 320 shown in FIG. 6 is connected to the Arduino board 310 with two ESP8266 (WiFi modules), a Relay module and a solenoid and DC 12V. The Arduino Due chipset, the WiFi module, When the server 200 transmits a command through the WiFi module, it controls the solenoid through the relay module. To supply power to Arduino Due chipset and each sensor, two 12V DC power sources are used for DC power supply, and communication uses WiFi communication using ESP 8266 chipset model.

도 7은 본 발명에 따른 아두이노 센서 모듈의 또 다른 설계 일례를 나타낸 것이다. 7 shows another example of the design of the Arduino sensor module according to the present invention.

도 7에 도시된 아두이노 센서 모듈(320)은 아두이노 보드(320)에 ESP8266(WiFi Module), RFID-RC522 4개, DC 12V 1개가 연결되어, Arduino Due 칩셋과 WiFi 모듈, RFID-RC522 모듈 4개와 연동한다. 각 RFID 리더기에 RFID 태그가 연결되어 모든 리더기에 신호가 오면 특정 값을 서버로 보내는 역할을 한다. 상기 아두이노 센서 모듈은 특정 물체들의 순서 배치를 판단하는 역할을 하는데, 통신은 ESP 8266 칩셋 모델을 이용하여 WiFi 통신을 하며, 명령어는 표 3에 포함된 규약을 사용한다. DC 전원은 총 DC 12V 전원이 1개 사용된다.The Arduino sensor module 320 shown in FIG. 7 includes an Arduino Due chipset, a WiFi module, and an RFID-RC522 module, which are connected to the Arduino board 320 with four ESP8266 (WiFi Module) It works with four. When RFID tags are connected to each RFID reader and a signal is received from all readers, it transmits a specific value to the server. The Arduino sensor module determines the order of specific objects. The communication uses WiFi communication using the ESP 8266 chipset model. The command uses the protocol included in Table 3. One DC 12 V power source is used for DC power.

도 8은 본 발명에 따른 아두이노 센서 모듈의 다른 설계 일례를 나타낸 것이다. 8 shows another example of the design of the Arduino sensor module according to the present invention.

도 8에 도시된 아두이노 센서 모듈(320)은 아두이노 보드(310)에 ESP8266(WiFi Module), RFID-RC522, FSR(압력 센서), DC 12V 2개가 연결되어, Arduino Due 칩셋과 WiFi 모듈, RFID-RC522 모듈과 압력 센서를 연동하여 각 RFID 리더기에 RFID 태그가 연결되며 동시에 압력 값이 들어오면 특정 값을 서버로 보내는 역할을 하게 된다. 이 모듈은 프로토타입에서 특정 물체 위치에 어떤 물체가 올라오는 지를 체크하는 모듈로서, 통신은 ESP 8266 칩셋 모델을 이용하여 WiFi 통신을 하며 명령어는 표 3에 포함된 규약을 사용한다. DC 전원은 총 DC 12V 전원이 1개 사용된다.The Arduino sensor module 320 shown in FIG. 8 includes an Arduino Due chipset, a WiFi module, and a Bluetooth module connected to the Arduino board 310 with two ESP8266 (WiFi Module), RFID-RC5222, FSR (pressure sensor) The RFID-RC522 module and the pressure sensor are connected to each other, and the RFID tag is connected to each RFID reader. At the same time, when the pressure value is inputted, the specific value is sent to the server. This module is a module to check what objects come into a certain object position in the prototype. The communication uses WiFi communication using ESP 8266 chipset model, and the command uses the protocol included in Table 3. One DC 12 V power source is used for DC power.

상기의 구성으로 조합되는 아두이노 센서 모듈(320)은 전원이 연결되는 즉시 해당 센서 모듈의 셋업이 완료되었다는 내용을 로컬 서버(200)로 전달하게 되며, IOT 환경에 필요한 모든 기기들이 셋업 되는 순간 서버는 이를 통제하기 시작한다. 이를 사용하는 사용자 또는 관리자는 모바일 기기(100)에 설치된 앱 또는 웹 환경에서 GUI 형태로 각 기기를 통제하며, 직접적으로 서버 자체에서 명령어를 기기로 보낼 수 있게 된다. Upon connection of the power source, the Arundinosensor Module 320 transmits to the local server 200 that the setup of the corresponding sensor module is completed. When all devices necessary for the IOT environment are set up, He starts to control it. A user or an administrator using the device controls each device in the form of a GUI in an app or a web environment installed in the mobile device 100, and can directly send a command to the device from the server itself.

상기 모바일 기기(100)는 IoT 환경에서 아두이노 센서 모듈(320)을 통제하기 위해 IT 융합 프레임워크에서 다음과 같은 기능이 구비된다. The mobile device 100 has the following functions in an IT convergence framework to control the adonino sensor module 320 in the IoT environment.

먼저, 모바일 기기(100)는 네트워크 연결 기능이 있어야 하는데, 본 발명에서는 모바일 기기(100)를 IoT 환경에 연결시키기 위해 Wi-Fi 망을 이용한다. 기본적으로 외부 인터넷 망과 연결될 필요가 없기 때문에 폐쇄적인 Wi-Fi 망을 구축하고, TCP/IP 프로토콜을 사용해 서버와의 연결을 시도한다. 이때 폐쇄적인 망이기 때문에 따로 포트포워딩은 구현하지 않았으며, 누락될 메시지가 생기지 않도록 비동기 입출력 함수를 사용하게 된다. First, the mobile device 100 must have a network connection function. In the present invention, a Wi-Fi network is used to connect the mobile device 100 to the IoT environment. Basically, it does not need to be connected to an external Internet network, so it constructs a closed Wi-Fi network and tries to connect to the server using TCP / IP protocol. In this case, port forwarding is not implemented because it is a closed network, and asynchronous input / output function is used so that a message to be missed is not generated.

또한, 모바일 기기(100)는 미리 약속된 패킷을 통해 이벤트를 발생시키게 되는데, 서버와 비동기 I/O 함수를 이용해 통신하며 받아온 패킷을 다음의 표 4와 같은 구조로 해석해 안드로이드 기기 상에 보이는 UI를 변경하거나 사용자가 안드로이드 기기를 조작할 때 일치되는 명령을 패킷화하여 서버로 전달하게 된다.In addition, the mobile device 100 generates an event through a predetermined packet. The packet received and communicated by using the server and the asynchronous I / O function is interpreted as shown in Table 4 below to display a UI on the Android device When the user changes or operates the Android device, the corresponding command is packetized and transmitted to the server.

Figure 112016063589114-pat00004
Figure 112016063589114-pat00004

또한, 다양한 센서들을 활용한 모바일 기기(100)에서의 콘텐츠 제작으로, 본 발명에서는 모바일 기기(100)에 Unity3D 내장 기능인 Web Cam 기능, 펜이나 손가락을 이용한 필기형 메모장 기능이 구현된다. Web Cam 기능을 모바일 환경에서 사용하게 되면 기기 내의 카메라(110)를 사용할 수 있게 된다. 이 기능을 사용해 사진을 촬영하고 이 사진의 픽셀 색상 데이터를 기준 색상과 비교하여 일치도가 90% 이상 되었을 때, 이벤트 발생 기능을 발현시켜 로직을 처리하게 된다. 본 발명의 실시예에서는 기본적으로 Unity3D 내장 함수인 LineRender 함수를 사용하였고, 사용자가 메모하는 것을 저장할 목적으로 만든 기능이기 때문에 다른 화면으로 이동했다 복귀해도 그대로 남아있도록 설계된다.In addition, in the present invention, a Web Cam function, which is a built-in Unity 3D function, and a handwritten notepad function using a pen or a finger, are implemented in the mobile device 100 in the present invention. When the Web Cam function is used in a mobile environment, the camera 110 in the device can be used. This function is used to take a picture and compares the pixel color data of the picture with the reference color, and when the match degree reaches 90% or more, the event generation function is generated and the logic is processed. In the embodiment of the present invention, the LineRender function, which is a Unity3D built-in function, is basically used and is designed to store a memo that the user has memorized.

도 9는 본 발명의 실시예에 따른 스마트 IT 융합 프레임워크 시스템을 통하여 구현된 스마트 토이의 일례이고, 도 10은 스마트 토이의 회로 구성도를 나타낸 것이다. 도 9 및 도 10에 도시된 스마트 토이는 프로세서로 아두이노 우노를 사용하였고, 모터의 구동을 위해 모터 드라이버를 사용하였다. 블루투스 HC-06 모듈을 사용해 스마트폰과 통신을 한다. FIG. 9 is an example of a smart toy implemented through a smart IT fusion framework system according to an embodiment of the present invention, and FIG. 10 is a circuit configuration diagram of a smart toy. The smart toy shown in Fig. 9 and Fig. 10 uses Adouinoo as a processor and uses a motor driver to drive the motor. Use the Bluetooth HC-06 module to communicate with your smartphone.

도 11은 본 발명의 실시예에 따른 모바일 기기에서 구동되는 스마트 토이의 컨트롤 앱 화면을 나타낸 것이다. 도 11에 도시된 바와 같이, 스마트 토이 컨트롤 앱 화면에서 중앙부의 블루투스 연결버튼으로 로컬 서버(200)를 통하여 스마트 토이와의 상호 연결을 시도하고, A 버튼으로 전진, R 버튼으로 후진, 좌우 화살표로 좌,우회전을, stop 버튼으로 정지 명령을 전달하게 된다. FIG. 11 shows a control application screen of a smart toy operating in a mobile device according to an embodiment of the present invention. As shown in FIG. 11, in the smart toy control application screen, an attempt is made to connect with the smart toy through the local server 200 through the Bluetooth connection button in the central part, and the user pushes the A button to move forward, the R button to move backward, The stop command is transmitted to the left, the right turn, and the stop button.

이와 같이, 본 발명에 따른 스마트 IT 융합 프레임워크 시스템은 레고형 센서 모듈을 활용하여 IoT 환경에서의 다양한 콘텐츠 제작에 효율적으로 적용할 수 있도록 하고 있다. 특히, IoT 환경에서의 웹 서버(400) 및 로컬 서버(200), 아두이노(300), 모바일 기기(100) 간의 통신의 구현을 통해 프레임워크가 갖추어야 할 사항들을 제안하고, 제안 사항들을 적용한 프레임워크의 프로토타입을 구현함으로써, 스마트 토이 게임 등 IOT 환경에서 다양한 센서 모듈들을 활용한 콘텐츠 제작에 효율적으로 적용할 수 있게 된다. As described above, the smart IT convergence framework system according to the present invention makes it possible to efficiently apply various contents production in the IoT environment by utilizing the Lego type sensor module. In particular, the proposed framework proposes items to be provided by the framework through the implementation of communication between the web server 400 and the local server 200 in the IoT environment, the Arduino 300, and the mobile device 100, By implementing the prototype of the work, it is possible to efficiently apply it to contents production utilizing various sensor modules in IOT environment such as smart toy game.

이러한 본 발명은 상술한 실시예에 한정되는 것은 아니며 본 발명이 속하는 기술 분야에서 통상의 지식을 갖는 자에 의해 본 발명의 기술사상과 아래에 기재될 특허청구 범위의 균등범위 내에서 다양한 수정 및 변형이 이루어질 수 있음은 물론이다. It is to be understood that the present invention is not limited to the above-described embodiment, and that various modifications and changes may be made by those skilled in the art without departing from the spirit and scope of the appended claims. Of course, can be achieved.

100 : 모바일 기기 110 : 카메라
120 : WiFi 모듈 200 : 로컬 서버
210 : 공유기 300 : 아두이노
310 : 아두이노 보드 311 : WiFi 모듈
320 : 센서 모듈 321 : 압력 센서
322 : 자물쇠 센서 323 : RFID 센서
324 : LED 325 : 릴레이
326 : Solenoid 400 : 웹 서버
100: mobile device 110: camera
120: WiFi module 200: Local server
210: Router 300: Arduino
310: Arduino board 311: WiFi module
320: sensor module 321: pressure sensor
322: lock sensor 323: RFID sensor
324: LED 325: Relay
326: Solenoid 400: Web server

Claims (8)

무선 통신 기능이 구비되며 안드로이드 기반의 앱이 설치되어 구동되는 모바일 기기(100)와; 무선 통신 기능이 구비되며 센서 인터페이스를 통하여 센서 모듈(320)과 연결되어 센서 모듈(320)의 동작을 제어하는 마이크로 컨트롤러가 구비된 아두이노 보드(310)와; 상기 모바일 기기(100) 및 아두이노 보드(310)와 무선 통신을 설정하여 데이터를 송수신하며, 상기 모바일 기기(100)에 설치되어 구동되는 앱의 제어 신호에 따라 아두이노 보드(310)에 연결된 센서 모듈(320)의 동작을 제어하는 로컬 서버(200);를 포함하는 스마트 IT 융합 프레임워크 시스템으로서,
상기 로컬 서버(200)는 상기 모바일 기기(100)와 아두이노 보드(310)에 연결된 센서 모듈(320)로부터 초기화 코드를 각각 전송받아, 모바일 기기(100) 및 아두이노 보드(310)에 연결된 센서 모듈(320)에게 일괄적으로 초기화 완료코드를 패킷으로 전송한 후, 상기 모바일 기기(100)와 아두이노 보드(310)에 연결된 센서 모듈(320)로부터 데이터를 입력받아 처리하고, 모바일 기기(100)와 아두이노 보드(310)의 통신을 중계하며,
상기 로컬 서버(200)는 아두이노 보드(310)에 연결된 센서 모듈(320)의 종류에 따라 각각 센서 번호를 부여하여 식별하고, 아두이노 보드(310)에 새로운 센서 모듈(320)이 추가되는 경우 추가되는 센서 모듈(320)의 종류에 따라 새로운 센서 번호를 부여하여 센서 번호를 확장하되, 상기 아두이노 보드(310)에 연결된 센서 모듈(320) 중 LED(324), 압력 센서(321), 자물쇠 센서(322)를 조합하여 하나의 센서 번호(xx1)를 부여하고, 자물쇠 센서(322)에 대해 다른 센서 번호(xx2)를 부여하며, 복수의 RFID 센서(323)를 조합하여 또 다른 센서 번호(xx3)를 부여하고, 압력 센서(321), RFID 센서(323)를 조합하여 다른 센서 번호(xx4)를 부여하는 것을 특징으로 하는 스마트 IT 융합 프레임워크 시스템.
A mobile device 100 having a wireless communication function and an Android-based app installed and operated; An ADC 310 having a microcontroller connected to the sensor module 320 through a sensor interface to control the operation of the sensor module 320; And transmits and receives data by establishing wireless communication with the mobile device 100 and the adonaboard 310. The mobile device 100 transmits and receives data to and from the mobile device 100, A smart IT convergence framework system comprising a local server (200) for controlling the operation of a module (320)
The local server 200 receives the initialization code from the mobile device 100 and the sensor module 320 connected to the adonyno board 310 and transmits the initialization code to the mobile device 100 and the sensor The mobile device 100 receives data from the sensor module 320 connected to the mobile device 100 and the mobile device 100 and transmits the initialization completion code as a packet to the mobile device 100 ) And the communication board 310,
The local server 200 identifies and identifies the sensor number according to the type of the sensor module 320 connected to the adonyno board 310. When a new sensor module 320 is added to the adonyno board 310 A sensor number is extended by adding a new sensor number according to the type of the added sensor module 320 so that the LED 324, the pressure sensor 321, the padlock 321 of the sensor module 320 connected to the adonaboard 310, The sensors 322 are combined to give one sensor number xx1 and the lock sensor 322 is given a different sensor number xx2 and the plurality of RFID sensors 323 are combined to generate another sensor number xx2 and the sensor number (xx4) is given by combining the pressure sensor (321) and the RFID sensor (323).
제 1항에 있어서,
상기 모바일 기기(100)와 아두이노 보드(310)에는 WiFi 통신을 수행하는 WiFi 모듈(120)(311)이 구비되고, 상기 로컬 서버(200)에는 공유기(210)가 구비되어,
하나의 로컬 서버(200)에 복수의 모바일 기기(100) 및 아두이노 보드(310)가 연결되어 통신을 수행하는 것을 특징으로 하는 스마트 IT 융합 프레임워크 시스템.
The method according to claim 1,
WiFi modules 120 and 311 for performing WiFi communication are provided in the mobile device 100 and the adonyno board 310. A router 200 is provided in the local server 200,
A smart IT convergence framework system, wherein a plurality of mobile devices (100) and an ascending board (310) are connected to one local server (200) to perform communication.
삭제delete 제 1항에 있어서,
상기 로컬 서버(200)는
상기 아두이노 보드(310)에 연결된 센서 모듈(320)과의 데이터 송수신시, 설정된 타임 임계값 이상의 시간이 지연이 발생하는 경우 해당 아두이노 센서 모듈(320)에 문제가 발생한 것으로 판단하여 경고하는 것을 특징으로 하는 스마트 IT 융합 프레임워크 시스템.
The method according to claim 1,
The local server (200)
When data is transmitted / received to / from the sensor module 320 connected to the electrode board 310, if a time longer than a predetermined time threshold value occurs, it is determined that a problem has occurred in the corresponding electrode module 320 and a warning is given Smart IT convergence framework system that features.
삭제delete 삭제delete 제 1항에 있어서,
상기 로컬 서버(200)는 아두이노 보드(310)에 연결된 센서 모듈(320)의 동작을 제어하기 위하여, 제어 대상이 되는 기기명, 명령어, 매개 변수 값이 포함된 제어 명령어를 아두이노 보드(310)에 전송하는 것을 특징으로 하는 스마트 IT 융합 프레임워크 시스템.
The method according to claim 1,
The local server 200 transmits a control command including an apparatus name, an instruction word, and a parameter value to be controlled, to the adonyno board 310, in order to control the operation of the sensor module 320 connected to the adonyno board 310. [ To the smart IT convergence framework system.
제 1항에 있어서,
상기 로컬 서버(200)는 통신망을 통하여 웹 서버(400)와 연결되어, 상기 모바일 기기(100) 및 아두이노 보드(310)와의 통신에 따라 발생하는 데이터를 전송하며,
상기 웹 서버(400)는 로컬 서버(200)로부터 전송되는 데이터를 저장하고, 웹 페이지를 통하여 디스플레이하여 사용자에게 제공하는 것을 특징으로 하는 스마트 IT 융합 프레임워크 시스템.
The method according to claim 1,
The local server 200 is connected to the web server 400 through a communication network and transmits data generated according to communication with the mobile device 100 and the adouno board 310,
The web server 400 stores data transmitted from the local server 200, displays the web page, and provides the web page to the user.
KR1020160082788A 2016-06-30 2016-06-30 Smart IT Convergence Framework System Applying a Lego-typed Sensor Module KR101847271B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020160082788A KR101847271B1 (en) 2016-06-30 2016-06-30 Smart IT Convergence Framework System Applying a Lego-typed Sensor Module

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020160082788A KR101847271B1 (en) 2016-06-30 2016-06-30 Smart IT Convergence Framework System Applying a Lego-typed Sensor Module

Publications (2)

Publication Number Publication Date
KR20180003225A KR20180003225A (en) 2018-01-09
KR101847271B1 true KR101847271B1 (en) 2018-04-09

Family

ID=61000792

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020160082788A KR101847271B1 (en) 2016-06-30 2016-06-30 Smart IT Convergence Framework System Applying a Lego-typed Sensor Module

Country Status (1)

Country Link
KR (1) KR101847271B1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20210075819A (en) * 2019-12-13 2021-06-23 최영웅 Apparatus and method for contorlling equipments in smart farm system

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR102266990B1 (en) * 2019-11-08 2021-06-18 한국건설기술연구원 System for managing insfection work of railway facility based on augmented reality, and method for the same
KR102473440B1 (en) 2022-01-12 2022-12-02 주식회사센트리온 Intergrated sensor module for smart farm and control method thereof

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
Nathan David 외 3인, "Design of a Home Automation System Using Arduino", International Journal of Scientific & Engineering Research, Volume 6, Issue 6(2015. 6.)*

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20210075819A (en) * 2019-12-13 2021-06-23 최영웅 Apparatus and method for contorlling equipments in smart farm system
KR102277855B1 (en) 2019-12-13 2021-07-15 최영웅 Apparatus and method for contorlling equipments in smart farm system

Also Published As

Publication number Publication date
KR20180003225A (en) 2018-01-09

Similar Documents

Publication Publication Date Title
CN104735143B (en) A kind of lot control system and method based on smart home cloud platform
KR102350430B1 (en) Over-the-air provisioning and configuration of hardware elements in a home automation system
US10327315B2 (en) Lighting apparatus and lighting system supporting a mesh network
KR101847271B1 (en) Smart IT Convergence Framework System Applying a Lego-typed Sensor Module
US20130179825A1 (en) System and method of managing states of computer screen and controlling mobile communication terminal
JP2018129021A (en) Field device control management method and device based on industrial internet operating system
KR20100004951A (en) Ubiquitous sensor network system and method of configuring the same
CN104702665A (en) Information sharing method and information sharing device
KR102396822B1 (en) Device and method for controlling the same
CN104780054A (en) Gateway used for controlling local area network to wake up or sleep
CN107431613B (en) System and method for supporting application development of movable objects
CN107741884B (en) Method and device for realizing message pushing by hierarchical state machine
CN105871995A (en) Method for controlling intelligent device by router and the router
CN108449246A (en) A kind of intelligent domestic system based on instant message applications Yu Internet of Things Network Communication
CN104869253A (en) Method and system for connecting mobile terminal to intelligent dressing mirror
CN105812413A (en) Communication method and device
KR102017631B1 (en) Terminal apparatus and method for transmitting and receiving data
CN106302093B (en) Communication method, system and server
CN104092661A (en) Serial port communication method and apparatus of virtual machines
CN106850554B (en) Method and device for dual-system directional connection
CN104243483A (en) Message processing method and message processing equipment
CN105392109B (en) Wireless connection method and device
CN103199902B (en) The method and system of access bluetooth equipment
CN103905513A (en) Electronic device remote control system and method
JP6044009B2 (en) Information processing apparatus, destination information update method, and program

Legal Events

Date Code Title Description
A201 Request for examination
E902 Notification of reason for refusal
E701 Decision to grant or registration of patent right
GRNT Written decision to grant