KR20180041356A - System and method for socializing distributed machines based on web server - Google Patents

System and method for socializing distributed machines based on web server Download PDF

Info

Publication number
KR20180041356A
KR20180041356A KR1020160133387A KR20160133387A KR20180041356A KR 20180041356 A KR20180041356 A KR 20180041356A KR 1020160133387 A KR1020160133387 A KR 1020160133387A KR 20160133387 A KR20160133387 A KR 20160133387A KR 20180041356 A KR20180041356 A KR 20180041356A
Authority
KR
South Korea
Prior art keywords
collaborative
information
web server
user terminal
collaboration
Prior art date
Application number
KR1020160133387A
Other languages
Korean (ko)
Other versions
KR101971170B1 (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 KR1020160133387A priority Critical patent/KR101971170B1/en
Publication of KR20180041356A publication Critical patent/KR20180041356A/en
Application granted granted Critical
Publication of KR101971170B1 publication Critical patent/KR101971170B1/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/10Protocols in which an application is distributed across nodes in the network
    • 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/02Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/18Multiprotocol handlers, e.g. single devices capable of handling multiple protocols

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • Computer And Data Communications (AREA)

Abstract

The present invention relates to a system and a method for distributed type device cooperation based on a web server. The present invention includes: a user terminal which generates an event by generating work information defining the order of cooperation devices for a desired work; a web server which includes a JSON schema storing information of a plurality of devices; a plurality of cooperation devices which determine whether the turn of a user came or not by comparing device information stored in the JSON schema with device information about cooperation device, to be operated at first, included in work information generated by the user terminal when an event occurs in the user terminal and include a micro controller which controls to perform work in the case of the turn of the user; and a wired/wireless router which provides a connection path between the user terminal and the plurality of cooperation devices. The present invention can solve problems of insufficient resources of a wired/wireless router as clients connecting to the router or requests from the clients increase.

Description

웹 서버 기반의 분산형 기기간 협업 시스템 및 방법{SYSTEM AND METHOD FOR SOCIALIZING DISTRIBUTED MACHINES BASED ON WEB SERVER}TECHNICAL FIELD [0001] The present invention relates to a collaborative system and method for distributed apparatuses based on a web server,

본 발명은 유무선 공유기에 접속하는 클라이언트가 많아지거나 클라이언트로부터의 요청이 증가함에 따른 유무선 공유기의 부족한 자원에 대한 문제를 해결할 수 있는 웹 서버 기반의 분산형 기기간 협업 시스템 및 방법에 관한 것이다.The present invention relates to a Web server-based distributed inter-device collaboration system and method capable of solving the problem of insufficient resources of a wire / wireless router due to an increase in the number of clients connecting to the router or an increase in requests from clients.

최근 사물인터넷(Internet of Things, 이하, 'IOT'라 칭함)에 대한 관심이 집중되고 있다. 이 예로서 구글(Google)의 홈 온도제어 시스템인 ‘Nest’와, 13개의 안테나를 가지고 효율적인 채널을 골라서 무선 랜 서비스를 제공하는 ‘On Hub' 등이 있다. 이와 같이 IoT가 기반이 되는 플랫폼으로부터 시작해서 네트워크, 보안, 및 스마트 홈 등의 연구가 활발히 진행되고 있다.Recently, attention has been focused on the Internet of Things (IOT). For example, Google's home temperature control system, 'Nest', and 'On Hub', which provides a wireless LAN service by selecting an efficient channel with 13 antennas. In this way, researches on network, security, smart home, etc. are being actively started from a platform on which IoT is based.

한편, 종래의 협업 시스템은 중앙집중형 기기간 협업 시스템으로서 공유기에 OpenWrt를 구축하고 APMsetup 혹은 IIS(Internet Information Service)와 같은 웹 서버를 구축하여 활용하였다. 웹 서버는 공유기에 접속하는 모든 기기를 제어하고 기기로부터의 요청을 처리한다. 그러나, 공유기에 접속하는 클라이언트가 많아지거나 클라이언트로부터의 요청이 증가하면 데이터의 손실 및 병목현상이 발생하고, 이로 인해 응답시간이 길어지거나 작업이 중단되는 문제점이 있었다.On the other hand, the conventional collaboration system is a centralized inter-device collaboration system, in which OpenWrt is built in the router and a web server such as APM setup or IIS (Internet Information Service) is constructed and utilized. The web server controls all devices connected to the router and processes requests from the devices. However, when there are a large number of clients connecting to the router or an increase in the number of requests from the clients, data loss and bottlenecks occur. As a result, the response time becomes longer or the operation is interrupted.

이에 본 출원인은 유무선 공유기의 부족한 자원에 대한 문제를 해결할 수 있는 웹 서버 기반의 분산형 기기간 협업 시스템을 제안하게 되었으며, 이와 관련된 선행기술문헌으로는 한국등록특허 제10-1319815호(발명의 명칭: 멀티 단말 장치 간 서버-클라이언트 서비스 환경을 지원하는 앱 구동 방법, 등록일: 2013.10.12.)가 있다.Accordingly, the applicant of the present invention has proposed a web server-based distributed inter-device collaboration system capable of solving the problem of scarce resources of a router, and related prior art documents include Korean Patent No. 10-1319815 entitled " A method of operating an application supporting a server-client service environment between multi-terminal devices, registered on October 12, 2013).

본 발명은 상기한 바와 같은 문제점을 해결하기 위하여 안출된 것으로서, 유무선 공유기에 접속하는 클라이언트가 많아지거나 클라이언트로부터의 요청이 증가함에 따른 유무선 공유기의 부족한 자원에 대한 문제를 해결할 수 있는 웹 서버 기반의 분산형 기기간 협업 시스템 및 방법을 제공하는 데 그 목적이 있다.SUMMARY OF THE INVENTION The present invention has been made in order to solve the above-mentioned problems, and it is an object of the present invention to provide a web server-based distributed system capable of solving the problem of insufficient resources of the router due to an increase in the number of clients accessing the router, The present invention provides a system and method for inter-device collaboration.

이와 같은 목적을 달성하기 위한 본 발명은, 원하는 작업을 위한 협업 기기의 순서를 정의하는 작업 정보를 생성하여 이벤트를 발생시키는 사용자 단말; 다수의 기기 정보를 저장하는 Json 스키마를 포함하는 웹 서버; 상기 사용자 단말에서 이벤트가 발생한 경우, 상기 사용자 단말에 의해 생성된 작업 정보에 포함된 첫 번째로 동작시킬 협업 기기에 대한 기기 정보와 상기 Json 스키마에 저장된 기기 정보를 비교하여 자신의 차례인지 여부를 판단하고, 자신의 차례인 경우 작업을 수행하도록 제어하는 마이크로 컨트롤러를 포함하는 다수의 협업 기기; 및 상기 사용자 단말과 상기 다수의 협업 기기 사이에 접속 경로를 제공하는 유무선 공유기;를 포함하는 웹 서버 기반의 분산형 기기간 협업 시스템을 제공한다.In order to achieve the above object, according to the present invention, there is provided a user terminal for generating work information for defining a sequence of a collaborative apparatus for a desired work to generate an event; A web server including a Json schema storing a plurality of device information; When an event occurs in the user terminal, the device information for the first collaborative device included in the job information generated by the user terminal is compared with the device information stored in the Json schema, And a microcontroller for controlling the microcontroller to perform a task in the case of its own turn; And a wireless router for providing a connection path between the user terminal and the plurality of collaboration devices.

상기 웹 서버는 새로운 협업 기기가 추가되는 경우, 상기 Json 스키마의 구조 정보를 상기 새로운 협업 기기로 전송하고, 상기 새로운 협업 기기로부터 기기 정보를 수신하여 상기 Json 스키마에 저장할 수 있다.When the new collaborative device is added, the web server transmits the structure information of the Json schema to the new collaborative device, receives the device information from the new collaborative device, and stores the device information in the Json schema.

상기 새로운 협업 기기의 기기 정보가 상기 웹 서버의 Json 스키마에 저장된 후, 상기 새로운 협업 기기는 자신의 기기 정보를 상기 사용자 단말로 전송할 수 있다.After the device information of the new collaborative device is stored in the Json schema of the web server, the new collaborative device can transmit its device information to the user terminal.

상기 웹 서버 기반의 분산형 기기간 협업 시스템은, 상기 사용자 단말에 의해 생성된 작업 정보를 저장하는 데이터베이스;를 더 포함하고, 상기 다수의 협업 기기는 상기 작업 정보가 상기 데이터베이스에 저장되는 경우 이벤트가 발생한 것으로 판단할 수 있다.The web server-based distributed inter-device collaboration system may further include a database for storing work information generated by the user terminal, wherein the plurality of collaboration devices are configured such that when the work information is stored in the database, .

상기 다수의 협업 기기 중 특정 협업 기기는, 작업이 종료된 후, 상기 데이터베이스에 저장된 작업 정보에서 다음으로 작업할 협업 기기의 기기 정보를 체크하고, 다음으로 작업할 협업 기기가 존재하는 경우, 다음으로 작업할 협업 기기로 시작 메시지를 전송할 수 있다.After the work is completed, the specific collaborative device among the plurality of collaborative devices checks the device information of the collaborative device to be next to the work information stored in the database, and if there is a collaborative device to be next next, You can send a start message to the collaboration device to work with.

상기 특정 협업 기기는 상기 데이터베이스에 기기 정보가 저장될 때 테이블에 저장된 IP 주소를 이용하여 상기 다음으로 작업할 협업 기기로 상기 시작 메시지를 전송할 수 있다.The specific collaborative device may transmit the start message to the collaborative device to be used next when the device information is stored in the database using the IP address stored in the table.

상기 다수의 협업 기기 각각은, 상기 웹 서버로부터 상기 Json 스키마의 구조 정보를 수신하고, 수신된 Json 스키마의 구조 정보를 저장하는 로드 Json 구조 및 저장 모듈(Load Json Structure & Storage Module); 자신의 기기 정보를 상기 웹 서버를 통해 상기 Json 스키마에 저장한 후, 자신의 기기 정보를 상기 사용자 단말로 전송하는 기기 데이터 전송 모듈(Machine Data Transfer Module); GPIO 인터페이스를 통해 협업 기기의 동작을 제어하는 GPIO 제어 모듈(GPIO Control Module); 및 상기 사용자 단말에서 이벤트가 발생하는 경우, 상기 GPIO 제어 모듈을 통해 협업 기기의 동작을 제어하는 이벤트 모듈(Event Module);을 포함할 수 있다.Wherein each of the plurality of collaborative devices comprises: a load Json structure and storage module for receiving structure information of the Json schema from the web server and storing structure information of the received Json schema; A device data transfer module for storing device information of the device in the Json schema through the web server and transmitting device information of the device to the user terminal; A GPIO Control Module (GPIO Control Module) for controlling the operation of the collaboration device through a GPIO interface; And an event module for controlling the operation of the collaboration device through the GPIO control module when an event occurs in the user terminal.

본 발명은, 사용자 단말과 다수의 협업 기기가 유무선 공유기를 통해 연결되어 있는 시스템에서의 기기간 협업 방법에 있어서, 웹 서버가 다수의 기기 정보를 저장하는 Json 스키마에 저장하는 단계; 상기 사용자 단말이 원하는 작업을 위한 협업 기기의 순서를 정의하는 작업 정보를 생성하여 이벤트를 발생시키는 단계; 상기 사용자 단말에서 이벤트가 발생한 경우, 상기 다수의 협업 기기에 포함된 마이크로 컨트롤러가 상기 사용자 단말에 의해 생성된 작업 정보에 포함된 첫 번째로 동작시킬 협업 기기에 대한 기기 정보와 상기 Json 스키마에 저장된 기기 정보를 비교하여 자신의 차례인지 여부를 판단하는 단계; 및 상기 다수의 협업 기기에 포함된 마이크로 컨트롤러가 자신의 차례인 경우 작업을 수행하도록 제어하는 단계;를 포함하는 웹 서버 기반의 분산형 기기간 협업 방법을 제공한다.The present invention relates to a method for collaborating devices in a system in which a user terminal and a plurality of collaborative devices are connected through a wireless router, the method comprising: storing, in a Json schema, a web server storing a plurality of device information; Generating job information defining a sequence of collaborative devices for a desired job by the user terminal and generating an event; Wherein the microcontroller included in the plurality of collaborative devices includes device information for a collaborative device to be operated for the first time included in the task information generated by the user terminal, Comparing the information and determining whether it is a turn of the user; And controlling the microcontroller included in the plurality of collaboration devices to perform a task when the microcontroller is in its own turn.

상기 웹 서버 기반의 분산형 기기간 협업 방법은, 상기 웹 서버가, 새로운 협업 기기가 추가되는 경우, 상기 Json 스키마의 구조 정보를 상기 새로운 협업 기기로 전송하는 단계; 및 상기 웹 서버가 상기 새로운 협업 기기로부터 기기 정보를 수신하여 상기 Json 스키마에 저장하는 단계;를 더 포함할 수 있다.Wherein the web server-based distributed inter-device collaboration method further comprises: transmitting, when the new collaborative device is added to the web server, the structure information of the Json schema to the new collaborative device; And receiving the device information from the new collaborative device by the web server and storing the device information in the Json schema.

상기 웹 서버 기반의 분산형 기기간 협업 방법은, 상기 다수의 협업 기기 중 특정 협업 기기가, 작업이 종료된 후, 상기 데이터베이스에 저장된 작업 정보에서 다음으로 작업할 협업 기기의 기기 정보를 체크하는 단계; 및 상기 특정 협업 기기가, 다음으로 작업할 협업 기기가 존재하는 경우, 다음으로 작업할 협업 기기로 시작 메시지를 전송하는 단계;를 더 포함할 수 있다.The web server-based distributed inter-device collaboration method may further include the step of, after the specific collaborative device among the plurality of collaborative devices completes the task, checking the device information of the collaborative device to be next to the work information stored in the database; And transmitting the start message to the collaborative device to be next when the specific collaborative device has a collaborative device to be next to work with.

이상에서 설명한 바와 같이 본 발명에 의하면, 다수의 협업 기기간의 응답시간을 줄일 수 있고, 기존의 데이터 손실 및 병목현상을 완화할 수 있으며, 이로 인해 기기간의 협업을 원활히 수행할 수 있다.As described above, according to the present invention, it is possible to reduce response time between a plurality of collaborative devices, to mitigate existing data loss and bottlenecks, and to facilitate collaboration among devices.

도 1은 본 발명의 실시예에 따른 웹 서버 기반의 분산형 기기간 협업 시스템의 계층 구조를 나타낸 도면,
도 2는 본 발명의 일실시예에 따른 웹 서버 기반의 분산형 기기간 협업 시스템의 개략적인 구성을 나타낸 도면,
도 3은 본 발명의 실시예에 따른 웹 서버 기반의 분산형 기기간 협업 시스템을 구성하는 각 장치의 구성을 나타낸 도면,
도 4는 본 발명의 실시예에 따른 센싱 기기의 하드웨어 구성을 나타낸 도면,
도 5는 본 발명의 실시예에 따른 협업 기기의 하드웨어 구성을 나타낸 도면,
도 6은 본 발명의 실시예에 따른 웹 서버 기반의 분산형 기기간 협업 방법을 나타낸 흐름도,
도 7은 본 발명의 실시예에 따른 새로운 협업 기기가 추가되는 방법을 나타낸 신호 흐름도, 및
도 8은 본 발명에 따른 분산형 기기간 협업 시스템과 종래의 중앙집중형 기기간 협업 시스템 간의 응답 시간을 비교한 그래프이다.
1 is a diagram illustrating a hierarchical structure of a web server-based distributed inter-device collaboration system according to an embodiment of the present invention;
2 is a diagram illustrating a schematic configuration of a web server-based distributed inter-device collaboration system according to an embodiment of the present invention;
3 is a diagram illustrating a configuration of each device constituting a Web server-based distributed inter-device collaboration system according to an embodiment of the present invention;
4 is a diagram illustrating a hardware configuration of a sensing device according to an embodiment of the present invention,
5 is a diagram illustrating a hardware configuration of a collaboration device according to an embodiment of the present invention;
6 is a flowchart illustrating a web server-based distributed inter-device collaboration method according to an embodiment of the present invention.
7 is a signal flow diagram illustrating a method of adding a new collaborative device according to an embodiment of the present invention, and
FIG. 8 is a graph comparing response times between a distributed inter-device collaboration system according to the present invention and a conventional centralized inter-device collaboration system.

본 명세서에서 사용되는 기술적 용어는 단지 특정한 실시 예를 설명하기 위해 사용된 것으로, 본 발명을 한정하려는 의도가 아님을 유의해야 한다. 또한, 본 명세서에서 사용되는 기술적 용어는 본 명세서에서 특별히 다른 의미로 정의되지 않는 한 본 발명이 속하는 기술 분야에서 통상의 지식을 가진 자에 의해 일반적으로 이해되는 의미로 해석되어야 하며, 과도하게 포괄적인 의미로 해석되거나, 과도하게 축소된 의미로 해석되지 않아야 한다. It is noted that the technical terms used herein are used only to describe specific embodiments and are not intended to limit the invention. Also, the technical terms used herein should be interpreted in a sense that is generally understood by those skilled in the art to which the present invention belongs, unless otherwise defined in this specification, and it should be understood that an overly comprehensive It should not be construed as a meaning or an overly reduced meaning.

또한, 본 명세서에서 사용되는 단수의 표현은 문맥상 명백하게 다르게 뜻하지 않는 한, 복수의 표현을 포함한다. 본 출원에서, "구성된다" 또는 "포함한다" 등의 용어는 명세서 상에 기재된 여러 구성 요소들, 또는 여러 단계들을 반드시 모두 포함하는 것으로 해석되지 않아야 하며, 그 중 일부 구성 요소들 또는 일부 단계들은 포함되지 않을 수도 있고, 또는 추가적인 구성 요소 또는 단계들을 더 포함할 수 있는 것으로 해석되어야 한다.Also, the singular forms "as used herein include plural referents unless the context clearly dictates otherwise. In the present application, the term "comprising" or "comprising" or the like should not be construed as necessarily including the various elements or steps described in the specification, Or may be further comprised of additional components or steps.

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

도 1은 본 발명의 실시예에 따른 웹 서버 기반의 분산형 기기간 협업 시스템의 계층 구조를 나타낸 도면이다.FIG. 1 is a diagram illustrating a hierarchical structure of a web server-based distributed inter-device collaboration system according to an embodiment of the present invention.

도 1을 참조하면, 본 발명에 따른 웹 서버 기반의 분산형 기기간 협업 시스템은 와이파이를 기반으로 하고, 제1 마이크로 컨트롤러인 아두이노(Arduino)를 활용하여 센서 데이터를 수신하여 후술하는 데이터베이스에 저장하는 센서 계층(Sensor Layer)(100)과, 후술하는 사용자 애플리케이션으로부터 발생하는 작업 정보를 데이터베이스에 저장하는 애플리케이션 계층(Application Layer)(200)과, 제2 마이크로 컨트롤러인 라즈베리 파이(Raspberry Pi)를 통해 데이터베이스에 저장된 협업 정보를 기반으로 협업 기기를 제어하는 기기 제어 계층(Machine Control Layer)(300)을 포함한다.Referring to FIG. 1, the web server-based distributed inter-device collaboration system according to the present invention is based on Wi-Fi, receives sensor data using Arduino, a first microcontroller, and stores the received sensor data in a database A sensor layer 100, an application layer 200 for storing task information generated from a user application, which will be described later, in a database, and a database 200 via a second microcontroller Raspberry Pi. And a machine control layer 300 for controlling the collaboration devices based on the collaboration information stored in the machine control layer 300.

도 2는 본 발명의 실시예에 따른 웹 서버 기반의 분산형 기기간 협업 시스템의 개략적인 구성을 나타낸 도면이다.FIG. 2 is a diagram showing a schematic configuration of a web server-based distributed inter-device collaboration system according to an embodiment of the present invention.

도 2를 참조하면, 본 발명에 따른 웹 서버 기반의 분산형 기기간 협업 시스템은 센싱 기기(210), 사용자 단말(220), 웹 서버(230), 데이터베이스(240), 다수의 협업 기기(250), 및 유무선 공유기(AP)(260) 등을 포함한다.2, the web server-based distributed inter-device collaboration system includes a sensing device 210, a user terminal 220, a web server 230, a database 240, a plurality of collaboration devices 250, And a wired / wireless router (AP) 260, and the like.

센싱 기기(210)는 전술한 센서 계층(100)을 구성하고, 가정 내 기기에 부착된 온도, 습도, 조도 등의 센서가 될 수 있다. 센싱 기기(210)는 데이터를 센싱하고, 센싱된 데이터를 데이터베이스(240)에 저장한다.The sensing device 210 may constitute the sensor layer 100 as described above, and may be a sensor attached to an in-home device such as temperature, humidity, and illumination. The sensing device 210 senses the data and stores the sensed data in the database 240.

이를 위해, 센싱 기기(210)는 데이터를 센싱하는 센서(212) 및 센서(212)에 의해 센싱된 데이터를 유무선 공유기(260)를 경유하여 데이터베이스(240)에 저장하는 제1 마이크로 프로세서(214)를 포함한다.The sensing device 210 includes a sensor 212 for sensing data and a first microprocessor 214 for storing data sensed by the sensor 212 in the database 240 via the router 230. [ .

사용자 단말(220)은 전술한 애플리케이션 계층(200)을 구성하고, 사용자 애플리케이션(222)을 포함한다. 사용자는 사용자 애플리케이션(222)을 통해 작업 이름을 설정할 수 있고, 작업에 사용할 수 있는 기기 정보를 제공받을 수 있다. 이에, 사용자는 사용자 애플리케이션(222)을 통해 기기 목록에서 원하는 협업 기기를 선택하고, 협업 기기의 작업 순서를 설정할 수 있다.The user terminal 220 constitutes the above-described application layer 200, and includes a user application 222. The user can set the job name through the user application 222 and can receive the device information available for the job. Accordingly, the user can select a desired collaborative device from the device list through the user application 222, and set the work order of the collaborative device.

이처럼, 사용자 단말(220)은 사용자로부터 협업에 필요한 작업 정보(Task_info)와 협업 관계 정보(Relation_info)의 입력이 끝나면, 작업 정보 및 협업 관계 정보를 유무선 공유기(260)를 경유하여 데이터베이스(240)에 저장한다. 여기서, 작업 정보는 작업 고유번호, 협업 기기가 수행할 작업에 대한 설명, 우선순위, 해당 작업에 대한 협업 기기의 순서 결정 및 기기들의 그룹화를 진행하는 정보 등을 포함한다. 협업 관계 정보는 협업 기기들의 관계 고유번호, 해당 협업관계가 정의된 협업 기기들, 협업 기기들 간의 협업관계를 나타내는 정보 등을 포함할 수 있다.After inputting the task information (Task_info) and the collaboration relationship information (Relation_info) required for collaboration from the user, the user terminal 220 transmits the task information and the collaboration relationship information to the database 240 via the wireless router . Here, the job information includes a job specific number, a description of a job to be performed by the collaborative apparatus, a priority, an order of collaborative apparatuses for the job, and information for grouping the apparatuses. The collaboration relationship information may include a relationship number of the collaboration devices, collaboration devices in which the collaboration relationship is defined, and information indicating a collaboration relationship between the collaboration devices.

웹 서버(230)는 다수의 기기 정보를 저장하는 Json 스키마(232)를 포함한다. 여기서, 기기 정보는 기기의 고유번호, 기기의 기능, 모델명, 네트워크, 메인보드, 제조업체 등의 정보를 포함한다. 이를 위해, 웹 서버(230)는 새로운 협업 기기가 추가되는 경우, Json 스키마(232)의 구조 정보를 새로운 협업 기기로 전송하고, 새로운 협업 기기로부터 기기 정보를 수신하며, 수신된 기기 정보를 파서(Parser)를 활용하여 Json 스키마(232)에 저장한다. 이에 따라, 새로운 협업 기기는, Json 스키마(232)의 구조 정보를 저장하고, 자신의 기기 정보가 Json 스키마(232)에 저장된 후, 자신의 기기 정보를 사용자 단말(220) 및 데이터베이스(240)로 전송한다.The web server 230 includes a Json schema 232 for storing a plurality of device information. Here, the device information includes information such as a unique number of the device, a function of the device, a model name, a network, a main board, and a manufacturer. To this end, when a new collaborative device is added, the web server 230 transmits the structure information of the Json schema 232 to the new collaborative device, receives the device information from the new collaborative device, Parser) and stores it in the Json schema 232. Accordingly, the new collaborative device stores the structure information of the Json schema 232, and after the own device information is stored in the Json schema 232, the new collaborative device transmits its device information to the user terminal 220 and the database 240 send.

데이터베이스(240)는 센싱 기기(210)에 의해 센싱된 데이터와, 사용자 단말(220)에 의해 생성된 작업 정보 및 협업 관계 정보 등을 저장한다.The database 240 stores data sensed by the sensing device 210, job information generated by the user terminal 220, collaboration information, and the like.

다수의 협업 기기(250)는 가정의 경우 컴퓨터, 세탁기, 전기밥솥, 창문, 및 청소기 등이 될 수 있다. 그러나, 이에 한정되는 것은 아니며 가전제품, 사무용품, 센서, 및 스마트폰 등의 모든 사물을 포함할 수 있다.The plurality of collaboration devices 250 may be a computer, a washing machine, an electric rice cooker, a window, a cleaner, and the like in the home. However, the present invention is not limited to this, and may include all things such as household appliances, office supplies, sensors, and smart phones.

다수의 협업 기기(250)는 유무선 공유기(260)에 접속하여 네트워크 통신이 가능한 제2 마이크로 컨트롤러(252)를 포함한다. 따라서, 다수의 협업 기기(250)에 마련된 제2 마이크로 컨트롤러(252)는 와이파이를 통해 유무선 공유기(260)를 통해 데이터를 주고받으며 기기 간 협업을 진행한다.The plurality of collaborative devices 250 includes a second microcontroller 252 connected to the wire / wireless router 260 and capable of network communication. Accordingly, the second microcontroller 252 provided in the plurality of the collaboration devices 250 exchanges data through the wired / wireless router 260 through the Wi-Fi, and performs collaboration among the devices.

구체적으로는, 우선, 제2 마이크로 컨트롤러(252)는 사용자 단말(220)에서 이벤트가 발생한지 여부를 판단한다. 즉, 제2 마이크로 컨트롤러(252)는 사용자 단말(220)에 의해 생성된 작업 정보가 데이터베이스(240)에 저장되는 경우 이벤트가 발생한 것으로 판단한다.Specifically, first, the second microcontroller 252 determines whether an event has occurred in the user terminal 220 or not. That is, the second microcontroller 252 determines that an event has occurred when the task information generated by the user terminal 220 is stored in the database 240.

제2 마이크로 컨트롤러(252)는 사용자 단말(220)에서 이벤트가 발생한 경우, 작업 정보의 존재 유무, 작업 정보의 작업 명령의 상태, 및 첫 번째로 동작시킬 협업 기기의 상태를 확인한 후, 기기를 작동시킨다. 구체적으로는, 제2 마이크로 컨트롤러(252)는 사용자 단말(220)에 의해 생성된 작업 정보에 포함된 첫 번째로 동작시킬 협업 기기에 대한 기기 정보와 웹 서버(230)의 Json 스키마(232)에 저장된 기기 정보를 비교하여 자신의 차례인지 여부를 판단하고, 자신의 차례인 경우 작업을 수행하며, 자신의 차례가 아닌 경우 대기하도록 제어한다.When an event occurs in the user terminal 220, the second microcontroller 252 checks the presence or absence of job information, the state of the work instruction of the job information, and the state of the collaborative device to be operated first, . Specifically, the second microcontroller 252 transmits the device information for the first collaborative device included in the job information generated by the user terminal 220 and the Json schema 232 of the web server 230 Compares the stored device information to determine whether it is their own turn, performs the task if it is their turn, and waits if the turn is not their turn.

한편, 도면부호 250-1을 첫 번째로 동작시킬 협업 기기 즉, 제1 순위 협업 기기라 하고, 도면부호 250-2를 제2 순위 협업 기기라고 하면, 제1 순위 협업 기기(250-1)는 작업이 종료된 후, 데이터베이스(240)에 저장된 작업 정보에서 다음으로 작업할 협업 기기 즉, 제2 순위 협업 기기(250-2)의 기기 정보를 체크하고, 제2 순위 협업 기기(250-2)가 존재하는 경우, 제2 순위 협업 기기(250-2)로 시작 메시지를 전송한다. 구체적으로는, 제1 순위 협업 기기(250-1)는 데이터베이스(240)에 기기 정보가 저장될 때 테이블에 저장된 IP 주소를 이용하여 TCP/IP 통신을 통해 제2 순위 협업 기기(250-2)로 시작 메시지를 전송할 수 있다. 그리고, 제2 순위 협업 기기(250-2)는 제1 순위 협업 기기(250-1)로부터 작동이 멈췄다는 신호를 받게 되면 작업을 시작한다.On the other hand, if the first order collaborative apparatus 250-1 is referred to as a first collaborative apparatus to be operated first and the second order collaborative apparatus 250-2 is referred to as a first order collaborative apparatus 250-1, After the work is completed, the device information of the second collaborative device 250-2 is checked in the job information stored in the database 240, and the second collaborative device 250-2, It transmits a start message to the second-order collaborative apparatus 250-2. Specifically, when the device information is stored in the database 240, the first-order collaboration device 250-1 transmits the IP address stored in the table to the second-level collaboration device 250-2 through TCP / IP communication, Lt; / RTI > message. Then, the second-order collaboration device 250-2 starts the operation when it receives a signal from the first-order collaboration device 250-1 that the operation is stopped.

유무선 공유기(260)는 사용자 단말(220)과 다수의 협업 기기(250) 사이에 접속 경로를 제공한다.The router 260 provides a connection path between the user terminal 220 and the plurality of collaboration devices 250.

도 3은 본 발명의 실시예에 따른 웹 서버 기반의 분산형 기기간 협업 시스템을 구성하는 각 장치의 구성을 나타낸 도면이다.3 is a diagram illustrating the configuration of each device constituting a Web server-based distributed inter-device collaboration system according to an embodiment of the present invention.

도 3을 참조하면, 본 발명에 따른 웹 서버 기반의 분산형 기기간 협업 시스템은 크게 센서 계층(100)과 제어 계층(Control Layer)(100')로 나누어지고, 제어 계층(100')은 다시 애플리케이션 계층(200)과 기기 제어 계층(300)으로 나누어진다.3, the web server-based distributed inter-device collaboration system according to the present invention is roughly divided into a sensor layer 100 and a control layer 100 ', and the control layer 100' Layer 200 and the device control layer 300. [

센서 계층(100)에서 센싱 기기(210)의 제1 마이크로 컨트롤러(214)는 센서(212)에 의해 센싱된 데이터를 수신하는 센서 이벤트 모듈(Sensor Event Module)(214-1), 유무선 공유기(260)를 통해 와이파이에 연결되는 와이파이 연결 모듈(Wi-Fi Connect Module)(214-2), 및 유무선 공유기(260)를 통해 수신된 데이터를 데이터베이스(240)에 저장하는 센서 데이터 전송 모듈(Sensor Data Transfer Module)(214-3)을 포함한다.In the sensor layer 100, the first microcontroller 214 of the sensing device 210 includes a sensor event module 214-1 for receiving data sensed by the sensor 212, a wire / wireless router 260 (Wi-Fi Connect Module) 214-2 connected to the Wi-Fi via a wired / wireless router 260 and a sensor data transfer module Module) 214-3.

기기 제어 계층(300)에서 협업 기기(250)의 제2 마이크로 컨트롤러(252)는 유무선 공유기(260)를 통해 와이파이에 연결되는 와이파이 연결 모듈(Wi-Fi Connect Module)(252-1), 기기 정보가 파서를 통해 웹 서버(230)의 Json 스키마(232)에 저장되면, 기기 정보를 사용자 단말(220)로 전송하는 기기 데이터 전송 모듈(Machine Data Transfer Module)(252-2), 웹 서버(230)로부터 협업에 필요한 Json 스키마(232)의 구조 정보를 수신하여 저장하는 로드 제이슨 구조 및 저장 모듈(Load Json Structure & Storage Module)(252-3), 사용자 단말(220)로부터 이벤트가 발생한 경우, 협업 기기의 동작을 제어하는 이벤트 모듈(Event Module)(252-4), 및 이벤트 모듈(252-4)의 지시에 따라 GPIO 인터페이스를 통해 협업 기기의 동작을 제어하는 GPIO 제어 모듈(GPIO Control Module)(252-5)을 포함한다.The second microcontroller 252 of the collaboration device 250 in the device control layer 300 includes a Wi-Fi connection module 252-1 connected to the Wi-Fi via the wireless router 260, A machine data transfer module 252-2 for transmitting the device information to the user terminal 220 when the JSP schema 232 is stored in the Json schema 232 of the web server 230 through the parser, A Load Json Structure and Storage Module 252-3 for receiving and storing the structure information of the Json schema 232 required for collaboration from the user terminal 220, An event module 252-4 for controlling the operation of the device and a GPIO Control Module (GPIO Control Module) 252-4 for controlling the operation of the collaboration device through the GPIO interface in accordance with the instruction of the event module 252-4 252-5).

애플리케이션 계층(200)에서 사용자 단말(220)의 사용자 애플리케이션(222)은 데이터베이스(240)에 저장된 데이터를 모니터링하는 모니터링 모듈(Monitoring Module)(222-1), 데이터베이스(240)에 저장된 기기 정보를 조회하는 기기 데이터 로드 모듈(Machine Data Load Module)(222-2), 및 조회된 기기 정보를 통해 작업을 정의하고 작업에 필요한 기기를 선택한 후, 기기에 대한 순서를 정의하여 작업 정보 및 협업 관계 정보를 생성하고, 생성된 작업 정보 및 협업 관계 정보를 데이터베이스(240)에 저장하는 작업 정보 및 협업 관계 데이터 전송 모듈(Task & Relation Data Transfer Module)(222-3)을 포함한다.The user application 222 of the user terminal 220 in the application layer 200 includes a monitoring module 222-1 for monitoring data stored in the database 240, (Machine Data Load Module) 222-2, and the device information, and selects a device necessary for the operation, and then defines the order of the devices to collect the operation information and the collaboration information And task information for storing the generated task information and collaboration relationship information in the database 240 and a task and relation data transfer module 222-3.

도 4는 본 발명의 실시예에 따른 센싱 기기의 하드웨어 구성을 나타낸 도면이다.4 is a diagram illustrating a hardware configuration of a sensing device according to an embodiment of the present invention.

도 4를 참조하면, 본 발명의 실시예에 따른 센서(212)는 실외 온도센서(410), 실내 온도센서(420), 열 감지 센서(430), 및 습도 센서(440) 등이 될 수 있고, 각 센서는 브레드 보드(Bread Board)(450)를 통해 아두이노인 제1 마이크로 컨트롤러(214)에 연결된다. 구체적으로는, 온도 센서(410, 420)는 아두이노(214)의 제2, 제3 디지털 포트를 이용하여 신호를 전송하고, 열 감지 센서(430)는 아두이노(214)의 제4, 제5 아날로그 포트를 이용하여 신호를 전송하며, 습도 센서(440)는 아두이노(214)의 제0, 제1 아날로그 포트를 이용하여 신호를 전송한다.4, a sensor 212 according to an embodiment of the present invention may be an outdoor temperature sensor 410, a room temperature sensor 420, a heat sensing sensor 430, a humidity sensor 440, or the like , And each sensor is connected to the first microcontroller 214 via a breadboard 450. More specifically, the temperature sensors 410 and 420 transmit signals using the second and third digital ports of the arduino 214, and the thermal sensor 430 transmits signals to the fourth and the 5 analog port and the humidity sensor 440 transmits the signal using the 0th and 1st analog ports of the Arduino 214. [

도 5는 본 발명의 실시예에 따른 협업 기기의 하드웨어 구성을 나타낸 도면이다.5 is a diagram illustrating a hardware configuration of a collaboration device according to an embodiment of the present invention.

도 5를 참조하면, 본 발명에 따른 협업 기기(250)는 라즈베리 파이인 제2 마이크로 컨트롤러(252)와 기기 간의 응답속도의 차이를 줄이기 위해 고체 상태 릴레이(Solid State Relay: SSR)(520)를 이용한다. 제2 마이크로 컨트롤러(252)와 고체 상태 릴레이(520)는 브레드 보드(510)를 통해 연결되는 것이 바람직하다.5, a collaborative device 250 according to the present invention includes a solid state relay (SSR) 520 to reduce a difference in response speed between a second microcontroller 252 and a device . The second microcontroller 252 and the solid-state relay 520 are preferably connected via the breadboard 510.

기존에 공유기를 사용한 중앙집중형 기기간 협업 시스템의 단점은 공유기의 부족한 자원으로 인한 요청 작업 지연 및 데이터 손실로 인한 병목 현상이다. 그런데, 본 발명의 실시예에서는 전술한 바와 같이 각 협업 기기(250)에 요청 작업을 원활히 수행할 수 있는 제2 마이크로 컨트롤러(252)를 배치함으로써, 공유기를 통해 처리하던 작업들을 각 기기에서 수행할 수 있다.A drawback of the centralized inter-device collaboration system using the existing router is the bottleneck due to delayed request operation and data loss due to the deficient resources of the router. However, in the embodiment of the present invention, as described above, the second microcontroller 252 that can smoothly perform the request operation is disposed in each of the collaboration devices 250, so that the tasks that are processed through the router are performed in the respective devices .

도 6은 본 발명의 실시예에 따른 웹 서버 기반의 분산형 기기간 협업 방법을 나타낸 흐름도이다.FIG. 6 is a flowchart illustrating a web server-based distributed inter-device collaboration method according to an embodiment of the present invention.

도 6을 참조하면, 협업 기기(250)는 사용자 단말(220)에서 이벤트가 발생한지 여부를 판단한다(S610). 이때, 협업 기기(250)는 사용자 단말(220)에 의해 생성된 작업 정보가 데이터베이스(240)에 저장되는 경우 이벤트가 발생한 것으로 판단한다.Referring to FIG. 6, the collaborative device 250 determines whether an event has occurred in the user terminal 220 (S610). At this time, the collaborative device 250 determines that an event has occurred when the task information generated by the user terminal 220 is stored in the database 240.

협업 기기(250)는 사용자 단말(220)에서 이벤트가 발생한 경우, 사용자 단말(250)의 작업 정보 실행 여부를 확인한다(S620).When the event occurs in the user terminal 220, the collaborative device 250 confirms whether the operation information of the user terminal 250 is executed (S620).

협업 기기(250)는 사용자 단말이 작업 정보를 실행한 경우, 데이터베이스(240)에서 사용자 단말(220)에 의해 생성된 작업 정보에 포함된 사용자가 첫 번째로 동작시킬 협업 기기 즉, 제1 순위 협업 기기에 대한 기기 정보와 웹 서버(230)의 Json 스키마(232)에 저장된 기기 정보를 비교하여 자신의 차례인지 여부를 판단하고(S630), 자신의 차례인 경우 작업을 수행하며(S640), 자신의 차례가 아닌 경우 차순위 협업 기기로서 대기한다(S632).When the user terminal executes the task information, the collaborative device 250 searches the database 240 for the collaboration device to be operated first by the user included in the task information generated by the user terminal 220, that is, It compares the device information about the device with the device information stored in the Json schema 232 of the web server 230 to determine whether it is their turn (S630). If the device information is their own turn (S640) It is waited as the next highest order collaborative device (S632).

이어서, 협업 기기(250)는 작업이 종료되었는지 여부를 판단하고(S650), 작업이 종료된 경우, 데이터베이스(240)에 저장된 작업 정보에서 다음으로 작업할 협업 기기 즉, 제2 순위 협업 기기의 기기 정보를 탐색하고(S660), 제2 순위 협업 기기가 존재하는 경우, 제2 순위 협업 기기로 시작 메시지를 전송한다(S670). 구체적으로는, 협업 기기(250)는 데이터베이스(240)에 기기 정보가 저장될 때 테이블에 저장된 IP 주소를 이용하여 TCP/IP 통신을 통해 제2 순위 협업 기기로 시작 메시지를 전송할 수 있다.In step S650, the collaborative device 250 determines whether or not the work has been completed. If the work is terminated, the collaborative device 250, which is the next highest collaborative device, (S660). If there is a second-order collaborative apparatus, the second-order collaborative apparatus transmits a start message (S670). Specifically, the collaboration device 250 may transmit the start message to the second-level collaborative device through the TCP / IP communication using the IP address stored in the table when the device information is stored in the database 240. [

한편, 단계 S632에서 대기하던 협업 기기(250)는 제1 순위 협업 기기의 작업이 종료되었는지 여부 즉, 작업이 종료되었다는 신호의 수신 여부를 판단하고(S634), 제1 순위 협업 기기의 작업이 종료된 경우 작업을 시작한다.Meanwhile, in step S632, the collaborative device 250 determines whether or not the task of the first-order collaborative apparatus is terminated, that is, whether or not the signal indicating that the task has been completed is received (S634) If so, start work.

도 7은 본 발명의 실시예에 따른 새로운 협업 기기가 추가되는 방법을 나타낸 신호 흐름도이다.7 is a signal flow diagram illustrating a method for adding a new collaborative device according to an embodiment of the present invention.

도 7을 참조하면, 새로운 협업 기기(700)는 유무선 공유기(260)에 접속하여(S710), 웹 서버(230)와 연결된다(S720).Referring to FIG. 7, the new collaborative device 700 is connected to the router 230 (S710) and connected to the web server 230 (S720).

웹 서버(230)는 새로운 협업 기기(700)가 연결되면, Json 스키마(232)의 구조 정보를 새로운 협업 기기(700)로 전송한다(S730).When the new collaborative apparatus 700 is connected, the web server 230 transmits the structure information of the Json schema 232 to the new collaborative apparatus 700 (S730).

새로운 협업 기기(700)는 이에 대한 응답으로 자신의 기기 정보를 웹 서버(230)로 전송한다(S740). 이후, 웹 서버(230)는 새로운 협업 기기(700)로부터 수신한 기기 정보를 파서하여 Json 스키마(232)에 저장한다(S750).The new collaborative device 700 transmits its own device information to the web server 230 in response to this (S740). Then, the web server 230 parses the device information received from the new collaborative device 700 and stores it in the Json schema 232 (S750).

도 8은 본 발명에 따른 분산형 기기간 협업 시스템과 종래의 중앙집중형 기기간 협업 시스템 간의 응답 시간을 비교한 그래프이다.FIG. 8 is a graph comparing response times between a distributed inter-device collaboration system according to the present invention and a conventional centralized inter-device collaboration system.

도 8을 참조하면, 데이터의 요청을 10개부터 시작하여 50개까지 증가시키면서 테스트를 진행하였고, 이에 따른 응답시간을 측정하였다. 중앙집중형 기기간 협업 시스템의 경우 요청 작업의 개수에 따른 평균응답시간은 0.6초이며 요청 작업이 증가함에 따라 빈번하게 병목현상이 발생하였다. 즉, 요청 작업이 많아질수록 응답시간이 길어지는 것을 확인할 수 있었다. 이에 반해, 본 발명의 실시예에 따른 분산형 기기간 협업 시스템의 경우 평균 응답시간이 0.1초로서, 중앙집중형 기기간 협업 시스템보다 약 0.5초 감소하였다. 이는 서버 측 기기와 클라이언트 측 기기가 1:1 통신을 하며 이외의 기기는 서버와 연결될 때까지 대기하기 때문에 요청이 증가하더라도 응답시간의 차이가 근소한 것을 확인할 수 있었다. 이로 인해 본 발명에 따른 분산형 기기간 협업 시스템은 기존의 데이터 손실 및 병목현상을 완화하고, 기기 간의 협업을 원활히 수행할 수 있다는 것을 알 수 있다.Referring to FIG. 8, the test was performed while increasing the number of data requests from 10 to 50, and the response time was measured. In the case of the centralized inter-device collaboration system, the average response time according to the number of requested tasks is 0.6 seconds, and the bottleneck frequently occurs as the requested task increases. That is, it was confirmed that the response time becomes longer as the number of requests is increased. On the other hand, in the distributed inter-device collaboration system according to the embodiment of the present invention, the average response time is 0.1 second, which is about 0.5 second shorter than that of the centralized inter-device collaboration system. This is because the server side device and the client side device are in 1: 1 communication and the other devices are waiting until they are connected to the server. As a result, it can be seen that the distributed inter-device collaboration system according to the present invention alleviates existing data loss and bottlenecks, and facilitates collaboration among devices.

따라서 본 발명의 명세서에 개시된 실시예들은 본 발명을 한정하는 것이 아니다. 본 발명의 범위는 아래의 특허청구범위에 의해 해석되어야 하며, 그와 균등한 범위 내에 있는 모든 기술도 본 발명의 범위에 포함되는 것으로 해석해야 할 것이다.Accordingly, the embodiments disclosed in the specification of the present invention are not intended to limit the present invention. The scope of the present invention should be construed according to the following claims, and all the techniques within the scope of equivalents should be construed as being included in the scope of the present invention.

210: 센싱 기기 212: 센서
214: 제1 마이크로 컨트롤러 220: 사용자 단말
222: 사용자 애플리케이션 230: 웹 서버
232: Json 스키마 240: 데이터베이스
250: 다수의 협업 기기 252: 제2 마이크로 컨트롤러
260: 유무선 공유기
210: sensing device 212: sensor
214: First microcontroller 220: User terminal
222: user application 230: web server
232: Json Schema 240: Database
250: multiple collaboration devices 252: second microcontroller
260: Wireless Router

Claims (10)

원하는 작업을 위한 협업 기기의 순서를 정의하는 작업 정보를 생성하여 이벤트를 발생시키는 사용자 단말;
다수의 기기 정보를 저장하는 Json 스키마를 포함하는 웹 서버;
상기 사용자 단말에서 이벤트가 발생한 경우, 상기 사용자 단말에 의해 생성된 작업 정보에 포함된 첫 번째로 동작시킬 협업 기기에 대한 기기 정보와 상기 Json 스키마에 저장된 기기 정보를 비교하여 자신의 차례인지 여부를 판단하고, 자신의 차례인 경우 작업을 수행하도록 제어하는 마이크로 컨트롤러를 포함하는 다수의 협업 기기; 및
상기 사용자 단말과 상기 다수의 협업 기기 사이에 접속 경로를 제공하는 유무선 공유기;
를 포함하는 웹 서버 기반의 분산형 기기간 협업 시스템.
A user terminal for generating task information for defining a sequence of collaborative devices for a desired task and generating an event;
A web server including a Json schema storing a plurality of device information;
When an event occurs in the user terminal, the device information for the first collaborative device included in the job information generated by the user terminal is compared with the device information stored in the Json schema, And a microcontroller for controlling the microcontroller to perform a task in the case of its own turn; And
A router for providing a connection path between the user terminal and the plurality of collaboration devices;
Based collaborative system based on web server.
제1항에 있어서,
상기 웹 서버는 새로운 협업 기기가 추가되는 경우, 상기 Json 스키마의 구조 정보를 상기 새로운 협업 기기로 전송하고, 상기 새로운 협업 기기로부터 기기 정보를 수신하여 상기 Json 스키마에 저장하는 것을 특징으로 하는 웹 서버 기반의 분산형 기기간 협업 시스템.
The method according to claim 1,
Wherein the web server transmits the structure information of the Json schema to the new collaborative device when the new collaborative device is added, receives the device information from the new collaborative device, and stores the received device information in the Json schema Distributed inter - device collaboration system.
제2항에 있어서,
상기 새로운 협업 기기의 기기 정보가 상기 웹 서버의 Json 스키마에 저장된 후, 상기 새로운 협업 기기는 자신의 기기 정보를 상기 사용자 단말로 전송하는 것을 특징으로 하는 웹 서버 기반의 분산형 기기간 협업 시스템.
3. The method of claim 2,
Wherein the new collaborative device transmits its own device information to the user terminal after the device information of the new collaborative device is stored in the Json schema of the web server.
제2항에 있어서,
상기 사용자 단말에 의해 생성된 작업 정보를 저장하는 데이터베이스;
를 더 포함하고,
상기 다수의 협업 기기는 상기 작업 정보가 상기 데이터베이스에 저장되는 경우 이벤트가 발생한 것으로 판단하는 것을 특징으로 하는 웹 서버 기반의 분산형 기기간 협업 시스템.
3. The method of claim 2,
A database for storing job information generated by the user terminal;
Further comprising:
Wherein the plurality of collaboration devices determine that an event has occurred when the job information is stored in the database.
제4항에 있어서,
상기 다수의 협업 기기 중 특정 협업 기기는, 작업이 종료된 후, 상기 데이터베이스에 저장된 작업 정보에서 다음으로 작업할 협업 기기의 기기 정보를 체크하고, 다음으로 작업할 협업 기기가 존재하는 경우, 다음으로 작업할 협업 기기로 시작 메시지를 전송하는 것을 특징으로 하는 웹 서버 기반의 분산형 기기간 협업 시스템.
5. The method of claim 4,
After the work is completed, the specific collaborative device among the plurality of collaborative devices checks the device information of the collaborative device to be next to the work information stored in the database, and if there is a collaborative device to be next next, And a start message is transmitted to a collaborative device to be operated.
제5항에 있어서,
상기 특정 협업 기기는 상기 데이터베이스에 기기 정보가 저장될 때 테이블에 저장된 IP 주소를 이용하여 상기 다음으로 작업할 협업 기기로 상기 시작 메시지를 전송하는 것을 특징으로 하는 웹 서버 기반의 분산형 기기간 협업 시스템.
6. The method of claim 5,
Wherein the specific collaborative device transmits the start message to the collaborative device to be used next when the device information is stored in the database using the IP address stored in the table.
제1항에 있어서,
상기 다수의 협업 기기 각각은,
상기 웹 서버로부터 상기 Json 스키마의 구조 정보를 수신하고, 수신된 Json 스키마의 구조 정보를 저장하는 로드 Json 구조 및 저장 모듈(Load Json Structure & Storage Module);
자신의 기기 정보를 상기 웹 서버를 통해 상기 Json 스키마에 저장한 후, 자신의 기기 정보를 상기 사용자 단말로 전송하는 기기 데이터 전송 모듈(Machine Data Transfer Module);
GPIO 인터페이스를 통해 협업 기기의 동작을 제어하는 GPIO 제어 모듈(GPIO Control Module); 및
상기 사용자 단말에서 이벤트가 발생하는 경우, 상기 GPIO 제어 모듈을 통해 협업 기기의 동작을 제어하는 이벤트 모듈(Event Module);
을 포함하는 것을 특징으로 하는 웹 서버 기반의 분산형 기기간 협업 시스템.
The method according to claim 1,
Wherein each of the plurality of collaboration devices comprises:
A Load Json Structure & Storage Module for receiving the structure information of the Json schema from the web server and storing the structure information of the received Json schema;
A device data transfer module for storing device information of the device in the Json schema through the web server and transmitting device information of the device to the user terminal;
A GPIO Control Module (GPIO Control Module) for controlling the operation of the collaboration device through a GPIO interface; And
An event module for controlling the operation of the collaboration device through the GPIO control module when an event occurs in the user terminal;
Based collaborative system based on a web server.
사용자 단말과 다수의 협업 기기가 유무선 공유기를 통해 연결되어 있는 시스템에서의 기기간 협업 방법에 있어서,
웹 서버가 다수의 기기 정보를 저장하는 Json 스키마에 저장하는 단계;
상기 사용자 단말이 원하는 작업을 위한 협업 기기의 순서를 정의하는 작업 정보를 생성하여 이벤트를 발생시키는 단계;
상기 사용자 단말에서 이벤트가 발생한 경우, 상기 다수의 협업 기기에 포함된 마이크로 컨트롤러가 상기 사용자 단말에 의해 생성된 작업 정보에 포함된 첫 번째로 동작시킬 협업 기기에 대한 기기 정보와 상기 Json 스키마에 저장된 기기 정보를 비교하여 자신의 차례인지 여부를 판단하는 단계; 및
상기 다수의 협업 기기에 포함된 마이크로 컨트롤러가 자신의 차례인 경우 작업을 수행하도록 제어하는 단계;
를 포함하는 웹 서버 기반의 분산형 기기간 협업 방법.
A method for inter-device collaboration in a system in which a user terminal and a plurality of collaborative devices are connected via a router,
Storing a plurality of pieces of device information in a Json schema of a web server;
Generating job information defining a sequence of collaborative devices for a desired job by the user terminal and generating an event;
Wherein the microcontroller included in the plurality of collaborative devices includes device information for a collaborative device to be operated for the first time included in the task information generated by the user terminal, Comparing the information and determining whether it is a turn of the user; And
Controlling the microcontroller included in the plurality of collaboration devices to perform a task when the microcontroller is in its own turn;
Based collaborative method based on web server.
제8항에 있어서,
상기 웹 서버가, 새로운 협업 기기가 추가되는 경우, 상기 Json 스키마의 구조 정보를 상기 새로운 협업 기기로 전송하는 단계; 및
상기 웹 서버가 상기 새로운 협업 기기로부터 기기 정보를 수신하여 상기 Json 스키마에 저장하는 단계;
를 더 포함하는 것을 특징으로 하는 웹 서버 기반의 분산형 기기간 협업 방법.
9. The method of claim 8,
Transmitting, by the web server, the structure information of the Json schema to the new collaborative device when a new collaborative device is added; And
Receiving the device information from the new collaborative device and storing the device information in the Json schema;
Wherein the web server is a web browser.
제8항에 있어서,
상기 다수의 협업 기기 중 특정 협업 기기가, 작업이 종료된 후, 상기 데이터베이스에 저장된 작업 정보에서 다음으로 작업할 협업 기기의 기기 정보를 체크하는 단계; 및
상기 특정 협업 기기가, 다음으로 작업할 협업 기기가 존재하는 경우, 다음으로 작업할 협업 기기로 시작 메시지를 전송하는 단계;
를 더 포함하는 것을 특징으로 하는 웹 서버 기반의 분산형 기기간 협업 방법.
9. The method of claim 8,
Checking the device information of the collaborative device to be next to the work information stored in the database after the specific collaborative device among the plurality of collaborative devices completes the job; And
Transmitting a start message to a collaborative device to be next next when the specific collaborative device has a collaborative device to work next;
Wherein the web server is a web browser.
KR1020160133387A 2016-10-14 2016-10-14 System and method for socializing distributed machines based on web server KR101971170B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020160133387A KR101971170B1 (en) 2016-10-14 2016-10-14 System and method for socializing distributed machines based on web server

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020160133387A KR101971170B1 (en) 2016-10-14 2016-10-14 System and method for socializing distributed machines based on web server

Publications (2)

Publication Number Publication Date
KR20180041356A true KR20180041356A (en) 2018-04-24
KR101971170B1 KR101971170B1 (en) 2019-04-22

Family

ID=62087535

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020160133387A KR101971170B1 (en) 2016-10-14 2016-10-14 System and method for socializing distributed machines based on web server

Country Status (1)

Country Link
KR (1) KR101971170B1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2021169847A1 (en) * 2020-02-29 2021-09-02 华为技术有限公司 Distributed service scheduling method and related apparatus
WO2023092220A1 (en) * 2021-11-23 2023-06-01 Wiot Inc. Sensor and method of autonomous regulation of a sensor

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20150145231A (en) * 2013-03-15 2015-12-29 뷰라 웍스, 엘엘씨 Knowledge capture and discovery system
KR101639995B1 (en) * 2015-01-19 2016-07-18 배재대학교 산학협력단 Method and Apparatus for Machine Framework by Using Socialization

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20150145231A (en) * 2013-03-15 2015-12-29 뷰라 웍스, 엘엘씨 Knowledge capture and discovery system
KR101639995B1 (en) * 2015-01-19 2016-07-18 배재대학교 산학협력단 Method and Apparatus for Machine Framework by Using Socialization

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
Christoph Klemenjak 외 2명, "YoMo - The Arduino-based Smart-Metering Board"(2014.09.11.)* *

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2021169847A1 (en) * 2020-02-29 2021-09-02 华为技术有限公司 Distributed service scheduling method and related apparatus
US11831713B2 (en) 2020-02-29 2023-11-28 Huawei Technologies Co., Ltd. Distributed service scheduling method and related apparatus
WO2023092220A1 (en) * 2021-11-23 2023-06-01 Wiot Inc. Sensor and method of autonomous regulation of a sensor

Also Published As

Publication number Publication date
KR101971170B1 (en) 2019-04-22

Similar Documents

Publication Publication Date Title
CN105681142B (en) networking system and networking method
JP4455170B2 (en) Network home appliance control system
EP2860986B1 (en) Environment control device and method using a wi-fi infrastructure for exchanging environmental data
US20160040903A1 (en) Bluetooth thermostat and hub
JP6502330B2 (en) Method and apparatus for inter-profile commissioning in a network
US20130159490A1 (en) Method and apparatus for smart home service based on cloud
US20120331156A1 (en) Wireless control system, methods and apparatus
JP6239465B2 (en) Information equipment and control equipment
KR20170041743A (en) Method and apparatus for automatically generating an events dictionary in an internet of things (iot) network
CN104113458A (en) Mobile terminal and intelligent household appliance interconnecting method and device
KR20170027769A (en) Method and apparatus for incrementally sharing greater amounts of information between user devices
JP2009500898A (en) Residential gateway system for home network service
KR101363115B1 (en) Smart home service system based cloud and method thereof
CN103312715A (en) Web service oriented home network system architecture
JP2009135783A (en) Communication adapter and connection information setting method thereof
CN105791454A (en) Binding method and apparatus for intelligent terminal
KR101971170B1 (en) System and method for socializing distributed machines based on web server
US8819193B2 (en) Method of setting network, server apparatus using the method, and network system including the server apparatus
JP2006227825A (en) Information appliance management system, information appliance control management system, information appliance control management method and information appliance operation method
CN105915416B (en) Information processing method and terminal equipment
KR102009810B1 (en) Method and apparatus for transmitting and receiving a service in a wireless communication system
TWI737015B (en) Communication method of wireless sensing network
JP2009217671A (en) Control device and its control method
US9801218B2 (en) Establishing method for self-organization network of wireless nodes
KR101667027B1 (en) One-stop remote control system and method for home appliances

Legal Events

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