WO2020209447A1 - Device modeling device and method - Google Patents

Device modeling device and method Download PDF

Info

Publication number
WO2020209447A1
WO2020209447A1 PCT/KR2019/009586 KR2019009586W WO2020209447A1 WO 2020209447 A1 WO2020209447 A1 WO 2020209447A1 KR 2019009586 W KR2019009586 W KR 2019009586W WO 2020209447 A1 WO2020209447 A1 WO 2020209447A1
Authority
WO
WIPO (PCT)
Prior art keywords
interface
communication port
registration interface
processor
memory unit
Prior art date
Application number
PCT/KR2019/009586
Other languages
French (fr)
Korean (ko)
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 CN201980094606.7A priority Critical patent/CN113615126B/en
Publication of WO2020209447A1 publication Critical patent/WO2020209447A1/en

Links

Images

Classifications

    • 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/02Standardisation; Integration
    • H04L41/0213Standardised network management protocols, e.g. simple network management protocol [SNMP]
    • 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
    • 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/14Network analysis or design
    • H04L41/145Network analysis or design involving simulating, designing, planning or modelling of a network
    • 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/22Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks comprising specially adapted graphical user interfaces [GUI]
    • 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/26Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks using dedicated tools for LAN [Local Area Network] management

Definitions

  • the present invention relates to an apparatus and method for modeling a device, and more particularly, to an apparatus and method for easily modeling a device through a user interface.
  • a temperature/humidity sensor a vibration sensor, an infrared sensor, etc. may be attached to monitor whether a device included in the semiconductor production automation system is normally operating (or malfunctioning).
  • sensors convert analog signals into digital signals and output them. At this time, it is necessary to convert the digital signal output from the sensors into a form of data that can be recognized by the upper system and transmit it.
  • the output method of the sensor every time the sensor is first installed or replaced because each sensor type has different output methods for each type of sensor, for each manufacturer of the same type of sensor, and for each sensor model even for sensors made by the same manufacturer Depending on the program, there is a hassle to program each.
  • An object of the present specification is to provide an apparatus and method for easily modeling a device through a user interface.
  • a device modeling apparatus for solving the above-described problem includes: a communication unit having at least one LAN communication port and at least one serial communication port; A memory unit for storing settings for a device transmitting and receiving data through the LAN communication port or the serial communication port; And a device that provides an interface for setting details on the device to an administrator terminal connected through the LAN communication port, stores the setting information on the device input through the interface in the memory unit, and stores the device in the memory unit. It may include a; processor for controlling the communication unit to communicate with the LAN (LAN) communication port or a device connected to the serial communication port according to the setting.
  • LAN LAN
  • the interface may include a device registration interface, a communication protocol registration interface, a command registration interface, and a variable registration interface.
  • the device registration interface may be an interface through which settings for at least one or more of a device name, a device communication server, and a physical communication method can be input.
  • the communication protocol registration interface may be an interface capable of inputting settings for at least one or more of an encoding and a control type.
  • the command registration interface may be an interface through which a request for extracting data from the device and a setting for a response can be input.
  • variable registration interface may be an interface through which setting of a variable indicated by data extracted from the device can be input.
  • the device modeling method for solving the above problems is a device modeling method using an apparatus including a communication unit, a memory unit, and a processor having at least one LAN communication port and at least one serial communication port. and (a) providing, by the processor, a device registration interface for a device transmitting and receiving data through the LAN communication port or the serial communication port; (b) the processor providing a communication protocol registration interface for the device; (c) the processor providing a command registration interface for the device; And (d) providing, by the processor, a variable registration interface for the device.
  • step (a) may be a step of further storing, by the processor, a setting for at least one or more of a device name, a device communication server, and a physical communication method in the memory unit. .
  • step (b) may be a step of further storing, by the processor, a setting for at least one of an encoding and a control type in the memory unit.
  • step (c) may be a step of further storing, by the processor, a request for extracting data from the device and a setting of a response in the memory unit.
  • step (d) may be a step of further storing, by the processor, a setting of a variable indicated by data extracted from the device in the memory unit.
  • the device modeling method according to the present specification may be implemented as a computer program written in a computer-readable recording medium and written to perform each step in a computer.
  • FIG. 1 is a schematic block diagram of a device modeling apparatus according to the present specification according to the present specification.
  • FIG 2 is an exemplary diagram of an environment in which the device modeling apparatus according to the present specification is used.
  • FIG. 3 is a flowchart of a device modeling method according to the present specification.
  • FIG. 4 is an exemplary diagram of a device registration interface according to the present specification.
  • FIG. 5 is an exemplary diagram of a communication protocol registration interface according to the present specification.
  • FIG. 6 is an exemplary diagram of a command registration interface according to the present specification.
  • FIG. 7 is an exemplary diagram of a variable registration interface according to the present specification.
  • FIG. 1 is a schematic block diagram of a device modeling apparatus according to the present specification according to the present specification.
  • the device modeling apparatus 100 may include a communication unit 110, a memory unit 120, and a processor 130.
  • the communication unit 110 may have at least one LAN communication port and at least one serial communication port.
  • the memory unit 120 may store setting items for a device that transmits and receives data through the LAN communication port or the serial communication port.
  • the memory unit 120 may be inside or outside the processor 130, and may be connected to the processor 130 by various well-known means.
  • the memory unit 120 is a known semiconductor device known to be capable of recording and erasing data such as RAM, ROM, and EEPROM, as a mass storage medium such as a hard disk, and collectively refers to a device in which information is stored regardless of the type of device. As such, it does not refer to a specific memory device.
  • the processor 130 may provide an interface for setting details on the device to an administrator terminal connected through the LAN communication port.
  • the processor 130 may store settings for the device input through the interface in the memory unit.
  • the processor 130 may control the communication unit 110 to communicate with the LAN communication port or a device connected to the serial communication port according to device settings stored in the memory unit 120.
  • the processor 130 includes a CPU, an application-specific integrated circuit (ASIC), another chipset, a logic circuit, a register, a communication modem, a data processing device, etc. known in the art to execute the logic to be described below. It may include.
  • FIG 2 is an exemplary diagram of an environment in which the device modeling apparatus according to the present specification is used.
  • the device modeling apparatus 100 may be connected to various devices, which are shown below the device modeling apparatus in FIG. 2.
  • the various devices correspond to a lower level based on the device modeling apparatus 100.
  • the various devices may be PLCs, vibration sensors, ultrasonic sensors, infrared sensors, photosensors, magnet sensors, temperature and humidity sensors, and the like.
  • Most of the various devices may be connected through a serial communication port of the device modeling apparatus 100, but may also be connected through a LAN communication port.
  • An example of a communication protocol through the serial communication port is RS232, and an example of a communication protocol through the LAN communication port is TCP/IP.
  • the device modeling apparatus 100 is not limited to the communication protocol presented as an example.
  • the device modeling apparatus 100 may be connected to various servers or systems shown above the device modeling apparatus in FIG. 2 through a LAN communication port.
  • the various servers or systems correspond to a higher level based on the device modeling apparatus 100.
  • the various servers or systems may serve as data analysis, equipment analysis, equipment control, and the like.
  • Various servers or systems corresponding to the upper level need to receive data from various devices corresponding to the lower level or transmit a control command to the devices.
  • the various servers or systems may be programmed using different communication protocols or different variable values.
  • the various devices may use various communication protocols according to manufacturers, characteristics, product model numbers, etc., output data or receive commands using various variable values.
  • the device modeling apparatus 100 according to the present specification, in particular, can reduce the hassle of programming a device that is frequently added, replaced, etc. each time, and can provide convenience in modeling through an interface.
  • the administrator may connect to the device modeling apparatus 100 through the LAN communication port using a manager terminal (eg, a laptop, a smart phone, a smart pad, etc.).
  • a manager terminal eg, a laptop, a smart phone, a smart pad, etc.
  • the manager may receive an interface for setting details on the device from the device modeling apparatus 100.
  • the manager may input settings for the device in an interface provided on the screen of the manager terminal.
  • the setting information is stored in the memory unit 120, and the processor 130 may control the communication unit 110 so that the device performs communication according to the setting information.
  • FIG. 3 is a flowchart of a device modeling method according to the present specification.
  • the processor 130 may provide a device registration interface for a device transmitting and receiving data through the LAN communication port or the serial communication port to the manager terminal. .
  • FIG. 4 is an exemplary diagram of a device registration interface according to the present specification.
  • the device registration interface may be an interface through which settings for at least one or more of a device name, a device communication server, and a physical communication method can be input.
  • the device name is used as an ID that identifies the device, it must be unique (Primary Key).
  • the IP address of the device in which the device is installed may be input.
  • the device registration interface may further input a physical space in which the device is installed, a model name provided by a manufacturer of the device, and a device type.
  • an RS-232 communication standard may be used, and a transmission rate, a data bit, a stop bit, and a parity may be input for mutual communication.
  • the manager may input a device-related item in the device registration interface displayed on the manager terminal screen.
  • the manager terminal may transmit data on the inputted information to the device registration device through a communication network.
  • the processor 130 may store in the memory unit 120 a setting for at least one or more of a device name, a device communication server, and a physical communication method in step S110.
  • the processor 130 may provide a communication protocol registration interface for the device.
  • FIG. 5 is an exemplary diagram of a communication protocol registration interface according to the present specification.
  • the communication protocol registration interface may be an interface that can input settings for at least one or more of an encoding and a control type.
  • the communication protocol registration interface is a setting for dividing communication data in units of frames.
  • ASCII type and BINARY type can be input.
  • a control type a regular expression, an end string, a fixed length, a use header, and a custom logic method may be input.
  • End String as the control type, you can also enter the end string. Also additionally, if you select End String as the control type, you can also enter the end string. Also additionally,
  • Flow Script In order to prevent data loss due to exceeding the buffer capacity between the receiving unit and the transmitting unit, whether to use the flow control that is sent and the special control characters (Xon, Xoff) used for software flow control, Flow Script can be entered.
  • the administrator may input items related to the communication protocol of the device in the communication protocol registration interface displayed on the screen of the administrator terminal.
  • the manager terminal may transmit data on the inputted information to the device registration device through a communication network.
  • the processor 130 may store a setting for at least one of an encoding and a control type in the memory unit 120 in step S130.
  • the processor 130 may provide a command registration interface for the device.
  • FIG. 6 is an exemplary diagram of a command registration interface according to the present specification.
  • the command registration interface may be an interface for inputting a request for extracting data from the device and a setting for a response.
  • sensor devices such as temperature, humidity, and 3-axis acceleration (vibration sensor) not only have a small amount of data, but the format of request and response is mostly uncomplicated, so the format of the request and response is set as a regular expression. You can obtain the data (variables) you need by modeling.
  • input items according to the standard of the 3-axis acceleration sensor may be as the following example.
  • the administrator may input items related to a command for controlling a device in the command registration interface displayed on the screen of the administrator terminal.
  • the manager terminal may transmit data on the inputted information to the device registration device through a communication network.
  • the processor 130 may store in the memory unit 120 a request for extracting data from the device and a response setting in step S150.
  • the processor 130 may provide a variable registration interface for the device.
  • FIG. 7 is an exemplary diagram of a variable registration interface according to the present specification.
  • variable registration interface may be an interface through which a setting for a variable indicated by data extracted from the device can be input.
  • the variable registration interface is an interface for registering the variables extracted from the command registration interface to integrate units, etc. and assigning a unique ID to provide variables to the upper solution software.
  • input items include Unique Identifier (UID) items for managing variables, alias input items for names that are easy to remember or meaningful, and input items related to the encoding type of the extracted variable (e.g.: ASCII Basic, Decimal Integer, Hexadecimal Integer, Float, Double Float, Binary, Binary Float, Binary Double Float, etc.), inputs about the input format of the extracted variable (e.g.
  • variable name to be used as the source of the software (Source VID)
  • script for processing the extracted variables e.g., temperature sensor, 35.6 degrees per sensor, detection accuracy and implementation such as 365, 3652, 36523, etc.
  • the value of the variable may be different in various forms.In order to match this to 36.5 degrees, enter'Source * 0.1' in the script for 365, and'Source * 0.01' in the case of 3652, 36523 In this case, input'Source * 0.001')
  • the manager may input items related to variables for contents expressed by device data in the variable registration interface displayed on the screen of the manager terminal.
  • the manager terminal may transmit data on the inputted information to the device registration device through a communication network.
  • the processor 130 may store a setting of a variable indicated by the data extracted from the device in the memory unit 120 in step S170.
  • the processor 130 will control the communication unit 110 to communicate with the LAN communication port or a device connected to the serial communication port according to device settings stored in the memory unit 120.
  • the device modeling method according to the present specification may be a computer program written to perform each step in a computer and recorded in a computer-readable recording medium.
  • the computer program includes C/C++, C#, JAVA, Python that can be read by the computer's processor (CPU) through the computer's device interface in order for the computer to read the program and execute the methods implemented as a program.
  • Such code may include a functional code related to a function defining necessary functions for executing the methods, and a control code related to an execution procedure necessary for the processor of the computer to execute the functions according to a predetermined procedure. can do.
  • such code may further include additional information required for the processor of the computer to execute the functions or code related to a memory reference to which location (address address) of the internal or external memory of the computer should be referenced. have.
  • the code uses the communication module of the computer to determine how It may further include a communication-related code for whether to communicate, what kind of information or media should be transmitted and received during communication.
  • the stored medium is not a medium that stores data for a short moment, such as a register, cache, memory, etc., but a medium that stores data semi-permanently and can be read by a device.
  • examples of the storage medium include, but are not limited to, ROM, RAM, CD-ROM, magnetic tape, floppy disk, optical data storage device, and the like. That is, the program may be stored in various recording media on various servers to which the computer can access, or on various recording media on the user's computer.
  • the medium may be distributed over a computer system connected through a network, and computer-readable codes may be stored in a distributed manner.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Human Computer Interaction (AREA)
  • Computer And Data Communications (AREA)
  • Stored Programmes (AREA)

Abstract

Disclosed in the present specification are a device and method for conveniently modeling a device by means of a user interface. A device modeling device according to the present specification can comprise: a communication unit having at least one LAN communication port and at least one serial communication port; a memory unit for storing configurations of a device which transmits and receives data by means of the LAN communication port or the serial communication port; and a processor which provides an interface for setting the configurations of the device to an administrator terminal connected by means of the LAN communication port, stores, in the memory unit, configurations of the device input by means of the interface, and controls the communication unit so as to communicate with the device connected to the LAN communication port or the serial communication port in accordance with the device configurations stored in the memory unit.

Description

디바이스 모델링 장치 및 방법Device modeling apparatus and method
본 발명은 디바이스 모델링 장치 및 방법에 관한 것이며, 보다 상세하게 사용자 인터페이스를 통해 디바이스를 간편하게 모델링할 수 있는 장치 및 방법에 관한 것이다.The present invention relates to an apparatus and method for modeling a device, and more particularly, to an apparatus and method for easily modeling a device through a user interface.
본 출원은 2019년 03월 13일자로 출원된 대한민국 특허출원 제10-2019-0042082호에 기초한 우선권을 주장하며, 상기 출원 명세서 및 도면에 기재된 모든 사항은 본 출원에 원용된다.This application claims priority based on Korean Patent Application No. 10-2019-0042082 filed on March 13, 2019, and all matters described in the specification and drawings are incorporated in this application.
IT 산업의 초고속 성장에 힘입어 수 많은 비즈니스 모델의 등장과 함께 수 많은 시스템이 구축되고 있다. 이러한 현상은 IT 산업뿐만 아니라 IT와 연계된 통신/반도체/자동차/물류/유통 등 수 많은 산업 부분에도 널리 보급되었다. 특히 반도체, LCD 제조업 등의 자동화시스템은 많은 장치/장비들로 구성되어진다.Thanks to the rapid growth of the IT industry, numerous systems are being built with the emergence of numerous business models. This phenomenon has spread not only to the IT industry, but also to numerous industries such as communication/semiconductor/automobile/logistics/distribution related to IT. In particular, automation systems such as semiconductor and LCD manufacturing industries are composed of many devices/equipments.
본 출원인은 이러한 장치/장비들이 타 시스템과 데이터를 주고받을 때 사용되는 서로 다른 프로토콜을 변환시키는 발명(제10-1209005호)대해서 출원한 적이 있다. 상기 발명에서는 상위 시스템과 제조사별로 다양한 프로토콜을 사용하는 장치/장비 사이의 통신이 가능하도록 Serial-to-Ethernet 프로토콜 변환기에 대해서 개시하였다.The present applicant has applied for an invention (No. 10-1209005) that converts different protocols used when these devices/equipment exchange data with other systems. In the above invention, a serial-to-Ethernet protocol converter is disclosed to enable communication between an upper system and devices/equipment using various protocols for each manufacturer.
한편, 최근에는 IoT 기술의 발달과 더불어 장치에 다양한 센서를 통해 데이터를 수집하여 상위 시스템에서 관리하는 기술이 발전되었다. 예를 들어, 반도체 생산 자동화 시스템에 포함된 어느 한 장치의 정상적인 동작 여부(또는 고장 여부)를 모니터링하고 위해 온습도 센서, 진동 센서, 적외선 센서 등이 부착될 수 있다.On the other hand, in recent years, with the development of IoT technology, a technology for collecting data through various sensors in a device and managing it in a higher system has been developed. For example, a temperature/humidity sensor, a vibration sensor, an infrared sensor, etc. may be attached to monitor whether a device included in the semiconductor production automation system is normally operating (or malfunctioning).
일반적으로 센서들은 아날로그 신호를 디지털 신호로 변환하여 출력한다. 이때, 센서들이 출력한 디지털 신호를 상위 시스템이 인식할 수 있는 데이터의 형태로 변환하여 전송해야 할 필요가 있다. 이 경우, 센서의 종류마다, 같은 종류의 센서라도 제조회사마다, 같은 제조회사에서 만든 센서라 하여도 센서 모델마다 서로 다른 출력 방식을 가지고 있기 때문에 센서를 최초 설치하거나 교체할 때마다 센서의 출력 방식에 따라 각각 프로그램밍을 해야 하는 번거로움이 있다.In general, sensors convert analog signals into digital signals and output them. At this time, it is necessary to convert the digital signal output from the sensors into a form of data that can be recognized by the upper system and transmit it. In this case, the output method of the sensor every time the sensor is first installed or replaced because each sensor type has different output methods for each type of sensor, for each manufacturer of the same type of sensor, and for each sensor model even for sensors made by the same manufacturer Depending on the program, there is a hassle to program each.
본 명세서는 사용자 인터페이스를 통해 디바이스를 간편하게 모델링할 수 있는 장치 및 방법을 제공하는 것을 목적으로 한다.An object of the present specification is to provide an apparatus and method for easily modeling a device through a user interface.
본 명세서는 상기 언급된 과제로 제한되지 않으며, 언급되지 않은 또 다른 과제들은 아래의 기재로부터 통상의 기술자에게 명확하게 이해될 수 있을 것이다.The present specification is not limited to the above-mentioned tasks, and other tasks that are not mentioned will be clearly understood by those skilled in the art from the following description.
상술한 과제를 해결하기 위한 본 명세서에 따른 디바이스 모델링 장치는, 적어도 하나의 랜(LAN)통신포트 및 적어도 하나의 직렬통신포트를 가진 통신부; 상기 랜(LAN)통신포트 또는 상기 직렬통신포트를 통해 데이터를 송수신하는 디바이스에 대한 설정 사항을 저장하는 메모리부; 및 상기 랜통신포트를 통해 연결된 관리자 단말기에 상기 디바이스에 대한 사항을 설정하는 인터페이스를 제공하고, 상기 인터페이스를 통해 입력된 상기 디바이스에 대한 설정 사항을 상기 메모리부에 저장시키고, 상기 메모리부에 저장된 디바이스 설정 사항에 따라 상기 랜(LAN)통신포트 또는 상기 직렬통신포트에 연결된 디바이스와 통신하도록 상기 통신부를 제어하는 프로세서;를 포함할 수 있다.A device modeling apparatus according to the present specification for solving the above-described problem includes: a communication unit having at least one LAN communication port and at least one serial communication port; A memory unit for storing settings for a device transmitting and receiving data through the LAN communication port or the serial communication port; And a device that provides an interface for setting details on the device to an administrator terminal connected through the LAN communication port, stores the setting information on the device input through the interface in the memory unit, and stores the device in the memory unit. It may include a; processor for controlling the communication unit to communicate with the LAN (LAN) communication port or a device connected to the serial communication port according to the setting.
본 명세서의 일 실시예에 따르면, 상기 인터페이스는 디바이스 등록 인터페이스, 통신 프로토콜 등록 인터페이스, 커맨드 등록 인터페이스 및 변수 등록 인터페이스를 포함할 수 있다.According to an embodiment of the present specification, the interface may include a device registration interface, a communication protocol registration interface, a command registration interface, and a variable registration interface.
이 경우, 상기 디바이스 등록 인터페이스는 디바이스의 명칭, 디바이스 통신 담당 서버 및 물리적 통신 방식 중 적어도 어느 하나 이상에 대한 설정을 입력할 수 있는 인터페이스일 수 있다.In this case, the device registration interface may be an interface through which settings for at least one or more of a device name, a device communication server, and a physical communication method can be input.
이 경우, 상기 통신 프로토콜 등록 인터페이스는 인코딩 및 제어 타입 중 적어도 하나 이상에 대한 설정을 입력할 수 있는 인터페이스일 수 있다.In this case, the communication protocol registration interface may be an interface capable of inputting settings for at least one or more of an encoding and a control type.
이 경우, 상기 커맨드 등록 인터페이스는 상기 디바이스에서 데이터를 추출하기 위한 리퀘스트와 리스폰스에 대한 설정을 입력할 수 있는 인터페이스일 수 있다.In this case, the command registration interface may be an interface through which a request for extracting data from the device and a setting for a response can be input.
이 경우, 상기 변수 등록 인터페이스는 상기 디바이스에서 추출된 데이터가 나타내는 변수에 대한 설정을 입력할 수 있는 인터페이스일 수 있다.In this case, the variable registration interface may be an interface through which setting of a variable indicated by data extracted from the device can be input.
상술한 과제를 해결하기 위한 본 명세서에 따른 디바이스 모델링 방법은 적어도 하나의 랜(LAN)통신포트 및 적어도 하나의 직렬통신포트를 가진 통신부, 메모리부 및 프로세서;를 포함하는 장치를 이용한 디바이스 모델링 방법으로서, (a) 상기 프로세서가 상기 랜(LAN)통신포트 또는 상기 직렬통신포트를 통해 데이터를 송수신하는 디바이스에 대한 디바이스 등록 인터페이스를 제공하는 단계; (b) 상기 프로세서가 상기 디바이스에 대한 통신 프로토콜 등록 인터페이스를 제공하는 단계; (c) 상기 프로세서가 상기 디바이스에 대한 커맨드 등록 인터페이스를 제공하는 단계; 및 (d) 상기 프로세서가 상기 디바이스에 대한 변수 등록 인터페이스를 제공하는 단계;를 포함할 수 있다.The device modeling method according to the present specification for solving the above problems is a device modeling method using an apparatus including a communication unit, a memory unit, and a processor having at least one LAN communication port and at least one serial communication port. and (a) providing, by the processor, a device registration interface for a device transmitting and receiving data through the LAN communication port or the serial communication port; (b) the processor providing a communication protocol registration interface for the device; (c) the processor providing a command registration interface for the device; And (d) providing, by the processor, a variable registration interface for the device.
본 명세서의 일 실시예에 따르면, 상기 (a) 단계는 상기 프로세서가 디바이스의 명칭, 디바이스 통신 담당 서버 및 물리적 통신 방식 중 적어도 어느 하나 이상에 대한 설정을 상기 메모리부에 더 저장하는 단계일 수 있다.According to an embodiment of the present specification, step (a) may be a step of further storing, by the processor, a setting for at least one or more of a device name, a device communication server, and a physical communication method in the memory unit. .
본 명세서의 일 실시예에 따르면, 상기 (b) 단계는 상기 프로세서가 인코딩 및 제어 타입 중 적어도 하나 이상에 대한 설정을 상기 메모리부에 더 저장하는 단계일 수 있다.According to an embodiment of the present specification, step (b) may be a step of further storing, by the processor, a setting for at least one of an encoding and a control type in the memory unit.
본 명세서의 일 실시예에 따르면, 상기 (c) 단계는 상기 프로세서가 상기 디바이스에서 데이터를 추출하기 위한 리퀘스트와 리스폰스에 대한 설정을 상기 메모리부에 더 저장하는 단계일 수 있다.According to the exemplary embodiment of the present specification, step (c) may be a step of further storing, by the processor, a request for extracting data from the device and a setting of a response in the memory unit.
본 명세서의 일 실시예에 따르면, 상기 (d) 단계는 상기 프로세서가 상기 디바이스에서 추출된 데이터가 나타내는 변수에 대한 설정을 상기 메모리부에 더 저장하는 단계일 수 있다.According to an embodiment of the present specification, step (d) may be a step of further storing, by the processor, a setting of a variable indicated by data extracted from the device in the memory unit.
본 명세서에 따른 디바이스 모델링 방법은 컴퓨터에서 각 단계들을 수행하도록 작성되어 컴퓨터로 독출 가능한 기록 매체에 기록된 컴퓨터프로그램으로 구현될 수 있다.The device modeling method according to the present specification may be implemented as a computer program written in a computer-readable recording medium and written to perform each step in a computer.
본 발명의 기타 구체적인 사항들은 상세한 설명 및 도면들에 포함되어 있다.Other specific details of the present invention are included in the detailed description and drawings.
본 명세서에 따르면, 사용자 인터페이스를 통해 디바이스를 간편하게 모델링할 수 있다.According to the present specification, it is possible to easily model a device through a user interface.
본 발명의 효과들은 이상에서 언급된 효과로 제한되지 않으며, 언급되지 않은 또 다른 효과들은 아래의 기재로부터 통상의 기술자에게 명확하게 이해될 수 있을 것이다.The effects of the present invention are not limited to the effects mentioned above, and other effects not mentioned will be clearly understood by those skilled in the art from the following description.
도 1은 본 명세서에 따른 본 명세서에 따른 디바이스 모델링 장치의 개략적인 블럭도이다.1 is a schematic block diagram of a device modeling apparatus according to the present specification according to the present specification.
도 2는 본 명세서에 따른 디바이스 모델링 장치가 사용되는 환경에 대한 예시도이다.2 is an exemplary diagram of an environment in which the device modeling apparatus according to the present specification is used.
도 3은 본 명세서에 따른 디바이스 모델링 방법에 대한 순서도이다.3 is a flowchart of a device modeling method according to the present specification.
도 4는 본 명세서에 따른 디바이스 등록 인터페이스의 예시도이다.4 is an exemplary diagram of a device registration interface according to the present specification.
도 5는 본 명세서에 따른 통신 프로토콜 등록 인터페이스의 예시도이다.5 is an exemplary diagram of a communication protocol registration interface according to the present specification.
도 6은 본 명세서에 따른 커맨드 등록 인터페이스의 예시도이다.6 is an exemplary diagram of a command registration interface according to the present specification.
도 7은 본 명세서에 따른 변수 등록 인터페이스의 예시도이다.7 is an exemplary diagram of a variable registration interface according to the present specification.
본 명세서에 개시된 발명의 이점 및 특징, 그리고 그것들을 달성하는 방법은 첨부되는 도면과 함께 상세하게 후술되어 있는 실시예들을 참조하면 명확해질 것이다. 그러나, 본 명세서가 이하에서 개시되는 실시예들에 제한되는 것이 아니라 서로 다른 다양한 형태로 구현될 수 있으며, 단지 본 실시예들은 본 명세서의 개시가 완전하도록 하고, 본 명세서가 속하는 기술 분야의 통상의 기술자(이하 '당업자')에게 본 명세서의 범주를 완전하게 알려주기 위해 제공되는 것이며, 본 명세서의 권리 범위는 청구항의 범주에 의해 정의될 뿐이다. 이하, 첨부된 도면을 참조하여 본 발명의 실시예를 상세하게 설명한다.Advantages and features of the invention disclosed in the present specification, and a method of achieving them will become apparent with reference to the embodiments described later in detail together with the accompanying drawings. However, the present specification is not limited to the embodiments disclosed below, but may be implemented in a variety of different forms, and only the present embodiments are intended to complete the disclosure of the present specification, and are common in the technical field to which the present specification belongs. It is provided to completely inform the scope of the present specification to a technician (hereinafter, "the person in charge"), and the scope of the rights of the present specification is only defined by the scope of the claims. Hereinafter, exemplary embodiments of the present invention will be described in detail with reference to the accompanying drawings.
도 1은 본 명세서에 따른 본 명세서에 따른 디바이스 모델링 장치의 개략적인 블럭도이다.1 is a schematic block diagram of a device modeling apparatus according to the present specification according to the present specification.
도 1을 참조하면, 본 명세서에 따른 디바이스 모델링 장치(100)는 통신부(110), 메모리부(120) 및 프로세서(130)를 포함할 수 있다.Referring to FIG. 1, the device modeling apparatus 100 according to the present specification may include a communication unit 110, a memory unit 120, and a processor 130.
상기 통신부(110)는 적어도 하나의 랜(LAN)통신포트 및 적어도 하나의 직렬통신포트를 가질 수 있다.The communication unit 110 may have at least one LAN communication port and at least one serial communication port.
상기 메모리부(120)는 상기 랜(LAN)통신포트 또는 상기 직렬통신포트를 통해 데이터를 송수신하는 디바이스에 대한 설정 사항을 저장할 수 있다.The memory unit 120 may store setting items for a device that transmits and receives data through the LAN communication port or the serial communication port.
상기 메모리부(120)는 상기 프로세서(130) 내부 또는 외부에 있을 수 있고, 잘 알려진 다양한 수단으로 상기 프로세서(130)와 연결될 수 있다. 상기 메모리부(120)는 RAM, ROM, EEPROM등 데이터를 기록하고 소거할 수 있다고 알려진 공지의 반도체 소자나 하드 디스크와 같은 대용량 저장매체로서, 디바이스의 종류에 상관없이 정보가 저장되는 디바이스를 총칭하는 것으로서 특정 메모리 디바이스를 지칭하는 것은 아니다.The memory unit 120 may be inside or outside the processor 130, and may be connected to the processor 130 by various well-known means. The memory unit 120 is a known semiconductor device known to be capable of recording and erasing data such as RAM, ROM, and EEPROM, as a mass storage medium such as a hard disk, and collectively refers to a device in which information is stored regardless of the type of device. As such, it does not refer to a specific memory device.
상기 프로세서(130)는 상기 랜통신포트를 통해 연결된 관리자 단말기에 상기 디바이스에 대한 사항을 설정하는 인터페이스를 제공할 수 있다. 또한 상기 프로세서(130)는 상기 인터페이스를 통해 입력된 상기 디바이스에 대한 설정 사항을 상기 메모리부에 저장시킬 수 있다. 또한 상기 프로세서(130)는 상기 메모리부(120)에 저장된 디바이스 설정 사항에 따라 상기 랜(LAN)통신포트 또는 상기 직렬통신포트에 연결된 디바이스와 통신하도록 상기 통신부(110)를 제어할 수 있다. 상기 프로세서(130)는, 이하에서 설명될 로직을 실행하기 위해 본 발명이 속한 기술분야에 알려진 CPU, ASIC(application-specific integrated circuit), 다른 칩셋, 논리 회로, 레지스터, 통신 모뎀, 데이터 처리 장치 등을 포함할 수 있다.The processor 130 may provide an interface for setting details on the device to an administrator terminal connected through the LAN communication port. In addition, the processor 130 may store settings for the device input through the interface in the memory unit. In addition, the processor 130 may control the communication unit 110 to communicate with the LAN communication port or a device connected to the serial communication port according to device settings stored in the memory unit 120. The processor 130 includes a CPU, an application-specific integrated circuit (ASIC), another chipset, a logic circuit, a register, a communication modem, a data processing device, etc. known in the art to execute the logic to be described below. It may include.
본 명세서에 대한 이해를 돕기 위해, 상기 디바이스 모델링 장치(100)가 사용되는 예시 환경에 대한 설명을 하도록 하겠다.In order to help understand the present specification, an example environment in which the device modeling apparatus 100 is used will be described.
도 2는 본 명세서에 따른 디바이스 모델링 장치가 사용되는 환경에 대한 예시도이다.2 is an exemplary diagram of an environment in which the device modeling apparatus according to the present specification is used.
도 2를 참조하면, 본 명세서에 따른 디바이스 모델링 장치(100)가 중앙에 도시되어 있는 것을 확인할 수 있다. 상기 디바이스 모델링 장치(100)는, 도 2에서 디바이스 모델링 장치보다 아래에 도시된, 다양한 디바이스와 연결될 수 있다. 상기 다양한 디바이스는 디바이스 모델링 장치(100)를 기준으로 하위 레벨에 해당한다. 상기 다양한 디바이스는 PLC, 진동센서, 초음파센서, 적외선센서, 포토센서, 자석센서, 온습도센서 등이 될 수 있다. 상기 다양한 디바이스는 대부분 상기 디바이스 모델링 장치(100)의 직렬통신포트를 통해 연결될 수 있지만, 랜(LAN)통신포트를 통해서도 연결될 수 있다. 상기 직렬통신포트를 통한 통신 프로토콜의 예시는 RS232이고, 상기 랜(LAN)통신포트를 통한 통신 프로토콜의 예시는 TCP/IP이다. 그러나 본 명세서에 따른 디바이스 모델링 장치(100)가 예시로 제시된 상기 통신 프로토콜에 제한되는 것은 아니다. 상기 디바이스 모델링 장치(100)는 랜(LAN)통신포트를 통해, 도 2에서 디바이스 모델링 장치보다 위에 도시된, 다양한 서버 또는 시스템과 연결될 수 있다. 상기 다양한 서버 또는 시스템은 디바이스 모델링 장치(100)를 기준으로 상위 레벨에 해당한다. 상기 다양한 서버 또는 시스템은 데이터분석, 장비분석, 장비제어 등의 역할을 할 수 있다.Referring to FIG. 2, it can be seen that the device modeling apparatus 100 according to the present specification is shown in the center. The device modeling apparatus 100 may be connected to various devices, which are shown below the device modeling apparatus in FIG. 2. The various devices correspond to a lower level based on the device modeling apparatus 100. The various devices may be PLCs, vibration sensors, ultrasonic sensors, infrared sensors, photosensors, magnet sensors, temperature and humidity sensors, and the like. Most of the various devices may be connected through a serial communication port of the device modeling apparatus 100, but may also be connected through a LAN communication port. An example of a communication protocol through the serial communication port is RS232, and an example of a communication protocol through the LAN communication port is TCP/IP. However, the device modeling apparatus 100 according to the present specification is not limited to the communication protocol presented as an example. The device modeling apparatus 100 may be connected to various servers or systems shown above the device modeling apparatus in FIG. 2 through a LAN communication port. The various servers or systems correspond to a higher level based on the device modeling apparatus 100. The various servers or systems may serve as data analysis, equipment analysis, equipment control, and the like.
상기 상위 레벨에 해당하는 다양한 서버 또는 시스템은 상기 하위 레벨에 해당하는 다양한 디바이스들로부터 데이터를 수신하거나, 상기 디바이스들에게 제어 명령을 전송할 필요가 있다. 이 때, 상기 다양한 서버 또는 시스템은 각자가 다른 통신 프로토콜을 사용하거나 다른 변수값을 사용하여 프로그램되어 있을 수 있다. 마찬가지로, 상기 다양한 디바이스는 제조사, 특성, 제품 모델 번호 등에 따라 다양한 통신 프로토콜을 사용하거나 다양한 변수값을 사용하여 데이터를 출력하거나, 명령을 수신할 수 있다. 본 명세서에 따른 디바이스 모델링 장치(100) 특히 빈번하게 추가, 교체 등이 발생하는 디바이스를 매번 관리자가 프로그램밍하는 번거로움을 줄이고, 인터페이스를 통해 모델링할 수 있는 편의성을 제공할 수 있다. 이 때, 관리자는 관리자 단말기(예: 랩톱, 스마트폰, 스마트패드 등)를 사용하여 상기 랜통신포트를 통해 상기 디바이스 모델링 장치(100)에 연결할 수 있다. 상기 관리자는 상기 디바이스 모델링 장치(100)로부터 상기 디바이스에 대한 사항을 설정하는 인터페이스를 제공받을 수 있다. 그리고 상기 관리자는 상기 관리자 단말기의 화면에 제공된 인터페이스에 상기 디바이스에 대한 사항을 설정을 입력할 수 있다. 상기 설정 사항은 상기 메모리부(120)에 저장되며, 상기 프로세서(130)는 상기 설정 사항에 따라 상기 디바이스가 통신을 수행하도록 상기 통신부(110)를 제어할 수 있다.Various servers or systems corresponding to the upper level need to receive data from various devices corresponding to the lower level or transmit a control command to the devices. At this time, the various servers or systems may be programmed using different communication protocols or different variable values. Similarly, the various devices may use various communication protocols according to manufacturers, characteristics, product model numbers, etc., output data or receive commands using various variable values. The device modeling apparatus 100 according to the present specification, in particular, can reduce the hassle of programming a device that is frequently added, replaced, etc. each time, and can provide convenience in modeling through an interface. In this case, the administrator may connect to the device modeling apparatus 100 through the LAN communication port using a manager terminal (eg, a laptop, a smart phone, a smart pad, etc.). The manager may receive an interface for setting details on the device from the device modeling apparatus 100. In addition, the manager may input settings for the device in an interface provided on the screen of the manager terminal. The setting information is stored in the memory unit 120, and the processor 130 may control the communication unit 110 so that the device performs communication according to the setting information.
이하에서는 본 명세서에 따른 디바이스 모델링 방법에 대해서 설명하도록 하겠다. 다만, 본 명세서에 따른 디바이스 모델링 방법을 설명함에 있어서, 상술된 디바이스 모델링 장치의 구성에 대한 설명은 반복되므로 생략하도록 하겠다. 또한, 관리자 단말기와 디바이스 모델링 장치가 서로 통신망을 통해 연결된 것을 가정한다.Hereinafter, a device modeling method according to the present specification will be described. However, in describing the device modeling method according to the present specification, the description of the configuration of the device modeling apparatus described above is repeated, and thus will be omitted. In addition, it is assumed that the manager terminal and the device modeling apparatus are connected to each other through a communication network.
도 3은 본 명세서에 따른 디바이스 모델링 방법에 대한 순서도이다.3 is a flowchart of a device modeling method according to the present specification.
도 3을 참조하면, 먼저 단계 S100에서, 상기 프로세서(130)는 상기 랜(LAN)통신포트 또는 상기 직렬통신포트를 통해 데이터를 송수신하는 디바이스에 대한 디바이스 등록 인터페이스를 상기 관리자 단말기에게 제공할 수 있다.Referring to FIG. 3, first, in step S100, the processor 130 may provide a device registration interface for a device transmitting and receiving data through the LAN communication port or the serial communication port to the manager terminal. .
도 4는 본 명세서에 따른 디바이스 등록 인터페이스의 예시도이다.4 is an exemplary diagram of a device registration interface according to the present specification.
도 4를 참조하면, 상기 디바이스 등록 인터페이스는 디바이스의 명칭, 디바이스 통신 담당 서버 및 물리적 통신 방식 중 적어도 어느 하나 이상에 대한 설정을 입력할 수 있는 인터페이스일 수 있다.Referring to FIG. 4, the device registration interface may be an interface through which settings for at least one or more of a device name, a device communication server, and a physical communication method can be input.
상기 디바이스의 명칭은 디바이스를 구분하는 ID로 사용되기 때문에 유일(Primary Key)해야 한다. 또한 상기 디바이스의 통신과 관련하여 디바이스가 설치되는 장치의 IP 어드레스를 입력할 수 있다. 또한 상기 디바이스 등록 인터페이스는 디바이스가 설치된 물리적 공간, 디바이스의 제조사의 제공하는 모델명, 디바이스의 타입 등을 더 입력할 수 있다. 상기 물리적 통신 방식과 관련한 일 예로서 RS-232 통신 규격을 사용할 수 있으며, 상호간 통신을 위해 전송속도, 데이터 비트, 정지 비트, 패리티를 입력할 수 있다.Since the device name is used as an ID that identifies the device, it must be unique (Primary Key). In addition, in connection with the communication of the device, the IP address of the device in which the device is installed may be input. In addition, the device registration interface may further input a physical space in which the device is installed, a model name provided by a manufacturer of the device, and a device type. As an example of the physical communication method, an RS-232 communication standard may be used, and a transmission rate, a data bit, a stop bit, and a parity may be input for mutual communication.
관리자는 상기 관리자 단말기 화면에 표시된 디바이스 등록 인터페이스에 디바이스와 관련된 사항을 입력할 수 있다. 상기 관리자 단말기는 상기 입력된 사항에 대한 데이터를 통신망을 통해 디바이스 등록 장치에게 전송할 수 있다. 그리고 상기 프로세서(130)는 단계 S110에서 디바이스의 명칭, 디바이스 통신 담당 서버 및 물리적 통신 방식 중 적어도 어느 하나 이상에 대한 설정을 상기 메모리부(120)에 저장시킬 수 있다.The manager may input a device-related item in the device registration interface displayed on the manager terminal screen. The manager terminal may transmit data on the inputted information to the device registration device through a communication network. In addition, the processor 130 may store in the memory unit 120 a setting for at least one or more of a device name, a device communication server, and a physical communication method in step S110.
다음 단계 S120에서, 상기 프로세서(130)는 상기 디바이스에 대한 통신 프로토콜 등록 인터페이스를 제공할 수 있다.In the next step S120, the processor 130 may provide a communication protocol registration interface for the device.
도 5는 본 명세서에 따른 통신 프로토콜 등록 인터페이스의 예시도이다.5 is an exemplary diagram of a communication protocol registration interface according to the present specification.
도 5를 참조하면, 상기 통신 프로토콜 등록 인터페이스는 인코딩 및 제어 타입 중 적어도 하나 이상에 대한 설정을 입력할 수 있는 인터페이스일 수 있다Referring to FIG. 5, the communication protocol registration interface may be an interface that can input settings for at least one or more of an encoding and a control type.
상기 통신 프로토콜 등록 인터페이스는 통신 데이터를 프레임(frame) 단위로 나누기 위한 설정이다. 일 예로 인코딩 타입은 ASCII 타입과 BINARY 타입을 입력할 수 있다. 일 예로 제어 타입은 정규 표현식(Regular Expression), 종료 문자열(End String), 고정길이(Fixed Length), 헤더 사용(Use Header), 사용자 로직(Custom Logic) 방식을 입력할 수 있다. 추가로 제어 타입을 종료 문자열(End String)을 선택하였을 경우 종료 문자열을 입력할 수도 있다. 또한 추가로 The communication protocol registration interface is a setting for dividing communication data in units of frames. For example, as an encoding type, ASCII type and BINARY type can be input. For example, as a control type, a regular expression, an end string, a fixed length, a use header, and a custom logic method may be input. In addition, if you select End String as the control type, you can also enter the end string. Also additionally
수신부와 송신부 간에 버퍼 용량 초과로 인한 데이터 유실을 막기 위해 보내는 흐름 제어 사용 여부와 소프트웨어 흐름제어에 사용되는 특수한 제어 문자(Xon, Xoff)인 Flow Script에 대한 부분을 입력할 수도 있다.In order to prevent data loss due to exceeding the buffer capacity between the receiving unit and the transmitting unit, whether to use the flow control that is sent and the special control characters (Xon, Xoff) used for software flow control, Flow Script can be entered.
관리자는 상기 관리자 단말기 화면에 표시된 통신 프로토콜 등록 인터페이스에 디바이스의 통신 프로토콜과 관련된 사항을 입력할 수 있다. 상기 관리자 단말기는 상기 입력된 사항에 대한 데이터를 통신망을 통해 디바이스 등록 장치에게 전송할 수 있다. 그리고 상기 프로세서(130)는 단계 S130에서 인코딩 및 제어 타입 중 적어도 하나 이상에 대한 설정을 상기 메모리부(120)에 저장시킬 수 있다.The administrator may input items related to the communication protocol of the device in the communication protocol registration interface displayed on the screen of the administrator terminal. The manager terminal may transmit data on the inputted information to the device registration device through a communication network. In addition, the processor 130 may store a setting for at least one of an encoding and a control type in the memory unit 120 in step S130.
다음 단계 S140에서, 상기 프로세서(130)는 상기 디바이스에 대한 커맨드 등록 인터페이스를 제공할 수 있다.In the next step S140, the processor 130 may provide a command registration interface for the device.
도 6은 본 명세서에 따른 커맨드 등록 인터페이스의 예시도이다.6 is an exemplary diagram of a command registration interface according to the present specification.
도 6을 참조하면, 상기 커맨드 등록 인터페이스는 상기 디바이스에서 데이터를 추출하기 위한 리퀘스트와 리스폰스에 대한 설정을 입력할 수 있는 인터페이스일 수 있다.Referring to FIG. 6, the command registration interface may be an interface for inputting a request for extracting data from the device and a setting for a response.
예를 들어 온도, 습도, 3축 가속도(진동 센서) 등의 센서 디바이스는 데이터의 양도 적을 뿐 아니라 데이터를 요청, 응답의 형태가 대부분 복잡하지 않아 요청과 응답의 포맷을 정규 표현식(Regular Expression)으로 모델링하여 필요로 하는 데이터(변수들)를 획득할 수 있다. 일 예로 3축 가속도 센서의 규격에 따라 입력 사항은 아래 예시와 같을 수 있다.For example, sensor devices such as temperature, humidity, and 3-axis acceleration (vibration sensor) not only have a small amount of data, but the format of request and response is mostly uncomplicated, so the format of the request and response is set as a regular expression. You can obtain the data (variables) you need by modeling. As an example, input items according to the standard of the 3-axis acceleration sensor may be as the following example.
[예시][example]
송신 형식(Transmit Format): <1> + Check-sum + CRTransmit Format: <1> + Check-sum + CR
수신 형식(Receive Format): [1 0 "X""Y""Z"] + Check-sum + CRReceive Format: [1 0 "X""Y""Z"] + Check-sum + CR
위 센서의 포맷을 정규 표현식으로 아래와 같이 모델링하여 변수화 한다.The format of the above sensor is modeled as follows using regular expressions and converted into variables.
송신 형식: <1>33\rTransmission format: <1>33\r
수신 형식: .1+\s0+\s(?<x>.+)\s(?<y>.+)\s(?<z>.+)]Receive format: .1+\s0+\s(?<x>.+)\s(?<y>.+)\s(?<z>.+)]
관리자는 상기 관리자 단말기 화면에 표시된 커맨드 등록 인터페이스에 디바이스를 제어하기 위한 커맨드와 관련된 사항을 입력할 수 있다. 상기 관리자 단말기는 상기 입력된 사항에 대한 데이터를 통신망을 통해 디바이스 등록 장치에게 전송할 수 있다. 그리고 상기 프로세서(130)는 단계 S150에서 상기 디바이스에서 데이터를 추출하기 위한 리퀘스트와 리스폰스에 대한 설정을 상기 메모리부(120)에 저장할 수 있다.The administrator may input items related to a command for controlling a device in the command registration interface displayed on the screen of the administrator terminal. The manager terminal may transmit data on the inputted information to the device registration device through a communication network. In addition, the processor 130 may store in the memory unit 120 a request for extracting data from the device and a response setting in step S150.
다음 단계 S150에서, 상기 프로세서(130)는 상기 디바이스에 대한 변수 등록 인터페이스를 제공할 수 있다.In the next step S150, the processor 130 may provide a variable registration interface for the device.
도 7은 본 명세서에 따른 변수 등록 인터페이스의 예시도이다.7 is an exemplary diagram of a variable registration interface according to the present specification.
도 7을 참조하면, 상기 변수 등록 인터페이스는 상기 디바이스에서 추출된 데이터가 나타내는 변수에 대한 설정을 입력할 수 있는 인터페이스일 수 있다.Referring to FIG. 7, the variable registration interface may be an interface through which a setting for a variable indicated by data extracted from the device can be input.
상기 변수 등록 인터페이스는 상위 솔루션 소프트웨어에 변수들을 제공하기 위해 커맨드 등록 인터페이스에서 추출된 변수들을 단위 등을 통합하기 위해 가동을 하고 유일한 ID를 부여하여 등록하기 위한 인터페이스이다. 입력 사항에 대 한 예시로, 변수의 관리를 위한 식별자 입력 사항(Unique Identifier, UID), 기억하기 쉽거나 의미가 있는 이름에 관한 별칭 입력 사항, 추출된 변수의 인코딩 형태에 관한 입력 사항(예: ASCII 기본, 10진수 정수, 16진수 정수, Float, Double Float, Binary, Binary Float, Binary Double Float 등), 추출된 변수의 입력 포맷에 관한 입력 사항(예: %d, %2f 등), 상위 솔루션 소프트웨어의 Source로 사용될 변수명에 관한 입력(Source VID), 추출된 변수를 가공하기 위한 Script를 입력 사항(예: 온도 센서의 경우, 센서마다 35.6도의 경우 365, 3652, 36523 등과 같이 검출 정확도와 구현 기술에 따라 여러 형태로 변수의 값이 다를 수 가 있음. 이를 36.5도로 동일하게 맞추기 위해, 365의 경우는 Script에 'Source * 0.1'을 입력, 3652의 경우는 'Source * 0.01'을 입력, 36523 경우는 'Source * 0.001'을 입력함)The variable registration interface is an interface for registering the variables extracted from the command registration interface to integrate units, etc. and assigning a unique ID to provide variables to the upper solution software. Examples of input items include Unique Identifier (UID) items for managing variables, alias input items for names that are easy to remember or meaningful, and input items related to the encoding type of the extracted variable (e.g.: ASCII Basic, Decimal Integer, Hexadecimal Integer, Float, Double Float, Binary, Binary Float, Binary Double Float, etc.), inputs about the input format of the extracted variable (e.g. %d, %2f, etc.), upper solution Input for the variable name to be used as the source of the software (Source VID) and the script for processing the extracted variables (e.g., temperature sensor, 35.6 degrees per sensor, detection accuracy and implementation such as 365, 3652, 36523, etc.) Depending on the technology, the value of the variable may be different in various forms.In order to match this to 36.5 degrees, enter'Source * 0.1' in the script for 365, and'Source * 0.01' in the case of 3652, 36523 In this case, input'Source * 0.001')
관리자는 상기 관리자 단말기 화면에 표시된 변수 등록 인터페이스에 디바이스의 데이터가 표현하는 내용에 대한 변수와 관련된 사항을 입력할 수 있다. 상기 관리자 단말기는 상기 입력된 사항에 대한 데이터를 통신망을 통해 디바이스 등록 장치에게 전송할 수 있다. 그리고 상기 프로세서(130)는 단계 S170에서 상기 디바이스에서 추출된 데이터가 나타내는 변수에 대한 설정을 상기 메모리부(120)에 저장할 수 있다.The manager may input items related to variables for contents expressed by device data in the variable registration interface displayed on the screen of the manager terminal. The manager terminal may transmit data on the inputted information to the device registration device through a communication network. In addition, the processor 130 may store a setting of a variable indicated by the data extracted from the device in the memory unit 120 in step S170.
이후 상기 프로세서(130)는 상기 메모리부(120)에 저장된 디바이스 설정 사항에 따라 상기 랜(LAN)통신포트 또는 상기 직렬통신포트에 연결된 디바이스와 통신하도록 상기 통신부(110)를 제어하게 될 것이다.Thereafter, the processor 130 will control the communication unit 110 to communicate with the LAN communication port or a device connected to the serial communication port according to device settings stored in the memory unit 120.
한편, 본 명세서에 따른 디바이스 모델링 방법은 컴퓨터에서 각 단계들을 수행하도록 작성되어 컴퓨터로 독출 가능한 기록 매체에 기록된 컴퓨터프로그램일 수 있다. 상기 컴퓨터프로그램은, 상기 컴퓨터가 프로그램을 읽어 들여 프로그램으로 구현된 상기 방법들을 실행시키기 위하여, 상기 컴퓨터의 프로세서(CPU)가 상기 컴퓨터의 장치 인터페이스를 통해 읽힐 수 있는 C/C++, C#, JAVA, Python, 기계어 등의 컴퓨터 언어로 코드화된 코드(Code)를 포함할 수 있다. 이러한 코드는 상기 방법들을 실행하는 필요한 기능들을 정의한 함수 등과 관련된 기능적인 코드(Functional Code)를 포함할 수 있고, 상기 기능들을 상기 컴퓨터의 프로세서가 소정의 절차대로 실행시키는데 필요한 실행 절차 관련 제어 코드를 포함할 수 있다. 또한, 이러한 코드는 상기 기능들을 상기 컴퓨터의 프로세서가 실행시키는데 필요한 추가 정보나 미디어가 상기 컴퓨터의 내부 또는 외부 메모리의 어느 위치(주소 번지)에서 참조되어야 하는지에 대한 메모리 참조관련 코드를 더 포함할 수 있다. 또한, 상기 컴퓨터의 프로세서가 상기 기능들을 실행시키기 위하여 원격(Remote)에 있는 어떠한 다른 컴퓨터나 서버 등과 통신이 필요한 경우, 코드는 상기 컴퓨터의 통신 모듈을 이용하여 원격에 있는 어떠한 다른 컴퓨터나 서버 등과 어떻게 통신해야 하는지, 통신 시 어떠한 정보나 미디어를 송수신해야 하는지 등에 대한 통신 관련 코드를 더 포함할 수 있다.Meanwhile, the device modeling method according to the present specification may be a computer program written to perform each step in a computer and recorded in a computer-readable recording medium. The computer program includes C/C++, C#, JAVA, Python that can be read by the computer's processor (CPU) through the computer's device interface in order for the computer to read the program and execute the methods implemented as a program. , May include a code coded in a computer language such as machine language. Such code may include a functional code related to a function defining necessary functions for executing the methods, and a control code related to an execution procedure necessary for the processor of the computer to execute the functions according to a predetermined procedure. can do. In addition, such code may further include additional information required for the processor of the computer to execute the functions or code related to a memory reference to which location (address address) of the internal or external memory of the computer should be referenced. have. In addition, when the processor of the computer needs to communicate with any other computer or server in the remote in order to execute the functions, the code uses the communication module of the computer to determine how It may further include a communication-related code for whether to communicate, what kind of information or media should be transmitted and received during communication.
상기 저장되는 매체는, 레지스터, 캐쉬, 메모리 등과 같이 짧은 순간 동안 데이터를 저장하는 매체가 아니라 반영구적으로 데이터를 저장하며, 기기에 의해 판독(reading)이 가능한 매체를 의미한다. 구체적으로는, 상기 저장되는 매체의 예로는 ROM, RAM, CD-ROM, 자기 테이프, 플로피디스크, 광 데이터 저장장치 등이 있지만, 이에 제한되지 않는다. 즉, 상기 프로그램은 상기 컴퓨터가 접속할 수 있는 다양한 서버 상의 다양한 기록매체 또는 사용자의 상기 컴퓨터상의 다양한 기록매체에 저장될 수 있다. 또한, 상기 매체는 네트워크로 연결된 컴퓨터 시스템에 분산되어, 분산방식으로 컴퓨터가 읽을 수 있는 코드가 저장될 수 있다.The stored medium is not a medium that stores data for a short moment, such as a register, cache, memory, etc., but a medium that stores data semi-permanently and can be read by a device. Specifically, examples of the storage medium include, but are not limited to, ROM, RAM, CD-ROM, magnetic tape, floppy disk, optical data storage device, and the like. That is, the program may be stored in various recording media on various servers to which the computer can access, or on various recording media on the user's computer. In addition, the medium may be distributed over a computer system connected through a network, and computer-readable codes may be stored in a distributed manner.
이상, 첨부된 도면을 참조로 하여 본 명세서의 실시예를 설명하였지만, 본 명세서가 속하는 기술분야의 통상의 기술자는 본 발명이 그 기술적 사상이나 필수적인 특징을 변경하지 않고서 다른 구체적인 형태로 실시될 수 있다는 것을 이해할 수 있을 것이다. 그러므로, 이상에서 기술한 실시예들은 모든 면에서 예시적인 것이며, 제한적이 아닌 것으로 이해해야만 한다.As described above, embodiments of the present specification have been described with reference to the accompanying drawings, but those of ordinary skill in the art to which the present specification pertains to that the present invention can be implemented in other specific forms without changing the technical spirit or essential features. You can understand. Therefore, the embodiments described above are illustrative in all respects, and should be understood as non-limiting.
<부호의 설명><Explanation of code>
100 : 디바이스 모델링 장치100: device modeling device
110 : 통신부110: communication department
120 : 메모리부120: memory unit
130 : 프로세서130: processor

Claims (12)

  1. 적어도 하나의 랜(LAN)통신포트 및 적어도 하나의 직렬통신포트를 가진 통신부;A communication unit having at least one LAN communication port and at least one serial communication port;
    상기 랜(LAN)통신포트 또는 상기 직렬통신포트를 통해 데이터를 송수신하는 디바이스에 대한 설정 사항을 저장하는 메모리부; 및A memory unit for storing settings for a device transmitting and receiving data through the LAN communication port or the serial communication port; And
    상기 랜통신포트를 통해 연결된 관리자 단말기에 상기 디바이스에 대한 사항을 설정하는 인터페이스를 제공하고, 상기 인터페이스를 통해 입력된 상기 디바이스에 대한 설정 사항을 상기 메모리부에 저장시키고, 상기 메모리부에 저장된 디바이스 설정 사항에 따라 상기 랜(LAN)통신포트 또는 상기 직렬통신포트에 연결된 디바이스와 통신하도록 상기 통신부를 제어하는 프로세서;를 포함하는 디바이스 모델링 장치.Provides an interface for setting details on the device to an administrator terminal connected through the LAN communication port, stores setting details for the device input through the interface in the memory unit, and sets the device stored in the memory unit Device modeling apparatus comprising a; processor for controlling the communication unit to communicate with the LAN (LAN) communication port or a device connected to the serial communication port according to a matter.
  2. 청구항 1에 있어서,The method according to claim 1,
    상기 인터페이스는, 디바이스 등록 인터페이스, 통신 프로토콜 등록 인터페이스, 커맨드 등록 인터페이스 및 변수 등록 인터페이스를 포함하는 디바이스 모델링 장치.The interface includes a device registration interface, a communication protocol registration interface, a command registration interface, and a variable registration interface.
  3. 청구항 2에 있어서,The method according to claim 2,
    상기 디바이스 등록 인터페이스는,The device registration interface,
    디바이스의 명칭, 디바이스 통신 담당 서버 및 물리적 통신 방식 중 적어도 어느 하나 이상에 대한 설정을 입력할 수 있는 인터페이스인 디바이스 모델링 장치.A device modeling device that is an interface through which settings for at least one or more of a device name, a device communication server, and a physical communication method can be input.
  4. 청구항 2에 있어서,The method according to claim 2,
    상기 통신 프로토콜 등록 인터페이스는,The communication protocol registration interface,
    인코딩 및 제어 타입 중 적어도 하나 이상에 대한 설정을 입력할 수 있는 인터페이스인 디바이스 모델링 장치.A device modeling apparatus that is an interface through which settings for at least one of encoding and control types can be input.
  5. 청구항 2에 있어서,The method according to claim 2,
    상기 커맨드 등록 인터페이스는,The command registration interface,
    상기 디바이스에서 데이터를 추출하기 위한 리퀘스트와 리스폰스에 대한 설정을 입력할 수 있는 인터페이스인 디바이스 모델링 장치.A device modeling apparatus that is an interface through which a request for extracting data from the device and a setting for a response can be input.
  6. 청구항 2에 있어서,The method according to claim 2,
    상기 변수 등록 인터페이스는,The variable registration interface,
    상기 디바이스에서 추출된 데이터가 나타내는 변수에 대한 설정을 입력할 수 있는 인터페이스인 디바이스 모델링 장치.A device modeling apparatus that is an interface through which a setting for a variable represented by data extracted from the device can be input.
  7. 적어도 하나의 랜(LAN)통신포트 및 적어도 하나의 직렬통신포트를 가진 통신부, 메모리부 및 프로세서;를 포함하는 장치를 이용한 디바이스 모델링 방법으로서,A device modeling method using an apparatus including a communication unit, a memory unit, and a processor having at least one LAN communication port and at least one serial communication port,
    (a) 상기 프로세서가 상기 랜(LAN)통신포트 또는 상기 직렬통신포트를 통해 데이터를 송수신하는 디바이스에 대한 디바이스 등록 인터페이스를 제공하는 단계;(a) providing, by the processor, a device registration interface for a device transmitting and receiving data through the LAN communication port or the serial communication port;
    (b) 상기 프로세서가 상기 디바이스에 대한 통신 프로토콜 등록 인터페이스를 제공하는 단계;(b) the processor providing a communication protocol registration interface for the device;
    (c) 상기 프로세서가 상기 디바이스에 대한 커맨드 등록 인터페이스를 제공하는 단계; 및 (c) the processor providing a command registration interface for the device; And
    (d) 상기 프로세서가 상기 디바이스에 대한 변수 등록 인터페이스를 제공하는 단계;를 포함하는 디바이스 모델링 방법. (d) providing, by the processor, a variable registration interface for the device.
  8. 청구항 7에 있어서,The method of claim 7,
    상기 (a) 단계는, 상기 프로세서가 디바이스의 명칭, 디바이스 통신 담당 서버 및 물리적 통신 방식 중 적어도 어느 하나 이상에 대한 설정을 상기 메모리부에 더 저장하는 단계인 디바이스 모델링 방법.In the step (a), the processor further stores a setting of at least one of a device name, a device communication server, and a physical communication method in the memory unit.
  9. 청구항 7에 있어서,The method of claim 7,
    상기 (b) 단계는, 상기 프로세서가 인코딩 및 제어 타입 중 적어도 하나 이상에 대한 설정을 상기 메모리부에 더 저장하는 단계인 디바이스 모델링 방법.In the step (b), the processor further stores a setting for at least one of an encoding and a control type in the memory unit.
  10. 청구항 7에 있어서,The method of claim 7,
    상기 (c) 단계는, 상기 프로세서가 상기 디바이스에서 데이터를 추출하기 위한 리퀘스트와 리스폰스에 대한 설정을 상기 메모리부에 더 저장하는 단계인 디바이스 모델링 방법.In the step (c), the processor further stores a request for extracting data from the device and a response setting in the memory unit.
  11. 청구항 7에 있어서,The method of claim 7,
    상기 (d) 단계는, 상기 프로세서가 상기 디바이스에서 추출된 데이터가 나타내는 변수에 대한 설정을 상기 메모리부에 더 저장하는 단계인 디바이스 모델링 방법.In the step (d), the processor further stores a setting of a variable indicated by the data extracted from the device in the memory unit.
  12. 컴퓨터에서 청구항 7 내지 청구항 11 중 어느 한 청구항에 따른 방법의 각 단계들을 수행하도록 작성되어 컴퓨터로 독출 가능한 기록 매체에 기록된 컴퓨터프로그램.A computer program written in a computer to perform each step of the method according to any one of claims 7 to 11 and recorded in a computer-readable recording medium.
PCT/KR2019/009586 2019-04-10 2019-08-01 Device modeling device and method WO2020209447A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201980094606.7A CN113615126B (en) 2019-04-10 2019-08-01 Equipment modeling device and method

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
KR10-2019-0042082 2019-04-10
KR1020190042082A KR102007484B1 (en) 2019-04-10 2019-04-10 Apparatus for device modeling and method using the same

Publications (1)

Publication Number Publication Date
WO2020209447A1 true WO2020209447A1 (en) 2020-10-15

Family

ID=67612755

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/KR2019/009586 WO2020209447A1 (en) 2019-04-10 2019-08-01 Device modeling device and method

Country Status (3)

Country Link
KR (1) KR102007484B1 (en)
CN (1) CN113615126B (en)
WO (1) WO2020209447A1 (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101178684B1 (en) * 2011-07-21 2012-08-30 정현철 Easy-to-use configuration method for wireless sensor networks
KR20130124967A (en) * 2011-02-11 2013-11-15 알까뗄 루슨트 Method for naming sensor devices in a local network, service gateway and remote management server
KR101494096B1 (en) * 2013-08-22 2015-02-17 한국과학기술원 Sevice method and system for providing running environment of virtualization object
US20160081133A1 (en) * 2014-08-10 2016-03-17 Belkin International, Inc. Setup of multiple iot network devices

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1770105A (en) * 2004-11-05 2006-05-10 乐金电子(昆山)电脑有限公司 Apparatus and method for updating software of target system by means of wireless local area network
KR101209005B1 (en) 2012-02-03 2012-12-06 주식회사 드림시스 Communication system comprising intelligent data communication gateway device
US20140195675A1 (en) * 2013-01-09 2014-07-10 Giga Entertainment Media Inc. Simultaneous Content Data Streaming And Interaction System
KR101493166B1 (en) * 2013-08-22 2015-02-16 한국과학기술원 Sevice method and system for providing web based user interface for managing instance of virtualization object in internet of things environment
CN105489076A (en) * 2014-09-28 2016-04-13 深圳市风向标科技有限公司 Teaching and training malfunction setting and evaluating system and implementing method thereof
CN109547567B (en) * 2018-12-25 2021-10-22 北京市天元网络技术股份有限公司 Proxy connection method and device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20130124967A (en) * 2011-02-11 2013-11-15 알까뗄 루슨트 Method for naming sensor devices in a local network, service gateway and remote management server
KR101178684B1 (en) * 2011-07-21 2012-08-30 정현철 Easy-to-use configuration method for wireless sensor networks
KR101494096B1 (en) * 2013-08-22 2015-02-17 한국과학기술원 Sevice method and system for providing running environment of virtualization object
US20160081133A1 (en) * 2014-08-10 2016-03-17 Belkin International, Inc. Setup of multiple iot network devices

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
CISCO SYSTEMS, INC., CISCO IOT FIELD NETWORK DIRECTOR CONFIGURATION GUIDE, September 2018 (2018-09-01), Retrieved from the Internet <URL:https://www.cisco.com/c/en/us/td/docs/routers/connectedgrid/iot_fnd/guide/4_3/iot_fnd__ug4__3.pdf> [retrieved on 20191227] *

Also Published As

Publication number Publication date
CN113615126B (en) 2024-06-04
KR102007484B1 (en) 2019-08-06
CN113615126A (en) 2021-11-05

Similar Documents

Publication Publication Date Title
WO2012111892A1 (en) Auto-generation of user interface by mobile terminal and equipment control system using same
EP0895145A1 (en) Process control device
WO2019132095A1 (en) Interface apparatus and method of converting communication protocol
US7865628B2 (en) PCI express card type peripheral apparatus and host apparatus for accessing parts of protocol ID information stored in storage unit one part after another
CN110891005A (en) IOT equipment control method, cloud server and IOT equipment control system
WO2022059826A1 (en) Digital twin environment-based convergence-type smart-iot connected middleware device, and method for providing same
CN112995172A (en) Communication method and communication system for butt joint between Internet of things equipment and Internet of things platform
WO2014035212A1 (en) Apparatus and method for managing health data
US20040198219A1 (en) Methods and arrangements for short range wireless communication
WO2013089291A1 (en) M2m device for enabling the easy addition of an extending function
WO2020209447A1 (en) Device modeling device and method
WO2013109012A1 (en) Apparatus and method of terminal for managing service provided from server
CN101964788B (en) Semiconductor manufacturing equipment functional simulation-oriented communication protocol mode configuration method
WO2010071384A2 (en) Standardization system and method for robot fabrication and robot service implementation system
WO2022114655A1 (en) Cloud-based device artificial intelligence configuration system and method
WO2021194082A1 (en) Method and device for providing web page using captive portal
WO2018199386A1 (en) Device and method for generating power facility data quality information
WO2022131404A1 (en) On-device-based data analysis system and method
WO2019168212A1 (en) Modular sensor interface and iot sensor device package with same applied thereto
CN208689460U (en) A kind of construction site monitoring system
WO2019146954A1 (en) Display device for executing application program capable of setting code and method for controlling display device
CN108076094B (en) Dictionary protocol terminal equipment
WO2021125452A1 (en) Plc analog module comprising hart pass-through interface
WO2023171908A1 (en) Data management system and method for managing data collected from factory data collecting apparatus through web-based data management interface
WO2023121017A1 (en) Can communication device supporting modbus protocol, and operation method therefor

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 19924197

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 19924197

Country of ref document: EP

Kind code of ref document: A1