• Title/Summary/Keyword: 다중 소켓

Search Result 23, Processing Time 0.035 seconds

Implementing Socket Polling Server in Java (자바 언어를 이용한 소켓폴링 서버구현)

  • Sohn, Kang-Min;Kang, Tae-Gun;Ham, Ho-Sang
    • Proceedings of the Korea Information Processing Society Conference
    • /
    • 2002.11a
    • /
    • pp.115-118
    • /
    • 2002
  • 소켓 프로그래밍(socket programming) 인터페이스를 지원하는 C/C++, perl, python 과 같은 언어들은 폴링(polling) 기능을 갖는 select() 함수를 제공한다. 이 select()함수를 이용할 경우, 단일 쓰레드(또는 프로세스)로 다중의 클라이언트 요청을 처리할 수 있다. 최근 네트워크 프로그래밍 분야에서 주목받는 자바 언어의 경우, 최신 JDK 1.4 의 비동기 입출력 패키지에서 select()함수를 제공하고 있으나, JDK 1.3을 포함한 그 이하의 버전에서는 아직까지 이 함수를 제공하지 않고 있다. 일반적으로 다중 쓰레드를 이용하여 소켓서버 응용프로그램을 개발할 경우, 코드가 단순해지고 응답이 빠른 장점이 있는 반면에 네트워크 연결이 증가할수록 다수의 쓰레드를 관리하는 일이 CPU에 큰 부담이 된다. 반면에 소켓폴링(socket polling)을 사용할 경우, 이러한 연결 유지에 대한 부담이 줄어드는 대신, 다중 쓰레드를 이용하는 방법에 비하여 구현이 어렵다. 본 논문에서는 다양한 시뮬레이션 환경에서 세가지 소켓 프로그래밍 모델에 대하여 그 성능을 비교평가 하였다. 이 세가지 모델은 단순 다중 쓰레드 모델(typical multi-thread model), 단일 쓰레드 소켓폴링 모델(socket polling with single-thread model), 다중 쓰레드 소켓폴링 모델(socket polling with multi-threadmodel)이다. 본 논문에서는 다중 쓰레드 소켓폴링 모델을 제안하고 JDK 1.3.1을 이용하여 구현하였다. 이 모델의 경우 복잡한 구조에도 불구하고 단순 다중 쓰레드 모델와 유사하거나 더 나은 성능을 보여주었다. 또한 동일한 용량의 쓰레드 풀(thread pool)을 사용하더라도 단순 다중 쓰레드 모델보다 더 많은 수의 클라이언트를 수용할 수 있는 장점이 있다. 이러한 결과를 바탕으로 본 연구팀에서 수행중인 MoIM-Messge서버의 네트워크 모듈로 다중 쓰레드 소켓폴링 모델을 적용하였다.

  • PDF

A design and implementation of transmit/receive model to speed up the transmission of large string-data sets in TCP/IP socket communication (TCP/IP 소켓통신에서 대용량 스트링 데이터의 전송 속도를 높이기 위한 송수신 모델 설계 및 구현)

  • Kang, Dong-Jo;Park, Hyun-Ju
    • Journal of the Korea Institute of Information and Communication Engineering
    • /
    • v.17 no.4
    • /
    • pp.885-892
    • /
    • 2013
  • In the model Utilizing the TCP / IP socket communication to transmit and receive data, if the size of data is small and if data-transmission aren't frequently requested, the importance of communication speed between a server and a client isn't emphasized. But nowadays, it has emerged for large amounts of data transfer requests and frequent data transfer request. This paper propose the TCP/IP communication model that can be improved the data transfer rate in multi-core environment by changing the receiving structure of the client to receive large amounts of data and the transmission structure of the server to send large amounts of data.

Development of Multiple Channel Measurement System for IC Socket (IC 소켓 검사용 다중 채널 측정 시스템 개발)

  • Gang, Sang-Il;Song, Sung-Yong;Yoon, Dal-Hwan
    • Journal of IKEEE
    • /
    • v.25 no.2
    • /
    • pp.315-321
    • /
    • 2021
  • In this paper, we have developed the multiple channel measurement system for IC Socket Test. The one can test the current-voltage measurements for pitting the several device specification, which analyze the thin current from several ㎂ to 5A with very low resistor mΩ. The increasement of the IC socket channel with lead pitch under 0.25 mm be need to perform several functions, concurrently. The system to perform these functions be designed to integrate several SMU(source measure unit) on board. So, we can reduce the 2 minutes test time per channel point to 40 sec, with daisy chain test method. Using by graphic interface, I-V curve mode and data logging technologies, we can implement the test flow methods and can make economies the time and cost.

A Multi-Agent Message Transfer Architecture based on the Messaging Middleware ZeroMQ (메시지 지향 미들웨어 ZeroMQ 기반의 다중 에이전트 메시지 전송 구조)

  • Chang, Hai Jin
    • KIISE Transactions on Computing Practices
    • /
    • v.21 no.4
    • /
    • pp.290-298
    • /
    • 2015
  • This paper suggests a multi-agent message transport architecture based on the message-oriented middleware ZeroMQ. Compared with the other middlewares such as CORBA, Ice, and Thrift, ZeroMQ receives a good score in the evaluation of performance, QoS (Quality of Service), patterns, user friendliness, and resources. The suggested message transfer architecture borrowed many basic concepts like agent platform, AMS (Agent Management System), and MTS (Message Transfer System) from FIPA (Foundation for Intelligent Physical Agents) standard multi-agent specifications, and the architecture inherited the strength of the architecture from the multi-agent framework SMAF (Smart Multi-Agent Framework). The architecture suggested in this paper is a novel peer-to-peer architecture which is not known to the ZeroMQ community. In the suggested architecture, every MTS agent uses only one ZeroMQ router socket to support peer-to-peer communication among MTS agents. The suggested architecture can support closely collaborating software areas such as intelligent robots as well as the traditional application areas of multi-agent architecture. The suggested architecture has interoperability and scalability with the ZeroMQ devices and patterns.

Distributed multimedia remote control system for multi-user (다중 사용자를 위한 분산멀티미디어 원격제어 시스템)

  • Lee, Min-Kyung;Cho, Dong-Sub
    • Proceedings of the KIEE Conference
    • /
    • 2008.07a
    • /
    • pp.1917-1918
    • /
    • 2008
  • 분산 환경의 멀티미디어 시스템을 관리하기 위한 여러 가지 방법은 인터넷과 네트워크의 발달과 가속화되고 있다. 좀 더 편리하고 쉽게 중앙의 관리자가 분산된 환경의 다수의 이용자들을 효율적으로 관리하기 위해서 원격제어 방법을 사용한다. 이 때 관리자는 1:1 제어뿐만 아니라 1:n 제어도 가능해야 한다. 본 논문에서는 소켓을 사용하여 분산된 환경에서 다수의 사용자의 음악과 이미지 파일을 원격으로 제어할 수 있는 시스템을 설계, 구현한다.

  • PDF

Development of a Personal Cloud Server supporting Multi-User Synchronization (다중 사용자 동기화 지원 개인용 클라우드 서버 개발)

  • Hyo Hyun Choi;Woo Hyun Lee
    • Proceedings of the Korean Society of Computer Information Conference
    • /
    • 2023.01a
    • /
    • pp.285-286
    • /
    • 2023
  • 본 논문에서는 개인용 클라우드 서버를 구현하였다. 서로 다른 컴퓨터간의 파일 공유를 쉽게 해 주고 접속한 클라이언트간의 상태를 동기화하여 사용자 경험과 접근성을 높였다. 서버는 NodeJS환경으로 실행되며 solidjs로 만들어진 웹 페이지를 vite를 통하여 빌드하고 클라이언트에 전송하여 렌더링하고 클라이언트와 서버는 웹 소켓으로 연결되어 서버의 변경사항을 실시간으로 반영한다.

  • PDF

Design of Cooling System of Over-molding Mold for Socket Component of Automobile Wiper (자동차 와이퍼 소켓 부품 제작용 오버몰딩 금형의 냉각 시스템 설계)

  • Lee, Dong-Gi;Park, Min-Woo;Ahn, Dong-Gyu
    • Transactions of the Korean Society of Mechanical Engineers A
    • /
    • v.35 no.12
    • /
    • pp.1635-1640
    • /
    • 2011
  • The objective of this study is to design of a cooling system of the over-molding mold for a socket component of an automobile wiper by performing numerical analyses. Hot spots in which the temperature distributions are higher than those of other region, were estimated by an initial over-molding analysis for the initial design of the mold. On the basis of the initial over-molding analysis, two types of cooling system designs with a linear cooling channel and a volumetric heat sink, were considered to improve the cooling characteristics of hot spots. To obtain an appropriate cooling system design, the effects of the diameter and the position of the linear cooling channels on the cooling characteristics and the product qualities were quantitatively examined. In addition, the effects of the design of the volumetric heat sink on the cooling characteristics and deformation distributions in the molded product were investigated. The results of the over-molding analysis of the two types of cooling systems showed that the multi-sliced over-molding mold with a volumetric heat sink can improve both the product quality and the cooling characteristics of the mold.

An Adaptive Buffer Tuning Mechanism for striped transport layer connection on multi-homed mobile host (멀티홈 모바일 호스트상에서 스트라이핑 전송계층 연결을 위한 적응형 버퍼튜닝기법)

  • Khan, Faraz-Idris;Huh, Eui-Nam
    • Journal of Internet Computing and Services
    • /
    • v.10 no.4
    • /
    • pp.199-211
    • /
    • 2009
  • Recent advancements in wireless networks have enabled support for mobile applications to transfer data over heterogeneous wireless paths in parallel using data striping technique [2]. Traditionally, high performance data transfer requires tuning of multiple TCP sockets, at sender's end, based on bandwidth delay product (BDP). Moreover, traditional techniques like Automatic TCP Buffer Tuning (ATBT), which balance memory and fulfill network demand, is designed for wired infrastructure assuming single flow on a single socket. Hence, in this paper we propose a buffer tuning technique at senders end designed to ensure high performance data transfer by striping data at transport layer across heterogeneous wireless paths. Our mechanism has the capability to become a resource management system for transport layer connections running on multi-homed mobile host supporting features for wireless link i.e. mobility, bandwidth fluctuations, link level losses. We show that our proposed mechanism performs better than ATBT, in efficiently utilizing memory and achieving aggregate throughput.

  • PDF

Design and Implementation of a High Quality Dual TCAP (고성능 무중단 TCAP의 설계 및 구현)

  • 임옥희;박희숙;이남석;이상호
    • Proceedings of the Korean Information Science Society Conference
    • /
    • 2001.10c
    • /
    • pp.352-354
    • /
    • 2001
  • 오늘날 우리는 맡은 발전을 거듭한 지능망 서비스를 일상 생활에서 직간접적으로 접하고 있으며. 서비스가 다양화 되고 그 품질이 중요시 되면서 TCAP(Transaction Capability Application Part)의 높은 성능과 안정성에 대한 요구가 증대되어 왔다. 본 논문에서 제시하는 고성능 무중단 TCAP 모델은 원격지에 위치한 다중 TCU(Transaction Capability User)에게 TCP/IP 소켓을 제공하고 폴링(Polling)을 수행하여 TCU상태를 효과적으로 관리하며, 네트워크 장애나 하위 스택 프로세스 문제로 서비스가 지속될 수 없는 경우 이중화 메커니즘을 적용하여 서비스의 중단을 최소화 한다. TCU 어플리케이션 개발자를 위해 이중화에 대한 고려 엄이 TCAP 메시지론 사용할 수 있도록 API를 제공 하여 실제 서비스 적용에 범용성과 편리성을 제공한다. 기존에 개발되어 사용되고 있는 TCAP보다 메시지 처리 및 전송 효율을 높이기 위한 프로세스 구조와 무중단 서비스 제공을 위한 이중화 모델을 설계하고 구현하였다. 설계 및 구현 내용을 검증하기 위해 ITU-T에서 권고하는 적합성 시험을 실시하고, 테스트 베드를 구축 해 성능 시험을 수행 한다.

  • PDF

Design of WAP Gateway for Multi-Users (다중 사용자를 위한 WAP GATEWAY 설계)

  • Bae, Sung-Bum;Myong, Sang-Tae;Jung, Hwan-Ik;Lee, Kwang-Hyung
    • Proceedings of the Korea Information Processing Society Conference
    • /
    • 2001.04a
    • /
    • pp.469-472
    • /
    • 2001
  • 본 논문은 WAP 스펙 1.1에 기반 하였으며 WAP 서비스 구조는 마이크로 브라우저, 클라이언트 그리고 게이트웨이로 나누어 질 수 있다. 브라우저는 사용자 인터페이스 부분이고 클라이언트는 사용자 단말기에서 WAP 게이트웨이와 상호 통신할 수 있는 프로토콜 층이다. 게이트웨이는 WAP 서비스에서 가장 중요한 역할을 하는 서버부분이다. 이 같은 구성 요소를 가지고 WAP 시스템을 구성하였으며 또한 서비스를 할 수 있는 시뮬레이션을 구현하였다. 클라이언트 부분과 게이트웨이 부분은 리눅스 OS 기반으로 WAP 스펙 1.1에서 정의된 모든 이벤트를 함수로 모듈화 하였고 각 프로토콜 층과의 인터페이스는 사용자 임의의 정의로 구현하였다. 그 외 보안을 담당해주는 WTLS층은 고려하지 않아도 WAP 서비스를 할 수 있으므로 시스템에서는 생략하였으며 또한 WDP층도 단지 데이터만을 전송해주는 의미밖에 없으므로 TCP/IP 상에서 소켓통신으로 구현하였다.

  • PDF