• Title/Summary/Keyword: Queue

Search Result 1,258, Processing Time 0.024 seconds

Protocol Monitor System Between Cortex M7 Based PLC And HMI

  • Kim, Ki-Su;Lee, Jong-Chan;Ha, Heon-Seong
    • Journal of the Korea Society of Computer and Information
    • /
    • v.25 no.6
    • /
    • pp.17-23
    • /
    • 2020
  • In this paper, collecting real-time data frames that occur during RS232 communication between an HMI and PLC of automation equipment by sniffing real-time information data frames through MCU without modification of the HMI or PLC, a method is proposed that allows users to collect data without being dependent on the modification of PLC and HMI systems. The user collects necessary information from the sniffing data through the parsing operation, and the original communication interface is maintained by transmitting the corresponding sniffing frame to the destination. The MCU's UART communication interface circuit is physically designed according to the RS232 communication standard, and this additionally improves efficiency more so than an interrupt-based system by using the DMA device inside the MCU. In addition, the data frame IO operation is performed by logically separating the work of the DMA interrupt service routine from the work of the main thread using the circular queue. Through this method, the user receives the sniffing data frame between the HMI and PLC in RS232 format, and the frame transfer between PLC and HMI arrives normally at the original destination. By sniffing the data frame without further modification of the PLC and HMI, it can be confirmed that it arrives at the user system normally.

Design and Implementation of Anomaly Traffic Control framework based on Linux Netfilter System and CBQ Routing Mechanisms (리눅스 Netfilter시스템과 CBQ 라우팅 기능을 이용한 비정상 트래픽 제어 프레임워크 설계 및 구현)

  • 조은경;고광선;이태근;강용혁;엄영익
    • Journal of the Korea Institute of Information Security & Cryptology
    • /
    • v.13 no.6
    • /
    • pp.129-140
    • /
    • 2003
  • Recently viruses and various hacking tools that threat hosts on a network becomes more intelligent and cleverer, and so the various security mechanisms against them have ken developed during last decades. To detect these network attacks, many NIPSs(Network-based Intrusion Prevention Systems) that are more functional than traditional NIDSs are developed by several companies and organizations. But, many previous NIPSS are hewn to have some weakness in protecting important hosts from network attacks because of its incorrectness and post-management aspects. The aspect of incorrectness means that many NIPSs incorrectly discriminate between normal and attack network traffic in real time. The aspect of post-management means that they generally respond to attacks after the intrusions are already performed to a large extent. Therefore, to detect network attacks in realtime and to increase the capability of analyzing packets, faster and more active responding capabilities are required for NIPS frameworks. In this paper, we propose a framework for real-time intrusion prevention. This framework consists of packet filtering component that works on netfilter in Linux kernel and traffic control component that have a capability of step-by-step control over abnormal network traffic with the CBQ mechanism.

Determination on Connection Type of Entrance/Exit on Urban Roads (도시부 도로상의 진출입부 접속형태 결정에 관한 연구)

  • Lee, Hyung-Mu;Kwon, Sung-Dae;Oh, Seok-Jin
    • KSCE Journal of Civil and Environmental Engineering Research
    • /
    • v.43 no.2
    • /
    • pp.219-230
    • /
    • 2023
  • Cities are continued to be highly advanced and metropolitanized. Lands adjacent to road make entry/exit connection increase along with construction of facilities for various purposes. However, in the absence of specific installation standards of entry and exit connection, inappropriate access location, types of access, and operation methods are deteriorating the level of traffic services at existing roads and intersections. Therefore, in order to minimize the traffic impact from entrances connected to minor arterial roads and colletor roads, first, this study re-established the waiting length in the intersection of upstream and downstream and length required for changing lanes and between entrance/exit and connection, considering the road and traffic environment in contact with the entrance. Second, it is suggested that the operation method depending on the connection type and whether to install left turn lane and acceleration and deceleration lane can be determined quantitatively by relation with the service level of nearby intersection after calculating the threshold amount of business site through negative social cost, which is the difference between the installation cost of the left turn lane and the acceleration and deceleration lane according to the type of access to the entrance and exit.

Lane Change Methodology for Autonomous Vehicles Based on Deep Reinforcement Learning (심층강화학습 기반 자율주행차량의 차로변경 방법론)

  • DaYoon Park;SangHoon Bae;Trinh Tuan Hung;Boogi Park;Bokyung Jung
    • The Journal of The Korea Institute of Intelligent Transport Systems
    • /
    • v.22 no.1
    • /
    • pp.276-290
    • /
    • 2023
  • Several efforts in Korea are currently underway with the goal of commercializing autonomous vehicles. Hence, various studies are emerging on autonomous vehicles that drive safely and quickly according to operating guidelines. The current study examines the path search of an autonomous vehicle from a microscopic viewpoint and tries to prove the efficiency required by learning the lane change of an autonomous vehicle through Deep Q-Learning. A SUMO was used to achieve this purpose. The scenario was set to start with a random lane at the starting point and make a right turn through a lane change to the third lane at the destination. As a result of the study, the analysis was divided into simulation-based lane change and simulation-based lane change applied with Deep Q-Learning. The average traffic speed was improved by about 40% in the case of simulation with Deep Q-Learning applied, compared to the case without application, and the average waiting time was reduced by about 2 seconds and the average queue length by about 2.3 vehicles.

Analyzing Contextual Polarity of Unstructured Data for Measuring Subjective Well-Being (주관적 웰빙 상태 측정을 위한 비정형 데이터의 상황기반 긍부정성 분석 방법)

  • Choi, Sukjae;Song, Yeongeun;Kwon, Ohbyung
    • Journal of Intelligence and Information Systems
    • /
    • v.22 no.1
    • /
    • pp.83-105
    • /
    • 2016
  • Measuring an individual's subjective wellbeing in an accurate, unobtrusive, and cost-effective manner is a core success factor of the wellbeing support system, which is a type of medical IT service. However, measurements with a self-report questionnaire and wearable sensors are cost-intensive and obtrusive when the wellbeing support system should be running in real-time, despite being very accurate. Recently, reasoning the state of subjective wellbeing with conventional sentiment analysis and unstructured data has been proposed as an alternative to resolve the drawbacks of the self-report questionnaire and wearable sensors. However, this approach does not consider contextual polarity, which results in lower measurement accuracy. Moreover, there is no sentimental word net or ontology for the subjective wellbeing area. Hence, this paper proposes a method to extract keywords and their contextual polarity representing the subjective wellbeing state from the unstructured text in online websites in order to improve the reasoning accuracy of the sentiment analysis. The proposed method is as follows. First, a set of general sentimental words is proposed. SentiWordNet was adopted; this is the most widely used dictionary and contains about 100,000 words such as nouns, verbs, adjectives, and adverbs with polarities from -1.0 (extremely negative) to 1.0 (extremely positive). Second, corpora on subjective wellbeing (SWB corpora) were obtained by crawling online text. A survey was conducted to prepare a learning dataset that includes an individual's opinion and the level of self-report wellness, such as stress and depression. The participants were asked to respond with their feelings about online news on two topics. Next, three data sources were extracted from the SWB corpora: demographic information, psychographic information, and the structural characteristics of the text (e.g., the number of words used in the text, simple statistics on the special characters used). These were considered to adjust the level of a specific SWB. Finally, a set of reasoning rules was generated for each wellbeing factor to estimate the SWB of an individual based on the text written by the individual. The experimental results suggested that using contextual polarity for each SWB factor (e.g., stress, depression) significantly improved the estimation accuracy compared to conventional sentiment analysis methods incorporating SentiWordNet. Even though literature is available on Korean sentiment analysis, such studies only used only a limited set of sentimental words. Due to the small number of words, many sentences are overlooked and ignored when estimating the level of sentiment. However, the proposed method can identify multiple sentiment-neutral words as sentiment words in the context of a specific SWB factor. The results also suggest that a specific type of senti-word dictionary containing contextual polarity needs to be constructed along with a dictionary based on common sense such as SenticNet. These efforts will enrich and enlarge the application area of sentic computing. The study is helpful to practitioners and managers of wellness services in that a couple of characteristics of unstructured text have been identified for improving SWB. Consistent with the literature, the results showed that the gender and age affect the SWB state when the individual is exposed to an identical queue from the online text. In addition, the length of the textual response and usage pattern of special characters were found to indicate the individual's SWB. These imply that better SWB measurement should involve collecting the textual structure and the individual's demographic conditions. In the future, the proposed method should be improved by automated identification of the contextual polarity in order to enlarge the vocabulary in a cost-effective manner.

Dynamic Network Loading Model based on Moving Cell Theory (Moving Cell Theory를 이용한 동적 교통망 부하 모형의 개발)

  • 김현명
    • Journal of Korean Society of Transportation
    • /
    • v.20 no.5
    • /
    • pp.113-130
    • /
    • 2002
  • In this paper, we developed DNL(Dynamic Network Loading) model based on Moving cell theory to analyze the dynamic characteristics of traffic flow in congested network. In this paper vehicles entered into link at same interval would construct one cell, and the cells moved according to Cell following rule. In the past researches relating to DNL model a continuous single link is separated into two sections such as running section and queuing section to describe physical queue so that various dynamic states generated in real link are only simplified by running and queuing state. However, the approach has some difficulties in simulating various dynamic flow characteristics. To overcome these problems, we present Moving cell theory which is developed by combining Car following theory and Lagrangian method mainly using for the analysis of air pollutants dispersion. In Moving cell theory platoons are represented by cells and each cell is processed by Cell following theory. This type of simulation model is firstly presented by Cremer et al(1999). However they did not develop merging and diverging model because their model was applied to basic freeway section. Moreover they set the number of vehicles which can be included in one cell in one interval so this formulation cant apply to signalized intersection in urban network. To solve these difficulties we develop new approach using Moving cell theory and simulate traffic flow dynamics continuously by movement and state transition of the cells. The developed model are played on simple network including merging and diverging section and it shows improved abilities to describe flow dynamics comparing past DNL models.

A Cohort Study of Mental, Physical and Behavioral Impacts of Early(at Age 55) Compulsory Retirement in Korea (조기 정년퇴직자의 정신. 육체. 행위적 경향연구)

  • Duk-Sung Kim;Sae-Kwon Kong;Kong-Kyun Ro
    • Korea journal of population studies
    • /
    • v.11 no.1
    • /
    • pp.204-229
    • /
    • 1988
  • This paper documents and discusses trends and differentials in youth's participation in the labor force and employment. Youth in this study is defined asthe young aged 15-29. Youth passes through a series of life-course transitions,which include school completion own family formation(marriage and childbirth) .mandatory service in the army (by males) , and their economic activities are affectedby those life-course events. Accordingly we show how and to what extent youth'slabor force participation and employment varies with age and how the age patternhas changed over time.Throughout the 1980's and 1990's, youth's labor force participation showeddifferent trends by age group Labor fDrce participation rate of the 15-19 agedsteeply decreased, while that of the 25-29 steadily increased during the twodecades, the rate fsr the 20-24 aged showing not much variation. The former is dueto the increased rate of school enrollment among the age group, while the lattercould be attributed, in part, to the young women s increased and more steadyparticipation in the labor force over time.While labor force participation could be considered as a result of one's choicesand preferences, employment opportunities are more or less restricted by labormarket structure and institutions . This study documents how the structuralconstraints have interacted with individual and group attributes to differentiateemployment opportunities between individuals (educational background) and groups(especially sex diffrences) . One of the most salient feature of youth's em[ploymentstructure is the recent high unemployment rate of the college graduates. We discusshow that is related to the'credential society'in which one's educational credentials and it's social status play major role in determining who gets what in terms of job opportunities. Also is discussed the discordance between school and labor marketsupply and demand system, which is apparent in the prolonged oversupply of thecollege graduates, which is due to the consistently high rate of college entranceobserved since the early 1980's. Theoretically the job market for college graduates isviewed not as the'neoclassical'wage competition market but as job competition market in which one's (good) job opportunity is determined by one s position in thejob queue, which is in turn heavily dependent on from which college one get shis/her college degree as well as one's sex.

  • PDF

A Study on the Ijori Tortoise Pedestal of Namsan Mountain in Gyeong-Ju (경주 남산 이조리귀부에 관한 고찰)

  • Lee, Eun Seok;Cho, Hyun Kyung
    • Korean Journal of Heritage: History & Science
    • /
    • v.43 no.4
    • /
    • pp.56-77
    • /
    • 2010
  • The tortoise pedestal for the memorial monument of Choe Jin-rip(an army officer in the mid-Joseon Period) in Ijo-ri, Naenam-myeon, Gyeongju is known to have been made in 1740. As such, it was originally understood to be a Joseon imitation of a tortoise pedestal made in the Unified Silla Period. The style of the Ijori Tortoise Pedestal differs from other tortoise pedestals dating back to the same period, and bears no resemblance to the Unified Silla pedestals of which it is a copy. Mullu ilgi, a record of the production of the pedestal, explains that the monument was made before the pedestal. Traces show that the two sides of the bottom of the monument were cut off so that it would fit into the smaller space made on the pedestal. It is scarcely conceivable that they made the pedestal and the platform without considering the bottom size of the monument. The record only states that the monument was made at a temple site named Baegundae, without explaining the details of the production process. This leaves some doubt as to whether its production was undertaken systematically. The cloud patterns engraved on this pedestal look similar to the temporal seriation found on the Tortoise Pedestal of the Royal Tomb of King Muyeol and the Seoangni Tortoise Pedestal of Gyeongju. The lotus pattern decorating the square pedestal on the back of the tortoise is one of a number of patterns that were widely used on roof-tiles in the 8th century, the heyday of the Unified Silla Kingdom. The Ijori Tortoise Pedestal, which represents a tortoise moving forward, displays a liveliness the like of which is rarely found in its cousins remaining in Gyeongju. The layout of the patterns in a queue on the tortoise-shell looks much better schematized than those made at an earlier date. It also looks like a more developed form, with the use of space taken into account. Such factors as the style of the patterns, the incongruity between the monument and its pedestal, and what is stated in the historical record indicate that the Ijori Tortoise Pedestal of Gyeongju was made in the mid-8th century(i.e. during the Unified Silla Period), rather than in the Joseon Period(i.e. the 18th century), as an imitation of earlier ones, including changes in the style unique to the Silla Period.