• Title/Summary/Keyword: C language

Search Result 1,654, Processing Time 0.025 seconds

A Design and Analysis of PKCS #11 supporting the KCDSA mechanism (KCDSA 메커니즘을 제공하는 PKCS #11 설계 및 분석)

  • 김명희;김은환;전문석
    • Journal of the Korea Institute of Information Security & Cryptology
    • /
    • v.14 no.5
    • /
    • pp.141-151
    • /
    • 2004
  • According to the improvemnent of electronic commerce, the requirements of security devices are becoming increasingly pervasive. The security API must design easily and securely to support a compatibility feature between security devices. It is chosen the PKCS #11 interface by RSA Labs that shows the compatibility and extensibility standards of many application product and implementation, and supported KCDSA mechanism which is a korean digital signature standard. And the PKCS #11 security API defines new key management function which provides more secure key management ability. We suggest the object attributes and templates of KCDSA private and public key object, generate and verify digital signature using KCDSA mechanism. The PKCS #11 supporting KCDSA mechanism is designed, implemented using C-Language, tested a performance, and analyzed the security and compatibiltiy feature.

Traffic Signal Detection and Recognition Using a Color Segmentation in a HSI Color Model (HSI 색상 모델에서 색상 분할을 이용한 교통 신호등 검출과 인식)

  • Jung, Min Chul
    • Journal of the Semiconductor & Display Technology
    • /
    • v.21 no.4
    • /
    • pp.92-98
    • /
    • 2022
  • This paper proposes a new method of the traffic signal detection and the recognition in an HSI color model. The proposed method firstly converts a ROI image in the RGB model to in the HSI model to segment the color of a traffic signal. Secondly, the segmented colors are dilated by the morphological processing to connect the traffic signal light and the signal light case and finally, it extracts the traffic signal light and the case by the aspect ratio using the connected component analysis. The extracted components show the detection and the recognition of the traffic signal lights. The proposed method is implemented using C language in Raspberry Pi 4 system with a camera module for a real-time image processing. The system was fixedly installed in a moving vehicle, and it recorded a video like a vehicle black box. Each frame of the recorded video was extracted, and then the proposed method was tested. The results show that the proposed method is successful for the detection and the recognition of traffic signals.

Effects of Adolescents' Perception of the Need for Safety Education on Fire Safety Awareness: The Control Effect of Personality Factors (청소년의 안전교육 필요성에 대한 인식이 소방안전의식에 미치는 영향: 성격요인의 조절효과)

  • JinKyoung, Lee;Jai Young, Lee;Sook-hee, Im
    • Journal of the Korea Safety Management & Science
    • /
    • v.24 no.4
    • /
    • pp.109-116
    • /
    • 2022
  • This study attempted to explore how the perception of the necessity of safety education for adolescents affects fire safety consciousness and whether personality factors control the relationship. To this end, a survey was conducted at a high school in region C, and data of 1,049 people who agreed to the survey and responded faithfully were used for analysis. Hayes' macro was used to analyze the moderating effect, and as a result of the analysis, adolescents' awareness of the need for safety education increased, and their relationship was significantly regulated by extroversion, openness, and conscientiousness among the five personality factors. A simple regression line analysis was conducted to find out the specific direction, and it was found that the higher the need for safety education in both the group with high extroversion, openness, and conscientiousness, the higher the awareness of safety education. These results suggest that changes in educational methods and contents are needed to raise awareness of the necessity of education in fire safety education and to improve educational motivation, and that it may be helpful to actively utilize students' personality strengths in education.

Development of AR Content for Algorithm Learning

  • Kim, So-Young;Kim, Heesun
    • International Journal of Internet, Broadcasting and Communication
    • /
    • v.14 no.3
    • /
    • pp.292-298
    • /
    • 2022
  • Coding education and algorithm education are essential in the era of the fourth industrial revolution. Text-oriented algorithm textbooks are perceived as difficult by students who are new to coding and algorithms. There is a need to develop educational content so that students can easily understand the principles of complex algorithms. This paper has implemented basic sorting algorithms as augmented reality contents for students who are new to algorithm education. To make it easier to understand the concept and principles of sorting algorithms, sorting data was expressed as a 3D box and the comparison of values according to the algorithms and the movement of values were produced as augmented reality contents in the form of 3D animations. In order to help with the understanding of sorting algorithms in C language, the change of variable values and the exchange of data were shown as animations according to the execution order of the code and the flow of the loop. Students can conveniently use contents through a smart phone without special equipment by being produced in a marker-based manner. Interest and immersion, as well as understanding of classes of sorting algorithms can be increased through educational augmented reality-based educational contents.

Building a Dynamic Analyzer for CUDA based System.

  • SALAH T. ALSHAMMARI
    • International Journal of Computer Science & Network Security
    • /
    • v.23 no.8
    • /
    • pp.77-84
    • /
    • 2023
  • The utilization of GPUs on general-purpose computers is currently on the rise due to the increase in its programmability and performance requirements. The utility of tools like NVIDIA's CUDA have been designed to allow programmers to code algorithms by using C-like language for the execution process on the graphics processing units GPU. Unfortunately, many of the performance and correctness bugs will happen on parallel programs. The CUDA tool support for the parallel programs has not yet been actualized. The use of a dynamic analyzer to find performance and correctness bugs in CUDA programs facilitates the execution of sophisticated processes, especially in modern computing requirements. Any race conditions bug it will impact of program correctness and the share memory bank conflicts to improve the overall performance. The technique instruments the programs in a way that promotes accessibility of the memory locations accessed by different threads well as to check for any bugs in the code of a program. The instrumented source code will be used initiated directly in the device emulation code of CUDA to send report for the user about all errors. The current degree of automation helps programmers solve subtle bugs in highly complex programs or programs that cannot be analyzed manually.

The Effect of Psychological Characteristics of Adolescents on Life Safety Awareness (청소년의 심리적 특성이 생활안전의식에 미치는 영향)

  • Sook-hee Im;JinKyoung Lee;Jai Young Lee
    • Journal of the Korea Safety Management & Science
    • /
    • v.25 no.2
    • /
    • pp.49-57
    • /
    • 2023
  • The purpose of this study is to explore how adolescents' psychological characteristics affect their sense of life safety according to gender. To this end, a survey was conducted on male and female high school students in six schools in the C area, and a total of 1,048 data were used for analysis. Differences in major variables according to gender were verified, and the effect of psychological characteristics on living safety awareness was analyzed through hierarchical multiple regression analysis. As a result of the analysis, depression, anxiety, type A characteristics, and the presence or absence of experience in accidents did not significantly affect life safety awareness in the male student group. On the other hand, in the female student group, anxiety and type A characteristics had a significant effect on life safety awareness. Anxiety negatively affects living safety awareness, and type A characteristics have been shown to have a positive effect on living safety awareness. The presence or absence of depression and accident experience did not significantly affect life safety awareness. The results of these studies suggest that gender differences should be considered in education to prevent life safety awareness and that education that reflects the psychological characteristics of adolescents is necessary.

Classification and prediction of the effects of nutritional intake on diabetes mellitus using artificial neural network sensitivity analysis: 7th Korea National Health and Nutrition Examination Survey

  • Kyungjin Chang;Songmin Yoo;Simyeol Lee
    • Nutrition Research and Practice
    • /
    • v.17 no.6
    • /
    • pp.1255-1266
    • /
    • 2023
  • BACKGROUND/OBJECTIVES: This study aimed to predict the association between nutritional intake and diabetes mellitus (DM) by developing an artificial neural network (ANN) model for older adults. SUBJECTS/METHODS: Participants aged over 65 years from the 7th (2016-2018) Korea National Health and Nutrition Examination Survey were included. The diagnostic criteria of DM were set as output variables, while various nutritional intakes were set as input variables. An ANN model comprising one input layer with 16 nodes, one hidden layer with 12 nodes, and one output layer with one node was implemented in the MATLAB® programming language. A sensitivity analysis was conducted to determine the relative importance of the input variables in predicting the output. RESULTS: Our DM-predicting neural network model exhibited relatively high accuracy (81.3%) with 11 nutrient inputs, namely, thiamin, carbohydrates, potassium, energy, cholesterol, sugar, vitamin A, riboflavin, protein, vitamin C, and fat. CONCLUSIONS: In this study, the neural network sensitivity analysis method based on nutrient intake demonstrated a relatively accurate classification and prediction of DM in the older population.

Numerical Analysis of the Thermodynamic Stability of Aqueous Cu-Ni-S-H2O System for the Preparation of Thin Copper-Nickel Multi-nano-Layers by Using Pulse Electro-forming

  • Sang Bum, Lee;Yong Choi
    • Journal of the Semiconductor & Display Technology
    • /
    • v.23 no.3
    • /
    • pp.64-68
    • /
    • 2024
  • Thermodynamic solution stability of aqueous copper-nickel-sulfur system was numerically analyzed to produce thin copper-nickel nano-multi-layers by pulse electro-forming. The main program for numerical analysis was written by C# language, which was composed of the data input, numerical calculation, decision and plotting sub-programs. From the thermodynamic data of 32-feasible phases of the Cu-Ni-S-H2O system, the phase stability diagram of the Cu-Ni-S-H2O system was constructed. It revealed the electro-forming condition of the copper and the nickel was VSHE<0.35 for copper deposition, VSHE<-0.24 for nickel deposition, pH=1.0 and 25℃ in the sulfide bath. The coppernickel multi-layers was well produced by electro-forming in the sulfide bath with two-wave pulse voltages of - 0.2VSHE, -0.5 mA/cm2, and 25 seconds for copper deposition and -1.7 VSHE, -50 mA/cm2 and 80 seconds for nickel deposition, at pH=1.0 and 25℃. From TEM and EDX analysis the Cu-Ni multi-layers with about 5 ㎛ thick had the copper-rich phase of about 20 nm in thick and the nickel rich phase of about 25 nm in thick, respectively.

  • PDF

A study on the development of PCB automatic routing system using the mixing method of non-grid and grid (논-그리드와 그리드 혼합 방식을 이용한 PCB 자동 배선 시스템 개발)

  • Choe, Yeong-Gyu;Lee, Cheon-Hui
    • The Transactions of the Korea Information Processing Society
    • /
    • v.2 no.4
    • /
    • pp.592-602
    • /
    • 1995
  • Non-grid and grid method are used for modeling the routing region of the automatic routing system. In this study, we develop the automatic routing system by mixing the methods of non-grid and grid to improve the speed of routing. Grid method has a demerit which decreases the automatic routing speed because it is required a lot of memory by the limitation of the size of board and grid, although the electrical and physical elements are insufficient on the PCB, But non-grid is spent gurite less memory than grid method by using a shape-based patterns. Therefore, we used the methods of non-grid and grid altogether in this paper, In the former method, it is attributed to the improvement of speed, the latter one is applied only the connection of the failed routing in the former one, and it performs the complete automatic routing. This system was developed with C++language under the Windows NT environment of IBM 486DX2-66 Computer.

  • PDF

Design of Memory-Efficient Octree to Query Large 3D Point Cloud (대용량 3차원 포인트 클라우드의 탐색을 위한 메모리 효율적인 옥트리의 설계)

  • Han, Soohee
    • Journal of the Korean Society of Surveying, Geodesy, Photogrammetry and Cartography
    • /
    • v.31 no.1
    • /
    • pp.41-48
    • /
    • 2013
  • The aim of the present study is to design a memory-efficient octree for querying large 3D point cloud. The aim has been fulfilled by omitting variables for minimum bounding hexahedral (MBH) of each octree node expressed in C++ language and by passing the re-estimated MBH from parent nodes to child nodes. More efficiency has been reported by two-fold processes of generating pseudo and regular trees to declare an array for all anticipated nodes, instead of using new operator to declare each child node. Experiments were conducted by constructing tree structures and querying neighbor points out of real point cloud composed of more than 18 million points. Compared with conventional methods using MBH information defined in each node, the suggested methods have proved themselves, in spite of existing trade-off between speed and memory efficiency, to be more memory-efficient than the comparative ones and to be practical alternatives applicable to large 3D point cloud.