WO2017209425A1 - User-centric function variable compiling system - Google Patents

User-centric function variable compiling system Download PDF

Info

Publication number
WO2017209425A1
WO2017209425A1 PCT/KR2017/005301 KR2017005301W WO2017209425A1 WO 2017209425 A1 WO2017209425 A1 WO 2017209425A1 KR 2017005301 W KR2017005301 W KR 2017005301W WO 2017209425 A1 WO2017209425 A1 WO 2017209425A1
Authority
WO
WIPO (PCT)
Prior art keywords
firmware
hardware
target
compilation
code
Prior art date
Application number
PCT/KR2017/005301
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
Priority to KR10-2016-0068275 priority Critical
Priority to KR1020160068275A priority patent/KR101710305B1/en
Application filed by 구자철 filed Critical 구자철
Publication of WO2017209425A1 publication Critical patent/WO2017209425A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING; 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

Abstract

The present invention relates to a user-centric function variable compiling system for reassembling a hardware configuration according to a selected target system and selected firmware, compiling the selected firmware, and embedding the compiled firmware in the target system, thereby enabling the selected target system to be changed to an embedded system for performing a function of the selected firmware.

Description

User-oriented function variable compilation system

The present invention relates to a user-oriented function-variable compilation system, and more particularly, recombines a hardware configuration according to a selected target system and a selected firmware, compiles the selected firmware, and generates an object code. The present invention relates to a user-oriented function-variable compilation system that embeds the selected object code into the target system to convert the selected target system into an embedded system of the selected firmware function.

In general, an embedded system refers to a control system having hardware and software designed to drive a dedicated computer or microprocessor to perform a specific purpose or a specific function. That is, one embedded system includes at least one hardware capable of performing at least one function and software for driving the hardware.

In other words, a variety of electronic devices, home appliances, and control devices are not simply composed of circuits, but microcontrollers (or microprocessors) are embedded in the embedded system. Software is embedded to drive the microcontroller to perform specific functions. Point to a system.

In such an embedded system, a software that drives a microcontroller to perform a specific function writes a program based on hardware parameters, and the written program is produced through numerous debugging processes.

In order to improve this, Korean Patent Laid-Open Publication No. 10-2002-0032256 discloses an integrated embedded system and a method of implementing the same.

The above technology is to provide an integrated embedded system that sends a machine code to a target board after editing and compiling a program to a Windows integrated development environment with a built-in cross compiler that does not require additional configuration so that an embedded system can be easily implemented. A user interface for writing a program; An editor connected to the user interface and constructing an integrated development environment in which development tools are linked to each other to easily implement program development by building the development tools into one environment; A compiler connected to the editor, which translates a source program created by a program designer through the editor into HEX (or BIN) machine language; And a downloader connected to the compiler and reading a HEX (or BIN) file, which is a target program, stored in an internal buffer, and transmitted to the target board through a communication unit.

In addition, Patent Publication No. 10-0683853 discloses a tree of lexical units corresponding to configuration directives retrieved from source code by searching a source code file, finding a configuration directive, and analyzing a syntax of the directive. A source code scanner that outputs the code, a core that outputs the output configuration directive to the configuration state, provides a dialogue between the core and the user, expresses the internal configuration state, and displays the current configuration state by the user inputting a variable value. In addition, it transmits the information about the grammar of the language to the code generation module, source code scanner, and code generation module which outputs the configuration state output from the core to the programming language irrelevant to the flow of the lexical unit. It includes a programming language module that receives a programming language independent of the flow of the lexical unit and outputs source code. A precompiler is disclosed.

However, the above technologies are positive in that they can conveniently provide an embedded system for controlling hardware. However, when a new function or a new function is to be performed, hardware that can perform a corresponding function must be added. There is this.

In other words, the conventional embedded system cannot change an embedded system that performs a specific function to an embedded system that performs a separate function, and when an embedded system having a new function is adopted, corresponding hardware must be added and configured. Problems arise.

For example, if there is a person such as a work room, a lighting control system is required, and if there is no security system, a security system is required, but there is no need to control lighting and security at the same time, and to perform both functions, The problem arises that the control system and the security system must be configured respectively.

<Preceding technical literature>

<Patent Documents>

Patent Document 0001 Patent Document 0002

The present invention was created to solve the problems of the prior art, the problem to be solved in the present invention, a user-oriented function variable compilation that can be changed to a user-centric embedded system within the scope of the hardware configured To provide a system.

In addition, it is possible to reduce the construction cost due to the redundant use of hardware, and to provide a user-oriented function-variable compilation system that can give a variety of functions to the hardware.

In order to solve the above problems, the user-oriented function-variable compilation system according to the present invention recombines a hardware configuration according to a selected target system and selected firmware, and compiles the selected firmware based on the recombined hardware. Generating an object code, and embedding the generated object code into the target system to convert the selected target system into an embedded system having the selected firmware function.

Here, the compilation system detects a parameter of the hardware according to the selected firmware, controls the selected firmware to be compiled based on the detected hardware parameter, and transmits the compiled object code to a target system. Compiling control unit for performing a function; A compiler for analyzing the source code of the selected firmware under the control of the compilation control unit and generating a target code through code optimization; And a firmware DB in which firmware that can be performed through hardware configured in the target system is stored and managed.

The compiling controller may include a hardware setting module configured to set information about a type and a model of hardware configured in the target system; A hardware parameter module configured to input detailed information about the hardware; A compiler control module for controlling the firmware to be compiled based on information stored in the hardware setting module and the hardware parameter module and the selected firmware; An embedded module configured to generate a data packet for transmitting the object code generated under the control of the compiler control module to the selected target system; And a communication module for connecting the compilation system to a communication network.

In addition, the firmware stored and managed in the firmware DB may be stored and managed in groups according to usage environments.

In addition, the target system is characterized by consisting of a home network system, IoT control system, factory automation system or office automation system.

According to the present invention, since the embedded system can be changed within the range of the configured hardware, there is an advantage that can control the surrounding environment according to the needs of the user.

In addition, since the initial configuration of the hardware can be reused, but the function performed by the combination with other hardware around can be changed, there is an advantage that can reduce the cost of building the embedded system.

1 is a schematic configuration diagram of a user-oriented function-variable compilation system according to the present invention.

2 is a block diagram of a compilation control unit in a user-oriented function-variable compilation system according to the present invention.

3 is a configuration diagram of an embodiment of firmware for each group stored and managed in the firmware DB in a user-oriented function-variable compilation system according to the present invention.

4 is a block diagram of a target system according to an embodiment in a user-oriented function-variable compilation system according to the present invention.

Hereinafter, exemplary embodiments of the present invention will be described in detail with reference to the accompanying drawings.

The present invention is capable of recombining a hardware configuration according to a selected target system and selected firmware, compiling the selected firmware and embedding the selected firmware into the target system to vary the selected target system into an embedded system that performs the selected firmware function. A user-oriented feature-variable compilation system.

1 is a view showing a schematic configuration of a user-oriented function variable compilation system according to the present invention.

Referring to FIG. 1, the user-oriented function-variable compilation system 100 (hereinafter, referred to as a 'compile system') according to the present invention may include a compilation control unit 110, a compiler 120, and a firmware DB 130. A user configured to receive a target code from the compilation system 100 and to access the target system 200 and the user-oriented function-variable compilation system 100 to input the request signal. The terminal 300 is further configured to be included.

Here, the compilation system 100 recombines a hardware configuration according to the selected target system and the selected firmware, generates the object code by compiling the selected firmware, and embeds the compiled object code into the target system. A function of changing the selected target system to an embedded system that performs the selected firmware function.

In this case, the target system 200 may be configured in various ways, such as a home network system, an IoT control system, a factory automation system, or an office automation system, and may be configured in plurality.

The compilation control unit 110 of the compilation system 100 detects a parameter of hardware according to the selected firmware, controls the selected firmware to be compiled based on the detected hardware parameter, and the compiled purpose. Sends the code to the target system.

2 is a diagram schematically illustrating a configuration of a compilation control unit in a user-oriented function-variable compilation system according to the present invention.

Referring to FIG. 2, in the compilation system 100 according to the present invention, the compilation control unit 110 may include a hardware setting module 111, a hardware parameter module 112, a compiler control module 113, and an embedded module ( 114) and a communication module 115.

The hardware setting module 111 performs a function of setting information on the type and model of hardware configured in the target system 200.

Here, the hardware may be composed of a single IoT device, a sensor, a motor, an actuator, and the like, and name information of each hardware is set and input.

The hardware parameter module 112 is inputted with detailed information about hardware. Here, the type of chipset of the controller (or microprocessor) applied to the hardware, the processing speed of the controller, the type of memory (ROM), the size of the memory and the circuit are input and managed.

The compiler control module 113 controls the firmware to be compiled based on the information stored in the hardware setting module 111 and the hardware parameter module 112 and the firmware at the user's request.

The embedded module 114 generates a data packet for transmitting the object code generated under the control of the compiler control module 113 to the target system 200.

Here, the data packet stores information such as an address of the target system 200, an object code, and whether or not the previously stored object code is deleted, and an encryption / decryption code for preventing data leakage during data packet transmission is added. Can be.

The communication module 115 performs a function of connecting the compilation system 100 to a communication network and enables communication with the target system 200 and the user terminal 300.

The compiler 120 analyzes the source code of the selected firmware under the control of the compilation control unit 110 to generate a target code through code optimization. The compiler 120 may be configured as a front end that analyzes the source code to generate the intermediate code and an end after generating the intermediate code generated in the front end as the object code. That is, the front end analyzes the configuration of the firmware and converts it into an intermediate code, and the rear end converts the converted intermediate code into a target code of the target system 200.

In this case, the front end unit is a lexical analysis module for generating a token having a grammatical meaning by reading the source code of the firmware, and checks the error for the token generated by the lexical analysis module to parse the correct sentence And an intermediate code generation module that performs a semantic check on the syntax tree of the syntax analysis module and generates an intermediate code corresponding thereto.

In addition, the rear end of the code optimization module for improving the intermediate code generated by the intermediate code generation module to the efficient code and the purpose of converting the code optimized by the code optimization module to the target code for the hardware of the target system 200 It consists of a code generation module.

The firmware DB 130 stores and manages firmware of various functions that can be performed through hardware configured in the target system 200.

The firmware refers to a program for controlling hardware stored in a ROM, which is identical to software in terms of a program, but is distinguished from application software in that it is closely related to hardware, and is a source program composed of source code. Can be seen.

The firmware may be variously configured according to a function. For example, it may be configured as a light, power, smart home, home security and healthcare.

In addition, the firmware may be configured to be stored and managed in groups according to the use environment.

3 is a diagram illustrating a configuration of an embodiment of firmware for each group stored and managed in the firmware DB in a user-oriented function-variable compilation system according to the present invention.

Referring to Figure 3, the firmware can be roughly divided into home, office, healthcare, factories and buildings.

In this case, the firmware belonging to the home may include a light control for controlling a lamp, a home appliance control for controlling the operation of a home appliance, and a security control for maintaining safety.

In addition, the firmware belonging to the office may be composed of light control, access control, security control and ventilation control, and the like, the firmware belonging to the healthcare may be configured as a senior citizen monitoring control, security control and home appliance control. . In addition, the firmware belonging to the building may be configured as access control, light control, ventilation control and vehicle control.

The above firmware is a part of an embodiment, and firmware of various functions may be added according to a user's request or hardware configuration.

The target system 200 controls the hardware according to the logic of the object code stored in association with a plurality of hardware.

At this time, the target system 200 is configured to include a microprocessor (210, or microcontroller), the microprocessor 210 controls the associated hardware by the object code embedded in the ROM (ROM). At this time, the ROM stores the object code transmitted from the compilation control unit 110.

Here, the hardware may include a simple device such as a sensor, a motor (or a pump), a switch, an IoT device, an on / off control system, or the like.

In this case, the sensor may include a temperature sensor, a humidity sensor, an illuminance sensor, a pressure sensor, a flow sensor, a current sensor, a magnetic sensor, an acoustic sensor, and a rainfall sensor.

For example, hardware associated with firmware for performing light control may be configured with a light, an illumination sensor, a human body sensor, and the like, and may be added or omitted depending on design conditions.

The user terminal 300 is for accessing the compiling system 100 to select a displayed firmware and to receive a request signal for designating a target system 200, and includes a laptop computer and a mobile phone. Phone, Smart Phone, Tablet PC, Personal Digital Assistant, PDA, Enterprise Digital Assistant, Digital Still Camera, Digital Video Camera, PMP ( Portable Multimedia Player, PND (Personal Navigation Device or Portable Navigation Device), Handheld Game Console, Mobile Internet Device (MID), and e-Book. have.

In this case, when the user terminal 300 is connected to the compilation system 100, the user terminal 300 displays a designated target system 200 and firmware.

In this case, the designated target system 300 may be a target system set by a user.

In addition, as the displayed firmware, firmware that can be controlled in association with the selected target system 200 may be displayed.

According to a design condition, the user terminal 300 may be configured so that a target system 200 is selected first, and then firmware is displayed. Alternatively, the firmware may be selected first, and then the target system 200 may be configured to be selected.

When the target system 200 is configured to be selected first, the firmware displayed on the user terminal 300 is configured to display firmware that can be performed by recombining the hardware configured in the target system 200.

In addition, when the target system 200 is selected after the firmware is first selected, the user terminal 300 is configured to display that some of the functions of the selected firmware may be missing.

4 is a diagram illustrating a configuration of a target system according to an embodiment in a user-oriented function-variable compilation system according to the present invention.

Referring to the accompanying drawings, the microprocessor 210 configured in the target system has specifications such as model name, digital input / output pin number, PWM input / output pin number, analog pin number, flash memory / SRAM / EEPROM capacity, and clock speed. Hardware is connected to the pin number of the microprocessor 210.

At this time, each hardware is composed of, for example, temperature sensor, humidity sensor, CO2 sensor, illuminance sensor, human body sensor, LED, switch and wireless communication module, each of which has a pin number connected to the microprocessor Is given. In addition, although not shown in the drawing, the pin numbers of the power inputs (+,-) are also given.

In the above description, the target system 200 may be configured differently according to the configuration of the microprocessor 210, and may be variously classified according to the model name (type) of the microprocessor 210.

That is, it may be configured to distinguish by assigning a classification code according to the type of microprocessor used in the process of manufacturing hardware. For example, a type A microprocessor may be configured as A001, and a type B microprocessor may be configured to be coded as A002 and stored in the firmware DB 130.

The firmware, which may be configured as the target system 200 according to the configuration of the embodiment, may basically vary according to a user's request to a light control, a home security system, and a healthcare system.

An example of a hardware configuration for the firmware will be described.

Firmware for home security can be configured to activate LEDs, human body sensors, switches and temperature sensors. At this time, the operation of the firmware for the home security detects the ambient temperature according to the activation of the temperature sensor, and controls to calculate the error for the temperature according to the sensing value detected by the human body sensor. In addition, according to the detection of the abnormal signal in the alert state (temperature and the value sensed by the human body sensor) is configured to illuminate different colors emitted from the LED, it may be configured to output a warning sound by operating the switch.

Firmware for healthcare can be configured to activate LEDs, CO2 sensors, illuminance sensors, human body sensors, temperature sensors and humidity sensors. At this time, the driving of the healthcare firmware is configured to calculate the number of people based on the value detected by the human body sensor, and to vary the color of the LED based on the values detected by the temperature sensor, humidity sensor and CO2 sensor. . In addition, when it is determined that the sleep according to the movement of the person may be configured to dimming the illumination of the LED.

On the other hand, the firmware stored in the firmware DB 130 may be configured to change the name of the stored firmware by dropping some functions or adding a new function according to the user's operation or may be configured to add a new name firmware have.

Or, of course, the firmware of the new function can be configured to update the user's request.

According to the present invention, since the embedded system can be changed within the range of hardware configured in the target system, there is an advantage that the same space can be controlled differently according to the needs of the user, and the initial configured hardware can be reused, but with other hardware nearby. Because the function performed by the combination of the can be variable, there is an advantage that can reduce the construction cost of the embedded system.

Although the preferred embodiment of the present invention has been described above, the scope of the present invention is not limited thereto, and it should be understood that the scope of the present invention extends to the range that is substantially equivalent to the embodiment of the present invention. Various modifications can be made by those skilled in the art without departing from the spirit of the invention.

100: compilation system

110: compilation control

111: hardware configuration module

112: hardware parameter module

113: compiler control module

114: embedded module

115: communication module

120: compiler

130: firmware DB

200: target system

210: microprocessor

220: hardware

300: user terminal

Claims (5)

  1. Recombine the hardware configuration according to the selected target system and the selected firmware, generate the object code through compiling the selected firmware based on the recombined hardware, and embed the generated object code into the target system to select the selected target. And a system for varying a system into an embedded system of the selected firmware function.
  2. The method according to claim 1,
    The compilation system,
    A compilation control unit for detecting a parameter of the hardware according to the selected firmware, controlling the selected firmware to be compiled based on the detected hardware parameter, and transmitting the compiled object code to a target system ;
    A compiler for analyzing the source code of the selected firmware under the control of the compilation control unit and generating a target code through code optimization; And
    A firmware DB for storing and managing firmware that can be performed through hardware configured in the target system;
    Compilation system of the user-oriented function, characterized in that comprises a.
  3. The method according to claim 2,
    The compilation control unit,
    A hardware setting module configured to set information about a type and a model of hardware configured in the target system;
    A hardware parameter module configured to input detailed information about the hardware;
    A compiler control module for controlling the firmware to be compiled based on information stored in the hardware setting module and the hardware parameter module and the selected firmware;
    An embedded module configured to generate a data packet for transmitting the object code generated under the control of the compiler control module to the selected target system; And
    A communication module for connecting the compilation system to a communication network;
    Compilation system of the user-oriented function, characterized in that it comprises a.
  4. The method according to claim 2,
    Firmware stored and managed in the firmware DB,
    User-oriented function variable compilation system, characterized in that the storage is divided into groups according to the use environment.
  5. The method according to claim 1,
    The target system,
    User-oriented functional variable compilation system comprising a home network system, IoT control system, factory automation system or office automation system.
PCT/KR2017/005301 2016-06-01 2017-05-23 User-centric function variable compiling system WO2017209425A1 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
KR10-2016-0068275 2016-06-01
KR1020160068275A KR101710305B1 (en) 2016-06-01 2016-06-01 Variable type compiling system for function of user-centric

Publications (1)

Publication Number Publication Date
WO2017209425A1 true WO2017209425A1 (en) 2017-12-07

Family

ID=58315873

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/KR2017/005301 WO2017209425A1 (en) 2016-06-01 2017-05-23 User-centric function variable compiling system

Country Status (2)

Country Link
KR (1) KR101710305B1 (en)
WO (1) WO2017209425A1 (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001022810A (en) * 1999-07-08 2001-01-26 Fujitsu Ltd Product information managing device and recording medium
KR20060065388A (en) * 2004-12-10 2006-06-14 엘지전자 주식회사 Embedded system for being easy software development and method thereof
KR20070058954A (en) * 2005-12-05 2007-06-11 한국전자통신연구원 Apparatus and method for prototype development of embedded system
KR20100062321A (en) * 2008-12-02 2010-06-10 홍익대학교 산학협력단 Method and apparatus for embedded system design using target independent model

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20020032256A (en) 2000-10-26 2002-05-03 윤지녕 Integrated Embedded System and Method for Realizing thereof
KR100683853B1 (en) 2005-02-04 2007-02-16 삼성전기주식회사 Pre-compiling device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001022810A (en) * 1999-07-08 2001-01-26 Fujitsu Ltd Product information managing device and recording medium
KR20060065388A (en) * 2004-12-10 2006-06-14 엘지전자 주식회사 Embedded system for being easy software development and method thereof
KR20070058954A (en) * 2005-12-05 2007-06-11 한국전자통신연구원 Apparatus and method for prototype development of embedded system
KR20100062321A (en) * 2008-12-02 2010-06-10 홍익대학교 산학협력단 Method and apparatus for embedded system design using target independent model

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
CHOI, JAE KYU: "International Trends and Meaning of ICT DIY", THE KOREAN INSTITUTE OF COMMUNICATIONS AND INFORMATION SCIENCES (KICS)(JOURNAL OF THE KOREAN INSTITUTE OF COMMUNICATION SCIENCES, vol. 31, no. 7, June 2014 (2014-06-01), pages 52 - 58, Retrieved from the Internet <URL:http://www.dbpia.co.kr/Journal/ArticleDetail/NODE02502901> *

Also Published As

Publication number Publication date
KR101710305B1 (en) 2017-02-27

Similar Documents

Publication Publication Date Title
Pasha ThingSpeak based sensing and monitoring system for IoT with Matlab Analysis
Kamal Embedded systems: architecture, programming and design
TWI651016B (en) Light emitting diode, a power line network systems, location information writing method, a projector, data processing method and collision prevention means
US7908020B2 (en) Architecture for control systems
US6904471B2 (en) Programmable logic controller customized function call method, system and apparatus
CN100449488C (en) Systems and methods for bimodal device virtualization of actual and idealized hardware-based devices
Cabral et al. Formal specification generation from requirement documents
Ibrahim Advanced PIC microcontroller projects in C: from USB to RTOS with the PIC 18F Series
US9952841B2 (en) Programming system and language for application development
US7739696B2 (en) Message translation systems and methods
JP5002454B2 (en) System and method for providing a user configurable software library
CN102365621B (en) Use the program language translation device based on interpreter of embedded interpreter types and variable
JP2009536778A (en) Lighting system having a group of linked lights
WO2012033312A1 (en) Method of operating mobile device by recognizing user&#39;s gesture and mobile device using the method
KR940703049A (en) A system that divides processing tasks into signal processors and decision microprocessors that interface with them
CN100535852C (en) Programmable delayed dispatch in a multi-threaded pipeline
US20180158460A1 (en) Lamp device for inputting or outputting voice signal and method of driving the same
JP2008539498A (en) Programming parallel I2C slave devices from a single I2C data stream
CN100527046C (en) Power source control device of equipment connecting to serial bus
US5943673A (en) Configuration programming system for a life safety network
ES2222194T3 (en) PROGRAMMABLE LOGIC CONTROLLER WITH SHORT-DURATION IMPULSE DETECTION CAPACITY.
US7480619B1 (en) Integration manager and natural interaction processor
WO2014107076A1 (en) Display apparatus and method of controlling a display apparatus in a voice recognition system
JP4612619B2 (en) Device association setting method, automatic device setting system, recording medium
WO2002041146A3 (en) Instruction processor systems and methods

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: 17806918

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase in:

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 17806918

Country of ref document: EP

Kind code of ref document: A1