• 제목/요약/키워드: Program Codes

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

목적 코드에서 유사도 검출과 그 도구의 설계 (Similarity Detection in Object Codes and Design of Its Tool)

  • 유장희
    • 한국소프트웨어감정평가학회 논문지
    • /
    • 제16권2호
    • /
    • pp.1-8
    • /
    • 2020
  • 컴퓨터 프로그램의 표절 또는 복제에 대한 유사도 검출은 구현에 사용된 프로그래밍 언어, 분석 대상 코드의 종류에 따라 각기 다른 감정 방법과 도구가 필요하다. 최근 들어 증가하고 있는 내장형 시스템의 목적 코드에 대한 유사도 감정은 원시 코드와 비교해 더욱 복잡한 과정 및 고도의 기술과 함께 상당한 자원을 요구하고 있다. 본 연구에서는 목적 코드를 대상으로 역 어셈블리 기법의 적용과 같은 역공학 방법을 이용하여, 목적 코드의 어셈블리어 변환을 통한 어셈블리어 레벨에서의 함수 단위 유사도 감정 방법에 관하여 연구하였다. 그리고, 어셈블리어 레벨에서의 유사도 비교를 위해 코드의 구문분석을 통한 명령어 및 오퍼랜드 테이블을 생성하고, 이를 대상으로 유사도를 검출할 수 있는 도구의 설계에 관하여 기술하였다.

code2vec을 이용한 유사도 감정 도구의 성능 개선 (Enhancing the performance of code-clone detection tools using code2vec)

  • 엄태호;홍성문;양준혁;장효석;도경구
    • 한국소프트웨어감정평가학회 논문지
    • /
    • 제17권1호
    • /
    • pp.31-40
    • /
    • 2021
  • 소스코드 표절은 원본 자료의 출처를 분명히 밝히지 않고 자신의 것처럼 사용하는 행위를 말한다. 소스코드 표절로 인한 문제는 법적인 분쟁을 다투는 경우까지 다양한 문제를 일으킨다. 소스코드의 표절 여부는 일반적으로 비교 대상 소프트웨어 프로젝트 내의 각 소스코드를 전수 비교하여 유사도를 측정하여 결정한다. 전수 비교는 표절 가능성이 전혀 없는 코드도 비교 대상에 포함하기 때문에 그만큼의 시간을 헛되이 소모한다. 소스코드 표절로 의심되는 비교 쌍만 선별하여 비교할 수 있으면 그만큼 비교 횟수는 줄어들게 되어 탐지 도구의 실행 속도를 향상시킬 수 있을 뿐만 아니라, 표절 가능성이 높은 부분만을 대상으로 탐지의 정확도를 높이는데 집중할 수도 있다. 본 논문에서는 code2vec 이라는 기계학습 모델을 활용하여 코드 클론으로 의심되는 소스코드들을 미리 분류하여 비교 횟수를 줄임으로써 소스코드 표절 탐지의 성능을 개선할 수 있음을 보인다.

SNMP MIB 파일의 유사도 분석에 관한 연구 (A Study on Similarity Analysis of SNMP MIB File)

  • 전병태
    • 한국소프트웨어감정평가학회 논문지
    • /
    • 제15권1호
    • /
    • pp.37-42
    • /
    • 2019
  • 컴퓨터 프로그램 분쟁 조정 해결 방법중 하나인 유사도 분석 방법은 많은 연구되어왔다. 본 논문은 MIB (Management Information Base) 파일의 정량적 유사도 분석에 관한 내용이다. 정량적 유사도란 두 컴퓨터의 소스코드 등을 분석하여 일정한 기준을 적용하여 비교한 결과를 수치로 나타낸 것을 의미한다. 분석대상 프로그램은 WiMAX CPE 장치에 대해서 SNMP 프로토콜을 사용하여 구성관리, 장애관리, 성능 관리 등 네트워크 장치 관리 기능을 제공하는 프로그램이다. 여기서, WiMAX는 IEEE 802.16 무선 네트워크 표준 프로토콜을 말하며 고정형 WiMAX와 모바일 WiMAX로 구분될 수 있다. WiMAX CPE는 고객 집 또는 사무실 등 실내에 고정하여 사용하는 무선인터넷 단말기이다. 본 논문에서는 A사와 B사의 MIB 파일에 대한 유사도 분석을 수행하고, 피해회사에서 유출된 MIB 파일이 단순한 제품사양을 설명하기 위한 리스트가 아니고 그 재산적 가치가 인정될 수 있는 자료인지 여부에 대하여 분석해 보기로 한다.

대한민국 의료시설의 내진성능 향상을 위한 연구 (Toward Seismic Enhancement of Medical Facilities in Korea)

  • 김장훈;권순정;이충재
    • 의료ㆍ복지 건축 : 한국의료복지건축학회 논문집
    • /
    • 제18권3호
    • /
    • pp.51-59
    • /
    • 2012
  • Over a past century, the continuity in post-earthquake serviceability of medical facilities has been demonstrated to be essential for sustaining a society and/or a nation stable. However, not many countries including Korea have paid appropriate attention to such a lesson learned from the previous experiences of the countries located in high seismicity for various reasons, one of which may be the lack of social consensus in allocating a portion of the resources to the earthquake preparedness. As a result, an earthquake-related policy might have been pushed away out of the list of priority in the government agenda. Therefore, the present paper attempts to persuade the public general, experts and government officials together to seek a way to upgrade the seismic safety of the country a step forward by enhancing the seismic performance of medical facilities. For this the framework of seismic design codes and standards for medical facilities, and Californian experience in managing the seismic performance enhancement program and U.S.-Italian collaborative study to improve the seismic safety of Italian hospitals are reviewed. Finally, a list of further researches and practices to perform for seismic enhancement of medical facilities in Korea are suggested.

Experimental investigation of existing R/C frames strengthened by high dissipation steel link elements

  • Karalis, Apostolos A.;Stylianidis, Kosmas C.
    • Earthquakes and Structures
    • /
    • 제5권2호
    • /
    • pp.143-160
    • /
    • 2013
  • This paper presents the results of an experimental program concerning the efficiency of a specific strengthening technique which utilizes a small steel link element connected to the R/C frame through bracing elements. Brittle types of failure, especially at the connections between steel and concrete elements, can be avoided by appropriate design of the local details. Five single storey one bay R/C frames scaled 1:3 were constructed according to older codes with substandard details. The first one was a typical bare reference frame. The other four were identical to the first one, strengthened by steel bracing elements. The behavior of the strengthened frames is described with respect to the reference bare frame. The concrete frames were constructed according to older code provisions by the use of smooth steel bars, low strength concrete, sparsely spaced stirrups and substandard details. The strengthening scheme aimed to the increase of both strength and deformation capacity of the original R/C frame. The inelastic deformations are purposely concentrated to a short steel link element connecting the steel bracing to the R/C frame. The results show that the steel link element can increase considerably the strength and the energy dissipation capacity of the frame.

Probabilistic analysis of spectral displacement by NSA and NDA

  • Devandiran, P.;Kamatchi, P.;Rao, K. Balaji;Ravisankar, K.;Iyer, Nagesh R.
    • Earthquakes and Structures
    • /
    • 제5권4호
    • /
    • pp.439-459
    • /
    • 2013
  • Main objective of the present study is to determine the statistical properties and suitable probability distribution functions of spectral displacements from nonlinear static and nonlinear dynamic analysis within the frame work of Monte Carlo simulation for typical low rise and high rise RC framed buildings located in zone III and zone V and designed as per Indian seismic codes. Probabilistic analysis of spectral displacement is useful for strength assessment and loss estimation. To the author's knowledge, no study is reported in literature on comparison of spectral displacement including the uncertainties in capacity and demand in Indian context. In the present study, uncertainties in capacity of the building is modeled by choosing cross sectional dimensions of beams and columns, density and compressive strength of concrete, yield strength and elastic modulus of steel and, live load as random variables. Uncertainty in demand is modeled by choosing peak ground acceleration (PGA) as a random variable. Nonlinear static analysis (NSA) and nonlinear dynamic analysis (NDA) are carried out for typical low rise and high rise reinforced concrete framed buildings using IDARC 2D computer program with the random sample input parameters. Statistical properties are obtained for spectral displacements corresponding to performance point from NSA and maximum absolute roof displacement from NDA and suitable probability distribution functions viz., normal, Weibull, lognormal are examined for goodness-of-fit. From the hypothesis test for goodness-of-fit, lognormal function is found to be suitable to represent the statistical variation of spectral displacement obtained from NSA and NDA.

Pushover analysis of prefabricated structures with various partially fixity rates

  • Akkose, Mehmet;Sunca, Fezayil;Turkay, Alperen
    • Earthquakes and Structures
    • /
    • 제14권1호
    • /
    • pp.21-32
    • /
    • 2018
  • Prefabricated structures are constructed by bolted connections of separated members. The design and analysis of these structures are generally performed by defining fully hinges for the connection of separated members at the joint of junction. In practice, these connections are not fully hinged. Therefore, the assumption of semi-rigid connections (restrained or partially fixity) instead of fully hinge connections is a more realistic approach for bolted connections used in the prefabricated elements. The aim of this study is to investigate the effects of semi-rigid connections on seismic performance of prefabricated structures. Nonlinear static analysis (pushover analysis) of a selected RC prefabricated structure is performed with SAP2000 structural analysis program by considering various partially fixity percentages for bolted connections. The target values of roof displacements obtained from the analyses according to ATC-40, FEMA-356, FEMA-440, and TEC-2007 codes are compared each other. The numerical results are given in tables and figures comparatively and discussed. The results show that the effects of semi-rigid connections should be considered in design and analysis of the prefabricated structures.

8 비트 MPU 기반의 Web-RTU의 설계 및 구현 (Design and Implementation of Web-RTU Based on 8 bit MPU)

  • 홍순필;김은성
    • 대한전기학회:학술대회논문집
    • /
    • 대한전기학회 2004년도 학술대회 논문집 정보 및 제어부문
    • /
    • pp.89-91
    • /
    • 2004
  • In SCADA systems, an RTU is a device installed at a remote location that collects data, codes the data into a format that is transmittable and transmits the data back to a central station, or MTU. An RTU also collects information from the master device and implements processes that are directed by master device. RTUs are equipped with input channels for sensing or metering, output channels for control, indication or alarms and a communications port. In general, the data are transmitted via a wired communication infrastructure such as RS422 or RS485 between RTU and MTU. But, limited range of wired communication doesn't allow the system to cover remote areas over the limitation, and building a wired communication network is not easy in the circumstances. In this Paper, we design and implement a smart cost-effective Web-RTU that can communicate with MTU via Web. Web is of benefit to the Web-RTU, because it is not only free from the distance limitations, but also is built easily and cost-effectively wherever Internet resources are available. Additionally, Web can be easily applied to the SCADA system with the development of hardware and software for communications. The Web-RTU has a program memory, a data memory and a RAM inside, and uses Atmega128, low-cost 8 bit micro-processor with eight AI(Analog Input). It performs well enough to implement all existing roles of RTU.

  • PDF

LiDAR가 탑재된 계류된 부유식 기상 부이의 개념 설계 (Conceptual Design of Moored Floating Meterological Buoy with LiDAR)

  • 김정록;이혜빈;조일형;경남호;부성윤
    • 한국해양공학회지
    • /
    • 제31권5호
    • /
    • pp.325-334
    • /
    • 2017
  • This paper reports the conceptual design process for a floating metocean data measurement system (FMDMS) for measuring wind information at sea. The FMDMS consists of three circular pontoons, columns, and a deck, which the LiDAR (lighting detection and ranging) is installed on. The dynamics of the mooring lines and motion responses of the FMDMS were analyzed using commercial codes such as WAMIT and OrcaFlex. One design criterion of the developed FMDMS was to maintain the motion responses as small as possible to enhance the LiDAR's accuracy. Starting with the preliminary design parameters such as the FMDMS's principal dimensions, weight, and important parameters of mooring system, we checked whether the FMDMS met the design requirements at each design stage, and then made modifications as necessary. The developed FMDMS showed a large pitch behavior for a small heave motion.

소형 수직축 풍력발전기의 내진검증 해석 (Seismic Qualification Analysis of a Vertical-Axis Wind Turbine)

  • 최영휴;홍민기
    • 한국기계가공학회지
    • /
    • 제15권3호
    • /
    • pp.21-27
    • /
    • 2016
  • The static and dynamic structural integrity qualification was performed through the seismic analysis of a small-size Savonius-type vertical wind turbine at dead weight plus wind load and seismic loads. The ANSYS finite element program was used to develop the FEM model of the wind turbine and to accomplish static, modal, and dynamic frequency response analyses. The stress of the wind turbine structure for each wind load and dead weight was calculated and combined by taking the square root of the sum of the squares (SRSS) to obtain static stresses. Seismic response spectrum analysis was also carried out in the horizontal (X and Y) and vertical (Z) directions to determine the response stress distribution for the required response spectrum (RRS) at safe-shutdown earthquake with a 5% damping (SSE-5%) condition. The stress resulting from the seismic analysis in each of the three directions was combined with the SRSS to yield dynamic stresses. These static and dynamic stresses were summed by using the same SRSS. Finally, this total stress was compared with the allowable stress design, which was calculated based on the requirements of the KBC 2009, KS C IEC 61400-1, and KS C IEC 61400-2 codes.