







도 1은 디지털 정보 가전의 진화를 나타낸 도면이다.1 is a view showing the evolution of digital information appliances.
도 2는 종래의 홈 네트워크 서버 및 홈 네트워크 기기를 나타낸 도면이다.2 is a diagram illustrating a conventional home network server and a home network device.
도 3은 종래의 그래픽 사용자 인터페이스를 지원하는 장치를 나타낸 블록도이다.3 is a block diagram illustrating an apparatus for supporting a conventional graphical user interface.
도 4는 본 발명의 실시예에 따른 홈 네트워크 기기 제어 및 상태 수집을 위한 스크립트 코드를 생성하는 장치를 나타낸 블록도이다.4 is a block diagram illustrating an apparatus for generating script code for controlling a home network device and collecting a state according to an embodiment of the present invention.
도 5는 본 발명의 실시예에 따른 홈 네트워크 기기 제어를 위한 스크립트 코드를 생성하는 장치의 코드 생성부를 나타낸 블록도이다.5 is a block diagram illustrating a code generator of an apparatus for generating a script code for controlling a home network device according to an embodiment of the present invention.
도 6은 본 발명의 실시예에 따른 홈 네트워크 기기의 상태를 수집하기 위하여 정의된 의사 코드와 스크립트 코드 간의 관계를 나타낸 테이블이다.6 is a table illustrating a relationship between pseudo code and script code defined to collect a state of a home network device according to an embodiment of the present invention.
도 7은 본 발명의 실시예에 따른 홈 네트워크 기기를 제어하기 위하여 정의된 의사 코드와 스크립트 코드 간의 관계를 나타낸 테이블이다.7 is a table illustrating a relationship between pseudo code and script code defined for controlling a home network device according to an embodiment of the present invention.
도 8은 본 발명의 실시예에 따른 홈 네트워크 기기 제어 및 상태 수집을 위한 스크립트 코드를 생성하는 과정를 나타낸 흐름도이다.8 is a flowchart illustrating a process of generating script code for controlling a home network device and collecting a state according to an embodiment of the present invention.
<도면의 주요 부분에 관한 부호의 설명><Explanation of symbols on main parts of the drawings>
410 : 저장부420 : 수신부410: storage unit 420: receiving unit
430 : 코드 생성부430: code generation unit
본 발명은 의사 코드를 이용하여 홈 네트워크 기기를 제어하기 위한 스크립트 코드를 생성하는 장치 및 방법에 관한 것으로서, 더욱 상세하게는 XML 기반의 의사 코드를 사용하여 홈 네트워크 기기의 제어 스크립트 및 상태 스크립트를 자동으로 생성하게 하여 개발 기간을 단축 시키고, 생성된 코드의 유지 보수 및 관리를 용이하게 하고 그리고, 코드의 재활용성을 보장하는 의사 코드를 이용하여 홈 네트워크 기기를 제어하기 위한 스크립트 코드를 생성하는 장치 및 방법에 관한 것이다.The present invention relates to an apparatus and method for generating script code for controlling a home network device using a pseudo code, and more particularly, to automatically control a control script and a status script of a home network device using an XML-based pseudo code. Apparatus for generating script code for controlling the home network device using pseudo code that shortens the development period, facilitates the maintenance and management of the generated code, and ensures code recyclability, It is about a method.
과거, 특정 부류에만 국한된 인터넷이 웹의 구현을 통해 널리 퍼지게 되면서, 디지털 산업 전반에 많은 영향을 미쳤다. 인터넷을 기반으로 하는 서비스와 인터넷을 통해 유통되는 컨텐츠는 21세기 디지털 산업의 척도가 되고 있다. 여기에 인터넷 망의 초고속화, 휴대폰, PDA, 노트북 등을 통해 컨텐츠의 멀티미디어화가 이루어지면서, 이제 멀티미디어는 선택이 아닌 필수 사항으로 자리잡게 되었다.In the past, the Internet, which was confined to a specific class, became widespread through the implementation of the Web, which had a great impact on the digital industry as a whole. Internet-based services and content distributed through the Internet have become the yardstick for the digital industry in the 21st century. In addition, as the multimedia of contents has been realized through the high speed of the internet network, mobile phones, PDAs, notebooks, etc., multimedia has become an essential item, not an option.
한편 컴퓨터를 기반으로 한 정보 통신의 개념은 유비쿼터스(Ubiquitous)라는 개념으로 변화하고 있다. 유비쿼터스는 언제 어디서나 존재한다는 의미의 라틴어로 서, 사용자가 네트워크나 컴퓨터를 의식하지 않고 장소에 관계없이 자유롭게 네트워크에 접속할 수 있는 정보 통신 환경을 의미한다.Meanwhile, the concept of computer-based information communication is changing to the concept of ubiquitous. Ubiquitous is a Latin word meaning that it exists anytime, anywhere. It means an information and communication environment where users can freely access the network regardless of the network or computer.
도 1은 디지털 정보 가전의 진화를 보여주고 있다. 1980년대는 컴퓨팅 네트워크 시대로 개인용 컴퓨터(Personal Computer, PC)와 노트북, 메인 프레임 컴퓨터와 워크스테이션 등이 네트워크를 이루며 정보를 교환하였다. 이는 연구소, 또는 사무실 등 그 사용 영역이 한정되었다.1 illustrates the evolution of digital information appliances. The 1980s was the era of computing networks, where personal computers (PCs), laptops, mainframe computers and workstations exchanged information over networks. This has been limited in its use, such as laboratories or offices.
그러나 1990년대에 들어오면서 인터넷이 성장하게 되었다. 이에 따라, 홈 스테이션에 대한 관심이 조금씩 대두되고, 또한 연구소와 사무실에 국한되던 인터넷이 개인과 가정에도 들어오게 되었다.But in the 1990s, the Internet grew. As a result, interest in home stations has gradually increased, and the Internet, which has been limited to research institutes and offices, has been introduced to individuals and homes.
2000년대에 들어오면서, 무선 네트워크의 발전이 두드러지고 있으며, 또한 유선 네트워크의 전송 속도는 급격히 성장하게 되었다. 그 결과 전술한 바와 같이 대용량의 멀티미디어 컨텐츠의 유통이 본격화 되고 있으며, 디지털 방송에 대한 연구가 활발히 진행되고 있다. 또한 일부 서비스는 상용화에 이르고 있다. 한편, 많은 가전 기기들도 유비쿼터스 개념 하에 정보 가전으로 변화하고 있다. 이제 디지털 정보는 컴퓨터나 워크 스테이션을 통해서만이 아니라, 디지털 TV, 휴대폰, 화상 전화기, 스마트 폰을 통해서도 주고 받을 수 있으며, 냉장고와 전자레인지, 에어컨 같은 가전 기기들 사이에도 홈 네트워크와 유비쿼터스의 개념 하에 디지털 정보의 송수신이 가능하게 되었다.In the 2000s, the development of wireless networks has become prominent, and the transmission speed of wired networks has grown dramatically. As a result, as mentioned above, the distribution of large-capacity multimedia contents is in full swing, and research on digital broadcasting is actively progressing. In addition, some services are reaching commercialization. On the other hand, many home appliances are changing to information appliances under the ubiquitous concept. Digital information can now be sent and received not only through computers and workstations, but also through digital TVs, mobile phones, video phones, and smartphones, and between home appliances such as refrigerators, microwaves, and air conditioners. It is now possible to send and receive information.
도 2는 종래의 홈 네트워크 서버 및 홈 네트워크 기기를 나타낸 도면이다.2 is a diagram illustrating a conventional home network server and a home network device.
사용자는 그래픽 사용자 인터페이스를 지원하는 기기(이하 GUI 기기라 한다 )(230)인 PC(Personal Computer), 디지털 TV, 홈 패드 및 PDA(Personal Digital Assistant) 등을 이용하여 홈 네트워크 기기(210)를 제어하거나 그 상태를 확인할 수 있다. 다시 말해, 사용자는 GUI 기기(230)를 이용하여 홈 네트워크 서버(220)에 접속하고 홈 네트워크 서버(230)로부터 전달 받은 그래픽 사용자 인터페이스를 이용하여 홈 네트워크 상에 존재하는 기기(210)들을 제어하고 기기(210)의 상태를 확인할 수 있는 것이다.The user controls the
여기서, 그래픽 사용자 인터페이스로는 HTML(Hypertext Markup Language)에 의한 웹 페이지 또는 별도의 응용 프로그램이 사용될 수 있는데, 웹 페이지 형식의 사용자 인터페이스는 응용 프로그램에 의한 사용자 인터페이스보다 제작 및 유지 보수가 용이하다는 장점이 있다.Here, a web page or a separate application using HTML (Hypertext Markup Language) may be used as the graphical user interface. The user interface of the web page format is easier to produce and maintain than the user interface by the application. have.
도 3은 종래의 그래픽 사용자 인터페이스를 지원하는 장치를 나타낸 블록도이다.3 is a block diagram illustrating an apparatus for supporting a conventional graphical user interface.
그래픽 사용자 인터페이스를 지원하는 장치(230)는 사용자 인터페이스부(330), 상태 수신부(310) 및 기기 제어부(320)를 포함하여 구성된다.The
사용자 인터페이스부(330)는 사용자에게 그래픽 사용자 인터페이스를 제공하는 역할을 하는데, 일반적으로 HTML로 제작되며 이미지 또는 텍스트를 이용하여 홈 네트워크 기기(210)의 상태를 표시하거나 이미지를 이용한 홈 네트워크 기기(210)의 제어 수단을 사용자에게 제공한다.The
상태 수신부(310)는 홈 네트워크 기기(210)의 상태를 수신하는 역할을 수행한다. 수신된 홈 네트워크 기기(210)의 상태는 사용자 인터페이스부(330)를 통하여 화면에 출력된다.The state receiving
기기 제어부(320)는 홈 네트워크 기기(210)에 제어 명령을 송신하는 역할을 한다. 사용자는 사용자 인터페이스부(330)를 통하여 제어 명령을 입력하는데, 입력 받은 제어 명령은 기기 제어부(320)를 통하여 홈 네트워크 기기(210)에 전달된다.The
일반적으로 웹 페이지 형식의 그래픽 사용자 인터페이스를 지원하는 장치(230)에서 상태 수신부(310) 및 기기 제어부(320)는 자바 스크립트를 이용하여 제작되는데, 실제로 자바 스크립트는 그래픽 사용자 인터페이스를 제공하는 장치(230)와의 하드웨어적인 통신을 할 수 없으므로, ActiveX 컨트롤 객체를 통하여 그 역할을 수행한다. 다시 말해, 웹 페이지 형식의 그래픽 사용자 인터페이스에는 하드웨어와 통신하는 ActiveX 컨트롤 객체가 선언되어 있는데, 이를 이용하여 홈 네트워크 기기(210)로부터 상태 정보를 수신하거나 제어 명령을 송신하는 것이다.In general, in the
이와 같은 웹 페이지 형식의 그래픽 사용자 인터페이스를 제작하기 위하여 개발자는 해상도 및 입력 수단이 다른 GUI 기기(230) 별로 사용자 인터페이스를 제작하여야 하는데, 홈 네트워크 시장이 성장함에 따라 GUI 기기(230) 및 홈 네트워크 기기(210)의 다양화에 따라 동일한 기기에 대한 반복적인 작업이 요구되었다. 또한, 개발자들의 상이한 제작 습관으로 인하여 유사한 다른 사용자 인터페이스 제작 시에 기 제작된 사용자 인터페이스를 사용함에 있어서 코드 디버깅에 많은 시간을 투자해야 했다.In order to produce a graphic user interface in the form of a web page, a developer must produce a user interface for each
본 발명은 의사 코드를 이용하여 홈 네트워크 기기를 제어하기 위한 코드 개 발에 있어서 공통적인 규칙을 갖거나, 일정한 패턴으로 정의가 가능한 XML 기반의 의사 코드를 이용하여 스크립트 코드를 생성하고 관리하는데 그 목적이 있다.An object of the present invention is to generate and manage script code using XML-based pseudo code that has a common rule in code development for controlling a home network device using pseudo code or can be defined in a predetermined pattern. There is this.
본 발명의 목적은 이상에서 언급한 목적으로 제한되지 않으며, 언급되지 않은 또 다른 목적들은 아래의 기재로부터 당업자에게 명확하게 이해되어질 수 있을 것이다.The object of the present invention is not limited to the above-mentioned object, and other objects not mentioned will be clearly understood by those skilled in the art from the following description.
상기 목적을 달성하기 위하여, 본 발명의 실시예에 따른 의사 코드를 이용하여 홈 네트워크 기기를 제어하기 위한 스크립트 코드를 생성하는 장치는 홈 네트워크 기기에 대한 제어 또는 상태 수집을 위한 행동 함수가 정의된 행동 함수 테이블 및 상기 제어 또는 상태 수집을 위한 의사 코드에 매핑되는 스크립트가 정의된 코드 매핑 테이블을 저장하는 저장부와, 그래픽 사용자 인터페이스를 구성하는 이미지의 ID, 상기 이미지의 ID에 대해 설정된 상기 행동 함수 및 상기 행동 함수에 대한 조건을 수신하는 수신부 및 상기 저장된 행동 함수 테이블 및 코드 매핑 테이블을 참조하여 상기 수신된 이미지 ID, 상기 이미지 ID에 대해 설정된 행동 함수 및 상기 행동 함수에 대한 조건에 따른 스크립트 코드를 생성하는 코드 생성부를 포함한다.In order to achieve the above object, an apparatus for generating a script code for controlling a home network device using a pseudo code according to an embodiment of the present invention is a behavior in which an action function for controlling or collecting a state of the home network device is defined. A storage unit for storing a function mapping table and a code mapping table defining scripts mapped to the pseudo code for collecting the control or state, an ID of an image constituting a graphical user interface, the behavior function set for the ID of the image, and Generating script code according to the received image ID, the behavior function set for the image ID, and the condition for the behavior function with reference to the receiver for receiving the condition for the behavior function and the stored behavior function table and the code mapping table It includes a code generation unit.
본 발명의 실시예에 따른 의사 코드를 이용하여 홈 네트워크 기기를 제어하기 위한 스크립트 코드를 생성하는 방법은 홈 네트워크 기기에 대한 제어 또는 상태 수집을 위한 그래픽 사용자 인터페이스를 구성하는 이미지 ID, 상기 이미지 ID에 대해 설정된 행동 함수 및 상기 행동 함수에 대한 조건을 수신하는 단계 및 홈 네트워크 기기에 대한 제어 또는 상태 수집을 위한 행동 함수가 정의된 행동 함수 테이블 및 상기 제어 또는 상태 수집을 위한 의사 코드에 매핑되는 스크립트가 정의된 코드 매핑 테이블을 참조하여 상기 수신된 이미지 ID, 상기 이미지 ID에 대해 설정된 행동 함수 및 상기 행동 함수에 대한 조건에 따른 스크립트 코드를 생성하는 단계를 포함한다.The method for generating a script code for controlling a home network device using a pseudo code according to an embodiment of the present invention includes an image ID and a image ID constituting a graphical user interface for controlling or collecting a state of the home network device. Receiving a behavior function set for the control function and a condition for the behavior function; and a behavior function table defining a behavior function for control or state collection for a home network device, and a script mapped to the pseudo code for the control or state collection. Generating a script code according to the received image ID, an action function set for the image ID, and a condition for the action function with reference to a defined code mapping table.
기타 실시예들의 구체적인 사항들은 상세한 설명 및 도면들에 포함되어 있다.Specific details of other embodiments are included in the detailed description and the drawings.
본 발명의 이점 및 특징, 그리고 그것들을 달성하는 방법은 첨부되는 도면과 함께 상세하게 후술되어 있는 실시예들을 참조하면 명확해질 것이다. 그러나 본 발명은 이하에서 개시되는 실시예들에 한정되는 것이 아니라 서로 다른 다양한 형태로 구현될 수 있으며, 단지 본 실시예들은 본 발명의 개시가 완전하도록 하고, 본 발명이 속하는 기술분야에서 통상의 지식을 가진 자에게 발명의 범주를 완전하게 알려주기 위해 제공되는 것이며, 본 발명은 청구항의 범주에 의해 정의될 뿐이다. 명세서 전체에 걸쳐 동일 참조 부호는 동일 구성 요소를 지칭한다.Advantages and features of the present invention and methods for achieving them will be apparent with reference to the embodiments described below in detail with the accompanying drawings. However, the present invention is not limited to the embodiments disclosed below, but can be implemented in various different forms, and only the embodiments make the disclosure of the present invention complete, and the general knowledge in the art to which the present invention belongs. It is provided to fully inform the person having the scope of the invention, which is defined only by the scope of the claims. Like reference numerals refer to like elements throughout.
이하, 첨부된 도면을 참조하여 본 발명의 바람직한 실시예를 상세히 설명하기로 한다.Hereinafter, exemplary embodiments of the present invention will be described in detail with reference to the accompanying drawings.
도 4는 본 발명의 실시예에 따른 홈 네트워크 기기 제어 및 상태 수집을 위한 스크립트 코드를 생성하는 장치를 나타낸 블록도이다.4 is a block diagram illustrating an apparatus for generating script code for controlling a home network device and collecting a state according to an embodiment of the present invention.
홈 네트워크 기기 제어 및 상태 수집을 위한 스크립트 코드를 생성하는 장치는 저장부(410), 수신부(420) 및 코드 생성부(430)를 포함하여 구성된다.The apparatus for generating a script code for controlling a home network device and collecting a state includes a
저장부(410)는 홈 네트워크 기기(210)에 대한 제어 또는 상태 수집을 위한 행동 함수가 정의된 행동 함수 테이블 및 제어 또는 상태 수집을 위한 의사 코드에 매핑되는 스크립트가 정의된 코드 매핑 테이블을 저장하는 역할을 한다.The
여기서, 행동 함수는 홈 네트워크 기기(210)를 제어하고 상태를 확인할 수 있게 하는 함수로서 의사 코드로 작성되는 것이 바람직한데 구체적으로는 XML로 작성되는 것이 바람직하다.Here, the action function is preferably a function that enables the
XML로 작성된 문서를 XML 파서(Parser)에 의하여 그 문법 검사가 수행되는데, 일반적으로 윈도우 운영 체제를 사용하는 PC의 경우 XML 파서가 내장되어 있으므로, XML 문서의 작성 및 해석은 용이하다. 또한, 동일한 작업을 수행하는 문서에 있어서, XML은 그 구성이 스크립트보다 짧고 간결하므로 스크립트를 이해하지 못하더라도 유지 보수가 용이한 장점이 있다.The grammar check is performed by the XML parser for the document written in XML. In general, in the case of a PC using a Windows operating system, the XML parser is built in, so the creation and interpretation of the XML document is easy. In addition, in documents that perform the same task, XML is shorter and more concise than a script, and thus maintenance is easy even if the script is not understood.
행동 함수는 제어 행동 함수와 상태 수집 행동 함수로 분류될 수 있는데, 제어 행동 함수는 특정 홈 네트워크 기기(210)에 대한 소정의 동작을 요청하는 함수로서 세탁기를 예를 들면, 전원, 세탁, 헹굼, 탈수, 건조 및 예약 등이 포함될 수 있으며, 상태 수집 행동 함수는 전원 상태, 세탁 시간, 세탁 온도, 탈수 속도 및 건조 시간 등이 포함될 수 있다.The behavioral function may be classified into a control behavioral function and a state collection behavioral function. The control behavioral function is a function for requesting a predetermined operation on a specific
또한, 행동 함수는 제조되는 모든 홈 네트워크 기기(210)에 대한 제어 행동 함수 및 상태 수집 행동 함수가 사용자로부터 입력되는 제어 명령에 매핑되어 사전에 정의된 것으로서, 홈 네트워크 기기(210)의 제어 및 상태 수집을 위한 장치의 그래픽 사용자 인터페이스를 제작하는 개발자는 자신의 의도에 따라 XML 등의 의사 코드를 이용하여 행동 함수를 작성할 수 있다. 여기서, 기 작성된 행동 함수를 기준으로 그래픽 사용자 인터페이스가 제작될 수 있는데 이에 따라, 개발 라인의 통일성이 제공되며 차후 발생할 수 있는 유지 보수도 간편해질 수 있다.In addition, the behavior function is defined in advance by mapping the control behavior function and the state collection behavior function for all the
코드 매핑 테이블은 홈 네트워크 기기(210)를 제어하거나 상태를 수집하기 위하여 정의된 의사 코드와 스크립트 코드 간의 관계를 나타낸 테이블로서 코드 생성부(430)에 의해 참조되어 스크립트 코드를 생성하는데 사용된다.The code mapping table is a table representing the relationship between the pseudo code and the script code defined for controlling the
수신부(420)는 그래픽 사용자 인터페이스의 ID, 그래픽 사용자 인터페이스 ID에 대해 설정된 행동 함수 및 행동 함수에 대한 조건을 수신하는 역할을 한다.The receiving
홈 네트워크 기기(210)를 제어하거나 상태를 수집하기 위한 장치에는 사용자에게 친숙한 그래픽 사용자 인터페이스를 사용하는 것이 바람직한데, 그래픽 사용자 인터페이스를 구성하는 이미지는 일반적으로 조각으로 존재한다. 그리고 사용자는 조각된 이미지를 셀렉터 또는 단축키로 선택하여 홈 네트워크 기기(210)에 제어 명령을 전달할 수도 있고, 조각된 부분의 이미지를 다른 이미지로 치환하는 방법 등으로 홈 네트워크 기기(210)의 상태를 사용자에게 전달할 수도 있다.It is desirable to use a user-friendly graphical user interface in the device for controlling the
따라서, 개발자는 각 조각 이미지에 대하여 제어 행동 함수 또는 상태 수집 행동 함수를 연결하는 것이 바람직한데, 이를 위하여 각 이미지에 ID를 부여하고 ID에 대해 행동 함수를 설정한다. 또한, 행동 함수에 대한 의사 코드 작성을 위하여 ID에 설정된 행동 함수에 대한 조건을 입력하는데, 수신부(420)는 각 이미지의 ID, ID에 대해 설정된 행동 함수 및 행동 함수에 대한 조건을 수신하는 것이다.Therefore, it is desirable for a developer to connect a control behavior function or a state collection behavior function to each fragment image. For this purpose, an ID is assigned to each image and a behavior function is set for the ID. In addition, a condition for the behavior function set in the ID is input to prepare a pseudo code for the behavior function. The receiving
수신된 ID, ID에 설정된 행동 함수 및 행동 함수에 대한 조건은 코드 생성부(430)로 전달되는데, 코드 생성부(430)는 저장부(410)에 저장된 코드 매핑 테이블 을 참조하여 스크립트 코드를 생성한다. 여기서, 스크립트 코드로는 웹 페이지 형식의 문서에서 하드웨어와 통신하기 위한 ActiveX 컨트롤 객체를 제어할 수 있는 자바 스크립트가 사용되는 것이 바람직하다.The received ID, the action function set in the ID, and the condition for the action function are transmitted to the
도 5는 본 발명의 실시예에 따른 홈 네트워크 기기 제어를 위한 스크립트 코드를 생성하는 장치의 코드 생성부를 나타낸 블록도이다.5 is a block diagram illustrating a code generator of an apparatus for generating a script code for controlling a home network device according to an embodiment of the present invention.
코드 생성부(430)는 의사 코드 생성부(510) 및 스크립트 코드 생성부(520)를 포함하여 구성된다.The
의사 코드 생성부(510)는 저장부(410)에 저장된 행동 함수 테이블을 참조하여 수신된 그래픽 사용자 인터페이스의 ID, 그래픽 사용자 인터페이스 ID에 대해 설정된 행동 함수 및 행동 함수에 대한 조건에 따른 의사 코드를 생성하는 역할을 한다.The
생성된 의사 코드는 스크립트 코드 생성부(520)로 전달되는데, 스크립트 코드 생성부(520)는 저장부(410)에 저장된 코드 매핑 테이블을 참조하여 전달 받은 의사 코드를 해석하여 스크립트 코드로 변환한다.The generated pseudo code is transferred to the
여기서, 의사 코드 생성부(520)에 의해 생성된 의사 코드는 저장부(410) 또는 별도의 저장 매체에 저장될 수 있는데, 개발자는 저장된 의사 코드를 수정하여 다시 저장할 수도 있으며, 스크립트 코드 생성부(520)를 통하여 수정된 스크립트 코드를 생성할 수도 있다.Here, the pseudo code generated by the pseudo
도 6은 본 발명의 실시예에 따른 홈 네트워크 기기의 상태를 수집하기 위하여 정의된 의사 코드와 스크립트 코드 간의 관계를 나타낸 테이블이다.6 is a table illustrating a relationship between pseudo code and script code defined to collect a state of a home network device according to an embodiment of the present invention.
홈 네트워크 기기(210)의 상태를 수집하기 위하여 정의된 의사 코드와 스크립트 코드 간의 관계를 나타낸 테이블(이하 상태 코드 매핑 테이블이라 한다)은 의사 코드의 요소(element) 및 요소의 속성(attribute)과 이에 대한 상태 스크립트 코드의 정의로 구성된다.The table representing the relationship between the pseudo code and the script code defined for collecting the state of the home network device 210 (hereinafter, referred to as a state code mapping table) includes elements of the pseudo code and attributes of the element and Consists of the definition of state script code.
상태 코드 매핑 테이블은 스크립트 코드 생성부(520)에 의하여 참조되어 의사 코드가 해석되고, 상태 스크립트 코드로 변환된다.The state code mapping table is referenced by the script
도 7은 본 발명의 실시예에 따른 홈 네트워크 기기를 제어하기 위하여 정의된 의사 코드와 스크립트 코드 간의 관계를 나타낸 테이블이다.7 is a table illustrating a relationship between pseudo code and script code defined for controlling a home network device according to an embodiment of the present invention.
홈 네트워크 기기(210)를 제어하기 위하여 정의된 의사 코드와 스크립트 코드 간의 관계를 나타낸 테이블(이하 제어 코드 매핑 테이블이라 한다)은 의사 코드의 요소 및 요소의 속성과 이에 대한 제어 스크립트 코드의 정의로 구성된다.The table showing the relationship between the pseudo code and the script code defined for controlling the home network device 210 (hereinafter referred to as the control code mapping table) is composed of the elements of the pseudo code and the attributes of the elements and the definition of the control script code therefor. do.
제어 코드 매핑 테이블은 스크립트 코드 생성부(520)에 의하여 참조되어 의사 코드가 해석되고, 제어 스크립트 코드로 변환된다.The control code mapping table is referred to by the script
도 8은 본 발명의 실시예에 따른 홈 네트워크 기기 제어 및 상태 수집을 위한 스크립트 코드를 생성하는 과정를 나타낸 흐름도이다.8 is a flowchart illustrating a process of generating script code for controlling a home network device and collecting a state according to an embodiment of the present invention.
본 발명의 실시예에 따른 홈 네트워크 기기(210)의 제어 및 상태 수집을 위한 스크립트 코드를 생성하는 장치가 스크립트 코드를 생성하기 위해서는 저장부(410)에 행동 함수 테이블 및 코드 매핑 테이블이 사전에 저장되어 있는 것이 바람직하다.In order to generate the script code, the apparatus generating the script code for controlling the
장치는 우선 개발자로부터 홈 네트워크 기기(210)의 제어 및 상태 수집을 위 한 그래픽 사용자 인터페이스의 조각 이미지에 대한 ID인 이미지 ID를 수신하고(S810), 수신된 이미지 ID에 대해 설정된 행동 함수를 수신하며(S820), 설정된 행동 함수에 대한 조건을 수신한다(S830). 여기서, 이미지 ID, 행동 함수 및 조건의 수신 순서를 상황에 따라 바뀔 수도 있다.The device first receives an image ID, which is an ID of a fragment image of a graphical user interface for collecting control and status of a
수신된 이미지 ID, 이미지 ID에 대해 설정된 행동 함수 및 행동 함수에 대한 조건은 의사 코드 생성부(510)로 전달되는데, 의사 코드 생성부(510)는 저장부(410)에 저장된 행동 함수 테이블을 참조하여 의사 코드를 생성한다(S840).The received image ID, the behavior function set for the image ID, and the condition for the behavior function are transmitted to the
생성된 의사 코드는 스크립트 코드 생성부(520)로 전달되는데, 스크립트 코드 생성부(520)는 저장부(410)에 저장된 코드 매핑 테이블을 참조하여 전달 받은 의사 코드를 해석하고(S850), 해석된 의사 코드를 스크립트 코드로 변환한다(S860).The generated pseudo code is transferred to the
이 때, 전달 받은 의사 코드는 의사 코드 생성부(510)에 의해 전달 받은 의사 코드일 수도 있고, 저장부(410) 또는 별도의 저장 매체에 저장되어 있는 의사 코드일 수도 있다. 따라서, 개발자는 기 저장된 의사 코드를 수정하여 스크립트 코드 생성부(520)에 입력함으로써 수정된 스크립트 코드를 생성할 수도 있다(S860).In this case, the received pseudo code may be a pseudo code received by the pseudo
이상 첨부된 도면을 참조하여 본 발명의 실시예를 설명하였지만, 본 발명이 속하는 기술분야에서 통상의 지식을 가진 자는 본 발명이 그 기술적 사상이나 필수적인 특징을 변경하지 않고서 다른 구체적인 형태로 실시될 수 있다는 것을 이해할 수 있을 것이다. 그러므로 이상에서 기술한 실시예들은 모든 면에서 예시적인 것이며 한정적이 아닌 것으로 이해해야만 한다.Although embodiments of the present invention have been described above with reference to the accompanying drawings, those skilled in the art to which the present invention pertains may implement the present invention in other specific forms without changing the technical spirit or essential features thereof. I can understand that. Therefore, it should be understood that the embodiments described above are exemplary in all respects and not restrictive.
상기한 바와 같은 본 발명의 의사 코드를 이용하여 홈 네트워크 기기를 제어하기 위한 스크립트 코드를 생성하는 장치 및 방법에 따르면 다음과 같은 효과가 하나 혹은 그 이상 있다.According to the apparatus and method for generating script code for controlling a home network device using the pseudo code of the present invention as described above, there are one or more of the following effects.
첫째, 본 발명은 홈 네트워크 기기를 제어하기 위한 코드 개발에 있어서 공통적인 규칙을 갖거나, 일정한 패턴으로 정의가 가능한 XML 기반의 의사 코드를 이용하여 스크립트 코드를 생성하고 관리함으로써 의사 코드 만으로 스크립트 코드의 유지 보수 및 디버깅을 할 수 있게 하는 장점이 있다.First, the present invention has a common rule in the development of code for controlling a home network device, or by generating and managing script code using XML-based pseudo code that can be defined in a predetermined pattern, It has the advantage of being able to maintain and debug.
둘째, 동일 기능 및 다양한 해상도의 홈 네트워크 기기에 대하여 기 작성된 의사 코드를 재사용할 수 있는 장점도 있다.Second, there is an advantage in that the pseudo code written for the home network device having the same function and various resolution can be reused.
셋째, 기 설정된 XML 기반의 의사 코드 맵에 의하여 의사 코드 작성 후에 실제 스크립트 코드를 개발하므로, 개발 비용을 경감할 수 있는 장점도 있다.Third, since the actual script code is developed after the pseudo code is written by the preset XML-based pseudo code map, there is an advantage that can reduce the development cost.
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| KR1020050002190AKR100631775B1 (en) | 2005-01-10 | 2005-01-10 | Apparatus and method for generating script code for controlling home network device using pseudo code |
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| KR1020050002190AKR100631775B1 (en) | 2005-01-10 | 2005-01-10 | Apparatus and method for generating script code for controlling home network device using pseudo code |
| Publication Number | Publication Date |
|---|---|
| KR20060081781A KR20060081781A (en) | 2006-07-13 |
| KR100631775B1true KR100631775B1 (en) | 2006-10-12 |
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| KR1020050002190AExpired - Fee RelatedKR100631775B1 (en) | 2005-01-10 | 2005-01-10 | Apparatus and method for generating script code for controlling home network device using pseudo code |
| Country | Link |
|---|---|
| KR (1) | KR100631775B1 (en) |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| KR101622335B1 (en)* | 2013-11-06 | 2016-05-19 | 주식회사 엘지씨엔에스 | Method of generating code, computer device performing the same and storage media storing the same |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| KR100979519B1 (en)* | 2008-05-19 | 2010-09-01 | 경희대학교 산학협력단 | Construction of Scenarios for Ubiquitous Intelligent Space Development and Structural Integration Service Method |
| US10419438B2 (en) | 2015-06-09 | 2019-09-17 | Intel Corporation | System, apparatus and method for auto-optimization of access control policy and key management in a network authoring tool |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US6021324A (en) | 1995-06-08 | 2000-02-01 | Lucent Technologies Inc. | System and apparatus for controlling an appliance situated within a premises using premises recording unit |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US6021324A (en) | 1995-06-08 | 2000-02-01 | Lucent Technologies Inc. | System and apparatus for controlling an appliance situated within a premises using premises recording unit |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| KR101622335B1 (en)* | 2013-11-06 | 2016-05-19 | 주식회사 엘지씨엔에스 | Method of generating code, computer device performing the same and storage media storing the same |
| Publication number | Publication date |
|---|---|
| KR20060081781A (en) | 2006-07-13 |
| Publication | Publication Date | Title |
|---|---|---|
| CN100492354C (en) | Portal server system and method for transferring user session information | |
| JP4864268B2 (en) | Composition and emulation of website content to be displayed on another device by using one device | |
| CN110083790A (en) | Page editing method, page output method, device, computer equipment and medium | |
| US20080196038A1 (en) | Utilizing a first managed process to host at least a second managed process | |
| CN103024503A (en) | System and method for achieving remote control through mobile communication equipment terminal | |
| CN101056232B (en) | A method for controlling the home network plug-and-play devices | |
| KR20040006228A (en) | Remote Control System of Home Appliances and Its Operating Method for the same. | |
| CN104038527A (en) | Remote operation method and system | |
| US9401972B2 (en) | Virtual file transmission system and method of transmitting virtual file thereof | |
| US20140032488A1 (en) | Method and apparatus for processing collaborative documents | |
| CN101365082A (en) | A realization method of set-top box on-screen display system based on peer-to-peer computing technology | |
| TW200538959A (en) | Simple input method for a web browser | |
| Bellucci et al. | Automatic reverse engineering of interactive dynamic web applications to support adaptation across platforms | |
| JPWO2007132568A1 (en) | Data processing server and data processing method | |
| KR100631775B1 (en) | Apparatus and method for generating script code for controlling home network device using pseudo code | |
| CN101808218A (en) | Method, device and system for acquiring and updating content of electronic program guide | |
| CN103914293A (en) | Page generation method and server | |
| US9069627B2 (en) | Method and apparatus for providing a dynamic execution environment in network communication between a client and a server | |
| Chmielewski et al. | Application architectures for smart multi-device applications | |
| KR100678951B1 (en) | Apparatus and method for generating a product control code for a home network device according to the resolution of the control device | |
| KR20030070301A (en) | Home Appliance Network System | |
| Walczak et al. | Adaptable mobile user interfaces for e-learning repositories | |
| Abascal et al. | A modular approach to user interface adaptation for people with disabilities in ubiquitous environments | |
| FanJiang et al. | Adaptive user interface for universal remote controller | |
| CN106354542A (en) | Method and device for generating application |
| Date | Code | Title | Description |
|---|---|---|---|
| A201 | Request for examination | ||
| PA0109 | Patent application | St.27 status event code:A-0-1-A10-A12-nap-PA0109 | |
| PA0201 | Request for examination | St.27 status event code:A-1-2-D10-D11-exm-PA0201 | |
| PN2301 | Change of applicant | St.27 status event code:A-3-3-R10-R13-asn-PN2301 St.27 status event code:A-3-3-R10-R11-asn-PN2301 | |
| PN2301 | Change of applicant | St.27 status event code:A-3-3-R10-R13-asn-PN2301 St.27 status event code:A-3-3-R10-R11-asn-PN2301 | |
| D13-X000 | Search requested | St.27 status event code:A-1-2-D10-D13-srh-X000 | |
| D14-X000 | Search report completed | St.27 status event code:A-1-2-D10-D14-srh-X000 | |
| E902 | Notification of reason for refusal | ||
| PE0902 | Notice of grounds for rejection | St.27 status event code:A-1-2-D10-D21-exm-PE0902 | |
| T11-X000 | Administrative time limit extension requested | St.27 status event code:U-3-3-T10-T11-oth-X000 | |
| P11-X000 | Amendment of application requested | St.27 status event code:A-2-2-P10-P11-nap-X000 | |
| P13-X000 | Application amended | St.27 status event code:A-2-2-P10-P13-nap-X000 | |
| PG1501 | Laying open of application | St.27 status event code:A-1-1-Q10-Q12-nap-PG1501 | |
| E701 | Decision to grant or registration of patent right | ||
| PE0701 | Decision of registration | St.27 status event code:A-1-2-D10-D22-exm-PE0701 | |
| GRNT | Written decision to grant | ||
| PR0701 | Registration of establishment | St.27 status event code:A-2-4-F10-F11-exm-PR0701 | |
| PR1002 | Payment of registration fee | St.27 status event code:A-2-2-U10-U11-oth-PR1002 Fee payment year number:1 | |
| PG1601 | Publication of registration | St.27 status event code:A-4-4-Q10-Q13-nap-PG1601 | |
| P22-X000 | Classification modified | St.27 status event code:A-4-4-P10-P22-nap-X000 | |
| PR1001 | Payment of annual fee | St.27 status event code:A-4-4-U10-U11-oth-PR1001 Fee payment year number:4 | |
| PR1001 | Payment of annual fee | St.27 status event code:A-4-4-U10-U11-oth-PR1001 Fee payment year number:5 | |
| PR1001 | Payment of annual fee | St.27 status event code:A-4-4-U10-U11-oth-PR1001 Fee payment year number:6 | |
| R18-X000 | Changes to party contact information recorded | St.27 status event code:A-5-5-R10-R18-oth-X000 | |
| FPAY | Annual fee payment | Payment date:20120814 Year of fee payment:7 | |
| PR1001 | Payment of annual fee | St.27 status event code:A-4-4-U10-U11-oth-PR1001 Fee payment year number:7 | |
| P22-X000 | Classification modified | St.27 status event code:A-4-4-P10-P22-nap-X000 | |
| FPAY | Annual fee payment | Payment date:20130822 Year of fee payment:8 | |
| PR1001 | Payment of annual fee | St.27 status event code:A-4-4-U10-U11-oth-PR1001 Fee payment year number:8 | |
| FPAY | Annual fee payment | Payment date:20140822 Year of fee payment:9 | |
| PR1001 | Payment of annual fee | St.27 status event code:A-4-4-U10-U11-oth-PR1001 Fee payment year number:9 | |
| LAPS | Lapse due to unpaid annual fee | ||
| PC1903 | Unpaid annual fee | St.27 status event code:A-4-4-U10-U13-oth-PC1903 Not in force date:20150928 Payment event data comment text:Termination Category : DEFAULT_OF_REGISTRATION_FEE | |
| P22-X000 | Classification modified | St.27 status event code:A-4-4-P10-P22-nap-X000 | |
| PC1903 | Unpaid annual fee | St.27 status event code:N-4-6-H10-H13-oth-PC1903 Ip right cessation event data comment text:Termination Category : DEFAULT_OF_REGISTRATION_FEE Not in force date:20150928 | |
| P22-X000 | Classification modified | St.27 status event code:A-4-4-P10-P22-nap-X000 |