• 제목/요약/키워드: API Translator

검색결과 14건 처리시간 0.023초

모델 기반 접근 방법을 이용한 임베디드 S/W를 위한 API 변환기의 개발 (Development of a Model-Driven Approach Based API Translator for Embedded Software)

  • 박병률;맹지찬;이종범;유민수;안현식;정구민
    • 융합신호처리학회논문지
    • /
    • 제8권4호
    • /
    • pp.272-278
    • /
    • 2007
  • 본 논문에서는 모델 기반 접근 방법을 이용하여 임베디드 소프트웨어를 개발하기 위한 자동화된 API 변환기에 대하여 기술한다. MDA(Model Driven Architecture)가 임베디드 소프트웨어의 개발에 관해서는 지원이 매우 미약하기 때문에, 우리는 MDA의 장점인 구현 공정의 자동화를 포함하면서도 실시간 오버헤드 문제를 해결할 수 있는 새로운 접근 방법을 제시한다. 첫 번째로, 어느 특정 RTOS에 의존하지 않지만 전형적인 RTOS 서비스들의 대부분을 제공할 수 있도록 Generic API를 정의한다. 우리는 이 Generic API를 이용하여 타겟 응용프로그램의 RTOS와 관련된 행동을 CIC(Common Intermediate Code)에서 표현할 수 있다. 그 다음에, Generic API를 이용하여 기술된 CIC를 특정 RTOS에서 수행할 수 있는 C-코드로 변환할 수 있는 변환 툴을 제안한다. 제안된 API 변환기는 외부에 정의되어 있는 XML 변환 규칙을 이용하여 코드를 변환한다. 따라서 API 변환기는 이 변환 규칙을 수정하거나 추가하여 다른 RTOS로 적용할 수 있도록 확장이 가능하다. 실험을 통하여 제안된 방법을 확인한다.

  • PDF

MDA에 기반한 실시간 운영체제 API 정변환/역변환기의 개발 (A Forward/Reverse API Translator for Real-Time Operating System Based on a Model-Driven Approach)

  • 박병률;맹지찬;이종범;류민수;안현식;정구민
    • 전기학회논문지
    • /
    • 제56권12호
    • /
    • pp.2247-2250
    • /
    • 2007
  • This paper presents an automated API translator for embedded software development based on a model-driven approach. Since MDA(Model Driven Architecture) provides little support for the development of embedded software, we propose a new approach containing its advantages. First, we define #generic APIs# which do not depend on any RTOS#s but provide most of typical RTOS services. We can describe RTOS-related behaviors of target application using these generic APIs in a CIC(Common Intermediate Code). Then, we propose a transformation tool for translating between a CIC using generic APIs and a C-code for specific RTOS. The proposed API translator converts them using XML transformation rule which is defined outside. It indicates that an API translator extends to other RTOS#s by modifying or adding the transformation rule. From the experiment. we validate the proposed method.

RTOS기반 임베디드 S/W를 위한 API 정변환/역변환기의 개발 (An API Translator for RTOS-Based Embedded Software Considering Forward/Reverse Transformation)

  • 박병률;맹지찬;이종범;유민수;안현식;정구민
    • 대한전기학회:학술대회논문집
    • /
    • 대한전기학회 2007년도 심포지엄 논문집 정보 및 제어부문
    • /
    • pp.187-189
    • /
    • 2007
  • In this paper, we present a model-driven approach for RTOS-based embedded software development and an automated tool that produces RTOS-specific code or RTOS-independent code. We define generic RTOS APIs (Application Programming Interface) that are not bound to any specific RTOS but provide most of typical RTOS services. Generic RTOS APIs can be used to describe application's RTOS-related behavior, The proposed API translator translates task code between C-code for specific RTOS and intermediate code using generic API. Also, the result can be extended to other RTOS's modifying XML transformation rule.

  • PDF

오토메이션 API를 사용한 설계 이력 기반 파라메트릭 CAD 모델 번역기의 통합 (Integration of History-based Parametric CAD Model Translators Using Automation API)

  • 김병철;한순흥
    • 한국CDE학회논문집
    • /
    • 제11권3호
    • /
    • pp.164-171
    • /
    • 2006
  • As collaborative design and configuration design are of increasing importance in product development, it becomes essential to exchange the feature and parametric CAD models among participants. A history-based parametric method has been proposed and implemented. But each translator which exchanges the feature and parametric information tends to be heavy because to implement duplicated functions such as the identification of the selected geometries, mapping between features which have different attributes. Furthermore. because the history-based parametric translator uses the procedural model as the neutral format, which is the XML macro file, the history-based parametric translators need a geometric modeling kernel to generate an internal explicit geometric model. To ease the problem, we implemented a shared integration platform, the TransCAD. The TransCAD separates translators from the XML macro files. The translators for various CAD systems need to communicate with only the TransCAD. To support the communication with the TransCAD, we exposed the functions of the TransCAD by using the Automation APIs, which is developed by Microsoft. The Automation APIs of the TransCAD consist of the part modeling functions, the data extraction functions, and the utility functions. Each translator uses these functions to translate a parametric CAD model from the sending CAD system into the XML format, or from the in format into the model of the receiving CAD system This paper introduces what the TransCAD is and how it works for the exchange of the feature and parametric models.

임베디드 S/W 개발을 위한 RTOS API 변환기의 설계 및 구현 (Design and Implementation of an RTOS API Translator for Embedded Software Development)

  • 박병률;맹지찬;이종범;유민수;안현식;정구민
    • 대한전기학회:학술대회논문집
    • /
    • 대한전기학회 2006년 학술대회 논문집 정보 및 제어부문
    • /
    • pp.443-445
    • /
    • 2006
  • In this paper, we present a model-driven approach to RTOS(Real Time Operating System)-based embedded software development and an automated tool that can produce RTOS-specific code. we defined generic RTOS APIs(Application Programming Interface) that are not bound to any specific RTOS but can provide most of typical RTOS services. The generic RTOS APIs can be used as a means for describing application's RTOS-related behavior from design stage. Out tool, called Trans-PI, is able to produce specific 'C' code aimed at POSIX(Portable Operating System Interface for UNIX)-complicant RTOSs. And it is also configurable to target other RTOSs that do not conform to the POSIX standard.

  • PDF

A Novel Approach for Accessing Semantic Data by Translating RESTful/JSON Commands into SPARQL Messages

  • Nguyen, Khiem Minh;Nguyen, Hai Thanh;Huynh, Hiep Xuan
    • IEIE Transactions on Smart Processing and Computing
    • /
    • 제5권3호
    • /
    • pp.222-229
    • /
    • 2016
  • Linked Data is a powerful technology for storing and publishing the structures of data. It is helpful for web applications because of its usefulness through semantic query data. However, using Linked Data is not easy for ordinary users who lack knowledge about the structure of data or the query syntax of Linked Data. For that problem, we propose a translator component that is used for translating RESTful/JSON request messages into SPARQL commands based on ontology - a metadata that describes the structure of data. Clients do not need to worry about the structure of stored data or SPARQL, a kind of query language used for querying linked data that not many people know, when they insert a new instance or query for all instances of any specific class with those complex structure data. In addition, the translator component has the search function that can find a set of data from multiple classes based on finding the shortest paths between the target classes - the original set that user provide, and target classes- the users want to get. This translator component will be applied for any dynamic ontological structure as well as automatically generate a SPARQL command based on users' request message.

C2JNI: 내장 C 언어에서 JNI 코드를 생성하는 변환기 (C2JNI: An Embedded C to JNI Translator)

  • 유재우;최종명;김영철
    • 한국정보과학회논문지:소프트웨어및응용
    • /
    • 제31권11호
    • /
    • pp.1551-1559
    • /
    • 2004
  • 자바는 플랫폼에 독립적인 객체지향 프로그래밍 언어로서 널리 사용되고 있지만, 플랫폼에 의존적인 기능을 사용해야 하거나 흑은 유산 시스템(legacy system)을 재사용하기 위해서는 JNI를 이용해야 한다. JNI는 자바가 C/C++ 언어와 결합하기 위한 표준화된 규칙과 API를 제공하지만, 개발자가 JNI를 이용해서 프로그램을 개발하는 것은 매우 복잡하고, 번거롭다는 단점이 있다. 이러한 문제를 해결하기 위해서 본 논문에서는 자바 프로그램에 내장된 C 프로그램 코드를 자동적으로 JNI 명세에 맞는 C 언어로 변환할 수 있는 C2JNI라는 변환기를 소개한다. C2JNI를 사용하는 경우에 내장된 C 언어 프로그램은 JNI API를 사용하지 않고서도 C 언어와 자바 프로그램을 결합할 수 있기 때문에 개발자는 자바와 C 언어에 대한 지식만 있으면, 자바와 C 언어를 결합해서 사용할 수 있다.

API 및 OIL 변환을 이용한 POSIX 기반 코드의 OSEK/VDX 코드로의 변환 (A Transformation from POSIX Based Source Code to OSEK/VDX Source Code Based on API and OIL Translation)

  • 송영호;이태양;이종덕;문찬우;정구민;안현식
    • 제어로봇시스템학회논문지
    • /
    • 제16권6호
    • /
    • pp.559-565
    • /
    • 2010
  • In this paper, we present a transformation method of source code from a POSIX (Portable Operating System Interface) based source code into an OSEK/VDX (Offene Systeme und deren Schnittstellen fur die Elektronik in Kraftfahrzeugen/Vehicle Distributed eXecutive) source code. As the electronic parts of automobile systems increase, the use of embedded software in automobile systems is also growing. Accordingly, many electronic systems are designed in automobile system with OSEK/VDX. Otherwise, one of the major problems of embedded software would be portability to other OS's. To enhance the portability and interoperability of embedded software, we propose a source code transformation method from POSIX to OSEK/VDX based on API (Application Programming Interface) translation method. Considering the characteristics of the OSEK/VDX which uses OIL (OSEK/VDX Implementation Language) standard, transformation process is performed with source code transformation and OIL code generation. For the validity of the proposed method, the transformation experiment is given using Micro-C OS II and OSEK/VDX with XC167CI micro-controller.

피처 트리와 매크로 파일을 이용하는 하이브리드 파라메트릭 번역기 (A Hybrid Parametric Translator Using the Feature Tree and the Macro File)

  • 문두환;김병철;한순흥
    • 한국CDE학회논문집
    • /
    • 제7권4호
    • /
    • pp.240-247
    • /
    • 2002
  • Most commercial CAD systems provide parametric modeling functions, and by using these capabilities designers can edit a CAD model in order to create design variants. It is necessary to transfer parametric information during a CAD model exchange to modify the model inside the receiving system. However, it is not possible to exchange parametric information of CAD models based on the cur-rent version of STEP. The designer intents which are contained in the parametric information can be lost during the STEP transfer of CAD models. This paper introduces a hybrid CAB model translator, which also uses the feature tree of commercial CAD systems in addition to the macro file to allow transfer of parametric information. The macro-parametric approach is to exchange CAD models by using the macro file, which contains the history of user commands. To exchange CAD models using the macro-parametric approach, the modeling commands of several commercial CAD systems are analyzed. Those commands are classified and a set of standard modeling commands has been defined. As a neutral fie format, a set of standard modeling commands has been defined. Mapping relations between the standard modeling commands set and the native modeling commands set of commercial CAD systems are defined. The scope of the current version is limited to parts modeling and assemblies are excluded.

X3D-Java 3D 번역기의 설계 및 구현 (Design and Implementation of an X3D to Java 3D translator)

  • 김윤기;오세만
    • 한국정보과학회:학술대회논문집
    • /
    • 한국정보과학회 2000년도 가을 학술발표논문집 Vol.27 No.2 (1)
    • /
    • pp.320-322
    • /
    • 2000
  • 인터넷의 빠른 발전과 하드웨어 속도의 향상에 의해 가상현실이 점차 일반 사용자에게도 가깝게 다가서고 있다. 인터넷 가상현실 언어의 표준인 VRML이 XML의 개발과 발전에 의해 차기 버전을 XML의 장점인 용이한 확장성을 수용하는 X3D라 명명하고 표준화를 진행 중이다. 강력한 Java 3D API와 플랫폼 독립적인 바이트코드의 장점을 살려 표준화 단계인 X3D를 별도의 브라우저 없이도 Java 애플릿을 이용하여 재생할 수 있도록 하고자 하며 또한 앞으로 개발될 X3D 저작도구의 결과물을 Java 3D로 변환하여 Java 3D로 변환하여 Java 3D에 의한 3차원 영상 제작을 손쉽게 구현할 수 있도록 한다. 이를 위한 방법으로 X3D를 Java 3D로 변환하는 번역기가 필요하다. 따라서 본 논문에서는 X3D-Java 3D 번역기의 구조를 설계하고 구현 방법을 제시하고자 한다. XML 파서를 이용하여 X3D를 파싱하고 그의 출력인 AST를 순회하면서 Java 3D 파일을 생성한다. X3D DTD와 Java 3D 클래스의 구조 정보를 독립된 자료로 처리하여 계속 변하게 될 두 언어의 변화에 유동적으로 대처하면서 구현 방법의 큰 변화없이 이용할 수 있게 설계하고자 한다.

  • PDF