KR102365675B1 - Complex IoT device and share service providing method using the same - Google Patents

Complex IoT device and share service providing method using the same Download PDF

Info

Publication number
KR102365675B1
KR102365675B1 KR1020190143558A KR20190143558A KR102365675B1 KR 102365675 B1 KR102365675 B1 KR 102365675B1 KR 1020190143558 A KR1020190143558 A KR 1020190143558A KR 20190143558 A KR20190143558 A KR 20190143558A KR 102365675 B1 KR102365675 B1 KR 102365675B1
Authority
KR
South Korea
Prior art keywords
shared resource
user terminal
shared
iot device
block chain
Prior art date
Application number
KR1020190143558A
Other languages
Korean (ko)
Other versions
KR20210056747A (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 KR1020190143558A priority Critical patent/KR102365675B1/en
Priority to PCT/KR2019/015544 priority patent/WO2021095926A1/en
Publication of KR20210056747A publication Critical patent/KR20210056747A/en
Application granted granted Critical
Publication of KR102365675B1 publication Critical patent/KR102365675B1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/10Network architectures or network communication protocols for network security for controlling access to devices or network resources
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/08Network architectures or network communication protocols for network security for authentication of entities
    • H04L63/083Network architectures or network communication protocols for network security for authentication of entities using passwords
    • H04L63/0838Network architectures or network communication protocols for network security for authentication of entities using passwords using one-time-passwords
    • 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

Landscapes

  • Engineering & Computer Science (AREA)
  • Computing Systems (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Hardware Design (AREA)
  • Computer Security & Cryptography (AREA)
  • General Engineering & Computer Science (AREA)
  • Health & Medical Sciences (AREA)
  • General Health & Medical Sciences (AREA)
  • Medical Informatics (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)
  • Telephonic Communication Services (AREA)

Abstract

본 발명의 일실시예는, 관리자 단말이 관리자 dApp을 통하여 공유자원의 정보 및 상기 공유자원에 결합된 복합 IoT 디바이스의 정보를 블록체인 네트워크에 제공하여 상기 공유자원을 공유가능하도록 제공하는 공유자원 등록단계, 사용자 단말이 사용자 dApp을 통하여 상기 블록체인 네트워크에 등록된 상기 공유자원의 이용권한을 요청하고 상기 관리자 단말이 사전에 지정해놓은 스마트 컨트랙트에 기초하여 이용권한이 부여되는 이용권한 획득단계, 및 상기 복합 IoT 디바이스가 상기 사용자 단말에 이용권한이 존재하는지 판단하여 상기 공유자원에 접근가능하도록 잠금을 개방하는 이용시작단계를 포함하는, 복합 IoT 디바이스를 이용한 공유서비스 제공방법을 이용하여, 다양한 종류의 공유자원을 블록체인 네트워크에 이용가능하도록 등록하고 이용권한에 기초하여 공유자원을 사용하도록 공유서비스를 제공할 수 있다. According to an embodiment of the present invention, a shared resource registration in which a manager terminal provides information of a shared resource and information of a composite IoT device coupled to the shared resource through a manager dApp to a block chain network so that the shared resource can be shared Step, a user terminal requesting the right to use the shared resource registered in the block chain network through the user dApp, and obtaining a use right in which the manager terminal is given the right to use it based on a pre-designated smart contract, and the Various types of sharing using a shared service providing method using a composite IoT device, including a use start step of opening a lock so that the composite IoT device can access the shared resource by determining whether the user terminal has the right to use it A shared service can be provided to register a resource to be usable in the blockchain network and to use the shared resource based on the right to use it.

Figure R1020190143558
Figure R1020190143558

Description

복합 IoT 디바이스 및 이를 이용한 공유서비스 제공방법{Complex IoT device and share service providing method using the same}Complex IoT device and share service providing method using the same {Complex IoT device and share service providing method using the same}

본 발명은 복합 IoT 디바이스 및 이를 이용한 공유서비스 제공방법에 관한 것이다. The present invention relates to a complex IoT device and a method for providing a shared service using the same.

현재의 공유서비스는 기업이 개인과 개인을 중개하고 수수료를 받는 형태로 이루어지고 있으며, 기업이 운영하는 중앙집중화된 공유서비스 제공 시스템에 기초하여 서비스가 제공되고 있다. 현재의 공유서비스는 하나의 품목을 공유하기 위한 서비스 제공형태를 갖고 있다. 예를 들어, 우버(Uber)는 차량공유 서비스를 제공하고, 에어비엔비(Airbnb)는 숙박공유 서비스를 제공한다. 이러한 기존 공유서비스는 다양한 종류의 제품이나 서비스를 제공하지 못하는 한계가 있다. The current shared service is in the form of a company intermediary between individuals and receiving a fee, and the service is provided based on the centralized shared service provision system operated by the company. The current shared service has a service provision form for sharing a single item. For example, Uber provides a ride-sharing service, and Airbnb provides a lodging-sharing service. These existing shared services have limitations in not being able to provide various types of products or services.

또한, 현재의 공유서비스는 공유서비스를 제공하기 위한 중앙집중화된 시스템을 이용하므로, 해킹이나 서버에 대한 공격을 받는 경우 서비스의 제공이 어려워지는 단일실패지점이 존재하는 문제가 있다. In addition, since the current shared service uses a centralized system for providing the shared service, there is a problem in that there is a single point of failure where the provision of the service becomes difficult in case of a hacking or attack on the server.

KRKR 10-2013-0047915 10-2013-0047915 AA

본 발명의 일실시예에 따른 목적은, 다양한 종류의 공유자원을 공유하고 거래할 수 있는 블록체인 기반의 공유 및 거래 플랫폼을 제공하는 것이다. An object according to an embodiment of the present invention is to provide a blockchain-based sharing and transaction platform capable of sharing and transacting various types of shared resources.

또한, 본 발명의 일실시예에 따른 목적은, 다양한 종류의 공유자원에 결합가능하고 블록체인 네트워크 및 사용자 단말과 상호작용하여 이용권한이 있는 사람에게만 공유자원에의 접근을 허가할 수 있는 복합 IoT 디바이스를 제공하는 것이다.In addition, an object according to an embodiment of the present invention is a complex IoT that can be combined with various types of shared resources and allows access to shared resources only to those who have the right to use it by interacting with the block chain network and user terminal. to provide the device.

본 발명의 일실시에에 따른 복합 IoT 디바이스는, 다양한 종류의 공유자원에 결합되어 물리적 또는 전기적으로 상기 공유자원을 개폐하는 잠금모듈, 사용자 단말 또는 블록체인 네트워크와 데이터를 송수신하는 통신모듈, 및 상기 사용자 단말이 상기 공유자원의 이용권한을 갖는지 여부를 상기 블록체인 네트워크로부터 수신하는 키에 기초하여 판단하고, 상기 잠금모듈을 개폐하도록 제어하는 컨트롤러모듈을 포함할 수 있다. A composite IoT device according to an embodiment of the present invention includes a lock module for physically or electrically opening and closing the shared resource by being coupled to various types of shared resources, a communication module for transmitting and receiving data with a user terminal or a block chain network, and the It may include a controller module that determines whether the user terminal has the right to use the shared resource based on the key received from the block chain network, and controls to open and close the lock module.

또한, 상기 컨트롤러모듈은 상기 통신모듈과 상기 사용자 단말 사이의 근거리 통신 또는 GPS 정보를 이용하여 상기 사용자 단말이 정해진 거리만큼 접근하여야 상기 이용권한을 갖는지 여부를 판단하는 절차를 시작할 수 있다. In addition, the controller module may start a procedure of determining whether the user terminal has the use right only when the user terminal approaches by a predetermined distance using short-distance communication or GPS information between the communication module and the user terminal.

또한, 본 발명의 일실시에에 따른 복합 IoT 디바이스는, 모션센서, 인체감지센서, 적외선센서, 초음파센서, 터치센서 중에서 적어도 하나를 이용하여 상기 공유자원의 이용상태를 감시하여 이용상태정보를 생성하고 상기 컨트롤러모듈에 제공하는 게이트웨이모듈을 더 포함할 수 있으며, 상기 게이트웨이모듈은 물리적으로 별도의 디바이스로 형성되고, 상기 공유자원의 이용상태를 감시 가능한 위치의 상기 공유자원에 결합될 수 있다.In addition, the composite IoT device according to an embodiment of the present invention generates usage status information by monitoring the usage status of the shared resource using at least one of a motion sensor, a human body detection sensor, an infrared sensor, an ultrasonic sensor, and a touch sensor. and a gateway module provided to the controller module, wherein the gateway module is formed as a physically separate device, and may be coupled to the shared resource at a location capable of monitoring the usage status of the shared resource.

또한, 상기 잠금모듈은 상기 사용자가 상기 공유자원의 이용권한에 기초하여 상기 잠금모듈을 개방하여야 상기 공유자원에 미리 설치되어 있는 다른 잠금장치에 접근가능하도록, 상기 잠금장치에 애드온 방식으로 설치될 수 있고, 상기 컨트롤러모듈은 상기 공유자원의 이용권한에 기초하여 상기 잠금모듈을 개방하는 경우, 상기 잠금장치를 개방할 수 있는 키를 상기 사용자 단말로 제공할 수 있다. In addition, the locking module may be installed in the locking device in an add-on manner so that the user can access other locking devices previously installed in the shared resource only when the user opens the locking module based on the right to use the shared resource. and the controller module may provide a key for opening the locking device to the user terminal when the locking module is opened based on the right to use the shared resource.

본 발명의 일실시에에 따른 복합 IoT 디바이스를 이용한 공유서비스 제공방법은, 관리자 단말이 관리자 dApp을 통하여 공유자원의 정보 및 상기 공유자원에 결합된 복합 IoT 디바이스의 정보를 블록체인 네트워크에 제공하여 상기 공유자원을 공유가능하도록 제공하는 공유자원 등록단계, 사용자 단말이 사용자 dApp을 통하여 상기 블록체인 네트워크에 등록된 상기 공유자원의 이용권한을 요청하고 상기 관리자 단말이 사전에 지정해놓은 스마트 컨트랙트에 기초하여 이용권한이 부여되는 이용권한 획득단계, 및 상기 복합 IoT 디바이스가 상기 사용자 단말에 이용권한이 존재하는지 판단하여 상기 공유자원에 접근가능하도록 잠금을 개방하는 이용시작단계를 포함할 수 있다. In a shared service providing method using a composite IoT device according to an embodiment of the present invention, a manager terminal provides information of a shared resource and information of a composite IoT device coupled to the shared resource to a block chain network through a manager dApp, A shared resource registration step of providing a shared resource to be shared, a user terminal requests the right to use the shared resource registered in the block chain network through a user dApp, and uses it based on a smart contract designated in advance by the manager terminal It may include a step of acquiring a use right to which the right is granted, and a use start step of opening the lock so that the composite IoT device can access the shared resource by determining whether a use right exists in the user terminal.

또한, 상기 공유자원 등록단계는 관리자 단말이 관리자용 dApp을 통하여 상기 공유자원의 정보 및 상기 복합 IoT 디바이스의 정보를 상기 블록체인 네트워크에 제공하는 단계, 및 상기 블록체인 네트워크의 관리자용 스마트 컨트랙트에 기초하여 상기 공유자원의 정보 및 상기 복합 IoT 디바이스의 정보가 상기 블록체인 네트워크가 생성하는 블록에 기록되고 상기 블록이 공유되는 단계를 포함할 수 있다. In addition, the shared resource registration step is a step for a manager terminal to provide the shared resource information and the composite IoT device information to the block chain network through the manager dApp, and based on the smart contract for the manager of the block chain network Thus, the information of the shared resource and the information of the composite IoT device are recorded in a block generated by the block chain network, and the block is shared.

또한, 상기 이용권한 획득단계는 상기 사용자 단말이 상기 사용자용 dApp을 통해 상기 블록체인 네트워크에 분산 저장된 블록체인에 기록된 공유자원의 검색을 요청하면, 상기 사용자용 dApp이 상기 블록체인에 기록된 공유자원을 검색하여 제공가능한 공유자원의 목록을 상기 사용자 단말로 제공하는 단계, 상기 사용자 단말이 제공가능한 공유자원의 목록 중에서 공유자원을 선택하여 이용권한 획득을 요청하는 단계, 및 상기 블록체인 네트워크의 관리자용 스마트 컨트랙트는 요청된 공유자원의 이용가능여부를 판단하고 이용가능한 경우 상기 사용자 단말에 이용권한을 부여하였음을 블록체인에 기록하는 단계를 포함할 수 있다. In addition, in the step of acquiring the use right, when the user terminal requests a search for shared resources recorded in the blockchain distributed and stored in the blockchain network through the dApp for the user, the dApp for the user is shared recorded in the blockchain Searching for a resource and providing a list of available shared resources to the user terminal, selecting a shared resource from a list of available shared resources by the user terminal and requesting to obtain a use right, and a manager of the block chain network The smart contract for use may include a step of determining whether the requested shared resource is available and, if available, recording that the user terminal is given the right to use it in the block chain.

또한, 상기 이용시작단계는 사용자 단말이 사용자용 dApp을 통하여 상기 블록체인 네트워크에 이용권한에 기초한 상기 복합 IoT 디바이스의 잠금 개방을 요청하는 단계, 상기 복합 IoT 디바이스가 상기 사용자 단말이 정해진 거리 이내에 위치하는지 판단하는 단계, 상기 복합 IoT 디바이스와 상기 사용자 단말이 정해진 거리 이내에 위치하는 경우, 상기 복합 IoT 디바이스와 상기 사용자 단말이 각각 상기 블록체인 네트워크에 일회용 인증 프로토콜의 실행을 요청하는 단계, 상기 블록체인 네트워크는 상기 일회용 인증 프로토콜에 따라, 일회용 키를 생성하여 상기 복합 IoT 디바이스와 상기 사용자 단말에 각각 전달하는 단계, 상기 복합 IoT 디바이스가 수신한 상기 일회용 키와 상기 사용자 단말로부터 수신한 상기 일회용 키가 일치하는 경우 상기 사용자 단말에 이용권한이 있는 것으로 판단하여 잠금을 개방하는 단계를 포함할 수 있다. In addition, the use start step is the step of the user terminal requesting the lock and opening of the composite IoT device based on the use right to the block chain network through the dApp for the user, whether the composite IoT device is located within a predetermined distance of the user terminal determining, when the composite IoT device and the user terminal are located within a predetermined distance, the composite IoT device and the user terminal request execution of a one-time authentication protocol to the blockchain network, respectively, the blockchain network generating a one-time key according to the one-time authentication protocol and transmitting the one-time key to the composite IoT device and the user terminal, respectively, when the one-time key received by the composite IoT device matches the one-time key received from the user terminal It may include determining that the user terminal has the right to use the lock and opening the lock.

또한, 상기 블록체인 네트워크는 상기 공유자원의 공유에 필요한 정보, 상기 공유자원의 이용 기록, 상기 공유자원의 관리자 또는 사용자에 관한 정보를 포함한 블록체인을 저장하고, 상기 공유자원의 공유에 관련된 기능의 적어도 일부를 수행하는 복수의 노드를 포함할 수 있다. In addition, the block chain network stores the block chain including information necessary for sharing the shared resource, the usage record of the shared resource, and information about the manager or user of the shared resource, and functions related to the sharing of the shared resource. It may include a plurality of nodes that perform at least some.

또한, 상기 복합 IoT 디바이스는 다양한 종류의 공유자원에 결합되어 물리적 또는 전기적으로 상기 공유자원을 개폐하는 잠금모듈, 사용자 단말 또는 블록체인 네트워크와 데이터를 송수신하는 통신모듈, 및 상기 사용자 단말이 상기 공유자원의 이용권한을 갖는지 여부를 상기 블록체인 네트워크로부터 수신하는 키에 기초하여 판단하고, 상기 잠금모듈을 개폐하도록 제어하는 컨트롤러모듈을 포함할 수 있다. In addition, the composite IoT device is coupled to various types of shared resources, and a lock module for physically or electrically opening and closing the shared resource, a communication module for transmitting and receiving data to and from a user terminal or a block chain network, and the user terminal is the shared resource It may include a controller module that determines whether or not the user has the right to use the lock based on the key received from the block chain network, and controls to open and close the lock module.

본 발명의 특징 및 이점들은 첨부도면에 의거한 다음의 상세한 설명으로 더욱 명백해질 것이다.The features and advantages of the present invention will become more apparent from the following detailed description taken in conjunction with the accompanying drawings.

이에 앞서 본 명세서 및 청구범위에 사용된 용어나 단어는 통상적이고 사전적인 의미로 해석되어서는 아니 되며, 발명자가 그 자신의 발명을 가장 최선의 방법으로 설명하기 위해 용어의 개념을 적절하게 정의할 수 있다는 원칙에 입각하여 본 발명의 기술적 사상에 부합되는 의미와 개념으로 해석되어야만 한다.Prior to this, the terms or words used in the present specification and claims should not be construed in a conventional and dictionary meaning, and the inventor may properly define the concept of a term to describe his invention in the best way. Based on the principle that there is, it should be interpreted as meaning and concept consistent with the technical idea of the present invention.

본 발명의 일실시예에 따르면, 블록체인 기반의 공유 및 거래 플랫폼을 이용하여 누구라도 다양한 종류의 공유자원을 등록할 수 있고 블록체인에 등록된 공유자원을 이용하거나 거래할 수 있다. According to an embodiment of the present invention, using a blockchain-based sharing and transaction platform, anyone can register various types of shared resources and can use or transact with shared resources registered in the blockchain.

또한, 본 발명의 일실시예에 따른 목적은, 다양한 종류의 공유자원에 결합될 수 있는 복합 IoT 디바이스를 이용하고, 블록체인 네트워크가 제공하는 스마트 컨트랙트를 이용하여 다양한 종류의 공유자원을 이용하거나 거래할 수 있다. In addition, an object according to an embodiment of the present invention is to use a complex IoT device that can be coupled to various types of shared resources, and use or transact various types of shared resources using smart contracts provided by the blockchain network. can do.

도 1은 본 발명의 일실시예에 따른 복합 IoT 디바이스를 이용한 공유서비스 제공방법을 제공하는 환경을 나타낸 것이다.
도 2는 본 발명의 일실시예에 따른 관리자용 스마트 컨트랙트의 기능을 나타내는 도면이다.
도 3은 본 발명의 일실시예에 따른 사용자용 스마트 컨트랙트의 기능을 나타내는 도면이다.
도 4는 본 발명의 일실시예에 따른 복합 IoT 디바이스를 나타내는 도면이다.
도 5a는 본 발명의 일실시예에 따른 애드온 방식으로 결합되는 복합 IoT 디바이스를 나타내는 도면이다.
도 5b는 본 발명의 일실시예에 따른 복합 IoT 디바이스의 게이트웨이모듈을 나타내는 도면이다.
도 6은 본 발명의 일실시예에 따른 복합 IoT 디바이스를 이용한 공유서비스 제공방법을 나타낸 흐름도이다.
1 shows an environment for providing a method for providing a shared service using a composite IoT device according to an embodiment of the present invention.
2 is a diagram showing the function of a smart contract for managers according to an embodiment of the present invention.
3 is a diagram illustrating the function of a smart contract for a user according to an embodiment of the present invention.
4 is a diagram illustrating a composite IoT device according to an embodiment of the present invention.
5A is a diagram illustrating a composite IoT device coupled in an add-on method according to an embodiment of the present invention.
5B is a diagram illustrating a gateway module of a composite IoT device according to an embodiment of the present invention.
6 is a flowchart illustrating a method of providing a shared service using a composite IoT device according to an embodiment of the present invention.

본 발명의 일실시예의 목적, 특정한 장점들 및 신규한 특징들은 첨부된 도면들과 연관되어지는 이하의 상세한 설명과 바람직한 실시예들로부터 더욱 명백해질 것이다. 본 명세서에서 각 도면의 구성요소들에 참조번호를 부가함에 있어서, 동일한 구성 요소들에 한해서는 비록 다른 도면상에 표시되더라도 가능한 한 동일한 번호를 가지도록 하고 있음에 유의하여야 한다. 또한, "일면", "타면", "제1", "제2" 등의 용어는 하나의 구성요소를 다른 구성요소로부터 구별하기 위해 사용되는 것으로, 구성요소가 상기 용어들에 의해 제한되는 것은 아니다. 이하, 본 발명의 일실시예를 설명함에 있어서, 본 발명의 일실시예의 요지를 불필요하게 흐릴 수 있는 관련된 공지 기술에 대한 상세한 설명은 생략한다. The objects, specific advantages and novel features of one embodiment of the present invention will become more apparent from the following detailed description and preferred embodiments taken in conjunction with the accompanying drawings. In the present specification, in adding reference numbers to the components of each drawing, it should be noted that only the same components are given the same number as possible even though they are indicated on different drawings. In addition, terms such as "one side", "the other side", "first", "second" etc. are used to distinguish one component from another component, and the component is limited by the terms not. Hereinafter, in describing an embodiment of the present invention, detailed descriptions of related known technologies that may unnecessarily obscure the gist of an embodiment of the present invention will be omitted.

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

도 1은 본 발명의 일실시예에 따른 복합 IoT 디바이스를 이용한 공유서비스 제공방법을 제공하는 환경을 나타낸 것이다. 1 shows an environment for providing a shared service providing method using a composite IoT device according to an embodiment of the present invention.

본 발명의 일실시예에 따른 복합 IoT 디바이스를 이용한 공유서비스 제공방법은 복합 IoT 디바이스(20), 관리자 단말(31), 사용자 단말(32), 블록체인 네트워크(50)를 이용하여 수행될 수 있다. The shared service providing method using the composite IoT device according to an embodiment of the present invention may be performed using the composite IoT device 20 , the manager terminal 31 , the user terminal 32 , and the block chain network 50 . .

블록체인 네트워크(50)는 복수의 노드(51)가 피어 투 피어(P2P, Peer to Peer) 방식으로 연결된 네트워크이다. 블록체인 네트워크(50)는 복수의 노드(51)들 사이의 정보처리와 각 노드(51)의 정보처리에 기초하여 복합 IoT 디바이스를 이용한 공유서비스 제공방법을 수행할 수 있다. 블록체인 네트워크(50)는 공유자원(10)의 공유에 필요한 정보, 공유자원(10)의 이용 기록, 공유자원(10)의 관리자 또는 사용자에 관한 정보를 저장할 수 있는 블록체인(60)을 저장하고, 공유자원(10)의 공유에 관련된 기능의 적어도 일부를 수행하는 복수의 노드(51)로 구성될 수 있다. The blockchain network 50 is a network in which a plurality of nodes 51 are connected in a peer-to-peer (P2P, Peer to Peer) manner. The blockchain network 50 may perform a method of providing a shared service using a composite IoT device based on information processing between a plurality of nodes 51 and information processing of each node 51 . The block chain network 50 stores the block chain 60 that can store information necessary for sharing the shared resource 10 , the use record of the shared resource 10 , and information about the administrator or user of the shared resource 10 . And, it may be composed of a plurality of nodes 51 that perform at least some of the functions related to the sharing of the shared resource 10 .

노드(51)는 통신부(51a), 제어부(51b), 저장부(51c)를 포함할 수 있다. 노드(51)는 서버 컴퓨터, PC, 노트북 PC, 태블릿 PC, 스마트폰 등의 정보처리장치를 포함한다. 통신부(51a)는 다른 노드(51), 관리자 단말(31), 사용자 단말(32), 복합 IoT 디바이스(20)와 데이터를 송수신할 수 있다. 통신부(51a)는 노드(51)와 다른 노드(51)를 연결하여 블록체인 네트워크(50)를 구성할 수 있다. 저장부(51c)는 블록체인(60)의 전부 또는 일부를 저장할 수 있다. 저장부(51c)는 본 발명의 일실시예에 따른 복합 IoT 디바이스를 이용한 공유서비스 제공방법을 수행하는 프로그램 코드를 저장할 수 있다. 제어부(51b)는 본 발명의 일실시예에 따른 복합 IoT 디바이스를 이용한 공유서비스 제공방법을 수행하는 프로그램 코드를 실시할 수 있는 프로세서(processor)를 포함할 수 있다. The node 51 may include a communication unit 51a, a control unit 51b, and a storage unit 51c. The node 51 includes an information processing device such as a server computer, a PC, a notebook PC, a tablet PC, and a smart phone. The communication unit 51a may transmit/receive data to and from another node 51 , the manager terminal 31 , the user terminal 32 , and the composite IoT device 20 . The communication unit 51a may configure the block chain network 50 by connecting the node 51 and other nodes 51 . The storage unit 51c may store all or part of the block chain 60 . The storage unit 51c may store a program code for performing the method of providing a shared service using a composite IoT device according to an embodiment of the present invention. The controller 51b may include a processor capable of executing a program code for performing the method of providing a shared service using a composite IoT device according to an embodiment of the present invention.

블록체인(60)은 이전 블록(61)의 해시값을 자기 블록(61)의 구성으로 포함하는 블록(61)들의 연속적인 연결로 구성될 수 있다. 블록(61)은 이전 블록(61)의 해시값 및 저장공간을 포함한다. 블록체인(60)은 블록체인 네트워크(50)를 구성하는 복수의 노드(51)에 각각 저장되고, 복수의 노드(51)에 저장된 블록체인(60)들은 서로 동일한 데이터를 갖는다. 블록(61)의 저장공간에는 공유자원(10)에 관한 정보, 복합 IoT 디바이스(20)에 관한 정보, 관리자에 관한 정보, 사용자에 관한 정보, 공유자원(10)의 사용기록 등이 저장될 수 있다. The block chain 60 may be configured as a continuous connection of blocks 61 including the hash value of the previous block 61 as a configuration of the magnetic block 61 . Block 61 contains the hash value of the previous block 61 and storage space. The block chain 60 is stored in a plurality of nodes 51 constituting the block chain network 50, respectively, and the block chains 60 stored in the plurality of nodes 51 have the same data. In the storage space of the block 61, information about the shared resource 10, information about the composite IoT device 20, information about a manager, information about a user, a usage record of the shared resource 10, etc. can be stored in the storage space of the block 61. there is.

관리자 단말(31) 및 사용자 단말(32)은 블록체인 네트워크(50)에 접속하여 데이터를 송수신할 수 있는 정보처리장치이다. 관리자 단말(31) 및 사용자 단말(32)은 스마트폰, 노트북 PC, 태블릿 PC, 웨어러블 컴퓨터 등의 휴대용 전자기기를 포함할 수 있다. 관리자 단말(31) 및 사용자 단말(32)은 dApp을 통하여 블록체인 네트워크(50)와 데이터를 송수신할 수 있다. The manager terminal 31 and the user terminal 32 are information processing devices that can transmit and receive data by connecting to the block chain network 50 . The manager terminal 31 and the user terminal 32 may include portable electronic devices such as smart phones, notebook PCs, tablet PCs, and wearable computers. The manager terminal 31 and the user terminal 32 may transmit/receive data to and from the blockchain network 50 through the dApp.

dApp(distributed Application)은 사용자 및 관리자가 복합 IoT 디바이스를 이용한 공유서비스 제공방법을 이용하기 위하여 관리자 단말(31) 및 사용자 단말(32)을 통해 접속하는 프론트엔드 인터페이스(Frontend Interface)이다. dApp은 관리자 단말(31) 및 사용자 단말(32)에 설치되어 실행될 수도 있고, 블록체인 네트워크(50)와 별도의 서버에서 운영되는 웹페이지 형태로 관리자 단말(31) 및 사용자 단말(32)에 제공될 수 있으며, 블록체인 네트워크(50)의 노드(51)에서 실행될 수도 있다. dApp은 관리자용 dApp(41) 및 사용자용 dApp(42)을 포함할 수 있다. 관리자용 dApp(41)은 공유자원(10)에 관한 정보, 및 복합 IoT 디바이스(20)에 관한 정보의 등록기능, 공유자원(10)의 모니터링 기능, 각종 관리 허가 기능들을 관리자 단말(31)에 제공할 수 있다. 사용자용 dApp(42)은 공유자원(10) 검색기능, 이용권한 신청, 복합 IoT 디바이스(20)의 잠금해제 요청 등의 기능들을 관리자 단말(31)에 제공할 수 있다. A dApp (distributed application) is a front-end interface through which users and managers connect through the manager terminal 31 and the user terminal 32 in order to use a shared service providing method using a complex IoT device. The dApp may be installed and executed in the manager terminal 31 and the user terminal 32, and provided to the manager terminal 31 and the user terminal 32 in the form of a web page operated in a server separate from the block chain network 50 It can also be executed in the node 51 of the blockchain network 50. The dApp may include a dApp 41 for administrators and a dApp 42 for users. The manager dApp 41 provides information on the shared resource 10, a registration function of information about the composite IoT device 20, a monitoring function of the shared resource 10, and various management permission functions to the manager terminal 31. can provide The dApp for a user 42 may provide functions such as a search function for the shared resource 10 , an application for a use right, and a request for unlocking the composite IoT device 20 to the manager terminal 31 .

dApp은 관리자 단말(31) 및 사용자 단말(32)로부터 수신한 데이터나 명령을 블록체인 네트워크(50)에 존재하는 스마트 컨트랙트에 전달한다. 블록체인 네트워크(50)에서 구동되는 스마트 컨트랙트는 관리자용 스마트 컨트랙트(41a) 및 사용자용 스마트 컨트랙트(42a)를 포함한다. 관리자용 스마트 컨트랙트(41a)는 관리자용 dApp(41)으로부터 수신하는 데이터 및 명령에 기초하여 동작할 수 있다. 사용자용 스마트 컨트랙트(42a)는 사용자용 dApp(42)으로부터 수신하는 데이터 및 명령에 기초하여 동작할 수 있다. The dApp transfers data or commands received from the manager terminal 31 and the user terminal 32 to a smart contract existing in the blockchain network 50 . The smart contract running in the blockchain network 50 includes a smart contract 41a for administrators and a smart contract 42a for users. The manager smart contract 41a may operate based on data and commands received from the manager dApp 41 . The smart contract for the user 42a may operate based on data and commands received from the dApp 42 for the user.

도 2는 본 발명의 일실시예에 따른 관리자용 스마트 컨트랙트(41a)의 기능을 나타내는 도면이고, 도 3은 본 발명의 일실시예에 따른 사용자용 스마트 컨트랙트(42a)의 기능을 나타내는 도면이다. 2 is a diagram showing the function of the smart contract for a manager 41a according to an embodiment of the present invention, and FIG. 3 is a diagram showing the function of the smart contract 42a for a user according to an embodiment of the present invention.

도 2에 도시된 바와 같이, 관리자용 스마트 컨트랙트(41a)는 공유자원 정보관리, 공유자원 접근관리, 사용자 현황정보 관리, 위치기반 접속관리 기능을 수행할 수 있다. 공유자원 정보관리 기능은 공유자원 추가, 공유자원 정보 수정, 공유자원 삭제 등의 기능을 포함할 수 있고, 해당 기능을 수행하기 위하여 필요한 공유자원 목록, 기기(복합 IoT 디바이스(20), 관리자 단말(31), 사용자 단말(32) 등)의 Mac Address, 게이트웨이모듈(27)의 센서타입, 게이트웨이모듈(27)의 센서측정간격 등의 정보를 테이블 형식으로 저장할 수 있다. 공유자원 접근관리 기능은 접근 허용기기 추가, 접근 허용기기 삭제, 접근 Log 추가 등의 기능을 포함할 수 있고, 해당 기능을 수행하기 위하여 필요한 접근 기기의 Mac Address, 연결된 사용자 ID, 추가시간 등의 기기현황이나 기기 ID, 접속 경로, 접속 시간 등의 접속 현황 등의 정보를 테이블 형식으로 저장할 수 있다. 사용자 현황정보 관리 기능은 회원 차단 등의 기능을 포함할 수 있고, 해당 기능을 수행하기 위해 필요한 ID, 나이, 성별, 지역 등의 신상정보, 회원 가입 시간 등의 사용자 현황 등의 정보를 테이블 형식으로 저장할 수 있다. 위치기반 접속관리 기능은 접속기록 삽입, 실내/실외 수정 등의 기능을 수행할 수 있으며, 해당 기능을 수행하기 위해 필요한 송신자 기기 ID, 수신자 기기 ID, 위도/경도, 접속시점, 실내/실외, 실내좌표 등의 위치데이터 정보를 테이블 형식으로 저장할 수 있다. 관리자용 스마트 컨트랙트(41a)는 공유자원(10)을 블록체인 네트워크(50)에 등록하는 기능, 공유자원(10)의 이용 상태를 모니터링하는 기능 등을 수행할 수 있다. As shown in FIG. 2 , the manager smart contract 41a may perform shared resource information management, shared resource access management, user status information management, and location-based access management functions. The shared resource information management function may include functions such as adding shared resources, modifying shared resource information, deleting shared resources, etc. 31), information such as the Mac Address of the user terminal 32, etc.), the sensor type of the gateway module 27, and the sensor measurement interval of the gateway module 27 can be stored in a table format. The shared resource access management function may include functions such as adding an access-allowing device, deleting an access-allowing device, and adding an access log, and devices such as the Mac address of the access device, connected user ID, and additional time required to perform the function. Information such as current status or access status such as device ID, access path, and access time can be stored in a table format. The user status information management function may include functions such as member blocking, and information such as user status such as ID, age, gender, region, etc. required to perform the function, and user status such as membership registration time is displayed in a table format. can be saved The location-based access management function can perform functions such as access record insertion and indoor/outdoor modification, and the sender device ID, receiver device ID, latitude/longitude, access point, indoor/outdoor, indoor required to perform the function. Location data information such as coordinates can be stored in a table format. The manager smart contract 41a may perform a function of registering the shared resource 10 in the block chain network 50 , and a function of monitoring the usage status of the shared resource 10 .

도 3에 도시된 바와 같이, 사용자용 스마트 컨트랙트(42a)는 사용자 기능, 기기 기능, 위치 기능을 포함할 수 있다. 사용자 기능은 회원가입, 회원정보 수정, 탈퇴 등의 기능을 포함할 수 있고, 해당 기능을 수행하기 위하여 필요한 ID, 나이, 성별, 지역 등의 신상정보 데이터, 회원 가입 시간 등의 사용자 데이터 정보를 테이블 형식으로 저장할 수 있다. 기기 기능은 접근 기기 등록, 기기 현황 체크 등의 기능을 포함할 수 있으며, 해당 기능을 수행하기 위한 접근 기기의 Mac Address, 연결 사용자 ID, 추가 시간 등의 기기 데이터, 및 기기 ID, 접속 경로, 접속 시간 등의 접속 현황 등의 정보를 테이블 형식으로 저장할 수 있다. 위치 기능은 접속 위치 데이터 삽입, 로그 조회 등의 기능을 포함할 수 있고, 해당 기능을 수행하기 위해 필요한 송신자 기기 ID, 수신자 기기 ID, 위도/경도, 접속시점, 실내/실외, 실내좌표 등의 정보를 테이블 형식으로 저장할 수 있다. 관리자용 스마트 컨트랙트(41a)와 사용자용 스마트 컨트랙트(42a)가 이용하는 정보는 블록(61)의 저장공간에 저장될 수 있고, 암호화되어 저장될 수 있다. As shown in FIG. 3 , the user smart contract 42a may include a user function, a device function, and a location function. User functions may include functions such as membership registration, member information modification, withdrawal, etc. format can be saved. Device functions may include functions such as access device registration and device status check, and device data such as Mac Address of the access device, connection user ID, additional time, and device ID, access path, access to perform the corresponding function Information such as access status, such as time, can be stored in a table format. The location function may include functions such as access location data insertion and log inquiry, and information such as sender device ID, receiver device ID, latitude/longitude, access point, indoor/outdoor, indoor coordinates required to perform the function can be stored in table format. Information used by the smart contract for the manager 41a and the smart contract for the user 42a may be stored in the storage space of the block 61, and may be encrypted and stored.

도 4는 본 발명의 일실시예에 따른 복합 IoT 디바이스(20)를 나타내는 도면이다. 4 is a diagram illustrating a composite IoT device 20 according to an embodiment of the present invention.

도 4에 도시된 바와 같이, 본 발명의 일실시예에 따른 복합 IoT 디바이스(20)는 다양한 종류의 공유자원(10)에 결합되어 물리적 또는 전기적으로 공유자원(10)을 개폐하는 잠금모듈(21), 사용자 단말(32) 또는 블록체인 네트워크(50)와 데이터를 송수신하는 통신모듈(22), 및 사용자 단말(32)이 공유자원(10)의 이용권한을 갖는지 여부를 상기 블록체인 네트워크(50)로부터 수신하는 키에 기초하여 판단하고, 잠금모듈(21)을 개폐하도록 제어하는 컨트롤러모듈(23)을 포함할 수 있다. 또한, 본 발명의 일실시예에 따른 복합 IoT 디바이스(20)는 사용자 또는 관리자에게 정보를 시각적 또는 청각적으로 제공할 수 있는 표시모듈(25), 사용자 또는 관리자의 명령이나 터치(touch) 등을 입력받을 수 있는 입력모듈(24), 복합 IoT 디바이스(20)의 구성들에게 전원을 공급하는 배터리 등의 전원모듈(26)을 포함할 수 있다. 복합 IoT 디바이스(20)가 포함하는 각 모듈들(21 내지 27)은 물리적으로 독립된 디바이스로 구성될 수도 있고, 일부 모듈들이 하나의 디바이스로 구성될 수도 있다. As shown in FIG. 4 , the composite IoT device 20 according to an embodiment of the present invention is coupled to various types of shared resources 10 and a lock module 21 for physically or electrically opening and closing the shared resource 10 . ), the communication module 22 for transmitting and receiving data with the user terminal 32 or the block chain network 50, and the block chain network 50 whether the user terminal 32 has the right to use the shared resource 10 ) and may include a controller module 23 that controls to open and close the lock module 21 based on the determination based on the key received from the . In addition, the composite IoT device 20 according to an embodiment of the present invention provides a display module 25 capable of visually or aurally providing information to a user or manager, a command or touch of the user or manager, etc. It may include an input module 24 that can receive an input, and a power module 26 such as a battery for supplying power to components of the composite IoT device 20 . Each of the modules 21 to 27 included in the composite IoT device 20 may be configured as a physically independent device, and some modules may be configured as a single device.

잠금모듈(21)은 컨트롤러모듈(23)의 제어에 따라 개폐될 수 있다. 잠금모듈(21)은 공유자원(10)에 물리적으로 결합되어 공유자원(10)을 이용할 때 필요한 공유자원(10)의 일부 구성에 사용자가 접근하는 것을 차단할 수 있다. 예를 들어, 공유자원(10)이 회의실이나 숙박시설인 경우 잠금모듈(21)은 문의 도어락이나 자물쇠에 물리적으로 결합되어 사용자가 문을 임의로 개방할 수 없도록 차단할 수 있다. 또는, 공유자원(10)이 전자기기일 때 잠금모듈(21)은 전자기기의 입력장치나 출력장치에 결합되거나, 전자기기에 일체로 결합되어 사용자가 전자기기의 전부 또는 일부를 사용할 수 없도록 물리적 또는 전기적인 제한을 수행할 수 있다. 또는, 잠금모듈(21)은 도어락이나 자물쇠 등에 일체로 형성될 수 있다. 잠금모듈(21)은 다양한 공유자원(10)에 결합될 수 있다. The lock module 21 may be opened and closed under the control of the controller module 23 . The locking module 21 may be physically coupled to the shared resource 10 to block a user's access to some components of the shared resource 10 required when using the shared resource 10 . For example, when the shared resource 10 is a conference room or accommodation facility, the lock module 21 may be physically coupled to the door lock or lock of the door to block the user from arbitrarily opening the door. Alternatively, when the shared resource 10 is an electronic device, the lock module 21 is coupled to an input device or an output device of the electronic device or is integrally coupled to the electronic device to prevent the user from using all or part of the electronic device. Alternatively, electrical restriction may be performed. Alternatively, the lock module 21 may be integrally formed with a door lock or a lock. The lock module 21 may be coupled to various shared resources 10 .

통신모듈(22)은 관리자 단말(31), 사용자 단말(32), 블록체인 네트워크(50)와 데이터를 송수신할 수 있다. 통신모듈(22)은 Wi-Fi, Bluetooth, NFC 등의 근거리 통신방식을 이용할 수 있다. 통신모듈(22)은 GPS 정보를 이용하여 자신의 위치를 인식할 수도 있다. The communication module 22 may transmit/receive data to and from the manager terminal 31 , the user terminal 32 , and the block chain network 50 . The communication module 22 may use a short-distance communication method such as Wi-Fi, Bluetooth, or NFC. The communication module 22 may recognize its own location using GPS information.

컨트롤러모듈(23)은 잠금모듈(21)의 개폐를 제어할 수 있다. 컨트롤러모듈(23)은 공유자원(10)의 이용을 요청한 사용자 단말(32)의 이용권한을 확인할 수 있다. 컨트롤러모듈(23)은 일회용 인증 프로토콜에 따라 블록체인 네트워크(50)로부터 수신되는 키와 사용자 단말(32)이 통신모듈(22)을 통해 전송하는 키를 비교하여 사용자 단말(32)의 이용권한을 확인할 수 있다. 블록체인 네트워크(50)로부터 수신되는 키와 사용자 단말(32)이 통신모듈(22)을 통해 전송하는 키가 일치하는 경우 컨트롤러모듈(23)은 사용자 단말(32)에 이용권한이 존재하는 것으로 판단할 수 있다. 컨트롤러모듈(23)은 사용자 단말(32)의 이용권한의 존재가 확인되면 잠금모듈(21)을 개방하도록 제어한다. 컨트롤러모듈(23)은 정해진 사용기간이 경과하거나, 필요한 조건이 만족되는 경우 잠금모듈(21)을 잠그도록 제어할 수 있다. The controller module 23 may control opening and closing of the lock module 21 . The controller module 23 may check the usage right of the user terminal 32 that has requested the use of the shared resource 10 . The controller module 23 compares the key received from the block chain network 50 with the key transmitted by the user terminal 32 through the communication module 22 according to the one-time authentication protocol to determine the right to use the user terminal 32 can be checked When the key received from the block chain network 50 and the key transmitted by the user terminal 32 through the communication module 22 match, the controller module 23 determines that the user terminal 32 has the right to use it. can do. The controller module 23 controls to open the lock module 21 when the existence of the right to use the user terminal 32 is confirmed. The controller module 23 may control the locking module 21 to be locked when a predetermined period of use has elapsed or a necessary condition is satisfied.

컨트롤러모듈(23)은 통신모듈(22)과 사용자 단말(32) 사이의 근거리 통신 또는 GPS 정보를 이용하여 사용자 단말(32)이 정해진 거리만큼 접근하여야 이용권한을 갖는지 여부를 판단하는 절차를 시작할 수도 있다. 사용자 단말(32)과 통신모듈(22)이 정해진 거리만큼 접근한 상태에서 잠금이 개방되어야 이용권한이 없는 사람의 이용을 방지할 수 있는 점에서 근접여부 판단은 추가적인 안전장치가 된다. 통신모듈(22)은 Wi-Fi, Bluetooth, NFC 등의 전파 강도에 기초한 거리판단을 수행하거나, 자신의 GPS 좌표와 사용자 단말(32)로부터 수신하는 사용자 단말(32)의 GPS 정보를 비교하여 근접 여부를 판단할 수 있다. 컨트롤러모듈(23)은 사용자 단말(32)이 통신모듈(22)과 정해진 거리만큼 접근한 것으로 판단되면, 블록체인 네트워크(50)에 일회용 인증 프로토콜에 기초한 이용권한 확인을 요청할 수 있다.The controller module 23 may start a procedure for determining whether the user terminal 32 has access rights only when the user terminal 32 approaches by a predetermined distance using short-distance communication or GPS information between the communication module 22 and the user terminal 32. there is. The proximity determination is an additional safety device in that the user terminal 32 and the communication module 22 must be unlocked when the user terminal 32 and the communication module 22 are approached by a predetermined distance to prevent use by a person who does not have the right to use it. Communication module 22 performs distance determination based on radio wave strength of Wi-Fi, Bluetooth, NFC, etc., or compares its own GPS coordinates with GPS information of the user terminal 32 received from the user terminal 32 to provide proximity can determine whether When it is determined that the user terminal 32 approaches the communication module 22 by a predetermined distance, the controller module 23 may request the blockchain network 50 to check the usage right based on the one-time authentication protocol.

컨트롤러모듈(23)은 사용자 또는 관리자가 입력모듈(24)로 입력하는 정보에 기초하여 공유자원(10)의 이용에 필요한 절차를 더 수행할 수 있다. 컨트롤러모듈(23)은 공유자원(10)의 이용권한에 기초하여 잠금모듈(21)을 개방하는 경우, 잠금장치를 개방할 수 있는 키를 상기 사용자 단말(32)로 제공할 수 있다. 컨트롤러모듈(23)은 사용자 단말(32)에 이용권한이 존재하는 것으로 판단되면, 공유자원(10)을 이용하는데 필요한 비밀번호 등의 정보를 사용자 단말(32)로 제공하거나 표시모듈(25)을 통해 사용자에게 제공할 수 있다. 예를 들어, 잠금모듈(21)이 도어락에 물리적으로 연결되어 있는 경우, 사용자 단말(32)의 이용권한이 확인되면 컨트롤러모듈(23)은 잠금모듈(21)을 개방하도록 제어하면서, 도어락을 개방하는데 필요한 도어락 비밀번호를 사용자 단말(32)로 제공하거나 표시모듈(25)을 통해 사용자에게 제공할 수 있다. The controller module 23 may further perform a procedure necessary for use of the shared resource 10 based on information input by a user or an administrator to the input module 24 . When the controller module 23 opens the lock module 21 based on the use right of the shared resource 10 , the controller module 23 may provide a key for opening the lock to the user terminal 32 . If it is determined that the user terminal 32 has the right to use the user terminal 32 , the controller module 23 provides information such as a password required to use the shared resource 10 to the user terminal 32 or through the display module 25 . can be provided to users. For example, when the lock module 21 is physically connected to the door lock, when the user terminal 32 is checked for permission to use, the controller module 23 controls the lock module 21 to open while opening the door lock. The door lock password required for this may be provided to the user terminal 32 or to the user through the display module 25 .

도 5a는 본 발명의 일실시예에 따른 애드온 방식으로 결합되는 복합 IoT 디바이스(20)를 나타내는 도면이다. 화살표 A는 잠금모듈(21)이 도어락 상에 점선으로 표시된 부분에 결합되는 것을 나타낸 것이다.5A is a diagram illustrating a composite IoT device 20 coupled in an add-on method according to an embodiment of the present invention. Arrow A indicates that the lock module 21 is coupled to a portion indicated by a dotted line on the door lock.

도 5a에 도시된 바와 같이, 복합 IoT 디바이스(20)의 잠금모듈(21)은 사용자가 공유자원(10)의 이용권한에 기초하여 잠금모듈(21)을 개방하여야 공유자원(10)에 미리 설치되어 있는 다른 잠금장치(100)에 접근가능하도록, 잠금장치(100)에 애드온 방식으로 설치될 수 있다. 애드온(add on) 방식이란 공유자원(10)에 설치되어 있는 잠금장치(100)는 그대로 유지하고, 잠금장치(100)에 복합 IoT 디바이스(20)를 추가로 결합하는 것이다. 복합 IoT 디바이스(20)의 잠금모듈(21)은 잠금장치(100)를 개방하기 위해 필요한 키패드, 열쇠구멍, 다이얼 등을 커버하도록 결합되고, 잠금모듈(21)이 개방되면 사용자가 키패드, 열쇠구멍, 다이얼 등에 접근할 수 있는 공간을 오픈하는 방식으로 형성될 수 있다. 예를 들어, 공유자원(10)인 공간에 진입하는 문에 설치된 잠금장치(100)인 도어락에 복합 IoT 디바이스(20)가 결합되되, 잠금모듈(21)이 도어락의 키패드(110)를 덮도록 결합되고, 잠금모듈(21)의 오픈영역(21a)이 화살표 B를 따라 이동하는 슬라이드 방식 또는 힌지 방식으로 개방되면 사용자가 도어락의 키패드(110)에 접근할 수 있도록 형성될 수 있다. As shown in FIG. 5A , the lock module 21 of the composite IoT device 20 is pre-installed in the shared resource 10 only when the user opens the lock module 21 based on the use right of the shared resource 10 . In order to be able to access the other locking device 100, it may be installed in an add-on manner to the locking device 100 . The add-on method is to maintain the locking device 100 installed in the shared resource 10 as it is, and to additionally couple the composite IoT device 20 to the locking device 100 . The lock module 21 of the composite IoT device 20 is coupled to cover a keypad, a key hole, a dial, etc. necessary to open the lock device 100, and when the lock module 21 is opened, the user can use the keypad, the key hole , it can be formed in a way that opens a space accessible to the dial, etc. For example, the composite IoT device 20 is coupled to the door lock, which is the lock device 100 installed on the door entering the space, which is the shared resource 10, so that the lock module 21 covers the keypad 110 of the door lock. When coupled and the open area 21a of the lock module 21 is opened by a slide method or a hinge method moving along the arrow B, it may be formed so that the user can access the keypad 110 of the door lock.

도 5b는 본 발명의 일실시예에 따른 복합 IoT 디바이스(20)의 게이트웨이모듈(27)을 나타내는 도면이다. 5B is a diagram illustrating the gateway module 27 of the composite IoT device 20 according to an embodiment of the present invention.

도 5b에 도시된 바와 같이, 본 발명의 일실시예에 따른 복합 IoT 디바이스(20)는 게이트웨이모듈(27)을 더 포함할 수 있다. 게이트웨이모듈(27)은 모션센서, 인체감지센서, 적외선센서, 초음파센서, 터치센서 중에서 적어도 하나를 이용하여 공유자원(10)의 이용상태를 감시하여 이용상태정보를 생성하고 상기 컨트롤러모듈(23)에 제공할 수 있다. 게이트웨이모듈(27)은 공유자원(10)을 이용하는 사람(32a)이 존재하는지 여부를 감시한다. 게이트웨이모듈(27)은 물리적으로 별도의 디바이스로 형성되고, 공유자원(10)의 이용상태를 감시 가능한 위치의 공유자원(10)에 결합될 수 있다. 예를 들어, 공유자원(10)이 회의실이나 숙박시설 등의 공간인 경우, 게이트웨이모듈(27)은 공간에 사람(32a)이 존재하는지 여부를 확인할 수 있는 위치에 설치될 수 있다. 이때 게이트웨이모듈(27)은 잠금모듈(21)과 물리적으로 별도의 디바이스로 형성되어, 게이트웨이모듈(27)이 감지한 공유자원(10)의 이용상태는 통신모듈(22)을 통해 컨트롤러모듈(23)에 전달될 수 있다. 컨트롤러모듈(23)은 이용권한에 기초하여 공유자원(10)을 이용하는 사람(32a)이 침입자인지 정당한 사용자인지 판단할 수 있다. 컨트롤러모듈(23)은 침입자로 판단되는 경우 관리자 단말(31)에 경보를 제공할 수 있다. 컨트롤러모듈(23)은 이용권한에 기초한 사용시간이 만료되면 게이트웨이모듈(27)로부터 수신한 이용상태에 기초하여 공유자원(10)을 이용하는 사람(32a)이 없는지 확인하고, 공유자원(10)을 이용하는 사람(32a)이 없는 경우 잠금모듈(21)이 잠궈지도록 제어할 수 있다. As shown in FIG. 5B , the composite IoT device 20 according to an embodiment of the present invention may further include a gateway module 27 . The gateway module 27 monitors the usage status of the shared resource 10 using at least one of a motion sensor, a human body sensor, an infrared sensor, an ultrasonic sensor, and a touch sensor to generate usage status information, and the controller module 23 can be provided to The gateway module 27 monitors whether a person 32a using the shared resource 10 exists. The gateway module 27 may be physically formed as a separate device, and may be coupled to the shared resource 10 at a location capable of monitoring the usage state of the shared resource 10 . For example, when the shared resource 10 is a space such as a conference room or lodging facility, the gateway module 27 may be installed at a location where it can be checked whether a person 32a is present in the space. At this time, the gateway module 27 is formed as a physically separate device from the lock module 21 , and the usage state of the shared resource 10 sensed by the gateway module 27 is determined by the controller module 23 through the communication module 22 . ) can be transferred to The controller module 23 may determine whether the person 32a using the shared resource 10 is an intruder or a legitimate user based on the usage right. The controller module 23 may provide an alert to the manager terminal 31 when it is determined as an intruder. The controller module 23 checks whether there is a person 32a using the shared resource 10 based on the usage status received from the gateway module 27 when the usage time based on the usage right expires, and the shared resource 10 is If there is no person 32a using it, it is possible to control the locking module 21 to be locked.

상술한 바와 같은 본 발명의 일실시예에 따른 복합 IoT 디바이스(20)는 다양한 공유자원(10)에 결합될 수 있고, 공유자원(10)의 이용권한이 존재하는 사용자에게만 잠금모듈(21)을 개방하여 공유자원(10)의 이용을 제공할 수 있다. As described above, the composite IoT device 20 according to an embodiment of the present invention may be coupled to various shared resources 10 , and the lock module 21 is provided only to a user who has the right to use the shared resource 10 . It can be opened to provide the use of the shared resource (10).

도 6은 본 발명의 일실시예에 따른 복합 IoT 디바이스를 이용한 공유서비스 제공방법을 나타낸 흐름도이다. 6 is a flowchart illustrating a method of providing a shared service using a composite IoT device according to an embodiment of the present invention.

도 6에 도시된 바와 같이, 본 발명의 일실시예에 따른 복합 IoT 디바이스를 이용한 공유서비스 제공방법은, 관리자 단말(31)이 관리자용 dApp(41)을 통하여 공유자원(10)의 정보 및 공유자원(10)에 결합된 복합 IoT 디바이스(20)의 정보를 블록체인 네트워크(50)에 제공하여 공유자원(10)을 공유가능하도록 제공하는 공유자원 등록단계(S10), 사용자 단말(32)이 사용자용 dApp(42)을 통하여 블록체인 네트워크(50)에 등록된 공유자원(10)의 이용권한을 요청하고 관리자 단말(31)이 사전에 지정해놓은 스마트 컨트랙트에 기초하여 이용권한이 부여되는 이용권한 획득단계(S20), 및 복합 IoT 디바이스(20)가 사용자 단말(32)에 이용권한이 존재하는지 판단하여 공유자원(10)에 접근가능하도록 잠금을 개방하는 이용 시작단계(S30)를 포함할 수 있다. 본 발명의 일실시예에 따른 복합 IoT 디바이스를 이용한 공유서비스 제공방법은, 이용권한에 기초하여 정해진 사용시간이 만료되는 경우, 공유자원(10)의 이용상태를 점검하여 이용이 종료된 것으로 판단되면 잠금모듈(21)이 잠궈지도록 제어하는 이용 종료단계(S40)를 포함할 수 있다. 복합 IoT 디바이스를 이용한 공유서비스 제공방법은, 복합 IoT 디바이스(20), 관리자 단말(31), 사용자 단말(32), 블록체인 네트워크(50)를 포함하는 시스템에서 수행될 수 있다. 관리자와 사용자는 본 발명의 일실시예에 따른 복합 IoT 디바이스(20)를 이용한 공유서비스를 이용하기 위하여 회원가입을 하고 정해진 정보를 등록할 수 있다.As shown in FIG. 6 , in the method for providing a shared service using a composite IoT device according to an embodiment of the present invention, the manager terminal 31 transmits information and sharing of the shared resource 10 through the dApp 41 for the manager. A shared resource registration step (S10) of providing the information of the composite IoT device 20 coupled to the resource 10 to the block chain network 50 so that the shared resource 10 can be shared, the user terminal 32 is The right to use the shared resource 10 registered in the blockchain network 50 through the dApp 42 for the user is requested, and the right to use is granted based on the smart contract designated in advance by the manager terminal 31 It may include an acquisition step (S20), and a use start step (S30) in which the composite IoT device 20 determines whether the user terminal 32 has the right to use and opens the lock so that the shared resource 10 can be accessed. there is. In the method for providing a shared service using a composite IoT device according to an embodiment of the present invention, when the usage time determined based on the usage authority expires, the usage status of the shared resource 10 is checked and when it is determined that the usage has ended It may include a use termination step (S40) of controlling the locking module 21 to be locked. The shared service providing method using the composite IoT device may be performed in a system including the composite IoT device 20 , the manager terminal 31 , the user terminal 32 , and the block chain network 50 . An administrator and a user may register as a member and register predetermined information in order to use the shared service using the composite IoT device 20 according to an embodiment of the present invention.

공유자원 등록단계(S10)는 관리자 단말(31)이 관리자용 dApp(41)을 통하여 공유자원(10)의 정보 및 복합 IoT 디바이스(20)의 정보를 블록체인 네트워크(50)에 제공하는 단계, 및 블록체인 네트워크(50)의 관리자용 스마트 컨트랙트(41a)에 기초하여 공유자원(10)의 정보 및 복합 IoT 디바이스(20)의 정보가 블록체인 네트워크(50)가 생성하는 블록(61)에 기록되고 블록(61)이 공유되는 단계를 포함할 수 있다. The shared resource registration step (S10) is a step in which the manager terminal 31 provides the information of the shared resource 10 and the information of the composite IoT device 20 to the block chain network 50 through the dApp 41 for the manager; And based on the smart contract 41a for the manager of the blockchain network 50, the information of the shared resource 10 and the information of the composite IoT device 20 are recorded in the block 61 generated by the blockchain network 50 and block 61 is shared.

먼저 관리자는 복합 IoT 디바이스(20)를 공유자원(10)에 설치한다. 관리자는 관리자 단말(31)을 이용하여 관리자용 dApp(41)을 실행하거나 관리자용 dApp(41)에 접속하여 공유자원(10)에 관한 정보 및 복합 IoT 디바이스(20)에 관한 정보를 입력한다. 공유자원(10)에 관한 정보는 공유자원(10)의 종류, 특징, 대여비용, 대여가능 시간대, 최소대여 가능시간 등 사용자가 공유자원(10)을 이용하는데 필요한 정보를 포함한다. 복합 IoT 디바이스(20)에 관한 정보는 기기 ID, Mac Address, 게이트웨이모듈(27)의 센서 타입, 센서 추가 시간 등 사용자 단말(32)과 블록체인 네트워크(50)가 복합 IoT 디바이스(20)를 인식하고 데이터를 송수신할 수 있도록 하는 정보를 포함한다. 관리자 단말(31)에 입력된 공유자원(10)에 관한 정보 및 복합 IoT 디바이스(20)에 관한 정보는 dApp을 통해 블록체인 네트워크(50)의 관리자용 스마트 컨트랙트(41a)에 전달된다. First, the manager installs the composite IoT device 20 in the shared resource 10 . The manager executes the manager dApp 41 using the manager terminal 31 or accesses the manager dApp 41 to input information about the shared resource 10 and information about the composite IoT device 20 . The information about the shared resource 10 includes information necessary for a user to use the shared resource 10 , such as the type, characteristic, rental cost, rental available time, and minimum rental available time of the shared resource 10 . The information about the composite IoT device 20 includes the device ID, Mac Address, sensor type of the gateway module 27, sensor addition time, etc. The user terminal 32 and the block chain network 50 recognize the composite IoT device 20 and includes information that allows data to be transmitted and received. The information about the shared resource 10 and the information about the composite IoT device 20 input to the manager terminal 31 is transmitted to the smart contract 41a for the manager of the blockchain network 50 through the dApp.

관리자용 dApp(41)은 블록체인 네트워크(50)의 관리자용 스마트 컨트랙트(41a)를 호출하여 입력받은 공유자원(10)에 관한 정보 및 복합 IoT 디바이스(20)에 관한 정보를 제공한다. 관리자용 dApp(41)은 Restful API를 이용하여 블록체인 네트워크(50)와 데이터를 송수신할 수 있다. The manager dApp 41 calls the manager smart contract 41a of the blockchain network 50 to provide information about the shared resource 10 and information about the composite IoT device 20 . The manager dApp 41 can transmit and receive data to and from the blockchain network 50 using the Restful API.

관리자용 스마트 컨트랙트(41a)는 공유자원 정보관리 기능을 수행하여 공유자원(10)을 사용자가 이용가능하도록 블록체인 네트워크(50) 상에 등록한다. 관리자용 스마트 컨트랙트(41a)는 공유자원(10)에 관한 정보 및 복합 IoT 디바이스(20)에 관한 정보를 블록(61)의 저장공간에 테이블(table) 형식으로 저장하도록 블록체인 네트워크(50)를 구성하는 노드(51)들에 공유할 수 있다. 공유자원(10)에 관한 정보 및 복합 IoT 디바이스(20)에 관한 정보는 검증 및 합의과정을 통해 블록(61)에 저장된다. The manager smart contract 41a performs a shared resource information management function to register the shared resource 10 on the block chain network 50 so that the user can use it. The smart contract for the manager 41a stores the information about the shared resource 10 and the information about the composite IoT device 20 in the storage space of the block 61 in the form of a table. It can be shared by the nodes 51 that make up it. Information about the shared resource 10 and the information about the composite IoT device 20 are stored in the block 61 through a verification and consensus process.

이용권한 획득단계(S20)는, 사용자 단말(32)이 사용자용 dApp(42)을 통해 블록체인 네트워크(50)에 분산 저장된 블록체인(60)에 기록된 공유자원(10)의 검색을 요청하면, 사용자용 dApp(42)이 블록체인(60)에 기록된 공유자원(10)을 검색하여 제공가능한 공유자원(10)의 목록을 사용자 단말(32)로 제공하는 단계, 사용자 단말(32)이 제공가능한 공유자원(10)의 목록 중에서 공유자원(10)을 선택하여 이용권한 획득을 요청하는 단계, 및 블록체인 네트워크(50)의 관리자용 스마트 컨트랙트(41a)는 요청된 공유자원(10)의 이용가능여부를 판단하고 이용가능한 경우 사용자 단말(32)에 이용권한을 부여하였음을 블록체인(60)에 기록하는 단계를 포함할 수 있다. When the user terminal 32 requests a search for the shared resource 10 recorded in the block chain 60 distributed and stored in the block chain network 50 through the user dApp 42 , a step in which the dApp 42 for the user searches for the shared resources 10 recorded in the block chain 60 and provides a list of the available shared resources 10 to the user terminal 32, the user terminal 32 The step of selecting a shared resource 10 from the list of available shared resources 10 and requesting the acquisition of the right to use, and the smart contract 41a for the manager of the blockchain network 50 is the requested shared resource 10. It may include the step of judging whether it is available and, if available, recording in the block chain 60 that the user terminal 32 is given the right to use it.

사용자는 공유자원(10)을 이용하기 위하여 먼저 이용권한을 획득하여야 한다. 사용자는 사용자 단말(32)에서 사용자용 dApp(42)을 실행하거나 사용자용 dApp(42)에 접속하여 블록체인 네트워크(50)에 등록된 공유자원(10)의 검색을 요청할 수 있다. dApp은 공유자원(10)의 종류, 위치, 사용기간, 대여비용 등의 조건을 선택하여 공유자원(10)을 검색할 수 있는 인터페이스를 제공할 수 있다. dApp은 사용자 단말(32)로부터 수신한 검색조건에 기초하여 블록체인 네트워크(50)를 구성하는 임의의 노드(51)에 검색을 요청할 수 있다. 복수의 노드(51)들 각각은 동일한 블록체인(60)을 저장하고 있으므로, 사용자용 dApp(42)에 의해 요청된 검색을 수행하고 결과를 회신할 수 있다. 사용자 단말(32)은 임의의 노드(51)에서 검색을 수행한 결과를 사용자용 dApp(42)을 통해 전달받을 수 있다. 사용자 단말(32)은 수신한 검색결과를 사용자에게 표시한다.In order to use the shared resource 10 , the user must first obtain the right to use it. The user may execute the user dApp 42 on the user terminal 32 or access the user dApp 42 to request a search for the shared resource 10 registered in the blockchain network 50 . The dApp may provide an interface for searching the shared resource 10 by selecting conditions such as the type, location, period of use, and rental cost of the shared resource 10 . The dApp may request a search from any node 51 constituting the blockchain network 50 based on the search condition received from the user terminal 32 . Since each of the plurality of nodes 51 stores the same blockchain 60, it is possible to perform a search requested by the dApp 42 for the user and return the result. The user terminal 32 may receive a result of performing a search in an arbitrary node 51 through the dApp 42 for the user. The user terminal 32 displays the received search result to the user.

사용자는 검색결과로 제공된 공유자원(10) 목록에서 공유자원(10)을 선택하고 공유자원(10)의 이용권한 획득을 요청할 수 있다. 사용자 단말(32)은 사용자용 dApp(42)을 통해 사용자가 선택한 공유자원(10)의 이용권한 획득을 블록체인 네트워크(50)의 관리자용 스마트 컨트랙트(41a)에 요청할 수 있다.The user may select the shared resource 10 from the list of shared resources 10 provided as a search result and request to acquire the right to use the shared resource 10 . The user terminal 32 may request the smart contract 41a for the manager of the blockchain network 50 to obtain the right to use the shared resource 10 selected by the user through the dApp 42 for the user.

관리자용 스마트 컨트랙트(41a)는 사용자용 dApp(42)으로부터 수신한 공유자원(10)의 이용권한 획득요청을 수신하면, 공유자원(10)의 이용가능 여부를 판단한다. 공유자원(10)의 이용가능 여부는 공유자원(10)의 이용권한 획득요청에 포함된 조건들에 기초하여 판단될 수 있다. 사용자가 요청한 시간에 이미 예약되어 있는 다른 사용자가 존재하는지 여부를 판단하고, 사용자가 블랙리스트에 등록되어 있어서 이용권한을 획득할 자격이 없는 사람인지 판단할 수 있다. 관리자용 스마트 컨트랙트(41a)는 요청된 공유자원(10)이 이용가능한 경우 이용권한을 요청한 사용자 단말(32)에 이용권한을 부여함을 블록체인(60)에 기록한다. 즉, 관리자용 스마트 컨트랙트(41a)는 요청된 시간에 해당 사용자 단말(32)에 이용권한이 존재한다는 내용을 블록체인 네트워크(50)에 공유하고, 블록체인 네트워크(50)는 검증 및 합의를 통해 사용자에게 이용권한이 부여되었음을 블록(61)에 저장한다. 관리자용 스마트 컨트랙트(41a)는 이용권한이 부여되었음을 사용자용 dApp(42)을 통해 사용자 단말(32)에 제공할 수 있다. The manager smart contract 41a determines whether the shared resource 10 is available or not, upon receiving a request for obtaining the right to use the shared resource 10 received from the dApp 42 for the user. Availability of the shared resource 10 may be determined based on conditions included in the request for obtaining the right to use the shared resource 10 . It is possible to determine whether there is another user who has already been reserved at the time requested by the user, and whether the user is a person who is not entitled to acquire the right to use because the user is registered in the blacklist. The manager smart contract 41a records in the block chain 60 that when the requested shared resource 10 is available, it grants the use right to the user terminal 32 that has requested the use right. That is, the manager smart contract 41a shares the content that the user terminal 32 has the right to use at the requested time to the block chain network 50, and the block chain network 50 through verification and consensus It stores in block 61 that the user has been granted the right to use. The manager smart contract 41a may provide that the use right is granted to the user terminal 32 through the user dApp 42 .

사용자 단말(32)이 이용권한을 획득하면, 사용자는 사용자 단말(32)을 통해 복합 IoT 디바이스(20)의 잠금을 개방하고 공유자원(10)의 이용을 시작할 수 있다. 이용 시작단계(S30)는 사용자 단말(32)이 사용자용 dApp(42)을 통하여 블록체인 네트워크(50)에 이용권한에 기초한 상기 복합 IoT 디바이스(20)의 잠금 개방을 요청하는 단계, 복합 IoT 디바이스(20)가 사용자 단말(32)이 정해진 거리 이내에 위치하는지 판단하는 단계, 복합 IoT 디바이스(20)와 사용자 단말(32)이 정해진 거리 이내에 위치하는 경우, 복합 IoT 디바이스(20)와 상기 사용자 단말(32)이 각각 상기 블록체인 네트워크(50)에 일회용 인증 프로토콜의 실행을 요청하는 단계, 블록체인 네트워크(50)는 일회용 인증 프로토콜에 따라, 일회용 키를 생성하여 상기 복합 IoT 디바이스(20)와 상기 사용자 단말(32)에 각각 전달하는 단계, 및 상기 복합 IoT 디바이스(20)가 수신한 상기 일회용 키와 상기 사용자 단말(32)로부터 수신한 상기 일회용 키가 일치하는 경우 상기 사용자 단말(32)에 이용권한이 있는 것으로 판단하여 잠금을 개방하는 단계를 포함할 수 있다. When the user terminal 32 acquires the use right, the user may unlock the composite IoT device 20 through the user terminal 32 and start using the shared resource 10 . The use start step (S30) is a step in which the user terminal 32 requests the lock-opening of the composite IoT device 20 based on the usage right to the blockchain network 50 through the dApp 42 for the user, the composite IoT device (20) determining whether the user terminal 32 is located within a predetermined distance, when the composite IoT device 20 and the user terminal 32 are located within a predetermined distance, the composite IoT device 20 and the user terminal ( 32) each requesting execution of a one-time authentication protocol from the blockchain network 50, the blockchain network 50 generates a one-time key according to the one-time authentication protocol to generate a one-time key for the composite IoT device 20 and the user transmitting each to the terminal 32, and when the one-time key received by the composite IoT device 20 matches the one-time key received from the user terminal 32, the right to use the user terminal 32 Determining that there is a lock may include the step of opening the lock.

사용자는 사용자 단말(32)을 통해 이용권한을 획득한 공유자원(10)에 결합된 복합 IoT 디바이스(20)에 잠금 개방을 요청할 수 있다. 사용자 단말(32)은 복합 IoT 디바이스(20)에 직접 또는 dApp이나 블록체인 네트워크(50)를 통해 잠금 개방을 요청할 수 있다.The user may request a lock open from the composite IoT device 20 coupled to the shared resource 10 that has obtained the right to use it through the user terminal 32 . The user terminal 32 may request unlocking of the lock from the composite IoT device 20 directly or through a dApp or blockchain network 50 .

복합 IoT 디바이스(20)는 잠금 개방 요청을 받으면 사용자 단말(32)이 정해진 거리 이내에 위치하는지 판단하는 근접 여부 판단을 수행할 수 있다. 사용자 단말(32)이 공유자원(10) 근처에 없는 상태에서 이용권한에 기초하여 잠금모듈(21)을 개방하게 되면, 이용권한이 없는 타인이 공유자원(10)을 이용할 위험이 존재하기 때문에, 사용자가 공유자원(10)에 정해진 거리 이내에 위치하는지 판단한다. 근접 여부 판단은 복합 IoT 디바이스(20)의 컨트롤러모듈(23)을 설명하는 과정에서 설명하였으므로 중복되는 내용은 생략한다. 사용자 단말(32)은 Wi-Fi, bluetooth, NFC 등의 근거리 통신을 이용하여 복합 IoT 디바이스(20)에 신호를 송수신할 수 있다. 사용자 단말(32)은 자신의 GPS 좌표를 복합 IoT 디바이스(20)에 전송하여 복합 IoT 디바이스(20)가 근접 여부 판단을 수행할 수 있게 한다.Upon receiving the lock open request, the composite IoT device 20 may determine whether the user terminal 32 is located within a predetermined distance. If the user terminal 32 opens the lock module 21 based on the use right while the user terminal 32 is not near the shared resource 10, there is a risk that others without the use right will use the shared resource 10, It is determined whether the user is located within a predetermined distance to the shared resource 10 . Since the determination of proximity is described in the process of describing the controller module 23 of the composite IoT device 20, overlapping content will be omitted. The user terminal 32 may transmit/receive a signal to/from the composite IoT device 20 using short-distance communication such as Wi-Fi, bluetooth, or NFC. The user terminal 32 transmits its GPS coordinates to the composite IoT device 20 to enable the composite IoT device 20 to perform proximity determination.

사용자 단말(32)이 복합 IoT 디바이스(20)에 정해진 거리 이내에 위치하는 것으로 판단되는 경우, 복합 IoT 디바이스(20)는 사용자 단말(32)에 근접 여부 판단을 통과하였다는 신호를 제공할 수 있다. 근접 여부 판단을 통과한 경우, 복합 IoT 디바이스(20)와 사용자 단말(32)은 블록체인 네트워크(50)에 일회용 인증 프로토콜의 실행을 요청할 수 있다. 복합 IoT 디바이스(20)와 사용자 단말(32)로부터 수신되는 일회용 인증 프로토콜의 실행 요청이 일치하는 경우 블록체인 네트워크(50)는 일회용 인증 프로토콜을 실행한다. When it is determined that the user terminal 32 is located within a predetermined distance to the composite IoT device 20 , the composite IoT device 20 may provide a signal indicating that the proximity determination has been passed to the user terminal 32 . When the proximity determination is passed, the composite IoT device 20 and the user terminal 32 may request the blockchain network 50 to execute a one-time authentication protocol. When the execution request of the one-time authentication protocol received from the composite IoT device 20 and the user terminal 32 matches, the blockchain network 50 executes the one-time authentication protocol.

일회용 인증 프로토콜은 블록체인(60)에 저장된 이용권한 기록을 검색하여, 사용자 단말(32)이 정해진 시간에 해당 공유자원(10)의 이용권한을 갖는지 판단하고, 이용권한이 존재하는 경우 일회용 인증 프로토콜은 복합 IoT 디바이스(20)와 사용자 단말(32)에 일회용 키를 생성하여 제공한다. 일회용 키는 임의로 생성되는 값일 수 있고, 복합 IoT 디바이스(20)와 사용자 단말(32) 각각의 공개키로 암호화되어 전달될 수 있다. 복합 IoT 디바이스(20)가 수신한 일회용 키와 사용자 단말(32)이 수신한 일회용 키를 비교하여 일치하는 경우 복합 IoT 디바이스(20)는 사용자 단말(32)이 이용권한을 갖는 것으로 판단하여 잠금모듈(21)의 잠금을 개방할 수 있다. 사용자는 잠금모듈(21)이 개방되면 공유자원(10)을 이용할 수 있다. 잠금모듈(21)이 공유자원(10)의 기존 잠금장치에 애드온 방식으로 결합된 경우, 복합 IoT 디바이스(20)는 사용자 단말(32)에 기존 잠금장치의 비밀번호를 제공하고, 사용자는 사용자 단말(32)에 표시된 비밀번호를 기존 잠금장치에 입력하여 공유자원(10)을 이용할 수 있다. The one-time authentication protocol searches the record of the usage right stored in the block chain 60, determines whether the user terminal 32 has the right to use the shared resource 10 at a predetermined time, and if the use right exists, the one-time authentication protocol generates and provides a one-time key to the composite IoT device 20 and the user terminal 32 . The one-time key may be an arbitrarily generated value, and may be transmitted after being encrypted with the public key of each of the composite IoT device 20 and the user terminal 32 . When the one-time key received by the composite IoT device 20 is matched with the one-time key received by the user terminal 32, the composite IoT device 20 determines that the user terminal 32 has the right to use the lock module (21) can be unlocked. The user can use the shared resource 10 when the lock module 21 is opened. When the lock module 21 is coupled to the existing locking device of the shared resource 10 in an add-on method, the composite IoT device 20 provides the password of the existing locking device to the user terminal 32, and the user uses the user terminal ( The shared resource 10 can be used by inputting the password displayed in 32) into the existing locking device.

게이트웨이모듈(27)은 사용자가 공유자원(10)을 이용하는 과정에서 공유자원(10)의 상태를 모니터링할 수 있다. 공유자원(10)이 회의실이나 숙박시설 등의 공간인 경우, 잠금모듈(21)이 개방되면 게이트웨이모듈(27)은 공유자원(10)인 공간에 사람이 들어오고 나가는지 여부를 센싱할 수 있다. 게이트웨이모듈(27)은 정해진 주기마다 또는 잠금모듈(21)이 개방되면 지속적으로 공유자원(10)의 이용상태를 센싱할 수 있다. 게이트웨이모듈(27)은 공유자원(10)의 이용상태를 복합 IoT 디바이스(20)에 전송할 수 있다.The gateway module 27 may monitor the state of the shared resource 10 while the user uses the shared resource 10 . When the shared resource 10 is a space such as a conference room or accommodation facility, when the lock module 21 is opened, the gateway module 27 can sense whether a person enters or leaves the space that is the shared resource 10 . . The gateway module 27 may sense the usage state of the shared resource 10 continuously at a predetermined period or when the lock module 21 is opened. The gateway module 27 may transmit the usage state of the shared resource 10 to the composite IoT device 20 .

관리자 단말(31)은 관리자용 dApp(41)을 통해 공유자원(10) 접근관리기능을 수행할 수 있다. 관리자 단말(31)은 공유자원(10)에 이용을 신청한 사용자들에 관한 정보, 공유자원(10)의 이용상태에 관한 정보, 공유자원(10)의 이용기록 및 예약 기록 등을 모니터링할 수 있다. 관리자용 dApp(41)은 관리자용 스마트 컨트랙트(41a)에 공유자원(10)의 현재 상태 모니터링을 요청할 수 있으며 관리자용 스마트 컨트랙트(41a)는 복합 IoT 디바이스(20)로부터 게이트웨이모듈(27)이 제공한 공유자원(10)의 이용상태를 수신하여 관리자용 dApp(41)을 통해 관리자 단말(31)에 제공할 수 있다.The manager terminal 31 may perform an access management function of the shared resource 10 through the manager dApp 41 . The manager terminal 31 can monitor information about users who have applied for use of the shared resource 10 , information about the usage status of the shared resource 10 , usage records and reservation records of the shared resource 10 , etc. there is. The manager dApp 41 may request the manager smart contract 41a to monitor the current state of the shared resource 10, and the manager smart contract 41a is provided by the gateway module 27 from the composite IoT device 20 The use state of one shared resource 10 may be received and provided to the manager terminal 31 through the manager dApp 41 .

사용자는 이용권한에 기초한 사용시간이 종료되는 경우 공유자원(10)의 이용을 중지한다. 복합 IoT 디바이스(20)는 이용권한에 기초한 사용시간이 종료되는 경우 게이트웨이모듈(27)로부터 공유자원(10)의 이용상태에 관한 정보를 수신하여 잠금모듈(21)을 동작시켜 사용자와 공유자원(10)을 차단해도 되는지 판단한다. 예를 들어, 공유자원(10)이 회의실이나 숙박시설과 같은 공간인 경우, 게이트웨이모듈(27)은 공유자원(10)인 공간 안에 사용자가 존재하는지 센싱할 수 있고, 공유자원(10)인 공간 안에 사용자가 존재하지 않게 되었을 때 복합 IoT 디바이스(20)는 잠금모듈(21)이 잠궈지도록 제어하는 이용 종료단계(S40)를 수행할 수 있다. The user stops using the shared resource 10 when the usage time based on the usage right is over. The composite IoT device 20 receives information on the usage state of the shared resource 10 from the gateway module 27 when the usage time based on the usage right ends, and operates the lock module 21 to operate the shared resource ( 10) is judged to be blocked. For example, when the shared resource 10 is a space such as a conference room or accommodation facility, the gateway module 27 may sense whether a user exists in the space that is the shared resource 10 , and the space that is the shared resource 10 . When the user does not exist therein, the composite IoT device 20 may perform a use termination step (S40) of controlling the lock module 21 to be locked.

복합 IoT 디바이스(20)가 잠금모듈(21)을 잠그도록 제어하여 사용자의 이용이 종료되면, 복합 IoT 디바이스(20)는 블록체인 네트워크(50)에 사용종료 사실을 전송한다. 사용자의 사용기록은 블록체인(60)에 저장될 수 있다. When the user's use is terminated by controlling the composite IoT device 20 to lock the locking module 21 , the composite IoT device 20 transmits the fact of termination to the blockchain network 50 . The user's usage record may be stored in the block chain 60 .

이상 본 발명을 구체적인 실시예를 통하여 상세히 설명하였으나, 이는 본 발명을 구체적으로 설명하기 위한 것으로, 본 발명은 이에 한정되지 않으며, 본 발명의 기술적 사상 내에서 당해 분야의 통상의 지식을 가진 자에 의해 그 변형이나 개량이 가능함은 명백하다고 할 것이다. Although the present invention has been described in detail through specific examples, it is intended to describe the present invention in detail, and the present invention is not limited thereto, and by those of ordinary skill in the art within the technical spirit of the present invention It will be clear that the transformation or improvement is possible.

본 발명의 단순한 변형 내지 변경은 모두 본 발명의 영역에 속하는 것으로 본 발명의 구체적인 보호 범위는 첨부된 특허청구범위에 의하여 명확해질 것이다.All simple modifications or changes of the present invention fall within the scope of the present invention, and the specific scope of protection of the present invention will be made clear by the appended claims.

10: 공유자원
20: 복합 IoT 디바이스
21: 잠금모듈
21a: 오픈영역
22: 통신모듈
23: 컨트롤러모듈
24: 입력모듈
25: 표시모듈
26: 전원모듈
27: 게이트웨이모듈
31: 관리자 단말
32: 사용자 단말
41: 관리자용 dApp
42: 사용자용 dApp
41a: 관리자용 스마트 컨트랙트
42a: 사용자용 스마트 컨트랙트
50: 블록체인 네트워크
51: 노드
51a: 통신부
51b: 제어부
51c: 저장부
60: 블록체인
61: 블록
10: Shared Resources
20: Composite IoT Devices
21: lock module
21a: open area
22: communication module
23: controller module
24: input module
25: display module
26: power module
27: gateway module
31: manager terminal
32: user terminal
41: dApps for administrators
42: dApp for users
41a: Smart Contracts for Managers
42a: Smart Contracts for Users
50: Blockchain Network
51: node
51a: communication department
51b: control
51c: storage
60: Blockchain
61: block

Claims (10)

다양한 종류의 공유자원에 결합되어 물리적 또는 전기적으로 상기 공유자원을 개폐하는 잠금모듈;
사용자 단말 또는 블록체인 네트워크와 데이터를 송수신하는 통신모듈; 및
상기 사용자 단말이 상기 공유자원의 이용권한을 갖는지 여부를 상기 블록체인 네트워크로부터 수신하는 키에 기초하여 판단하고, 상기 잠금모듈을 개폐하도록 제어하는 컨트롤러모듈을 포함하고,
상기 잠금모듈은
사용자가 상기 공유자원의 이용권한에 기초하여 상기 잠금모듈을 개방하여야 상기 공유자원에 미리 설치되어 있는 다른 잠금장치에 접근가능하도록, 상기 잠금장치에 애드온 방식으로 설치되고,
상기 컨트롤러모듈은
상기 공유자원의 이용권한에 기초하여 상기 잠금모듈을 개방하는 경우, 상기 잠금장치를 개방할 수 있는 키를 상기 사용자 단말로 제공하는, 복합 IoT 디바이스.
a locking module coupled to various types of shared resources to physically or electrically open and close the shared resources;
a communication module for transmitting and receiving data to and from a user terminal or block chain network; and
and a controller module that determines whether the user terminal has the right to use the shared resource based on a key received from the block chain network, and controls to open and close the lock module,
The lock module
It is installed in the locking device in an add-on manner so that a user can access another locking device previously installed in the shared resource only when the user opens the locking module based on the right to use the shared resource,
The controller module is
When the locking module is opened based on the right to use the shared resource, a key for opening the locking device is provided to the user terminal.
청구항 1에 있어서,
상기 컨트롤러모듈은
상기 통신모듈과 상기 사용자 단말 사이의 근거리 통신 또는 GPS 정보를 이용하여 상기 사용자 단말이 정해진 거리만큼 접근하여야 상기 이용권한을 갖는지 여부를 판단하는 절차를 시작하는, 복합 IoT 디바이스.
The method according to claim 1,
The controller module is
Composite IoT device, which starts a procedure of determining whether the user terminal has the use right only when the user terminal approaches by a predetermined distance using short-distance communication or GPS information between the communication module and the user terminal.
청구항 1에 있어서,
모션센서, 인체감지센서, 적외선센서, 초음파센서, 터치센서 중에서 적어도 하나를 이용하여 상기 공유자원의 이용상태를 감시하여 이용상태정보를 생성하고 상기 컨트롤러모듈에 제공하는 게이트웨이모듈을 더 포함하며,
상기 게이트웨이모듈은
물리적으로 별도의 디바이스로 형성되고, 상기 공유자원의 이용상태를 감시 가능한 위치의 상기 공유자원에 결합되는, 복합 IoT 디바이스.
The method according to claim 1,
A motion sensor, a human body detection sensor, an infrared sensor, an ultrasonic sensor, and a touch sensor using at least one of the monitoring module to monitor the usage status of the shared resource to generate usage status information and further comprising a gateway module providing the information to the controller module,
The gateway module
A composite IoT device that is physically formed as a separate device and is coupled to the shared resource at a location capable of monitoring the usage status of the shared resource.
삭제delete 관리자 단말이 관리자 dApp을 통하여 공유자원의 정보 및 상기 공유자원에 결합된 복합 IoT 디바이스의 정보를 블록체인 네트워크에 제공하여 상기 공유자원을 공유가능하도록 제공하는 공유자원 등록단계;
사용자 단말이 사용자 dApp을 통하여 상기 블록체인 네트워크에 등록된 상기 공유자원의 이용권한을 요청하고 상기 관리자 단말이 사전에 지정해놓은 스마트 컨트랙트에 기초하여 이용권한이 부여되는 이용권한 획득단계; 및
상기 복합 IoT 디바이스가 상기 사용자 단말에 이용권한이 존재하는지 판단하여 상기 공유자원에 접근가능하도록 잠금을 개방하는 이용시작단계를 포함하는, 복합 IoT 디바이스를 이용한 공유서비스 제공방법.
A shared resource registration step of providing, by a manager terminal, information of a shared resource and information of a composite IoT device coupled to the shared resource through a manager dApp to a block chain network so that the shared resource can be shared;
a user terminal requesting the right to use the shared resource registered in the block chain network through the user dApp, and obtaining a use right in which the manager terminal is given the right to use it based on a pre-designated smart contract; and
and a use start step of opening the lock so that the composite IoT device can access the shared resource by determining whether the user terminal has a use right.
청구항 5에 있어서,
상기 공유자원 등록단계는
관리자 단말이 관리자용 dApp을 통하여 상기 공유자원의 정보 및 상기 복합 IoT 디바이스의 정보를 상기 블록체인 네트워크에 제공하는 단계; 및
상기 블록체인 네트워크의 관리자용 스마트 컨트랙트에 기초하여 상기 공유자원의 정보 및 상기 복합 IoT 디바이스의 정보가 상기 블록체인 네트워크가 생성하는 블록에 기록되고 상기 블록이 공유되는 단계를 포함하는, 복합 IoT 디바이스 및 이를 이용한 공유서비스 제공방법.
6. The method of claim 5,
The shared resource registration step is
providing, by a manager terminal, information of the shared resource and information of the composite IoT device to the block chain network through a dApp for a manager; and
Based on the smart contract for the manager of the block chain network, the information of the shared resource and the information of the complex IoT device are recorded in a block generated by the block chain network and the block is shared. A method of providing a shared service using this.
청구항 5에 있어서,
상기 이용권한 획득단계는
상기 사용자 단말이 상기 사용자용 dApp을 통해 상기 블록체인 네트워크에 분산 저장된 블록체인에 기록된 공유자원의 검색을 요청하면, 상기 사용자용 dApp이 상기 블록체인에 기록된 공유자원을 검색하여 제공가능한 공유자원의 목록을 상기 사용자 단말로 제공하는 단계;
상기 사용자 단말이 제공가능한 공유자원의 목록 중에서 공유자원을 선택하여 이용권한 획득을 요청하는 단계; 및
상기 블록체인 네트워크의 관리자용 스마트 컨트랙트는 요청된 공유자원의 이용가능여부를 판단하고 이용가능한 경우 상기 사용자 단말에 이용권한을 부여하였음을 블록체인에 기록하는 단계를 포함하는, 복합 IoT 디바이스 및 이를 이용한 공유서비스 제공방법.
6. The method of claim 5,
The step of obtaining the right to use the
When the user terminal requests a search for shared resources recorded in the block chain distributed and stored in the block chain network through the user dApp, the user dApp searches for shared resources recorded in the block chain and provides shared resources providing a list of to the user terminal;
selecting, by the user terminal, a shared resource from a list of available shared resources and requesting permission to use; and
The smart contract for the manager of the blockchain network determines whether the requested shared resource is available and, if available, records that the user terminal is given the right to use it in the block chain, comprising the step of: How to provide shared services.
청구항 5에 있어서,
상기 이용시작단계는
사용자 단말이 사용자용 dApp을 통하여 상기 블록체인 네트워크에 이용권한에 기초한 상기 복합 IoT 디바이스의 잠금 개방을 요청하는 단계;
상기 복합 IoT 디바이스가 상기 사용자 단말이 정해진 거리 이내에 위치하는지 판단하는 단계;
상기 복합 IoT 디바이스와 상기 사용자 단말이 정해진 거리 이내에 위치하는 경우, 상기 복합 IoT 디바이스와 상기 사용자 단말이 각각 상기 블록체인 네트워크에 일회용 인증 프로토콜의 실행을 요청하는 단계;
상기 블록체인 네트워크는 상기 일회용 인증 프로토콜에 따라, 일회용 키를 생성하여 상기 복합 IoT 디바이스와 상기 사용자 단말에 각각 전달하는 단계;
상기 복합 IoT 디바이스가 수신한 상기 일회용 키와 상기 사용자 단말로부터 수신한 상기 일회용 키가 일치하는 경우 상기 사용자 단말에 이용권한이 있는 것으로 판단하여 잠금을 개방하는 단계를 포함하는, 복합 IoT 디바이스 및 이를 이용한 공유서비스 제공방법.
6. The method of claim 5,
The starting stage is
requesting, by a user terminal, a lock-opening of the composite IoT device based on a use right to the block chain network through a user dApp;
determining, by the composite IoT device, whether the user terminal is located within a predetermined distance;
when the composite IoT device and the user terminal are located within a predetermined distance, the composite IoT device and the user terminal request execution of a one-time authentication protocol to the block chain network, respectively;
generating, by the block chain network, a one-time key according to the one-time authentication protocol and transmitting the one-time key to the composite IoT device and the user terminal, respectively;
When the one-time key received by the composite IoT device matches the one-time key received from the user terminal, determining that the user terminal has the right to use and unlocking the lock; How to provide shared services.
청구항 5에 있어서,
상기 블록체인 네트워크는
상기 공유자원의 공유에 필요한 정보, 상기 공유자원의 이용 기록, 상기 공유자원의 관리자 또는 사용자에 관한 정보를 포함한 블록체인을 저장하고, 상기 공유자원의 공유에 관련된 기능의 적어도 일부를 수행하는 복수의 노드를 포함하는, 복합 IoT 디바이스 및 이를 이용한 공유서비스 제공방법.
6. The method of claim 5,
The blockchain network is
A plurality of blocks that store a block chain including information necessary for sharing the shared resource, a record of use of the shared resource, and information about a manager or user of the shared resource, and perform at least a part of a function related to sharing the shared resource A composite IoT device including a node and a method for providing a shared service using the same.
청구항 5에 있어서,
상기 복합 IoT 디바이스는
다양한 종류의 공유자원에 결합되어 물리적 또는 전기적으로 상기 공유자원을 개폐하는 잠금모듈;
사용자 단말 또는 블록체인 네트워크와 데이터를 송수신하는 통신모듈; 및
상기 사용자 단말이 상기 공유자원의 이용권한을 갖는지 여부를 상기 블록체인 네트워크로부터 수신하는 키에 기초하여 판단하고, 상기 잠금모듈을 개폐하도록 제어하는 컨트롤러모듈을 포함하는, 복합 IoT 디바이스 및 이를 이용한 공유서비스 제공방법.
6. The method of claim 5,
The composite IoT device is
a locking module coupled to various types of shared resources to physically or electrically open and close the shared resources;
a communication module for transmitting and receiving data to and from a user terminal or block chain network; and
A composite IoT device and a shared service using the same, including a controller module that determines whether the user terminal has the right to use the shared resource based on the key received from the block chain network, and controls to open and close the lock module How to provide.
KR1020190143558A 2019-11-11 2019-11-11 Complex IoT device and share service providing method using the same KR102365675B1 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
KR1020190143558A KR102365675B1 (en) 2019-11-11 2019-11-11 Complex IoT device and share service providing method using the same
PCT/KR2019/015544 WO2021095926A1 (en) 2019-11-11 2019-11-14 Complex iot device and sharing service providing method using same, and method for recognizing external information through blockchain application and providing information

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020190143558A KR102365675B1 (en) 2019-11-11 2019-11-11 Complex IoT device and share service providing method using the same

Publications (2)

Publication Number Publication Date
KR20210056747A KR20210056747A (en) 2021-05-20
KR102365675B1 true KR102365675B1 (en) 2022-02-22

Family

ID=76143047

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020190143558A KR102365675B1 (en) 2019-11-11 2019-11-11 Complex IoT device and share service providing method using the same

Country Status (1)

Country Link
KR (1) KR102365675B1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR102607806B1 (en) * 2021-07-14 2023-12-01 정연우 User authentication system and transfer system using real-time proof of location based blockchain authentication

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101962290B1 (en) * 2018-12-31 2019-03-26 주식회사 미탭스플러스 Distributed Ledger Device for Supporting Sharing Economy

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20130047915A (en) 2011-11-01 2013-05-09 홍기섭 System and method for unifying management of sharing car
KR20190071065A (en) * 2017-12-14 2019-06-24 박광호 Car insurance fare calculation method based on driver using block chain and p2p car sharing mediation service providing method using the block chain

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101962290B1 (en) * 2018-12-31 2019-03-26 주식회사 미탭스플러스 Distributed Ledger Device for Supporting Sharing Economy

Also Published As

Publication number Publication date
KR20210056747A (en) 2021-05-20

Similar Documents

Publication Publication Date Title
US20200304999A1 (en) Integrated physical and logical security management via a portable device
US8789156B2 (en) Data management with a networked mobile device
EP2888855B1 (en) Systems and methods for lock access management using wireless signals
US8914848B2 (en) Social authentication of users
EP3350736B1 (en) Device enabled identity authentication
US9344436B1 (en) Proximity-based and user-based access control using wearable devices
US11443024B2 (en) Authentication of a client
US8639926B2 (en) Techniques for mobile device authentication
EP3005211B1 (en) Resource management based on biometric data
US9740846B2 (en) Controlling user access to electronic resources without password
CN108307674A (en) A kind of method and apparatus ensureing terminal security
KR20140127987A (en) System and method for public terminal security
KR102283503B1 (en) Method for providing intelligent smart contract
KR102365675B1 (en) Complex IoT device and share service providing method using the same
US11176238B2 (en) Credential for a service
EP3057285B1 (en) Activating a remote system upon authenticating a user
EP4332922A1 (en) Methods and systems for identifying a person
KR102133726B1 (en) Server for managing door-lock device by inaudible sound wave, door-lock device, and method for controling door-lock device
KR102483979B1 (en) System and method for automatic connecting to server through facial recognition
CN112862132B (en) Block chain-based hotel management method, system, device, equipment and medium
CN113272805B (en) Proximity-based unlocking of public computing devices
EP4203535A1 (en) Systems and methods for credentials sharing
JP2017058749A (en) Authentication apparatus, authentication method, and authentication program
KR20200085710A (en) Server for managing door-lock device by inaudible sound wave, door-lock device, and method for controling door-lock device
KR20210056746A (en) Method for recommending total-service related to share-service

Legal Events

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