• 제목/요약/키워드: syntax information

검색결과 404건 처리시간 0.027초

UML 상태 다이어그램을 위한 코드 구현 모델의 생성 방법 (A Method of Generating Code Implementation Model for UML State Diagrams)

  • 김윤호
    • 한국정보통신학회논문지
    • /
    • 제26권10호
    • /
    • pp.1509-1516
    • /
    • 2022
  • 본 논문에서는 UML 상태 다이어그램으로부터 코드 구현 모델을 생성하는 방법을 제시한다. 첫째로 상태 다이어그램의 상태를 객체화하고, 상태 디자인 패턴에 기반하여 동작 메커니즘을 구조화한다. 다음으로 이 구조에 기반하여 컨텍스트 클래스와 이의 인터페이스 역할을 하는 추상 상태 클래스, 그리고 하위 구상 클래스의 구현 코드를 생성하는 규칙들을 설정한다. 이들 규칙들은 Java의 언어 구조에 기반해서, 상태 다이어그램의 상태들과 동작들에 대한 코드 구현 모델을 생성하게 된다. 한편, 코드의 자동 생성을 위해서는 코드 모델로부터 코드 생성을 위해 구조화된 정보가 필요하다. 따라서, 코드 생성을 위한 정보를 메타 클래스 모델과 메타 행위 모델 형태로 구조화하여 구축한다. 이 메타 정보들에 기반하여 상태 다이어그램으로부터 Java 프로그래밍 언어로의 자동 코드 생성을 위한 엔진의 구축이 가능하다. 또한 코드 모델 생성 엔진은 독자적으로 또는 UML 도구의 상태 다이어그램 기능을 지원하는 도구에 통합된 모듈로서 사용될 수 있다.

데이터베이스 시스템에서 거래관리를 위한 두단계기부잠금규약 (Two-Way Donation Locking for Transaction Management in Database Systems)

  • Rhee, Hae-Kyung;Kim, Ung-Mo
    • 전자공학회논문지CI
    • /
    • 제37권2호
    • /
    • pp.1-10
    • /
    • 2000
  • 기존의 syntax 위주의 직력성 이론만 가지고서는 거래의 실행시간상 차별화 특성을 수용하면서 다수의 거래에 대한 단위시간당 처리 생산성을 높이기는 힘든 형편이다. 이러한 상황을 해결하기 위하여 이타적 잠금기법(altruistic locking :AL)은 거래가 객체를 사용한 다음 더 이상 그 객체를 요구하지 않을 때 다른 거래들이 그 객체를 로크할 수 있도록 미리 객체에 대한 로크를 해제함으로써 거래들의 대기시간을 줄이기 위한 취지에서 제안된 것이다. 확장형 이타적 잠금(extended altruistic locking :XAL)기법은 AL을 자취의 확장 측면에서 개선한 잠금기법으로서 AL이 근본적으로 안고 있는 반드시 기부된 객체만을 처리해야 한다는 부담을 보다 완화한 기법이다. 본 논문에서는 우선 장기거래로 인한 단기거래의 장기적 대기현상 완화 측면에서의 AL과 XAL의 공통적 한계점을 분석하였다. Client-server 환경하에서 장기거래로 인한 단기거래의 장기적 대기현상을 최소화하도록 줄임으로써 작업처리율을 높이는 반면, 거래간의 평균 대기시간을 줄일수 있는 새로운 확장형 이타적 잠금기법인 전후진방식의 신형 확장 기법인 2DL(two-way donation locking)을 제안하였다. 모의실험에 의한 성능평가 결과 장기거래의 길이가 5이상, 9이하인 상황에서 2DL은 2PL 보다 작업 처리율과 거래의 평균 대기시간 면에서 우수한 결과를 나타내었다.

  • PDF

Characterizing Semantic Warnings of Service Description in Call Processing Language on Internet Telephony

  • Lee, Pattara raplute;Tomokazu Taki;Masahide Nakamura;Tohru Kikuno
    • 대한전자공학회:학술대회논문집
    • /
    • 대한전자공학회 2002년도 ITC-CSCC -1
    • /
    • pp.556-559
    • /
    • 2002
  • The Call Processing Language (CPL, in short), recommended in RFC 2824 of IETF, is a service description language for the Internet Telephony. The CPL allows users to define their own services, which dramatically improves the choice and flexibility of the users. The syntax of the CPL is strictly defined by DTD (Document Type Definition). However, compliance with the DTD is not a sufficient condition for correctness of a CPL script. There are enough rooms for non-expert users to make semantical mistakes in the service logic, which could lead to serious system down. In this paper, we present six classes of semantic warnings for the CPL service description: MF, IS, CR, AS, US, OS. For each class, we give the definition and its effects with an example script. These warnings are not necessarily errors. However, these warnings will help users to find ambiguity, redundancy and inconsistency in their own service description.

  • PDF

시나리오 기반 명세 모델로부터 반응형 시스템 모델 개발 (Developing a Reactive System Model from a Scenario-Based Specification Model)

  • 권령구;권기현
    • 인터넷정보학회논문지
    • /
    • 제13권1호
    • /
    • pp.99-106
    • /
    • 2012
  • 다수의 오브젝트로 구성된 반응형 시스템을 모델링 하거나 디자인하기 위해 외부의 입력 및 오브젝트들간의 상호작용을 분석하는 것은 중요하고 어려운 문제이다. 또한, 반응형 시스템이 요구 사항들을 모든 가능한 환경 하에서 올바르게 만족하는지를 확인하는 것은 많은 노력이 필요하다. 본 논문에서는 요구 사항들을 기존에 다양한 분야에서 사용되는 시나리오 명세 언어인 MSC(Message Sequence Chart)에 대해 구문 및 의미를 확장한 LSC(Live Sequence Chart)를 이용하여 반응형 시스템에 적합한 시나리오 기반 명세 모델을 만든다. 그리고 LTL Synthesis를 통해 각 오브젝트에 대하여 모든 요구 사항을 올바르게 만족하는 반응형 시스템 모델을 자동으로 생성한다. 마지막으로 생성된 반응형 시스템 모델로부터 의미적으로 동일한 코드로 변환하는 과정을 반복함으로써 전체 반응형 시스템을 개발하는 방법을 제안한다.

Integrating Multi-view Stereoscopic Transmission System into MPEG-21 DIA (Digital Item Adaptation)

  • ;;;박일권
    • 방송공학회논문지
    • /
    • 제12권4호
    • /
    • pp.342-349
    • /
    • 2007
  • In general multi-view system, all the view sequences acquired at the server are transmitted to the client. However, this kind of system requires high processing power of the server as well as the client, thus it is posing a difficulty in practical applications. To overcome this problem, a relatively simple method is to transmit only two view-sequences requested by the client in order to deliver a stereoscopic video. In this system, effective communication between the server and the client is one of important aspects. Therefore, we propose an efficient multi-view system that transmits two view-sequences according to user's request. The view selection process is integrated into MPEG-21 DIA (Digital Item Adaptation) so that our system is compatible to MPEG-21 multimedia framework. Furthermore, multi-view descriptors related to multi-view camera and systems are newly introduced. The syntax of the descriptions and their elements is represented in XML (extensible Markup Language) schema. Intermediate view reconstruction (IVR) is used to reduce such discomfort with excessive disparity. Furthermore, IVR is useful for smooth transition between two stereoscopic view sequences. Finally, through the implementation of testbed, we can show the valuables and possibilities of our system.

설계와 제조간 협업을 위한 제조견적서비스의 기능설계 (Functional Design of Manufacturing Quote Services for Collaboration between Designer and Manufacturer)

  • 주재구;정부환;고지훈
    • 대한산업공학회지
    • /
    • 제34권2호
    • /
    • pp.255-269
    • /
    • 2008
  • The increasing dynamic and distributed nature of a business and manufacturing environment makes it hard to collaborate between design and manufacturing parties. The seamless collaboration necessitates a manufacturing quote service (MQS) that delivers manufacturing quotes timely for designer's requests. After envisioning a SOA-inherited collaboration framework, the paper details MQS' functionalities, and syntax and semantics of collaboration messages (i.e., RFQ and manufacturing quote). The MQS is implemented as a Web Service so as to be accessible by designers. For each RFQ, the MQS adaptively generates a responding manufacturing quote by using the DPM library and real-time shop status information. The paper also presents an evolution process that shows the whole process of RQF generation from given product design data. The proposed framework enabled partners to exchange engineering data rapidly and adaptively during the dynamic collaboration, and also increased the benefits of distributed and global production.

A Catalog of Bad Smells in Design-by-Contract Methodologies with Java Modeling Language

  • Viana, Thiago
    • Journal of Computing Science and Engineering
    • /
    • 제7권4호
    • /
    • pp.251-262
    • /
    • 2013
  • Bad smells are usually related to program source code, arising from bad design and programming practices. Refactoring activities are often motivated by the detection of bad smells. With the increasing adoption of Design-by-Contract (DBC) methodologies in formal software development, evidence of bad design practices can similarly be found in programs that combine actual production code with interface contracts. These contracts can be written in languages, such as the Java Modeling Language (JML), an extension to the Java syntax. This paper presents a catalog of bad smells that appear during DBC practice, considering JML as the language for specifying contracts. These smells are described over JML constructs, although several can appear in other DBC languages. The catalog contains 6 DBC smells. We evaluate the recurrence of DBC smells in two ways: first by describing a small study with graduate student projects, and second by counting occurrences of smells in contracts from the JML models application programming interface (API). This API contains classes with more than 1,600 lines in contracts. Along with the documented smells, suggestions are provided for minimizing the impact or even removing a bad smell. It is believed that initiatives towards the cataloging of bad smells are useful for establishing good design practices in DBC.

룰 기반 컴포넌트 개발 기법 및 사례 (Rule based Component Development Technique and Case study)

  • 김정아;황선명;진영택
    • 정보처리학회논문지D
    • /
    • 제12D권2호
    • /
    • pp.275-282
    • /
    • 2005
  • 컴포넌트 설계 시에 컴포넌트의 확장성 및 재사용성을 확대하기 위해서는 비즈니스 어플리케이션 개발 과정에서 발견된 가변성을 별도의 룰로 정의할 필요가 있다. 인터페이스의 래핑이나 구현 클래스의 재정의를 통한 컴포넌트의 개조 기법은 컴포넌트의 재사용을 지원하는데 한계가 있기 때문이다. 따라서, 컴포넌트 개발 과정에서 향후 컴포넌트의 재사용성을 고려한 설계가 필수적이다. 본 연구에서는 컴포넌트로 부터 가변적 특성을 분리하여 룰 컴포넌트를 포함하도록 기존의 컴포넌트 아키텍처를 확장하였으며, 룬 정의에 필요한 구문을 정의하였다. 또한 보험판매 시스템에 적용하여 룰의 재정의를 통한 컴포넌트의 재사용성을 검증해 보았다.

Mobile ATM: A Generic and flexible network infrastructure for 3G mobile services

  • Jun Li;Roy Yates;Dipankar Raychaudhuri
    • Journal of Communications and Networks
    • /
    • 제2권1호
    • /
    • pp.35-45
    • /
    • 2000
  • this paper presents the concept of "mobile ATM', a proposal for third-generation (3G) mobile communication network infrastructure capable of supporting flexible evolution of radio technologies from today's cellular and data services towards future wireless multimedia services. Mobile ATM provides generic mobility management and QoS-based transport capabilities suitable for integration of multiple radio access technologies including cellular voice. wireless data, and future broadband wireless services. The architecture of a mobile ATM network is outlined in terms of the newly-defined "W-UNI" interface at the radio link and "M-UNI"and "M-UNI" interface which supports unified access for WATM and non-ATM mobile terminals through corresponding interworking functions (IWF) is explained. leading to an understanding of how different radio access technologies are supported by the same ATM-based core network infrastructure. Generic mechanisms for handoff and location management within the core mobile network are discussed. and related protocol extensions over the "W-UNI" and "M-UNI/NNI"interfaces are proposed. the issue of "crossover switch (COS)" selection in mobile ATM is considered, and a unified handoff signaling syntax which supports flexibility in COS selection is described. Typical signaling sequences for call connection and handoff using the proposed protocols are outlined. Experimental results form a proof-of-concept mobile ATM network prototype are presented in conclusion.

  • PDF

봉산 탈춤의 언어 사용 연구 (Language Use in Bongsan Talchum(mask dance))

  • 이석규
    • 인문언어
    • /
    • 제6권
    • /
    • pp.265-291
    • /
    • 2004
  • The main purpose of this paper Is to analyze the characteristics of the Korean language used as a major communication means within the Korean community in Chenguoz District of Harbin, Heirungjiang Province, China, in terms of its phonology, morphology and syntax. The study focuses on how a variety of languages and dialects including Chinese, the Standard Chinese Korean adopted as a means of teaching in Korean schools, and Kyongsang Dialect of Korean have influenced the language of the community. It also deals as background information with the history of the community, the attitude of the community members toward Korean and Chinese, and their proficiencies of Korean and Chinese, to obtain the general picture of the bilingualism of this community. This specific region was studied since this region and most of the Korean communities in the Heirungjiang province were formed by descendents of the immigrants from the southern provinces of the Korean Peninsula, which allows the comparison between the language used today and the language their ancestors used before moving to this area. Due to the industrialization and innovation brought about by the opening of the Chinese society, the fast outward flow of youths to urban areas, and greater assimilation threats from the embedding Chinese culture, we are not too sure if the Korean language will continue to be used in the future. Given these circumstances, we consider this research most opportune in that it provides a look into the Korean community that developed its distinctive culture and language within an isolated cultural environment.

  • PDF