WO2017150841A1 - 전자장치, 어플리케이션 실행 시스템 및 그 제어방법 - Google Patents

전자장치, 어플리케이션 실행 시스템 및 그 제어방법 Download PDF

Info

Publication number
WO2017150841A1
WO2017150841A1 PCT/KR2017/001949 KR2017001949W WO2017150841A1 WO 2017150841 A1 WO2017150841 A1 WO 2017150841A1 KR 2017001949 W KR2017001949 W KR 2017001949W WO 2017150841 A1 WO2017150841 A1 WO 2017150841A1
Authority
WO
WIPO (PCT)
Prior art keywords
electronic device
application
execution
data
event
Prior art date
Application number
PCT/KR2017/001949
Other languages
English (en)
French (fr)
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 US16/082,051 priority Critical patent/US20200293333A1/en
Publication of WO2017150841A1 publication Critical patent/WO2017150841A1/ko

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/455Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
    • G06F9/45504Abstract machines for programme code execution, e.g. Java virtual machine [JVM], interpreters, emulators
    • G06F9/45508Runtime interpretation or emulation, e g. emulator loops, bytecode interpretation
    • G06F9/45512Command shells
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/455Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
    • G06F9/45504Abstract machines for programme code execution, e.g. Java virtual machine [JVM], interpreters, emulators
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/40Transformation of program code
    • G06F8/41Compilation
    • G06F8/42Syntactic analysis
    • G06F8/427Parsing

Definitions

  • the present invention relates to a framework of a network system such as the Internet of Things and a home network. More specifically, a process of parsing source code of an application when the application is executed, and generating execution data of the application and executing the generated execution Run electronic devices and applications with a framework that allows applications to run without the use of high-spec parts and / or Java Virtual Machines by separating the process of performing subsequent processing on the execution of data. It relates to a system and a control method thereof.
  • a network system such as the Internet of Things and a home network is a system that forms an intelligent cooperative relationship by connecting electronic devices such as PCs, peripherals, mobile phones, and home appliances to a network in homes and offices.
  • Such a network system is constructed in such a way that a common virtual computing environment called middleware is provided to devices in a distributed home or office and applications are provided thereon.
  • the devices used in middleware are mostly related to the process of parsing the source code of the application to execute the application, and generating execution data such as binary files that can be actually executed using the parsed data and executing the generated execution data. Performs batch processing of subsequent processing.
  • the client device receives an executable file that is actually executed through a parsing process and execution data generation and subsequent processing from a server device, or receives a source code of an application from a server device and parses it. It generates the executable file that can be actually executed through the execution data generation and subsequent processing.
  • the server or client device requires a high-performance CPU and a large memory to collectively execute the parsing process, execution data generation, and subsequent processing. As a result, the production cost of the server or client device can be increased.
  • the server or client device may increase the load of communication overhead, which consumes time for communication with the connected devices.
  • the server or the client device performs the parsing process, the execution data generation and the subsequent processing in a batch, there is a problem that it is difficult to ease the load of the communication overhead.
  • Jini has a Java Virtual Machine (JVM) that runs Java applications written in the Java language.
  • JVM Java Virtual Machine
  • the JVM parses the source code of the Java application, compiles it, and converts it into native code or machine code that can actually be executed.
  • Jini's devices also require high-end CPUs and large amounts of memory to run the JVM.
  • the manufacturing cost of the devices can be increased.
  • the JVM also performs a parsing process and a compilation process in a batch, so that the device has a problem that it is difficult to ease the load of communication overhead.
  • the JVM sandboxes the application in script units when problems occur at runtime. In this case, the application execution of the JVM may be slow.
  • an electronic device Provides an electronic device, an application execution system, and a control method thereof, which enable an application to be executed without using high-spec parts and / or JVMs by separating parsing process, execution data generation, and post-processing process when an application is executed. do.
  • a communication unit communicating with a plurality of external electronic devices
  • An electronic device includes a processor that generates first execution data corresponding to data and performs subsequent processing on execution of the generated first execution data.
  • the application may include a script file written based on a script language.
  • the electronic device may be formed separately from the plurality of external electronic devices.
  • the electronic device may be embedded in at least one of the plurality of external electronic devices.
  • the electronic device may further include a storage unit that stores source code of the application.
  • the processor when the processor receives an event signal corresponding to an event generated in the second electronic device different from the first electronic device among the plurality of external electronic devices, the processor based on the source code of the application stored in the storage unit. Generating second parsing data corresponding to an event generated in a second electronic device, generating second execution data corresponding to the generated second parsing data, and subsequent processing relating to execution of the generated second execution data Can be performed.
  • the processor further processes the execution of the generated first and / or second execution data with respect to the at least one third electronic device different from the first and / or second electronic device among the plurality of external electronic devices. Can be performed.
  • the at least one third electronic device may include a plurality of third electronic devices, and the electronic device may include a plurality of electronic devices in which the plurality of third electronic devices are distributed.
  • a control method of an electronic device comprising: performing a subsequent process relating to execution of the generated first execution data.
  • the method of controlling the electronic device includes storing source code of the application; Generating second parsing data corresponding to an event generated by the second electronic device when receiving an event signal corresponding to an event generated by the second electronic device different from the first electronic device among the plurality of external electronic devices; Generating second execution data corresponding to the generated second parsing data; The method may further include performing subsequent processing relating to the execution of the generated second execution data.
  • a communication unit communicating with a plurality of external electronic devices
  • a storage unit which stores parsing data of a predetermined application
  • An electronic device including a processor is disclosed.
  • the storage unit may classify and store parsing data of the predetermined application on a predetermined basis.
  • the predetermined criterion may include an event unit or an electronic device unit.
  • the storing may include classifying and storing parsing data of the predetermined application based on a predetermined criterion.
  • a first electronic device that determines whether an event occurs and transmits first parsing data corresponding to the generated event among parsing data of a stored application when the event occurs;
  • an application execution system including a second electronic device.
  • FIG. 1 is a block diagram illustrating a configuration of an application execution system according to an exemplary embodiment
  • FIG. 2 is a block diagram illustrating a configuration of a user terminal device according to an exemplary embodiment
  • FIG. 3 is a diagram illustrating source code of a service application
  • FIG. 4 is a diagram showing an example of a service selection screen of a remote control application
  • FIG. 5 is a flowchart illustrating a control method of a user terminal device according to an exemplary embodiment according to an exemplary embodiment
  • FIG. 6 is a block diagram showing a configuration of a network device according to an exemplary embodiment
  • Fig. 7 is a block diagram showing the configuration of a network device according to another exemplary embodiment.
  • FIG. 8 is a flowchart illustrating a control method of a network device according to an exemplary embodiment
  • FIG. 9 is a block diagram illustrating a configuration of an application execution system according to another exemplary embodiment.
  • FIG. 10 is a block diagram illustrating a configuration of a user terminal device according to still another exemplary embodiment
  • FIG. 11 is a block diagram illustrating a configuration of a network device according to another exemplary embodiment.
  • FIG. 11 is a block diagram illustrating a configuration of a network device according to another exemplary embodiment.
  • FIG. 12 is a block diagram showing a configuration of a network device according to another exemplary embodiment.
  • Fig. 13 is a flowchart illustrating a control method of a network device according to another exemplary embodiment.
  • FIG. 1 is a block diagram illustrating a configuration of an application execution system 100 according to an exemplary embodiment.
  • the application execution system 100 may execute a predetermined application, for example, an application that provides a service corresponding to an event generated by the user terminal device 120 (hereinafter, referred to as a service application). It includes a user terminal device 120, a network device 130, and the controlled device 140.
  • a service application an application that provides a service corresponding to an event generated by the user terminal device 120
  • It includes a user terminal device 120, a network device 130, and the controlled device 140.
  • the event refers to a user input or a command signal corresponding thereto that enables the controlled device 140 to determine to perform an operation for providing a predetermined service.
  • the predetermined service may include an operation of controlling basic functions of the controlled device 140 such as on / off and executing various functions of the controlled device 140 related to the user terminal device 120.
  • the user terminal device 120 and the network device 130 are interconnected through the network 110.
  • the network 110 includes a device or an infrastructure used by the user terminal device 120 and the network device 130 to perform communication in order to exchange information about a service corresponding to an event. It can be implemented in a wireless network.
  • the user terminal device 120 is an electronic device that generates an event related to a service and may include a portable terminal or a fixed terminal.
  • a portable terminal is a portable electronic device that can be easily carried, such as a video telephone, a mobile phone, a smart phone, a wideband code division multiple access (WCDMA) user terminal device, a universal mobile telecommunication service (UMTS) user terminal device, a PDA ( A personal digital assistant (PMP), a portable multimedia player (PMP), a digital multimedia broadcasting (DMB) user terminal device, an e-book, a portable computer (notebook, tablet, etc.), a digital camera, a remote controller, and the like.
  • the fixed terminal may be implemented as a desktop, a personal computer, a server computer, a smart TV, or the like.
  • the user terminal device 120 according to an exemplary embodiment will be described as an example of a smartphone.
  • the network device 130 is an electronic device for connecting the controlled device 140 to the network 110 and is connected to an access point (AP) of the network 110 such as a wired / wireless router. Accordingly, the network device 130 receives data related to the service from the user terminal device 120 through the network 110, transmits the data related to the service to the controlled device 140, and transmits the corresponding data received from the controlled device 140. The transmission may be transmitted to the user terminal device 120 through the network 110.
  • AP access point
  • the controlled device 140 is an electronic device having a communication function for communicating with the network device 130 and the user terminal device 120, and may include a light control box, a refrigerator, a washing machine, a TV, a gas valve control device, and the like. .
  • FIG. 2 is a block diagram illustrating a configuration of a user terminal device 120 according to an exemplary embodiment.
  • the user terminal device 120 has a parsing function capable of parsing a code of a service application, and includes a first communication unit 210, an audio processor 220, and a first user input unit 230. ), A first storage unit 240, a first processor 250, a camera unit 270, an image processor 280, and a first display unit 290.
  • the first communication unit 210 forms a communication channel with the outside, and performs a function of transmitting and receiving a radio signal of data input / output through an antenna under the control of the first processor 250. For example, in the case of transmitting a radio signal of data, after performing channel coding and spreading the data to be transmitted, RF processing is performed to transmit the radio signal. The RF signal is converted into a baseband signal, and the baseband signal is despreaded and channel decoded to restore data.
  • the first communication unit 210 may perform communication based on a publish-subscribe with the network device 130 and the controlled device 140 under the control of the first processor 250.
  • the first communication unit 210 may perform communication based on predetermined identification information.
  • the identification information may include at least one of an IP address, a Mac address, a unique ID, a device name, a model name, and a serial number of the network device 130 and the controlled device 140.
  • the identification information is received from the network device 130 and / or the controlled device 140 when the initial communication connection is established with the network device 130 and the controlled device 140 and stored in the first storage unit 240.
  • the first communication unit 210 may include a module for short-range wireless communication, such as Near Field Communication (NFC), Wireless Fidelity (WiFi), Bluetooth, and Infrared Data Association (hereinafter referred to as 'IrDA'). It may be implemented including at least one module of, Zigbee, WLAN, Ultra-Wideband (UWB).
  • NFC Near Field Communication
  • WiFi Wireless Fidelity
  • Bluetooth Bluetooth
  • 'IrDA' Infrared Data Association
  • Zigbee Zigbee
  • WLAN Wireless Fidelity
  • UWB Ultra-Wideband
  • the audio processor 220 modulates the voice signal input from the microphone MIC, converts the voice signal into voice data under the control of the first processor 250, and inputs the voice data and the first storage unit from the first communication unit 210.
  • the voice data stored in the 240 is demodulated into a voice signal and output as voice through the speaker SPK.
  • the first user input unit 230 receives a user input.
  • the first user input unit 230 may include a key input unit 235 and / or a touch sensor unit 237.
  • the key input unit 235 includes input keys or buttons formed on the front lower side or the side of a case (not shown) of the user terminal device 120.
  • the key input unit 235 generates a key signal related to the function control of the user terminal device 120 according to a user's input through an input key or buttons, and transmits the key signal to the first processor 250.
  • the key signal may include a power on / off signal, a volume control signal, and the like.
  • the touch sensor unit 237 is mounted on the front surface of the first display unit 290, and generates a touch input signal in response to a user's manipulation through a touch input tool such as a pen or a user's finger to the first processor 250. To pass.
  • the touch sensor unit 237 may be implemented in a resistive type, a capacitive type, a pressure type, or the like.
  • the first storage unit 240 may include a program memory and a data memory.
  • the program memory may store a control program for controlling the user terminal device 120 such as firmware or an operating system, a remote control application for controlling the controlled device 140 providing a service corresponding to an event, and various applications.
  • the remote control application executes, the service selection screen 400 is displayed as described below with reference to FIG. 4, and any one of a plurality of event selection items 410; 411, 413 is selected on the displayed service selection screen 400.
  • a service request signal hereinafter, referred to as a 'first service request signal'
  • the data memory performs a function of storing data generated while executing programs and / or various applications.
  • the data memory stores identification information of the network device 130 and the controlled device 140, source code of the service application, parsing data, and the like.
  • the source code of the service application may be downloaded from an application server 150 operated by a system builder or a company affiliated with the system builder.
  • the source code of the service application may be directly input and stored by the user.
  • the user terminal device 120 includes a service application creation function or an application, the source code of the service application may be created and stored in the user terminal device 120. As illustrated in FIG.
  • the source code 300 of the service application may be written to include the content of controlling the controlled device 140 by reflecting a user's request when building the application execution system 100.
  • the service application may include a script file written based on a scripting language such as JAVA, Phython, Groovy, or JavaScript.
  • the parsing data is parsing data such as a parsing tree or a syntax tree obtained as a result of parsing the source code of the service application through the parser 260 of the first processor 250 which will be described later.
  • the first storage unit 240 may be stored in an event unit or a controlled device unit.
  • the first storage unit 240 may be a flash memory type, a hard disk type, a multimedia card micro type, a card type memory (for example, an SD or XD memory). Etc.), random access memory (RAM), static random access memory (SRAM), read-only memory (ROM), electrically erasable programmable read-only memory (EPEROM), programmable read-only memory (PROM),
  • the storage medium may be implemented by at least one type of magnetic memory, magnetic disk, or optical disk.
  • the first processor 250 controls the overall operation of the user terminal device 120, and in particular, controls the function of the user terminal device 120 according to an input signal received from the first user input unit 230.
  • the first processor 250 may include a CPU and a RAM for executing programs and various applications stored in the first storage unit 240.
  • the first processor 250 according to the present invention, the service request signal including a function of parsing the source code of the service application and the parsing data corresponding to the event generated by the user's input (hereinafter, 'first service request Signal ') to the network device 130.
  • the first processor 250 includes a parser 260 and an event manager 265.
  • the parser 260 and the event manager 265 may be implemented as a program written in a C / C ++ language.
  • parser 260 and event manager 265 may be implemented in hardware, such as an application specific integrated circuit (ASIC).
  • ASIC application specific integrated circuit
  • the parser 260 parses the source code of the service application downloaded from the application server 150 or input or written by the user according to grammar rules to generate parsing data that the network device 130 can interpret.
  • the parsing data may include a parsing tree or a syntax tree.
  • the parser 260 stores the generated parsing data in the first storage unit 240 on an event basis.
  • the parsing data corresponds to code portions 301, 303, 305, 308, 309, 309, and 311 of the source code 300 of the service application corresponding to the events. Are broken down and stored. Accordingly, when an event corresponding to a service occurs by a user input through the first user input unit 230, a part of parsing data corresponding to the generated event provides the corresponding service by the event manager 265.
  • the light control box 141, the refrigerator 143, or the washing machine 145 of the device 140 may be transmitted to the connected network device 130.
  • the network device 130 processes the portion of the received parsing data to generate execution data, as described below with respect to FIG. As a result, when a problem occurs at runtime, the network device 130 may sandbox the parsing data and / or the execution data generated therein on an event basis. Accordingly, the network device 130 may process parsing data and / or execution data faster than when sandboxing the source code of the service application in the unit of a whole script as in the related art.
  • the parsing data may also be stored in units of the controlled device.
  • the parsing data includes source code 300 of a service application corresponding to the light control box 141, the refrigerator 143, and the washing machine 145 of the controlled device 140.
  • the code portions 306, 313, and 315 of FIG. 3 may be divided and stored.
  • a part of the parsing data corresponding to the generated event is determined by the event manager 265 by the light control box 141, the refrigerator 143, and / or the washing machine of the controlled device 140. 145) may be transmitted to the connected network device 130.
  • the network device 130 may sandbox the parsed data and / or execution data generated therein in units of the controlled device.
  • the event manager 265 displays a service selection screen 400 (see FIG. 4) on the first display unit 290.
  • the remote control application may be executed by selecting a remote control application icon (not shown) displayed on a home screen (not shown) of the user terminal device 120.
  • the service selection screen 400 includes a plurality of event selection items 410 corresponding to the controlled device 140 and / or portions of parsing data stored in an event unit.
  • the plurality of event selection items 410 include door light off item 411, emergency light on and alarm item 412, refrigerator recommendation list notification item 413, mobile phone data synchronization item 414, and recommendation list output item 415. And the like.
  • the event manager 250 may select one item from among the plurality of event selection items 410, for example, an entrance door off item 411, by a user input through the first user input unit 230.
  • the first service request includes a part of parsing data corresponding to a code part 301 of a service application associated with a selected door light off item 411 among parsing data stored at 240, and includes a part of the retrieved parsing data.
  • the front door off item 411 is an item that generates an event for requesting a service to turn off all the lights including the front door if all the members went out.
  • the event manager 250 transmits the generated first service request signal to the corresponding controlled device 140, that is, the network device 130 to which the light control box 141 is connected.
  • the first service request signal may further include identification information of the network device 130 to be transmitted, in addition to the searched parsing data, and data information related to the selected event selection item, that is, the door item 411.
  • the data information includes a name of the selected front door off item 411, a name or identification ID of parsing data corresponding to the selected front door off item 411, and a light control box 141 associated with the selected front door off item 411. At least one of an IP address, a Mac address, a unique ID, a device name, a model name, and a serial number.
  • the event manager 250 selects two or more of the plurality of event selection items 410, for example, a door light off item 411 and a refrigerator recommendation list notification item 413, by a user input.
  • the first service request signal corresponding to the first and second services 411 and 413 is generated, and the generated first service request signal is connected to the controlled devices 140, that is, the light control box 141 and the refrigerator 143.
  • the first service request signal includes identification information of the network device 130 to be transmitted, data information related to the selected event selection items 411 and 413, and parts of parsing data corresponding to the selected event selection items 411 and 413. Include.
  • the refrigerator recommendation list notification item 413 generates a recommendation list related to the refrigerator 143 based on the recent interest information of the user's mobile phone facing the refrigerator 143 and requests a service to be displayed on the display unit of the refrigerator 143. This item generates an event to do this.
  • the camera unit 270 photographs image data, and includes a camera sensor for converting the photographed optical signal into an electrical signal, and a signal processor for converting the analog image signal photographed from the camera sensor into digital data. It is provided.
  • the image processor 280 performs an image signal processing (ISP) for displaying the image signal output from the camera unit 270 on the first display unit 290.
  • ISP image signal processing
  • the first display unit 290 displays an image signal output from the image processor 280 on a screen and displays data output from the first processor 250.
  • the first display unit 290 may be implemented as an LCD.
  • the first display unit 290 may include an LCD controller, a memory capable of storing image data, and an LCD display device.
  • the first display unit 290 includes a touch sensor unit 237 on the front surface.
  • the first processor 250 of the user terminal device 120 prepares parsing data of the source code of the service application (S100). That is, the first processor 250 parses the source code of the service application downloaded from the application server 150 or directly input or written by the user according to a user input through the user input unit 230, and then parses the parsed data. It is stored in the first storage unit 240 in units of events.
  • the first processor 250 determines whether an event occurs in the user terminal device 120 (S110). That is, the first processor 250 may be configured to control the control device 140; It is determined whether to select one or more event selection items corresponding to the function, for example, an entry item 411 such as a doorway.
  • the first processor 250 stores the first storage.
  • the parsing data of the code portion of the service application corresponding to the off door entry 411 selected from the parsing data of the source code of the service application stored in the unit 240 is read.
  • the first processor 250 is a network device to which the controlled device 140 corresponding to the first service request signal corresponding to the event associated with the selected door lamp off item 411, that is, the light control box 141 is connected.
  • the data is transmitted together with the parsing data.
  • the first service request signal includes identification information of the network device 130 to be transmitted in addition to parsing data corresponding to the selected door lamp off item 411 and data information related to the selected door lamp off item 411.
  • FIG. 6 is a block diagram illustrating a network device 130 according to an exemplary embodiment.
  • the network device 130 is an electronic device such as a hub or a bridge connecting the controlled device 140 to the network 110, and is formed separately from the user terminal device and the controlled device 140.
  • the network device 130 generates execution data by converting parsing data of the service application received from the user terminal device 120 into a binary format according to the present invention, and performs subsequent processing on execution of the generated execution data.
  • the network device 130 includes a second communication unit 510, a second storage unit 520, and a second processor 530.
  • the second communication unit 510 is a communication unit for transmitting and receiving a signal, and is installed in an AP such as a wired / wireless router so as to be connected to the network 110, and is wired to the controlled device 140.
  • the second communication unit 510 may be implemented as a wired connection module such as USB, MHL (Mobile high-definition link).
  • the second communication unit 510 communicates with the user terminal device 120 and the controlled device 140 based on the publish-subscribe under the control of the second processor 530. That is, the second communication unit 510 may perform communication based on predetermined identification information.
  • the identification information is received from the user terminal device 120 and the controlled device 140 when the initial communication connection is established with the user terminal device 120 and the controlled device 140 under the control of the second processor 530. It is stored in the storage unit 520.
  • the second storage unit 520 may include a program memory and a data memory.
  • the program memory stores a control program for controlling the network device 130 such as firmware.
  • the data memory stores data generated during the operation of the network device 130.
  • the data memory stores parsing data received from the user terminal device 120 and execution data generated by the application engine 550 described later based on the parsing data under the control of the second processor 530. Can be stored in units of control unit.
  • the data memory stores identification information of the user terminal device 120 and the controlled device 140.
  • the second storage unit 520 may be a flash memory type, a hard disk type, a multimedia card micro type, a card type memory (for example, SD or XD memory), RAM, SRAM.
  • the storage medium may be implemented as at least one type of ROM, EEPROM, PROM, magnetic memory, magnetic disk, or optical disk.
  • the second processor 530 is a main controller of the network device 130 and controls the overall operation of the network device 130.
  • the second processor 530 may include a CPU and a RAM for executing programs and various applications stored in the first storage unit 520.
  • the second processor 530 converts the parsing data of the service application received from the user terminal device 120 into a binary format to generate execution data such as a binary executable file, and to perform subsequent processing on execution of the generated execution data. It performs the function.
  • the first processor 530 includes a device manager 540 and an application engine 550.
  • the device manager 540 and the application engine 550 may be implemented as a program written in a C / C ++ language.
  • device manager 540 and application engine 550 may be implemented in hardware such as an ASIC.
  • the device manager 540 controls the operation of the application engine 550 according to the signal received through the second communication unit 510.
  • the device manager 540 when the device manager 540 receives a signal from the user terminal device 130 through the second communication unit 510, the signal received through the identification information included in the received signal is transmitted to the network device 130. Determine if it is a signal.
  • the device manager 540 selects an event in which the received signal is selected by the user in the user terminal device 120 through data information included in the received signal. It is determined whether the first service request signal includes parsing data corresponding to the items 410; 411, 412, 413, 414, and / or 415.
  • the device manager 540 controls the second communication unit 510 to directly transmit the received first service request signal to the application engine 550. do.
  • the application engine 550 generates execution data by converting parsing data included in the first service request signal transmitted from the second communication unit 510 into a binary format, and performs subsequent processing on execution of the generated execution data. .
  • the application engine 550 converts the parsing data into a binary format to execute the corresponding service. Generate a binary executable file to control 141. Subsequently, the application engine 550 executes the binary executable file and transmits a control command corresponding to the service to the light control box 141.
  • the light control box 141 controls to turn off the front door and all other lights by counting the number of entrance doors through the infrared sensors of the front door inside and outside the door according to the control command, and counting the number of entrance doors.
  • the application engine 550 may be configured to select the selected door light off item 411.
  • a binary executable file corresponding to the refrigerator recommendation list notification item 413 is generated, and the generated binary executable file is executed to transmit control commands corresponding to the service to the lamp control box 141 and the refrigerator 143, respectively.
  • the light control box 141 controls the lights as described above according to the control command.
  • the refrigerator 143 recognizes the user based on the user image photographed by the camera of the refrigerator 143 and the user information stored in the storage unit, requests the recent interest information from the recognized user's mobile phone, and receives the received recent interest information.
  • the internal components are controlled to generate a recommendation list related to the refrigerator 143 based on the display unit of the refrigerator 143 and display the recommendation list.
  • the network device 130 is illustrated and described as being formed separately from the user terminal device 120 and the controlled device 140, the present invention is not limited thereto.
  • the network device 130 may be embedded in the user terminal 120 implemented as a smart TV.
  • the network device 130 may be embedded in the controlled device 140 implemented as a smart TV.
  • the network device 130 is illustrated and described as being composed of a single network device, the present invention is not limited thereto.
  • the network device 130 ′ includes a main hub device 131, a first bridge device 133 connected to the main hub device 131, and a sub connected to the main hub device 131. It may be implemented as a hub device 135 and a second bridge device 136 connected to the sub hub device 135.
  • the devices 131, 133, 135, and 136 may each have the same configuration as the network device 130 described with reference to FIG. 6.
  • the light control box 141 ′, the refrigerator 143 ′, and the first and second washing machines 145 ′ and 145 ′′ may be distributedly connected to the first and second bridge devices 133 and 136.
  • the light control box 141 ′ and the refrigerator 143 ′ are connected to the first bridge device 133, and the first washing machine 145 ′ and the second washing machine 145 ′′ are connected to the second bridge device 136. Connected.
  • the bridge device 133, the sub hub device 135, and the first hub device 136 may not only be implemented as low specification devices, but also may quickly perform execution data generation and subsequent processing.
  • the main hub device 131 may be configured to collectively manage the devices 131, 133, 135, 136 of the network device 130 ′.
  • the device manager of the main hub device 131 may be integrated to perform a function of the device manager for controlling the device manager.
  • the first bridge device 133, the sub hub device 135, and the second hub device 136 may be implemented with lower specifications than the main hub device 131, and thus, manufacturing cost may be reduced. have.
  • the device manager 540 of the second processor 530 is a network signal received through the identification information included in the received signal It is determined whether the signal is transmitted to the device 130.
  • the device manager 540 selects an event in which the received signal is selected by the user in the user terminal device 120 through data information included in the received signal. It is determined whether the first service request signal includes parsing data corresponding to the items 410 (411, 412, 413, 414, and / or 415), for example, an entry item 411 (S200).
  • the device manager 540 may transfer the received first service request signal directly to the application engine 550.
  • the second communication unit 510 is controlled (S210).
  • the application engine 550 converts parsing data corresponding to the door light off item 411 included in the first service request signal from the user terminal device 120 into a binary format to execute execution data, for example, a light control box 141. Generate a binary executable file to control (S220).
  • the application engine 550 performs subsequent processing on execution of the generated execution data (S230). That is, the second processor 530 executes the generated binary executable file and transmits a control command corresponding to the service to the light control box 141.
  • the light control box 141 controls to turn off the front door and all other lights by counting the number of entrance doors through the infrared sensors of the front door inside and outside the door according to the control command, and counting the number of entrance doors.
  • FIG. 9 is a block diagram illustrating a configuration of an application execution system 100 ′ according to another exemplary embodiment.
  • the application execution system 100 ′ includes a user terminal device 120 ′, a network device 130 ′, and a controlled device 140.
  • the user terminal device 120 ′ includes first and second user terminal devices 121 and 125.
  • the first user terminal device 121 is an electronic device capable of providing parsing data in response to an event, such as the user terminal device 120 of the application execution system 100 illustrated in FIG. 2, and the user terminal device 120.
  • the configuration and operation are the same. Therefore, detailed description thereof will be omitted.
  • FIG. 10 is a block diagram illustrating a configuration of a second user terminal device 125 according to an exemplary embodiment.
  • the second user terminal device 125 does not provide parsing data in response to an event, and simply requests a service request signal (eg, a request for a service corresponding to the event).
  • a service request signal eg, a request for a service corresponding to the event.
  • only the 'second service request signal' is generated and transmitted to the network device 130 '.
  • the second user terminal device 125 is the same as the first user terminal device 121 except for the first storage unit 240 'and the first processor 250'. Therefore, only the first storage unit 240 'and the first processor 250' are described in detail below.
  • the first storage unit 240 ′ stores only a remote control application for controlling the controlled device 140 that provides a service corresponding to an event, without storing a service application.
  • the remote control application selects the selected event selection item when the user selects any one of the plurality of event selection items 400 (411, 412, 413, 414, 415) from the same selection screen as the selection screen 400 shown in FIG.
  • the second service request signal is an event signal for requesting a service, and, unlike the first service request signal, data related to identification information of the controlled device 140 corresponding to the selected event items 411 and 413 and the selected event item information. Include only information.
  • the first processor 250 ′ includes only the event manager 265.
  • the event manager 265 selects at least one of the plurality of event selection items 400 (411, 412, 413, 414, 415) on the selection screen 400 displayed after the user executes the remote control application.
  • the second service request signal corresponding to the selection items 411, 412, 413, 414, and / or 415 is selected as the service associated with the event corresponding to the selected event item 411, 412, 413, 414, and / or 415.
  • the light control box 141, the refrigerator 143, and / or the washing machine 145 of the controlled device 140 may be transmitted to the connected network device 130 ′.
  • the rest of the configuration of the second user terminal device 125 is the same as that of the first user terminal device 121. Therefore, detailed description thereof will be omitted.
  • FIG. 11 is a block diagram illustrating a configuration of a network device 130 ′′ according to an exemplary embodiment.
  • the network device 130 ′′ includes a second communication unit 510, a second storage unit 520 ′, and a second processor 530 ′.
  • the network device 130 ′′ is identical to the network device 130 of the application execution system 100 illustrated in FIG. 5 except for the second storage unit 520 ′ and the second processor 530 ′. Therefore, only the second storage unit 520 'and the second processor 530' will be described in detail below.
  • the second storage unit 520 ′ compares the second storage unit 520 with a plurality of event selection items 400; 411, 412, 413, 414, 415 of the remote control application executed in the user terminal device 120. ) Further stores the source code of the service application corresponding to the service provided by the controlled device 140 connected to the network device 130 ".
  • the network device 130 If the light control box 141, the refrigerator 140 and the washing machine 145 are connected to the controlled device 140, the service provided by the light control box 141, the refrigerator 140 and the washing machine 145 Store the source code of the corresponding service application, the source code of the service application is stored in advance according to the system design at the time of construction of the application execution system 100, downloaded from the application server 150 by the user or directly It may be input store.
  • the second processor 530 ′ includes a device manager 540 ′, an application engine 550 ′, and a parser 545.
  • the device manager 540 ', the application engine 550', and the parser 545 may be implemented as a program written in a C / C ++ language.
  • the device manager 540 ', the application engine 550', and the parser 545 may be implemented in hardware such as an ASIC.
  • the device manager 540 ', the application engine 550', and the parser 545 ' are functions of the device manager 540 and the application engine 550 of the second processor 530 shown in FIG. Performs the function of integrating the functions of the parser 260 of the first processor 250.
  • the device manager 540 ′ and the application engine 550 ′ are illustrated in FIG. 6.
  • the device manager 540 ′ and the application engine 550 ′ may be configured as the second server shown in FIG. 6. It operates differently from the device manager 540 and the application engine 550 of the processor 530.
  • the device manager 540 ′ may display the second user terminal device based on the data information included in the second server request signal.
  • the parser 545 transmits a parsing data request signal for requesting parsing data of a code part of the service application.
  • the parser 545 may include a code part corresponding to the identified porch off item 411 among the source codes of the service application stored in the second storage unit 520 'according to the parsing data request signal received from the device manager 545.
  • Parse generates parsing data, and passes the generated parsing data to the application engine 550 '.
  • the generated parsing data and execution data may be stored in the second storage unit 520 'in an event unit or a controlled device unit.
  • the application engine 550 ′ generates execution data based on the parsing data delivered from the parser 545, and performs subsequent processing on the execution of the generated execution data.
  • the application engine 550 ′ converts parsing data transmitted from the parser 545 into a binary format to make a binary executable file for controlling the light control box 141, and executes the generated binary executable file to control the light.
  • the control command corresponding to the service is transmitted to the box 141.
  • the light control box 141 controls to turn off the front door and all other lights by counting the number of entrance doors through the infrared sensors of the front door inside and outside the door according to the control command, and counting the number of entrance doors.
  • the network device 130 ′′ has the same configuration as that of the network device 130, the network device 130 ′′ is formed separately from the first or second user terminal device 121 or 125 and the controlled device 140.
  • the present invention is not limited thereto.
  • the network device 130 ′′ may be a first or second user terminal implemented as a smart TV. It may be embedded within the device 121, or 125.
  • the network device 130 ′′ may be connected to the controlled device 140 (141, 143 or 145) implemented as a smart TV. It can be built in.
  • the network device 130 ′′ is illustrated and described as being configured as a single network device, the present invention is not limited thereto.
  • the network device 130 ′′ ′ may be a main hub device ( 131 ′, the first bridge device 133 ′ connected to the main hub device 131 ′, the sub hub device 135 ′ connected to the main hub device 131 ′, and the sub hub device 135 ′. It may be implemented as a connected second bridge device 136 ′.
  • the devices 131 ′, 133 ′, 135 ′, and 136 ′ may each have the same configuration as the network device 130 ′′ shown in Fig. 11.
  • the light control box 141 ′′ The refrigerator 143 "and the first and second washing machines 145" and 145 "'may be distributedly connected to the first and second bridge devices 133' and 136 '.
  • the first bridge device ( 133 ′ is connected to the light control box 141 ′′ and the refrigerator 143 ′′, and a first washing machine 145 ′′ and a second washing machine 145 ′ ′ are connected to the second bridge device 136 ′.
  • main hub device 131 ' the first bridge device 133', the sub hub device 135 'and the second bridge device 136', respectively.
  • the main hub device 131 ′, the first bridge device 133 ′, the sub hub device 135 ′, and the first hub device 136 ′ may not only be implemented as low specification devices but also parse data. Generation and / or execution Data generation and subsequent processing can be performed quickly.
  • the main hub device 131 ' may be configured to collectively manage the network device 130 "'.
  • the main hub device 131 ', the first bridge device 133', the sub In each of the hub device 135 ′ and the second hub device 136 ′ the device manager functions to control the operation of the application engine according to signals received from the first and second user terminals 121 and 125.
  • the device manager of the hub device 131 ' may be implemented to perform integrally, in this case, the first bridge device 133', the sub hub device 135 'and the second hub device 136' are the main hub. It can be implemented with a lower specification than the device 131 ′, and thus the manufacturing cost can be reduced.
  • the device manager 540 ′ of the second processor 530 ′ receives the received signal through the identification information included in the received signal. Is determined to be transmitted to the network device 130 ", the received signal is selected by the user through the data information included in the received signal, and the event selection item 400; 411, 412, It is determined whether the first service request signal includes parsing data corresponding to 413, 414, and / or 415 (S300).
  • the device manager 540 ′ is received like the device manager 540 of the second processor 530 illustrated in FIG. 6.
  • the second communication unit 510 is controlled to directly transfer the first service request signal to the application engine 550 '(S310).
  • the application engine 550 ′ converts parsing data of the first service request signal transmitted from the second communication unit 510 into a binary format and executes the binary executable file. Data is generated (S320) and subsequent processing related to the execution of the generated execution data is performed (S330).
  • the device manager 540 ′ selects an event in which the received signal is selected by the user through data information included in the received signal. It is determined whether the second service request signal includes only data information and identification information on items 411, 412, 413, 414, and / or 415 (S340).
  • the device manager 540 ′ may determine the code portion of the service execution file corresponding to the selected event selection item 411 and / or 413.
  • the parsing data request signal requesting the parsing data is transmitted to the parser 545 together with data information about the selected event selection item 411, 412, 413, 414 and / or 415 included in the second service request signal (S350). ).
  • the parser 545 may store the second storage unit 520 based on data information about the event selection items 411, 412, 413, 414, and / or 415 selected according to the parsing data request signal received from the device manager 540 ′. Parsing a corresponding code portion of the source code of the service application stored in ') to generate parsing data, and transmits the generated parsing data to the application engine 550' (S360).
  • the application engine 550 ′ converts the parsing data transferred from the parser 545 into a binary format to generate execution data such as a binary executable file (S370), and performs subsequent processing on execution of the generated execution data (S370). S380).
  • the control method of the user terminal device 120 and the method of providing information, the service application, and the remote control application of the network device 130, 130 ′, 130 ′′, 130 ′′ according to the embodiments described above are performed through various computer means. It may be embodied in the form of program instructions, which can be recorded on a computer readable medium.
  • the computer readable medium may include program instructions, data files, data structures, etc. alone or in combination. Program instructions recorded on the media may be those specially designed and constructed for the purposes of the present invention, or they may be of the kind well-known and available to those having skill in the computer software arts.
  • the service corresponding to the event In order to execute the provided service application, the user terminal devices 120 and 121 parse the source code of the service application, and the network devices 130 and 130 'generate the execution data of the service application and generate the generated execution data. Perform the process of performing subsequent processing on the execution of the. Accordingly, the user terminal devices 120 and 121 and the network devices 130 and 130 ′ may execute a service application without using a high specification component and / or a JVM. In addition, the network devices 130 and 130 'can easily remove the overhead of communication overhead even when a plurality of controlled devices 140 (141, 141', 143, 143 ', 145, 145', 145 ”) are connected. Can be.
  • the user terminal devices 120 and 121 and the network devices 130, 130 ′, 130 ′′, and 130 ′′ respectively perform parsing, execution data generation, and subsequent processing of source code of a service application in event units and / or Process in units of controlled devices. Accordingly, the user terminal devices 120 and 121 and the network devices 130, 130 ′, 130 ′′, and 130 ′′ ′ may be implemented as lower specification devices.
  • the network device 130, 130 ', 130 ", 130"' when parsing occurs at run time, parsing data and / or execution data than when sandboxing the source code of the service application in the unit of the entire script as in the prior art Can be processed quickly.
  • the network devices 130' and 130" may be connected to the plurality of devices 131, 133, 135 and 136; 131 ', 133', 135 'and 136'. And controlled devices 141 ', 143', 145 ', 145 "; 141", 143 ", 145", 145 “' to distribute relevant parsing data generation and / or execution data generation and subsequent processing.
  • the devices 131, 133, 135, 136; 131 ', 133', 135 ', 136' are each of lower specification.
  • parsing data generation and / or execution data generation and subsequent processing can be performed quickly.

Abstract

어플리케이션의 실행 시 어플리케이션의 소스 코드를 파싱하는 과정과 어플리케이션의 실행데이터를 생성하고 생성된 실행데이터의 실행에 관한 후속처리를 수행하는 과정을 분리하여 수행하도록 함으로서 고 사양의 부품 및/또는 JVM을 사용하지 않고 어플리케이션을 실행할 수 있게 한 전자장치, 어플리케이션 실행 시스템 및 그 제어방법이 개시된다. 전자장치는 복수의 외부 전자장치와 통신하는 통신부와; 상기 복수의 외부 전자장치 중 제1전자장치로부터 상기 제1전자장치에 설치된 어플리케이션의 파싱 데이터 중 상기 제1전자장치에서 발생된 이벤트에 대응하는 제1 파싱 데이터를 수신하고, 상기 수신된 제1 파싱 데이터에 대응하는 제1 실행 데이터를 생성하며, 상기 생성된 제1 실행 데이터의 실행에 관한 후속 처리를 수행하는 프로세서를 포함한다.

Description

전자장치, 어플리케이션 실행 시스템 및 그 제어방법
사물인터넷, 홈네트워크와 같은 네트워크 시스템의 프레임워크(framework)에 관한 것으로, 보다 상세하게는, 어플리케이션의 실행 시 어플리케이션의 소스 코드를 파싱(parsing)하는 과정과 어플리케이션의 실행 데이터를 생성하고 생성된 실행 데이터의 실행에 관한 후속처리를 수행하는 과정을 분리하여 수행하도록 함으로서 고 사양의 부품 및/또는 JVM(Java Virtual Machine)을 사용하지 않고 어플리케이션을 실행할 수 있게 한 프레임워크를 구비하는 전자장치, 어플리케이션 실행 시스템 및 그 제어방법에 관한 것이다.
사물인터넷, 홈네트워크와 같은 네트워크 시스템은 가정, 사무실 등에서 PC, 주변기기, 휴대폰, 가전제품 등의 전자장치들을 네트워크로 연결하여 상호 지능적 협력관계를 형성하는 시스템이다.
이러한 네트워크 시스템은 통상 분산되어 있는 가정 또는 사무실 내의 장치들에 미들웨어(middleware)라 불리우는 공통의 가상 컴퓨팅환경을 구축하고 그 위에 어플리케이션을 제공하는 방식으로 구성되고 있다.
그러나, 미들웨어에 사용되는 장치들은 대부분 어플리케이션을 실행하기 위해 어플리케이션의 소스 코드를 파싱하는 과정과 파싱된 데이터를 이용하여 실제 실행될 수 있는 바이너리 파일과 같은 실행 데이터를 생성하고 생성된 실행 데이터의 실행에 관한 후속처리를 수행하는 과정을 일괄적으로 수행한다. 예컨대, 클라이언트 장치는 어플리케이션을 실행하기 위해, 서버 장치로부터 파싱 과정과 실행데이터 생성 및 후속처리 과정을 통해 생성된 실제 실행될 수 있는 실행파일을 수신하거나, 서버 장치로부터 어플리케이션의 소스 코드를 수신하여 파싱 과정과 실행데이터 생성 및 후속처리 과정을 통해 실제 실행될 수 있는 실행파일을 생성한다. 따라서, 서버 또는 클라이언트 장치는 파싱 과정과 실행데이터 생성 및 후속처리 과정을 일괄적으로 실행할 수 있는 고 사양의 CPU와 대용량의 메모리를 필요로 한다. 그 결과, 서버 또는 클라이언트 장치의 제작 코스트가 증가될 수 있다.
또한, 서버 또는 클라이언트 장치는 복수의 다양한 장치들이 접속될 경우 접속된 장치들과의 통신에 시간을 소모하는 통신 오버헤드의 부하가 증가될 수 있다. 그러나, 서버 또는 클라이언트 장치는 파싱 과정과 실행데이터 생성 및 후속처리 과정을 일괄적으로 수행하므로, 통신 오버헤드의 부하를 쉽게 해소하기 어려운 문제가 있다.
또한, 일부 미들웨어는 특정 언어만 지원하는 어플리케이션 엔진을 기반으로 동작한다. 예컨대, Jini는 자바 언어로 작성된 자바 어플리케이션을 실행시켜 주는 JVM(Java Virtual Machine)을 탑재한다. JVM은 자바 어플리케이션의 소스 코드를 파싱한 다음 컴파일하여 실제 실행될 수 있는 네이티브 코드 또는 머신 코드로 변환한다. 따라서, Jini의 장치들 역시 각각 JVM을 구동할 수 있는 고 사양의 CPU와 많은 용량의 메모리를 필요로 한다. 그 결과, 장치들의 제작 코스트가 증가될 수 있다. 또한, 특정 장치에 복수의 다양한 장치들이 접속될 경우 통신 오버헤드의 부하가 증가될 수 있다. 그러나, JVM 역시 파싱 과정과 컴파일 과정을 일괄적으로 수행하므로, 해당 장치는 통신 오버헤드의 부하를 쉽게 해소하기 어려운 문제가 있다. 또한, JVM은 런타임 시 문제가 발생할 경우 어플리케이션을 스크립트 단위로 샌박스(Sandbox) 처리한다. 이 경우, JVM의 어플리케이션 실행 속도가 느려질 수 있다.
어플리케이션의 실행 시 파싱 과정과 실행데이터 생성 및 후속처리 과정을 분리하여 수행하도록 함으로써 고 사양의 부품 및/또는 JVM을 사용하지 않고 어플리케이션을 실행할 수 있게 한 전자장치, 어플리케이션 실행 시스템 및 그 제어방법을 제공한다.
일 측면에 있어서,
복수의 외부 전자장치와 통신하는 통신부와;
상기 복수의 외부 전자장치 중 제1 전자장치로부터 상기 제1 전자장치에 저장된 어플리케이션의 파싱 데이터 중 상기 제1 전자장치에서 발생된 이벤트에 대응하는 제1 파싱 데이터를 수신하고, 상기 수신된 제1 파싱 데이터에 대응하는 제1 실행 데이터를 생성하며, 상기 생성된 제1 실행 데이터의 실행에 관한 후속 처리를 수행하는 프로세서를 포함하는 전자장치가 개시된다.
상기 어플리케이션은 스크립트 언어 기반으로 작성된 스크립트 파일을 포함할 수 있다.
상기 전자장치는 상기 복수의 외부 전자장치와 별도로 형성될 수 있다. 선택적으로, 상기 전자장치는 상기 복수의 외부 전자장치 중 적어도 하나에 내장될 수 있다.
선택적으로, 상기 전자장치는 상기 어플리케이션의 소스 코드를 저장하는 저장부를 더 포함할 수 있다. 이 때, 상기 프로세서는 상기 복수의 외부 전자장치 중 상기 제1 전자장치와 다른 제2 전자장치에서 발생된 이벤트에 대응하는 이벤트 신호를 수신할 경우 상기 저장부에 저장된 어플리케이션의 소스 코드에 기초하여 상기 제2 전자장치에서 발생된 이벤트에 대응하는 제2 파싱 데이터를 생성하고, 상기 생성된 제2 파싱 데이터에 대응하는 제2 실행 데이터를 생성하며, 상기 생성된 제2 실행 데이터의 실행에 관한 후속 처리를 수행할 수 있다.
상기 프로세서는 상기 복수의 외부 전자장치 중 상기 제1 및/또는 제2 전자장치와 다른 상기 적어도 하나의 제3 전자장치에 대하여 상기 생성된 제1 및/또는 제2 실행 데이터의 실행에 관한 후속 처리를 수행할 수 있다.
또한, 상기 적어도 하나의 제3 전자장치는 복수의 제3 전자장치를 포함하며, 상기 전자장치는 복수의 제3 전자장치가 분산 연결된 복수의 전자장치를 포함할 수 있다.
또 다른 측면에 있어서,
복수의 외부 전자장치 중 제1 전자장치로부터 상기 제1 전자장치에 저장된 어플리케이션의 파싱 데이터 중 상기 제1 전자장치에서 발생된 이벤트에 대응하는 제1 파싱 데이터를 수신하는 단계와;
상기 수신된 제1 파싱 데이터에 대응하는 제1 실행 데이터를 생성하는 단계와;
상기 생성된 제1 실행 데이터의 실행에 관한 후속 처리를 수행하는 단계;를 포함하는 전자장치의 제어방법이 개시된다.
선택적으로, 상기 전자장치의 제어방법은 상기 어플리케이션의 소스 코드를 저장하는 단계와; 상기 복수의 외부 전자장치 중 상기 제1 전자장치와 다른 제2 전자장치에서 발생된 이벤트에 대응하는 이벤트 신호를 수신할 경우 상기 제2 전자장치에서 발생된 이벤트에 대응하는 제2 파싱 데이터를 생성하는 단계와, 상기 생성된 제2 파싱 데이터에 대응하는 제2 실행 데이터를 생성하는 단계와; 상기 생성된 제2 실행 데이터의 실행에 관한 후속 처리를 수행하는 단계를 더 포함할 수 있다.
또 다른 측면에 있어서,
복수의 외부 전자장치와 통신하는 통신부와;
소정 어플리케이션의 파싱 데이터를 저장하는 저장부와;
이벤트가 발생하는 지를 판단하고, 상기 이벤트가 발생하는 경우 상기 저장부에 저장된 어플리케이션의 파싱 데이터 중 상기 발생된 이벤트에 대응하는 제1 파싱 데이터를 상기 복수의 외부 전자장치 중 제1 전자장치에 전송하는 프로세서를 포함하는 전자장치가 개시된다.
상기 저장부는 상기 소정 어플리케이션의 파싱 데이터를 소정기준으로 분류하여 저장할 수 있다. 이때, 소정기준은 이벤트 단위 또는 전자장치 단위를 포함할 수 있다.
또 다른 측면에에 있어서,
어플리케이션의 파싱 데이터를 저장하는 단계와;
이벤트가 발생하는 지를 판단하는 단계와;
상기 이벤트가 발생하는 경우 상기 저장된 어플리케이션의 파싱 데이터 중 상기 발생된 이벤트에 대응하는 제1 파싱 데이터를 복수의 외부 전자장치 중 제1 전자장치에 전송하는 단계;를 포함하는 전자장치가 개시된다.
상기 저장단계는 상기 소정 어플리케이션의 파싱 데이터를 소정기준으로 분류하여 저장하는 단계를 포함할 수있다.
또 다른 측면에에 있어서,
이벤트가 발생하는 지를 판단하고, 상기 이벤트가 발생하는 경우 저장된 어플리케이션의 파싱 데이터 중 상기 발생된 이벤트에 대응하는 제1 파싱 데이터를 전송하는 제1전자장치와:
상기 제1 전자장치로부터 상기 제1 파싱 데이터를 수신하고, 상기 수신된 제1 파싱 데이터에 대응하는 제1 실행 데이터를 생성하며, 상기 생성된 제1 실행 데이터의 실행에 관한 후속 처리를 수행하는 제2 전자장치;를 포함하는 어플리케이션 실행 시스템이 개시된다.
도 1은 예시적인 실시 예에 따른 어플리케이션 실행 시스템의 구성을 도시하는 블록도,
도 2는 예시적인 실시 예에 따른 사용자단말 장치의 구성을 도시하는 블록도,
도 3은 서비스 어플리케이션의 소스 코드를 예시하는 도면,
도 4는 원격제어 어플리케이션의 서비스 선택화면의 예를 도시하는 도면,
도 5는 예시적인 실시 예에 따른 예시적인 실시예에 따른 사용자단말 장치의 제어 방법을 도시하는 플로우챠트,
도 6은 예시적인 실시 예에 따른 네트워크 장치의 구성을 도시하는 블록도,
도 7은 또 다른 예시적인 실시 예에 따른 네트워크 장치의 구성을 도시하는 블록도,
도 8은 예시적인 실시 예에 따른 네트워크 장치의 제어 방법을 도시하는 플로우챠트,
도 9는 또 다른 예시적인 실시 예에 따른 어플리케이션 실행 시스템의 구성을 도시하는 블록도,
도 10은 또 다른 예시적인 실시 예에 따른 사용자단말 장치의 구성을 도시하는 블록도,
도 11은 또 다른 예시적인 실시 예에 따른 네트워크 장치의 구성을 도시하는 블록도,
도 12는 또 다른 예시적인 실시 예에 따른 네트워크 장치의 구성을 도시하는 블록도, 및
도 13은 또 다른 예시적인 실시 예에 따른 네트워크 장치의 제어 방법을 도시하는 플로우챠트이다.
이하, 첨부된 도면들을 참조하여 본 발명의 바람직한 실시 예들을 상세히 설명한다. 도면에서 동일한 참조부호는 동일한 구성요소를 지칭하는 것으로 이해해야 한다.
도 1은 예시적인 실시 예에 따른 어플리케이션 실행 시스템(100)의 구성을 도시하는 블록도이다.
예시적인 실시 예에 따른 어플리케이션 실행 시스템(100)은 소정 어플리케이션, 예컨대, 사용자단말 장치(120)에서 발생된 이벤트에 대응하는 서비스를 제공하는 어플리케이션(이하, '서비스 어플리케이션'이라함)을 실행하기 위한 것으로, 사용자단말 장치(120)와, 네트워크 장치(130)와, 피제어 장치(140)를 포함한다.
여기서, 이벤트는 피제어 장치(140)가 소정 서비스를 제공하기 위한 동작을 수행할 것을 결정할 수 있도록 하는 사용자 입력 또는 그에 따른 명령신호를 의미한다. 소정 서비스는 온/오프 등과 같은 피제어 장치(140)의 기본기능을 제어하는 동작과, 사용자단말 장치(120)와 관련된 피제어 장치(140)의 각종 기능을 실행하는 동작을 포함할 수 있다.
사용자단말 장치(120)와 네트워크 장치(130)는 네트워크(110)를 통하여 상호 연결된다.
네트워크(110)는 사용자단말 장치(120)와 네트워크 장치(130)가 이벤트에 대응하는 서비스에 관한 정보를 주고 받기 위하여 통신을 수행하는데 이용되는 장치나 인프라를 포함하며, 인터넷 등과 같은 유선 및/또는 무선의 네트워크로 구현될 수 있다.
사용자단말 장치(120)는 서비스와 관련된 이벤트를 발생하는 전자장치로서, 휴대 단말기 또는 고정 단말기를 포함할 수 있다. 휴대 단말기는 휴대가 용이하게 이동 가능한 전자기기로서, 화상전화기, 휴대폰, 스마트 폰(smart phone), WCDMA(Wideband Code Division Multiple Access) 사용자단말 장치, UMTS(Universal Mobile Telecommunication Service) 사용자단말 장치, PDA(Personal Digital Assistant), PMP(Portable Multimedia Player), DMB(Digital Multimedia Broadcasting) 사용자단말 장치, E-Book, 휴대용 컴퓨터(Notebook, Tablet 등), 디지털 카메라(Digital Camera), 리모컨 등으로 구현될 수 있다. 그리고, 고정 단말기는 데스크 탑(desktop), 개인용 컴퓨터, 서버 컴퓨터, 스마트 TV 등으로 구현될 수 있다.
이하 실시 예에 따른 사용자단말 장치(120)는 스마트폰인 것을 예를 들어 설명한다.
네트워크 장치(130)는 피제어 장치(140)를 네트워크(110)에 연결하기 위한 전자장치로서, 유무선 공유기와 같은 네트워크(110)의 AP(Access Point)에 연결된다. 이에 따라, 네트워크 장치(130)는 네트워크(110)를 통해 사용자단말 장치(120)로부터 서비스와 관련된 데이터를 수신하여 피제어 장치(140)로 전송하고 피제어 장치(140)로부터 수신되는 대응 데이터를 네트워크(110)를 통해 사용자단말 장치(120)로 전송할 수 있다.
피제어 장치(140)는 네트워크 장치(130) 및 사용자단말 장치(120)와 통신하는 통신기능을 가지는 전자장치로서, 전등 콘트롤 박스, 냉장고, 세탁기, TV, 가스밸브 콘트롤 디바이스 등을 포함할 수 있다.
도 2는 예시적인 실시 예에 따른 사용자단말 장치(120)의 구성을 도시하는 블록도이다.
도 2를 참조하면, 실시 예에 따른 사용자단말 장치(120)는 서비스 어플리케이션의 코드를 파싱할 수 있는 파싱 기능을 가지며, 제1 통신부(210), 오디오 처리부(220), 제1 사용자 입력부(230), 제1 저장부(240), 제1 프로세서(250), 카메라부(270), 영상처리부(280), 및 제1 표시부(290)를 포함한다.
제1 통신부(210)는 외부와 통신채널을 형성하는 것으로서, 제1 프로세서(250)의 제어하에 안테나를 통해 입출력되는 데이터의 무선신호를 송수신 처리하는 기능을 수행한다. 예컨대, 데이터의 무선신호를 송신하는 경우, 송신할 데이터를 채널 코딩(Channel coding) 및 확산(Spreading)한 후, RF처리하여 송신하는 기능을 수행하고, 데이터의 무선신호를 수신하는 경우, 수신된 RF신호를 기저대역신호로 변환하고 상기 기저대역신호를 역 확산(De-spreading) 및 채널 복호(Channel decoding)하여 데이터를 복원하는 기능을 수행한다.
또한, 제1 통신부(210)는 제1 프로세서(250)의 제어하에 네트워크 장치(130) 및 피제어 장치(140)와 퍼블리시-서브스크라이브(Publish-Subscribe) 기반으로 통신을 수행할 수 있다. 예컨대, 제1 통신부(210)는 소정 식별정보에 기초하여 통신을 수행할 수 있다. 식별 정보는 네트워크 장치(130) 및 피제어 장치(140)의 IP 어드레스, 맥 어드레스(Mac Address), 고유 ID, 장치명, 모델명, 시리얼번호 중의 적어도 하나를 포함할 수 있다. 식별 정보는 네트워크 장치(130) 및 피제어 장치(140)와 최초 통신연결을 설정할 때 네트워크 장치(130) 및/또는 피제어 장치(140)로부터 수신되어 제1 저장부(240)에 저장된다.
이와 같은 제1 통신부(210)는, 근거리 무선통신을 위한 모듈, 예컨대, NFC(Near field communication), WiFi(Wireless fidelity), 블루투스(Bluetooth), 적외선 통신 장치(Infrared Data Association; 이하 'IrDA'), 지그비(Zigbee), 무선랜, UWB(Ultra-Wideband) 중의 적어도 하나의 모듈을 포함하여 구현될 수 있다.
오디오 처리부(220)는 제1 프로세서(250)의 제어를 받아 마이크(MIC)로부터 입력된 음성 신호를 변조하여 음성 데이터로 변환하고, 제1 통신부(210)로부터 입력된 음성 데이터 및 제1 저장부(240)에 저장된 음성 데이터를 음성신호로 복조하여 스피커(SPK)를 통해 음성으로 출력한다.
제1 사용자 입력부(230)는 사용자의 입력을 수신한다. 제1 사용자 입력부(230)는 키입력부(235) 및/또는 터치센서부(237)를 포함할 수 있다. 키입력부(235)는 사용자단말 장치(120)의 케이스(도시하지 않음)의 전면 하측 또는 측면에 형성된 입력 키 또는 버튼들을 구비한다. 키입력부(235)는 입력 키 또는 버튼들 통한 사용자의 입력에 따라 사용자단말 장치(120)의 기능 제어와 관련한 키 신호를 생성하여 제1 프로세서(250)로 전달한다. 키 신호는 전원 온/오프 신호, 볼륨 조절 신호 등을 포함할 수 있다. 터치센서부(237)는 제1 표시부(290)의 전면에 장착되고, 펜, 사용자의 손가락 등과 같은 터치입력도구를 통한 사용자의 조작에 응답하여 터치입력 신호를 발생시켜 제1 프로세서(250)로 전달한다. 이러한 터치센서부(237)은 저항막 방식(resistive type), 정전용량 방식(capacitive type), 압력 방식(pressure type) 등으로 구현될 수 있다.
제1 저장부(240)는 프로그램 메모리와, 데이터 메모리로 구성될 수 있다. 프로그램 메모리는 펌웨어 또는 운영체제와 같은 사용자단말 장치(120)를 제어하기 위한 제어 프로그램, 이벤트에 대응하는 서비스를 제공하는 피제어 장치(140)를 제어하기 위한 원격제어 어플리케이션 및 각종 어플리케이션들을 저장할 수 있다. 원격제어 어플리케이션은 실행 시 도 4에 관하여 후술하는 바와 같이 서비스 선택화면(400)을 표시하고, 표시된 서비스 선택 화면(400)에서 복수의 이벤트 선택항목(410; 411, 413) 중 어느 하나가 선택될 때 선택된 이벤트 선택항목(411, 및/또는 413)에 대응하는 서비스 요청신호(이하, '제1 서비스 요청신호'라 함)를 생성하도록 프로그램된다.
데이터 메모리는 프로그램들 및/또는 각종 어플리케이션들을 수행하는 중에 발생되는 데이터들을 저장하는 기능을 수행한다. 또한, 데이터 메모리는 네트워크 장치(130) 및 피제어 장치(140)의 식별정보, 서비스 어플리케이션의 소스 코드 및 파싱 데이터 등을 저장한다. 서비스 어플리케이션의 소스 코드는 시스템 구축회사 또는 시스템 구축회사와 제휴한 업체에 의해 운영되는 어플리케이션 서버(150)로부터 다운로드될 수 있다. 선택적으로, 서비스 어플리케이션의 소스 코드는 사용자에 의해 직접 입력되어 저장될 수도 있다. 또한, 사용자단말 장치(120)가 서비스 어플리케이션 작성 기능 또는 어플리케이션을 구비하는 경우, 서비스 어플리케이션의 소스 코드는 사용자단말 장치(120)에서 작성되어 저장될 수도 있다. 도 3에 도시된 바와 같이, 서비스 어플리케이션의 소스 코드(300)는 어플리케이션 실행 시스템(100)의 구축 시 사용자의 요구를 반영하여 피제어 장치(140)를 제어하는 내용을 포함하도록 작성될 수 있다. 실시 예에서, 서비스 어플리케이션은 JAVA, Phython, Groovy, 또는 JavaScript와 같은 스크립트 언어 기반으로 작성된 스크립트 파일을 포함할 수 있다. 파싱 데이터는 후술하는 제1 프로세서(250)의 파서(260)을 통해 서비스 어플리케이션의 소스 코드를 파싱한 결과 얻어진 파싱트리(parsing tree) 또는 신텍스 트리(syntax tree)와 같은 파싱 데이터로서, 후술하는 바와 같이 이벤트 단위 또는 피제어 장치 단위로 제1 저장부(240)에 저장될 수 있다.
이러한 제1 저장부(240)는 플래시 메모리 타입(Flash memory type), 하드디스크 타입(Hard disk type), 멀티미디어 카드 마이크로 타입(Multimedia card micro type), 카드 타입의 메모리(예를 들어 SD 또는 XD 메모리 등), 램(Random Access Memory, RAM), SRAM(Static Random Access Memory), 롬(Read-Only Memory, ROM), EEPROM(Electrically Erasable Programmable Read-Only Memory), PROM(Programmable Read-Only Memory), 자기 메모리, 자기 디스크, 광디스크 중 적어도 하나의 타입의 저장매체로 구현될 수 있다.
제1 프로세서(250)는 사용자단말 장치(120)의 전반적인 동작을 제어하며, 특히, 제1 사용자 입력부(230)로부터 수신된 입력신호에 따라 사용자 단말장치(120)의 기능을 제어한다.
이러한 제1 프로세서(250)는 제1저장부(240)에 저장된 프로그램들 및 각종 어플리케이션들을 실행하기 위한 CPU 및 RAM을 포함할 수 있다.
또한, 제1 프로세서(250)는 본 발명에 따라 서비스 어플리케이션의 소스 코드를 파싱하는 기능과 사용자의 입력에 의해 발생된 이벤트에 대응하는 파싱 데이터를 포함하는 서비스 요청신호(이하, '제1 서비스 요청신호'라 함)를 네트워크 장치(130)로 전송하는 기능을 수행한다.
이를 위해, 제1 프로세서(250)는 파서(260)와 이벤트 매니저(265)를 포함한다. 실시 예에서, 파서(260)와 이벤트 매니저(265)는 C/C++언어 기반으로 작성된 프로그램으로 구현될 수 있다.
선택적으로, 파서(260)와 이벤트 매니저(265)는 ASIC(Application Specific Integrated Circuit)과 같은 하드웨어로 구현될 수도 있다.
파서(260)는 어플리케이션 서버(150)로부터 다운로드되거나 사용자에 의해 입력 또는 작성된 서비스 어플리케이션의 소스 코드를 문법 규칙에 따라 파싱하여 네트워크 장치(130)가 해석할 수 있는 파싱 데이터를 생성한다. 이때, 파싱 데이터는 파싱 트리 또는 신택스 트리를 포함할 수 있다.
그리고, 파서(260)는 생성된 파싱 데이터를 이벤트 단위로 제1 저장부(240)에 저장한다. 보다 상세히 설명하면, 도 3에 도시된 바와 같이, 파싱 데이터는 이벤트들에 대응하는 서비스 어플리케이션의 소스 코드(300)의 코드부분들(301, 303, 305, 308, 309, 309, 311)에 대응하여 세분되어 저장된다. 따라서, 제1 사용자 입력부(230)를 통한 사용자 입력에 의해 서비스에 대응하는 이벤트가 발생하면, 발생된 이벤트에 대응하는 파싱 데이터의 부분이 이벤트 매니저(265)에 의해 해당하는 서비스를 제공하는 피제어 장치(140)의 전등 콘트롤 박스(141), 냉장고(143), 또는 세탁기(145)가 연결된 네트워크 장치(130)로 전송될 수 있다. 네트워크 장치(130)는 도 6에 관하여 후술하는 바와 같이 수신된 파싱 데이터의 부분을 처리하여 실행 데이터를 생성한다. 그 결과, 네트워크 장치(130)는 런타임 시 문제가 발생할 경우 파싱 데이터 및/또는 그에 대해 생성된 실행 데이터를 이벤트 단위로 샌드박스 처리될 수 있다. 따라서, 네트워크 장치(130)는 종래와 같이 서비스 어플리케이션의 소스코드를 전체 스크립트 단위로 샌드박스 처리하는 경우 보다 파싱 데이터 및/또는 실행 데이터를 빠르게 처리할 수 있다.
선택적으로, 파싱 데이터는 피제어 장치 단위로도 저장될 수도 있다. 보다 상세히 설명하면, 도 3에 도시된 바와 같이, 파싱 데이터는 피제어 장치(140)의 전등 콘트롤 박스(141), 냉장고(143), 및 세탁기(145)에 대응하는 서비스 어플리케이션의 소스 코드(300)의 코드부분들(306, 313, 315)에 대응하여 세분되어 저장될 수 있다. 이 경우, 이벤트가 발생하면, 발생된 이벤트에 대응하는 파싱 데이터의 부분이 이벤트 매니저(265)에 의해 해당하는 피제어 장치(140)의 전등 콘트롤 박스(141), 냉장고(143) 및/또는 세탁기(145))가 연결된 네트워크 장치(130)로 전송될 수 있다. 이때, 네트워크 장치(130)는 런타임 시 문제가 발생할 경우 파싱 데이터 및/또는 그에 대해 생성된 실행 데이터를 피제어 장치 단위로 샌드박스 처리할 수 있다.
이벤트 매니저(265)는 원격제어 어플리케이션이 제1 사용자 입력부(230)를 통한 사용자 입력에 의해 실행되면, 제1 표시부(290)에 서비스 선택화면(400; 도 4 참조)을 표시한다. 원격제어 어플리케이션은 사용자단말 장치(120)의 홈 화면(도시하지 않음)에 표시된 원격제어 어플리케이션 아이콘(도시하지 않음)을 선택하는 것에 의해 실행될 수 있다. 도 4에 도시된 바와 같이, 서비스 선택화면(400)은 피제어 장치(140) 및/또는 이벤트 단위로 저장된 파싱 데이터의 부분들에 대응하는 복수의 이벤트 선택항목(410)을 포함한다. 복수의 이벤트 선택항목(410)은 현관등 오프 항목(411), 비상등 점등 및 알람항목(412), 냉장고 추천리스트 알림항목(413), 휴대폰 데이터 동기화 항목(414), 추천 리스트 출력항목(415) 등을 포함할 수 있다.
이벤트 매니저(250)는 제1 사용자 입력부(230)를 통한 사용자의 입력에 의해 복수의 이벤트 선택항목(410) 중에서 어느 한 항목, 예컨대, 현관등 오프 항목(411)이 선택되면, 제1 저장부(240)에 저장된 파싱 데이터 중에서 선택된 현관등 오프 항목(411)과 관련된 서비스 어플리케이션의 코드 부분(301)에 대응하는 파싱 데이터의 부분을 탐색하고, 탐색된 파싱 데이터의 부분을 포함하는 제1 서비스 요청신호를 생성한다. 여기서, 현관등 오프 항목(411)은 구성원 모두가 외부로 나갔다면 현관등을 포함하는 모든 전등을 오프하는 서비스를 요청하기 위한 이벤트를 발생하는 항목이다. 이벤트 매니저(250)는 생성된 제1 서비스 요청신호를 해당하는 피제어 장치(140), 즉, 전등 콘트롤 박스(141)가 연결된 네트워크 장치(130)로 전송한다. 이때, 제1 서비스 요청신호는 탐색된 파싱 데이터의 부분 외에 전송될 네트워크 장치(130)의 식별정보와, 선택된 이벤트 선택항목, 즉, 현관등 오프 항목(411)과 관련된 데이터 정보를 더 포함할 수 있다. 데이터 정보는 선택된 현관등 오프 항목(411)의 명칭과, 선택된 현관등 오프 항목(411)에 대응하는 파싱 데이터의 명칭 또는 식별 ID, 선택된 현관등 오프 항목(411)과 관련된 전등 콘트롤 박스(141)의 IP 어드레스, 맥 어드레스(Mac Address), 고유 ID, 장치명, 모델명, 시리얼번호 중의 적어도 하나를 포함할 수 있다.
또한, 이벤트 매니저(250)는 사용자의 입력에 의해 복수의 이벤트 선택항목(410) 중 두 개 이상, 예컨대, 현관등 오프 항목(411)과 냉장고 추천리스트 알림항목(413)이 선택되면, 선택된 항목(411, 413)에 대응하는 제1 서비스 요청신호를 생성하고, 생성된 제1 서비스 요청신호를 해당하는 피제어 장치들(140), 즉, 전등 콘트롤 박스(141)와 냉장고(143)가 연결된 네트워크 장치(130)로 전송한다. 제1 서비스 요청신호는 전송될 네트워크 장치(130)의 식별정보와, 선택된 이벤트 선택항목(411, 413)와 관련된 데이터 정보와, 선택된 이벤트 선택항목(411, 413)에 대응하는 파싱 데이터의 부분들을 포함한다. 여기서, 냉장고 추천리스트 알림항목(413)은 냉장고(143)와 마주한 사용자의 휴대폰의 최근 관심 정보에 기초하여 냉장고(143)와 관련된 추천리스트를 생성하여 냉장고(143)의 표시부에 표시하는 서비스를 요청하기 위한 이벤트를 발생하는 항목이다.
다시 도 2를 참조하면, 카메라부(270)는 영상 데이터를 촬영하며, 촬영된 광 신호를 전기적 신호로 변환하는 카메라 센서와, 이 카메라센서로부터 촬영되는 아날로그 영상신호를 디지털 데이터로 변환하는 신호처리부를 구비한다.
영상처리부(280)는 카메라부(270)에서 출력되는 영상신호를 제1 표시부(290)에 표시하기 위한 ISP(Image Signal Processing)를 수행한다.
제1 표시부(290)는 영상처리부(280)에서 출력되는 영상신호를 화면으로 표시하며, 제1 프로세서(250)에서 출력되는 데이터를 표시한다. 여기서, 제1 표시부(290)는 LCD로 구현할 수 있다. 이 경우, 제1 표시부(290)는 LCD프로세서(LCD controller), 영상데이터를 저장할 수 있는 메모리 및 LCD표시소자 등을 구비할 수 있다.
또한, 제1 표시부(290)는 전면에 터치센서부(237)를 포함한다.
이하, 이상과 같이 구성된 예시적인 실시예에 의한 사용자단말 장치(120)의 제어 방법을 도 5를 참조하여 설명하면 다음과 같다.
먼저, 사용자단말 장치(120)의 제1 프로세서(250)는 서비스 어플리케이션의 소스 코드의 파싱 데이터를 준비한다(S100). 즉, 제1 프로세서(250)는 사용자입력부(230)를 통한 사용자 입력에 따라 어플리케이션 서버(150)로부터 다운로드되거나 사용자에 의해 직접 입력 또는 작성된 서비스 어플리케이션의 소스 코드를 파싱한 다음, 파싱된 파싱 데이터를 이벤트 단위로 제1 저장부(240)에 저장한다.
이어서, 제1 프로세서(250)는 사용자단말 장치(120)에서 이벤트가 발생하는 지를 판단한다(S110). 즉, 제1 프로세서(250)는 사용자가 원격제어 어플리케이션을 실행한 후 나타나는 서비스 선택화면(400)에서 복수의 이벤트 선택항목(410) 중에서 제어하고자 하는 피제어 장치(140; 141, 143 145)의 기능에 대응하는 하나 이상의 이벤트 선택항목, 예컨대, 현관등 오프 항목(411)을 선택하는 지를 판단한다.
단계(S110)에서 판단결과, 사용자단말 장치(120)에서 이벤트가 발생하는 것, 즉, 사용자에 의해 현관등 오프 항목(411)이 선택되는 것으로 판단되면, 제1 프로세서(250)는 제1 저장부(240)에 저장된 서비스 어플리케이션의 소스 코드의 파싱 데이터 중에서 선택된 현관등 오프 항목(411)에 대응하는 서비스 어플리케이션의 코드 부분에 대한 파싱 데이터를 읽어온다. 그리고, 제1 프로세서(250)는 선택된 현관등 오프 항목(411)과 관련된 이벤트에 대응하는 제1 서비스 요청신호를 해당하는 피제어 장치(140), 즉, 전등 콘트롤 박스(141)가 연결된 네트워크 장치(130)로 파싱 데이터와 함께 전송한다(S130). 이때, 제1 서비스 요청신호는 선택된 현관등 오프 항목(411)에 대응하는 파싱 데이터 외에 전송될 네트워크 장치(130)의 식별정보와, 선택된 현관등 오프 항목(411)과 관련된 데이터 정보를 포함한다.
도 6은 예시적인 실시예에 따른 네트워크 장치(130)를 도시하는 블록도이다.
예시적인 실시예에 따른 네트워크 장치(130)는 피제어 장치(140)를 네트워크(110)에 연결하는 허브 또는 브리지와 같은 전자장치로서 사용자 단말장치 및 피제어 장치(140)와 별도로 형성된다.
네트워크 장치(130)는 본 발명에 따라 사용자단말 장치(120)로부터 수신된 서비스 어플리케이션의 파싱 데이터를 바이너리 포맷으로 변환하여 실행 데이터를 생성하고, 생성된 실행 데이터의 실행에 관한 후속처리르 수행한다.
이를 위해, 네트워크 장치(130)는 제2 통신부(510)와, 제2 저장부(520)와, 제2 프로세서(530)를 포함한다.
제2 통신부(510)는 신호를 송수신하는 통신부로서, 네트워크(110)와 연결되도록 유무선 공유기와 같은 AP에 설치되고, 피제어 장치(140)와 유선 연결된다. 실시 예에서, 제2 통신부(510)는 USB, MHL(Mobile high-definition link) 등의 유선연결 모듈로 구현될 수 있다.
제2 통신부(510)는 제1 통신부(210)과 마찬가지로 제2 프로세서(530)의 제어하에 사용자단말 장치(120) 및 피제어 장치(140)와 퍼블리시-서브스크라이브 기반으로 통신을 수행한다. 즉, 제2 통신부(510)는 소정 식별정보에 기초하여 통신을 수행할 수 있다. 식별 정보는 제2 프로세서(530)의 제어하에 사용자 단말 장치(120) 및 피제어 장치(140)와 최초 통신연결을 설정할 때 사용자단말 장치(120)와 피제어 장치(140)로부터 수신되어 제2 저장부(520)에 저장된다.
제2 저장부(520)는 프로그램 메모리와, 데이터 메모리로 구성될 수 있다. 프로그램 메모리는 펌웨어와 같은 네트워크 장치(130)를 제어하기 위한 제어프로그램을 저장한다. 데이터 메모리는 네트워크 장치(130)의 동작을 수행하는 중에 발생되는 데이터들을 저장하는 기능을 수행한다. 예컨대, 데이터 메모리는 제2 프로세서(530)의 제어하에 사용자단말 장치(120)로부터 수신된 파싱 테이터와, 파싱 테이터에 기초하여 후술하는 어플리케이션 엔진(550)에 의해 생성된 실행 데이터를 이벤트 단위 또는 피제어 장치 단위로 저장할 수 있다. 또한, 데이터 메모리는 사용자단말 장치(120) 및 피제어 장치(140)의 식별정보를 저장한다.
이러한 제2 저장부(520)는 제1 저장부(240)와 마찬가지로, 플래시 메모리 타입, 하드디스크 타입, 멀티미디어 카드 마이크로 타입, 카드 타입의 메모리(예를 들어 SD 또는 XD 메모리 등), RAM, SRAM, ROM, EEPROM, PROM, 자기 메모리, 자기 디스크, 광디스크 중 적어도 하나의 타입의 저장매체로 구현될 수 있다.
제2 프로세서(530)는 네트워크 장치(130)의 주 제어부로서 네트워크 장치(130)의 전반적인 동작을 제어한다. 이러한 제2 프로세서(530)는 제1저장부(520)에 저장된 프로그램들 및 각종 어플리케이션들을 실행하기 위한 CPU 및 RAM을 포함할 수 있다.
또한, 제2 프로세서(530)는 사용자단말 장치(120)로부터 수신된 서비스 어플리케이션의 파싱 데이터를 바이너리 포맷으로 변환하여 바이너리 실행파일과 같은 실행 데이터를 생성하고 생성된 실행 데이터의 실행에 관한 후속처리를 하는 기능을 수행한다.
이를 위해, 제1 프로세서(530)는 디바이스 매니저(540)와 어플리케이션 엔진(application engine)(550)을 포함한다. 실시 예에서, 디바이스 매니저(540)와 어플리케이션 엔진(550)은 C/C++언어 기반으로 작성된 프로그램으로 구현될 수 있다.
선택적으로, 디바이스 매니저(540)와 어플리케이션 엔진(550)은 ASIC과 같은 하드웨어로 구현될 수도 있다.
디바이스 매니저(540)는 제2 통신부(510)를 통해 수신된 신호에 따라 어플리케이션 엔진(550)의 동작을 제어한다.
즉, 디바이스 매니저(540)는 사용자단말 장치(130)로부터 제2 통신부(510)를 통해 신호를 수신하면, 수신된 신호에 포함된 식별정보를 통해 수신된 신호가 네트워크 장치(130)에 전송된 신호인 지를 판단한다.
수신된 신호가 네트워크 장치(130)에 전송된 신호로 판단되면, 디바이스 매니저(540)는 수신된 신호에 포함된 데이터 정보를 통해 수신된 신호가 사용자단말 장치(120)에서 사용자에 의해 선택된 이벤트 선택항목(410; 411, 412, 413, 414 및/또는 415)에 대응하는 파싱 데이터를 포함하는 제1 서비스 요청신호인 지를 판단한다.
수신된 신호가 파싱 데이터를 포함하는 제1 서비스 요청신호인 것으로 판단되면, 디바이스 매니저(540)는 수신된 제1 서비스 요청신호를 어플리케이션 엔진 (550)으로 바로 전달하도록 제2 통신부(510)를 제어한다.
어플리케이션 엔진(550)은 제2 통신부(510)으로부터 전달된 제1 서비스 요청신호에 포함된 파싱 데이터를 바이너리 포맷으로 변환하여 실행 데이터를 생성하고, 생성된 실행 데이터의 실행에 관한 후속 처리를 수행한다.
예컨대, 전달된 신호의 파싱 데이터가 현관등 오프 항목(411)에 대응하는 파싱 데이터의 부분인 경우, 어플리케이션 엔진(550)은 파싱 데이터의 부분을 바이너리 포맷으로 변환하여 해당 서비스를 실행하도록 전등 콘트롤 박스(141)를 제어하기 위한 바이너리 실행 파일을 생성한다. 이어서, 어플리케이션 엔진(550)은 바이너리 실행 파일을 실행하여 전등 콘트롤 박스(141)에 해당 서비스에 대응하는 제어명령을 전송한다. 전등 콘트롤 박스(141)는 제어명령에 따라 현관 내부 및 외부의 현관등의 적외선 센서를 통해 현관 출입인원을 카운트하고 구성원 모두가 나간 것으로 카운트되면 현관등 및 다른 모든 전등을 오프시키도록 제어한다.
또한, 전달된 신호의 파싱 데이터가 현관등 오프 항목(411)과 냉장고 추천리스트 알림항목(413)에 대응하는 파싱 데이터의 부분들인 경우, 어플리케이션 엔진 (550)은 선택된 현관등 오프 항목(411)과 냉장고 추천리스트 알림항목(413)에 대응하는 바이너리 실행파일을 생성하고, 생성된 바이너리 실행파일을 실행하여 전등 콘트롤 박스(141)와 냉장고(143)에 각각 해당 서비스에 대응하는 제어명령들을 전송한다. 전등 콘트롤 박스(141)는 제어명령에 따라 위에서 설명한 바와 같이 전등들을 제어한다. 냉장고(143)는 냉장고(143)의 카메라에 의해 촬영된 사용자 영상과 저장부에 저장된 사용자 정보에 기초하여 사용자를 인식하고, 인식된 사용자의 휴대폰으로 최근 관심 정보를 요청하고, 수신된 최근 관심 정보에 기초하여 냉장고(143)와 관련된 추천리스트를 생성하여 냉장고(143)의 표시부에 표시하도록 내부 구성요소들을 제어한다.
이상에서 네트워크 장치(130)는 사용자 단말장치(120) 및 피제어 장치(140)와 별도로 형성된 것으로 예시 및 설명하였지만, 본 발명은 이에 한정되지 않는다. 예컨대, 사용자 단말장치(120)가 스마트 TV로 구현될 경우, 네트워크 장치(130)는 스마트 TV로 구현된 사용자 단말장치(120) 내에 내장될 수 있다. 또한, 피제어 장치(140) 중 하나가 스마트 TV로 구현될 경우, 네트워크 장치(130)는 스마트 TV로 구현된 피제어 장치(140)에 내장될 수 있다.
또한, 네트워크 장치(130)는 단일 네트워크 장치로 구성되는 것으로 예시 및 설명하였지만, 본 발명은 이에 한정되지 않는다. 예컨대, 도 7에 도시된 바와 같이 네트워크 장치(130')는 메인 허브 디바이스(131)와, 메인 허브 디바이스(131)에 연결된 제1 브리지 디바이스(133)와, 메인 허브 디바이스(131)에 연결된 서브 허브 디바이스(135)와, 서브 허브 디바이스(135)에 연결된 제2 브리지 디바이스(136)로 구현될 수 있다. 실시 예에서, 디바이스들(131, 133, 135, 136)은 각각 도 6에 관하여 설명한 네트워크 장치(130)와 동일한 구성을 가질 수 있다. 이때, 전등 콘트롤 박스(141'), 냉장고(143'), 및 제1 및 제2 세탁기(145', 145")는 제1 및 제2 브리지 디바이스(133, 136)에 분산 연결될 수 있다. 예컨대, 제1 브리지 디바이스(133)에는 전등 콘트롤 박스(141')와 냉장고(143')가 연결되고, 제2 브리지 디바이스(136)에는 제1 세탁기(145')와 제2 세탁기(145")가 연결된다. 이 경우, 전등 콘트롤 박스(141'), 냉장고(143'), 및 제1 및 제2 세탁기(145',145")와 관련된 이벤트 선택항목(410)에 대응하는 파싱 데이터에 대한 실행 데이터 생성과 후속처리 역시 메인 허브 디바이스(131), 제1 브리지 디바이스(133), 서브 허브 디바이스(135) 및 제2 브리지 디바이스(136)에서 각각 분산 처리된다. 그 결과, 메인 허브 디바이스(131), 제1 브리지 디바이스(133), 서브 허브 디바이스(135) 및 제1 허브 디바이스(136)는 각각 저 사양 장치로 구현될 수 있을 뿐 아니라, 실행 데이터 생성과 후속처리를 빠르게 수행할 수 있다.
또한, 선택적으로, 메인 허브 디바이스(131)는 네트워크 장치(130')의 디바이스들(131, 133, 135, 136)을 통합적으로 관리하도록 구성될 수 있다. 예컨대, 메인 허브 디바이스(131), 제1 브리지 디바이스(133), 서브 허브 디바이스(135) 및 제2 허브 디바이스(136)의 각각에서 사용자 단말장치(120)으로부터 수신되는 신호에 따라 어플리케이션 엔진의 동작을 제어하는 디바이스 매니저의 기능을 메인 허브 디바이스(131)의 디바이스 매니저가 통합적으로 수행하도록 구현될 수 있다. 이 경우, 제1 브리지 디바이스(133), 서브 허브 디바이스(135) 및 제2 허브 디바이스(136)는 메인 허브 디바이스(131) 보다 낮은 사양으로 구현될 수 있고, 그에 따라, 제작 코스트가 절감될 수 있다.
이하, 이상과 같이 구성된 예시적인 실시예에 의한 네트워크 장치(130)의 제어 방법을 도 8을 참조하여 설명하면 다음과 같다.
먼저, 사용자단말 장치(130)로부터 제2 통신부(510)를 통해 신호를 수신하면, 제2 프로세서(530)의 디바이스 매니저(540)는 수신된 신호에 포함된 식별정보를 통해 수신된 신호가 네트워크 장치(130)에 전송된 신호인 지를 판단한다. 수신된 신호가 네트워크 장치(130)에 전송된 신호로 판단되면, 디바이스 매니저(540)는 수신된 신호에 포함된 데이터 정보를 통해 수신된 신호가 사용자단말 장치(120)에서 사용자에 의해 선택된 이벤트 선택항목(410; 411, 412, 413, 414 및/또는 415), 예컨대, 현관등 오프 항목(411)에 대응하는 파싱 데이터를 포함하는 제1 서비스 요청신호인 지를 판단한다(S200).
단계(S200)에서 판단결과, 수신된 신호가 파싱 데이터를 포함하는 제1 서비스 요청신호인 것으로 판단되면, 디바이스 메니저(540)는 수신된 제1 서비스 요청신호를 어플리케이션 엔진(550)으로 바로 전달하도록 제2 통신부(510)를 제어한다(S210).
어플리케이션 엔진(550)은 사용자단말 장치(120)로부터 제1 서비스 요청신호에 포함된 현관등 오프 항목(411)에 대응하는 파싱 데이터를 바이너리 포맷으로 변환하여 실행 데이터, 예컨대, 전등 콘트롤 박스(141)를 제어하기 위한 바이너리 실행 파일을 생성한다(S220).
이어서, 어플리케이션 엔진(550)은 생성된 실행 데이터의 실행에 관한 후속 처리를 수행한다(S230). 즉, 제2 프로세서(530)는 생성된 바이너리 실행 파일을 실행하여 전등 콘트롤 박스(141)에 해당 서비스에 대응하는 제어명령을 전송한다. 전등 콘트롤 박스(141)는 제어명령에 따라 현관 내부 및 외부의 현관등의 적외선 센서를 통해 현관 출입인원을 카운트하고 구성원 모두가 나간 것으로 카운트되면 현관등 및 다른 모든 전등을 오프시키도록 제어한다.
도 9는 또 다른 예시적인 실시 예에 따른 어플리케이션 실행 시스템(100')의 구성을 도시하는 블록도이다.
예시적인 실시 예에 따른 어플리케이션 실행 시스템(100')은 사용자단말 장치(120')와, 네트워크 장치(130')와, 피제어 장치(140)를 포함한다.
사용자단말 장치(120')는 제1 및 제2 사용자단말 장치(121, 125)를 포함한다.
제1 사용자단말 장치(121)는 도 2에 도시된 어플리케이션 실행 시스템(100)의 사용자단말 장치(120)와 같이 이벤트에 대응하여 파싱 데이터를 제공할 수 있는 전자장치로서, 사용자단말 장치(120)와 구성 및 동작이 동일하다. 따라서, 이에 대한 상세한 설명은 생략한다.
도 10는 예시적인 실시 예에 따른 제2 사용자단말 장치(125)의 구성을 도시하는 블록도이다.
도 10을 참조하면, 제2 사용자단말 장치(125)는 제1 사용자단말 장치(121)와 달리, 이벤트에 대응하여 파싱 데이터를 제공하지 않고 단순히 이벤트에 대응하는 서비스를 요청하기 위한 서비스 요청신호(이하, '제2 서비스 요청신호'라 함)만 발생하여 네트워크 장치(130')로 전송한다.
따라서, 제2 사용자단말 장치(125)는 제1 저장부(240')와 제1 프로세서(250')를 제외하고는 제1 사용자단말 장치(121)와 동일하다. 따라서, 이하에서는 제1 저장부(240')와 제1 프로세서(250') 만 상세히 설명한다.
제1 저장부(240')는 제1 저장부(240)와 달리 서비스 어플리케이션을 저장하지 않고, 이벤트에 대응하는 서비스를 제공하는 피제어 장치(140)를 제어하기 위한 원격제어 어플리케이션만 저장한다. 원격제어 어플리케이션은 사용자가 도 4에 도시된 선택화면(400)과 동일한 선택화면에서 복수의 이벤트 선택항목(400; 411, 412, 413, 414, 415) 중 어느 하나를 선택할 때 선택된 이벤트 선택항목(411, 412, 413, 414, 및/또는 415)에 대응하는 제2 서비스 요청신호를 생성하도록 프로그램된다. 제2 서비스 요청신호는 서비스를 요청하기 위한 이벤트 신호로서 제1 서비스 요청신호와 달리 선택된 이벤트 항목(411, 및 413)에 대응하는 피제어 장치(140)의 식별정보와 선택된 이벤트 항목 정보와 관련된 데이터 정보만 포함한다.
제1 프로세서(250')는 파서(260)와 이벤트 매니저(265)을 포함하는 제1 프로세서(250)과 달리, 이벤트 매니저(265)만 포함한다.
이벤트 매니저(265)는 사용자가 원격제어 어플리케이션을 실행 한 후 표시되는 선택화면(400)에서 복수의 이벤트 선택항목(400; 411, 412, 413, 414, 415) 중의 적어도 하나를 선택하면, 선택된 이벤트 선택항목(411, 412, 413, 414, 및/또는 415)에 대응하는 제2 서비스 요청 신호를 선택된 이벤트 항목(411, 412, 413, 414, 및/또는 415)에 대응하는 이벤트와 관련된 서비스를 제공하는 피제어 장치(140)의 전등 콘트롤박스(141), 냉장고(143) 및/또는 세탁기(145)가 연결된 네트워크 장치(130')로 전송한다.
제2 사용자단말 장치(125)의 나머지 구성은 제1 사용자단말 장치(121)와 동일하다. 따라서, 이에 대한 상세한 설명은 생략한다.
도 11은 예시적인 실시 예에 따른 네트워크 장치(130")의 구성을 도시하는 블록도이다.
도 11을 참조하면, 네트워크 장치(130")는 제2 통신부(510)와, 제2 저장부(520')와, 제2 프로세서(530')를 포함한다.
네트워크 장치(130")는 도 5에 도시된 어플리케이션 실행 시스템(100)의 네트워크 장치(130)와 비교하여, 제2 저장부(520')와, 제2 프로세서(530')를 제외하고 동일하다. 따라서, 이하에서는 제2 저장부(520')와 제2 프로세서(530')만 상세히 설명하기로 한다.
제2 저장부(520')는 제2 저장부(520)와 비교하여, 사용자 단말장치(120)에서 실행되는 원격제어 어플리케이션의 복수의 이벤트 선택항목(400; 411, 412, 413, 414, 415)에 대응하여 네트워크 장치(130")에 연결된 피제어 장치(140)가 제공하는 서비스에 대응하는 서비스 어플리케이션의 소스 코드를 더 저장한다. 예컨대, 도 9에 도시된 바와 같이, 네트워크 장치(130')에 피제어 장치(140)로서 전등 콘트롤박스(141), 냉장고(140) 및 세탁기(145)가 연결되었다면, 전등 콘트롤박스(141), 냉장고(140) 및 세탁기(145)가 제공하는 서비스에 대응하는 서비스 어플리케이션의 소스 코드를 저장한다. 이러한 서비스 어플리케이션의 소스 코드는 어플리케이션 실행 시스템(100)의 구축 시 시스템 설계에 따라 미리 저장되거나, 사용자에 의해 어플리케이션 서버(150)로부터 다운로드되거나 직접 입력 저장될 수 있다.
제2 프로세서(530')는 디바이스 매니저(540')와, 어플리케이션 엔진(550')과, 파서(545)를 포함한다. 실시 예에서, 디바이스 매니저(540')와, 어플리케이션 엔진(550')과, 파서(545)는 C/C++언어 기반으로 작성된 프로그램으로 구현될 수 있다.
선택적으로, 디바이스 매니저(540')와, 어플리케이션 엔진(550')과, 파서(545)는 ASIC와 같은 하드웨어로 구현될 수도 있다.
디바이스 매니저(540'), 어플리케이션 엔진(550') 및 파서(545')는 도 6에 도시된 제2 프로세서(530)의 디바이스 매니저(540)와 어플리케이션 엔진(550)의 기능과 도 2에 도시된 제1 프로세서(250)의 파서(260)의 기능을 통합한 기능을 수행한다.
보다 상세히 설명하면, 제1 사용자단말 장치(121)로부터 제2 통신부(510)를 통해 제1 서버스 요청 신호를 수신할 경우, 디바이스 매니저(540') 및 어플리케이션 엔진(550')은 도 6에 도시된 제2 프로세서(530)의 디바이스 매니저(540) 및 어플리케이션 엔진(550)과 동일하게 동작한다. 그러나, 제2 사용자단말 장치(125)로부터 제2 통신부(510)를 통해 제2 서버스 요청 신호를 수신할 경우, 디바이스 매니저(540') 및 어플리케이션 엔진(550')은 도 6에 도시된 제2 프로세서(530)의 디바이스 메니저(540) 및 어플리케이션 엔진(550)과 다르게 동작한다.
보다 상세히 설명하면, 제2 사용자단말 장치(125)로부터 제2 서버스 요청 신호를 수신할 경우, 디바이스 매니저(540')는 제2 서버스 요청 신호에 포함된 데이터 정보에 기초하여, 제2 사용자단말 장치(125)에서 사용자에 의해 선택된 이벤트 선택항목(411, 412, 413, 414 및/또는 415), 예컨대, 현관등 오프 항목(411)을 확인하고, 확인된 현관등 오프 항목(411)에 대응하는 서비스 어플리케이션의 코드 부분의 파싱 데이터를 요청하는 파싱데이터 요청신호를 파서(545)에 전송한다. 파서(545)는 디바이스 매니저(545)로부터 수신된 파싱 데이터 요청신호에 따라 제2 저장부(520')에 저장된 서비스 어플리케이션의 소스 코드 중에서 확인된 현관등 오프 항목(411)에 대응하는 코드부분을 파싱하여 파싱 데이터를 생성하고, 생성된 파싱 데이터를 어플리케이션 엔진(550')으로 전달한다. 이때, 생성된 파싱 데이터와 실행 데이터는 제2 저장부(520')에 이벤트 단위 또는 피제어장치 단위로 저장될 수 있다. 어플리케이션 엔진(550')은 파서(545)로부터 전달된 파싱 데이터에 기초하여 실행 데이터 생성하고, 생성된 실행 데이터의 실행에 관한 후속 처리를 수행한다. 예컨대, 어플리케이션 엔진(550')은 파서(545)로부터 전달된 파싱 데이터를 바이너리 포맷으로 변환하여 전등 콘트롤 박스(141)를 제어하기 위한 바이너리 실행 파일을 하고, 생성된 바이너리 실행 파일을 실행하여 전등 콘트롤 박스(141)에 해당 서비스에 대응하는 제어명령을 전송한다. 전등 콘트롤 박스(141)는 제어명령에 따라 현관 내부 및 외부의 현관등의 적외선 센서를 통해 현관 출입인원을 카운트하고 구성원 모두가 나간 것으로 카운트되면 현관등 및 다른 모든 전등을 오프시키도록 제어한다.
이상에서 네트워크 장치(130")는 네트워그 장치(130)와 동일한 구성으로서 제1 또는 제2 사용자 단말장치(121, 또는 125) 및 피제어 장치(140)와 별도로 형성된 것으로 예시 및 설명하였지만, 본 발명은 이에 한정되지 않는다. 예컨대, 제1 또는 제2 사용자 단말장치(121, 또는 125)가 스마트 TV로 구현될 경우, 네트워크 장치(130")는 스마트 TV로 구현된 제1 또는 제2 사용자 단말장치(121, 또는 125) 내에 내장될 수 있다. 또한, 피제어 장치들(140; 141, 143, 145) 중 하나가 스마트 TV로 구현될 경우, 네트워크 장치(130")는 스마트 TV로 구현된 피제어 장치(140; 141, 143 또는 145)에 내장될 수 있다.
또한, 네트워크 장치(130")는 단일 네트워크 장치로 구성되는 것으로 예시 및 설명하였지만, 본 발명은 이에 한정되지 않는다. 예컨대, 도 12에 도시된 바와 같이 네트워크 장치(130"')는 메인 허브 디바이스(131')와, 메인 허브 디바이스(131')에 연결된 제1 브리지 디바이스(133')와, 메인 허브 디바이스(131')에 연결된 서브 허브 디바이스(135')와, 서브 허브 디바이스(135')에 연결된 제2 브리지 디바이스(136')로 구현될 수 있다. 실시 예에서, 디바이스들(131', 133', 135', 136')는 각각 도 11에 도시된 네트워크 장치(130")와 동일한 구성을 가질 수 있다. 이 때, 전등 콘트롤 박스(141"), 냉장고(143"), 및 제1 및 제2 세탁기(145",145"')는 제1 및 제2 브리지 디바이스(133', 136')에 분산 연결될 수 있다. 예컨대, 제1 브리지 디바이스(133')에는 전등 콘트롤 박스(141")와 냉장고(143")가 연결되고, 제2 브리지 디바이스(136')에는 제1 세탁기(145")와 제2 세탁기(145"')가 연결된다. 이 경우, 전등 콘트롤 박스(141"), 냉장고(143"), 및 제1 및 제2 세탁기(145", 145'")와 관련된 이벤트 선택항목(410)에 대응하는 코드 부분에 대한 파싱 데이터 생성 및/또는 실행 데이터 생성과 후속처리 역시 메인 허브 디바이스(131'), 제1 브리지 디바이스(133'), 서브 허브 디바이스(135') 및 제2 브리지 디바이스(136')에서 각각 분산 처리된다. 그 결과, 메인 허브 디바이스(131'), 제1 브리지 디바이스(133'), 서브 허브 디바이스(135') 및 제1 허브 디바이스(136')는 각각 저 사양 장치로 구현될 수 있을 뿐 아니라, 파싱 데이터 생성 및/또는 실행 데이터 생성과 후속처리를 빠르게 수행할 수 있다.
또한, 선택적으로, 메인 허브 디바이스(131')는 네트워크 장치(130"')를 통합적으로 관리하도록 구성될 수 있다. 예컨대, 메인 허브 디바이스(131'), 제1 브리지 디바이스(133'), 서브 허브 디바이스(135') 및 제2 허브 디바이스(136')의 각각에서 제1 및 제2 사용자 단말장치(121, 125)으로부터 수신되는 신호에 따라 어플리케이션 엔진의 동작을 제어하는 디바이스 매니저의 기능을 메인 허브 디바이스(131')의 디바이스 매니저가 통합적으로 수행하도록 구현될 수 있다. 이 경우, 제1 브리지 디바이스(133'), 서브 허브 디바이스(135') 및 제2 허브 디바이스(136')는 메인 허브 디바이스(131') 보다 낮은 사양으로 구현될 수 있고, 그에 따라, 제작 코스트가 절감될 수 있다.
이하, 이상과 같이 구성된 예시적인 실시예에 의한 네트워크 장치(130")의 제어 방법을 도 13을 참조하여 설명하면 다음과 같다.
먼저, 제2 통신부(510)를 통해 신호가 수신되면, 제2 프로세서(530')의 디바이스 매니저(540')는 수신된 신호에 포함된 식별정보를 통해 수신된 신호가 네트워크 장치(130')에 전송된 것인 지를 판단하고, 네트워크 장치(130")에 전송된 것으로 판단되면, 수신된 신호에 포함된 데이터 정보를 통해 수신된 신호가 사용자에 의해 선택된 이벤트 선택항목(400; 411, 412, 413, 414 및/또는 415)에 대응하는 파싱 데이터를 포함하는 제1 서비스 요청신호인 지를 판단한다(S300).
단계(S300)에서 판단결과, 수신된 신호가 제1 서비스 요청신호인 것으로 판단되면, 디바이스 매니저(540')는 도 6에 도시된 제2 프로세서(530)의 디바이스 메니저(540)와 마찬가지로 수신된 제1 서비스 요청신호를 어플리케이션 엔진(550')으로 바로 전달하도록 제2 통신부(510)를 제어한다(S310). 어플리케이션 엔진(550') 역시 제2 프로세서(530)의 어플리케이션 엔진(550)과 마찬가지로 제2 통신부(510)로부터 전달된 제1 서비스 요청신호의 파싱 데이터를 바이너리 포맷으로 변환하여 바이너리 실행파일과 같은 실행 데이터를 생성하고(S320), 생성된 실행 데이터의 실행에 관한 후속 처리를 수행한다(S330).
단계(S300)에서 판단결과, 수신된 신호가 제1 서비스 요청신호가 아닌 것으로 판단되면, 디바이스 매니저(540')는 수신된 신호에 포함된 데이터 정보를 통해 수신된 신호가 사용자에 의해 선택된 이벤트 선택항목(411, 412, 413, 414 및/또는 415)에 관한 데이터 정보와 식별정보만 포함하는 제2 서비스 요청신호인 지를 판단한다(S340).
단계(S340)에서 판단결과, 수신된 신호가 제2 서비스 요청신호인 것으로 판단되면, 디바이스 매니저(540')는 선택된 이벤트 선택항목(411 및/또는 413)에 대응하는 서비스 실행 파일의 코드 부분의 파싱 데이터를 요청하는 파싱데이터 요청신호를 제2 서비스 요청신호에 포함된 선택된 이벤트 선택항목(411, 412, 413, 414 및/또는 415)에 관한 데이터 정보와 함께 파서(545)에 전송한다(S350).
파서(545)는 디바이스 매니저(540')로부터 수신된 파싱 데이터 요청신호에 따라 선택된 이벤트 선택항목(411, 412, 413, 414 및/또는 415)에 관한 데이터 정보에 기초하여 제2 저장부(520')에 저장된 서비스 어플리케이션의 소스 코드 중에서 대응하는 코드부분을 파싱하여 파싱 데이터를 생성하고, 생성된 파싱 데이터를 어플리케이션 엔진(550')으로 전달한다(S360).
어플리케이션 엔진(550')은 파서(545)로부터 전달된 파싱 데이터를 바이너리 포맷으로 변환하여 바이너리 실행파일과 같은 실행 데이터를 생성하고(S370), 생성된 실행 데이터의 실행에 관한 후속 처리를 수행한다(S380).
이상에서 설명한 실시 예에 따른 사용자 단말장치(120)의 제어방법과 네트워크장치(130, 130', 130", 130")의 정보제공 방법, 서비스 어플리케이션, 및 원격제어 어플리케이션은 다양한 컴퓨터 수단을 통하여 수행될 수 있는 프로그램 명령 형태로 구현되어 컴퓨터 판독 가능 매체에 기록될 수도 있다. 상기 컴퓨터 판독 가능 매체는 프로그램 명령, 데이터 파일, 데이터 구조 등을 단독으로 또는 조합하여 포함할 수 있다. 상기 매체에 기록되는 프로그램 명령은 본 발명을 위하여 특별히 설계되고 구성된 것들이거나 컴퓨터 소프트웨어 당업자에게 공지되어 사용 가능한 것일 수도 있다.
이상에서 설명한 바와 같이, 실시 에에 따른 사용자 단말장치(120, 120'), 네트워크장치(130, 130'), 어플리케이션 실행 시스템(100, 100') 및 그 제어방법에 따르면, 이벤트에 대응하는 서비스를 제공하는 서비스 어플리케이션을 실행하기 위해 사용자 단말장치(120, 121)는 서비스 어플리케이션의 소스 코드를 파싱하는 과정을 수행하고 네트워크장치(130, 130')는 서비스 어플리케이션의 실행 데이터를 생성하고 생성된 실행 데이터의 실행에 관한 후속처리를 수행하는 과정을 수행한다. 따라서, 사용자 단말장치(120, 121)와 네트워크장치(130, 130')는 고 사양의 부품 및/또는 JVM을 사용하지 않고 서비스 어플리케이션을 실행할 수 있다. 또한, 네트워크장치(130, 130')는 복수의 피제어 장치들(140; 141, 141', 143, 143', 145, 145', 145")이 접속되더라도 통신 오버헤드의 부하를 쉽게 해소할 수 있다.
또한, 사용자 단말장치(120, 121)와 네트워크장치(130, 130', 130", 130")는 각각 서비스 어플리케이션의 소스 코드에 대한 파싱 과정과 실행 데이터 생성과 후속처리 과정을 이벤트 단위 및/또는 피제어 장치 단위로 처리한다. 따라서, 사용자 단말장치(120, 121)와 네트워크장치(130, 130', 130", 130"')는 더 저 사양 장치로 구현될 수 있다. 또한, 네트워크 장치(130, 130', 130", 130"')는 런타임 시 문제가 발생할 경우 종래와 같이 서비스 어플리케이션의 소스코드를 전체 스크립트 단위로 샌드박스 처리하는 경우 보다 파싱 데이터 및/또는 실행 데이터를 빠르게 처리할 수 있다.
또한, 네트워크 장치(130', 130")와 같이, 네트워크 장치(130', 130")가 복수의 디바이스들(131, 133, 135, 136; 131', 133', 135', 136')로 구현되고 피제어 장치(141', 143', 145', 145"; 141", 143", 145", 145"')가 관련 파싱 데이터 생성 및/또는 실행 데이터 생성과 후속처리를 분산 처리하도록 제1 및 제2 허브 디바이스(133, 136; 133', 136')에 분산 연결될 경우, 디바이스들(131, 133, 135, 136; 131', 133', 135', 136')은 각각 더 저 사양 장치로 구현될 수 있을 뿐 아니라, 파싱 데이터 생성 및/또는 실행 데이터 생성과 후속처리를 빠르게 수행할 수 있다.
또한, 사용자 단말장치(120, 125)의 파서(260) 및 이벤트 매니저(265, 265')와 네트워크장치(130, 130', 130", 130"')의 디바이스 매니저(540, 540'), 파서(545) 및 어플리케이션 엔진(550, 550')은 C/C++기반으로 작성된 프로그램으로 구현되므로, C/C++기반으로 작성된 서비스 어프리케이션도 실행할 수 있다.
이상에서 예시적인 실시예들을 통하여 기술적 내용을 설명하였으나, 당해 분야에서 통상적 지식을 가진 자라면 이로부터 다양한 변형 및 균등한 타 실시예가 가능하다는 점을 이해할 것이다.

Claims (15)

  1. 전자장치에 있어서,
    복수의 외부 전자장치와 통신하는 통신부와;
    상기 복수의 외부 전자장치 중 제1 전자장치로부터 상기 제1 전자장치에 저장된 어플리케이션의 파싱 데이터 중 상기 제1 전자장치에서 발생된 이벤트에 대응하는 제1 파싱 데이터를 수신하고, 상기 수신된 제1 파싱 데이터에 대응하는 제1 실행 데이터를 생성하며, 상기 생성된 제1 실행 데이터의 실행에 관한 후속 처리를 수행하는 프로세서를 포함하는 전자장치.
  2. 제1항에 있어서,
    상기 어플리케이션은 스크립트 언어 기반으로 작성된 스크립트 파일을 포함하는 전자장치.
  3. 제1항에 있어서,
    상기 전자장치는 상기 복수의 외부 전자장치와 별도로 형성되거나 상기 복수의 외부 전자장치 중 적어도 하나에 내장되는 전자장치.
  4. 제1항에 있어서,
    상기 전자장치는 상기 어플리케이션의 소스 코드를 저장하는 저장부를 더 포함하는 전자장치.
  5. 제4항에 있어서,
    상기 프로세서는 상기 복수의 외부 전자장치 중 상기 제1 전자장치와 다른 제2 전자장치에서 발생된 이벤트에 대응하는 이벤트 신호를 수신할 경우 상기 저장부에 저장된 어플리케이션의 소스 코드에 기초하여 상기 제2 전자장치에서 발생된 이벤트에 대응하는 제2 파싱 데이터를 생성하고, 상기 생성된 제2 파싱 데이터에 대응하는 제2 실행 데이터를 생성하며, 상기 생성된 제2 실행 데이터의 실행에 관한 후속 처리를 수행하는 전자장치.
  6. 제1항에 있어서,
    상기 프로세서는 상기 복수의 외부 전자장치 중 상기 제1 전자장치와 다른 적어도 하나의 제3 전자장치에 대하여 상기 생성된 제1 실행데이터의 실행에 관한 후속 처리를 수행하는 전자장치.
  7. 제6항에 있어서,
    상기 적어도 하나의 제3 전자장치는 복수의 제3 전자장치를 포함하며,
    상기 전자장치는 복수의 제3 전자장치가 분산 연결된 복수의 전자장치를 포함하는 전자장치.
  8. 전자장치의 제어방법에 있어서,
    복수의 외부 전자장치 중 제1 전자장치로부터 상기 제1 전자장치에 저장된 어플리케이션의 파싱 데이터 중 상기 제1 전자장치에서 발생된 이벤트에 대응하는 제1 파싱 데이터를 수신하는 단계와;
    상기 수신된 제1 파싱 데이터에 대응하는 제1 실행 데이터를 생성하는 단계와;
    상기 생성된 제1 실행 데이터의 실행에 관한 후속 처리를 수행하는 단계;를 포함하는 전자장치의 제어방법.
  9. 제8항에 있어서,
    상기 어플리케이션의 소스 코드를 저장하는 단계와;
    상기 복수의 외부 전자장치 중 상기 제1 전자장치와 다른 제2 전자장치에서 발생된 이벤트에 대응하는 이벤트 신호를 수신할 경우 상기 제2 전자장치에서 발생된 이벤트에 대응하는 제2 파싱 데이터를 생성하는 단계와;
    상기 생성된 제2 파싱 데이터에 대응하는 제2 실행 데이터를 생성하는 단계와;
    상기 생성된 제2 실행 데이터의 실행에 관한 후속 처리를 수행하는 단계를 더 포함하는 전자장치의 제어방법.
  10. 전자장치에 있어서,
    복수의 외부 전자장치와 통신하는 통신부와;
    소정 어플리케이션의 파싱 데이터를 저장하는 저장부와;
    이벤트가 발생하는 지를 판단하고, 상기 이벤트가 발생하는 경우 상기 저장부에 저장된 어플리케이션의 파싱 데이터 중 상기 발생된 이벤트에 대응하는 제1 파싱 데이터를 상기 복수의 외부 전자장치 중 제1 전자장치에 전송하는 프로세서를 포함하는 전자장치.
  11. 제10항에 있어서,
    상기 저장부는 상기 소정 어플리케이션의 파싱 데이터를 소정기준으로 분류하여 저장하는 전자장치.
  12. 제11항에 있어서,
    상기 소정기준은 이벤트 단위 또는 전자장치 단위를 포함하는 전자장치.
  13. 전자장치의 제어방법에 있어서,
    소정 어플리케이션의 파싱 데이터를 저장하는 단계와;
    이벤트가 발생하는 지를 판단하는 단계와;
    상기 이벤트가 발생하는 경우 상기 저장된 어플리케이션의 파싱 데이터 중 상기 발생된 이벤트에 대응하는 제1 파싱 데이터를 복수의 외부 전자장치 중 제1 전자장치에 전송하는 단계;를 포함하는 전자장치의 제어방법.
  14. 제13항에 있어서,
    상기 저장단계는 상기 소정 어플리케이션의 파싱 데이터를 소정기준으로 분류하여 저장하는 단계를 포함하는 전자장치의 제어방법.
  15. 어플리케이션 실행 시스템에 있어서,
    이벤트가 발생하는 지를 판단하고, 상기 이벤트가 발생하는 경우 저장된 어플리케이션의 파싱 데이터 중 상기 발생된 이벤트에 대응하는 제1 파싱 데이터를 전송하는 제1전자장치와:
    상기 제1 전자장치로부터 상기 제1 파싱 데이터를 수신하고, 상기 수신된 제1 파싱 데이터에 대응하는 제1 실행 데이터를 생성하며, 상기 생성된 제1 실행 데이터의 실행에 관한 후속 처리를 수행하는 제2 전자장치;를 포함하는 어플리케이션 실행 시스템.
PCT/KR2017/001949 2016-03-04 2017-02-22 전자장치, 어플리케이션 실행 시스템 및 그 제어방법 WO2017150841A1 (ko)

Priority Applications (1)

Application Number Priority Date Filing Date Title
US16/082,051 US20200293333A1 (en) 2016-03-04 2017-02-22 Electronic device, application execution system, and control method therefor

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
KR10-2016-0026627 2016-03-04
KR1020160026627A KR102506155B1 (ko) 2016-03-04 2016-03-04 전자장치, 어플리케이션 실행 시스템 및 그 제어방법

Publications (1)

Publication Number Publication Date
WO2017150841A1 true WO2017150841A1 (ko) 2017-09-08

Family

ID=59744184

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/KR2017/001949 WO2017150841A1 (ko) 2016-03-04 2017-02-22 전자장치, 어플리케이션 실행 시스템 및 그 제어방법

Country Status (3)

Country Link
US (1) US20200293333A1 (ko)
KR (1) KR102506155B1 (ko)
WO (1) WO2017150841A1 (ko)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111538483A (zh) * 2020-03-25 2020-08-14 平安科技(深圳)有限公司 一种数据处理方法、设备、服务器及可读存储介质

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE102021209319A1 (de) * 2021-08-25 2023-03-02 Robert Bosch Gesellschaft mit beschränkter Haftung Verfahren zum Vermitteln von Datenanforderungen an ein oder mehrere Datenquellen und zur Verarbeitung von angeforderten Daten einer oder mehrerer Datenquellen in einer Anwendung

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20080045925A (ko) * 2006-11-21 2008-05-26 한국전자통신연구원 멀티모달을 위한 애플리케이션 변환 장치 및 그 방법
KR20080097035A (ko) * 2007-04-30 2008-11-04 삼성전자주식회사 홈 네트워크 기기 제어 서비스 및/또는 인터넷 서비스방법과 그 장치
KR20080097826A (ko) * 2007-05-03 2008-11-06 이양선 실행 파일을 생성하는 방법 및 장치
KR20100003751A (ko) * 2008-07-02 2010-01-12 한국전자통신연구원 사용자 단말기를 이용한 서비스 제공 방법 및 그 장치
KR20150045206A (ko) * 2013-10-18 2015-04-28 엘지전자 주식회사 원격 제어 시스템, 모바일 디바이스 및 디지털 디바이스 제어 방법

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101706388B1 (ko) * 2010-08-31 2017-02-13 삼성전자주식회사 어플리케이션 서비스 제공 방법, 장치 및 이를 제공하는 시스템
JP5737075B2 (ja) * 2011-08-29 2015-06-17 富士通株式会社 イベント収集方法及び情報処理装置

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20080045925A (ko) * 2006-11-21 2008-05-26 한국전자통신연구원 멀티모달을 위한 애플리케이션 변환 장치 및 그 방법
KR20080097035A (ko) * 2007-04-30 2008-11-04 삼성전자주식회사 홈 네트워크 기기 제어 서비스 및/또는 인터넷 서비스방법과 그 장치
KR20080097826A (ko) * 2007-05-03 2008-11-06 이양선 실행 파일을 생성하는 방법 및 장치
KR20100003751A (ko) * 2008-07-02 2010-01-12 한국전자통신연구원 사용자 단말기를 이용한 서비스 제공 방법 및 그 장치
KR20150045206A (ko) * 2013-10-18 2015-04-28 엘지전자 주식회사 원격 제어 시스템, 모바일 디바이스 및 디지털 디바이스 제어 방법

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111538483A (zh) * 2020-03-25 2020-08-14 平安科技(深圳)有限公司 一种数据处理方法、设备、服务器及可读存储介质

Also Published As

Publication number Publication date
KR20170103559A (ko) 2017-09-13
KR102506155B1 (ko) 2023-03-06
US20200293333A1 (en) 2020-09-17

Similar Documents

Publication Publication Date Title
WO2019221451A1 (en) Method and an electronic device connecting plurality of electronic devices to server through hub
WO2016060480A1 (en) Electronic device and method for spoken interaction thereof
WO2016036115A1 (ko) 재등록을 관리하는 전자 장치 및 방법
WO2015115852A1 (en) Task scheduling method and apparatus
WO2015133847A1 (en) Method and apparatus for detecting user input in an electronic device
WO2017099440A1 (en) Web page operation method and electronic device for supporting the same
WO2016208992A1 (en) Electronic device and method for controlling display of panorama image
WO2018038419A1 (en) Method for recognizing location and electronic device implementing the same
WO2016039582A1 (en) Method and apparatus for recognizing iris
WO2021187818A1 (ko) 전자 장치 및 전자 장치의 테마를 부분적으로 운용하는 방법
WO2020166894A1 (en) Electronic device and method for recommending word in same
WO2016006726A1 (ko) 응용프로그램을 공유하기 위한 방법 및 그 전자 장치
WO2015093902A1 (ko) 스마트 홈 시스템의 피 제어 장치 검색 및 제어 방법과 장치
WO2017090931A1 (ko) 이벤트 관리 서비스를 제공하는 전자 장치 및 방법
WO2017150841A1 (ko) 전자장치, 어플리케이션 실행 시스템 및 그 제어방법
WO2021162323A1 (ko) 전자 장치 및 상기 전자 장치를 이용한 콘텐츠 운용 방법
WO2021150037A1 (en) Method for providing user interface and electronic device therefor
WO2019039706A1 (ko) 전자 장치 및 그의 데이터 운용 방법
WO2020138909A1 (ko) 콘텐트 공유 방법 및 그 전자 장치
WO2019164196A1 (ko) 문자를 인식하기 위한 전자 장치 및 방법
WO2023058860A1 (ko) 멀티 서명된 apk 파일을 처리하는 전자 장치 및 그 동작 방법
WO2016068557A1 (en) Method and apparatus for notifying of content change
WO2016048060A1 (en) Method for providing information and an electronic device thereof
WO2022149771A1 (ko) 전자 장치 및 이를 이용한 메모리 관리 방법
WO2022030860A1 (ko) Iot 환경에서 타겟 전자 장치를 제어하기 위한 전자 장치 및 그에 관한 방법

Legal Events

Date Code Title Description
NENP Non-entry into the national phase

Ref country code: DE

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

Ref document number: 17760245

Country of ref document: EP

Kind code of ref document: A1

122 Ep: pct application non-entry in european phase

Ref document number: 17760245

Country of ref document: EP

Kind code of ref document: A1