• Title/Summary/Keyword: 출판/구독 패턴

Search Result 4, Processing Time 0.023 seconds

FiST: XML Document Filtering by Sequencing Twig Patterns (가지형 패턴의 시퀀스화를 이용한 XML 문서 필터링)

  • Kwon Joon-Ho;Rao Praveen;Moon Bong-Ki;Lee Suk-Ho
    • Journal of KIISE:Databases
    • /
    • v.33 no.4
    • /
    • pp.423-436
    • /
    • 2006
  • In recent years, publish-subscribe (pub-sub) systems based on XML document filtering have received much attention. In a typical pub-sub system, subscribing users specify their interest in profiles expressed in the XPath language, and each new content is matched against the user profiles so that the content is delivered only to the interested subscribers. As the number of subscribed users and their profiles can grow very large, the scalability of the system is critical to the success of pub-sub services. In this paper, we propose a novel scalable filtering system called FiST(Filtering by Sequencing Twigs) that transforms twig patterns expressed in XPath and XML documents into sequences using Prufer's method. As a consequence, instead of matching linear paths of twig patterns individually and merging the matches during post-processing, FiST performs holistic matching of twig patterns with incoming documents. FiST organizes the sequences into a dynamic hash based index for efficient filtering. We demonstrate that our holistic matching approach yields lower filtering cost and good scalability under various situations.

XML Document Filtering based on Segments (세그먼트 기반의 XML 문서 필터링)

  • Kwon, Joon-Ho;Rao, Praveen;Moon, Bong-Ki;Lee, Suk-Ho
    • Journal of KIISE:Databases
    • /
    • v.35 no.4
    • /
    • pp.368-378
    • /
    • 2008
  • In recent years, publish-subscribe (pub-sub) systems based on XML document filtering have received much attention. In a typical pub-sub system, subscribed users specify their interest in profiles expressed in the XPath language, and each new content is matched against the user profiles so that the content is delivered to only the interested subscribers. As the number of subscribed users and their profiles can grow very large, the scalability of the system is critical to the success of pub-sub services. In this paper, we propose a fast and scalable XML filtering system called SFiST which is an extension of the FiST system. Sharable segments are extracted from twig patterns and stored into the hash-based Segment Table in SFiST system. Segments are used to represent user profiles as Terse Sequences and stored in the Compact Segment Index during filtering. Our experimental study shows that SFiST system has better performance than FiST system in terms of filtering time and memory usage.

USN Based Middleware Software Design for Agriculture and Stockbreeding (농축산 환경을 위한 USN 기반의 미들웨어 설계)

  • Kung, Sang-Hwan;Kang, Yoon-Hee;Yoo, Jin-Ho
    • Proceedings of the KAIS Fall Conference
    • /
    • 2009.05a
    • /
    • pp.788-791
    • /
    • 2009
  • 본 연구는 가축의 생육상태를 온도 및 Ph 센서를 통해 실시간으로 감지하는 시스템의 설계를 다룬다. 농축산 환경에 적합한 요구사항을 토대로 센서와 임베디드 미들웨어, 그리고 백엔드 시스템에 필요한 소프트웨어 구조를 설계하고 평가한다. 특별히 논문에서는 출판-구독 모델을 통해 모듈의 추가 및 삭제가 용이한 모델을 제시하며, 이를 구현하기 위한 기법과 평가를 소개한다.

  • PDF

Implementation of Role-based Command Hierarchy Model for Actor Cooperation (ROCH: 워게임 모의개체 간 역할기반 협력 구현 방안 연구)

  • Kim, Jungyoon;Kim, Hee-Soo;Lee, Sangjin
    • Journal of the Korea Society for Simulation
    • /
    • v.24 no.4
    • /
    • pp.107-118
    • /
    • 2015
  • Many approaches to agent collaboration have been introduced in military war-games, and those approaches address methods for simulation entity (actor) collaboration within a team to achieve given goals. To meet fast-changing battlefield situations, an actor must be loosely coupled with their tasks and be able to take over the role of other actors if necessary to reflect role handovers occurring in real combat. Achieving these requirements allows the transfer of tasks assigned one actor to another actor in circumstances when that actor cannot execute its assigned role, such as when destroyed in action. Tight coupling between an actor and its tasks can prevent role handover in fast-changing situations. Unfortunately, existing approaches and war-game strictly assign tasks to actors during design, therefore they prevent the loose coupling. To overcome these shortcomings, our Role-based Command Hierarchy (ROCH) model dynamically assigns roles to actors based on their situation at runtime. In the model, "Role" separates actors from their tasks. In this paper, we implement the ROCH model as a component that uses a publish-subscribe pattern to handle the link between an actor and the roles of its subordinates (other actors).