KR102013936B1 - Apparatus and method for controlling terminal using block program - Google Patents

Apparatus and method for controlling terminal using block program Download PDF

Info

Publication number
KR102013936B1
KR102013936B1 KR1020170172979A KR20170172979A KR102013936B1 KR 102013936 B1 KR102013936 B1 KR 102013936B1 KR 1020170172979 A KR1020170172979 A KR 1020170172979A KR 20170172979 A KR20170172979 A KR 20170172979A KR 102013936 B1 KR102013936 B1 KR 102013936B1
Authority
KR
South Korea
Prior art keywords
block
control
terminal
network
target terminal
Prior art date
Application number
KR1020170172979A
Other languages
Korean (ko)
Other versions
KR20190071987A (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 KR1020170172979A priority Critical patent/KR102013936B1/en
Publication of KR20190071987A publication Critical patent/KR20190071987A/en
Application granted granted Critical
Publication of KR102013936B1 publication Critical patent/KR102013936B1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/02Details
    • H04L12/12Arrangements for remote connection or disconnection of substations or of equipment thereof
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0803Configuration setting

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Information Transfer Between Computers (AREA)
  • Telephonic Communication Services (AREA)

Abstract

블록 프로그램을 이용한 단말 제어 장치 및 방법이 개시된다. 본 발명에 따른 블록 프로그램을 이용한 단말 제어 장치에 의해 수행되는 단말 제어 방법은, 네트워크 설정 블록을 이용하여, 상기 단말 제어 장치의 네트워크를 설정하는 단계, 상기 네트워크 설정 블록을 이용하여, 통신 대상이 되는 대상 단말의 네트워크를 설정하는 단계, 하나 이상의 상기 대상 단말 중에서 제어 대상이 되는 제어 대상 단말로 전송할 제어 메시지를 생성하는 단계, 그리고 상기 제어 대상 단말로 생성된 상기 제어 메시지를 전송하는 단계를 포함하며, 상기 제어 메시지는, 상기 제어 대상 단말의 정보를 포함하는 하나 이상의 전송 블록 및 상기 제어 대상 단말을 제어하기 위한 제어 명령 블록을 포함한다. An apparatus and method for controlling a terminal using a block program are disclosed. A terminal control method performed by a terminal control apparatus using a block program according to the present invention comprises the steps of: setting a network of the terminal control apparatus using a network setting block; Setting a network of a target terminal, generating a control message to be transmitted from one or more of the target terminals to a control target terminal to be controlled, and transmitting the control message generated to the control target terminal, The control message includes one or more transport blocks including information of the control target terminal and a control command block for controlling the control target terminal.

Description

블록 프로그램을 이용한 단말 제어 장치 및 방법{APPARATUS AND METHOD FOR CONTROLLING TERMINAL USING BLOCK PROGRAM}Device control method and method using block program {APPARATUS AND METHOD FOR CONTROLLING TERMINAL USING BLOCK PROGRAM}

본 발명은 블록 프로그램을 이용한 단말 제어 기술에 관한 것으로, 특히 블록 프로그래밍으로 작성된 블록 프로그램을 이용하여 네트워크에 연결된 대상 단말을 제어하는 기술에 관한 것이다.The present invention relates to a terminal control technique using a block program, and more particularly, to a technique for controlling a target terminal connected to a network using a block program created by block programming.

최근 스크래치, 엔트리 등과 같이 프로그램 언어를 모르는 사용자도 프로그램을 쉽게 작성할 수 있는 블록 프로그래밍 플랫폼이 크게 관심을 받고 있다. 블록 프로그래밍 플랫폼은 컴퓨터 프로그래밍 언어를 학습하지 않은 사용자들이 미리 제공된 명령과 절차들로 구성된 블록들을 조립하는 방식으로 쉽게 프로그램을 제작할 수 있는 환경을 말한다. Recently, a block programming platform that allows a user to easily write a program even if a user who does not know a programming language, such as scratch or entry, has gained much attention. A block programming platform is an environment in which a user who has not learned a computer programming language can easily create a program by assembling blocks composed of pre-supplied instructions and procedures.

가까운 미래에 도래할 4차 산업혁명을 대비하기 위해, 초중등 학생들의 코딩교육이 사회 전반적으로 중요한 필수과정으로 여겨지고 있으며, 이로 인하여 블록 프로그래밍 플랫폼을 활용하는 학교, 학원 등이 증가하고 있고, 그 사용자 수도 급격히 증가하고 있다.In order to prepare for the fourth industrial revolution in the near future, coding education of elementary and secondary students is regarded as an important prerequisite for society, and as a result, schools and academies using block programming platforms are increasing, and the number of users It is increasing rapidly.

또한, 블록 프로그래밍 플랫폼과 연동하여 주변 사물이나 환경 데이터를 수집하고, 원하는 동작을 수행할 수 있도록 제어 보드 및 센서 보드를 활용한 제품들도 시장에 점차 소개되고 있다. 대부분의 제어 보드는 아두이노 보드를 활용한 제품이며, PC에 설치된 블록 프로그래밍 플랫폼에서 제작된 프로그램과 연동하도록 제품화되어 판매되고 있다.In addition, products using control boards and sensor boards are being introduced to the market to collect peripheral objects or environment data and perform desired operations in conjunction with the block programming platform. Most control boards are based on Arduino boards, and are marketed and marketed to work with programs created on the block programming platform installed on the PC.

일반적으로 이러한 제품들은 블록 프로그래밍 플랫폼에서 제작된 프로그램이 PC에서 실행되면서, 제어 보드에 연결된 센서나 모터 등을 구동하는 방식으로 운영된다. 일부 제품은 블록 프로그래밍 플랫폼에서 제작된 프로그램이 컴파일한 후 제어보드에 직접 탑재하여 동작하기도 한다.Typically, these products are run by running a program written on a block programming platform on a PC, driving sensors or motors connected to the control board. Some products work by compiling a program written on a block programming platform and mounting it directly on the control board.

선행 등록 특허 제10-1368749호는 블록 프로그래밍 플랫폼을 이용하여 디지털 토이를 자동 제어할 수 있는 프로그램을 작성하고, 작성된 프로그램을 디지털 토이의 프로세서에 전송하는 기술에 대하여 개시하고 있다. Prior Patent Registration No. 10-1368749 discloses a technique for creating a program capable of automatically controlling a digital toy using a block programming platform, and transferring the created program to a processor of the digital toy.

또한, 선행 등록 특허 제10-1352383호는 블록 프로그래밍 환경에서 사용자가 작성한 블록 프로그램을 컴퓨터 언어로 변환하여 컴파일하고, 그 결과를 대상 단말에 다운로드 하는 기술에 관해 설명하고 있다.In addition, Patent Registration No. 10-1352383 describes a technique for converting a block program written by a user in a block programming environment into a computer language, compiling it, and downloading the result to a target terminal.

그러나 선행 기술들이 제안하는 제어 보드와 연동되는 블록 프로그래밍 플랫폼은, 제어 보드에 연결된 센서들의 동작을 정의한 블록만 제공하며, 네트워크에 연결된 다수의 제어 보드를 제어하는 기능은 제공하지 못한다. However, the block programming platform interworking with the control board proposed by the prior arts provides only a block defining the operation of the sensors connected to the control board, and does not provide a function for controlling a plurality of control boards connected to the network.

따라서, 네트워크에 연결된 원격의 제어 보드(원격 단말)를 제어하기 위하여, 네트워크 기능을 블록 형태로 정의하고, 네트워크에서 해당 원격 단말과 통신을 수행하기 위한 네트워크 설정 기능을 제공하는 기술의 개발이 필요하다. Therefore, in order to control a remote control board (remote terminal) connected to the network, it is necessary to develop a technology that defines a network function in the form of a block and provides a network setting function for communicating with a corresponding remote terminal in a network. .

한국 등록 특허 제10-1368749호, 2014년 02월 24일 공고 (명칭: 프로그래밍 학습용 디지털 예술 토이 키트)Korean Registered Patent No. 10-1368749, published on February 24, 2014 (Name: Digital Art Toy Kit for Programming Learning)

본 발명의 목적은 네트워크에 연결된 제어 대상 단말을 제어하기 위하여, 제어 대상 단말을 식별하고 네트워크를 설정하는 것이다. An object of the present invention is to identify the control target terminal and to set up the network, in order to control the control target terminal connected to the network.

또한, 본 발명의 목적은 네트워크 설정 및 전송에 관한 기능을 블록으로 정의하고, 제어 명령 블록과 연동되도록 설계하는 것이다. It is also an object of the present invention to define a function related to network configuration and transmission as a block, and to be designed to work with the control command block.

또한, 본 발명의 목적은 블록 프로그래밍 플랫폼을 위해 필요한 네트워크 기능을 사용자가 용이하게 사용할 수 있도록 정의하고, 블록 형태로 제공하는 것이다. It is also an object of the present invention to define a network function necessary for a block programming platform so that a user can easily use it, and provide it in a block form.

또한, 본 발명의 목적은 기존 블록 프로그래밍 플랫폼에서 사용자가 용이하게 사용할 수 있는 네트워크 설정 블록, 전송 블록 및 제어 명령 블록을 새로 정의하여 제공하는 것이다. It is also an object of the present invention to define and provide a network configuration block, a transmission block, and a control command block that can be easily used by a user in an existing block programming platform.

또한, 본 발명의 목적은 네트워크 관련 블록을 추가하여, 사용자가 사물인터넷(IoT) 단말의 제어 프로그램을 용이하게 작성할 수 있도록 하는 것이다. It is also an object of the present invention to add a network-related block, so that the user can easily write a control program of the Internet of Things (IoT) terminal.

또한, 본 발명의 목적은 제어 대상 단말의 제어 프로그램을 개발하는데 소요되는 시간을 단축시키고, 표준화하여 확장성을 높이는 것이다. In addition, an object of the present invention is to shorten the time required to develop a control program of the control target terminal, to increase the scalability by standardization.

상기한 목적을 달성하기 위한 본 발명에 따른 블록 프로그램을 이용한 단말 제어 장치에 의해 수행되는 단말 제어 방법은, 네트워크 설정 블록을 이용하여, 상기 단말 제어 장치의 네트워크를 설정하는 단계, 상기 네트워크 설정 블록을 이용하여, 통신 대상이 되는 대상 단말의 네트워크를 설정하는 단계, 하나 이상의 상기 대상 단말 중에서 제어 대상이 되는 제어 대상 단말로 전송할 제어 메시지를 생성하는 단계, 그리고 상기 제어 대상 단말로 생성된 상기 제어 메시지를 전송하는 단계를 포함하며, 상기 제어 메시지는, 상기 제어 대상 단말의 정보를 포함하는 하나 이상의 전송 블록 및 상기 제어 대상 단말을 제어하기 위한 제어 명령 블록을 포함한다. A terminal control method performed by a terminal control apparatus using a block program according to the present invention for achieving the above object comprises the steps of: setting a network of the terminal control apparatus by using a network configuration block; Setting a network of a target terminal to be a communication target, generating a control message to be transmitted to a control target terminal to be controlled from one or more of the target terminals, and generating the control message generated by the control target terminal. And transmitting, wherein the control message comprises one or more transport blocks including information of the control target terminal and a control command block for controlling the control target terminal.

이때, 상기 대상 단말은, 상기 블록 프로그램을 이용한 단말 제어 장치의 로컬 네트워크에 연결되거나, 원격 네트워크에 연결된 것일 수 있다. In this case, the target terminal may be connected to a local network of the terminal control apparatus using the block program or connected to a remote network.

이때, 상기 제어 메시지는, 상기 제어 대상 단말이 상기 로컬 네트워크에 연결된 상기 대상 단말인 경우 하나의 상기 전송 블록을 포함하고, 상기 제어 대상 단말이 원격 네트워크에 연결된 상기 대상 단말인 경우 두 개 이상의 상기 전송 블록들을 포함할 수 있다. In this case, the control message includes one transport block when the control target terminal is the target terminal connected to the local network, and two or more transmissions when the control target terminal is the target terminal connected to a remote network. It may include blocks.

이때, 상기 제어 메시지를 전송하는 단계는, 상기 제어 메시지가 제1 전송 블록 및 상기 제어 명령 블록을 포함하는 경우, 상기 제1 전송 블록에 상응하는 상기 로컬 네트워크에 연결된 상기 제어 대상 단말로 상기 제어 메시지를 전송할 수 있다. In this case, the transmitting of the control message may include: when the control message includes a first transport block and the control command block, the control message to the control target terminal connected to the local network corresponding to the first transport block. Can be transmitted.

이때, 상기 제어 메시지를 전송하는 단계는, 상기 제어 메시지가 제1 전송 블록, 제2 전송 블록 및 상기 제어 명령 블록을 포함하는 경우, 상기 제1 전송 블록에 상응하는 상기 대상 단말을 경유하여 상기 제2 전송 블록에 상응하는 상기 원격 네트워크에 연결된 상기 제어 대상 단말로 상기 제어 메시지를 전송할 수 있다. In this case, the transmitting of the control message may include: when the control message includes a first transport block, a second transport block, and the control command block, via the target terminal corresponding to the first transport block. The control message may be transmitted to the control target terminal connected to the remote network corresponding to the two transport blocks.

이때, 상기 네트워크 설정 블록은, AP 네트워크 설정 블록, NET 네트워크 설정 블록 및 BLE 네트워크 설정 블록 중 적어도 어느 하나를 포함할 수 있다. In this case, the network configuration block may include at least one of an AP network configuration block, a NET network configuration block, and a BLE network configuration block.

이때, 상기 단말 제어 장치의 네트워크를 설정하는 단계는, 상기 단말 제어 장치가 연결할 액세스 포인트의 설정 정보인 IP 주소, AP 이름, 비밀번호, 암호 방식 정보 중 적어도 어느 하나를 포함하는 상기 AP 네트워크 설정 블록을 이용하여, 네트워크를 설정 할 수 있다. The setting of the network of the terminal control apparatus may include setting the AP network configuration block including at least one of an IP address, an AP name, a password, and encryption method information, which is setting information of an access point to which the terminal control apparatus is to be connected. Network can be set.

이때, 상기 NET 네트워크 설정 블록은, 상기 원격 네트워크에 연결된 상기 제어 대상 단말의 IP 주소를 포함 할 수 있다. In this case, the NET network configuration block, may include the IP address of the control target terminal connected to the remote network.

이때, 상기 BLE 네트워크 설정 블록은, 상기 원격 네트워크에 연결된 상기 제어 대상 단말 및 상기 로컬 네트워크에 연결된 상기 제어 대상 단말 중 적어도 어느 하나의 이름 및 주소를 포함 할 수 있다. In this case, the BLE network configuration block may include at least one of a name and an address of the control target terminal connected to the remote network and the control target terminal connected to the local network.

이때, 상기 제어 메시지는, 상기 전송 블록이 상기 제어 명령 블록과 인접하여 연결된 형태일 수 있다. In this case, the control message may be a form in which the transport block is adjacently connected to the control command block.

이때, 상기 제어 명령 블록은, 디지털 쓰기 블록, 디지털 읽기 블록, 아날로그 쓰기 블록 및 아날로그 읽기 블록 중 적어도 어느 하나를 포함할 수 있다. In this case, the control command block may include at least one of a digital write block, a digital read block, an analog write block, and an analog read block.

또한, 본 발명의 일실시예에 따른 블록 프로그램을 이용한 단말 제어 장치 는, 네트워크 설정 블록을 이용하여 상기 단말 제어 장치의 네트워크를 설정하고, 상기 네트워크 설정 블록을 이용하여 통신 대상이 되는 대상 단말의 네트워크를 설정하는 네트워크 설정부, 하나 이상의 상기 대상 단말 중에서 제어 대상이 되는 제어 대상 단말로 전송할 제어 메시지를 생성하는 제어 메시지 생성부, 그리고 상기 제어 대상 단말로 생성된 상기 제어 메시지를 전송하는 제어 메시지 전송부를 포함하며, 상기 제어 메시지는, 상기 제어 대상 단말의 정보를 포함하는 하나 이상의 전송 블록 및 상기 제어 대상 단말을 제어하기 위한 제어 명령 블록을 포함한다. In addition, the terminal control apparatus using a block program according to an embodiment of the present invention, the network of the terminal control apparatus to set the network using the network configuration block, the network of the target terminal to be the communication target using the network configuration block A network setting unit configured to set a control message generation unit to generate a control message to be transmitted to a control target terminal to be controlled among one or more target terminals, and a control message transmission unit to transmit the control message generated to the control target terminal. The control message may include one or more transport blocks including information of the control target terminal and a control command block for controlling the control target terminal.

이때, 상기 대상 단말은, 상기 블록 프로그램을 이용한 단말 제어 장치의 로컬 네트워크에 연결되거나, 원격 네트워크에 연결된 것이고, 상기 제어 메시지는, 상기 제어 대상 단말이 상기 로컬 네트워크에 연결된 상기 대상 단말인 경우 하나의 상기 전송 블록을 포함하고, 상기 제어 대상 단말이 원격 네트워크에 연결된 상기 대상 단말인 경우 두 개 이상의 상기 전송 블록들을 포함할 수 있다. In this case, the target terminal is connected to the local network of the terminal control apparatus using the block program or connected to a remote network, and the control message is one when the control target terminal is the target terminal connected to the local network. The transport block may include two or more transport blocks when the control target terminal is the target terminal connected to a remote network.

이때, 상기 제어 메시지 전송부는, 상기 제어 메시지가 제1 전송 블록 및 상기 제어 명령 블록을 포함하는 경우, 상기 제1 전송 블록에 상응하는 상기 로컬 네트워크에 연결된 상기 제어 대상 단말로 상기 제어 메시지를 전송할 수 있다. In this case, when the control message includes a first transport block and the control command block, the control message transmitter may transmit the control message to the control target terminal connected to the local network corresponding to the first transport block. have.

이때, 상기 제어 메시지 전송부는, 상기 제어 메시지가 제1 전송 블록, 제2 전송 블록 및 상기 제어 명령 블록을 포함하는 경우, 상기 제1 전송 블록에 상응하는 상기 대상 단말을 경유하여 상기 제2 전송 블록에 상응하는 상기 원격 네트워크에 연결된 상기 제어 대상 단말로 상기 제어 메시지를 전송할 수 있다. In this case, the control message transmission unit, if the control message includes a first transport block, a second transport block and the control command block, the second transport block via the target terminal corresponding to the first transport block. The control message may be transmitted to the control target terminal connected to the remote network corresponding to.

이때, 상기 네트워크 설정 블록은, AP 네트워크 설정 블록, NET 네트워크 설정 블록 및 BLE 네트워크 설정 블록 중 적어도 어느 하나를 포함할 수 있다. In this case, the network configuration block may include at least one of an AP network configuration block, a NET network configuration block, and a BLE network configuration block.

이때, 상기 네트워크 설정부는, 상기 단말 제어 장치가 연결할 액세스 포인트의 설정 정보인 IP 주소, AP 이름, 비밀번호, 암호 방식 정보 중 적어도 어느 하나를 포함하는 상기 AP 네트워크 설정 블록을 이용하여, 네트워크를 설정할 수 있다. In this case, the network setting unit may set a network by using the AP network setting block including at least one of IP address, AP name, password, and encryption method information, which is setting information of an access point to which the terminal control apparatus will connect. have.

이때, 상기 NET 네트워크 설정 블록은, 상기 원격 네트워크에 연결된 상기 제어 대상 단말의 IP 주소를 포함하고, 상기 BLE 네트워크 설정 블록은, 상기 원격 네트워크에 연결된 상기 제어 대상 단말 및 상기 로컬 네트워크에 연결된 상기 제어 대상 단말 중 적어도 어느 하나의 이름 및 주소를 포함할 수 있다. In this case, the NET network configuration block, the IP address of the control target terminal connected to the remote network, the BLE network configuration block, the control target terminal connected to the remote network and the control target connected to the local network It may include the name and address of at least one of the terminals.

이때, 상기 제어 메시지는, 상기 전송 블록이 상기 제어 명령 블록과 인접하여 연결된 형태이고, 상기 제어 명령 블록은, 디지털 쓰기 블록, 디지털 읽기 블록, 아날로그 쓰기 블록 및 아날로그 읽기 블록 중 적어도 어느 하나를 포함할 수 있다. In this case, the control message is a form in which the transport block is connected adjacent to the control command block, the control command block, at least one of a digital write block, a digital read block, an analog write block and an analog read block. Can be.

또한, 본 발명의 또 다른 실시예에 따른 블록 프로그램을 이용한 단말 제어 장치에 의해 수행되는 단말 제어 방법은, 상기 단말 제어 장치의 네트워크를 설정하기 위하여, AP 네트워크 설정 블록을 입력받는 단계, 통신 대상이 되는 대상 단말의 네트워크를 설정하기 위하여, 단말 네트워크 설정 블록을 입력받는 단계, 네트워크의 설정이 완료된 상기 대상 단말로 전송할 제어 메시지를 입력받는 단계, 그리고 입력받은 상기 제어 메시지를 제어 대상이 되는 상기 대상 단말로 전송하는 단계를 포함하며, 상기 제어 메시지는, 상기 제어 대상이 되는 대상 단말의 정보를 포함하는 하나 이상의 전송 블록 및 상기 대상 단말을 제어하기 위한 제어 명령 블록을 포함한다. In addition, the terminal control method performed by the terminal control apparatus using a block program according to another embodiment of the present invention, in order to set the network of the terminal control apparatus, receiving an AP network configuration block, communication target is Receiving a terminal network configuration block, receiving a control message to be transmitted to the target terminal having completed the network setting, and setting the network of the target terminal to be controlled; And a control command block for controlling the target terminal and at least one transport block including information of the target terminal to be controlled.

본 발명에 따르면, 네트워크에 연결된 제어 대상 단말을 제어하기 위하여, 제어 대상 단말을 식별하고 네트워크를 설정할 수 있다. According to the present invention, in order to control the control target terminal connected to the network, it is possible to identify the control target terminal and set the network.

또한 본 발명에 따르면, 네트워크 설정 및 전송에 관한 기능을 블록으로 정의하고, 제어 명령 블록과 연동되도록 설계하여 제공할 수 있다. In addition, according to the present invention, a function related to network setting and transmission may be defined as a block, and may be designed and provided to be linked with a control command block.

또한 본 발명에 따르면, 블록 프로그래밍 플랫폼을 위해 필요한 네트워크 기능을 사용자가 용이하게 사용할 수 있도록 정의하고, 블록 형태로 제공할 수 있다. In addition, according to the present invention, a network function necessary for a block programming platform may be defined to be easily used by a user, and may be provided in a block form.

또한 본 발명에 따르면, 기존 블록 프로그래밍 플랫폼에서 사용자가 용이하게 사용할 수 있는 네트워크 설정 블록, 전송 블록 및 제어 명령 블록을 새로 정의하여 제공할 수 있다. In addition, according to the present invention, a network configuration block, a transmission block, and a control command block that can be easily used by a user in an existing block programming platform may be newly defined and provided.

또한 본 발명에 따르면, 네트워크 관련 블록을 추가하여, 사용자가 사물인터넷(IoT) 단말의 제어 프로그램을 용이하게 작성할 수 있도록 할 수 있다. In addition, according to the present invention, by adding a network-related block, a user can easily write a control program of the Internet of Things (IoT) terminal.

또한 본 발명에 따르면, 제어 대상 단말의 제어 프로그램을 개발하는데 소요되는 시간을 단축시키고, 표준화하여 확장성을 높일 수 있다. In addition, according to the present invention, it is possible to shorten the time required to develop the control program of the control target terminal, and to increase the scalability by standardization.

도 1은 본 발명의 일실시예에 따른 블록 프로그램을 이용한 단말 제어 장치가 적용되는 환경을 개략적으로 나타낸 도면이다.
도 2는 본 발명의 일실시예에 따른 블록 프로그램을 이용한 단말 제어 장치의 구성을 나타낸 블록도이다.
도 3은 본 발명의 일실시예에 따른 블록 프로그램을 이용한 단말 제어 방법을 설명하기 위한 순서도이다.
도 4는 본 발명의 일실시예에 따른 네트워크 블록의 종류를 설명하기 위한 도면이다.
도 5는 본 발명의 일실시예에 따른 네트워크 설정 블록을 나타낸 도면이다.
도 6은 종래 기술에 따른 단말 제어용 블록을 나타낸 도면이다.
도 7은 본 발명의 일실시예에 따른 전송 블록을 나타낸 도면이다.
도 8은 본 발명의 일실시예에 따른 블록 프로그램을 이용한 단말 제어 장치가 실행하는 블록 프로그램을 나타낸 예시도이다.
도 9는 본 발명의 일실시예에 따른 블록 프로그램을 생성하는 과정을 나타낸 순서도이다.
도 10은 본 발명의 일실시예에 따른 컴퓨터 시스템을 나타낸 블록도이다.
1 is a diagram schematically illustrating an environment to which a terminal control apparatus using a block program according to an embodiment of the present invention is applied.
2 is a block diagram showing a configuration of a terminal control apparatus using a block program according to an embodiment of the present invention.
3 is a flowchart illustrating a terminal control method using a block program according to an embodiment of the present invention.
4 is a view for explaining the type of network block according to an embodiment of the present invention.
5 is a diagram illustrating a network configuration block according to an embodiment of the present invention.
6 is a block diagram illustrating a terminal control block according to the prior art.
7 illustrates a transport block according to an embodiment of the present invention.
8 is an exemplary diagram illustrating a block program executed by a terminal control apparatus using a block program according to an embodiment of the present invention.
9 is a flowchart illustrating a process of generating a block program according to an embodiment of the present invention.
10 is a block diagram illustrating a computer system according to an embodiment of the present invention.

본 발명은 다양한 변경을 가할 수 있고 여러 가지 실시예를 가질 수 있는 바, 특정 실시 예들을 도면에 예시하고 상세하게 설명하고자 한다.As the inventive concept allows for various changes and numerous embodiments, particular embodiments will be illustrated in the drawings and described in detail in the written description.

그러나, 이는 본 발명을 특정한 실시 형태에 대해 한정하려는 것이 아니며, 본 발명의 사상 및 기술 범위에 포함되는 모든 변경, 균등물 내지 대체물을 포함하는 것으로 이해되어야 한다.However, this is not intended to limit the present invention to specific embodiments, it should be understood to include all modifications, equivalents, and substitutes included in the spirit and scope of the present invention.

본 출원에서 사용한 용어는 단지 특정한 실시예를 설명하기 위해 사용된 것으로, 본 발명을 한정하려는 의도가 아니다. 단수의 표현은 문맥상 명백하게 다르게 뜻하지 않는 한, 복수의 표현을 포함한다. 본 출원에서, "포함하다" 또는 "가지다" 등의 용어는 명세서상에 기재된 특징, 숫자, 단계, 동작, 구성요소, 부품 또는 이들을 조합한 것이 존재함을 지정하려는 것이지, 하나 또는 그 이상의 다른 특징들이나 숫자, 단계, 동작, 구성요소, 부품 또는 이들을 조합한 것들의 존재 또는 부가 가능성을 미리 배제하지 않는 것으로 이해되어야 한다.The terminology used herein is for the purpose of describing particular example embodiments only and is not intended to be limiting of the present invention. Singular expressions include plural expressions unless the context clearly indicates otherwise. In this application, the terms "comprise" or "have" are intended to indicate that there is a feature, number, step, operation, component, part, or combination thereof described in the specification, and one or more other features. It is to be understood that the present invention does not exclude the possibility of the presence or the addition of numbers, steps, operations, components, components, or a combination thereof.

다르게 정의되지 않는 한, 기술적이거나 과학적인 용어를 포함해서 여기서 사용되는 모든 용어들은 본 발명이 속하는 기술 분야에서 통상의 지식을 가진 자에 의해 일반적으로 이해되는 것과 동일한 의미를 가지고 있다. 일반적으로 사용되는 사전에 정의되어 있는 것과 같은 용어들은 관련 기술의 문맥 상 가지는 의미와 일치하는 의미를 가진 것으로 해석되어야 하며, 본 출원에서 명백하게 정의하지 않는 한, 이상적이거나 과도하게 형식적인 의미로 해석되지 않는다.Unless defined otherwise, all terms used herein, including technical or scientific terms, have the same meaning as commonly understood by one of ordinary skill in the art. Terms such as those defined in the commonly used dictionaries should be construed as having meanings consistent with the meanings in the context of the related art and shall not be construed in ideal or excessively formal meanings unless expressly defined in this application. Do not.

이하, 첨부한 도면들을 참조하여, 본 발명의 바람직한 실시예를 보다 상세하게 설명하고자 한다. 본 발명을 설명함에 있어 전체적인 이해를 용이하게 하기 위하여 도면상의 동일한 구성요소에 대해서는 동일한 참조부호를 사용하고 동일한 구성요소에 대해서 중복된 설명은 생략한다.Hereinafter, with reference to the accompanying drawings, it will be described in detail a preferred embodiment of the present invention. In the following description of the present invention, the same reference numerals are used for the same elements in the drawings and redundant descriptions of the same elements will be omitted.

도 1은 본 발명의 일실시예에 따른 블록 프로그램을 이용한 단말 제어 장치가 적용되는 환경을 개략적으로 나타낸 도면이다. 1 is a diagram schematically illustrating an environment to which a terminal control apparatus using a block program according to an embodiment of the present invention is applied.

본 발명의 일실시예에 따른 블록 프로그램을 이용한 단말 제어 장치는 블록 프로그래밍 플랫폼으로 제작한 프로그램을 실행하며, 도 1의 관리자 단말(10)을 의미할 수 있다. The terminal control apparatus using the block program according to an embodiment of the present invention executes a program produced by the block programming platform, and may mean the manager terminal 10 of FIG. 1.

여기서, 프로그램은 스크래치나 엔트리 등과 같은 블록 프로그래밍 플랫폼 내에서 동작하거나, 블록 프로그래밍 플랫폼에서 제작한 프로그램을 컴파일한 후 관리자 단말(10)에 다운로드하여 실행될 수 있다. 특히, 프로그램을 컴파일하여 다운로드한 관리자 단말(10)은 네트워크에 연결된 임의의 대상 단말의 역할을 수행할 수 있다. Here, the program may be operated in a block programming platform such as scratch or entry, or may be downloaded and executed in the manager terminal 10 after compiling a program produced in the block programming platform. In particular, the manager terminal 10 which has compiled and downloaded the program may perform the role of any target terminal connected to the network.

도 1에 도시한 바와 같이, 관리자 단말(10)은 네트워크 기능을 이용하여 로컬 네트워크(1)나 원격 네트워크에 연결된 하나 이상의 대상 단말(20)을 제어할 수 있다. 그리고 로컬 네트워크(1)에 연결된 하나 이상의 로컬 단말(20_1)과 원격 네트워크에 연결된 하나 이상의 원격 단말(20_3, 20_5)에는 관리자 단말(10)의 명령에 따라 대상 단말에 연결된 동작부나 감지부 등을 구동하는 별도의 프로그램이 동작할 수 있다. As shown in FIG. 1, the manager terminal 10 may control one or more target terminals 20 connected to the local network 1 or a remote network by using a network function. In addition, at least one local terminal 20_1 connected to the local network 1 and at least one remote terminal 20_3 and 20_5 connected to the remote network drive an operation unit or a sensing unit connected to the target terminal according to the command of the manager terminal 10. A separate program can be run.

여기서, 로컬 네트워크(1)는 관리자 단말(10)과 로컬 단말(20_1)이 중간 노드를 거치지 않고 직접 통신 가능한 환경을 의미한다. 예를 들어, 블루투스, 저전력 블루투스(Bluetooth Low Energy, BLE) 네트워크 등이 로컬 네트워크(1)에 해당할 수 있다. 그리고 로컬 단말(20_1)은 로컬 네트워크(1)에 포함된 대상 단말(20)을 의미한다. Here, the local network 1 refers to an environment in which the manager terminal 10 and the local terminal 20_1 can directly communicate with each other without passing through an intermediate node. For example, a Bluetooth, Bluetooth Low Energy (BLE) network, or the like may correspond to the local network 1. The local terminal 20_1 means the target terminal 20 included in the local network 1.

또한, 원격 네트워크(2)는 인터넷을 거쳐 접근 가능한 네트워크를 의미하며, 원격 단말(20_3, 20_5)은 인터넷을 통하여 관리자 단말(10)과 통신을 수행하는 대상 단말(20)을 의미한다. In addition, the remote network 2 means a network accessible through the Internet, and the remote terminals 20_3 and 20_5 refer to the target terminal 20 communicating with the manager terminal 10 through the Internet.

특히, 원격 네트워크(2)에서 게이트웨이 역할을 수행하는 원격 단말(20_3)은 서로 다른 네트워크를 연결하는 기능과 하부 네트워크에 연결된 하나 이상의 원격 단말(20_5)과 관리자 단말 간 패킷을 전달하는 기능을 지원할 수 있다. 도 1에서, 게이트웨이 역할을 수행하는 원격 단말(20_3)은 인터넷과 저전력 블루투스(BLE)를 연결할 수 있다. In particular, the remote terminal 20_3 serving as a gateway in the remote network 2 may support a function of connecting different networks and a function of delivering a packet between at least one remote terminal 20_5 connected to a lower network and a manager terminal. have. In FIG. 1, the remote terminal 20_3 serving as a gateway may connect the Internet and low power Bluetooth (BLE).

이하에서는 도 2를 통하여 본 발명의 일실시예에 따른 블록 프로그램을 이용한 단말 제어 장치의 구성에 대하여 더욱 상세하게 설명한다. Hereinafter, the configuration of a terminal control apparatus using a block program according to an embodiment of the present invention will be described in more detail with reference to FIG. 2.

도 2는 본 발명의 일실시예에 따른 블록 프로그램을 이용한 단말 제어 장치의 구성을 나타낸 블록도이다. 2 is a block diagram showing a configuration of a terminal control apparatus using a block program according to an embodiment of the present invention.

도 2에 도시한 바와 같이, 블록 프로그램을 이용한 단말 제어 장치(200)는 네트워크 설정부(210), 제어 메시지 생성부(220) 및 제어 메시지 전송부(230)를 포함한다. As shown in FIG. 2, the terminal control apparatus 200 using a block program includes a network setting unit 210, a control message generating unit 220, and a control message transmitting unit 230.

먼저, 네트워크 설정부(210)는 네트워크 설정 블록을 이용하여 관리자 단말(10)인 블록 프로그램을 이용한 단말 제어 장치(200)의 네트워크를 설정한다. 또한, 네트워크 설정부(210)는 네트워크 설정 블록을 이용하여 통신 대상이 되는 대상 단말(20)의 네트워크를 설정한다. First, the network setting unit 210 sets a network of the terminal control apparatus 200 using the block program which is the manager terminal 10 using the network setting block. In addition, the network setting unit 210 sets a network of the target terminal 20 to be the communication target by using the network setting block.

여기서, 네트워크 설정 블록은, AP 네트워크 설정 블록, NET 네트워크 설정 블록 및 BLE 네트워크 설정 블록 중 적어도 어느 하나를 포함할 수 있다. Here, the network configuration block may include at least one of an AP network configuration block, a NET network configuration block, and a BLE network configuration block.

그리고 네트워크 설정부(210)는 블록 프로그램을 이용한 단말 제어 장치(200)가 연결할 액세스 포인트의 설정 정보인 IP 주소, AP 이름, 비밀번호 및 암호 방식 중 적어도 어느 하나를 포함하는 AP 네트워크 설정 블록을 이용하여 네트워크를 설정할 수 있다. The network setting unit 210 uses an AP network setting block including at least one of an IP address, an AP name, a password, and an encryption method, which is setting information of an access point to which the terminal control apparatus 200 using a block program connects. You can set up the network.

NET 네트워크 설정 블록은 원격 네트워크에 연결된 제어 대상 단말의 IP 주소를 포함하고, BLE 네트워크 설정 블록은 원격 네트워크에 연결된 제어 대상 단말의 이름 및 주소, 로컬 네트워크에 연결된 제어 대상 단말의 이름 및 주소 중 적어도 어느 하나를 포함할 수 있다. The NET network configuration block includes an IP address of a control target terminal connected to a remote network, and the BLE network configuration block includes at least one of a name and address of a control target terminal connected to a remote network and a name and address of a control target terminal connected to a local network. It may include one.

다음으로 제어 메시지 생성부(220)는 제어 대상 단말로 전송할 제어 메시지를 생성한다. 이때, 제어 메시지 생성부(220)는 로컬 네트워크 및 원격 네트워크에 포함된 복수의 대상 단말들 중에서, 제어 대상이 되는 제어 대상 단말을 지정하고, 제어 대상 단말이 수행할 명령을 포함하는 제어 메시지를 생성할 수 있다. Next, the control message generator 220 generates a control message to be transmitted to the control target terminal. In this case, the control message generator 220 designates a control target terminal to be controlled from among a plurality of target terminals included in the local network and the remote network, and generates a control message including a command to be performed by the control target terminal. can do.

여기서, 제어 메시지는, 제어 대상 단말의 정보를 포함하는 전송 블록 및 제어 대상 단말을 제어하기 위한 명령을 포함하는 제어 명령 블록을 포함할 수 있다. 이때, 제어 메시지는 제어 대상 단말에 따라 하나 또는 두 개의 전송 블록을 포함할 수 있다. Here, the control message may include a transport block including information of the control target terminal and a control command block including a command for controlling the control target terminal. In this case, the control message may include one or two transport blocks according to the control target terminal.

마지막으로, 제어 메시지 전송부(230)는 생성한 제어 메시지를 제어 대상 단말로 전송한다. Finally, the control message transmitter 230 transmits the generated control message to the control target terminal.

이와 같이, 본 발명의 일실시예에 따른 블록 프로그램을 이용한 단말 제어 장치(200)는 블록 프로그래밍 플랫폼에서, 네트워크를 설정하고, 제어 대상 단말을 결정하는 네트워크 설정 블록과, 제어 대상 단말을 결정하는 전송 블록 및 제어 대상 단말을 제어하기 위한 제어 명령 블록을 새로 정의하여 적용할 수 있다. As such, the terminal control apparatus 200 using the block program according to an embodiment of the present invention, in a block programming platform, sets a network, a network setting block for determining a control target terminal, and a transmission for determining a control target terminal. A control command block for controlling the block and the control target terminal may be newly defined and applied.

이를 통하여 본 발명의 일실시예에 따른 블록 프로그램을 이용한 단말 제어 장치(200)는 사물인터넷(IoT) 단말 등의 제어 대상 단말을 제어하는 프로그램을 용이하게 제작할 수 있다. 그리고 원격 단말을 제어하는 프로그램의 개발에 소요되는 시간을 단축시키고, 표준화된 관리자 단말과 제어 대상 단말을 이용하여 확장성을 높일 수 있다. Accordingly, the terminal control apparatus 200 using the block program according to an embodiment of the present invention can easily produce a program for controlling a control target terminal such as an IoT terminal. In addition, the time required for the development of a program for controlling a remote terminal can be shortened, and the scalability can be increased by using a standardized manager terminal and a control target terminal.

이하에서는 도 3을 통하여 본 발명의 일실시예에 따른 블록 프로그램을 이용한 단말 제어 장치에 의해 수행되는 블록 프로그램을 이용한 단말 제어 방법에 대하여 더욱 상세하게 설명한다. Hereinafter, a terminal control method using a block program performed by a terminal control apparatus using a block program according to an embodiment of the present invention will be described in more detail with reference to FIG. 3.

도 3은 본 발명의 일실시예에 따른 블록 프로그램을 이용한 단말 제어 방법을 설명하기 위한 순서도이다. 3 is a flowchart illustrating a terminal control method using a block program according to an embodiment of the present invention.

먼저, 블록 프로그램을 이용한 단말 제어 장치(200)는 블록 프로그램을 이용한 단말 제어 장치(200)의 네트워크를 설정한다(S310). First, the terminal control apparatus 200 using the block program sets up a network of the terminal control apparatus 200 using the block program (S310).

블록 프로그램을 이용한 단말 제어 장치(200)는 블록 프로그램이 실행되는 블록 프로그램을 이용한 단말 제어 장치(200)의 네트워크를 설정한다. 여기서, 블록 프로그램을 이용한 단말 제어 장치(200)는 도 1의 관리자 단말(10)을 의미할 수 있으며 네트워크 설정 블록을 이용하여 블록 프로그램을 이용한 단말 제어 장치(200)의 네트워크를 설정할 수 있다. The terminal control apparatus 200 using the block program sets a network of the terminal control apparatus 200 using the block program in which the block program is executed. Here, the terminal control apparatus 200 using the block program may mean the manager terminal 10 of FIG. 1, and may set the network of the terminal control apparatus 200 using the block program using the network setting block.

그리고 블록 프로그램을 이용한 단말 제어 장치(200)는 대상 단말의 네트워크를 설정한다(S320). The terminal control apparatus 200 using the block program sets a network of the target terminal (S320).

블록 프로그램을 이용한 단말 제어 장치(200)는 로컬 네트워크 및 원격 네트워크에 포함된 복수의 대상 단말들 중에서 통신을 수행할 대상 단말을 식별하기 위한 ID를 설정할 수 있다. The terminal control apparatus 200 using the block program may set an ID for identifying a target terminal to perform communication among a plurality of target terminals included in a local network and a remote network.

도 4는 본 발명의 일실시예에 따른 네트워크 블록의 종류를 설명하기 위한 도면이다.4 is a view for explaining the type of network block according to an embodiment of the present invention.

도 4에 도시한 바와 같이, 본 발명의 일 실시예에 따른 블록 프로그램을 이용한 단말 제어 장치(200)는 네트워크 설정 블록(410) 및 제어 메시지(420, 430)를 이용하여, 네트워크가 연결된 대상 단말을 제어할 수 있다. As shown in FIG. 4, the terminal control apparatus 200 using a block program according to an embodiment of the present invention uses a network configuration block 410 and control messages 420 and 430 to connect to a target terminal connected to a network. Can be controlled.

그리고 블록 프로그램을 이용한 단말 제어 장치(200)가 네트워크에 연결된 대상 단말을 제어하기 위하여 정의한 네트워크 블록은 네트워크 설정 블록, 전송 블록, 제어 명령 블록을 포함할 수 있다. The network block defined by the terminal control apparatus 200 using a block program to control a target terminal connected to a network may include a network configuration block, a transport block, and a control command block.

이때, 전송 블록은 제어 명령 블록에 인접하여 연결될 수 있으며, 제어 명령 블록에 제1 전송 블록 하나만 연결되거나, 제1 전송 블록 및 제2 전송 블록 두 개가 연결될 수 있다. 즉, 제어 메시지는 제1 제어 메시지(420)와 같이 하나의 전송 블록 및 하나의 제어 명령 블록으로 구성되거나, 제2 제어 메시지(430)와 같이 두 개의 전송 블록 및 하나의 제어 명령 블록으로 구성될 수 있다. In this case, the transport block may be connected adjacent to the control command block, and only one first transport block may be connected to the control command block, or two first transport blocks and two second transport blocks may be connected. That is, the control message may be composed of one transport block and one control command block as in the first control message 420, or may be composed of two transport blocks and one control command block as in the second control message 430. Can be.

제어 명령 블록에 제1 전송 블록 하나만 연결된 경우, 해당 제어 명령 블록은 제1 전송 블록에 상응하는 제어 대상 단말로 전송된다. 반면, 제어 명령 블록에 제1 전송 블록 및 제2 전송 블록이 연결된 경우, 해당 제어 명령 블록은 제1 전송 블록에 의해 결정된 대상 단말을 거쳐, 제2 전송 블록에 상응하는 제어 대상 단말로 전송된다. When only one first transport block is connected to the control command block, the control command block is transmitted to the control target terminal corresponding to the first transport block. On the other hand, when the first transport block and the second transport block are connected to the control command block, the control command block is transmitted to the control target terminal corresponding to the second transport block via the target terminal determined by the first transport block.

그리고 블록 프로그램을 이용한 단말 제어 장치(200)는 도 4의 네트워크 설정 블록을 이용하여, 블록 프로그램을 이용한 단말 제어 장치(200)의 네트워크를 설정하고, 대상 단말의 네트워크를 설정할 수 있다. In addition, the terminal control apparatus 200 using the block program may set the network of the terminal control apparatus 200 using the block program and set the network of the target terminal using the network setting block of FIG. 4.

도 5는 본 발명의 일실시예에 따른 네트워크 설정 블록을 나타낸 도면이다. 5 is a diagram illustrating a network configuration block according to an embodiment of the present invention.

도 5에 도시한 바와 같이, 네트워크 설정 블록은 AP 네트워크 설정 블록(510), NET 네트워크 설정 블록(520) 및 BLE 네트워크 설정 블록(530)을 포함할 수 있다. As shown in FIG. 5, the network configuration block may include an AP network configuration block 510, a NET network configuration block 520, and a BLE network configuration block 530.

블록 프로그램이 동작하는 블록 프로그램을 이용한 단말 제어 장치(200)가 무선 네트워크를 이용하는 경우, 연결할 무선 AP의 이름 및 비밀번호를 설정하기 위하여, AP 네트워크 설정 블록(510)이 사용될 수 있다. 또한, NET 네트워크 설정 블록(520)은 인터넷 연결을 위하여, 대상 단말의 주소 및 식별 ID를 설정할 수 있다. When the terminal control apparatus 200 using the block program in which the block program operates uses a wireless network, the AP network setting block 510 may be used to set a name and a password of a wireless AP to be connected. In addition, the NET network configuration block 520 may set the address and identification ID of the target terminal for the Internet connection.

BLE 네트워크에 연결된 복수의 대상 단말(20)들 중에서 통신을 수행할 대상 단말(제어 대상 단말)을 설정하기 위하여, BLE 네트워크 설정 블록(530)에는 BT(BLE ID)에 연결된 실제 대상 단말의 이름 및 주소가 입력될 수 있다. In order to set a target terminal (control target terminal) to perform communication among a plurality of target terminals 20 connected to the BLE network, the BLE network setting block 530 includes a name of an actual target terminal connected to BT (BLE ID) and An address can be entered.

BLE ID는 블록 프로그램에서 BLE 상의 대상 단말을 식별하는 가상 ID로 사용될 수 있다. 그리고 대상 단말의 이름은 실제 BLE 네트워크에서 브로드캐스팅하는 대상 단말의 이름을 의미하며, 대상 단말의 주소는 대상 단말의 하드웨어 주소를 의미한다. 일반적으로, 동일 제품의 BLE 단말들은 동일한 이름을 가질 수 있으므로, 네트워크 상에서의 주소를 이용하여 대상 단말을 식별할 수 있다. The BLE ID may be used as a virtual ID for identifying a target terminal on the BLE in the block program. The name of the target terminal refers to the name of the target terminal broadcasting in the actual BLE network, and the address of the target terminal refers to the hardware address of the target terminal. In general, since BLE terminals of the same product may have the same name, the target terminal may be identified using an address on the network.

다시 도 3에 대하여 설명하면, 블록 프로그램을 이용한 단말 제어 장치(200)는 제어 대상이 되는 대상 단말(제어 대상 단말)로 전송할 제어 메시지를 생성한다(S330). Referring to FIG. 3 again, the terminal control apparatus 200 using the block program generates a control message to be transmitted to the target terminal (control target terminal) to be controlled (S330).

도 6는 종래 기술에 따른 단말 제어용 블록을 나타낸 도면이다. 6 is a block diagram illustrating a terminal control block according to the prior art.

도 6과 같이, 종래 기술에 따른 블록 프로그래밍 플랫폼은 제어 대상 단말의 입출력(I/O)을 제어하기 위한 단말 제어용 블록을 포함한다. As shown in FIG. 6, the block programming platform according to the related art includes a terminal control block for controlling input / output (I / O) of a terminal to be controlled.

종래 기술에 따른 단말 제어용 블록은 디지털 쓰기 블록(610), 아날로그 쓰기 블록(620), 디지털 읽기 블록(630) 및 아날로그 읽기 블록(640)만을 제공한다. The terminal control block according to the related art provides only the digital write block 610, the analog write block 620, the digital read block 630, and the analog read block 640.

디지털 쓰기 블록(610)은 입력한 핀(Pin) 번호에 디지털 값(0 또는 1)을 쓰는 기능을 수행하고, 아날로그 쓰기 블록(620)은 입력한 핀 번호에 아날로그 값을 쓰는 기능을 수행한다. 그리고 디지털 읽기 블록(630)은 설정한 핀으로 입력되는 디지털 값(0 또는 1)을 읽어오고, 아날로그 읽기 블록(640)은 설정한 핀으로 입력되는 아날로그 값을 읽어온다. The digital write block 610 writes a digital value (0 or 1) to the input pin number, and the analog write block 620 writes an analog value to the input pin number. The digital read block 630 reads the digital value (0 or 1) input to the set pin, and the analog read block 640 reads the analog value input to the set pin.

이와 같이, 종래 기술에 따른 블록 프로그래밍 플랫폼은 네트워크에 연결된 복수의 단말들 중에서 연결할 대상 단말(제어 대상 단말)을 설정하는 블록 및 네트워크를 설정하는 블록은 제공하지 않는다. 즉, 종래 기술에 따른 블록 프로그래밍 플랫폼으로는 네트워크 상에 연결된 복수의 단말들을 식별할 수 없다. As described above, the block programming platform according to the related art does not provide a block for setting a target terminal (control target terminal) to be connected and a block for setting a network among a plurality of terminals connected to the network. That is, the block programming platform according to the prior art cannot identify a plurality of terminals connected on a network.

따라서, 종래 기술에 따른 블록 프로그래밍 플랫폼에서는 관리자 단말과 로컬 단말간에 1대1 통신으로 로컬 단말의 입출력(IO)을 제어하고자 하는 경우, 블록 프로그램이 실행되기 이전에 별도로 관리자 단말과 로컬 단말간 통신 채널을 생성하는 과정이 선행되어야 한다. Therefore, in the block programming platform according to the related art, when the I / O of the local terminal is to be controlled by one-to-one communication between the manager terminal and the local terminal, the communication channel between the manager terminal and the local terminal is separately executed before the block program is executed. The process of generating the code must be preceded.

반면, 본 발명의 일실시예에 따른 블록 프로그램을 이용한 단말 제어 장치(200)는 도 7과 같이, 기존 블록 프로그래밍 플랫폼에서 사용자가 용이하게 사용할 수 있도록 새로 정의된 네트워크 설정 블록을 이용하여 네트워크를 설정할 수 있다. On the other hand, the terminal control device 200 using a block program according to an embodiment of the present invention, as shown in Figure 7, to set the network using a newly defined network configuration block so that the user can easily use in the existing block programming platform Can be.

도 7은 본 발명의 일실시예에 따른 전송 블록을 나타낸 도면이다. 7 illustrates a transport block according to an embodiment of the present invention.

도 7에 도시한 바와 같이, 네트워크 블록 중 전송 블록(711, 713, 721, 723, 731, 733, 741, 743)은 각 네트워크에서 식별 가능한 ID를 입력하여, 통신을 수행할 대상 단말인 제어 대상 단말을 결정한다. 여기서, 제어 대상 단말은 원격 단말이거나, 로컬 단말일 수 있다. As shown in FIG. 7, the transport blocks 711, 713, 721, 723, 731, 733, 741, and 743 of the network blocks input IDs identifiable in each network, and are controlled terminals which are target terminals to perform communication. Determine the terminal. Here, the control target terminal may be a remote terminal or a local terminal.

전송 블록(711, 713, 721, 723, 731, 733, 741, 743)은 기존의 블록 프로그래밍 플랫폼이 제공하는 제어 명령 블록(715, 725, 735, 745)에 인접하여 연결될 수 있다. 그리고 전송 블록(711, 713, 721, 723, 731, 733, 741, 743) 및 제어 명령 블록(715, 725, 735, 745)이 포함된 제어 메시지(710, 720, 730, 740)는 전송 블록(711, 713, 721, 723, 731, 733, 741, 743)에 상응하는 제어 대상 단말로 전송된다. The transport blocks 711, 713, 721, 723, 731, 733, 741, 743 may be connected adjacent to the control command blocks 715, 725, 735, 745 provided by the existing block programming platform. The control message 710, 720, 730, 740 including the transport block 711, 713, 721, 723, 731, 733, 741, 743 and the control command block 715, 725, 735, 745 is a transport block. 711, 713, 721, 723, 731, 733, 741, and 743 corresponding to the control target terminal.

예를 들어, 아날로그 읽기 블록(745) 앞에 BLE 네트워크 전송 블록(743) 및 NET 네트워크 전송 블록(741)이 연결된 경우, 블록 프로그램을 이용한 단말 제어 장치(200)는 NET 네트워크 전송 블록(741)이 결정하는 대상 단말을 거쳐, BLE 네트워크 전송 블록(743)이 결정하는 원격 단말로, 아날로그 읽기 블록을 실행하도록 하는 제어 명령 블록(745)을 전송한다. For example, when the BLE network transmission block 743 and the NET network transmission block 741 are connected in front of the analog read block 745, the terminal control apparatus 200 using the block program is determined by the NET network transmission block 741. The control command block 745 is transmitted to the remote terminal determined by the BLE network transmission block 743 via the target terminal.

도 7에서 전송 블록은 독립적으로 동작한다. 예를 들어, 아날로그 읽기 블록(745) 앞에 BLE 네트워크 전송 블록(743)만 있는 경우, 해당 제어 메시지가 전송되는 제어 대상 단말은 로컬 BLE 네트워크에서 BLE 네트워크 전송 블록(743)이 지정한 로컬 단말이다. In FIG. 7, the transport block operates independently. For example, if there is only a BLE network transport block 743 before the analog read block 745, the control target terminal to which the control message is transmitted is a local terminal designated by the BLE network transport block 743 in the local BLE network.

또한, 아날로그 읽기 블록(745) 앞에 NET 네트워크 전송 블록(741)만 있는 경우, 해당 제어 메시지가 전송되는 제어 대상 단말은 인터넷을 거쳐 NET 네트워크 전송 블록이 지정한 원격 단말이다. In addition, when there is only the NET network transport block 741 before the analog read block 745, the control target terminal to which the control message is transmitted is a remote terminal designated by the NET network transport block via the Internet.

다시 도 3에 대하여 설명하면, 마지막으로 블록 프로그램을 이용한 단말 제어 장치(200)는 생성된 제어 메시지를 제어 대상 단말로 전송한다(S340). Referring to FIG. 3 again, the terminal control apparatus 200 using the block program finally transmits the generated control message to the control target terminal (S340).

블록 프로그램을 이용한 단말 제어 장치(200)는 S330 단계에서 생성된 제어 메시지를, 제어 메시지의 전송 블록에 상응하는 제어 대상 단말(20)로 전송한다. 그리고 제어 메시지를 수신한 제어 대상 단말(20)은 제어 메시지의 제어 명령 블록에 상응하는 동작을 수행할 수 있다. The terminal control apparatus 200 using the block program transmits the control message generated in step S330 to the control target terminal 20 corresponding to the transmission block of the control message. In addition, the control target terminal 20 receiving the control message may perform an operation corresponding to the control command block of the control message.

이하에서는 도 8을 통하여 본 발명의 일실시예에 따른 블록 프로그램을 이용한 단말 제어 장치가 실행하는 블록 프로그램에 대하여 예를 들어 설명한다. Hereinafter, a block program executed by a terminal control apparatus using a block program according to an embodiment of the present invention will be described with reference to FIG. 8.

도 8은 본 발명의 일실시예에 따른 블록 프로그램을 이용한 단말 제어 장치가 실행하는 블록 프로그램을 나타낸 예시도이다. 8 is an exemplary diagram illustrating a block program executed by a terminal control apparatus using a block program according to an embodiment of the present invention.

도 8에 도시한 바와 같이, AP 네트워크 설정 블록(810)에는 블록 프로그램을 이용한 단말 제어 장치(200)인 관리자 단말(10)이 연결할 AP의 설정 정보를 입력한다. 여기서, 무선 AP의 이름은 AP-01로 설정하고, 비밀번호는 1234567890!로 설정할 수 있다. As shown in FIG. 8, the AP network configuration block 810 inputs configuration information of an AP to which the manager terminal 10, which is the terminal control apparatus 200 using the block program, to connect. The name of the wireless AP may be set to AP-01, and the password may be set to 1234567890 !.

그리고 NET 네트워크 설정 블록(820)에는 제어 대상 단말(20_3)의 IP 주소를 입력하고, 해당 제어 대상 단말(20_3)을 식별하기 위한 인터넷 단말 ID를 1로 설정하며, IP 주소를 1.1.2.10으로 입력한다. In the NET network configuration block 820, the IP address of the control target terminal 20_3 is input, the Internet terminal ID for identifying the control target terminal 20_3 is set to 1, and the IP address is input to 1.1.2.10. do.

제1 BLE 네트워크 설정 블록(830)에는 원격 BLE 네트워크에 연결된 원격 단말(20_5)의 이름 및 주소를 입력한다. 여기서, 해당 원격 단말(20_5)의 BLE 단말 ID를 2로 설정하고, 이름을 BlkPeri-02로 설정하며, 주소를 01:02:03:44:55:66으로 입력할 수 있다. In the first BLE network configuration block 830, a name and an address of the remote terminal 20_5 connected to the remote BLE network are input. Here, the BLE terminal ID of the remote terminal 20_5 may be set to 2, the name may be set to BlkPeri-02, and an address may be entered as 01: 02: 03: 44: 55: 66.

제2 BLE 네트워크 설정 블록(840)은 로컬 BLE 네트워크에 연결된 로컬 단말(20_1)의 이름 및 주소를 입력한다. 이때, 해당 로컬 단말(20_1)의 BLE 단말 ID는 3으로 설정하고, 이름을 BlkPeri-03로 설정하며, 주소를 01:02:03:44:55:77으로 입력할 수 있다. The second BLE network configuration block 840 inputs the name and address of the local terminal 20_1 connected to the local BLE network. In this case, the BLE terminal ID of the local terminal 20_1 may be set to 3, the name may be set to BlkPeri-03, and an address may be entered as 01: 02: 03: 44: 55: 77.

다음으로 관리자 단말(10)은 제1 제어 메시지(850)를 NET 네트워크 전송 블록(851)에 상응하는 원격 단말(20_3)로 전송한다. 그리고 원격 단말(20_3)은 제1 제어 메시지(850)에서 NET 네트워크 전송 블록(851)을 제거한 후, 원격 BLE 단말(20_5)로 전송할 수 있다. 제1 제어 메시지(850)를 수신한 원격 BLE 단말(20_5)은 BLE 네트워크 전송 블록(853)을 제거하고, 제어 명령 블록인 디지털 쓰기 블록(855)을 실행할 수 있다. Next, the manager terminal 10 transmits the first control message 850 to the remote terminal 20_3 corresponding to the NET network transmission block 851. The remote terminal 20_3 may remove the NET network transmission block 851 from the first control message 850 and then transmit the remote terminal 20_3 to the remote BLE terminal 20_5. The remote BLE terminal 20_5 receiving the first control message 850 may remove the BLE network transmission block 853 and execute the digital write block 855 which is a control command block.

또한, 관리자 단말(10)은 제2 제어 메시지(860)를 BLE 네트워크 전송 블록(861)에 상응하는 로컬 BLE 단말(20_1)로 전송한다. 그리고 제2 제어 메시지(860)를 수신한 로컬 BLE 단말(20_1)은 BLE 네트워크 전송 블록(861)을 제거한 제어 메시지의 제어 명령 블록에 따라, 디지털 쓰기 블록(865)을 실행할 수 있다. In addition, the manager terminal 10 transmits the second control message 860 to the local BLE terminal 20_1 corresponding to the BLE network transmission block 861. The local BLE terminal 20_1 receiving the second control message 860 may execute the digital write block 865 according to the control command block of the control message from which the BLE network transmission block 861 is removed.

블록 프로그램을 이용한 단말 제어 장치(200)인 관리자 단말(10)이 블록 프로그램을 실행하여, 로컬 네트워크에 연결된 로컬 단말 및 원격 네트워크에 연결된 원격 단말을 식별하고, 제어하는 것으로 설명하였다. 이때, 블록 프로그램을 이용한 단말 제어 장치(200)가 실행하는 프로그램은 도 9의 과정을 통하여 생성된 것일 수 있다. The manager terminal 10, which is a terminal control apparatus 200 using a block program, executes a block program to identify and control a local terminal connected to a local network and a remote terminal connected to a remote network. In this case, the program executed by the terminal control apparatus 200 using the block program may be generated through the process of FIG. 9.

도 9는 본 발명의 일실시예에 따른 블록 프로그램을 생성하는 과정을 나타낸 순서도이다. 9 is a flowchart illustrating a process of generating a block program according to an embodiment of the present invention.

먼저, 블록 프로그램을 이용한 단말 제어 장치(200)는 AP 네트워크 설정 블록을 입력받는다(S910). First, the terminal control apparatus 200 using the block program receives an AP network configuration block (S910).

이때, 블록 프로그램을 이용한 단말 제어 장치(200)는 블록 프로그램을 이용한 단말 제어 장치(200)가 연결할 AP의 설정 정보를 사용자로부터 입력받아, AP 네트워크 설정 블록을 생성할 수 있다. In this case, the terminal control apparatus 200 using the block program may receive the configuration information of the AP to which the terminal control apparatus 200 using the block program to connect from the user to generate an AP network configuration block.

그리고 블록 프로그램을 이용한 단말 제어 장치(200)는 단말 네트워크 설정 블록을 입력받는다(S920). The terminal control apparatus 200 using the block program receives a terminal network configuration block in operation S920.

블록 프로그램을 이용한 단말 제어 장치(200)는 사용자로부터 대상 단말의 네트워크 설정 정보를 입력받아, 단말 네트워크 설정 블록을 생성할 수 있다. 여기서, 단말 네트워크 설정 블록은, NET 네트워크 설정 블록 및 BLE 네트워크 설정 블록 중 적어도 어느 하나를 포함할 수 있다. The terminal control apparatus 200 using the block program may receive network configuration information of a target terminal from a user and generate a terminal network configuration block. Here, the terminal network configuration block may include at least one of a NET network configuration block and a BLE network configuration block.

S920 단계에서 단말 네트워크 설정 블록을 입력받아 대상 단말의 네트워크 설정이 완료된 후, 블록 프로그램을 이용한 단말 제어 장치(200)는 대상 단말로 전송할 제어 메시지를 입력받는다(S930). After receiving the terminal network configuration block in step S920 and completing network configuration of the target terminal, the terminal control apparatus 200 using the block program receives a control message to be transmitted to the target terminal (S930).

블록 프로그램을 이용한 단말 제어 장치(200)는 사용자로부터 제어 메시지를 전송할 제어 대상 단말의 정보를 입력받아 전송 블록을 생성하고, 제어 대상 단말을 제어하기 위한 제어 명령을 입력받아 제어 명령 블록을 생성할 수 있다. 그리고 블록 프로그램을 이용한 단말 제어 장치(200)는 하나 이상의 전송 블록 및 제어 명령 블록을 연결하여 제어 메시지를 생성할 수 있다. The terminal control apparatus 200 using the block program generates a transport block by receiving information of a control target terminal to transmit a control message from a user, and generates a control command block by receiving a control command for controlling the control target terminal. have. The terminal control apparatus 200 using the block program may generate a control message by connecting one or more transport blocks and a control command block.

마지막으로 블록 프로그램을 이용한 단말 제어 장치(200)는 제어 메시지를 제어 메시지에 상응하는 제어 대상 단말로 전송한다(S940). Finally, the terminal control apparatus 200 using the block program transmits the control message to the control target terminal corresponding to the control message (S940).

블록 프로그램을 이용한 단말 제어 장치(200)는 제어 메시지의 전송 블록에 상응하는 제어 대상 단말로 제어 메시지를 전송한다. The terminal control apparatus 200 using the block program transmits the control message to the control target terminal corresponding to the transport block of the control message.

이때, 제어 메시지를 수신한 제어 대상 단말은, 수신한 제어 메시지에 포함된 제어 명령을 실행할 수 있다. 그리고 제어 대상 단말은 제어 명령의 실행 결과를 포함하는 응답 메시지를 생성하여, 제어 메시지를 전송한 블록 프로그램을 이용한 단말 제어 장치로 전송할 수 있다. In this case, the control target terminal receiving the control message may execute a control command included in the received control message. The control target terminal may generate a response message including the execution result of the control command and transmit the response message to the terminal control apparatus using the block program that transmitted the control message.

또한, 응답 메시지를 수신한 제어 대상 단말이, 응답 메시지의 내용을 분석하여 처리하는 프로그램은 블록 프로그램으로 작성될 수 있다. In addition, a program that the control target terminal receiving the response message analyzes and processes the content of the response message may be written as a block program.

도 10은 본 발명의 일실시예에 따른 컴퓨터 시스템을 나타낸 블록도이다.10 is a block diagram illustrating a computer system according to an embodiment of the present invention.

도 10을 참조하면, 본 발명의 실시예는 컴퓨터로 읽을 수 있는 기록매체와 같은 컴퓨터 시스템(1000)에서 구현될 수 있다. 도 10에 도시된 바와 같이, 컴퓨터 시스템(1000)은 버스(1020)를 통하여 서로 통신하는 하나 이상의 프로세서(1010), 메모리(1030), 사용자 인터페이스 입력 장치(1040), 사용자 인터페이스 출력 장치(1050) 및 스토리지(1060)를 포함할 수 있다. 또한, 컴퓨터 시스템(1000)은 네트워크(1080)에 연결되는 네트워크 인터페이스(1070)를 더 포함할 수 있다. 프로세서(1010)는 중앙 처리 장치 또는 메모리(1030)나 스토리지(1060)에 저장된 프로세싱 인스트럭션들을 실행하는 반도체 장치일 수 있다. 메모리(1030) 및 스토리지(1060)는 다양한 형태의 휘발성 또는 비휘발성 저장 매체일 수 있다. 예를 들어, 메모리는 ROM(1031)이나 RAM(1032)을 포함할 수 있다.Referring to FIG. 10, an embodiment of the present invention may be implemented in a computer system 1000 such as a computer readable recording medium. As shown in FIG. 10, computer system 1000 may include one or more processors 1010, a memory 1030, a user interface input device 1040, and a user interface output device 1050 that communicate with each other via a bus 1020. And storage 1060. In addition, the computer system 1000 may further include a network interface 1070 that is connected to the network 1080. The processor 1010 may be a central processing unit or a semiconductor device that executes processing instructions stored in the memory 1030 or the storage 1060. The memory 1030 and the storage 1060 may be various types of volatile or nonvolatile storage media. For example, the memory may include a ROM 1031 or a RAM 1032.

따라서, 본 발명의 실시예는 컴퓨터로 구현된 방법이나 컴퓨터에서 실행 가능한 명령어들이 기록된 비일시적인 컴퓨터에서 읽을 수 있는 매체로 구현될 수 있다. 컴퓨터에서 읽을 수 있는 명령어들이 프로세서에 의해서 수행될 때, 컴퓨터에서 읽을 수 있는 명령어들은 본 발명의 적어도 한 가지 태양에 따른 방법을 수행할 수 있다.Accordingly, embodiments of the present invention may be implemented in a computer-implemented method or a non-transitory computer-readable medium in which computer-executable instructions are recorded. When computer readable instructions are executed by a processor, the computer readable instructions may perform a method according to at least one aspect of the present invention.

이상에서와 같이 본 발명에 따른 블록 프로그램을 이용한 단말 제어 장치 및 방법은 상기한 바와 같이 설명된 실시예들의 구성과 방법이 한정되게 적용될 수 있는 것이 아니라, 상기 실시예들은 다양한 변형이 이루어질 수 있도록 각 실시예들의 전부 또는 일부가 선택적으로 조합되어 구성될 수도 있다. As described above, the apparatus and method for controlling a terminal using a block program according to the present invention are not limited to the configuration and method of the embodiments described as described above, but the embodiments may be modified in various ways. All or some of the embodiments may be optionally combined.

1: 로컬 네트워크 2: 원격 네트워크
3: 게이트웨이 10: 관리자 단말
20: 대상 단말
200: 블록 프로그램을 이용한 단말 제어 장치
210: 네트워크 설정부 220: 제어 메시지 생성부
230: 제어 메시지 전송부 410: 네트워크 설정 블록
420, 430: 제어 메시지 510: AP 네트워크 설정 블록
520: NET 네트워크 설정 블록 530: BLE 네트워크 설정 블록
610: 디지털 쓰기 블록 620: 아날로그 쓰기 블록
630: 디지털 읽기 블록 640: 아날로그 읽기 블록
710, 720, 730, 740: 제어 메시지
711, 713, 721, 723, 731, 733, 741, 743: 전송 블록
715, 725, 735, 745: 제어 명령 블록
810: AP 네트워크 설정 블록
820: NET 네트워크 설정 블록
830, 840: BLE 네트워크 설정 블록
850, 860: 제어 메시지 851: NET 네트워크 전송 블록
853: BLE 네트워크 전송 블록 855: 디지털 쓰기 블록
861: BLE 네트워크 전송 블록 865: 디지털 쓰기 블록
1000: 컴퓨터 시스템 1010: 프로세서
1020: 버스 1030: 메모리
1031: 롬 1032: 램
1040: 사용자 인터페이스 입력 장치
1050: 사용자 인터페이스 출력 장치
1060: 스토리지 1070: 네트워크 인터페이스
1080: 네트워크
1: local network 2: remote network
3: gateway 10: manager terminal
20: target terminal
200: terminal control device using a block program
210: network setting unit 220: control message generation unit
230: control message transmission unit 410: network configuration block
420, 430: control message 510: AP network configuration block
520: NET network configuration block 530: BLE network configuration block
610: digital write block 620: analog write block
630: digital read block 640: analog read block
710, 720, 730, 740: control message
711, 713, 721, 723, 731, 733, 741, 743: transport block
715, 725, 735, 745: control command block
810: AP network configuration block
820: NET network configuration block
830, 840: BLE network configuration block
850, 860: Control message 851: NET network transport block
853: BLE network transport block 855: digital write block
861: BLE network transport block 865: digital write block
1000: computer system 1010: processor
1020: bus 1030: memory
1031: Romans 1032: Ram
1040: user interface input device
1050: user interface output device
1060: storage 1070: network interface
1080: network

Claims (20)

블록 프로그램을 이용한 단말 제어 장치에서 네트워크 설정 블록, 전송 블록 및 제어 명령 블록을 갖는 네트워크 블록에 의해 네트워크에 연결된 대상 단말을 제어하는 단말 제어 방법에 있어서,
상기 네트워크 설정 블록을 이용하여, 상기 단말 제어 장치의 네트워크를 설정하는 단계;
상기 네트워크 설정 블록을 이용하여, 통신 대상이 되는 대상 단말의 네트워크를 설정하는 단계;
하나 이상의 상기 대상 단말 중에서 제어 대상이 되는 제어 대상 단말로 전송할 제어 메시지를 생성하는 단계; 및
상기 제어 대상 단말로 생성된 상기 제어 메시지를 전송하는 단계를 포함하고,
상기 제어 메시지는 상기 제어 대상 단말의 정보를 포함하는 하나 이상의 상기 전송 블록 및 상기 제어 대상 단말을 제어하기 위한 상기 제어 명령 블록을 포함하고,
상기 네트워크 설정 블록은 AP 네트워크 설정 블록, NET 네트워크 설정 블록 및 BLE 네트워크 설정 블록 중 적어도 어느 하나 인 것을 특징으로 하는 블록 프로그램을 이용한 단말 제어 방법.
A terminal control method for controlling a target terminal connected to a network by a network block having a network setting block, a transmission block, and a control command block in a terminal control apparatus using a block program,
Setting a network of the terminal control device using the network setting block;
Setting a network of a target terminal to be a communication target by using the network setting block;
Generating a control message to be transmitted from the one or more target terminals to a control target terminal to be controlled; And
Transmitting the control message generated to the control target terminal;
The control message includes one or more of the transport block including information of the control target terminal and the control command block for controlling the control target terminal,
The network configuration block is at least one of an AP network configuration block, NET network configuration block and BLE network configuration block, the terminal control method using a block program.
제1항에 있어서,
상기 대상 단말은,
상기 블록 프로그램을 이용한 단말 제어 장치의 로컬 네트워크에 연결되거나, 원격 네트워크에 연결된 것을 특징으로 하는 블록 프로그램을 이용한 단말 제어 방법.
The method of claim 1,
The target terminal,
Terminal control method using a block program, characterized in that connected to the local network of the terminal control device using the block program, or connected to a remote network.
제2항에 있어서,
상기 제어 메시지는,
상기 제어 대상 단말이 상기 로컬 네트워크에 연결된 상기 대상 단말인 경우 하나의 상기 전송 블록을 포함하고, 상기 제어 대상 단말이 원격 네트워크에 연결된 상기 대상 단말인 경우 두 개 이상의 상기 전송 블록들을 포함하는 것을 특징으로 하는 블록 프로그램을 이용한 단말 제어 방법.
The method of claim 2,
The control message,
And one or more transport blocks when the control target terminal is the target terminal connected to the local network, and two or more transport blocks when the control target terminal is the target terminal connected to a remote network. Terminal control method using a block program.
제3항에 있어서,
상기 제어 메시지를 전송하는 단계는,
상기 제어 메시지가 제1 전송 블록 및 상기 제어 명령 블록을 포함하는 경우, 상기 제1 전송 블록에 상응하는 상기 로컬 네트워크에 연결된 상기 제어 대상 단말로 상기 제어 메시지를 전송하는 것을 특징으로 하는 블록 프로그램을 이용한 단말 제어 방법.
The method of claim 3,
The transmitting of the control message may include:
When the control message includes a first transport block and the control command block, using the block program, characterized in that for transmitting the control message to the control target terminal connected to the local network corresponding to the first transport block. Terminal control method.
제3항에 있어서,
상기 제어 메시지를 전송하는 단계는,
상기 제어 메시지가 제1 전송 블록, 제2 전송 블록 및 상기 제어 명령 블록을 포함하는 경우, 상기 제1 전송 블록에 상응하는 상기 대상 단말을 경유하여 상기 제2 전송 블록에 상응하는 상기 원격 네트워크에 연결된 상기 제어 대상 단말로 상기 제어 메시지를 전송하는 것을 특징으로 하는 블록 프로그램을 이용한 단말 제어 방법.
The method of claim 3,
The transmitting of the control message may include:
If the control message includes a first transport block, a second transport block, and the control command block, connected to the remote network corresponding to the second transport block via the target terminal corresponding to the first transport block; Terminal control method using a block program, characterized in that for transmitting the control message to the control target terminal.
삭제delete 제2항에 있어서,
상기 단말 제어 장치의 네트워크를 설정하는 단계는,
상기 단말 제어 장치가 연결할 액세스 포인트의 설정 정보인 IP 주소, AP 이름, 비밀번호, 암호 방식 정보 중 적어도 어느 하나를 포함하는 상기 AP 네트워크 설정 블록을 이용하여, 네트워크를 설정하는 것을 특징으로 하는 블록 프로그램을 이용한 단말 제어 방법.
The method of claim 2,
Setting the network of the terminal control device,
A block program, characterized in that for setting the network using the AP network configuration block including at least one of the IP address, AP name, password, encryption method information that is the configuration information of the access point to which the terminal control device will connect. Terminal control method using.
제2항에 있어서,
상기 NET 네트워크 설정 블록은,
상기 원격 네트워크에 연결된 상기 제어 대상 단말의 IP 주소를 포함하는 것을 특징으로 하는 블록 프로그램을 이용한 단말 제어 방법.
The method of claim 2,
The NET network configuration block,
Terminal control method using a block program, characterized in that it comprises the IP address of the control target terminal connected to the remote network.
제2항에 있어서,
상기 BLE 네트워크 설정 블록은,
상기 원격 네트워크에 연결된 상기 제어 대상 단말 및 상기 로컬 네트워크에 연결된 상기 제어 대상 단말 중 적어도 어느 하나의 이름 및 주소를 포함하는 것을 특징으로 하는 블록 프로그램을 이용한 단말 제어 방법.
The method of claim 2,
The BLE network configuration block,
And a name and address of at least one of the control target terminal connected to the remote network and the control target terminal connected to the local network.
제1항에 있어서,
상기 제어 메시지는,
상기 전송 블록이 상기 제어 명령 블록과 인접하여 연결된 형태인 것을 특징으로 하는 블록 프로그램을 이용한 단말 제어 방법.
The method of claim 1,
The control message,
Terminal control method using a block program, characterized in that the transport block is in the form of being connected adjacent to the control command block.
제10항에 있어서,
상기 제어 명령 블록은,
디지털 쓰기 블록, 디지털 읽기 블록, 아날로그 쓰기 블록 및 아날로그 읽기 블록 중 적어도 어느 하나를 포함하는 것을 특징으로 하는 블록 프로그램을 이용한 단말 제어 방법.
The method of claim 10,
The control command block,
A terminal control method using a block program comprising at least one of a digital write block, a digital read block, an analog write block, and an analog read block.
삭제delete 삭제delete 삭제delete 삭제delete 삭제delete 삭제delete 삭제delete 삭제delete 삭제delete
KR1020170172979A 2017-12-15 2017-12-15 Apparatus and method for controlling terminal using block program KR102013936B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020170172979A KR102013936B1 (en) 2017-12-15 2017-12-15 Apparatus and method for controlling terminal using block program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020170172979A KR102013936B1 (en) 2017-12-15 2017-12-15 Apparatus and method for controlling terminal using block program

Publications (2)

Publication Number Publication Date
KR20190071987A KR20190071987A (en) 2019-06-25
KR102013936B1 true KR102013936B1 (en) 2019-08-23

Family

ID=67065661

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020170172979A KR102013936B1 (en) 2017-12-15 2017-12-15 Apparatus and method for controlling terminal using block program

Country Status (1)

Country Link
KR (1) KR102013936B1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR102652469B1 (en) * 2021-11-09 2024-03-29 주식회사 디앤에이보이 Apparatus, Method and Embedded system to set up user friendly functions based to block coding

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2017150788A1 (en) 2016-03-03 2017-09-08 전석주 Electronic block system for programming education

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101078683B1 (en) * 2010-03-15 2011-11-01 김진기 communication method using heterogeneous networks.
KR101352383B1 (en) * 2011-11-16 2014-01-17 주식회사 한백전자 Method of program development using Visual Programming Language and computer readable medium thereof
KR101368749B1 (en) 2012-10-25 2014-02-28 전석주 A digital arty toy kit for programming education
KR101864142B1 (en) * 2015-11-10 2018-06-05 (주)이산로봇 System for controling smart robot using smart terminal

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2017150788A1 (en) 2016-03-03 2017-09-08 전석주 Electronic block system for programming education

Also Published As

Publication number Publication date
KR20190071987A (en) 2019-06-25

Similar Documents

Publication Publication Date Title
CN107276864A (en) The method of intelligent sound equipment control household electrical appliances, apparatus and system
CN106648117B (en) The implementation method and device of voice broadcast in virtual scene interaction client
KR102064871B1 (en) System for generating and solving artificial intelligence learning problem and method thereof
CN103345446B (en) A kind of automated testing method being applicable to remote control series products
US20160050128A1 (en) System and Method for Facilitating Communication with Network-Enabled Devices
CN106413124A (en) Device binding method and apparatus
CN107580040B (en) Method and device for upgrading communication module in intelligent household terminal
KR100988597B1 (en) Robot content authoring system having user Friendly form in web environments
US11620469B2 (en) Bar code generation scanning, and display method, apparatus, storage medium, and electronic device
CN104898654A (en) Unmanned plane remote control system and method
CN104468592A (en) Login method and system
CN105722089B (en) A kind of equipment authentication method
KR102013936B1 (en) Apparatus and method for controlling terminal using block program
Kamaludeen et al. Guideline-based approach for IoT home application development
CN111512251B (en) Method for facilitating control system testing and simulation
KR102113757B1 (en) Web-Based Robot Programming System and Method
JP2017521771A (en) Method and related devices and systems for pushing application content
CN111031063B (en) Data transmission method and device based on family education machine
CN107562422B (en) Programming method of controller human-machine interface and server for providing the programming tool
CN103365750B (en) Automatic test platform for remote-control products
KR20150010284A (en) E-learning content authoring appratus using template and method thereof
KR102040561B1 (en) Inheritance based coding practice content development system using game for coding learning and method thereof
KR20190089561A (en) Cloud-based device emulation system and method thereof
JP2008165324A (en) Program creation support device
CN108415983B (en) Intelligent problem solving method and device based on interaction

Legal Events

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