• 제목/요약/키워드: Socket program

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

센서 네트워크 기반의 Pull 및 Push 서비스 연구 (A Study of Pull and Push Service Based on Sensor Networks)

  • 김규리;김도현;변영철
    • 한국산학기술학회논문지
    • /
    • 제9권5호
    • /
    • pp.1289-1295
    • /
    • 2008
  • 최근에 다양한 유비쿼터스 서비스는 Push와 Pull 서비스 형태로 제공되고 있으며, 이와 같은 Pull/push 서비스를 제공하기 위한 OpenAPI(Application Program Interface)에 대한 연구가 진행되고 있다. 하지만 아직 Push와 Pull 서비스와 이를 지원하기 위한 OpenAPI에 대한 연구가 아직 미비하다. 이에 본 논문에서는 Pull 서비스와 Push 서비스를 이용하여 센서 네트워크 기반의 응용 인터페이스를 제공하는 Push 서비스와 Pull 서비스 모델을 제시하고, Push 서비스와 Pull 서비스를 제공하는 OpenAPI를 설계하고 구현한다. 이를 위하여 웹 서비스 기반의 Pull 서비스 구조를 제시하고, .Net 프레임워크 기반의 원격 서비스(Remote Service)를 이용하여 센서 네트워크에 수집된 온도, 습도 등의 상황 데이터를 Pull 서비스 형태로 제공하는 OpenAPI를 설계하고 구현한다. 더불어 TCP/IP 소켓 인터페이스를 이용한 Push 서비스 구조를 제안하고, 이 서비스를 제공하는 OpenAPI를 설계하고 구현한다. 이를 통해서 기존의 특정 데이터베이스 중심의 센서 네트워크의 폐쇄적인 응용 인터페이스를 개방적인 표준 인터페이스로 전환하여 사용자가 여러 곳에 널려 있는 많은 상황 데이터를 쉽게 접근하여 확인할 것으로 기대한다.

Web-based Measurement of ECU Signals on Vehicle using Embedded Linux

  • Choi, Kwang-Hun;Lee, Lee;Lee, Young-Choon;Kwon, Tae-Kyu;Lee, Seong-Cheol
    • 제어로봇시스템학회:학술대회논문집
    • /
    • 제어로봇시스템학회 2004년도 ICCAS
    • /
    • pp.138-142
    • /
    • 2004
  • In this paper, we present a new method for monitoring of ECU's sensor signals of vehicle. In order to measure the ECU's sensor signals, the interfaced circuit is designed to communicate ECU and the Embedded Linux is used to monitor communication result through Web the Embedded Linux system and this system is said "ECU Interface Part". In ECU Interface Part the interface circuit is designed to match voltage level between ECU and SA-1110 micro controller and interface circuit to communicate ECU according to the ISO, SAE communication protocol standard. Because Embedded Linux does not allow to access hardware directly in application level, anyone who wants to modify any low level hardware must develop device driver. To monitor ECU's sensor signals the most important thing is to match serial level between ECU and ECU Interface Part. It means to communicate correctly between two hardware we need to match voltage and signal level, and need to match baudrate. The voltage of SA-1110 is 0 ${\sim}$ +3.3V and ECU is 0 ${\sim}$ +12V and, ECU's communication Line K does multiple operation so, the interface circuit is used to match voltage and signal level. In Addition to ECU's baudrate is 10400bps, it's not standard baudrate in computer environment. So, we need to develop a device driver to control the interface circuit, and change baudrate. To monitor ECU's sensor signals through web there's a network socket program is working in Embedded Linux. It works as server program and manages user's connections and commands. Anyone who wants to monitor ECU's sensor signals he just only connect to Embedded Linux system with web browser then, Embedded Linux webserver will return the ActiveX webbased measurement software. It works in web browser and inits ECU, as a result it returns sensor signals through web. All the programs are developed with GCC(GNU C Compiler) and, webbased measurement software is developed with Borland C++ Builder.

  • PDF

능동적 참여 모의실험 학습용 ALT 보드 및 소프트웨어 모듈 설계 (ALT Board and Software Module Design for Active Participatory Simulation Learning)

  • 소원호
    • 한국콘텐츠학회논문지
    • /
    • 제14권1호
    • /
    • pp.537-547
    • /
    • 2014
  • 본 논문에서는 ALT 보드와 NetLogo 확장 모듈을 개발하여 능동적 참여 모의실험 (Active Participatory Simulation: APS) 학습이 가능하도록 한다. 기존 참여 모의실험 학습에서도 실험이 수행되는 동안 학생들은 HubNet을 통하여 클라이언트로서 실험에 참여할 수 있다. 하지만 HubNet 서버만이 하나의 외부 모듈과 연결되기 때문에 다수의 클라이언트가 참여하는 이중초점 모델링 기반 학습이 불가능하다. 따라서 클라이언트의 참여와 실험 및 측정 데이터를 수집하기 위하여 ATmega32 기반의 ALT 보드를 개발한다. 또한 이 입력된 데이터를 HubNet 서버와 교환할 수 있는 TCP/IP 소켓 기반 Java 확장 모듈을 개발한다. ALT 보드와 확장 모듈을 통하여 APS 학습 환경 구축이 가능하다. 이를 위한 NetLogo 프로그래밍 방법을 소개하고 학습 예시를 보여 과학교육에 활용될 수 있는 방안을 모색한다.

절연링형 금속플렉시블호스(CSST)의 저항 특성 및 신뢰성 평가 (The Resistance Characteristics and Reliability Evaluation of an Insulation Ring Type of Corrugated Stainless Steel Tubing(CSST))

  • 이장우;김점식;최충석
    • 한국안전학회지
    • /
    • 제31권6호
    • /
    • pp.25-31
    • /
    • 2016
  • This paper has analyzed the structure, applicable regulations and the resistance characteristics of insulation ring type of CSST (Corrugated Stainless Steel Tubing for Gas). With the flammability test conducted in accordance with KS C IEC 60811-1-1, the evaluation of insulation resistance, temperature characteristics, and reliability has been conducted. An insulation ring type CSST consists of protective coating, tube, nut, insulation ring, packing, socket, and ball valve. Connecting an insulation ring type CSST to gas tubings for gas appliance is not permitted, moreover, the product shall be installed inside a sleeve pipe in case of buried installation such as the ceiling. Damages on protective coating and tube were detected when fire was applied to the test sample with a portable torch for 60 seconds. The insulation resistance of a normal product was $49.59M{\Omega}$, while that of the product completed the flammability test reduced to $9.21M{\Omega}$. The mean insulation resistance within the confidence Interval of 95% using the mini tap program 17 was $49.59M{\Omega}$ and the mean insulation resistance within the confidence interval reduced to $9.21M{\Omega}$. In the normal distribution analysis of 95% confidence interval, the value-P of the normal product was stable at 0.075 and AD(Anderson-Darling) statistic value was turned out to be 0.063, which is very normal, and the standard deviation was analyzed as 0.2586. The value P of the product completed the flammability test resulted in 0.005, the AD was 1.355 and the standard deviation reduced to 0.07908.

Tomographic sagittal root position in relation to maxillary anterior bone housing in a Brazilian population

  • Rodrigues, Diogo Moreira;Petersen, Rodrigo Lima;Montez, Caroline;Barboza, Eliane Porto
    • Imaging Science in Dentistry
    • /
    • 제52권1호
    • /
    • pp.75-82
    • /
    • 2022
  • Purpose: This cross-sectional study evaluated and categorized the tomographic sagittal root position (SRP) of the maxillary anterior teeth in a Brazilian population. Materials and Methods: Cone-beam computed tomographic scans of 420 maxillary anterior teeth of 70 patients (35 men and 35 women, mean age 25.2±5.9 years) were evaluated. The SRP was classified as class I, II, III, or IV. In class I, the root is positioned against the buccal cortical plate; in class II, the root is centered in the middle of the alveolar housing; in class III, the root is positioned against the palatal cortical plate; and in class IV, at least two-thirds of the root engage both the buccal and palatal cortical plates. Results: In total, 274 teeth (65.2%) were class I, 39 (9.3%) were class II, 3 (0.7%) were class III, and 104 (24.8%) were class IV. The frequency distribution over the teeth groups was different from the overall analysis. Important differences were found in the frequencies of classes I, II, and IV compared to other populations. Sex was not associated with the SRP classes (P=0.307). Age distribution was significantly different over the classes (P=0.004). Conclusion: The findings of this study on the distribution of SRP classes among the Brazilian population compared to other populations demonstrate that the SRP should be analyzed on a case-by-case basis for an accurate treatment plan in the maxillary anterior area.

대용량 데이터의 전송 효율 및 기록 성능 향상을 위한 Zero Copy 기술 적용에 관한 연구 (A Study on the Application of Zero Copy Technology to Improve the Transmission Efficiency and Recording Performance of Massive Data)

  • 송민규;김효령;강용우;제도흥;위석오;이성모;김승래
    • 한국전자통신학회논문지
    • /
    • 제16권6호
    • /
    • pp.1133-1144
    • /
    • 2021
  • Zero-copy는 메모리 무복사로도 불리는 기술로서 이에 대한 사용을 통해 사용자 영역과 커널 영역 간 컨텍스트 스위칭을 줄여 CPU의 부하를 최소화할 수 있다. 하지만 이 기술은 소규모의 랜덤한 파일을 전송하는 용도에 그치고, 대용량 파일 전송에는 아직 널리 활용되지 못하고 있다. 본 논문은 네트워크를 경유한 대용량 파일 처리에 있어서 Zero-copy의 실질적인 적용 방안에 대해 논의하고자 한다. 이를 위해 먼저 Zero-copy 기반으로 데이터를 전송, 저장할 수 있는 소규모 테스트베드 구축 및 프로그램을 개발하였다. 이후 세부 성능 평가를 통해 적용된 기술의 유용성을 세부 검증하고자 한다.

PXA255 ARM칩을 활용한 임베디드 RFID R/W 시스템 개발 (Development of Embedded RFID R/W System Using PXA255 ARM Chip)

  • 황기현;장원태;심현준
    • 전자공학회논문지SC
    • /
    • 제43권6호
    • /
    • pp.61-67
    • /
    • 2006
  • 본 논문에서는 Tag 신호를 IEEE 802.11 통신 프로토콜을 통해서 데이터 및 영상처리가 가능한 PXA255 ARM칩을 내장한 임베디드 RFID Reader/Writer 시스템과 전송된 Tag 신호를 이용하여 D/B를 검색한 후 이를 IEEE 802.11 통신 프로토콜 통해서 임베디드 시스템에 전송하는 임베디드 RFID R/W 미들웨어를 개발하였다. 개발한 임베디드 형태의 RFID R/W 시스템은 PXA255 ARM칩을 중심으로 13.56Mhz의 RFID Reader/Writer, 서버와 데이터 통신을 위한 무선랜 및 TFT-LCD로 구성되어 있다. 임베디드 RFID R/W 시스템은 Tag 신호를 시리얼 단자로 통해 입력받으면 이를 무선랜을 이용하여 서버로 데이터를 전송하고 다시 서버로부터 처리된 결과 이미지 데이터를 받아서 TFT-LCD화면에 표시한다. 임베디드 RFID R/W 미들웨어는 RFID R/W 취득한 Tag 신호를 임베디드 시스템에 전송하고, 임베디드 시스템은 클라이언트 소켓 프로그램을 작동시켜 IEEE 802.11 통신 프로토콜을 통해 윈도우 서버에 접속한 후 Tag 신호를 전송한다. 윈도우 서버 프로그램은 Tag 정보를 이용하여 D/B를 검색한 후 이를 IEEE 802.11 통신 프로토콜을 통해서 임베디드 시스템의 TFT-LCD창에 표시할 수 있는 미들웨어를 개발하였다.

MVA 알고리즘을 이용한 ATM 기반 통합 서비스 교환기 내 워크스테이션의 성능 평가 (Performance Evaluation of Workstation System within ATM Integrated Service Switching System using Mean Value Analysis Algorithm)

  • 장승주;김길용;이재흠;박호진
    • 한국정보과학회논문지:컴퓨팅의 실제 및 레터
    • /
    • 제6권4호
    • /
    • pp.421-429
    • /
    • 2000
  • 현재 ATM(Asynchronous Transfer Mode) 기반 통합 서비스 교환 시스템 개발 추세는 복합 교환 시스템에서의 운용, 보전 기능 및 ATM 기반 인터넷/협대역 통합 서비스 등을 수용하기 위하여 워크스테이션에 멀티플러그-인 개념을 도입하여 시스템이 설계, 구현되고 있다. 한편, 기존 워크스테이션에서는 교환 시스템을 운용하기 위해 HMI(Human Machine Interface) 운용 시스템 기능과 함께 파일 관리 기능, 시간 관리 기능, 그래픽 처리 기능 및 TMN(Telecommunication Management Network)의 에이전트 기능 등이 설정되어 교환 시스템과의 많은 인터페이스를 통하여 기능들이 수행되고 있다. 이러한 기능들은 프로세스 혹은 프로세서간 많은 메시지 통신을 필요로 하고 있으며, 워크스테이션내 입출력 장치 파일, 일반 파일, 그리고 메시지 전송을 위한 메시지 큐, 소켓 자원 등을 사용하고 있다. 따라서, 현재 개발 중인 시스템의 정상 동작 여부를 확인하고 파악된 문제점들에 대한 성능 개선과 함께 추후 지속적인 기능 추가 시에도 시스템의 정상 동작을 보장하기 위해서는 사전에 개발될 교환 시스템에 대한 성능 평가가 선행되어야 한다. 본 논문은 이러한 ATM 기반 통합 서비스 교환 시스템 개발 작업에서 사전에 시스템의 성능 평가를 했다. 성능 평가는 MVA(Mean Value Analysis) 알고리즘을 이용한다. 모델은 큐잉 네트워크 모델을 사용하고 모델링된 시스템을 이용하여 PDQ(Pretty Damn Quick) 시뮬레이션 패키지와 C 언어를 사용하여 시뮬레이션 하였다.

  • PDF

코드 주입을 통한 OpenSSL 공유 라이브러리의 보안 취약점 공격 (Attacking OpenSSL Shared Library Using Code Injection)

  • 안우현;김형수
    • 한국정보과학회논문지:시스템및이론
    • /
    • 제37권4호
    • /
    • pp.226-238
    • /
    • 2010
  • OpenSSL은 보안 통신 프로토콜인 SSL을 구현한 공개 소스 기반의 라이브러리이다. 하지만, 이 라이브러리는 리눅스 혹은 유닉스 운영체제에서 공유 라이브러리 형식으로 사용될 때 보안 정보를 쉽게 노출할 수 있다는 취약점이 있다. 본 논문은 이런 취약점을 공격하는 기법을 제안한다. 이 기법은 실행중인 클라이언트 프로그램에 공격 코드를 주입하여 SSL 핸드셰이크 단계에서 보안 취약점을 다음과 같이 공격한다. 첫째, 클라이언트가 서버에게 지원 가능한 암호 알고리즘의 목록을 전송할 때 그 목록의 모든 알고리즘을 임의로 지정한 알고리즘으로 교체한다. 이 교체는 암호 알고리즘의 목록을 수신한 서버로 하여금 지정한 암호 알고리즘을 선택하도록 한다. 둘째, 암복호화에 사용되는 암호 키를 생성 과정에서 가로채고, 그 암호 키를 외부 공격자에게 전송한다. 그 후 외부 공격자는 지정한 암호 알고리즘과 가로챈 암호키를 사용하여 송수신된 암호 데이터를 복호화한다. 제안하는 기법의 실현성을 보이기 위해 본 논문은 리눅스에서 OpenSSL 공유 라이브러리를 사용하는 ftp 클라이언트가 서버로 전송하는 암호화된 로그인(login) 정보를 가로채 복호화하는 실험을 수행하였다.

KOREN/KREONET기반 NetFPGA/OpenFlow 스위치를 이용한 미래인터넷 테스트 베드 구축 방안 연구 (A Study of Future Internet Testbed Construction using NetFGA/OpenFlow Switch on KOREN/KREONET)

  • 박만규;정회진;이재용;김병철
    • 대한전자공학회논문지TC
    • /
    • 제47권7호
    • /
    • pp.109-117
    • /
    • 2010
  • 미래인터넷 연구를 위해 대규모의 테스트 베드를 구축하는 일은 새로운 프로토콜을 테스트하고 clean-slate 기법을 적용한 새로운 네트워크 아키텍쳐를 테스트하기 위해 꼭 필요하다. 우리나라의 경우 현재 'FIRST'(Future Internet Research for Sustainable Testbed)라는 프로젝트 이름으로 미래인터넷 테스트 베드를 구축하는 연구가 금년 3월부터 추진되어 ETRI와 5개의 대학들이 공동으로 연구를 진행하고 있다. 이 중 5개 대학교를 중심으로 진행되는 FIRST@PC의 경우 NetFPGA의 하드웨어 가속 기능을 이용하여 오픈플로우 스위치기반의 미래인터넷 테스트베드를 KOREN과 KRONET에 구현하는 것을 목표로 연구가 진행 중이다. 본 논문에서는 FIRST@PC 프로젝트에 대한 간략한 소개와 지역별로 구축된 오픈플로우 스위치 테스트베드 간 연동을 위해 구현된 소프트웨어 기반의 MAC in IP 갭슐레이터를 설명하고 이를 이용한 연구실 내의 로컬 테스트와 충남대와 광주과학기술원 간 연동 테스트한 결과를 제시한다. 실험 결과 소프트웨어 기반의 캡슐레이터를 사용하면 현재 많은 어플리케이션이 요구하는 대역폭에 대해서는 지원 가능할 것으로 예상된다.