• Title/Summary/Keyword: callback

Search Result 22, Processing Time 0.028 seconds

Analysis of Arduino Timer Callback for IoT Devices (IoT 디바이스를 위한 아두이노 타이머 콜백 분석)

  • Gong, Dong-Hwan;Shin, Seung-Jung
    • The Journal of the Institute of Internet, Broadcasting and Communication
    • /
    • v.18 no.6
    • /
    • pp.139-143
    • /
    • 2018
  • Arduino, based on open source hardware, is used in many IoT devices, and IoT devices require multitasking for various inputs and outputs. Among the several methods used for multitasking based on Arduino, we compare three methods: Timing Call by using millis(), Simple Timer library method, and Timer library method. In order to measure the execution error caused by measurement and time delay of each method, two situations are created and analyzed. In the first case, 10 random tasks of a certain size are generated to measure the time delay of each method. In the second situation, 10 random tasks of a certain size are generated to compare execution errors caused by the time lag of the Timer library. In the first case, the millis() timing call method and the Simple Timer library method have a similar time delay and the Timer library method has more time delay. In the second situation, an execution error occurred in which small-size tasks were not called back at the correct timing due to the time delay.

A Smart Closet Using Deep Learning and Image Recognition for the Blind (시각장애인을 위한 딥러닝과 이미지인식을 이용한 스마트 옷장)

  • Choi, So-Hee;Kim, Ju-Ha;Oh, Jae-Dong;Kong, Ki-Sok
    • The Journal of the Institute of Internet, Broadcasting and Communication
    • /
    • v.20 no.6
    • /
    • pp.51-58
    • /
    • 2020
  • The blind people have difficulty living an independent clothing life. The furniture and home appliance are adding AI or IoT with the recent growth of the smart appliance market. To support the independent clothing life of the blind, this paper suggests a smart wardrobe with closet control function, voice recognition function and clothes information recognition using CNN algorithm. The number of layers of the model was changed and Maxpooling was adjusted to create the model to increase accuracy in the process of recognizing clothes. Early Stopping Callback option is applied to ensure learning accuracy when creating a model. We added Dropout to prevent overfitting. The final model created by this process can be found to have 80 percent accuracy in clothing recognition.

Anomaly Detection on Callback Duration in ROS 2 with Machine Learning (머신러닝 기법을 활용한 ROS 2 의 콜백 실행 시간 분석 및 이상 탐지)

  • Kyoung-Hwan Kim;Jeong-Hwan Kang;Dong-Hyun Kwon
    • Annual Conference of KIPS
    • /
    • 2024.05a
    • /
    • pp.233-234
    • /
    • 2024
  • ROS 2 는 노드라는 프로세스로 구성되고, 실행기에 의해 실행되는 대부분의 동작은 노드와 연결된 콜백 함수로 정의되어 있다. 따라서, 특정 노드에 연결된 콜백 함수가 정상적으로 동작하지 않을 경우 애플리케이션 전체에 영향을 줄 수 있다. 이에 본 연구에서는 ROS 2 의 실행 정보를 추적하는 도구인 ros2_tracing 을 활용하여 ROS 2 애플리케이션 내에서 동작하는 콜백 함수의 실행 시간을 분석하고, 머신러닝 기법을 사용해 이를 탐지하는 방법을 제안한다.

A Smart Mobile Mail System Based on MPEG21-DIDL for Any Mobile Device (모든 모바일 단말기에 서비스 가능한 MPEG21-DIDL 기반의 스마트 모바일 메일 시스템)

  • Zhao, Mei-Hua;Seo, Chang-Wo;Lim, Young-Hwan
    • Journal of Internet Computing and Services
    • /
    • v.11 no.3
    • /
    • pp.1-13
    • /
    • 2010
  • As the computing power of the mobile devices is improving rapidly, many kinds of web services are also available in mobile devices just as Email service. Mobile Mail Service began early, but this service is mostly limited in some specified mobile devices such as Smart Phone. That is a limitation that users have to purchase specified phone to be benefited from Mobile Mail Service. In this thesis, it developed new kind of Mobile Mail System named Smart Mobile Mail System based MPEG21-DIDL Markup, and solved above problem. DIDL could be converted to other Markup types which are displayed in mobile devices by Mobile Gate Server. By transforming PC Web Mail contents including attachment document to DIDL Markup through Mobile Gate Server, the Mobile Mail Service could be available for all kinds of mobile device. The Smart Mobile Mail System also performs real time alarming service for new Email using Callback URL SMS. When there is new Email arriving, the Mail System sends a Call back URL SMS to user. User could directly check Email through Callback URL SMS in real time.

A Study of Call Service Mechanism on SIP for Emergency Communication Services (긴급통신서비스 제공을 위한 SIP에서의 호 서비스 메커니즘에 관한 연구)

  • Lee, Kyu-Chul;Lee, Jong-Hyup
    • Journal of the Korea Institute of Information and Communication Engineering
    • /
    • v.11 no.2
    • /
    • pp.293-300
    • /
    • 2007
  • As the development of the various IP-based services, it is expected that Internet telephony service will gradually replace the traditional PSTN-based telephony service. But there are many issues resolved to spread the Internet telephony service. One of them is to support the emergency services in the Internet telephony. In the case of USA, it has been regulated that 911 services should be supported in the Internet telephony services using VoIP on the similar performance level to PSTN 911 service. According to the regulation, basic VoIP 911 calls should be routed to the general access line of LEA without the location information or the callback number, but the enhanced VoIP 911 calls with the location information and callback number should be routed on the dedicated 911 network and destined to the local 911 distribution center such as PSAP. But, in the current VoIP-based Internet telephony network, the emergency call service has not been handled as one of the special services as well at has a worse performance in comparison to it on PSTN. Moreover, the service has a critical problem that it can not be destined to the nearest PSAP because of the insufficient information about the location information and the call back number. In this paper, we suggest the SIP-based emergency call service mechanism in order to resolve the problems above mentioned. This suggested mechanism is implemented to show its effectiveness and efficiency.

Design and Evaluation of Real-time GNSS Attitude Determination Systems using Low Cost Receivers (저가형 수신기를 이용한 실시간 GNSS 자세결정 시스템 설계 및 성능 평가)

  • Chae, JeongGeun;Lee, DongSun;Kang, In-Suk;Park, Chansik
    • The Transactions of The Korean Institute of Electrical Engineers
    • /
    • v.63 no.9
    • /
    • pp.1259-1265
    • /
    • 2014
  • In this paper, the real-time attitude determination based Matlab using low-cost receivers was designed and evaluated. The GNSS attitude determination system was implemented to operation in real-time by TimerCallback in MATLAB. The TTM(Transmission Time Misalignment) of U-blox receiver was confirmed through zero baseline tests and this problem was revised. The computed attitude by the high-cost NovAtel receiver was compared to the computed attitude by the low-cost U-blox receiver. As a result of this, the performance of attitude determination systems by low-cost receiver was confirmed. To determine baseline, LAMBDA and BC-LAMBDA for integer ambiguities search methods were used. To confirm suitable integer ambiguity search method in real-time attitude determination algorithm, determined baselines by two methods were compared, and it was confirmed that BC-LAMBDA is more suitable. As a result of this, the operation of real-time attitude determination system was confirmed using 3 low-cost receivers.

On Design and Implementation of Distributed Objects Translation System for Inter-Operability (분산 객체의 호환을 위한 객체 번역 시스템의 설계 및 구현)

  • Kim, Sik
    • The Journal of Information Technology
    • /
    • v.5 no.1
    • /
    • pp.29-37
    • /
    • 2002
  • Distributed programming can be greatly simplified by language support for distributed communication. Many web browsers now offer some form of distributed objects and the number and types of them are growing daily in interesting and innovative ways CORBA IDL and Java RMI, the representative of distributed object model, support different approaches for distributed computing environments. CORBA approach does not support the application generated by java RMI, even though it supports multiple programming languages. Object translation system between RMI to CORBA is designed and implemented for interoperability of distributed objects on the two different distributed programming environments. Suggested system is considered binding, inheritance, polymorphism, object passing, and callback which are key properties on the distributed objects. Translation System we suggested is implemented on the Window/NT(version 4.0) with Java Development Kit(version 1.1.6).

  • PDF

Avoidance-Based Cache Consistency Technique Using an Asynchronous Write Intension Declaration (비동기적 갱신 선언을 이용한 회피-기반 캐쉬 일관성 유지 기법)

  • Jang, Chang-Bok;Cho, Sung-Hoon;Kang, Woo-Suck;Kim, Dong-Hyuk;Lee, Chan-Seob;Park, Yong-Moon;Choi, Eui-In
    • Annual Conference of KIPS
    • /
    • 2002.04a
    • /
    • pp.23-26
    • /
    • 2002
  • 클라이언트/서버 데이타베이스 시스템 환경이 대중화됨에 따라 클라이언트 캐쉬 데이터의 일관성을 유지하기 위한 기법들이 많이 제안되고 있다. 기존의 회피-기반 기법들은 갱신의도(write intuition) 선언을 동기적(synchronous)으로 수행하는 CB(Callback) 기법과 지연(defereed)하는 O2PL(Optimistic 2-Phase Locking) 기법을 기반으로 연구가 이루어졌다. 본 논문에서는 회피-기반(avoidance-based)에서 서버에게 갱신의도 선언을 비동기적으로 수행하는 캐쉬 일관성 유지 기법을 제안한다. 본 논문에서 제안한 기법은 갱신의도 선언을 비동기적으로 수행함으로 서버의 응답을 기다리지 않고 트랜잭션 처리를 수행함으로써 좋은 성능을 보이고, 트랜잭션 철회(abort)율이 낮다는 장점을 갖는다.

  • PDF

A Cache Consistency Algorithm for Client Caching Data Management Systems (클라이언트 캐슁 데이터 관리 시스템을 위한 캐쉬 일관성 알고리즘)

  • Kim Chi-Yeon
    • Proceedings of the Korean Institute of Information and Commucation Sciences Conference
    • /
    • 2006.05a
    • /
    • pp.1043-1046
    • /
    • 2006
  • Cached data management of clients is required to guarantee the correctness of client's applications. There are two categories of cache consistency algorithms : detection-based and avoidance-based cache consistency algorithm. Detection?.based schemes allow stale data access and then check the validity of any cached data before they ran be allowed to commit. In contrast, under avoidance-based algorithms, transactions never have the opportunity to access stale data. In this paper, we propose a new avoidance-based cache consistency algorithm make use of version. The proposed method maintains the two versions at clients and servers, so it has no callback message and it can be reduced abort ratio of transactions compare with the single-versioned algorithms. In addition to, the proposed method can be decreased cache miss using by mixed invalidation and propagation for remote update action.

  • PDF

Design and Implementation of Translation System between RMI to CORBA (RMI와 CORBA 환경하의 객체 번역 시스템의 설계 및 구현)

  • Hyun, Mu-Yong;Kim, Shik;Lee, Sang-Yun
    • Journal of the Korean Institute of Telematics and Electronics C
    • /
    • v.36C no.2
    • /
    • pp.37-45
    • /
    • 1999
  • CORBA IDL and RMI, the representative of distributed object model, support different approaches for distributed computing environments. CORBA approach does not support the application generated by RMI, even though it supports multiple programming languages. Object translation system between RMI to CORBA is designed and implemented for interoperability of distributed objects on the two different distributed programming environments. Suggested system is considered binding, inheritance, polymorphism, object passing, and callback which are key properties on the distributed objects. To validate the usefulness of the proposed system, we adopt a model for distrubuted objects and implement it as an application on the RMI environment. And, we translated it to an application on the CORBA environment. We observed the performance of translated application in the respect of inheritance, object passing, polymorphism across the machine boundary. Experiments showed that performance of distributed objects, those generated by translation system and those implemented on the CORBA environment, is equivalent.

  • PDF